/* ===========================================
   CELLUMOVE.ES — Replica fiel do design original
   Cores e fonte extraídas direto do tema Shopify
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  /* Cores extraídas do tema original */
  --bg: #ffffff;
  --bg-2: #f0f0f0;
  --bg-3: #dcdcdc;
  --text: #000000;
  --text-soft: #555555;
  --text-muted: #888888;
  --border: #e6e6e6;

  /* Brand: dusty rose / mauve (RGB 195,135,134) */
  --accent: #c38786;
  --accent-dark: #b56c6b;
  --accent-soft: #f3dfde;
  --accent-bg: #f8ebea;

  /* Tipografia */
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 120rem;          /* 1200px */
  --container-narrow: 80rem;    /* 800px */
  --radius: 1rem;               /* 16px */
  --radius-sm: 0.5rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;

  /* Espaçamento */
  --gap: 24px;
  --header-h: 64px;
  --marquee-h: 36px;
}

/* ============== RESET ============== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 62.5%; /* 1rem = 10px (Shopify pattern) */
  overflow-x: hidden;          /* impede rolagem horizontal global */
  width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.5rem;          /* 15px */
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;          /* idem */
  width: 100%;
  position: relative;
  overscroll-behavior-x: none; /* iOS: impede gesture-back puxar a página */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}
p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--container-narrow);
}

/* ============== ANNOUNCEMENT MARQUEE ============== */
.marquee {
  background: #000;
  color: #fff;
  height: var(--marquee-h);
  overflow: hidden;
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 500;
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marquee-loop 35s linear infinite;
}
/* Espaçamento via margin-right por item — funciona igual no fim de cada cópia */
.marquee-item, .marquee-dot {
  display: inline-flex;
  align-items: center;
  margin-right: 4rem;
  flex-shrink: 0;
}
.marquee-dot { opacity: 0.5; }

/* Loop perfeito: track tem 2 conjuntos idênticos; -50% leva o início do 2º
   exatamente para a posição inicial do 1º, sem gap ou pulo. */
@keyframes marquee-loop {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes scroll-x {
  to { transform: translateX(-100%); }
}

/* ============== HEADER ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 30px;
  width: auto;
  display: block;
}
.cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.cart-btn:hover { background: var(--bg-2); }
.cart-btn:active { background: var(--bg-2); transform: scale(0.96); }
.cart-btn svg { color: var(--text); }
.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--accent-dark);
  color: #fff;
  border-radius: 9px;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}
@media (max-width: 720px) {
  :root { --header-h: 56px; }
  .logo img { height: 26px; }
  .cart-btn { width: 40px; height: 40px; }
  .header-inner { gap: 8px; }
}

/* (regras antigas .icon-btn / .cart-count duplicadas — removidas; o novo header tem suas próprias) */

/* ============== PRODUCT HERO ============== */
.product-hero { padding: 24px 0 60px; }
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* Galería com swiper-style */
.gallery {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;     /* impede que conteúdo interno (thumbs) estique a coluna */
}
.gallery-main {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  touch-action: pan-y;        /* deixa scroll vertical da página, captura X pro swipe */
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.gallery-main:active { cursor: grabbing; }
.gallery-main img {
  -webkit-user-drag: none;     /* impede arrastar imagem como ghost no desktop */
  user-drag: none;
  pointer-events: none;        /* deixa o drag passar pro container */
}
.gallery-main .gallery-arrow,
.gallery-main .gallery-pagination {
  pointer-events: auto;        /* mas mantém setas e dots clicáveis */
}
.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-slide.active { opacity: 1; }
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;     /* mostra a foto inteira, sem cortes laterais */
  object-position: center;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, background 0.2s;
}
.gallery-arrow:hover { transform: translateY(-50%) scale(1.05); background: #fff; }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }

.gallery-pagination {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.gallery-pagination button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.gallery-pagination button.active {
  background: #fff;
  width: 20px;
  border-radius: 3px;
}

/* Thumbs em scroll horizontal — sem expandir o container pai */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  overscroll-behavior-x: contain;  /* swipe não vaza pro body */
  touch-action: pan-x pan-y;        /* permite scroll vertical da página */
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-2);
  transition: border-color 0.2s;
  scroll-snap-align: start;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--text); }
@media (max-width: 720px) {
  .gallery-thumb { flex: 0 0 56px; width: 56px; height: 56px; }
}

/* Product info */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1.3rem;
  color: var(--text-soft);
}
.stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 1.5rem;
}
.rating-value { font-weight: 600; color: var(--text); }
.rating-divider { color: var(--text-muted); }

.product-title {
  font-size: clamp(2.4rem, 3.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
}
.product-title em {
  font-style: italic;
  color: var(--accent-dark);
}

/* Lista de benefícios */
.benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  background: var(--accent-bg);
  border-radius: var(--radius);
}
.benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1.4rem;
  line-height: 1.5;
}
.benefits .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Selectors */
.option-group { display: flex; flex-direction: column; gap: 10px; }
.option-label {
  font-size: 1.3rem;
  color: var(--text-soft);
}
.option-label strong {
  color: var(--text);
  font-weight: 600;
}

.color-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid #fff;
  outline: 1px solid var(--border);
  transition: transform 0.2s, outline 0.2s;
}
.swatch:hover { transform: scale(1.08); }
.swatch.active {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.size-calc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: underline;
  padding: 4px 0;
}
.size-calc-btn img { width: 18px; height: 18px; }

.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  min-width: 56px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: #fff;
  font-weight: 600;
  font-size: 1.4rem;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.size-btn:hover { border-color: var(--text); }
.size-btn.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* ============== BUNDLE SELECTOR ============== */
.bundle {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}
.bundle-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 4px 4px;
  margin-bottom: 4px;
  border-bottom: 1px dashed var(--border);
}
.bundle-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
}
.bundle-sub {
  font-size: 1.2rem;
  color: var(--text-soft);
}

.bundle-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.bundle-option:hover { border-color: var(--accent); }
.bundle-option input { position: absolute; opacity: 0; pointer-events: none; }

.bundle-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.bundle-radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.2s;
}
.bundle-option.selected {
  border-color: var(--accent);
  background: var(--accent-bg);
  box-shadow: 0 0 0 3px rgba(195,135,134,0.15);
}
.bundle-option.selected .bundle-radio {
  border-color: var(--accent);
}
.bundle-option.selected .bundle-radio::after {
  transform: scale(1);
}

.bundle-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.bundle-row-1 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bundle-row-1 strong {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.bundle-row-2 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 1.25rem;
  color: var(--text-soft);
}
.bundle-unit { color: var(--text-soft); }
.bundle-save {
  display: inline-flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f8a4c;
  background: #e8f5ee;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.bundle-save.big {
  background: #1f8a4c;
  color: #fff;
}

.bundle-badge {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: #fff;
  text-transform: uppercase;
}
.bundle-badge.popular {
  background: #f5a623;
  color: #fff;
}
.bundle-badge.best-deal {
  background: linear-gradient(90deg, #e8447a, #c38786);
  color: #fff;
}

.bundle-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.bundle-old {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.bundle-total {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  line-height: 1;
}
.bundle-total small {
  font-size: 1rem;
  color: var(--text-soft);
  font-weight: 500;
  margin-left: 2px;
}

.bundle-option.best {
  border-color: var(--accent-dark);
  background: linear-gradient(135deg, var(--accent-bg) 0%, #fef0f4 100%);
}
.bundle-option.best.selected {
  background: linear-gradient(135deg, var(--accent-bg) 0%, #fde8ef 100%);
  box-shadow: 0 0 0 3px rgba(195,135,134,0.25);
}

/* ----- Bundle option (com summary + config interno) ----- */
.bundle-option {
  display: block;
  padding: 0;
  /* sem overflow:hidden — senão recorta os dropdown menus */
  position: relative;
}
/* Garantir que dropdowns nunca sejam cortados pelos outros elementos */
.bundle-option.selected { z-index: 5; }
.dd[data-open="true"] { z-index: 50; }
.bundle-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
}

/* Configurador por unidade — só aparece quando o bundle está selecionado */
.bundle-config {
  display: none;
  padding: 4px 16px 16px;
  border-top: 1px dashed rgba(195,135,134,0.4);
  margin-top: 6px;
  background: rgba(255,255,255,0.6);
}
.bundle-option.selected .bundle-config {
  display: block;
}
.bundle-unit-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.bundle-unit-row:last-child { border-bottom: none; }

.bundle-unit-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
.bundle-unit-head .unit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}
.bundle-unit-head .unit-meta {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--text-soft);
  font-weight: 400;
}
.bundle-unit-head .unit-meta b { color: var(--text); font-weight: 600; }

.bundle-unit-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* ===== Dropdowns de cor + tamanho ===== */
.unit-dropdowns {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8px;
}
.dd { position: relative; }
.dd-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}
.dd-btn:hover { border-color: var(--text); }
.dd[data-open="true"] .dd-btn {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(195,135,134,0.15);
}

.dd-thumb {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-2);
}
.dd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dd-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  border: 1.5px solid #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.dd-label-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.dd-caption {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.dd-value {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dd-chevron {
  flex-shrink: 0;
  color: var(--text-soft);
  transition: transform 0.2s;
}
.dd[data-open="true"] .dd-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  z-index: 30;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  margin: 0;
  list-style: none;
  display: none;
}
.dd[data-open="true"] .dd-menu { display: block; }

.dd-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 500;
  transition: background 0.12s;
}
.dd-menu li:hover { background: var(--bg-soft, #faf7f5); }
.dd-menu li.selected {
  background: var(--accent-bg);
  color: var(--accent-dark);
  font-weight: 600;
}
.dd-menu li .dd-thumb { width: 36px; height: 36px; }

/* Tamanho: dropdown mais compacto */
.dd-size .dd-menu {
  display: none;
}
.dd-size[data-open="true"] .dd-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.dd-size .dd-menu li {
  justify-content: center;
  padding: 10px 6px;
  font-size: 1.4rem;
  font-weight: 600;
}

/* Swatches com miniatura de foto da cor */
.swatches--img {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.swatch-img {
  width: 44px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  border: 2px solid var(--border);
  outline: none;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.swatch-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.swatch-img:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}
.swatch-img.active {
  border-color: var(--text);
  box-shadow: 0 0 0 2px var(--text), 0 4px 8px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}
/* Pequena bolinha indicadora da cor no canto */
.swatch-img::after {
  content: '';
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  border: 1.5px solid #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  pointer-events: none;
}
.bundle-unit-controls .sizes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.bundle-unit-controls .size-btn {
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
  font-size: 1.25rem;
  border-radius: 6px;
}

/* ============== CART DRAWER ============== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 100;
  backdrop-filter: blur(2px);
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: 440px;
  max-width: 100vw;
  background: #fff;
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}
.cart-count-text {
  font-size: 1.2rem;
  color: var(--text-soft);
  margin-top: 2px;
}
.cart-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.cart-close:hover { background: var(--bg-2); }

.cart-shipping-bar {
  padding: 14px 24px;
  background: var(--accent-bg);
  flex-shrink: 0;
}
.ship-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text);
}
.ship-row svg { color: var(--accent-dark); flex-shrink: 0; }
.ship-progress {
  height: 6px;
  background: rgba(195,135,134,0.2);
  border-radius: 3px;
  overflow: hidden;
}
.ship-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 3px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 24px;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 80px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-2);
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cart-item-info strong {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
}
.cart-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 1.2rem;
  color: var(--text-soft);
  margin-top: 2px;
}
.cart-item-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--bg-2);
  border-radius: var(--radius-pill);
  font-size: 1.15rem;
}
.cart-item-meta .swatch-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c, #000);
  border: 1px solid #fff;
  outline: 1px solid var(--border);
}
.cart-item-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  text-align: right;
}
.cart-item-price small {
  display: block;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
}

.cart-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  padding: 40px 24px;
  text-align: center;
  color: var(--text-soft);
}
.cart-empty.visible { display: flex; }
.cart-empty svg { color: var(--text-muted); }
.cart-empty h3 { font-size: 1.6rem; margin: 0; color: var(--text); }
.cart-empty p { font-size: 1.3rem; margin: 0; }
.cart-empty .btn { width: auto; padding: 0 28px; height: 44px; font-size: 1.3rem; margin-top: 8px; }

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 16px 24px 20px;
  background: #fff;
  flex-shrink: 0;
}
.cart-footer.hidden { display: none; }

.cart-perks {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 14px;
}
.cart-perk {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.15rem;
  color: var(--text-soft);
}
.cart-perk svg { color: var(--accent-dark); flex-shrink: 0; }

.cart-totals { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.35rem;
  color: var(--text-soft);
}
.cart-total-row.save { color: #1f8a4c; font-weight: 600; }
.cart-total-row .free { color: #1f8a4c; font-weight: 600; }
.cart-total-row.total {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.cart-checkout {
  margin-bottom: 12px;
  background: var(--accent);
}
.cart-checkout:hover { background: var(--accent-dark); }

.cart-payments {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
  .cart-header { padding: 18px 18px; }
  .cart-shipping-bar, .cart-items, .cart-footer { padding-left: 18px; padding-right: 18px; }
  .cart-perks { flex-wrap: wrap; }
}

/* CTA com preço */
.btn .btn-divider {
  opacity: 0.5;
  font-weight: 400;
}
.btn .btn-price {
  font-weight: 700;
}

/* Stock alert */
.stock-alert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #fff5f5;
  border: 1px solid #f5d4d4;
  color: #b91c1c;
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  font-weight: 600;
  align-self: flex-start;
}
.stock-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d23636;
  position: relative;
}
.stock-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(210,54,54,0.4);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* CTA principal — preto + accent on hover */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.2s;
}
.btn:hover { background: var(--accent); }
.btn:active { transform: scale(0.99); }
.btn--lg { height: 60px; font-size: 1.6rem; }
.btn--accent { background: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); }

/* ===== Trust strip — design premium, 3 pílulas separadas por divisor fino ===== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  margin: 4px 0 0;
  padding: 14px 6px;
  list-style: none;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--accent-soft), #fff 30%, #fff 70%, var(--accent-soft)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 4px 16px rgba(195,135,134,0.06);
  position: relative;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px;
  position: relative;
  min-width: 0;
}
/* divisor fino vertical entre as pílulas */
.trust-pill + .trust-pill::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 70%;
  background: linear-gradient(180deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
.trust-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  color: var(--accent-dark);
  position: relative;
  transition: transform 0.25s ease, background 0.25s;
}
.trust-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px dashed rgba(195,135,134,0.3);
  opacity: 0;
  transition: opacity 0.25s, transform 0.4s;
}
.trust-pill:hover .trust-icon { transform: scale(1.05); background: var(--accent); color: #fff; }
.trust-pill:hover .trust-icon::after { opacity: 1; transform: rotate(20deg); }
.trust-icon svg { width: 18px; height: 18px; }
.trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.trust-text strong {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.trust-text small {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  margin-top: 1px;
}

@media (max-width: 480px) {
  .trust-strip { padding: 10px 4px; }
  .trust-pill { padding: 4px 4px; gap: 7px; }
  .trust-icon { width: 30px; height: 30px; }
  .trust-icon svg { width: 15px; height: 15px; }
  .trust-text strong { font-size: 1.2rem; }
  .trust-text small { font-size: 0.95rem; }
}
@media (max-width: 360px) {
  .trust-pill { gap: 5px; padding: 4px 2px; }
  .trust-icon { width: 26px; height: 26px; }
  .trust-icon svg { width: 13px; height: 13px; }
  .trust-text strong { font-size: 1.1rem; }
  .trust-text small { font-size: 0.85rem; }
}

.payment-methods,
.cart-payments,
.footer-payments {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.cart-payments, .footer-payments { justify-content: center; }

/* Ícones de bandeira reais */
.pay-icon {
  height: 26px;
  width: auto;
  display: block;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 1px;
  box-sizing: content-box;
}
/* Versões monocromáticas (Apple Pay / Google Pay / Shop Pay) ficam um pouco menores */
.pay-icon.mono {
  height: 16px;
  padding: 5px 10px;
  background: #fff;
}
/* Variante dark — quando vai sobre o footer escuro */
.pay-icon.mono.dark {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

/* ============== DOTS (indicador de carrossel) ============== */
.dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}
.dots button.active {
  background: var(--accent-dark);
  width: 22px;
  border-radius: 4px;
}
@media (max-width: 720px) {
  .dots { display: flex; }
}

/* Swipe hint (mobile) */
.swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.swipe-hint svg { color: var(--accent); }
@media (max-width: 720px) {
  .swipe-hint { display: flex; animation: hint-pulse 1.6s ease-in-out infinite; }
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(0); }
  50%      { opacity: 1;   transform: translateX(2px); }
}

/* ============== FEATURED REVIEWS ============== */
.reviews-featured { padding: 50px 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--accent-bg);
  padding: 24px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-stars-sm {
  color: #f5a623;
  font-size: 1.4rem;
  letter-spacing: 1.5px;
}
.review-text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
}
.review-author {
  display: flex;
  gap: 12px;
  align-items: center;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-author strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
}
.review-author .verified {
  font-size: 1.2rem;
  color: var(--text-soft);
}

/* ============== SCROLLING LOGOS ============== */
.scrolling-logos {
  padding: 36px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.press-label {
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}
.logos-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marquee-loop 40s linear infinite;
  will-change: transform;
}
/* Cada logo tem seu próprio margin-right — espaçamento idêntico entre todos os
   pares, inclusive na junção entre cópias. Sem gap (que cria off-by-one). */
.logos-track .logo-item {
  height: 32px;
  width: auto;
  flex-shrink: 0;
  margin-right: 70px;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 0.2s, filter 0.2s;
}
.logos-track .logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ============== IMAGE WITH TEXT (tech sections) ============== */
.image-with-text { padding: 70px 0; }
.iwt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.iwt-grid.reverse .iwt-image { order: 2; }
.iwt-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--bg-2);
}
.iwt-image img,
.iwt-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.iwt-text h2 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.iwt-text h2 em {
  font-style: italic;
  color: var(--accent-dark);
}
.iwt-text p {
  font-size: 1.5rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 12px;
}
.iwt-text p strong { color: var(--text); }

/* ============== COMPARISON ============== */
.comparison-section {
  padding: 70px 0;
  background: var(--accent-bg);
}
.section-heading {
  text-align: center;
  max-width: 70rem;
  margin: 0 auto 36px;
}
.section-heading h2 {
  font-size: clamp(2.4rem, 3.2vw, 3.4rem);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-heading h2 em {
  font-style: italic;
  color: var(--accent-dark);
}
.section-heading p {
  font-size: 1.5rem;
  color: var(--text-soft);
}

.comparison-card {
  max-width: 80rem;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.comparison-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.comparison-row:last-child { border-bottom: none; }
.comparison-cell {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  font-size: 1.4rem;
}
.comparison-row.head .comparison-cell {
  background: #fafafa;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 16px;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.comparison-row.head .brand-cell {
  background: var(--accent);
  color: #fff;
  justify-content: center;
}
.comparison-row.head .other-cell {
  justify-content: center;
  color: var(--text-muted);
}
.comparison-row.head img {
  width: 100%;
  max-width: 110px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.4);
}
.comparison-row.head .label-cell { background: #fafafa; }
.brand-cell { background: var(--accent-bg); justify-content: center; }
.other-cell { justify-content: center; color: var(--text-soft); }
.label-cell { font-weight: 500; }

.tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
}
.tick.yes { background: var(--accent); color: #fff; }
.tick.no  { background: #e6e6e6; color: #aaa; }

.comparison-cta {
  text-align: center;
  margin-top: 30px;
}
.comparison-cta .btn {
  width: auto;
  padding: 0 36px;
}

/* ============== TESTIMONIAL CAROUSEL ============== */
.testimonials-carousel { padding: 70px 0; }
.testimonials-carousel .section-heading {
  max-width: 80rem;
}
.testimonials-carousel .section-heading h2 {
  font-size: clamp(2.2rem, 2.8vw, 3rem);
}
.testimonials-carousel .section-heading h2 .pink {
  color: var(--accent-dark);
  font-style: italic;
}

.tcarousel-wrap {
  position: relative;
  /* sem margin negativa — evita estourar viewport no mobile */
}
.tcarousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}
.tcarousel-track::-webkit-scrollbar { display: none; }
.testimonial {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 280px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.testimonial-image {
  aspect-ratio: 1/1;
  background: var(--bg-2);
  overflow: hidden;
}
.testimonial-image img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.testimonial-body p {
  font-size: 1.4rem;
  line-height: 1.6;
  flex: 1;
}
.testimonial-meta strong {
  font-weight: 600;
  font-size: 1.4rem;
}
.testimonial-meta .city {
  color: var(--text-soft);
  font-size: 1.3rem;
  margin-left: 4px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.carousel-arrow:hover { transform: translateY(-50%) scale(1.05); }
.carousel-arrow.prev { left: -8px; }
.carousel-arrow.next { right: -8px; }

/* ============== FAQ ============== */
.faq-section { padding: 70px 0; }
.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.5rem;
  list-style: none;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.3s;
}
.faq-toggle::before, .faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--text);
  transition: transform 0.3s;
}
.faq-toggle::before {
  width: 12px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-toggle::after {
  width: 1.5px; height: 12px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-answer {
  padding: 0 22px 22px;
  color: var(--text-soft);
  font-size: 1.4rem;
  line-height: 1.7;
}
.faq-answer strong { color: var(--text); }

/* ============== ICON COLUMNS (acima do footer) ============== */
.icons-section {
  background: var(--accent);
  color: #fff;
  padding: 50px 0;
}
.icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.icon-col {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.icon-col svg { width: 40px; height: 40px; }
.icon-col h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}
.icon-col p {
  font-size: 1.3rem;
  opacity: 0.9;
  line-height: 1.5;
  max-width: 240px;
}

/* ============== FOOTER ============== */
.site-footer {
  background: #000;
  color: #ccc;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1a1a1a;
}
.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-brand .footer-logo img { height: 32px; filter: brightness(0) invert(1); }
.footer-brand p {
  font-size: 1.3rem;
  color: #888;
  line-height: 1.7;
  margin-bottom: 18px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--accent); }

.footer-col h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a {
  color: #888;
  font-size: 1.3rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-contact {
  margin-top: 12px;
  font-size: 1.3rem;
  color: #888;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 1.2rem;
  color: #666;
}
.footer-payments .pay-icon {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

/* ============== SIZE GUIDE MODAL ============== */
.size-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.size-modal.open { display: flex; }
.size-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fade-in 0.25s ease;
}
.size-modal-content {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 28px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: pop-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.size-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
  z-index: 2;
}
.size-modal-close:hover {
  background: var(--text);
  color: #fff;
  transform: rotate(90deg);
}
.size-modal-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  padding-right: 40px;
}
.size-modal-sub {
  font-size: 1.3rem;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.size-modal-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.size-modal-image img {
  width: 100%;
  height: auto;
  display: block;
}
.size-modal-tip {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.5;
}
.size-modal-tip strong { color: var(--accent-dark); }

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 480px) {
  .size-modal { padding: 12px; }
  .size-modal-content { padding: 22px 18px 18px; }
  .size-modal-title { font-size: 1.8rem; }
}

/* ============== STICKY ATC ============== */
.sticky-atc {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  padding: 12px 0;
  z-index: 40;
  transform: translateY(110%);
  transition: transform 0.4s;
}
.sticky-atc.visible { transform: translateY(0); }
.sticky-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.sticky-product {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.sticky-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-2);
}
.sticky-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sticky-info strong {
  font-size: 1.4rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-info span { font-size: 1.2rem; color: var(--text-soft); }
.sticky-atc .btn {
  width: auto;
  height: 48px;
  padding: 0 28px;
  font-size: 1.4rem;
  flex-shrink: 0;
}
/* Mobile: oculta sticky ATC inteiro (estava bugando no touch) */
@media (max-width: 720px) {
  .sticky-atc { display: none !important; }
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { position: static; }
  /* Mobile: reviews destacadas viram carrossel deslizante (contido ao container) */
  .reviews-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 8px;
    cursor: grab;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
  }
  .reviews-grid:active { cursor: grabbing; }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card {
    flex: 0 0 90%;
    scroll-snap-align: center;
    min-width: 0;
  }
  .dots-reviews { display: flex; }
  .iwt-grid { grid-template-columns: 1fr; gap: 32px; }
  .iwt-grid.reverse .iwt-image { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .icons-grid { grid-template-columns: 1fr 1fr; }
  .testimonial { flex-basis: calc(50% - 10px); }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .product-hero { padding: 16px 0 40px; }
  .reviews-featured, .image-with-text, .comparison-section,
  .testimonials-carousel, .faq-section, .icons-section {
    padding: 50px 0;
  }
  .testimonial { flex-basis: calc(100% - 8px); min-width: 260px; }
  .carousel-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .icons-grid { grid-template-columns: 1fr; }
  /* Comparativo: mantém 3 colunas estáveis no mobile */
  .comparison-card {
    margin-left: -4px;
    margin-right: -4px;
  }
  .comparison-row {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .comparison-cell {
    padding: 12px 8px;
    font-size: 1.25rem;
    min-width: 0;       /* permite que conteúdo encolha sem estourar */
    word-break: break-word;
    hyphens: auto;
    text-align: left;
  }
  .comparison-cell.brand-cell,
  .comparison-cell.other-cell {
    text-align: center;
    justify-content: center;
  }
  .comparison-row.head .comparison-cell {
    padding: 12px 8px;
    gap: 6px;
    font-size: 1.2rem;
    line-height: 1.25;
  }
  /* Imagem do cabeçalho menor no mobile pra caber */
  .comparison-row.head img {
    max-width: 70px;
    width: 100%;
  }
  /* tick mais compacto */
  .tick {
    width: 24px;
    height: 24px;
    font-size: 1.2rem;
  }
  .label-cell {
    line-height: 1.3;
    padding-left: 12px;
  }
  .comparison-cta .btn {
    padding: 0 24px;
    font-size: 1.35rem;
  }
  .sticky-info span { display: none; }
}

/* Ajuste extra em telas muito estreitas */
@media (max-width: 420px) {
  .comparison-cell { padding: 10px 6px; font-size: 1.15rem; }
  .comparison-row.head .comparison-cell { padding: 10px 6px; font-size: 1.1rem; }
  .comparison-row.head img { max-width: 56px; }
  .tick { width: 22px; height: 22px; font-size: 1.1rem; }
  .label-cell { padding-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
