/* Journal3 Product Detail Design Stylesheet */

.product-info {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  --j3-pdd-variant-thumb-width: 64px;
  --j3-pdd-variant-thumb-height: 64px;
  --j3-pdd-price-font-size: 42px;
  --j3-pdd-product-code-font-size: 34px;
  --j3-pdd-product-code-color: #111111;
  --j3-pdd-manufacturer-color: #111111;
  --j3-pdd-stock-badge-font-size: 20px;
  --j3-pdd-stock-badge-opacity: 0.5;
  --j3-pdd-title-font-size: 28px;
  --j3-pdd-title-alignment: left;
  --j3-pdd-secondary-action-font-size: 13px;
  --j3-pdd-page-title-margin-top: 0px;
  --j3-pdd-page-title-margin-bottom: 18px;
  --j3-pdd-page-title-padding-top: 0px;
  --j3-pdd-page-title-padding-bottom: 0px;
  --j3-pdd-rating-page-margin-top: 0px;
  --j3-pdd-rating-page-margin-bottom: 18px;
  --j3-pdd-rating-page-padding-top: 0px;
  --j3-pdd-rating-page-padding-bottom: 0px;
  --j3-pdd-color-section-margin-top: 0px;
  --j3-pdd-color-section-margin-bottom: 18px;
  --j3-pdd-color-section-padding-top: 0px;
  --j3-pdd-color-section-padding-bottom: 0px;
  --j3-pdd-color-section-width: 1000px;
  --j3-pdd-color-section-responsive-width: var(--j3-pdd-color-section-width);
  --j3-pdd-price-group-margin-top: 0px;
  --j3-pdd-price-group-margin-bottom: 18px;
  --j3-pdd-price-group-padding-top: 0px;
  --j3-pdd-price-group-padding-bottom: 0px;
  --j3-pdd-stock-section-margin-top: 0px;
  --j3-pdd-stock-section-margin-bottom: 18px;
  --j3-pdd-stock-section-padding-top: 0px;
  --j3-pdd-stock-section-padding-bottom: 0px;
  --j3-pdd-size-section-margin-top: 0px;
  --j3-pdd-size-section-margin-bottom: 18px;
  --j3-pdd-size-section-padding-top: 0px;
  --j3-pdd-size-section-padding-bottom: 0px;
  --j3-pdd-button-group-page-margin-top: 0px;
  --j3-pdd-button-group-page-margin-bottom: 18px;
  --j3-pdd-button-group-page-padding-top: 0px;
  --j3-pdd-button-group-page-padding-bottom: 0px;
  --j3-pdd-size-tile-gap: 10px;
  --j3-pdd-size-tile-size: 74px;
  --j3-pdd-size-tile-height: calc(var(--j3-pdd-size-tile-size) - 10px);
  --j3-pdd-confirm-title-font-size: 18px;
  --j3-pdd-confirm-title-margin-bottom: 8px;
  --j3-pdd-confirm-text-font-size: 16px;
}

.product-left {
  flex: 0 0 45%;
  min-width: 300px;
}

.product-right {
  flex: 1 1 auto;
  min-width: 280px;
}

.product-image {
  position: relative;
  background: #fff;
  border: 1px solid rgba(226, 226, 226, 1);
  border-radius: 4px;
  overflow: hidden;
}

.product-image > .main-image {
  background: #f9f9f9;
  aspect-ratio: 1/1;
}

.product-image > .additional-images {
  background: transparent;
  aspect-ratio: auto;
}

.product-image > .additional-images .swiper-container,
.product-image > .additional-images .swiper-wrapper,
.product-image > .additional-images .swiper-slide {
  height: auto !important;
}

.product-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.additional-images {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.additional-image {
  flex: 0 0 calc(25% - 8px);
  min-width: 60px;
}

.additional-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(226, 226, 226, 1);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .2s ease;
}

.additional-image img:hover {
  border-color: #fbcd00;
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-details > * {
  margin: 0;
  padding: 0;
}

/* Override Journal3 generated flex sort order from storage/cache/journal3.settings.* */
.route-product-product:not(.popup) .product-info .product-details > .title.page-title {
  order: 10 !important;
}

.route-product-product:not(.popup) .product-info .product-details > .rating.rating-page {
  order: 20 !important;
}

.route-product-product:not(.popup) .product-info .product-details > .j3-pdd-color-section {
  order: 30 !important;
  width: min(100%, max(280px, var(--j3-pdd-color-section-responsive-width))) !important;
  max-width: min(100%, max(280px, var(--j3-pdd-color-section-responsive-width))) !important;
  align-self: stretch !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.route-product-product:not(.popup) .product-info .product-details > .product-price-group {
  order: 40 !important;
}

.route-product-product:not(.popup) .product-info .product-details > .j3-pdd-stock-section {
  order: 69 !important;
}

.route-product-product:not(.popup) .product-info .product-details > .j3-pdd-size-section {
  order: 60 !important;
}

.route-product-product:not(.popup) .product-info .product-details > .product-options {
  order: 65 !important;
}

.route-product-product:not(.popup) .product-info .product-details > .button-group-page {
  order: 70 !important;
}

.route-product-product:not(.popup) .product-info .product-details > .j3-detail-secondary-actions {
  order: 80 !important;
}

.route-product-product:not(.popup) .product-info .product-details > .minimum {
  order: 90 !important;
}

.product-details > .title.page-title {
  order: 10;
  margin-top: var(--j3-pdd-page-title-margin-top);
  margin-bottom: var(--j3-pdd-page-title-margin-bottom);
  padding-top: var(--j3-pdd-page-title-padding-top);
  padding-bottom: var(--j3-pdd-page-title-padding-bottom);
  font-size: var(--j3-pdd-title-font-size);
  line-height: 1.15;
  font-weight: 700;
  color: #222529;
  letter-spacing: -0.02em;
  text-align: var(--j3-pdd-title-alignment);
}

.product-details > .rating-page {
  order: 20;
  margin-top: var(--j3-pdd-rating-page-margin-top);
  margin-bottom: var(--j3-pdd-rating-page-margin-bottom);
  padding-top: var(--j3-pdd-rating-page-padding-top);
  padding-bottom: var(--j3-pdd-rating-page-padding-bottom);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.product-details > .j3-pdd-color-section {
  order: 30 !important;
  width: min(100%, max(280px, var(--j3-pdd-color-section-responsive-width)));
  max-width: min(100%, max(280px, var(--j3-pdd-color-section-responsive-width)));
  align-self: stretch;
  margin-top: var(--j3-pdd-color-section-margin-top);
  margin-bottom: var(--j3-pdd-color-section-margin-bottom);
  padding-top: var(--j3-pdd-color-section-padding-top);
  padding-bottom: var(--j3-pdd-color-section-padding-bottom);
}

.product-details > .product-price-group {
  order: 40 !important;
  margin-top: var(--j3-pdd-price-group-margin-top);
  margin-bottom: var(--j3-pdd-price-group-margin-bottom);
  padding-top: var(--j3-pdd-price-group-padding-top);
  padding-bottom: var(--j3-pdd-price-group-padding-bottom);
}

.product-details > .j3-pdd-stock-section {
  order: 69 !important;
  margin-top: var(--j3-pdd-stock-section-margin-top);
  margin-bottom: var(--j3-pdd-stock-section-margin-bottom);
  padding-top: var(--j3-pdd-stock-section-padding-top);
  padding-bottom: var(--j3-pdd-stock-section-padding-bottom);
}

.product-details > .j3-pdd-size-section {
  order: 60 !important;
  margin-top: var(--j3-pdd-size-section-margin-top);
  margin-bottom: var(--j3-pdd-size-section-margin-bottom);
  padding-top: var(--j3-pdd-size-section-padding-top);
  padding-bottom: var(--j3-pdd-size-section-padding-bottom);
}

.product-details > .button-group-page {
  order: 70 !important;
  margin-top: var(--j3-pdd-button-group-page-margin-top);
  margin-bottom: var(--j3-pdd-button-group-page-margin-bottom);
  padding-top: var(--j3-pdd-button-group-page-padding-top);
  padding-bottom: var(--j3-pdd-button-group-page-padding-bottom);
}

.product-details > .j3-detail-secondary-actions {
  order: 80 !important;
}

.product-details > .minimum {
  order: 90 !important;
}

.rating-stars {
  display: inline-flex;
  gap: 3px;
}

.rating-stars .fa-stack {
  font-size: 16px;
}

.rating-stars .fa-star {
  color: #fbcd00;
}

.rating-stars .fa-star-o {
  color: rgba(226, 226, 226, 1);
}

.product-details .product-stats,
.product-details .countdown-wrapper,
.product-options .options-title,
.button-group-page .extra-group,
.product-details .table-option-qty,
.j3-pdd-hidden {
  display: none !important;
}

/* Combined details + technical parameters tab */
.j3-pdd-combined-tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.j3-pdd-combined-tab__col {
  min-width: 0;
}

.j3-pdd-combined-tab__title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  color: #222529;
}

.j3-pdd-combined-tab__body > #tab-specification {
  margin: 0;
}

.j3-pdd-combined-tab__body .table-responsive {
  margin: 0;
}

.j3-pdd-combined-tab__body .table {
  margin-bottom: 0;
}

.j3-pdd-combined-tab__body .table-responsive {
  overflow: visible;
}

.j3-pdd-combined-tab__body .table-bordered,
.j3-pdd-combined-tab__body .table-bordered > thead > tr > td,
.j3-pdd-combined-tab__body .table-bordered > tbody > tr > td {
  border: 0;
}

.j3-pdd-combined-tab__body .table > thead > tr > td {
  padding: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
  color: #222529;
}

.j3-pdd-combined-tab__body .table > tbody > tr > td {
  padding: 6px 0;
  vertical-align: top;
}

.j3-pdd-combined-tab__body .table > tbody > tr > td:first-child {
  width: 44%;
  padding-right: 20px;
  font-weight: 700;
  color: #222529;
}

.j3-pdd-combined-tab__body .table > tbody > tr > td:last-child {
  color: #222529;
}

.product_extra .j3-size-chart-content {
  width: 100%;
}

.product_extra .j3-size-chart-content > p {
  margin: 0;
}

.product_extra .j3-size-chart-content img,
.product_extra .j3-size-chart-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.product_extra .j3-size-chart-table {
  overflow-x: auto;
}

.product_extra .j3-size-chart-table table {
  width: 100%;
}

@media (max-width: 991px) {
  .j3-pdd-combined-tab {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .j3-pdd-combined-tab__title {
    font-size: 20px;
    margin-bottom: 12px;
  }
}

.j3-pdd-color-section {
  order: 30;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}

.j3-pdd-color-carousel {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.j3-pdd-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #818692;
}

.product-price-group {
  order: 40;
  display: block;
  background: transparent;
  border-radius: 0;
}

.product-price-group .price-wrapper {
  width: 100%;
}

.price-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  background: transparent;
}

.product-price,
.product-price-new {
  font-size: var(--j3-pdd-price-font-size);
  line-height: 1;
  color: #222529;
  font-weight: 700;
}

.product-price-old {
  font-size: calc(var(--j3-pdd-price-font-size) * 0.48);
  color: rgba(167, 167, 167, 1);
  text-decoration: line-through;
}

.product-tax,
.product-points,
.product-discount {
  font-size: 12px;
  color: rgba(129, 134, 146, 1);
  letter-spacing: .02em;
}

.j3-pdd-stock-section {
  order: 45;
}

.j3-pdd-product-code-section {
  order: 15;
  margin: 2px 0 4px;
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.2;
}

.j3-pdd-product-code-label {
  font-size: 14px;
  font-weight: 400;
  color: #222529;
}

.j3-pdd-product-code-value {
  font-size: var(--j3-pdd-product-code-font-size);
  font-weight: 700;
  color: var(--j3-pdd-product-code-color);
  letter-spacing: 0.01em;
}

.j3-pdd-product-manufacturer-section {
  order: 16;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.25;
}

.j3-pdd-product-manufacturer-label {
  font-size: 14px;
  font-weight: 400;
  color: #222529;
}

.j3-pdd-product-manufacturer-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--j3-pdd-manufacturer-color);
  text-decoration: none;
  transition: color .2s ease;
}

.j3-pdd-product-manufacturer-link:hover,
.j3-pdd-product-manufacturer-link:focus {
  color: var(--j3-pdd-manufacturer-color);
  text-decoration: underline;
}

.j3-pdd-stock-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: var(--j3-pdd-stock-badge-font-size);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.j3-pdd-stock-badge.is-in-stock {
  border-color: rgba(46, 125, 50, 0.9);
  color: #111827;
  background: rgba(67, 160, 71, var(--j3-pdd-stock-badge-opacity));
}

.j3-pdd-stock-badge.is-out-stock {
  border-color: rgba(198, 40, 40, 0.9);
  background: rgba(198, 40, 40, var(--j3-pdd-stock-badge-opacity));
  color: #c62828;
}

.j3-pdd-stock-badge.is-backorder {
  border-color: rgba(249, 168, 37, 0.9);
  color: #2d2400;
  background: rgba(251, 192, 45, var(--j3-pdd-stock-badge-opacity));
}

@media (max-width: 767px) {
  .j3-pdd-product-code-section {
    margin: 2px 0 3px;
  }

  .j3-pdd-product-code-label {
    font-size: 13px;
  }

  .j3-pdd-product-code-value {
    font-size: calc(var(--j3-pdd-product-code-font-size) * 0.7);
  }

  .j3-pdd-product-manufacturer-section {
    margin: 0 0 6px;
  }

  .j3-pdd-product-manufacturer-label,
  .j3-pdd-product-manufacturer-link {
    font-size: 13px;
  }

  .j3-pdd-stock-badge {
    font-size: calc(var(--j3-pdd-stock-badge-font-size) * 0.8);
    padding: 8px 12px;
  }
}

.j3-pdd-size-section {
  order: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-options.j3-pdd-options-empty {
  display: none;
}

.product-options .j3-pdd-age-confirm-group {
  margin: 6px 0 14px;
}

.product-options .j3-pdd-age-confirm-group > .control-label {
  display: block;
  margin: 0 0 var(--j3-pdd-confirm-title-margin-bottom);
  font-size: var(--j3-pdd-confirm-title-font-size);
  line-height: 1.2;
  font-weight: 700;
  color: #222529;
}

.product-options .j3-pdd-age-confirm-group .checkbox {
  margin: 0;
}

.product-options .j3-pdd-age-confirm-group .checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--j3-pdd-confirm-text-font-size);
  line-height: 1.3;
  font-weight: 400;
  color: #222529;
  cursor: pointer;
}

.product-options .j3-pdd-age-confirm-group .checkbox input[type='checkbox'] {
  appearance: auto;
  -webkit-appearance: checkbox;
  position: static;
  opacity: 1;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  flex: 0 0 16px;
  margin: 0;
  transform: none;
}

.product-options .j3-pdd-age-confirm-group .checkbox .option-value {
  display: inline;
}

.j3-pdd-color-section .control-label,
.j3-pdd-size-section .control-label {
  display: none;
}

.j3-pdd-color-group > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.j3-pdd-size-group > div,
.j3-pdd-size-proxy,
.j3-pdd-size-table-proxy,
.j3-pdd-native-size-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--j3-pdd-size-tile-gap);
}

.j3-pdd-size-proxy,
.j3-pdd-size-table-proxy {
  margin-top: 8px;
}

.j3-pdd-color-carousel .j3-pdd-color-variant-group {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.route-product-product:not(.popup) .product-info .product-details > .j3-pdd-color-section,
.route-product-product:not(.popup) .product-info .product-details > .j3-pdd-color-section .j3-pdd-color-carousel,
.route-product-product:not(.popup) .product-info .product-details > .j3-pdd-color-section .j3-pdd-color-variant-group {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.j3-pdd-color-carousel .j3-pdd-color-variant-item {
  flex: 0 0 var(--j3-pdd-variant-thumb-width);
  width: var(--j3-pdd-variant-thumb-width);
  max-width: var(--j3-pdd-variant-thumb-width);
  min-width: var(--j3-pdd-variant-thumb-width);
  height: var(--j3-pdd-variant-thumb-height);
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 4px;
  border: 1px solid rgba(226, 226, 226, 1);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.j3-pdd-color-carousel .j3-pdd-color-variant-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-decoration: none;
}

.j3-pdd-color-carousel .j3-pdd-color-variant-image {
  display: block;
  width: calc(var(--j3-pdd-variant-thumb-width) - 8px) !important;
  min-width: calc(var(--j3-pdd-variant-thumb-width) - 8px) !important;
  max-width: calc(var(--j3-pdd-variant-thumb-width) - 8px) !important;
  height: calc(var(--j3-pdd-variant-thumb-height) - 8px) !important;
  object-fit: cover;
  border: 0;
  border-radius: 6px;
}

.j3-pdd-color-group .radio,
.j3-pdd-color-group .checkbox,
.j3-pdd-size-group .radio,
.j3-pdd-size-group .checkbox {
  margin: 0;
}

.j3-pdd-color-group input[type='radio'],
.j3-pdd-color-group input[type='checkbox'],
.j3-pdd-size-group input[type='radio'],
.j3-pdd-size-group input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.j3-pdd-color-group label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--j3-pdd-variant-thumb-width);
  height: var(--j3-pdd-variant-thumb-height);
  padding: 4px;
  border: 1px solid rgba(226, 226, 226, 1);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.j3-pdd-color-group label:hover {
  border-color: #222529;
  transform: translateY(-1px);
}

.j3-pdd-color-group img {
  width: calc(var(--j3-pdd-variant-thumb-width) - 8px) !important;
  height: calc(var(--j3-pdd-variant-thumb-height) - 8px) !important;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 !important;
}

.j3-pdd-color-group .option-value,
.j3-pdd-color-group .option-price,
.j3-pdd-color-group .j3-pdd-option-meta {
  display: none !important;
}

.j3-pdd-color-group .radio.is-selected label,
.j3-pdd-color-group .checkbox.is-selected label {
  border-color: #222529;
  box-shadow: inset 0 0 0 1px #222529;
}

.j3-pdd-size-group img,
.j3-pdd-size-group .option-price,
.j3-pdd-size-group .j3-pdd-option-meta,
.j3-pdd-native-select,
.j3-pdd-native-table,
.j3-pdd-native-table-source,
.j3-pdd-size-source,
.j3-pdd-size-total {
  display: none !important;
}

.j3-pdd-size-group label,
.j3-pdd-size-chip {
  min-width: var(--j3-pdd-size-tile-size);
  width: var(--j3-pdd-size-tile-size);
  min-height: var(--j3-pdd-size-tile-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(34, 37, 41, 0.18);
  border-radius: 0;
  background: #fff;
  color: #222529;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  margin: 0;
  text-decoration: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: all .2s ease;
}

.j3-pdd-text-choice-group img,
.j3-pdd-text-choice-group .option-price,
.j3-pdd-text-choice-group .j3-pdd-option-meta,
.j3-pdd-text-choice-group .j3-pdd-native-select,
.j3-pdd-text-choice-group .j3-pdd-native-table,
.j3-pdd-text-choice-group .j3-pdd-native-table-source,
.j3-pdd-text-choice-group .j3-pdd-size-source,
.j3-pdd-text-choice-group .j3-pdd-size-total {
  display: none !important;
}

.product-options .j3-pdd-text-choice-group .radio,
.product-options .j3-pdd-text-choice-group .checkbox,
.j3-pdd-text-choice-group .j3-pdd-size-table-chip {
  width: 100%;
  flex: 1 1 100%;
  margin: 0;
}

.j3-pdd-text-choice-group label,
.j3-pdd-text-choice-group .j3-pdd-size-chip {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px;
  text-align: left;
  white-space: normal;
}

.j3-pdd-text-choice-group .option-value,
.j3-pdd-text-choice-group .j3-pdd-size-value {
  display: block;
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.j3-pdd-text-choice-group .j3-pdd-size-status {
  width: 100%;
  text-align: left;
}

.product-options .product-options-checkbox {
  margin-top: 14px;
}

.product-options .product-options-checkbox .form-group {
  margin-bottom: 14px;
}

.product-options .product-options-checkbox .radio,
.product-options .product-options-checkbox .checkbox {
  margin: 0 0 8px;
}

.product-options .product-options-checkbox .radio label,
.product-options .product-options-checkbox .checkbox label,
.product-options .product-options-checkbox .j3-pdd-text-choice-group label,
.product-options .product-options-checkbox .j3-pdd-text-choice-group .j3-pdd-size-chip,
.product-options .product-options-checkbox .j3-pdd-size-group label,
.product-options .product-options-checkbox .j3-pdd-size-group .j3-pdd-size-chip {
  display: inline-flex;
  width: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 10px;
  text-align: left;
  white-space: normal;
  transform: none;
}

.product-options .product-options-checkbox .radio input[type='radio'],
.product-options .product-options-checkbox .checkbox input[type='checkbox'],
.product-options .product-options-checkbox .j3-pdd-text-choice-group input[type='radio'],
.product-options .product-options-checkbox .j3-pdd-text-choice-group input[type='checkbox'],
.product-options .product-options-checkbox .j3-pdd-size-group input[type='radio'],
.product-options .product-options-checkbox .j3-pdd-size-group input[type='checkbox'] {
  position: static;
  opacity: 1;
  pointer-events: auto;
  appearance: auto;
  -webkit-appearance: auto;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 0;
  flex: 0 0 16px;
  transform: none;
}

.product-options .product-options-checkbox .option-value,
.product-options .product-options-checkbox .j3-pdd-text-choice-group .option-value,
.product-options .product-options-checkbox .j3-pdd-text-choice-group .j3-pdd-size-value,
.product-options .product-options-checkbox .j3-pdd-size-group .option-value,
.product-options .product-options-checkbox .j3-pdd-size-group .j3-pdd-size-value {
  display: inline;
  width: auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.product-options .product-options-checkbox .j3-pdd-size-proxy,
.product-options .product-options-checkbox .j3-pdd-size-table-proxy,
.product-options .product-options-checkbox .j3-pdd-size-chip,
.product-options .product-options-checkbox .j3-pdd-size-status {
  display: none !important;
}

.product-options .product-options-checkbox .j3-pdd-native-select,
.product-options .product-options-checkbox .j3-pdd-native-table,
.product-options .product-options-checkbox .j3-pdd-size-source,
.product-options .product-options-checkbox .table-option-qty {
  display: block !important;
}

/* Consent checkbox options in size group should follow the same pattern as 18+ confirmation */
.product-options .j3-pdd-size-group .checkbox {
  margin: 0;
  flex: 1 1 100%;
}

.product-options .j3-pdd-size-group .checkbox label {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 10px;
  font-size: var(--j3-pdd-confirm-text-font-size);
  line-height: 1.3;
  font-weight: 400;
  color: #222529;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transform: none;
}

.product-options .j3-pdd-size-group .checkbox input[type='checkbox'] {
  appearance: auto;
  -webkit-appearance: checkbox;
  position: static;
  opacity: 1;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  flex: 0 0 16px;
  margin: 0;
  transform: none;
}

.product-options .j3-pdd-size-group .checkbox .option-value {
  display: inline;
  font-size: var(--j3-pdd-confirm-text-font-size);
  line-height: 1.3;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
}

.j3-pdd-size-table-group {
  width: 100%;
}

.j3-pdd-size-table-group > .control-label {
  display: none !important;
}

.j3-pdd-size-table-chip {
  min-width: var(--j3-pdd-size-tile-size);
}

.j3-pdd-checkbox-with-qty {
  width: 100%;
}

.j3-pdd-size-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  color: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
  max-width: 100%;
}

.j3-pdd-size-status {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;
}

.j3-pdd-size-group label:hover,
.j3-pdd-size-chip:hover {
  transform: translateY(-1px);
}

.j3-pdd-size-group .option-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
  max-width: 100%;
}

.product-info[data-j3-pdd-show-size-text='0'] .j3-pdd-size-group label,
.product-info[data-j3-pdd-show-size-text='0'] .j3-pdd-size-chip {
  min-height: calc(var(--j3-pdd-size-tile-height) - 16px);
  gap: 0;
}

.product-info[data-j3-pdd-show-size-text='0'] .j3-pdd-size-status,
.product-info[data-j3-pdd-show-size-text='0'] .j3-pdd-size-group .j3-pdd-option-meta {
  display: none !important;
}

.j3-pdd-size-group .radio.is-selected label,
.j3-pdd-size-group .checkbox.is-selected label,
.j3-pdd-size-chip.is-selected {
  border-color: #222529;
  box-shadow: inset 0 0 0 2px rgba(34, 37, 41, 0.85), 0 0 0 3px rgba(251, 205, 0, 0.45);
  transform: translateY(-1px);
}

.j3-pdd-size-group .radio.is-in-stock label,
.j3-pdd-size-group .checkbox.is-in-stock label,
.j3-pdd-size-chip.is-in-stock {
  border-color: #2e7d32;
  color: #fff;
  background: #43a047;
}

.j3-pdd-size-group .radio.is-out-stock label,
.j3-pdd-size-group .checkbox.is-out-stock label,
.j3-pdd-size-chip.is-out-stock {
  border-color: #c62828;
  color: #fff;
  background: #e53935;
}

.j3-pdd-size-group .radio.is-backorder label,
.j3-pdd-size-group .checkbox.is-backorder label,
.j3-pdd-size-chip.is-backorder {
  border-color: #f9a825;
  color: #2d2400;
  background: #fbc02d;
}

.j3-pdd-size-group .radio.is-selected.is-in-stock label,
.j3-pdd-size-group .checkbox.is-selected.is-in-stock label,
.j3-pdd-size-chip.is-selected.is-in-stock {
  background: #43a047;
  color: #fff;
  border-color: #1b5e20;
}

.j3-pdd-size-group .radio.is-selected.is-out-stock label,
.j3-pdd-size-group .checkbox.is-selected.is-out-stock label,
.j3-pdd-size-chip.is-selected.is-out-stock {
  background: #e53935;
  color: #fff;
  border-color: #8e0000;
}

.j3-pdd-size-group .radio.is-selected.is-backorder label,
.j3-pdd-size-group .checkbox.is-selected.is-backorder label,
.j3-pdd-size-chip.is-selected.is-backorder {
  background: #fbc02d;
  color: #2d2400;
  border-color: #c49000;
}

/* Keep consent checkboxes visually identical to 18+ confirmation (no stock-status tile colors) */
.product-options .j3-pdd-size-group .checkbox.is-selected label,
.product-options .j3-pdd-size-group .checkbox.is-in-stock label,
.product-options .j3-pdd-size-group .checkbox.is-out-stock label,
.product-options .j3-pdd-size-group .checkbox.is-backorder label,
.product-options .j3-pdd-size-group .checkbox.is-selected.is-in-stock label,
.product-options .j3-pdd-size-group .checkbox.is-selected.is-out-stock label,
.product-options .j3-pdd-size-group .checkbox.is-selected.is-backorder label {
  border: 0;
  background: transparent;
  color: #222529;
  box-shadow: none;
}

/* Product detail action block: shared visual styles only */
.button-group-page {
  order: 60;
  --j3-pdd-action-height: 40px;
}

.button-group-page .stepper,
.button-group-page #button-cart,
.button-group-page .btn-wishlist,
.button-group-page .btn-compare {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(34, 37, 41, 0.16);
  height: var(--j3-pdd-action-height);
  min-height: var(--j3-pdd-action-height);
  max-height: var(--j3-pdd-action-height);
}

.button-group-page .stepper {
  display: inline-flex;
  box-sizing: border-box;
  position: relative;
  align-items: center;
  justify-content: space-between;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.button-group-page .stepper.j3-pdd-synthetic-stepper {
  box-sizing: border-box;
}

.button-group-page .stepper .control-label {
  display: none;
}

.button-group-page .stepper input {
  flex: 1 1 auto;
  display: block;
  min-width: 0;
  min-height: 0;
  height: var(--j3-pdd-action-height);
  border: 0;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: #222529;
  background: #fff;
  box-shadow: none;
  border-radius: 0 !important;
}

.button-group-page .stepper span {
  position: static;
  right: auto;
  top: auto;
  z-index: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: var(--j3-pdd-action-height);
  border-left: 1px solid rgba(34, 37, 41, 0.16);
  background: #f3f4f6;
}

.button-group-page .stepper span i {
  width: 100%;
  min-width: 0;
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: transparent;
  color: #4b5563;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.button-group-page .stepper span i:first-child {
  border-bottom: 1px solid rgba(34, 37, 41, 0.16);
}

.button-group-page .stepper span i:hover {
  background: #f1f1f1;
  color: #222529;
}

.button-group-page .stepper:hover,
.button-group-page .stepper:focus-within {
  border-color: rgba(34, 37, 41, 0.34);
}

.button-group-page #button-cart {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: #fbcd00;
  color: #222529;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: all .2s ease;
}

.button-group-page #button-cart .btn-icon {
  flex: 0 0 auto;
  display: inline-block;
  font-size: 16px;
  line-height: 1;
}

.button-group-page #button-cart:hover {
  border-color: rgba(34, 37, 41, 0.34);
  background: #222529;
  color: #fff;
}

.button-group-page .wishlist-compare {
  display: flex;
  align-items: stretch;
}

.button-group-page .btn,
.j3-detail-secondary-btn {
  text-indent: 0 !important;
  overflow: visible;
}

.button-group-page .btn .btn-text,
.j3-detail-secondary-btn .btn-text {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  opacity: 1 !important;
  white-space: normal;
  width: 100%;
  min-height: 0;
  height: 100%;
  text-align: center;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.button-group-page #button-cart .btn-text {
  white-space: nowrap;
}

.button-group-page .btn-wishlist .btn-text,
.button-group-page .btn-compare .btn-text {
  display: none !important;
}

.button-group-page .btn-wishlist,
.button-group-page .btn-compare {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: #fff;
  color: #222529;
  transition: all .2s ease;
}

.button-group-page .btn-wishlist::before,
.button-group-page .btn-compare::before {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.button-group-page .btn-wishlist:hover,
.button-group-page .btn-compare:hover {
  border-color: rgba(34, 37, 41, 0.34);
  background: #222529;
  color: #fff;
}

.button-group-page #button-cart:focus,
.button-group-page .btn-wishlist:focus,
.button-group-page .btn-compare:focus {
  outline: none;
  box-shadow: none;
}

/* Product detail action block: desktop-only layout and sizing */
@media (min-width: 769px) {
  .button-group-page {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .button-group-page .buttons-wrapper {
    display: inline-flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
  }

  .button-group-page .stepper-group.cart-group {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    gap: 10px;
    min-width: 0;
  }

  .button-group-page .stepper {
    width: 112px;
    min-width: 112px;
  }

  .button-group-page .stepper.j3-pdd-synthetic-stepper {
    width: 112px;
    min-width: 112px;
  }

  .button-group-page .stepper input {
    width: 64px;
    padding: 0 6px;
  }

  .button-group-page .stepper span {
    width: 30px;
    gap: 4px;
    flex: 0 0 30px;
  }

  .button-group-page #button-cart {
    flex: 1 1 auto;
    min-width: 190px;
    gap: 6px;
    padding: 0 20px;
  }

  .button-group-page .wishlist-compare {
    gap: 10px;
    flex: 0 0 auto;
    margin-left: auto;
    width: auto;
  }

  .button-group-page .btn-wishlist,
  .button-group-page .btn-compare {
    width: 42px;
    min-width: 42px;
    flex: 0 0 42px;
  }
}

.j3-detail-secondary-actions {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  border: 1px solid rgba(226, 226, 226, 1);
  border-radius: 0;
  overflow: hidden;
}

.j3-detail-secondary-btn {
  min-height: 48px;
  flex: 1 1 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 0;
  border-right: 1px solid rgba(226, 226, 226, 1);
  background-color: var(--btn-bg, #fbcd00);
  color: #222529;
  border-radius: 0;
  font-size: var(--j3-pdd-secondary-action-font-size);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: default;
  overflow: hidden;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, filter .2s ease;
}

.j3-detail-secondary-btn__bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}

.j3-detail-secondary-btn.has-bg-image {
  background-color: transparent;
}

.j3-detail-secondary-btn.has-bg-image .j3-detail-secondary-btn__bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.j3-detail-secondary-btn.has-bg-image .btn-text,
.j3-detail-secondary-btn.has-bg-image .j3-detail-secondary-btn__icon {
  position: relative;
  z-index: 1;
}

.j3-pdd-size-section .form-group {
  margin-bottom: 0;
}

.j3-detail-secondary-btn:last-child {
  border-right: 0;
}

.j3-detail-secondary-btn:hover,
.j3-detail-secondary-btn:focus {
  background-color: #222529;
  color: #fff;
  outline: none;
}

.j3-detail-secondary-btn.has-bg-image:hover,
.j3-detail-secondary-btn.has-bg-image:focus {
  background-color: transparent;
}

.j3-detail-secondary-btn.has-bg-image:hover .j3-detail-secondary-btn__bg,
.j3-detail-secondary-btn.has-bg-image:focus .j3-detail-secondary-btn__bg {
  filter: brightness(.85);
}

.j3-detail-secondary-btn.is-disabled,
.j3-detail-secondary-btn.is-disabled:hover,
.j3-detail-secondary-btn.is-disabled:focus {
  background-color: #f3f4f6;
  color: #fff;
  cursor: not-allowed;
  outline: none;
}

.j3-detail-secondary-btn.is-disabled.has-bg-image {
  background-color: transparent;
}

.j3-detail-secondary-btn.is-disabled.has-bg-image .j3-detail-secondary-btn__bg {
  filter: grayscale(1);
  opacity: .55;
}

.j3-detail-secondary-btn__icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  flex-shrink: 0;
  object-fit: contain;
  vertical-align: middle;
}

html.j3-send-friend-open {
  overflow: hidden;
}

html.j3-watchdog-open {
  overflow: hidden;
}

html.j3-product-inquiry-open {
  overflow: hidden;
}

.j3-send-friend-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
}

.j3-product-inquiry-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
}

.j3-watchdog-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
}

.j3-send-friend-modal {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.j3-watchdog-modal {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.j3-product-inquiry-modal {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.j3-send-friend-modal-header,
.j3-send-friend-modal-body {
  padding: 24px 28px;
}

.j3-watchdog-modal-header,
.j3-watchdog-modal-body {
  padding: 24px 28px;
}

.j3-product-inquiry-modal-header,
.j3-product-inquiry-modal-body {
  padding: 24px 28px;
}

.j3-send-friend-modal-header {
  padding-bottom: 0;
}

.j3-watchdog-modal-header {
  padding-bottom: 0;
}

.j3-product-inquiry-modal-header {
  padding-bottom: 0;
}

.j3-send-friend-modal-header h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.j3-watchdog-modal-header h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.j3-product-inquiry-modal-header h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.j3-send-friend-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #222529;
  font-size: 28px;
  line-height: 1;
}

.j3-watchdog-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #222529;
  font-size: 28px;
  line-height: 1;
  touch-action: manipulation;
}

.j3-product-inquiry-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #222529;
  font-size: 28px;
  line-height: 1;
}

.j3-send-friend-modal .form-control[readonly] {
  background: #f9fafb;
}

.j3-watchdog-modal .form-control[readonly] {
  background: #f9fafb;
}

.j3-product-inquiry-modal .form-control[readonly] {
  background: #f9fafb;
}

.j3-send-friend-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.j3-watchdog-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.j3-product-inquiry-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.j3-send-friend-submit {
  min-width: 160px;
  min-height: 46px;
}

.j3-watchdog-submit {
  min-width: 160px;
  min-height: 46px;
}

.j3-product-inquiry-submit {
  min-width: 160px;
  min-height: 46px;
}

.j3-send-friend-submit.is-loading {
  opacity: 0.7;
}

.j3-watchdog-submit.is-loading {
  opacity: 0.7;
}

.j3-product-inquiry-submit.is-loading {
  opacity: 0.7;
}

.j3-send-friend-alert {
  margin-bottom: 20px;
}

.j3-watchdog-alert {
  margin-bottom: 20px;
}

.j3-product-inquiry-alert {
  margin-bottom: 20px;
}

.j3-send-friend-error {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}

.j3-watchdog-error {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}

.j3-product-inquiry-error {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}

.j3-send-friend-captcha .text-danger {
  margin-top: 8px;
}

.j3-product-inquiry-captcha .text-danger {
  margin-top: 8px;
}

.product-details .text-danger,
.product-details .j3-pdd-option-error {
  display: block !important;
  margin-top: 8px;
  color: #c62828 !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.product-details .form-group.has-error .j3-pdd-size-chip,
.product-details .form-group.has-error .j3-pdd-size-group label,
.product-details .form-group.has-error .j3-pdd-color-group label {
  border-color: #c62828 !important;
  box-shadow: inset 0 0 0 1px rgba(198, 40, 40, 0.35);
}

@media (max-width: 1024px) {
  .product-info {
    flex-direction: column;
    gap: 32px;
    --j3-pdd-color-section-responsive-width: calc(var(--j3-pdd-color-section-width) * 0.9);
  }

  .product-left,
  .product-right {
    flex: 1 1 100%;
  }
}

/* Product detail action block: mobile-only layout and sizing */
@media (max-width: 768px) {
  .product-info {
    --j3-pdd-color-section-responsive-width: calc(var(--j3-pdd-color-section-width) * 0.78);
  }

  .route-product-product:not(.popup) .product-details > .button-group-page,
  .route-product-product:not(.popup) .product-details > .button-group-page .buttons-wrapper,
  .route-product-product:not(.popup) .product-details > .button-group-page .stepper-group.cart-group,
  .route-product-product:not(.popup) .product-details > .button-group-page .wishlist-compare {
    margin: 0 !important;
    padding: 0 !important;
  }

  .route-product-product:not(.popup) .product-details > .j3-pdd-size-section {
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
  }

  .route-product-product:not(.popup) .product-details > .button-group-page {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
    box-shadow: none !important;
  }

  .product-details > .title.page-title {
    font-size: min(var(--j3-pdd-title-font-size), 24px);
  }

  .product-price,
  .product-price-new {
    font-size: min(var(--j3-pdd-price-font-size), 32px);
  }

  .button-group-page .buttons-wrapper {
    flex-direction: row;
    display: flex;
    align-items: stretch;
    gap: 4px !important;
    margin-top: 0 !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: none !important;
  }

  .button-group-page .stepper-group.cart-group {
    display: flex;
    flex: 1 1 auto;
    align-items: start !important;
    gap: 4px !important;
    margin: 0 !important;
    min-width: 0;
  }

  .button-group-page .wishlist-compare {
    width: auto;
    flex: 0 0 auto;
    gap: 4px !important;
    margin: 0 !important;
    justify-content: flex-start !important;
  }

  .button-group-page .buttons-wrapper > *,
  .button-group-page .stepper-group.cart-group > *,
  .button-group-page .wishlist-compare > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .button-group-page .stepper {
    width: 88px;
    min-width: 88px;
    flex: 0 0 88px;
    align-self: start !important;
    margin: 0 !important;
  }

  .button-group-page #button-cart {
    width: auto;
    flex: 1 1 auto !important;
  }

  .button-group-page .btn-wishlist,
  .button-group-page .btn-compare {
    width: 42px;
    min-width: 42px;
    flex: 0 0 42px;
    margin: 0 !important;
    padding: 0 !important;
  }

  .button-group-page #button-cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    font-size: 12px;
    letter-spacing: .03em;
    line-height: 1.15;
    align-self: start !important;
    overflow: hidden;
    text-align: center;
    margin: 0 !important;
  }

  .button-group-page #button-cart .btn-icon {
    font-size: 13px;
  }

  .button-group-page .stepper input {
    width: 56px;
    font-size: 15px;
    padding: 0 4px;
  }

  .button-group-page .stepper span {
    width: 28px;
    flex: 0 0 28px;
    gap: 2px;
  }

  .button-group-page .stepper span i {
    font-size: 10px;
  }

  .button-group-page .stepper input,
  .button-group-page .stepper span {
    height: var(--j3-pdd-action-height);
  }

  .j3-detail-secondary-actions {
    flex-direction: column;
  }

  .j3-detail-secondary-btn {
    border-right: 0;
    border-bottom: 1px solid rgba(226, 226, 226, 1);
  }

  .j3-detail-secondary-btn:last-child {
    border-bottom: 0;
  }

  .j3-send-friend-modal-overlay {
    padding: 12px;
  }

  .j3-watchdog-modal-overlay {
    padding: 12px;
  }

  .j3-product-inquiry-modal-overlay {
    padding: 12px;
  }

  .j3-send-friend-modal-header,
  .j3-send-friend-modal-body {
    padding: 20px;
  }

  .j3-watchdog-modal-header,
  .j3-watchdog-modal-body {
    padding: 20px;
  }

  .j3-product-inquiry-modal-header,
  .j3-product-inquiry-modal-body {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .product-info {
    --j3-pdd-color-section-responsive-width: calc(var(--j3-pdd-color-section-width) * 0.68);
  }

  .product-details > .title.page-title {
    font-size: min(var(--j3-pdd-title-font-size), 20px);
  }

  .product-info {
    gap: 20px;
  }

  .product-price-group {
    padding: 0;
  }

  .product-price,
  .product-price-new {
    font-size: min(var(--j3-pdd-price-font-size), 28px);
  }

  .additional-image {
    flex: 0 0 calc(33.333% - 7px);
  }
}

/* Product detail action block: narrow mobile refinements */
@media (max-width: 480px) {
  .button-group-page .stepper-group.cart-group {
    gap: 2px !important;
  }

  .button-group-page .stepper {
    width: 82px;
    min-width: 82px;
    flex: 0 0 82px;
  }

  .button-group-page .stepper input {
    width: 48px;
    font-size: 14px;
    padding: 0 3px;
  }

  .button-group-page .stepper span {
    width: 24px;
    flex: 0 0 24px;
    gap: 2px;
  }

  .button-group-page .stepper span i {
    font-size: 9px;
  }

  .button-group-page #button-cart {
    padding: 0 10px !important;
    font-size: 11px;
    gap: 6px;
  }

  .button-group-page #button-cart .btn-icon {
    font-size: 12px;
  }

  .button-group-page .btn-wishlist,
  .button-group-page .btn-compare {
    width: 38px;
    min-width: 38px;
    flex: 0 0 38px;
  }
}

/* ── Trust Banners ── */

.j3-pdd-trust-banners {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--j3-pdd-trust-banners-gap, 0px);
  margin: 0;
  padding: 0;
  width: 100%;
}

.j3-pdd-trust-banner {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #e2e2e2;
  border-right-width: 0;
  background: #fbcd00;
}

.j3-pdd-trust-banner:first-child {
  border-radius: 4px 0 0 4px;
}

.j3-pdd-trust-banner:last-child {
  border-right-width: 1px;
  border-radius: 0 4px 4px 0;
}

.j3-pdd-trust-banner__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: #333;
}

.j3-pdd-trust-banner__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.j3-pdd-trust-banner__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.j3-pdd-trust-banner__content {
  flex: 1 1 auto;
  min-width: 0;
}

.j3-pdd-trust-banner__title {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 2px;
}

.j3-pdd-trust-banner__text {
  font-size: 11px;
  line-height: 1.4;
  color: #666;
}

.j3-attribute-name-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.j3-attribute-name-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .j3-pdd-trust-banners {
    flex-wrap: wrap;
  }

  .j3-pdd-trust-banner {
    flex: 1 1 calc(50% - 0px);
    min-width: calc(50% - 0px);
    border-right-width: 1px;
  }

  .j3-pdd-trust-banner:first-child {
    border-radius: 4px 0 0 0;
  }

  .j3-pdd-trust-banner:nth-child(2) {
    border-radius: 0 4px 0 0;
  }

  .j3-pdd-trust-banner:nth-child(3) {
    border-radius: 0 0 0 4px;
    border-top-width: 0;
  }

  .j3-pdd-trust-banner:last-child {
    border-radius: 0 0 4px 0;
    border-top-width: 0;
  }

  .j3-pdd-trust-banner:nth-child(odd) {
    border-right-width: 0;
  }
}

@media (max-width: 576px) {
  .j3-pdd-trust-banners {
    flex-direction: column;
  }

  .j3-pdd-trust-banner {
    flex: 1 1 100%;
    min-width: 100%;
    border-right-width: 1px;
    border-radius: 0;
    border-bottom-width: 0;
  }

  .j3-pdd-trust-banner:first-child {
    border-radius: 4px 4px 0 0;
  }

  .j3-pdd-trust-banner:last-child {
    border-radius: 0 0 4px 4px;
    border-bottom-width: 1px;
  }

  .j3-pdd-trust-banner:nth-child(2) {
    border-radius: 0;
  }

  .j3-pdd-trust-banner:nth-child(3) {
    border-radius: 0;
    border-top-width: 1px;
  }

  .j3-pdd-trust-banner:nth-child(odd) {
    border-right-width: 1px;
  }
}

/* ── Trust Banners – device visibility ── */

@media (min-width: 1025px) {
  .j3-pdd-trust-hide-desktop {
    display: none !important;
  }
}

@media (min-width: 577px) and (max-width: 1024px) {
  .j3-pdd-trust-hide-tablet {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .j3-pdd-trust-hide-mobile {
    display: none !important;
  }
}

/* Related newsletter banner under module-products-43 */
.j3-pdd-related-newsletter-banner {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 70px 20px;
  background: #000 url('/image/cache/catalog/modules/newsletter-1280x404.jpg') center center/cover no-repeat;
}

.j3-pdd-related-newsletter-banner__col {
  width: 50%;
}

.j3-pdd-related-newsletter-banner__col--text {
  display: flex;
  justify-content: center;
}

.j3-pdd-related-newsletter-banner__col--form {
  display: flex;
  justify-content: flex-end;
}

.j3-pdd-related-newsletter-banner .grid-items,
.j3-pdd-related-newsletter-banner .module-body > div {
  width: 100%;
}

@media (max-width: 992px) {
  .j3-pdd-related-newsletter-banner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .j3-pdd-related-newsletter-banner__col {
    width: 100% !important;
  }

  .j3-pdd-related-newsletter-banner__col--text,
  .j3-pdd-related-newsletter-banner__col--form {
    justify-content: center !important;
  }
}

@media (max-width: 576px) {
  .j3-pdd-related-newsletter-banner {
    margin-top: 24px;
    padding: 32px 12px;
  }

  .j3-pdd-related-newsletter-banner .module-newsletter-27 .module-body .newsletter-form .input-group {
    display: flex;
    width: 100%;
    max-width: 100%;
  }

  .j3-pdd-related-newsletter-banner .module-newsletter-27 .module-body .newsletter-form .input-group input {
    width: auto !important;
    min-width: 0;
    flex: 1 1 auto;
  }

  .j3-pdd-related-newsletter-banner .module-newsletter-27 .input-group .input-group-btn .btn {
    padding-left: 18px;
    padding-right: 18px;
  }

  .j3-pdd-related-newsletter-banner .module-newsletter-27 .input-captcha {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .j3-pdd-related-newsletter-banner .module-newsletter-27 .g-recaptcha {
    transform: scale(0.92);
    transform-origin: left top;
  }
}
