/* ==========================================================================
   NOORD THEME: SINGLE PRODUCT
   ========================================================================== */

/* ── Filete separando o cabeçalho do conteúdo ──
   Só na página de produto (body.product-page). O layout aqui é full-bleed e
   colado no topo: sem essa linha o menu "encosta" na galeria e some.
   A cor sai de --color-text (preto da marca) a 20%, para ficar um traço
   delicado em vez de um risco duro; a linha rgba antes serve de fallback para
   navegador sem color-mix. Mantida também no estado sticky, senão o traço
   sumiria justamente quando o cabeçalho passa a flutuar sobre o conteúdo. */
.product-page .site-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom-color: color-mix(in srgb, var(--color-text) 20%, transparent);
}

/* Sticky já traz um box-shadow de 1px que somaria com a borda e engrossaria
   o traço — desligado aqui para a linha ter sempre a mesma espessura. */
.product-page .site-header.is-sticky {
  box-shadow: none;
}

/* ── Full-width layout: break out of Storefront .col-full ── */
.single-product .site-content > .col-full {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ── Sidebar off ── */
.single-product #secondary,
.product-page  #secondary {
  display: none !important;
}

.single-product #primary,
.product-page  #primary {
  width: 100%   !important;
  float: none   !important;
  max-width: 100% !important;
  padding: 0    !important;
  margin: 0     !important;
}

/* .product wrapper: sections manage their own spacing */
.single-product .product {
  display: block;
  padding: 0;
  margin: 0;
  max-width: none;
}

/* Kill WC floats */
.single-product div.product div.images,
.single-product div.product div.summary {
  float: none !important;
  width: auto !important;
}

/* Kill WC default gallery & thumbnails */
.single-product div.product .woocommerce-product-gallery {
  display: none !important;
}

/* Remove Storefront breadcrumb on product page */
.single-product .storefront-breadcrumb,
.single-product .woocommerce-breadcrumb,
.single-product .noord-breadcrumb {
  display: none !important;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STICKY BAR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.product-sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--pp-page-bg, #fff);
  border-bottom: 1px solid var(--color-border, #e0e0da);
  transform: translateY(-100%);
  transition: transform 0.28s ease;
  pointer-events: none;
}

.product-sticky-bar.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.product-sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max-width, 1400px);
  margin: 0 auto;
  padding: 12px 40px;
  gap: 20px;
}

.product-sticky-bar__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text, #111111);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40%;
}

.product-sticky-bar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.product-sticky-bar__price {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text, #111111);
}

.product-sticky-bar__btn {
  height: 40px;
  padding: 0 24px;
  background: var(--pp-btn-bg, var(--color-text, #111111));
  color: var(--pp-btn-text, #ffffff);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  border-radius: var(--pp-btn-radius, 0);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s;
}

.product-sticky-bar__btn:hover {
  background: var(--pp-btn-hover, #333333);
}

/* Ocultar a barra fixa de compra (toggle do Page Builder) */
.pp-hide-sticky-bar .product-sticky-bar {
  display: none !important;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO: MANORS-STYLE GRID
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.product-hero {
  background: var(--pp-page-bg, #fff);
}

.product-hero__container {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 0;
  width: 100%;
  align-items: start;
  padding-left: 0;
}

/* ── Gallery Wrapper (Left Column) ── */
.product-hero__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 2px;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
}

/* Let the inner wrapper dissolve so its children join the parent grid */
.product-gallery {
  display: contents;
}

/* Sub-column 1: Main Image */
.product-gallery__main-image-container {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.product-gallery__item--main {
  height: 100%;
  background: var(--pp-page-bg, #fff);
  cursor: zoom-in;
}

.product-gallery__item--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sub-column 2: Scrollable Gallery */
.product-gallery__scrollable-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  min-height: 0; /* Critical for scroll to work inside a grid item */
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  position: relative;
}

.product-gallery__scrollable-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.product-gallery__item {
  width: 100%;
  background: var(--pp-page-bg, #fff);
  cursor: zoom-in;
  flex-shrink: 0;
  position: relative;
}

.product-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

/* Scroll hint on the first scrollable image */
.product-gallery__scrollable-list .product-gallery__item:first-child::after {
  content: "Scroll";
  position: absolute;
  bottom: 20px;
  right: 14px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  pointer-events: none;
}

/* Dot indicators (mobile only) */
.product-gallery__dots {
  display: none;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
}

.product-gallery__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
  transition: background 0.2s;
}

.product-gallery__dot.is-active {
  background: #111;
}

/* ── Lightbox ── */
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-lightbox[hidden] { display: none; }

.product-lightbox__img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-lightbox__img-wrap img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.product-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.product-lightbox__close:hover { opacity: 1; }

.product-lightbox__prev,
.product-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 16px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.product-lightbox__prev:hover,
.product-lightbox__next:hover { opacity: 1; }

.product-lightbox__prev { left: 16px; }
.product-lightbox__next { right: 16px; }

.product-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ── Info panel: sticky on right ── */
.product-hero__info {
  position: sticky;
  top: 80px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--pp-page-bg, #fff);
  border-left: 1px solid var(--pp-border, var(--color-border, #e0e0da));
  min-height: calc(100vh - 80px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: none;
}

.product-hero__info-inner {
  max-width: none;
  width: 100%;
}

.product-hero__info::-webkit-scrollbar {
  display: none;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PRODUCT SUMMARY (inside info panel)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.product-hero__info .product_title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pp-title, var(--color-text, #111111));
  margin: 0 0 10px;
  line-height: 1.15;
}

.product-hero__info .price {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--pp-price, var(--color-text, #111111)) !important;
  margin: 0 0 0 !important;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--pp-border, var(--color-border, #e0e0da));
}

.product-hero__info .woocommerce-product-details__short-description {
  font-size: 13px;
  color: var(--pp-desc, var(--color-text-muted, #666666));
  line-height: 1.65;
  margin: 20px 0;
}

/* Sem excerpt: preço fica sem border-bottom para não criar dois traços seguidos */
.product-page:not(.product-has-excerpt) .product-hero__info .price {
  border-bottom: none;
  padding-bottom: 0;
}

.product-hero__info .price del {
  color: var(--color-text-light, #999999) !important;
  font-weight: 400 !important;
  margin-right: 6px;
}

.product-hero__info .price ins {
  text-decoration: none !important;
}

/* ── Variations ── */
.noordhidden-select,
.noord-hidden-select {
  display: none !important;
}

/* Force each variation row to stack: label above, swatches below */
.variations,
.variations tbody,
.variations tr,
.variations td,
.variations th {
  display: block;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.variations {
  margin-bottom: 8px;
}

.variations tr {
  margin-bottom: 20px;
}

.variations th.label,
.variations td.value {
  width: 100%;
  text-align: left;
}

.variations .label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.variations .label label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pp-label, var(--color-text-muted, #666666));
  cursor: default;
}

.variations .label .selected-value {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text, #111111);
}

.variations .value {
  padding: 0;
}

/* Swatches */
.product-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.product-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s;
}

.product-swatch:hover {
  transform: scale(1.1);
}

.product-swatch.is-selected {
  outline: 2px solid var(--pp-accent, var(--color-text, #111111));
  outline-offset: 3px;
}

/* Size buttons */
.product-size-buttons {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.product-size-btn {
  height: 36px;
  min-width: 44px;
  padding: 0 12px;
  background: var(--pp-size-bg, transparent);
  border: 1px solid var(--pp-size-border, var(--color-border, #e0e0da));
  font-size: 12px;
  color: var(--pp-size-text, var(--color-text, #111111));
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.03em;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.product-size-btn:hover {
  border-color: var(--pp-size-sel-bg, var(--color-text, #111111));
}

.product-size-btn.is-selected {
  background: var(--pp-size-sel-bg, var(--color-text, #111111));
  color: var(--pp-size-sel-text, #ffffff);
  border-color: var(--pp-size-sel-bg, var(--color-text, #111111));
}

.product-size-btn.is-unavailable {
  color: var(--color-text-light, #cccccc);
  background: var(--color-bg, #f5f5f0);
  cursor: not-allowed;
  text-decoration: line-through;
}

/* WC variation resets */
.variations_form .reset_variations {
  display: none !important;
}

.woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: column;
}

/* ── Add to Bag button ── */
.single_add_to_cart_button,
button.single_add_to_cart_button {
  width: 100%   !important;
  height: 52px  !important;
  background: var(--pp-btn-bg, var(--color-text, #111111)) !important;
  color: var(--pp-btn-text, #ffffff) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  border: none  !important;
  border-radius: var(--pp-btn-radius, 0) !important;
  cursor: pointer !important;
  font-family: inherit !important;
  margin: 0 !important;
  transition: background 0.2s !important;
  display: flex  !important;
  align-items: center !important;
  justify-content: center !important;
}

.single_add_to_cart_button:hover {
  background: var(--pp-btn-hover, #333333) !important;
}

.single_add_to_cart_button.loading {
  background: #555555 !important;
  pointer-events: none !important;
}

.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled {
  background: var(--color-border, #e0e0da) !important;
  color: var(--color-text-light, #999999) !important;
  cursor: not-allowed !important;
}

/* Quantity — hidden on product page (MANORS style, adjust qty in cart) */
.product-hero__info .quantity {
  display: none !important;
}

.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border, #e0e0da);
  height: 44px;
  margin-bottom: 8px;
  width: fit-content;
}

.quantity input[type=number] {
  width: 50px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 14px;
  -moz-appearance: textfield;
  appearance: textfield;
}

.quantity input[type=number]::-webkit-inner-spin-button,
.quantity input[type=number]::-webkit-outer-spin-button {
  display: none;
}

/* ── Stock status ── */
.product-hero__info .stock {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pp-label, var(--color-text-muted, #888888));
  margin: 0 0 20px;
}

.product-hero__info .stock.in-stock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.product-hero__info .stock.out-of-stock {
  color: var(--color-text-muted, #999999);
}

/* ── Cart form wrapper ── */
.product-hero__info .cart {
  border-top: 1px solid var(--pp-border, var(--color-border, #e0e0da));
  padding-top: 20px;
  margin-top: 4px;
}

/* Badges below add-to-bag */
.product-badges {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-text-muted, #666666);
}

.product-badge img {
  flex-shrink: 0;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SIZE GUIDE TRIGGER + MODAL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.size-guide-trigger-wrap {
  margin: 12px 0 16px;
}

/* Dois gatilhos empilhados (medidas + cuidado): colapsa o vão entre eles para
   os links ficarem como uma lista, não como dois blocos soltos. */
.size-guide-trigger-wrap + .size-guide-trigger-wrap {
  margin-top: -8px;
}

.size-guide-trigger {
  background: none;
  border: none;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text, #111111);
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s;
}

.size-guide-trigger:hover {
  text-decoration-color: currentColor;
}

/* Modal container — appended to <body> by JS to escape stacking contexts */
.size-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  visibility: hidden;
  pointer-events: none;
}

.size-guide-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.size-guide-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.size-guide-modal.is-open .size-guide-modal__overlay {
  opacity: 1;
}

.size-guide-modal__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 540px;
  height: 100%;
  background: #fff;
  overflow-y: auto;
  padding: 48px 36px 60px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.size-guide-modal.is-open .size-guide-modal__panel {
  transform: translateX(0);
}

.size-guide-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--color-text, #111111);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.size-guide-modal__title {
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 12px;
  padding-right: 36px;
  font-family: var(--font-heading, inherit);
}

.size-guide-modal__note {
  font-size: 14px;
  color: var(--color-text-muted, #666666);
  line-height: 1.65;
  margin: 0 0 28px;
}

/* Corpo do modal de cuidado — texto livre vindo do metabox do produto */
.care-guide-modal__body {
  font-size: 14px;
  color: var(--color-text-muted, #666666);
  line-height: 1.65;
}

.care-guide-modal__body p {
  margin: 0 0 16px;
}

.care-guide-modal__body p:last-child {
  margin-bottom: 0;
}

.care-guide-modal__body strong,
.care-guide-modal__body b {
  color: var(--color-text, #111111);
  font-weight: 600;
}

.care-guide-modal__body ul,
.care-guide-modal__body ol {
  margin: 0 0 16px;
  padding-left: 18px;
  list-style: revert;
}

.care-guide-modal__body li {
  margin-bottom: 6px;
}

.care-guide-modal__body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Size selector buttons */
.size-guide-modal__sizes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}

.size-guide-size-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-border, #e0e0da);
  background: none;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  color: var(--color-text, #111111);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.size-guide-size-btn.is-active {
  background: var(--color-text, #111111);
  border-color: var(--color-text, #111111);
  color: #fff;
}

/* Diagram image */
.size-guide-modal__image {
  margin: 0 0 28px;
}

.size-guide-modal__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Measurement table */
.size-guide-modal__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.size-guide-table thead th {
  padding: 10px 14px;
  text-align: center;
  font-weight: 500;
  font-size: 12px;
  color: var(--color-text-muted, #666666);
  border-bottom: 1px solid var(--color-border, #e0e0da);
}

.size-guide-table .sgt-label {
  text-align: left;
  color: var(--color-text, #111111);
  font-weight: 400;
  min-width: 90px;
}

.size-guide-table tbody td {
  padding: 12px 14px;
  text-align: center;
  color: var(--color-text-muted, #888888);
  border-bottom: 1px solid var(--color-border, #e0e0da);
  transition: background 0.15s, color 0.15s;
}

.size-guide-table tbody tr:last-child td {
  border-bottom: none;
}

.size-guide-table .sgt-val.is-active {
  color: var(--color-text, #111111);
  font-weight: 600;
  background: var(--color-bg, #f5f5f0);
}

.size-guide-table thead .sgt-val.is-active {
  color: var(--color-text, #111111);
  background: var(--color-bg, #f5f5f0);
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   COMPLETE THE LOOK
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.complete-the-look {
  background: var(--pp-section-bg, var(--color-bg-alt, #efefea));
  border-top: 1px solid var(--pp-border, var(--color-border, #e0e0da));
}

.ctl__inner {
  padding: 64px var(--container-padding, 40px) 0;
}

.ctl__title {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text, #111111);
  text-align: center;
  margin: 0 0 36px;
}

/* ── Cards grid ── */
.ctl__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
  gap: 24px;
}

.ctl-card {
  background: var(--color-bg, #f5f5f0);
}

/* ── Image ── */
.ctl-card__image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-bg, #f5f5f0);
}

.ctl-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.ctl-card__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ctl-card:hover .ctl-card__image-link img {
  transform: scale(1.03);
}

.ctl-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: var(--pp-accent, var(--color-text, #111111));
  color: #ffffff;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 9px;
  pointer-events: none;
}

.ctl-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.88);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text, #111111);
  transition: background 0.15s;
}

.ctl-card__wishlist:hover {
  background: #ffffff;
}

/* ── Picker (seleção do card) ── */
.ctl-card__picker {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  cursor: pointer;
}

.ctl-card__pick-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.ctl-card__pick-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  backdrop-filter: blur(2px);
}

.ctl-card__pick-icon svg {
  opacity: 0;
  transition: opacity 0.1s;
}

.ctl-card__pick-input:checked ~ .ctl-card__pick-icon {
  background: var(--color-text, #111111);
  border-color: var(--color-text, #111111);
}

.ctl-card__pick-input:checked ~ .ctl-card__pick-icon svg {
  opacity: 1;
}

.ctl-card.is-deselected .ctl-card__image-link img {
  transform: none !important;
}

/* ── Info ── */
.ctl-card__info {
  padding: 14px 16px 22px;
}

.ctl-card__name {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text, #111111);
  margin: 0 0 6px;
  line-height: 1.4;
}

.ctl-card__name a {
  color: inherit;
  text-decoration: none;
}

.ctl-card__name a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ctl-card__price {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text, #111111);
  margin: 0 0 12px;
}

/* ── Selects ── */
.ctl-card__selects {
  display: flex;
  gap: 8px;
}

.ctl-card__select-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.ctl-card__select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 36px;
  padding: 0 28px 0 10px;
  font-size: 12px;
  font-family: inherit;
  color: var(--color-text, #111111);
  background: transparent;
  border: 1px solid var(--color-border, #e0e0da);
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ctl-card__select:focus {
  border-color: var(--color-text, #111111);
}

.ctl-card__chevron {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-text, #111111);
}

/* ── Bottom bar ── */
.ctl__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  margin-top: 24px;
  border-top: 1px solid var(--color-border, #e0e0da);
}

.ctl__bar-label {
  font-size: 14px;
  color: var(--color-text-muted, #666666);
  line-height: 1.5;
}

.ctl__bar-label strong {
  color: var(--color-text, #111111);
}

.ctl__price-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text, #111111);
}

.ctl__add-btn {
  flex-shrink: 0;
  height: 48px;
  padding: 0 32px;
  background: var(--pp-btn-bg, var(--color-text, #111111));
  color: var(--pp-btn-text, #ffffff);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  border-radius: var(--pp-btn-radius, 0);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  white-space: nowrap;
}

.ctl__add-btn:hover {
  background: var(--pp-btn-hover, #333333);
}

.ctl__add-btn:disabled {
  background: var(--color-border, #e0e0da);
  color: var(--color-text-light, #999999);
  cursor: not-allowed;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   EDITORIAL GALLERY
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.product-gallery-section {
  background: var(--pp-section-bg, var(--color-bg, #f5f5f0));
  border-top: 1px solid var(--pp-border, var(--color-border, #e0e0da));
}

.product-gallery-section__inner {
  padding: 80px 60px;
}

.product-gallery-section__heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted, #666666);
  margin: 0 0 32px;
}

.product-gallery-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.product-gallery-section__item {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-bg-alt, #efefea);
}

.product-gallery-section__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-gallery-section__item:hover img {
  transform: scale(1.04);
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   KEEP EXPLORING
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Keep Exploring: adapta o trending ao contexto da página de produto */
.keep-exploring.noord-trending-products-section {
  background: #fff !important;
  border-top: 1px solid var(--color-border, #e0e0da);
  /* Cancela o full-bleed do trending (que usa 100vw) */
  width: auto !important;
  position: static !important;
  left: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Máscara esquerda usa fundo branco em vez de --color-bg */
.keep-exploring .noord-trending-carousel::before {
  background: #fff !important;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TRUST BADGES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.trust-badges {
  background: var(--color-bg, #f5f5f0);
  border-top: 1px solid var(--color-border, #e0e0da);
}

.trust-badges__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 60px;
}

.trust-badge {
  padding: 48px 40px;
  border-right: 1px solid var(--color-border, #e0e0da);
  text-align: center;
}

.trust-badge:last-child {
  border-right: none;
}

.trust-badge__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text, #111111);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}

.trust-badge__text {
  font-size: 12px;
  color: var(--color-text-muted, #666666);
  line-height: 1.5;
  margin: 0;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 1200px) {
  /* Compress info panel on mid screens */
  .product-hero__container {
    grid-template-columns: 1fr 400px;
  }

  .product-hero__info {
    padding: 32px 24px;
  }
}

@media (max-width: 1100px) {
  .ctl__cards {
    grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
  }
}

@media (max-width: 900px) {
  /* ── Hero: galeria full-screen + info abaixo ─────────────────────────── */

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

  /* Galeria: ocupa quase toda a viewport */
  .product-hero__gallery {
    display: block !important;     /* anula o display:grid do desktop */
    width: 100% !important;
    height: auto !important;       /* anula o calc(100vh-80px) do desktop */
    aspect-ratio: 4 / 5;
    max-height: calc(100svh - var(--header-height-mobile, 60px));
    overflow: hidden;
    position: relative !important;
    top: auto !important;
    background: var(--pp-page-bg, #fff);
    gap: 0;
    touch-action: pan-y; /* browser scroll vertical; swipe horizontal vai pro JS */
  }

  /* Wrapper interno: bloco simples 100% x 100% */
  .product-gallery {
    display: block !important;    /* anula display:contents do desktop */
    width: 100%;
    height: 100%;
    touch-action: pan-y; /* iOS Safari exige no próprio elemento com o listener */
  }

  /* Main image container: ocupa todo o espaço disponível */
  .product-gallery__main-image-container {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden;
  }

  .product-gallery__item--main {
    width: 100%;
    height: 100%;
    background: var(--pp-page-bg, #fff);
    cursor: default;
  }

  .product-gallery__item--main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.2s ease;
  }

  /* Ocultar a lista scrollável de miniaturas — só mostra 1 foto por vez */
  .product-gallery__scrollable-list {
    display: none !important;
  }

  /* Dots: overlaid na parte inferior da imagem */
  .product-gallery__dots {
    display: flex !important;
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    gap: 6px;
    padding: 0;
    z-index: 5;
  }

  .product-gallery__dot {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
  }

  .product-gallery__dot.is-active {
    background: #fff;
    transform: scale(1.3);
  }

  /* Scroll indicator: sutil seta para baixo depois da galeria */
  .product-hero__gallery::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.06));
    pointer-events: none;
  }

  /* ── Info: logo abaixo, scroll natural ─────────────────────────────── */
  .product-hero__info {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100%;
    padding: 24px 20px 32px;
    border-left: none;
    border-top: 1px solid var(--pp-border, var(--color-border, #e0e0da));
  }

  /* ── Sticky bar ── */
  .product-sticky-bar__inner {
    padding: 10px 20px;
  }

  .product-sticky-bar__name {
    font-size: 12px;
    max-width: 55%;
  }

  .product-sticky-bar__price {
    display: none;
  }

  .product-sticky-bar__btn {
    height: 36px;
    padding: 0 16px;
  }

  /* ── Size guide modal mobile ── */
  .size-guide-modal__panel {
    max-width: 100%;
    padding: 40px 20px 48px;
  }

  .size-guide-modal__title {
    font-size: 22px;
  }

  .size-guide-size-btn {
    width: 40px;
    height: 40px;
    font-size: 11px;
  }

  /* ── CTL ── */
  .ctl__inner {
    padding: 40px var(--container-padding-mobile, 20px) 0;
  }

  .ctl__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .ctl__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .ctl__add-btn {
    width: 100%;
  }

  /* ── Gallery ── */
  .product-gallery-section__inner {
    padding: 40px 20px;
  }

  .product-gallery-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Trust badges ── */
  .trust-badges__inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .trust-badge {
    border-right: none;
    border-bottom: 1px solid var(--color-border, #e0e0da);
    padding: 28px 0;
    text-align: left;
  }

  .trust-badge:last-child {
    border-bottom: none;
  }
}

/* ── Product gallery video ── */

.product-gallery__item--video {
  cursor: pointer;
}

.product-gallery__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Swap container used on mobile when video is first and user swipes to an image */
.product-gallery__item--img-swap {
  width: 100%;
  height: 100%;
  background: var(--pp-page-bg, #fff);
}

.product-gallery__item--img-swap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.2s ease;
}
