/* ==========================================================================
   Tema Shopify Warehouse — Equipools (Casa & Lazer)
   Usado por: index.html, carrinho.html, sucesso.html, pagamento-confirmado.html
   Cores da marca extraídas da logo (assets/logo_loja.png): azul-marinho + azul-claro.
   ========================================================================== */

:root {
  --brand: #011b56;
  --brand-dark: #00113a;
  --brand-accent: #2fb2f0;
  --brand-soft: #eef3ff;

  --ink: #111111;
  --btn-dark: #1a1a1a;
  --text: #222222;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;

  --compare: #d32f2f;
  --success: #12a150;
  --success-soft: #e8f7ee;
  --star: #f5b301;

  --relampago1: #ffe259;
  --relampago2: #ffc21a;
  --relampago3: #ff9f00;

  --radius: 8px;
  --page-width: 1200px;
  --gutter: 24px;
  --header-h: 72px;
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.page-width {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   Barra superior preta
   ========================================================================== */
.top-announcement-bar {
  background: #000000;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 16px;
  text-align: center;
  min-height: 38px;
}
.top-announcement-bar .arrow {
  background: none;
  border: 0;
  color: inherit;
  font-size: 15px;
  line-height: 1;
  opacity: 0.75;
  padding: 4px 6px;
}
.top-announcement-bar .arrow:hover { opacity: 1; }
.top-announcement-bar [data-announcement-text] { min-width: 0; }
.top-announcement-bar .is-in { animation: annIn 0.35s ease; }
@keyframes annIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Banner de urgência com cronômetro (cor primária da marca)
   ========================================================================== */
.urgency-countdown-section {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand) 50%, var(--brand-dark));
  color: #ffffff;
  padding: 10px 16px;
}
.urgency-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.urgency-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.urgency-title .accent { color: var(--brand-accent); }
.countdown { display: flex; align-items: center; gap: 6px; }
.cd-block {
  background: #ffffff;
  color: var(--brand);
  border-radius: 6px;
  min-width: 46px;
  padding: 4px 6px 3px;
  text-align: center;
  line-height: 1.05;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.cd-num { display: block; font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cd-label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; color: #5b6b8f; }
.cd-sep { font-size: 18px; font-weight: 800; color: var(--brand-accent); }

/* ==========================================================================
   Cabeçalho sticky
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  gap: 12px;
}
.header-icon-btn {
  justify-self: start;
  background: none;
  border: 0;
  padding: 8px;
  margin-left: -8px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand-logo {
  height: 46px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(1, 27, 86, 0.25);
}
.brand-name { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name strong { font-size: 18px; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap; }
.brand-name small { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--brand); white-space: nowrap; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.header-link {
  position: relative;
  background: none;
  border: 0;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.header-link:hover { color: var(--brand); }
.cart-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Selo de compra segura (carrinho / sucesso) */
.header-secure {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}
.header-secure small { display: block; color: var(--muted); font-weight: 600; text-transform: none; }

/* ==========================================================================
   Menu lateral
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 200;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: min(360px, 88vw);
  background: #ffffff;
  z-index: 201;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-head img { height: 40px; width: auto; border-radius: 6px; }
.drawer-close { background: none; border: 0; font-size: 28px; line-height: 1; padding: 4px 8px; color: var(--ink); }
.drawer-search { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-search label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.drawer-search-row { display: flex; border: 1px solid #cfcfcf; border-radius: var(--radius); overflow: hidden; }
.drawer-search-row input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font-size: 15px; font-family: inherit; outline: none; }
.drawer-search-row button { border: 0; background: var(--btn-dark); color: #fff; padding: 0 16px; }
.drawer-nav { display: flex; flex-direction: column; padding: 8px 0; }
.drawer-nav a {
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #f1f1f1;
  display: flex;
  justify-content: space-between;
}
.drawer-nav a:hover { background: var(--bg-soft); }
.drawer-account { margin: 16px 20px 24px; padding: 14px; background: var(--brand-soft); border-radius: var(--radius); font-size: 13px; color: #33415c; }
.drawer-account strong { display: block; color: var(--brand); margin-bottom: 4px; }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 18px;
  padding-bottom: 18px;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); }

/* ==========================================================================
   Grid do produto
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 56px;
}

/* Galeria */
.product-gallery {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.product-main-image {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7f7;
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
}
.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}
.product-main-image.is-zooming img { transform: scale(1.9); }
.product-main-image img.is-fading { opacity: 0.35; }

.relampago-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #1a1100;
  background: linear-gradient(110deg, var(--relampago1), var(--relampago2), var(--relampago3), var(--relampago2), var(--relampago1));
  background-size: 300% 100%;
  animation: relampago 3s linear infinite;
  box-shadow: 0 4px 12px rgba(255, 159, 0, 0.35);
  pointer-events: none;
}
@keyframes relampago { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.2s;
}
.product-main-image:hover .gallery-nav { opacity: 1; }
.gallery-nav--prev { left: 12px; }
.gallery-nav--next { right: 12px; }
.gallery-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.product-thumbnails-list {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Não estica a linha do grid: a altura acompanha a foto principal e o resto rola. */
  height: 0;
  min-height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 0;
  margin: 0;
}
.product-thumbnails-list::-webkit-scrollbar { display: none; }
.product-thumb {
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f7f7;
  opacity: 0.7;
  transition: border-color 0.2s, opacity 0.2s;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb:hover { opacity: 1; }
.product-thumb.is-active { border-color: var(--brand); opacity: 1; }

/* Informações */
.product-info { min-width: 0; }
.product-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pbadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}
.pbadge--sold { background: #efefef; color: var(--ink); }
.pbadge--warranty { background: var(--brand); color: #ffffff; }

.product-title {
  font-family: var(--font);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.product-rating:hover span:last-child { text-decoration: underline; }
.stars { color: var(--star); letter-spacing: 1px; font-size: 16px; }
.product-rating strong { color: var(--ink); }

.product-prices {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.price-sale { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.price-compare { font-size: 18px; color: var(--compare); font-weight: 500; }
.price-discount {
  background: #000000;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-pix {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}
.price-pix strong { color: var(--success); }
.price-pix svg { flex-shrink: 0; }

.product-divider { height: 1px; background: var(--line); margin: 22px 0; border: 0; }

/* Variações */
.variant-label { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.variant-label strong { color: var(--ink); }
.variant-options { display: flex; flex-wrap: wrap; gap: 10px; }
.variant-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1.5px solid #d4d4d4;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.variant-btn:hover { border-color: var(--ink); }
.variant-btn.is-active { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.variant-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #c4c4c4;
  position: relative;
  flex-shrink: 0;
}
.variant-btn.is-active .variant-dot { border-color: var(--brand); }
.variant-btn.is-active .variant-dot::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--brand);
}

/* Box de frete */
.shipping-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fcfcfc;
}
.shipping-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #ffd400;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shipping-text { font-size: 14px; color: var(--muted); line-height: 1.45; min-width: 0; }
.shipping-text strong { color: var(--success); }
.shipping-text .ship-city { color: var(--ink); font-weight: 700; }

/* Botão de compra */
.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--btn-dark);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn-buy:hover { background: var(--brand); }
.btn-buy:active { transform: scale(0.99); }
.btn-buy[disabled] { opacity: 0.7; cursor: wait; }

/* Selos de segurança */
.trust-seals { display: grid; gap: 10px; margin-top: 18px; }
.trust-seal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
}
.trust-seal svg { flex-shrink: 0; color: var(--brand); }
.trust-seal strong { display: block; font-size: 13px; }
.trust-seal small { color: var(--muted); font-size: 12px; }

/* ==========================================================================
   Seções (descrição, avaliações)
   ========================================================================== */
.section-block { padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--line); }
.section-heading {
  font-family: var(--font);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 24px;
}
.section-heading--center { text-align: center; }

.desc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.desc-lead { font-size: 16px; color: #444; margin-bottom: 18px; }
.benefits-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.benefits-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.benefits-list .check { color: var(--success); font-weight: 900; flex-shrink: 0; }
.desc-subtitle { font-size: 16px; font-weight: 800; margin: 0 0 12px; color: var(--ink); }
.desc-subtitle + .table-scroll, .desc-subtitle + ul { margin-bottom: 26px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 320px; }
.specs-table th, .specs-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: 0; }
.specs-table th { width: 40%; background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.included-list { margin: 0; padding-left: 18px; font-size: 15px; display: grid; gap: 6px; }
.desc-image { margin-top: 36px; border-radius: 10px; width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; }

/* Avaliações */
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border-radius: 10px;
  margin-bottom: 22px;
}
.reviews-score { display: flex; align-items: center; gap: 14px; }
.reviews-score .score-num { font-size: 44px; font-weight: 800; line-height: 1; color: var(--ink); }
.reviews-score .stars { font-size: 20px; }
.reviews-score small { display: block; color: var(--muted); font-size: 13px; }
.reviews-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.reviews-tag { background: #ffffff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: #444; }

.reviews-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.review-card { border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: #fff; display: flex; flex-direction: column; }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #eee; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-meta { display: flex; flex-direction: column; min-width: 0; }
.review-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.review-stars { color: var(--star); font-size: 14px; letter-spacing: 1px; }
.review-text { font-size: 14px; line-height: 1.55; color: #3a3a3a; margin: 0 0 12px; }
.review-photos { display: flex; gap: 8px; margin-bottom: 12px; }
.review-photo {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  border: 1px solid var(--line);
  transition: transform 0.15s;
}
.review-photo:hover { transform: scale(1.04); }
.review-media--video { position: relative; width: 140px; margin-bottom: 12px; border-radius: 8px; overflow: hidden; }
.review-video { width: 100%; display: block; }
.review-video-play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; }
.review-video-play.is-hidden { display: none; }
.review-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.review-like-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: var(--muted); }

.reviews-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.reviews-pagination__btn {
  min-width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.reviews-pagination__btn--active { background: var(--ink); color: #fff; border-color: var(--ink); }
.reviews-pagination__btn--ghost { opacity: 0.45; cursor: default; }
.reviews-pagination__ellipsis { color: var(--muted); padding: 0 4px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { background: #f5f5f5; padding: 56px 0; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: #fff; border-radius: var(--radius); border: 1px solid #e9e9e9; overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  min-height: 56px;
}
.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
}
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.25s ease; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 20px 18px; font-size: 14px; line-height: 1.6; color: #444; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer { background: var(--brand-dark); color: #ffffff; padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-title { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-text { font-size: 14px; color: rgba(255, 255, 255, 0.78); line-height: 1.6; }
.footer-text a { color: #ffffff; }
.newsletter-row { display: flex; margin-top: 14px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: var(--radius); overflow: hidden; max-width: 380px; }
.newsletter-row input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 13px 14px; font-size: 15px; font-family: inherit; outline: none; }
.newsletter-row input::placeholder { color: rgba(255, 255, 255, 0.6); }
.newsletter-row button { background: #ffffff; color: var(--brand-dark); border: 0; width: 50px; display: flex; align-items: center; justify-content: center; }
.newsletter-msg { font-size: 13px; margin-top: 8px; color: #b9f3cf; min-height: 18px; }
.newsletter-msg.is-error { color: #ffc4c4; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a, .footer-links button { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14px; background: none; border: 0; padding: 0; text-align: left; }
.footer-links a:hover, .footer-links button:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 18px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-pay { display: inline-flex; align-items: center; gap: 8px; }
.footer-pay img { height: 22px; width: auto; background: #fff; border-radius: 4px; padding: 3px 6px; }

/* ==========================================================================
   Barra fixa de compra
   ========================================================================== */
.sticky-buy-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: #ffffff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(110%);
  transition: transform 0.3s ease;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.sticky-buy-bar.is-visible { transform: none; }
.sticky-inner { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.sticky-thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--line); }
.sticky-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sticky-title { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.sticky-price { font-size: 15px; font-weight: 800; color: var(--ink); }
.sticky-price s { font-size: 12px; font-weight: 500; color: var(--compare); margin-left: 6px; }
.btn-buy--sticky { width: auto; height: 48px; margin: 0; padding: 0 28px; font-size: 14px; white-space: nowrap; flex-shrink: 0; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; animation: lbIn 0.2s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: min(92vw, 1000px); max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Toast de prova social
   ========================================================================== */
.social-toast {
  position: fixed;
  left: 16px;
  bottom: 20px;
  z-index: 70;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
  transform: translateX(-130%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s, bottom 0.3s;
  pointer-events: none;
}
.social-toast.show { transform: none; opacity: 1; }
body.has-sticky-bar .social-toast { bottom: 92px; }
.social-toast__avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.social-toast__body { min-width: 0; }
.social-toast__name { font-size: 12px; font-weight: 700; color: var(--ink); }
.social-toast__action { font-size: 11px; color: var(--muted); }
.social-toast__time { font-size: 10px; color: #aaa; }
.social-toast__badge { display: inline-block; font-size: 9px; font-weight: 700; color: #fff; background: var(--success); padding: 2px 6px; border-radius: 3px; margin-left: 4px; vertical-align: middle; }

/* ==========================================================================
   Página do carrinho
   ========================================================================== */
.cart-page { padding-top: 32px; padding-bottom: 64px; }
.cart-page-title { font-size: 28px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.cart-page-sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.cart-page-sub a { color: var(--ink); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.cart-items { border-top: 1px solid var(--line); }
.cart-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-item-img { width: 110px; height: 110px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
.cart-item-title { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.35; text-transform: uppercase; }
.cart-item-prices { margin-top: 6px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cart-item-prices strong { font-size: 16px; }
.cart-item-prices s { color: var(--compare); font-size: 13px; }
.cart-item-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; align-items: flex-end; }
.cart-field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.cart-select {
  height: 44px;
  min-width: 180px;
  border: 1px solid #cfcfcf;
  border-radius: var(--radius);
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.qty-control { display: inline-flex; align-items: center; border: 1px solid #cfcfcf; border-radius: var(--radius); height: 44px; overflow: hidden; }
.qty-control button { width: 44px; height: 100%; border: 0; background: #fff; font-size: 18px; color: var(--ink); }
.qty-control button:disabled { color: #c7c7c7; cursor: not-allowed; }
.qty-control input { width: 44px; height: 100%; border: 0; text-align: center; font-size: 15px; font-weight: 700; font-family: inherit; -moz-appearance: textfield; }
.qty-control input::-webkit-outer-spin-button, .qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item-total { font-size: 16px; font-weight: 800; color: var(--ink); white-space: nowrap; }

.cart-summary { background: var(--bg-soft); border-radius: 10px; padding: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.cart-summary h2 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; color: #444; }
.sum-row .green { color: var(--success); font-weight: 700; }
.sum-row--total { border-top: 1px solid #ddd; margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 800; color: var(--ink); }
.sum-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.btn-buy--cart { height: 52px; border-radius: 8px; }
.cart-trust { margin-top: 14px; display: grid; gap: 8px; font-size: 12px; color: #555; }
.cart-trust span { display: flex; gap: 8px; align-items: center; }
.cart-trust svg { color: var(--success); flex-shrink: 0; }
.continue-link { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--ink); }

/* ==========================================================================
   Sucesso / Pagamento confirmado
   ========================================================================== */
.status-page { background: var(--bg-soft); min-height: 100vh; }
.status-main { padding-top: 32px; padding-bottom: 56px; }
.status-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}
.success-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
}
.success-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--success);
  animation: pulseRing 1.8s ease-out infinite;
  z-index: -1;
}
.success-icon.is-pending { background: #f0a400; }
.success-icon.is-pending::before { background: #f0a400; }
.success-icon.is-checking { background: var(--brand); }
.success-icon.is-checking::before { background: var(--brand); }
@keyframes pulseRing { 0% { transform: scale(1); opacity: 0.45; } 100% { transform: scale(1.6); opacity: 0; } }
.status-title { text-align: center; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.status-sub { text-align: center; color: var(--muted); font-size: 15px; margin-top: 8px; }
.order-number { text-align: center; margin-top: 10px; font-size: 13px; color: var(--muted); }
.order-number strong { color: var(--ink); }

.status-block { margin-top: 18px; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.seller-row { display: flex; align-items: center; gap: 12px; }
.seller-row img { height: 44px; width: auto; border-radius: 6px; }
.seller-row strong { display: block; font-size: 15px; color: var(--ink); }
.seller-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--success); }
.seller-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

.order-product { display: flex; gap: 14px; align-items: center; }
.order-product img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; }
.order-product-name { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.order-product-meta { font-size: 13px; color: var(--muted); margin-top: 3px; }

.delivery-block { display: flex; gap: 14px; align-items: center; background: #fffbea; border-color: #f4e3a1; }
.delivery-block .shipping-icon { width: 42px; height: 42px; }
.delivery-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #8a6d00; }
.delivery-date { font-size: 16px; font-weight: 800; color: var(--ink); }
.delivery-type { font-size: 12px; color: var(--muted); }

.info-rows { display: grid; gap: 8px; font-size: 14px; }
.info-rows div { display: flex; justify-content: space-between; gap: 14px; }
.info-rows span { color: var(--muted); }
.info-rows strong { color: var(--ink); text-align: right; word-break: break-word; }

.timeline { margin-top: 22px; list-style: none; padding: 0; }
.timeline-step { display: flex; gap: 14px; position: relative; padding-bottom: 18px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: #dfe7df; }
.timeline-step.is-done:not(:last-child)::after { background: var(--success); }
.timeline-dot {
  width: 28px; height: 28px; border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  background: #e8e8e8; color: #9a9a9a;
  position: relative; z-index: 1;
}
.timeline-step.is-done .timeline-dot { background: var(--success); color: #fff; }
.timeline-step.is-current .timeline-dot { background: #fff; color: var(--success); box-shadow: inset 0 0 0 2px var(--success); }
.timeline-content { min-width: 0; }
.timeline-content h3 { font-size: 14px; font-weight: 800; color: var(--ink); }
.timeline-content p { font-size: 13px; color: var(--muted); margin-top: 2px; }

.email-notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--brand-soft); font-size: 13px; color: #33415c; line-height: 1.5; }
.email-notice svg { color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.email-notice strong { color: var(--ink); word-break: break-all; }
.btn-buy--status { height: 52px; margin-top: 24px; border-radius: 8px; }
.btn-outline {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 50px; margin-top: 10px;
  border: 1.5px solid var(--ink); border-radius: 8px;
  background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
}
.status-footnote { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; }
.spinner { width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.simple-footer { text-align: center; padding: 24px 16px 32px; font-size: 12px; color: var(--muted); }
.simple-footer p + p { margin-top: 4px; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

/* Evita auto-zoom do iOS Safari ao focar campos (font-size >= 16px) */
@media (max-width: 899px) {
  .form-input,
  .coupon-input,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  select {
    font-size: 16px !important;
  }

  :root { --gutter: 20px; --header-h: 64px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 40px; }
  .product-gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .product-main-image { grid-column: 1; grid-row: 1; }
  .product-thumbnails-list {
    grid-column: 1;
    grid-row: 2;
    height: auto;
    min-height: 0;
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    scroll-snap-type: x proximity;
  }
  .product-thumb { width: 68px; height: 68px; scroll-snap-align: start; }
  .gallery-nav { opacity: 1; }
  .desc-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .cart-summary { position: static; }
}

@media (max-width: 768px) {
  .hidden-phone { display: none !important; }
  .top-announcement-bar { font-size: 12px; gap: 10px; }
  .urgency-inner { gap: 8px 12px; }
  .urgency-title { font-size: 12px; }
  .cd-block { min-width: 42px; }
  .cd-num { font-size: 17px; }

  .header-inner { gap: 8px; }
  .header-actions { gap: 14px; }
  .brand { gap: 8px; }
  .brand-logo { height: 36px; max-width: 50px; object-fit: cover; }
  .brand-name strong { font-size: 14px; }
  .brand-name small { font-size: 9px; letter-spacing: 0.1em; }

  .breadcrumb { padding-top: 12px; padding-bottom: 12px; font-size: 12px; flex-wrap: nowrap; white-space: nowrap; }
  .breadcrumb [aria-current] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .product-main-image { aspect-ratio: 1 / 1; max-height: 85vw; border-radius: 8px; }
  .product-main-image { cursor: default; }
  .product-title { font-size: 20px; }
  .price-sale { font-size: 28px; }
  .section-block { padding-top: 40px; padding-bottom: 40px; }
  .section-heading { font-size: 22px; margin-bottom: 18px; }
  .reviews-list { grid-template-columns: minmax(0, 1fr); }
  .faq-section { padding: 40px 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .sticky-inner { gap: 10px; }
  .sticky-thumb { width: 40px; height: 40px; }
  .sticky-title { max-width: 130px; font-size: 13px; }
  .sticky-price { font-size: 14px; }
  .sticky-price s { display: none; }
  .btn-buy--sticky { height: 44px; padding: 0 14px; font-size: 12px; letter-spacing: 0.02em; }
  body.has-sticky-bar .social-toast { bottom: 80px; }

  .cart-item { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .cart-item-img { width: 84px; height: 84px; }
  .cart-item-total { grid-column: 2; }
  .status-card { padding: 26px 18px; border-radius: 12px; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .top-announcement-bar { padding: 7px 10px; min-height: 34px; }
  .top-announcement-bar .arrow { padding: 4px; }
  .product-badges { margin-bottom: 10px; }
  .variant-options { display: grid; grid-template-columns: 1fr 1fr; }
  .variant-btn { justify-content: flex-start; min-height: 48px; padding: 0 12px; font-size: 13px; }
  .variant-btn:first-child { grid-column: 1 / -1; }
  .btn-buy { height: 54px; font-size: 15px; }
  .trust-seal { padding: 11px 12px; }
  .faq-question { padding: 16px; font-size: 14px; min-height: 52px; }
  .faq-answer p { padding: 0 16px 16px; }
  .reviews-summary { padding: 16px; }
  .cart-select { min-width: 0; width: 100%; }
  .cart-field { flex: 1 1 160px; }
  .cart-page { padding-top: 20px; }
  .cart-page-title { font-size: 22px; }
  .status-main { padding-top: 16px; padding-bottom: 32px; }
  .status-title { font-size: 22px; }
  .status-block { padding: 14px 12px; }
  .btn-buy--status { height: 50px; }
  .lightbox { padding: 12px; }
}

@media (max-width: 375px) {
  .top-announcement-bar { font-size: 11px; letter-spacing: 0.02em; }
  .urgency-title { font-size: 11px; }
  .cd-block { min-width: 36px; padding: 3px 4px; }
  .cd-num { font-size: 15px; }
  .cd-label { font-size: 9px; }
  .cd-sep { font-size: 14px; }
  .header-actions { gap: 10px; }
  .brand-name strong { font-size: 13px; }
  .pbadge { font-size: 10px; padding: 4px 8px; }
  .product-title { font-size: 18px; }
  .price-sale { font-size: 26px; }
  .price-compare { font-size: 15px; }
  .shipping-text { font-size: 13px; }
  .sticky-title { max-width: 96px; font-size: 12px; }
  .btn-buy--sticky { padding: 0 10px; font-size: 11px; }
}
