/* Product-only 6:6 gallery, tabs, fullscreen viewer, options and review form. */
:root {
  --product-thumb-arrow-width: 26px;
  --product-fullscreen-header-height: 80px;
  --product-hidden-control-size: 1px;
  --product-frame-height: 610px;
  --product-thumb-size: 100px;
  --product-thumb-arrow-height: 50px;
  --product-title-size: 3rem;
  --product-tool-size: 36px;
  --product-main-price: 1.35rem;
  --product-quantity-width: 120px;
  --product-copy-width: 900px;
  --product-rating-color: #b58a35;
  --product-whatsapp: #25d366;
  --product-whatsapp-text: #10351c;
  --product-social-x: #111111;
  --product-social-linkedin: #0a66c2;
}
.product-primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-9);
  align-items: start;
}
.product-gallery,
.product-summary {
  min-width: var(--width-control-min);
}
.product-frame {
  height: var(--product-frame-height);
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}
.product-main-media,
.product-main-media .swiper-slide {
  height: 100%;
  width: var(--width-fluid);
}
.product-main-media img,
.product-main-media video {
  width: var(--width-fluid);
  height: 100%;
  object-fit: contain;
}
.product-main-media .swiper-zoom-container {
  width: var(--width-fluid);
  height: 100%;
}
.product-main-media video {
  object-fit: cover;
}
.product-category-label {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-2) var(--space-3);
  z-index: 3;
  font-size: var(--font-xs);
  font-weight: var(--weight-strong);
  background: var(--color-bg);
  border: var(--border-width) solid var(--color-border);
}
.product-frame-tools {
  position: absolute;
  right: var(--space-4);
  top: var(--space-4);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.product-frame-tools button,
.product-video-toggle {
  width: var(--product-tool-size);
  height: var(--product-tool-size);
  display: grid;
  place-items: center;
  background: var(--color-bg);
  color: var(--color-text);
  border: var(--border-width) solid var(--color-border);
  padding: var(--space-0);
  font-size: var(--font-lead);
  border-radius: var(--radius-0);
}
.product-frame-tools button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.product-video-toggle {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  z-index: 3;
}
.product-thumbs-shell {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.product-thumbs {
  min-width: var(--width-control-min);
  flex: 1;
}
.product-thumbs .swiper-slide {
  width: var(--product-thumb-size);
  max-width: var(--product-thumb-size);
}
.product-thumbs button {
  position: relative;
  width: var(--product-thumb-size);
  height: var(--product-thumb-size);
  max-width: var(--product-thumb-size);
  max-height: var(--product-thumb-size);
  padding: var(--space-0);
  background: var(--color-surface);
  border: var(--border-width) solid var(--color-border);
  overflow: hidden;
}
.product-thumbs img {
  width: var(--width-fluid);
  height: 100%;
  object-fit: cover;
}
.product-thumbs button[aria-pressed="true"] {
  border: var(--border-focus) solid var(--color-primary);
}
.product-thumbs button > i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--font-h3);
  color: var(--color-white);
  text-shadow: 0 1px 6px var(--color-black);
}
.product-thumb-prev,
.product-thumb-next {
  height: var(--product-thumb-arrow-height);
  width: var(--product-tool-size);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: var(--border-width) solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  padding: var(--space-0);
  font-size: var(--font-lead);
}
.product-thumb-prev.swiper-button-disabled,
.product-thumb-next.swiper-button-disabled {
  opacity: 0.3;
}
.product-gallery-note {
  font-size: var(--font-xs);
  line-height: 1.7;
  color: var(--color-muted);
  margin-top: var(--space-4);
}
.product-summary > .eyebrow {
  font-size: var(--font-xs);
  margin-bottom: var(--space-4);
}
.product-summary > h2 {
  font-size: var(--product-title-size);
  line-height: 1.2;
  margin-bottom: var(--space-5);
}
.product-short-copy {
  font-size: var(--font-page-lead);
  line-height: 1.8;
  color: var(--color-muted);
  margin-bottom: var(--space-6);
}
.product-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}
.product-price-row strong {
  font-size: var(--product-main-price);
  font-weight: var(--weight-strong);
}
.product-price-row del {
  font-size: var(--font-small);
  color: var(--color-muted);
}
.product-price-row > span {
  padding: var(--space-1) var(--space-2);
  background: var(--color-surface);
  font-size: var(--font-xs);
}
.product-options-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4);
}
.product-option-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-xs);
  margin-bottom: var(--space-2);
}
.product-option-label > span {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}
.product-option-label strong {
  font-weight: var(--weight-strong);
}
.product-options-grid .field-icon {
  padding-inline: var(--space-3);
  margin-bottom: var(--space-3);
}
.product-options-grid select {
  font-size: var(--font-small);
}
.product-purchase-row {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.product-quantity {
  width: var(--product-quantity-width);
  height: var(--height-button);
  display: flex;
  border: var(--border-width) solid var(--color-border);
  flex-shrink: 0;
}
.product-quantity button {
  flex: 1;
  border: var(--space-0);
  padding: var(--space-0);
  background: transparent;
  color: var(--color-text);
  display: grid;
  place-items: center;
}
.product-quantity input {
  width: 44px;
  min-width: var(--width-control-min);
  border: var(--space-0);
  padding: var(--space-0);
  text-align: center;
  background: transparent;
  color: var(--color-text);
  appearance: textfield;
}
.product-quantity input::-webkit-inner-spin-button {
  appearance: none;
}
.product-purchase-row > .luxury-button {
  flex: 1;
  min-width: var(--width-control-min);
  padding-inline: var(--space-4);
}
.product-whatsapp {
  width: var(--width-fluid);
  min-height: var(--height-button);
  padding: var(--space-4);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  background: var(--product-whatsapp);
  color: var(--product-whatsapp-text);
  border: var(--border-width) solid var(--product-whatsapp);
  font-size: var(--font-small);
  font-weight: var(--weight-strong);
  border-radius: var(--radius-0);
}
.product-whatsapp > i {
  font-size: var(--font-lead);
}
.product-secure {
  border-top: var(--border-width) solid var(--color-border);
  padding-top: var(--space-6);
  margin-top: var(--space-6);
  text-align: center;
}
.product-secure > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--font-xs);
  color: var(--color-muted);
  margin-bottom: var(--space-4);
}
.product-secure > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--font-h3);
}
.product-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.product-share > span {
  font-size: var(--font-small);
}
.product-share > div {
  display: flex;
  gap: var(--space-2);
}
.product-share .social-icon {
  border: var(--space-0);
  padding: var(--space-0);
  border-radius: var(--social-radius);
}
.product-share .social-x {
  background: var(--product-social-x);
  color: var(--color-white);
}
.product-share .social-linkedin {
  background: var(--product-social-linkedin);
  color: var(--color-white);
}
.social-product-copy {
  background: var(--color-primary);
  color: var(--color-on-primary);
}
.product-rule {
  border: var(--space-0);
  border-top: var(--border-width) solid var(--color-border);
  opacity: 1;
  margin: var(--space-0);
}
.product-secondary {
  padding-top: var(--space-7);
}
.product-tabs {
  display: flex;
  overflow-x: auto;
  flex-wrap: nowrap;
  gap: var(--space-7);
  border-bottom: var(--border-width) solid var(--color-border);
  scrollbar-width: thin;
}
.product-tabs button {
  flex-shrink: 0;
  white-space: nowrap;
  padding: var(--space-4) var(--space-0);
  border: var(--space-0);
  border-bottom: var(--border-focus) solid transparent;
  background: transparent;
  color: var(--color-muted);
  font-size: var(--font-small);
  font-weight: var(--weight-strong);
  border-radius: var(--radius-0);
}
.product-tabs button.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.product-tab-content {
  padding-top: var(--space-8);
}
.product-tab-reading {
  max-width: var(--product-copy-width);
}
.product-tab-reading > h2 {
  font-size: var(--font-h3);
  margin-bottom: var(--space-5);
}
.product-tab-reading p,
.product-tab-reading li {
  line-height: 1.95;
  font-size: var(--font-body-size);
  color: var(--color-muted);
  margin-bottom: var(--space-5);
}
.product-tab-reading ul {
  padding-left: var(--space-5);
  margin-bottom: var(--space-0);
}
.product-size-table {
  overflow-x: auto;
}
.product-size-table table {
  width: var(--width-fluid);
  border-collapse: collapse;
  font-size: var(--font-small);
}
.product-size-table th,
.product-size-table td {
  text-align: left;
  padding: var(--space-4);
  border: var(--border-width) solid var(--color-border);
}
.product-size-table th {
  font-weight: var(--weight-strong);
  background: var(--color-surface);
}
.product-embed {
  width: var(--width-fluid);
  min-height: 230px;
  background: var(--color-surface);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-embed iframe,
.product-embed video {
  display: block;
  width: var(--width-fluid);
  aspect-ratio: 16/9;
  min-height: 230px;
  border: var(--space-0);
  object-fit: contain;
}
.product-embed.vertical iframe {
  aspect-ratio: 9/16;
  max-height: 680px;
}
.product-embed-card {
  padding: var(--space-7);
  text-align: center;
}
.product-embed-card > i {
  font-size: var(--font-h2);
  margin-bottom: var(--space-5);
}
.product-embed-card p {
  font-size: var(--font-small);
}
.product-embed-note {
  font-size: var(--font-xs) !important;
  margin-top: var(--space-4);
}
.product-reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-9);
}
.product-local-note {
  font-size: var(--font-xs);
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}
.product-reviews-layout h2 {
  font-size: var(--font-h3);
  margin-bottom: var(--space-4);
}
#productReviewForm {
  padding: var(--space-6);
  border: var(--border-width) solid var(--color-border);
}
#productReviewForm h3 {
  font-size: var(--font-h3);
  margin-bottom: var(--space-5);
}
.product-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-0);
  margin: var(--space-0) var(--space-0) var(--space-5);
  border: var(--space-0);
}
.product-rating legend {
  float: none;
  width: auto;
  font-size: var(--font-small);
  margin: var(--space-0) var(--space-3) var(--space-0) var(--space-0);
  order: 1;
}
.product-rating input {
  position: absolute;
  opacity: 0;
  width: var(--product-hidden-control-size);
  height: var(--product-hidden-control-size);
}
.product-rating label {
  font-size: var(--font-h3);
  color: var(--color-border);
  cursor: pointer;
}
.product-rating input:checked ~ label,
.product-rating label:hover,
.product-rating label:hover ~ label {
  color: var(--product-rating-color);
}
.product-rating input:focus-visible + label {
  outline: var(--border-focus) solid var(--color-primary);
  outline-offset: var(--space-1);
}
.product-review-message {
  align-items: flex-start;
  padding-block: var(--space-4);
}
.product-review-message textarea {
  min-width: var(--width-control-min);
  resize: vertical;
  line-height: 1.8;
}
.product-review {
  border-bottom: var(--border-width) solid var(--color-border);
  padding-block: var(--space-5);
}
.product-review strong {
  font-size: var(--font-small);
  font-weight: var(--weight-strong);
}
.product-review > div {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.product-review time {
  font-size: var(--font-xs);
  color: var(--color-muted);
}
.product-review .review-stars {
  color: var(--product-rating-color);
  font-size: var(--font-small);
  letter-spacing: 0.12em;
  margin-bottom: var(--space-3);
}
.product-review p {
  font-size: var(--font-small);
  color: var(--color-muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  margin: var(--space-0);
}
.related-products-swiper {
  padding-bottom: var(--space-9);
}
.related-pagination {
  bottom: var(--space-0) !important;
}
.related-pagination .swiper-pagination-bullet {
  border-radius: var(--radius-0);
  background: var(--color-primary);
}
.product-fullscreen-content {
  background: var(--color-bg);
  color: var(--color-text);
  border: var(--space-0);
  padding: var(--space-0);
}
.product-fullscreen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-4) var(--space-6);
  border-bottom: var(--border-width) solid var(--color-border);
  flex-shrink: 0;
}
.product-fullscreen-header h2 {
  font-size: var(--font-lead);
  font-family: var(--font-body);
  margin: var(--space-0);
}
.product-fullscreen-swiper {
  width: var(--width-fluid);
  height: calc(100dvh - var(--product-fullscreen-header-height));
  min-height: var(--width-control-min);
}
.product-fullscreen-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5) var(--space-9) var(--space-8);
}
.product-fullscreen-swiper img,
.product-fullscreen-swiper video {
  width: var(--width-fluid);
  height: 100%;
  object-fit: contain;
}
.product-fullscreen-swiper .swiper-zoom-container {
  width: var(--width-fluid);
  height: 100%;
}
.product-full-prev,
.product-full-next {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: var(--product-tool-size);
  height: var(--product-thumb-arrow-height);
  display: grid;
  place-items: center;
  border: var(--border-width) solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  padding: var(--space-0);
  font-size: var(--font-lead);
}
.product-full-prev {
  left: var(--space-4);
}
.product-full-next {
  right: var(--space-4);
}
.product-full-pagination {
  bottom: var(--space-3) !important;
}
.product-full-pagination .swiper-pagination-bullet {
  background: var(--color-primary);
  border-radius: var(--radius-0);
}
@media (max-width: 1199.98px) {
  :root {
    --product-frame-height: 510px;
    --product-title-size: 2.6rem;
  }
  .product-primary {
    gap: var(--space-6);
  }
  .product-thumb-prev,
  .product-thumb-next {
    width: var(--product-thumb-arrow-width);
  }
}
@media (max-width: 767.98px) {
  :root {
    --product-frame-height: 430px;
    --product-title-size: 2.3rem;
    --product-thumb-size: 80px;
    --product-thumb-arrow-height: 40px;
    --product-quantity-width: 108px;
  }
  .product-primary,
  .product-reviews-layout {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
  .product-options-grid {
    gap: var(--space-3);
  }
  .product-share {
    flex-wrap: wrap;
  }
  .product-tabs {
    gap: var(--space-5);
  }
  .product-tabs button {
    font-size: var(--font-xs);
  }
  .product-purchase-row > .luxury-button {
    font-size: var(--font-xs);
    padding-inline: var(--space-3);
  }
  .product-fullscreen-header {
    padding: var(--space-3) var(--space-4);
  }
  .product-fullscreen-header h2 {
    font-size: var(--font-small);
  }
  .product-fullscreen-swiper .swiper-slide {
    padding: var(--space-4) var(--space-6) var(--space-8);
  }
  .product-full-prev {
    left: var(--space-2);
  }
  .product-full-next {
    right: var(--space-2);
  }
  .product-full-prev,
  .product-full-next {
    width: 28px;
  }
  .product-price-row {
    gap: var(--space-3);
  }
}
@media (max-width: 374.98px) {
  :root {
    --product-frame-height: 350px;
  }
  .product-options-grid {
    grid-template-columns: 1fr;
  }
  .product-option-label {
    font-size: var(--font-small);
  }
  .product-thumbs-shell {
    gap: var(--space-2);
  }
}
