/* ==========================================================================
   CLOSET KIRA — Brechó online (garimposkira.shop)
   Visual Shopify e-commerce: editorial, centralizado, mobile-first, focado
   em conversão. Mantém TODOS os ids/classes consumidos pelos JS
   (app/index/produto/carrinho/checkout/pix) — nenhum comportamento quebrado.
   ========================================================================== */

/* Registra o ângulo do gradiente giratório (efeito axye nas barras de
   progresso) como <angle> — necessário para a animação suave via keyframes. */
@property --gradient-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  /* Paleta — TikTok Shop: fundo branco, única cor de destaque rosa */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f6f8;
  --ink: #111111;            /* quase preto neutro */
  --muted: #6b6b70;
  --faint: #b1b1b6;
  --line: #ececef;           /* borda neutra */
  --accent: #fe2c55;         /* rosa TikTok (brand) */
  --accent-deep: #d91b45;
  --accent-soft: #ffecef;    /* rosa claro p/ fundos suaves */
  --olive: #fe2c55;          /* unificado na mesma rosa */
  --gold: #f5a623;           /* estrelas douradas (avaliação real, não cor de marca) */
  --green: #16a34a;          /* frete grátis — verde */
  --red: #fe2c55;
  --ink-faint: #b1b1b6;

  /* Tipografia */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08), 0 20px 44px rgba(0, 0, 0, 0.10);
  --container: 1120px;
  --container-narrow: 820px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { touch-action: pan-x pan-y; }   /* bloqueia pinch e duplo toque p/ zoom no mobile */
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  /* Fundo neutro fora do "app" (efeito TikTok Shop no PC: site parece celular) */
  background: #f0f0f2;
  line-height: 1.6;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;   /* nada vaza para fora do app */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--accent); color: #fff; }

/* ===================== ANÚNCIO (marquee) ===================== */
.announce {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 70;
  /* Efeito TikTok Shop: barra do topo também dentro da largura de celular */
  max-width: 400px;
  margin: 0 auto;
}
.announce .track {
  /* puramente decorativo — oculto para leitores de tela */
  display: inline-block;
  padding-left: 100%;
  animation: marquee 26s linear infinite;
}
.announce .track span { padding-right: 3.5em; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .announce .track { animation: none; }
}

/* ===================== ESTRUTURA ===================== */
.page {
  /* Efeito TikTok Shop: app com largura de iPhone (~400px), centralizado no PC */
  max-width: 400px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: 120px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
  overflow-x: hidden;   /* nada vaza para fora do app */
}
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===================== HEADER ===================== */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 60;
  /* sem backdrop-filter: causa lag severo de scroll no Chrome/Windows */
}
.header-row {
  position: relative;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 8px; padding: 12px 16px;
}
/* Esquerda: hambúrguer — bem ajustado à esquerda, sem círculo */
.hd-left { display: flex; align-items: center; flex: 1; justify-content: flex-start; }
.hd-menu-btn {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); padding: 0;
}
.hd-menu-btn:hover { opacity: 0.7; }
.hd-menu-btn svg { width: 22px; height: 22px; }
/* Centro: logo — absolutamente centralizado no meio exato do header */
.hd-center {
  position: absolute; left: 50%; transform: translateX(-50%);
  text-align: center; white-space: nowrap;
  z-index: 1;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem; font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.1;
  display: flex; flex-direction: column;
}
/* Direita: rastrear + carrinho — só ícones, sem texto/badge/círculo */
.hd-right { display: flex; align-items: center; justify-content: flex-end; gap: 0; flex: 1; }
.hd-icon {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px;
  color: var(--ink); position: relative;
  /* Mesma altura e centralização dos dois botões — alinhamento perfeito */
  height: 38px;
  width: 38px;
}
.hd-icon:hover { opacity: 0.7; }
.hd-icon .ic-ico { position: relative; display: inline-flex; }
.hd-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hd-icon .ic-txt { display: none; }   /* sem texto — só ícone */
/* Badge do carrinho: sem círculo ao redor, discreto */
.cart-count {
  position: absolute; top: -2px; right: 0;
  background: var(--accent); color: #fff;
  border-radius: 999px; min-width: 15px; height: 15px;
  font-size: 0.58rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.brand em { font-style: italic; color: var(--accent); font-weight: 500; }
.brand .sub {
  font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--faint); font-weight: 500;
  margin-top: 2px;
}
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-search {
  display: none;
  align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px;
  color: var(--faint);
}
.header-search svg { width: 15px; height: 15px; flex-shrink: 0; }
.header-search input {
  border: none; outline: none; background: transparent;
  font-family: var(--sans); font-size: 0.85rem; color: var(--ink); width: 150px;
}
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* Botões do header com ícone + etiqueta de texto (estilo loja/Shopify) */
.icon-btn.label {
  width: auto; height: 42px; padding: 0 13px; border-radius: 999px;
  gap: 7px; background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  color: var(--ink);
}
.icon-btn.label:hover { border-color: var(--faint); background: var(--surface-2); }
.icon-btn.label .ic-ico { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn.label .ic-txt { white-space: nowrap; }
@media (max-width: 640px) {
  .header-row { gap: 8px; padding: 12px 12px; }
  .brand { font-size: 1.1rem; }
  .header-actions { gap: 4px; min-width: 0; }
  .icon-btn.label {
    padding: 0 8px; gap: 4px;
    border: 1px solid var(--line);   /* mantém o contorno visível no mobile */
    font-size: 0.72rem; white-space: nowrap; flex-shrink: 0;
  }
  .icon-btn.label .ic-txt { display: inline; }
  .icon-btn.label svg { width: 18px; height: 18px; }
}
@media (max-width: 400px) {
  .header-row { padding: 10px 8px; gap: 6px; }
  .icon-btn.label { font-size: 0.62rem; padding: 0 6px; gap: 3px; }
  .icon-btn.label svg { width: 16px; height: 16px; }
}
/* Bloqueio de scroll ao abrir o painel de conta */
html.acct-lock, body.acct-lock { overflow: hidden; }
.cart-count {
  position: absolute; top: -5px; right: -8px;
  background: var(--accent); color: #fff;
  border-radius: 999px; min-width: 17px; height: 17px;
  font-size: 0.62rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* Navegação (categorias) — vira links de loja, centralizada */
.cat-nav {
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;   /* rolagem suave e arrastável no iOS */
  touch-action: pan-x;                 /* permite arrastar horizontalmente no celular */
  scroll-behavior: smooth;
  cursor: grab;
  cursor: -webkit-grab;
}
.cat-nav:active { cursor: grabbing; cursor: -webkit-grabbing; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav .wrap {
  display: flex;
  justify-content: flex-start;   /* NÃO centralizar: se centraliza, o scroll quebra e some a primeira categoria */
  gap: 2px;
  padding: 2px 24px 0;
  width: max-content;
  min-width: 100%;
}
@media (min-width: 860px) {
  .cat-nav .wrap { justify-content: center; }   /* centraliza só em telas largas onde cabe tudo */
}
.cat-nav button {
  padding: 11px 14px;
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.cat-nav button.active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.cat-nav button:hover { color: var(--ink); }

/* ===================== HERO (editorial) ===================== */
.hero {
  padding: 48px 20px 34px;
  text-align: center;
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
.hero .kicker {
  font-size: 0.68rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 8vw, 3.6rem);
  font-weight: 400; line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p {
  font-size: 0.98rem; color: var(--muted);
  max-width: 460px; margin: 0 auto 22px;
  font-weight: 300;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 13px 30px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
  width: 100%;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn:active { transform: scale(0.98); }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: #fff; }
.btn .arrow { font-size: 1rem; line-height: 1; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* Botão CTA de conversão — gradiente rosa, sem pulsar (glow estático é mais "loja real") */
.btn-cta {
  background: linear-gradient(135deg, #fe2c55 0%, #ff4d6d 55%, #ff6b8a 100%);
  border: none;
  color: #fff;
  box-shadow: 0 3px 12px rgba(254, 44, 85, 0.32);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-cta:hover { background: linear-gradient(135deg, #e8264b 0%, #ff3d5f 55%, #ff5a7c 100%); color: #fff; box-shadow: 0 6px 20px rgba(254, 44, 85, 0.5); }
.btn-cta:active { transform: scale(0.97); }

/* ===================== PILARES (faixa de confiança) ===================== */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 12px 20px; }
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-item .ic { font-family: var(--serif); color: var(--accent); font-size: 0.95rem; line-height: 1; }
.trust-item .t { display: flex; flex-direction: column; }
.trust-item .t b { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.trust-item .t span { font-size: 0.66rem; color: var(--muted); font-weight: 300; }
@media (min-width: 640px) {
  .trust .wrap { grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 12px 20px; }
}

/* ===================== SEÇÕES ===================== */
.section { padding: 36px 0 0; }
/* Carrinho: topo compacto (sem o duplo espaçamento acima de "Sua seleção") */
.page-cart .section { padding-top: 16px; }
.page-cart .section-head { margin-bottom: 14px; }
/* Performance de scroll: renderiza a grade principal só quando está perto da tela.
   contain-intrinsic-size evita "pulo" de layout ao entrar na viewport.
   Porém os produtos DEVEM aparecer de imediato: a grade com conteúdo já renderiza
   na hora (content-visibility: visible), sem piscar. */
#grid {
  content-visibility: visible;
  contain-intrinsic-size: auto 1200px;
}
.section-head { text-align: center; margin-bottom: 22px; padding: 0 20px; }
.section-head .kicker {
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 8px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  font-weight: 400; line-height: 1.15;
  color: var(--ink); letter-spacing: -0.01em;
}
.section-sub { font-size: 0.88rem; color: var(--muted); font-weight: 300; margin-top: 6px; }

/* ===================== GRADE DE PRODUTOS ===================== */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0 16px; max-width: var(--container); margin: 0 auto; }
/* Recomendados na página do produto — mesma proporção da grade da home */
.recom-section { padding: 20px 0 0; margin-bottom: 10px; }
.recom-section .section-head { padding: 0 20px; }
.recom-grid { gap: 12px; padding-bottom: 10px; }
.recom-grid .card { height: 100%; display: flex; flex-direction: column; }
.recom-grid .card .body { flex: 1; display: flex; flex-direction: column; }
.recom-grid .card .card-add { margin-top: auto; }
@media (min-width: 720px) {
  .recom-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .recom-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 20px; }
}
.card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: visible;   /* botão pill não pode ser cortado pelas bordas */
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { box-shadow: var(--shadow-hover); }
.card-thumb { display: block; }
.card .thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); border-radius: var(--radius) var(--radius) 0 0; isolation: isolate; }
.card .thumb img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); z-index: 0; }
.card:hover .thumb img { transform: scale(1.05); }
.card .badge {
  position: absolute; top: 10px; left: 10px;
  z-index: 2;
  background: var(--accent); color: #fff;
  font-size: 0.64rem; letter-spacing: 0.08em; font-weight: 600;
  padding: 4px 9px; border-radius: 999px;
  text-transform: uppercase;
}
.card .badge.unique { background: var(--accent-deep); }
/* Medalha de ranking estilo TikTok Shop (idêntica ao SPA antigo): pin com ponta + "TOP" + número */
.card .rank {
  position: absolute; top: 10px; left: 10px;
  z-index: 3;
  width: 24px; height: 31px;
}
.card .rank svg { display: block; width: 100%; height: 100%; }
.card .rank .rk-num {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  color: #fff; text-align: center;
  pointer-events: none;
}
.card .rank .rk-top { font-size: 0.42rem; line-height: 0.5rem; font-weight: bold; letter-spacing: 0.05em; }
.card .rank .rk-n { font-size: 0.78rem; line-height: 0.9rem; font-weight: bold; }
.card .tag {
  position: absolute; top: 10px; right: 10px;
  z-index: 2;
  background: var(--olive); color: #fff;
  font-size: 0.6rem; letter-spacing: 0.1em; font-weight: 600;
  padding: 4px 9px; border-radius: 999px;
  text-transform: uppercase;
}
.card .body { padding: 12px 12px 14px; }
.card .name {
  font-family: var(--serif);
  font-size: 0.92rem; font-weight: 500; line-height: 1.35;
  color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.5em;
}
.card .rate {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.7rem; color: var(--faint); margin: 5px 0;
}
.card .rate .stars { color: var(--gold); letter-spacing: 0.5px; font-size: 0.72rem; }
.card .price { display: flex; align-items: baseline; gap: 7px; margin-top: 2px; }
.card .price .now { font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.card .price .was { font-size: 0.74rem; color: var(--faint); text-decoration: line-through; }
.card .meta {
  display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
  margin-top: 5px;
}
.card .sold { font-size: 0.66rem; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.card .sep { color: var(--faint); }
.card .free {
  /* Badge de frete grátis — réplica fiel do formbelle.com.br (borda tracejada verde) */
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; font-weight: 500;
  color: #15b358;
  border: 1px dashed #15b358;
  padding: 3px 8px;
  border-radius: 5px;
  background: transparent;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  margin-bottom: 13px;
  white-space: nowrap;          /* nunca quebra em 2 linhas */
  overflow: hidden;             /* se não couber, corta (não quebra) */
}
.card .free svg { fill: #15b358; height: 12px; width: auto; margin-top: 2px; flex-shrink: 0; }
@media (max-width: 480px) {
  .card .free { font-size: 11px; padding: 2px 7px; }
}
.card-add {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin: 10px auto 0;
  color: #fff;
  background: linear-gradient(135deg, #fe2c55 0%, #ff4d6d 55%, #ff6b8a 100%);
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 3px 12px rgba(254, 44, 85, 0.3);
  transition: transform 0.15s, box-shadow 0.2s;
}
.card-add svg { width: 14px; height: 14px; flex-shrink: 0; }
@media (max-width: 720px) {
  .card-add {
    padding: 8px 12px;
    font-size: 0.6rem;
    letter-spacing: 0;
    text-transform: none;   /* sentence case é ~30% mais estreito e cabe sem cortar */
  }
  .card-add .ca-ic { display: inline-block; }   /* ícone visível também no celular */
}
.card-add:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(254, 44, 85, 0.45); }
.card-add:active { transform: scale(0.96); }
/* O texto do botão encolhe com reticências se o card for muito estreito */
.card-add span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* ===================== TOP 4 / NOVIDADES — corpo formal, limpo =====================
   Tudo centralizado, botão de largura total. Ordem:
   nome → estrelas → preço → (vendidos · frete grátis) → botão. */
.top4 .card .body,
.new-in .card .body {
  text-align: center;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.top4 .card .name,
.new-in .card .name {
  font-size: 0.86rem;
  line-height: 1.32;
  min-height: 2.3em;          /* sempre 2 linhas — cards ficam alinhados entre si */
  text-align: center;
  width: 100%;
}
.top4 .card .rate,
.new-in .card .rate {
  margin: 0;
  justify-content: center;
  gap: 4px;
  font-size: 0.68rem;
}
.top4 .card .price,
.new-in .card .price {
  margin: 0;
  justify-content: center;
  gap: 6px;
  line-height: 1.25;
}
.top4 .card .price .now,
.new-in .card .price .now {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}
.top4 .card .price .was,
.new-in .card .price .was {
  font-size: 0.68rem;
}
.top4 .card .meta,
.new-in .card .meta {
  margin: 0;
  justify-content: center;
}
.top4 .card .sold,
.new-in .card .sold {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--muted);
  font-weight: 400;
}
.top4 .card .free,
.new-in .card .free {
  /* Mantém o badge de frete grátis idêntico ao formbelle também no Top 4 / New In */
  width: fit-content;
  max-width: 100%;
  margin: 0 0 13px;
  padding: 3px 8px;
  font-size: 12px;
}
@media (max-width: 480px) {
  .top4 .card .free,
  .new-in .card .free { font-size: 11px; padding: 2px 7px; }
}
.top4 .card-add,
.new-in .card-add {
  margin: 2px auto 0;
}

/* Ranking / Novidades */
/* Top 4: 2 peças por linha no celular (cards proporcionais), 4 na mesma linha no desktop */
.top4 { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; }
.top4 .card { border-radius: var(--radius); box-shadow: var(--shadow); }
.top4 .card:hover { box-shadow: var(--shadow-hover); }
@media (min-width: 720px) {
  .top4 { grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 20px; }
  .new-in { grid-template-columns: repeat(3, 1fr); }
}

/* ===================== LOAD MORE ===================== */
.load-more { text-align: center; padding: 26px 0 0; }

/* ===================== PÁGINA PRODUTO ===================== */
.back-btn {
  color: var(--muted); padding: 14px 20px 0;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.back-btn:hover { color: var(--ink); }
.back-btn .arrow { font-size: 1.2rem; line-height: 1; }
.back-btn .lbl { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; }

.prod-shell { padding: 0 0 30px; }
/* Galeria em tamanho NORMAL, apenas um pouco menor que o original —
   imagem grande, centralizada, descrição abaixo */
.prod-gallery {
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
  width: min(240px, 80vw);
  margin: 0 auto 10px;
}
/* Desktop: imagem bem grande (só um pouco menor que o normal), descrições abaixo */
@media (min-width: 860px) {
  .prod-shell { display: block; padding: 10px 20px 200px; max-width: var(--container); margin: 0 auto; }
  .prod-gallery { max-width: 420px; margin: 0 auto 12px; }
  .prod-info { max-width: 620px; margin: 0 auto; }
}

.prod-gallery .slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.prod-gallery .slides img {
  width: 100%; flex-shrink: 0; scroll-snap-align: center;
  aspect-ratio: 1 / 1; object-fit: contain; object-position: center;
  background: #f4f4f6;
}
@media (max-width: 480px) {
  .prod-gallery .slides img { max-height: 300px; }
}
.prod-dots { display: flex; gap: 6px; justify-content: center; padding: 10px 0 12px; }
.prod-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: all 0.2s; }
.prod-dots i.on { background: var(--accent); width: 18px; border-radius: 999px; }

.prod-info { padding: 10px 20px 0; }
@media (min-width: 860px) { .prod-info { padding: 6px 0 0; } }
.prod-info .cat { font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.prod-info h1 { font-family: var(--serif); font-size: clamp(1.2rem, 5vw, 1.7rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 6px; }
.prod-info .rate-row { display: flex; align-items: center; gap: 7px; font-size: 0.76rem; color: var(--muted); margin-bottom: 10px; }
.prod-info .rate-row .stars { color: var(--gold); font-size: 0.8rem; }
.prod-info .rate-row b { color: var(--ink); font-weight: 600; }

.prod-price { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.prod-price .now { font-size: 1.7rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.prod-price .was { font-size: 0.9rem; color: var(--faint); text-decoration: line-through; }
.prod-price .off {
  background: var(--surface-2); color: var(--accent-deep);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px;
}
.prod-ship {
  /* Badge de frete grátis — réplica fiel do formbelle.com.br (borda tracejada verde) */
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; font-weight: 500;
  color: #15b358;
  border: 1px dashed #15b358;
  padding: 5px 10px;
  border-radius: 5px;
  background: transparent;
  width: fit-content;
  margin: 0 0 8px;
  white-space: nowrap;
}
.prod-ship svg { fill: #15b358; height: 12px; width: auto; margin-top: 2px; flex-shrink: 0; }
.prod-ship b { font-weight: 600; }
/* Prazo de entrega estimado — sempre abaixo do badge de frete, linha própria */
.prod-eta {
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); font-weight: 400; font-size: 0.82rem;
  margin: 2px 0 8px;
  width: fit-content;
}
.prod-eta .eta-ico { display: inline-flex; color: var(--green); }
.prod-eta .eta-ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; margin: 0; }

.prod-desc { padding: 18px 0 0; }

/* Bloco de confiança (brechó) — cards com fundo rosa claro + ícones rosa */
.prod-trustgrid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 20px 0 0;
}
.tg-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--accent-soft);          /* rosa clarinho (#ffecef) */
  border: 1px solid rgba(254, 44, 85, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
}
.tg-item svg {
  width: 22px; height: 22px; flex-shrink: 0;
  color: var(--accent);                     /* rosa normal */
  stroke: currentColor; fill: none;
}
.tg-item div { display: flex; flex-direction: column; min-width: 0; }
.tg-item b { font-size: 0.78rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.tg-item span { font-size: 0.7rem; color: var(--accent-deep); font-weight: 400; }
@media (min-width: 860px) {
  .prod-trustgrid { grid-template-columns: repeat(4, 1fr); }
}

/* Sobre essa peça / Como usar / Cuidados */
.prod-extra { padding: 20px 0 0; }
.px-block { border-top: 1px solid var(--line); padding: 16px 0; }
.px-block h3 {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--accent-deep); margin-bottom: 6px;
}
.px-txt { font-size: 0.88rem; color: var(--muted); line-height: 1.7; font-weight: 300; white-space: pre-line; }

/* Descrição do produto — estilo Shopify, centralizada e limpa */
.prod-desc { padding: 22px 0 0; text-align: center; }
.prod-desc h3, .vars h3, .reviews h3, .steps h4 {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--accent-deep); margin-bottom: 8px;
}
.prod-desc .txt {
  font-size: 0.9rem; color: var(--muted); line-height: 1.7;
  white-space: pre-line; font-weight: 300; text-align: center;
  max-width: 480px; margin: 0 auto;
}
/* Vídeo e tabela de medidas embutidos na descrição (salvos pelo painel) */
.prod-desc .txt .loja-medidas-wrap { margin: 14px 0; }
.prod-desc .txt .loja-medidas-img { max-width: 100%; border-radius: 10px; display: inline-block; }
.prod-desc .txt video.loja-video {
  width: 100%; max-width: 480px; border-radius: 10px; margin: 6px 0;
  background: #000;
}
.prod-desc .txt iframe.loja-video-frame {
  width: 100%; max-width: 480px; aspect-ratio: 16 / 9;
  border: 0; border-radius: 10px; margin: 6px 0; display: block;
}
.prod-desc .txt a.loja-video-link {
  display: inline-block; margin: 8px 0; color: var(--accent); font-weight: 500;
  text-decoration: underline;
}

/* Variações */
.vars { padding: 14px 0 0; border-top: 1px solid var(--line); margin-top: 14px; }
.var-group { margin-bottom: 18px; }
.var-group:last-child { margin-bottom: 0; }
.var-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.var-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.var-opts button {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 20px;
  font-size: 0.84rem; color: var(--muted);
  transition: all 0.15s;
}
.var-opts button:hover { border-color: var(--ink); color: var(--ink); }
.var-opts button.on { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 500; }
/* Quando falta escolher a variação para adicionar: a caixa pulsa em rosa */
.vars.vars-need {
  border-top-color: var(--accent);
  animation: varsNeed 1.2s ease-in-out 2;
  border-radius: 12px;
}
@keyframes varsNeed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(254, 44, 85, 0); }
  50% { box-shadow: 0 0 0 6px rgba(254, 44, 85, 0.18); }
}

/* Avaliações */
.reviews { padding: 24px 0 0; border-top: 1px solid var(--line); margin-top: 24px; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: none; }
.review .who { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.review .who .stars { color: var(--gold); font-size: 0.76rem; margin-left: 2px; }
.review .rev-avatar { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.review .rev-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review .rev-avatar.ia { background: var(--accent-soft); color: var(--accent); font-size: 0.8rem; font-weight: 600; }
.review .when { font-size: 0.7rem; color: var(--faint); letter-spacing: 0.04em; margin-bottom: 6px; }
.review .txt { font-size: 0.88rem; color: var(--muted); line-height: 1.6; font-weight: 300; }
.review .verified { display: inline-flex; align-items: center; gap: 4px; font-size: 0.7rem; color: var(--green); font-weight: 500; letter-spacing: 0.05em; margin-top: 4px; }
.no-reviews {
  font-size: 0.9rem; color: var(--muted); line-height: 1.6;
  background: var(--surface-2); border-radius: var(--radius);
  padding: 18px 16px; font-weight: 300;
}
.review .verified svg { flex: none; }
.review .photos { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.review .photos img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.more-reviews { width: 100%; margin: 14px 0 4px; }

/* Formulário de avaliação (visual — não salva nada) */
.review-form {
  margin-top: 22px; padding: 20px 18px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.review-form h4 {
  font-family: var(--serif); font-size: 1rem; font-weight: 500;
  color: var(--ink); margin-bottom: 14px;
}
.review-form .rf-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-form .rf-stars { display: inline-flex; gap: 2px; }
.review-form .rf-stars button {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: #d8d8de;
  transition: color 0.15s, transform 0.15s;
}
.review-form .rf-stars button:hover { transform: scale(1.15); }
.review-form .rf-stars button.on { color: var(--gold); }
.review-form .rf-stars.sent button { pointer-events: none; }
.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 14px;
  font-size: 0.92rem; color: var(--ink); outline: none;
  font-family: var(--sans); resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.review-form input[type="text"] { flex: 1; margin-bottom: 0; }
.review-form textarea { margin-bottom: 12px; }
.review-form input[type="text"]:focus,
.review-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.14); }
.review-form .rf-photo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-form .rf-add {
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; font-size: 0.82rem; font-weight: 500;
  color: var(--accent); border: 1px dashed rgba(254, 44, 85, 0.5);
  border-radius: 8px; padding: 8px 12px;
  transition: background 0.15s;
}
.review-form .rf-add:hover { background: rgba(254, 44, 85, 0.06); }
.review-form .rf-fname { font-size: 0.76rem; color: var(--muted); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-form .rf-note { font-size: 0.74rem; color: var(--faint); margin-bottom: 14px; font-weight: 300; }
/* Bolinha de carregando ao enviar avaliação */
.review-form .rf-note.loading {
  display: flex; align-items: center; gap: 8px;
  color: var(--muted);
}
.rf-spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: rfSpin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes rfSpin { to { transform: rotate(360deg); } }
.review-form .btn { width: 100%; }
.review-form .btn:disabled { opacity: 0.6; cursor: default; }

/* Botão "Adicionar à sacola" — acima das formas de pagamento, verde (estilo
   "Ir para o carrinho"), largura total, com ícone de sacola */
.bag-cta {
  width: 100%; margin: 16px 0 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px;
}
/* Avaliações gerais da loja (fim da página do produto) */
.store-reviews-section { padding: 24px 0 0; }
.store-reviews { padding: 0 20px; max-width: var(--container); margin: 0 auto; }
.store-rev-head {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 0.84rem; color: var(--muted); margin-bottom: 4px;
}
.store-rev-head .stars { color: var(--gold); font-size: 0.9rem; }
.store-rev-head b { color: var(--ink); font-weight: 600; }

/* Nome do produto junto à data na avaliação (home + produto) */
.review .when .rev-prod { color: var(--accent-deep); font-weight: 500; }
.review .when .rev-prod::before { content: ' · '; color: var(--faint); }

/* Curtidas/descurtidas — linha compacta à ESQUERDA, abaixo do texto.
   O número é o do /banana (curtidas/nao_curtidas); a reação do cliente
   (toggle único salvo no navegador) apenas marca o botão (classe .on). */
.rev-actions {
  display: flex; align-items: center; gap: 6px;
  margin-top: 8px; flex-wrap: wrap;
}
.rev-actions .ra {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none;
  color: var(--faint); font-size: 0.72rem; font-weight: 500; cursor: pointer;
  padding: 3px 8px; border-radius: 999px;
  transition: color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.rev-actions .ra svg { flex: none; }
.rev-actions .ra .ra-n { font-weight: 600; color: var(--ink); font-size: 0.72rem; }
.rev-actions .ra:hover { background: rgba(0, 0, 0, 0.04); }
.rev-actions .ra.on { color: var(--accent); background: var(--accent-soft); }
.rev-actions .ra.on .ra-n { color: var(--accent-deep); }

/* Resposta compacta e simples (loja ou cliente) — sem card embutido.
   Pequena, indentada à esquerda, avatar minúsculo + nome + (selo se loja). */
.rev-replies { margin-top: 4px; }
.rev-reply {
  display: flex; align-items: flex-start; gap: 7px;
  margin: 8px 0 2px 6px;
  font-size: 0.82rem;
}
.rev-reply .rev-avatar { width: 20px; height: 20px; font-size: 0.62rem; flex: none; margin-top: 1px; }
.rev-reply .rev-avatar.ia { background: var(--accent-soft); color: var(--accent); }
.rev-reply-body { min-width: 0; }
.rev-reply-who {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.74rem; font-weight: 600; color: var(--ink);
  line-height: 1.4;
}
.rev-reply-who svg { flex: none; }
.rev-selo {
  width: 14px; height: 14px; object-fit: contain;
  vertical-align: -2px;
}
.rev-reply.loja .rev-reply-who b { color: var(--accent-deep); }
.rev-reply-txt {
  font-size: 0.8rem; color: var(--muted); line-height: 1.5;
  font-weight: 300; margin-top: 1px;
}
.rev-reply-fotos { display: inline-flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.rev-reply-fotos img {
  width: 52px; height: 52px; border-radius: 8px; object-fit: cover;
  cursor: pointer;
}
/* Contatos (WhatsApp + TikTok) — preenche o fim da página do produto.
   O padding-bottom grande garante que o último conteúdo não fique escondido
   atrás da barra fixa (#addBar). */
.store-contact-section { padding: 8px 0 180px; }
.store-contact {
  display: flex; flex-direction: column; gap: 10px;
  padding: 0 20px; max-width: var(--container); margin: 0 auto;
}
.contact-chip {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.contact-chip svg { color: var(--green); flex-shrink: 0; }
.contact-chip:nth-child(2) svg { color: var(--ink); }
.contact-chip:hover { border-color: var(--ink); background: var(--surface-2); }

/* ===================== BARRA FRETE GRÁTIS (R$ 99) — VERDE ===================== */
.free-ship {
  max-width: var(--container); margin: 0 auto;
  padding: 0 20px;
}
.free-ship-in {
  background: #ecfdf3;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.free-ship .fs-msg {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.86rem; font-weight: 500; color: #15803d;
  text-align: center;
}
.free-ship .fs-msg b { font-weight: 600; }
.free-ship .fs-bar {
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.18);
  overflow: hidden;
}
.free-ship .fs-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--green);
  transition: width 0.4s ease;
}
.free-ship.fs-done .fs-fill { background: var(--green); }

/* ===================== BARRAS DE PROGRESSO — 3 CAMADAS (vidro/dourado) ===================== */
.fp-bars {
  display: flex; flex-direction: column; gap: 5px;
  max-width: var(--container); margin: 0 auto;
  padding: 0 20px;
}
.fp-tier {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 7px 10px;
  /* Os 3 cards (frete / 15% / brinde) têm o MESMO tamanho, mesmo quando a
     mensagem quebra em 1 ou 2 linhas — min-height + centralização vertical */
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  /* Efeito axye: borda de gradiente girando (conic) + vidro claro */
  --gradient-angle: 0deg;
  --axye-hi: rgba(254, 44, 85, 0.45);
  --axye-hi2: rgba(254, 44, 85, 0.9);
  --axye-shine: rgba(255, 255, 255, 0.9);
  --axye-ring: conic-gradient(from var(--gradient-angle),
      transparent 0deg,
      var(--axye-hi) 20deg,
      var(--axye-hi2) 33deg,
      var(--axye-shine) 44deg,
      var(--axye-hi2) 55deg,
      var(--axye-hi) 66deg,
      transparent 88deg) border-box;
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)) padding-box,
    var(--axye-ring);
  animation: gradient-angle 6s linear infinite;
  will-change: transform;
}
@keyframes gradient-angle {
  to { --gradient-angle: 360deg; }
}
/* Container: efeito de ENTRADA (desce suave + fade) quando o flash liga */
.fp-bars.fp-enter {
  animation: fpBarsIn 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes fpBarsIn {
  0%   { opacity: 0; transform: translateY(-14px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Container: efeito de SAÍDA (sobe suave + fade) antes de esconder */
.fp-bars.fp-exit {
  animation: fpBarsOut 0.26s ease forwards;
}
@keyframes fpBarsOut {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-12px); }
}
/* Barra que aparece "cobrindo" a anterior — entra suave de baixo com fade */
.fp-tier.fp-enter {
  animation: gradient-angle 6s linear infinite, fpEnter 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes fpEnter {
  0% { opacity: 0; transform: translateY(10px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* Flyer iluminado ao redor (tipo vidro) — anel de luz suave, dentro da borda */
.fp-tier::before {
  content: '';
  position: absolute;
  inset: 2px;                 /* respeita a borda axye (giratória) */
  border-radius: calc(14px - 2px);
  background: linear-gradient(135deg, rgba(255,255,255,0.5), transparent 40%, rgba(255,255,255,0.12) 70%, transparent);
  pointer-events: none;
}
.fp-tier::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  animation: fpShine 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fpShine {
  0%, 60% { left: -60%; opacity: 0; }
  70% { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}
.fp-tier .fp-msg {
  position: relative;
  display: block; text-align: center;
  font-size: 0.8rem; font-weight: 500;
  line-height: 1.45;
  white-space: normal;
}
.fp-tier .fp-msg b { white-space: normal; }
.fp-tier .fp-msg b { font-weight: 700; }
/* Brinde ganho: título + subtítulo "Finalize a compra para resgatar o brinde"
   empilhados, centralizados */
.fp-tier.fp-brinde.fp-done .fp-msg .brinde-done b { display: block; }
.fp-brinde .brinde-resgate {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: #9f1239;
  opacity: 0.9;
}
.fp-tier .fp-bar {
  position: relative;
  margin-top: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.10);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}
.fp-tier .fp-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
}
.fp-tier .fp-fill::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
  box-shadow: 0 0 12px rgba(255,255,255,0.7);
}
/* Camada 1 — frete (verde) */
.fp-tier.fp-ship {
  --axye-hi: rgba(22, 163, 74, 0.5);
  --axye-hi2: rgba(22, 163, 74, 0.95);
  --axye-shine: rgba(255, 255, 255, 0.9);
  --axye-ring: conic-gradient(from var(--gradient-angle),
      transparent 0deg,
      var(--axye-hi) 20deg,
      var(--axye-hi2) 33deg,
      var(--axye-shine) 44deg,
      var(--axye-hi2) 55deg,
      var(--axye-hi) 66deg,
      transparent 88deg) border-box;
  background:
    linear-gradient(160deg, #ecfdf3, #d1fae5) padding-box,
    var(--axye-ring);
}
.fp-tier.fp-ship .fp-msg { color: #14532d; }
.fp-tier.fp-ship .fp-fill { background: linear-gradient(90deg, #16a34a, #22c55e); box-shadow: 0 0 14px rgba(22,163,74,0.6); }
/* Camada 2 — desconto (dourada premium) */
.fp-tier.fp-disc {
  --axye-hi: rgba(245, 166, 35, 0.55);
  --axye-hi2: rgba(245, 166, 35, 0.98);
  --axye-shine: rgba(255, 255, 255, 0.95);
  --axye-ring: conic-gradient(from var(--gradient-angle),
      transparent 0deg,
      var(--axye-hi) 20deg,
      var(--axye-hi2) 33deg,
      var(--axye-shine) 44deg,
      var(--axye-hi2) 55deg,
      var(--axye-hi) 66deg,
      transparent 88deg) border-box;
  background:
    linear-gradient(160deg, #fff7e0, #ffe9b8) padding-box,
    var(--axye-ring);
}
.fp-tier.fp-disc .fp-msg { color: #7c4a03; }
.fp-tier.fp-disc .fp-fill { background: linear-gradient(90deg, #f5a623, #ffd66b, #f5a623); box-shadow: 0 0 16px rgba(245,166,35,0.7); }
.fp-tier.fp-disc.fp-done {
  --axye-hi: rgba(245, 166, 35, 0.7);
  --axye-hi2: rgba(245, 166, 35, 1);
  background:
    linear-gradient(160deg, #fff3d1, #ffdd99) padding-box,
    var(--axye-ring);
  box-shadow: 0 0 26px rgba(245,166,35,0.55), 0 8px 24px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.6);
}
.fp-tier.fp-disc.fp-done .fp-msg { color: #92400e; }
/* Camada 3 — brinde (rosa) */
.fp-tier.fp-brinde {
  --axye-hi: rgba(254, 44, 85, 0.5);
  --axye-hi2: rgba(254, 44, 85, 0.95);
  --axye-shine: rgba(255, 255, 255, 0.92);
  --axye-ring: conic-gradient(from var(--gradient-angle),
      transparent 0deg,
      var(--axye-hi) 20deg,
      var(--axye-hi2) 33deg,
      var(--axye-shine) 44deg,
      var(--axye-hi2) 55deg,
      var(--axye-hi) 66deg,
      transparent 88deg) border-box;
  background:
    linear-gradient(160deg, #fff0f4, #ffdde6) padding-box,
    var(--axye-ring);
}
.fp-tier.fp-brinde .fp-msg { color: #9f1239; }
.fp-tier.fp-brinde .fp-fill { background: linear-gradient(90deg, #fe2c55, #ff6b8a, #fe2c55); box-shadow: 0 0 16px rgba(254,44,85,0.65); }
.fp-tier.fp-brinde.fp-done {
  --axye-hi: rgba(254, 44, 85, 0.7);
  --axye-hi2: rgba(254, 44, 85, 1);
  background:
    linear-gradient(160deg, #ffe4ec, #ffc9d8) padding-box,
    var(--axye-ring);
  box-shadow: 0 0 26px rgba(254,44,85,0.55), 0 8px 24px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.6);
}
.fp-tier.fp-brinde.fp-done .fp-msg { color: #be123c; }
.fp-tier.fp-done .fp-msg b { position: relative; }
.fp-tier.fp-done .fp-msg b::after {
  content: '';
  position: absolute; left: -6px; right: -6px; bottom: -2px; height: 3px;
  background: rgba(255,255,255,0.85); border-radius: 99px; opacity: 0.85;
}
/* Checkout: a "barra de desconto" (15% OFF) SEMPRE visível acima do comprovante.
   Compacta — sem margens/padding externos (o .checkout-shell já centraliza). */
.fp-bars.fp-checkout {
  margin: 0 0 12px;
  padding: 0;
  max-width: none;
}
.fp-bars.fp-checkout .fp-tier { min-height: 0; padding: 9px 14px; }
.fp-bars.fp-checkout .fp-msg { font-size: 0.84rem; }
.fp-bars.fp-checkout .fp-tier.fp-disc.fp-done .fp-msg b::after { display: none; }

/* ===================== CARRINHO ===================== */
/* Recomendados no carrinho — lista vertical, um debaixo do outro (igual aos itens
   do carrinho): foto à esquerda + conteúdo à direita + botão Adicionar */
section.cart-recom { padding-bottom: 200px; }
/* No carrinho o .page não precisa do padding extra (a .cart-recom já reserva o
   espaço p/ a barra fixa; remover evita espaço morto embaixo do "Carregar mais") */
.page.page-cart { padding-bottom: 0; }
.recom-scroll {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 20px 16px;
  max-width: var(--container);
  margin: 0 auto;
}
.recom-scroll .card {
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  border-radius: var(--radius);
  padding: 10px;
  min-width: 0;
  /* Efeito axye em rosa (igual à barra de desconto 15%) — borda conic giratória */
  --gradient-angle: 0deg;
  --axye-hi: rgba(254, 44, 85, 0.35);
  --axye-hi2: rgba(254, 44, 85, 0.8);
  --axye-shine: rgba(255, 255, 255, 0.95);
  --axye-ring: conic-gradient(from var(--gradient-angle),
      transparent 0deg,
      var(--axye-hi) 20deg,
      var(--axye-hi2) 33deg,
      var(--axye-shine) 44deg,
      var(--axye-hi2) 55deg,
      var(--axye-hi) 66deg,
      transparent 88deg) border-box;
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)) padding-box,
    var(--axye-ring);
  animation: gradient-angle 6s linear infinite;
  will-change: transform;
}
.recom-scroll .card-thumb { flex-shrink: 0; width: 84px; height: 84px; }
.recom-scroll .card .thumb {
  width: 84px; height: 84px;
  aspect-ratio: auto;
  border-radius: 8px;
}
.recom-scroll .card .body {
  flex: 1;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}
.recom-scroll .card .name {
  font-size: 0.88rem;
  min-height: 0;
  width: 100%;
}
.recom-scroll .card .rate { margin: 0; justify-content: flex-start; }
.recom-scroll .card .price { margin: 0; justify-content: flex-start; gap: 6px; }
.recom-scroll .card .price .now { font-size: 0.95rem; }
.recom-scroll .card .price .was { font-size: 0.7rem; }
.recom-scroll .card .meta {
  margin: 2px 0 0;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 4px;
}
.recom-scroll .card .free {
  margin: 0;
  /* Centraliza o badge no meio do card, com margens iguais dos dois lados
     (o pedido do dono: não aumentar o tamanho, só alinhar no centro). */
  justify-self: center;
}
/* A linha .meta do card de recomendado centraliza o conteúdo (só tem o badge) */
.recom-scroll .card .meta { justify-content: center; }
.recom-scroll .card .card-add {
  margin: 6px 0 0;
  padding: 7px 14px;
  font-size: 0.62rem;
  width: auto;
  white-space: nowrap;   /* "Adicionar à sua compra" em UMA linha, sem quebrar */
}
.cart-list { padding: 6px 20px; display: flex; flex-direction: column; gap: 12px; max-width: var(--container); margin: 0 auto; }
.cart-item {
  display: flex; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px;
  transition: box-shadow 0.2s;
}
.cart-item:hover { box-shadow: var(--shadow); }
.cart-item img { width: 84px; height: 84px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cart-item .meta { flex: 1; min-width: 0; }
.cart-item .meta .n { font-family: var(--serif); font-size: 0.92rem; font-weight: 500; line-height: 1.3; }
.cart-item .meta .v { font-size: 0.72rem; color: var(--faint); letter-spacing: 0.04em; margin-top: 2px; }
.cart-item .meta .p { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
/* Linha de preço + seletor de quantidade LADO A LADO (poupa altura no item) */
.cart-item .meta .prow {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-top: 8px;
}
.cart-item .qty { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 6px; }
.cart-item .qty button { width: 26px; height: 26px; border-radius: 50%; font-size: 1.05rem; color: var(--ink); transition: background 0.15s; }
.cart-item .qty button:hover { background: var(--surface-2); }
.cart-item .qty .n { font-size: 0.85rem; font-weight: 600; min-width: 14px; text-align: center; }
.cart-item .rm { color: var(--faint); font-size: 1rem; align-self: flex-start; padding: 4px; transition: color 0.2s; }
.cart-item .rm:hover { color: var(--accent); }
/* Efeito "produto adicionado": pulso suave de luz rosa no item recém-add */
.cart-item.item-added {
  animation: itemFlash 1.15s ease;
}
@keyframes itemFlash {
  0%   { box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.0); background: rgba(254, 44, 85, 0.05); }
  35%  { box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.25); background: rgba(254, 44, 85, 0.16); }
  100% { box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.0); background: transparent; }
}

.cart-sum {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 400px;   /* dentro do app TikTok Shop */
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
  z-index: 40;
}
/* Na página do produto a barra fixa (#addBar) tem free-ship + total + botões.
   Espaço no fim para a barra não cobrir o conteúdo — em TODAS as larguras
   (no desktop a barra fixa centralizada de 400px também cobre o fim). */
.recom-section { padding-bottom: 20px; }
.prod-shell { padding-bottom: 10px; }
/* Botão "Ver mais produtos" dos recomendados — reserva espaço próprio para
   nunca ficar escondido atrás da barra fixa (#addBar). */
.recom-more {
  position: relative;
  z-index: 1;
  padding: 16px 20px 0;
}
/* Botão "Comprar agora" (secundário, abaixo do Adicionar à sacola) */
.btn-buy {
  width: 100%; margin-top: 8px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 14px 20px; font-size: 0.9rem; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-buy:hover { border-color: var(--ink); background: var(--surface-2); }
.btn-buy svg { flex-shrink: 0; }
/* Estado "Já no seu carrinho": botão add fica discreto */
.btn-cta.in-cart { background: var(--green); box-shadow: none; }
.btn-cta.in-cart:hover { background: var(--green); }
.cart-sum .line { display: flex; justify-content: space-between; align-items: center; font-size: 0.86rem; color: var(--muted); margin-bottom: 12px; }
.cart-sum .line b { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
/* Barra de economia — fina, verde, com rosto feliz */
.saving-bar {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #ecfdf3; border: 1px solid #bbf7d0;
  border-radius: 999px; padding: 6px 12px;
  font-size: 0.78rem; font-weight: 500; color: #15803d;
  margin-bottom: 10px;
}
.saving-bar .sb-ic {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--green); flex-shrink: 0;
}
.saving-bar .sb-ic svg { width: 15px; height: 15px; }
.saving-bar b { font-weight: 700; color: #15803d; }
/* A barra fixa do produto (#addBar): free-ship em cima, Total, e os 2 botões
   lado a lado embaixo — tudo centralizado, dentro das bordas, sem embaraço */
#addBar {
  display: flex; flex-direction: column; gap: 6px;
  padding-left: 0; padding-right: 0;
}
#addBar .fp-bars { padding: 0 20px !important; margin-bottom: 6px !important; }
#addBar .fp-bars .fp-tier { padding: 6px 9px; }
#addBar .fp-bars .fp-msg { font-size: 0.72rem; }
#addBar .fp-bars .fp-bar { margin-top: 4px; height: 5px; }
#addBar .line, #addBar .btn-row { margin-left: 20px; margin-right: 20px; }
#addBar .line { margin-bottom: 0; }
#addBar .line b { font-size: 1.15rem; }
#addBar .btn-row {
  /* "Comprar agora" um pouco mais para a ESQUERDA (longe do ícone de add) —
     o CTA tem pulse/glow; espaço extra + min-width:0 impedem que ele suba
     por cima do ícone ao lado. */
  display: grid;
  grid-template-columns: 44px 52px minmax(0, 1fr);
  gap: 8px 10px;
}
#addBar .btn {
  width: 100%; margin-top: 0; padding: 12px 6px;
  font-size: 0.68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#addBar .btn svg { flex-shrink: 0; }
#addBar .btn .btn-txt { overflow: hidden; text-overflow: ellipsis; }
/* "Ir para a loja" = botão de ÍCONE só (sutil, não briga com o CTA) */
#addBar .btn-store {
  width: 44px; padding: 12px 0;
  background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.15s, border-color 0.2s, background 0.2s;
}
#addBar .btn-store:hover { border-color: var(--faint); background: #ececef; color: var(--accent); }
#addBar .btn-store:active { transform: scale(0.92); }
/* "Comprar agora": preço em cima + texto embaixo (2 linhas) */
#addBar .btn-buy2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 1.15;
  padding: 8px 6px;
  min-width: 0;          /* não deixa o conteúdo empurrar o botão p/ cima do vizinho */
  overflow: hidden;
}
#addBar .btn-buy2 .buy-price {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}
#addBar .btn-buy2 .buy-label {
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 380px) {
  #addBar .btn { font-size: 0.62rem; padding: 12px 4px; }
  #addBar .btn-buy2 .buy-price { font-size: 0.9rem; }
  #addBar .btn-buy2 .buy-label { font-size: 0.6rem; }
}
/* "Adicionar ao carrinho" = botão de ÍCONE rosa (padrão TikTok Shop) */
#addBar .btn-add-icon {
  width: 52px; padding: 12px 0;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(254, 44, 85, 0.28); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.15s, border-color 0.2s, background 0.2s;
}
#addBar .btn-add-icon:hover { border-color: var(--accent); background: #ffe0e6; }
#addBar .btn-add-icon:active { transform: scale(0.92); }
#addBar .btn-add-icon .add-icon-txt { font-size: 0; width: 0; height: 0; overflow: hidden; position: absolute; }
/* Quando o produto já está no carrinho: borda rosa mais forte (indicador) */
#addBar .btn-add-icon.in-cart { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
#addBar .btn-add-icon.in-cart:hover { background: #ffe0e6; }
/* "Comprar com desconto" — CTA principal rosa */
#addBar .btn-buy { flex: 1; font-size: 0.8rem; }
/* Efeito "dopamina" no botão Comprar agora: pulso de glow quente + brilho que
   percorre + leve "pop" no clique — incentiva a compra sem ser cara de IA */
#addBar .btn-buy2 {
  position: relative;
  animation: buyPulse 2.2s ease-in-out infinite;
}
@keyframes buyPulse {
  0%, 100% { box-shadow: 0 3px 12px rgba(254, 44, 85, 0.32); transform: scale(1); }
  50% { box-shadow: 0 6px 26px rgba(254, 44, 85, 0.65), 0 0 0 5px rgba(254, 44, 85, 0.14); transform: scale(1.015); }
}
#addBar .btn-buy2::after {
  content: '';
  position: absolute; top: 0; left: -50%;
  width: 30%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  animation: buyShine 2.2s ease-in-out infinite;
}
@keyframes buyShine {
  0% { left: -50%; opacity: 0; }
  35% { opacity: 1; }
  65% { left: 130%; opacity: 0; }
  100% { left: 130%; opacity: 0; }
}
#addBar .btn-buy2:active {
  animation: none;
  transform: scale(0.96);
  box-shadow: 0 2px 8px rgba(254, 44, 85, 0.45);
}
#addBar .btn-buy2.in-cart {
  animation: none;
}
#addBar .btn-buy2.in-cart::after { display: none; }
/* Efeito de "go" ao clicar em Comprar agora — pulso rápido + brilho (dopamina) */
#addBar .btn-buy2.buy-go {
  animation: buyGo 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes buyGo {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); }
  60% { transform: scale(0.98); }
  100% { transform: scale(1); }
}
#addBar .btn-buy2.buy-go::after {
  left: -30%;
  animation: buyShineGo 0.55s ease-out forwards;
}
@keyframes buyShineGo {
  0% { left: -30%; opacity: 0; }
  40% { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}
.empty { text-align: center; padding: 60px 24px; color: var(--muted); }
.empty .big { margin-bottom: 12px; }
.empty .big svg { width: 52px; height: 52px; stroke: var(--faint); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* ===================== CHECKOUT ===================== */
.checkout-shell { max-width: var(--container-narrow); margin: 0 auto; padding: 10px 20px; }
/* Checkout: topo compacto (sem o duplo espaçamento acima de "Fechar pedido") */
.page-checkout .section { padding-top: 16px; }
.page-checkout .section-head { margin-bottom: 14px; }
.page-checkout .checkout-shell { padding-top: 4px; }
/* Comprovante de pedido estilo lotérica/banco — fundo amarelo com serrilha */
.order-sum {
  position: relative;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.35) 0 2px, rgba(255,255,255,0) 2px 4px),
    linear-gradient(180deg, #ffef9e 0%, #ffe684 45%, #ffdf66 100%);
  border: 1px solid #e6c94d;
  border-radius: 12px;
  padding: 20px 18px 16px;
  margin-bottom: 22px;
  color: #4d3a00;
  box-shadow: 0 12px 26px rgba(180, 150, 20, 0.25), inset 0 1px 0 rgba(255,255,255,0.6);
}
/* Recortes laterais de talão de comprovante */
.order-sum::before,
.order-sum::after {
  content: '';
  position: absolute; top: 50%; width: 18px; height: 18px;
  border-radius: 50%; background: var(--bg);
  transform: translateY(-50%);
}
.order-sum::before { left: -9px; }
.order-sum::after { right: -9px; }
/* Faixa de cabeçalho tipo "Casa Lotérica" */
.order-sum .os-head {
  text-align: center;
  border-bottom: 2px dashed rgba(120, 90, 0, 0.45);
  padding-bottom: 10px; margin-bottom: 12px;
}
.order-sum .os-head .os-title {
  font-family: var(--serif); font-weight: 600;
  font-size: 1rem; letter-spacing: 0.08em;
  color: #4d3a00;
  display: block;
}
.order-sum .os-head .os-sub {
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(90, 70, 0, 0.75); font-weight: 600;
  margin-top: 2px;
}
.order-sum .l { display: flex; justify-content: space-between; gap: 8px; font-size: 0.86rem; color: #5c4600; padding: 6px 0; }
.order-sum .l b { color: #4d3a00; font-weight: 600; white-space: nowrap; }
.order-sum .l.total {
  border-top: 2px dashed rgba(120, 90, 0, 0.45);
  margin-top: 10px; padding-top: 14px;
  font-size: 1rem; font-weight: 700; color: #4d3a00;
}
.order-sum .l.total b { color: #4d3a00; font-size: 1.45rem; font-weight: 800; }
/* Barra de confiança compacta dentro do checkout (sem bordas, ocupa a largura toda) */
.checkout-shell .trust { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; }
.checkout-shell .trust .wrap { grid-template-columns: 1fr 1fr; padding: 14px 16px; gap: 14px 12px; }
/* Na página do produto: sem margem extra (o espaço p/ a barra fixa é da .recom-section) */
.prod-trust { margin-bottom: 0; }

.form-box { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; box-shadow: 0 10px 24px rgba(17,17,17,0.05); }
.field label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; color: var(--muted); margin-bottom: 7px; }
/* Inputs em 3D simples: relevo + sombra, com "bandeja" clara */
.field input, .field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 0.98rem; color: var(--ink); outline: none;
  font-family: var(--sans);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06), 0 1px 0 rgba(255,255,255,0.7);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.field input:hover, .field select:hover { border-color: #cfcfd5; }
.field input:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.14), 0 6px 14px rgba(254,44,85,0.06);
}
.field .row { display: flex; gap: 12px; }
.field .row > div { flex: 1; }
.pay-note { font-size: 0.76rem; color: var(--faint); text-align: center; margin-top: 10px; font-weight: 300; }
/* Opções de frete do checkout (aparecem quando o CEP tem 8 dígitos) */
.frete-opts { display: flex; flex-direction: column; gap: 10px; }
.frete-opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  text-align: left; font-family: var(--sans); font-size: 0.9rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid #e3e3e9; border-radius: 14px;
  padding: 12px 14px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.frete-opt .fo-ic {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
}
.frete-opt .fo-ic svg { width: 20px; height: 20px; }
/* Etiqueta Sedex (Correios) — mantém a proporção e o encaixe no quadradinho */
.frete-opt .fo-ic.fo-sedex { background: #fff; }
.frete-opt .fo-ic.fo-sedex svg { width: 34px; height: auto; }
.frete-opt.on .fo-ic.fo-sedex { background: #fff; }
.frete-opt .fo-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.frete-opt .fo-txt b { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.frete-opt .fo-txt small { font-size: 0.76rem; color: var(--muted); font-weight: 400; }
.frete-opt .fo-check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid #d4d4db; display: flex; align-items: center; justify-content: center;
  color: transparent; transition: all 0.15s;
}
.frete-opt .fo-check svg { width: 13px; height: 13px; }
.frete-opt.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 4px 12px rgba(254,44,85,0.08); }
.frete-opt.on .fo-ic { background: var(--accent); color: #fff; }
.frete-opt.on .fo-check { background: var(--accent); border-color: var(--accent); color: #fff; }
/* Sub-bloco da entrega agendada (data + horário) */
.frete-agendada {
  margin-top: 12px; padding: 14px 14px 4px;
  border: 1.5px dashed var(--accent); border-radius: 14px;
  background: var(--accent-soft);
  animation: fa-in 0.25s ease;
}
@keyframes fa-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.frete-agendada .fa-row { display: flex; gap: 12px; }
.frete-agendada .fa-row > .field { flex: 1; min-width: 0; }
.frete-agendada .fa-note { font-size: 0.74rem; color: var(--muted); margin: 8px 0 10px; line-height: 1.4; }
.frete-agendada input[type="date"] { -webkit-appearance: none; appearance: none; }

/* ===================== PIX ===================== */
.pix-shell { max-width: 620px; margin: 0 auto; padding: 10px 20px; }
.pix-box { padding: 0; }
.pix-box .pix-status { font-size: 0.8rem; color: var(--accent-deep); font-weight: 600; text-align: center; padding: 10px 0 4px; }
.qr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; margin-bottom: 16px; }
.qr img { width: 230px; height: 230px; margin: 0 auto; image-rendering: pixelated; }
.qr .amount { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); margin-top: 12px; }
.qr .warn { font-size: 0.74rem; color: var(--faint); margin-top: 6px; }
.code {
  background: var(--surface); border: 1px dashed var(--line);
  border-radius: 10px; padding: 14px;
  font-size: 0.76rem; color: var(--muted); word-break: break-all;
  margin-bottom: 16px; user-select: all; line-height: 1.5;
}
.steps { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 18px; }
.steps ol { padding-left: 20px; font-size: 0.84rem; color: var(--muted); display: flex; flex-direction: column; gap: 8px; font-weight: 300; }
.pix-meta { text-align: center; margin-top: 16px; font-size: 0.78rem; color: var(--faint); }
.pix-meta b { color: var(--muted); }

/* ===================== NEWSLETTER / CTA ===================== */
.newsletter { margin: 44px 20px 0; padding: 36px 24px; background: var(--accent-soft); border: 1px solid rgba(254, 44, 85, 0.14); color: var(--ink); border-radius: var(--radius); text-align: center; max-width: var(--container); margin-left: auto; margin-right: auto; }
.newsletter .k { font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.newsletter h2 { font-family: var(--serif); font-size: clamp(1.4rem, 5vw, 1.9rem); font-weight: 400; margin-bottom: 8px; }
.newsletter p { font-size: 0.9rem; color: var(--muted); font-weight: 300; max-width: 380px; margin: 0 auto 18px; }
.newsletter .btn { background: var(--accent); color: #fff; border-color: var(--accent); }
.newsletter .btn:hover { background: var(--accent-deep); color: #fff; border-color: var(--accent-deep); }

/* ===================== FOOTER ===================== */
.site-footer { margin-top: 46px; background: var(--surface); border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr; gap: 22px; padding: 34px 20px 26px; max-width: var(--container); margin: 0 auto; }
@media (min-width: 720px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.footer-brand em { font-style: italic; color: var(--accent); }
.footer-about { font-size: 0.82rem; color: var(--muted); font-weight: 300; margin-top: 8px; max-width: 300px; line-height: 1.6; }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--muted); padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding: 14px 20px; text-align: center; font-size: 0.72rem; color: var(--faint); letter-spacing: 0.04em; }
.footer-legal { margin-top: 5px; font-size: 0.72rem; color: var(--faint); letter-spacing: 0.02em; }
.footer-legal .cnpj { white-space: nowrap; }

/* ===================== UTILITÁRIOS ===================== */
.hidden { display: none !important; }
.loading { text-align: center; padding: 60px 20px; color: var(--faint); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.toast {
  position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%) translateY(16px);
  background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: 0.84rem; opacity: 0; pointer-events: none; transition: all 0.25s; z-index: 80;
  max-width: 90%; text-align: center; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===================== QUICK-ADD (escolher variação) ===================== */
html.qa-lock, body.qa-lock { overflow: hidden; }
.quick-add { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
/* Efeito TikTok Shop: o pop-up de opções fica dentro da largura do app (400px) */
@media (min-width: 400px) {
  .quick-add { left: 50%; right: auto; width: 400px; transform: translateX(-50%); }
}
.quick-add.hidden { display: none; }
.qa-overlay { position: absolute; inset: 0; background: rgba(20, 16, 20, 0.5); }
.qa-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 440px;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
  max-height: 88vh; overflow-y: auto;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.14);
  animation: qaUp 0.22s ease;
  will-change: transform;
}
@keyframes qaUp { from { transform: translateY(28px); opacity: 0.5; } to { transform: translateY(0); opacity: 1; } }
.qa-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-2); color: var(--ink);
  font-size: 0.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.qa-media { display: flex; justify-content: center; margin-bottom: 14px; }
.qa-media img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; }
.qa-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; line-height: 1.3; color: var(--ink); }
.qa-price { font-size: 1.15rem; font-weight: 600; color: var(--accent-deep); margin-top: 4px; }
.qa-loading { font-size: 0.78rem; color: var(--faint); letter-spacing: 0.1em; text-transform: uppercase; padding: 16px 0 4px; }
.qa-vars { margin-top: 14px; }
.qa-add { margin-top: 18px; }
@media (min-width: 520px) {
  .quick-add { align-items: center; padding: 20px; }
  .qa-panel { border-radius: 20px; padding: 26px; max-height: 90vh; }
}
/* Pop-up "remover produto" (ícone triste) — simples, no meio, reusa o quick-add */
.rm-pop { z-index: 96; }
.rm-pop .qa-media { margin-bottom: 8px; }
.rm-pop .rm-face svg { width: 54px; height: 54px; color: var(--faint); }
.rm-title { text-align: center; font-family: var(--serif); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.rm-sub { text-align: center; font-size: 0.86rem; color: var(--muted); line-height: 1.5; margin-top: 6px; }
.rm-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.rm-actions .btn { width: 100%; margin: 0; }

/* ===================== PAINEL DE CONTA (estilo Shopify) ===================== */
.acct-overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(20, 16, 20, 0.45);
}
.acct-overlay.hidden, .acct-panel.hidden { display: none; }
.acct-panel {
  position: fixed; z-index: 96;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(380px, 92vw);
  max-height: 86vh;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  display: flex; flex-direction: column;
  padding: 24px 20px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
  animation: acctIn 0.18s ease;
}
/* No PC, o painel de conta fica dentro do app de 400px */
@media (min-width: 400px) {
  .acct-panel { left: 50%; width: 380px; }
}
@keyframes acctIn { from { opacity: 0; transform: translate(-50%, -47%); } to { opacity: 1; transform: translate(-50%, -50%); } }
.acct-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-2); color: var(--ink);
  font-size: 0.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.acct-view { flex: 1; }
.acct-view h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  color: var(--ink); margin: 0 0 6px;
}
.acct-sub { font-size: 0.86rem; color: var(--muted); line-height: 1.55; margin: 0 0 20px; font-weight: 300; }
.acct-view .field { margin-bottom: 16px; }
.acct-view .field label { display: block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 6px; }
.acct-view .field input {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.acct-view .field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.12); }
.acct-view .btn { width: 100%; margin-top: 4px; }
.acct-secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.72rem; color: var(--faint); margin-top: 14px;
}
.acct-secure svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acct-err {
  font-size: 0.8rem; color: var(--red); background: var(--accent-soft);
  border-radius: 8px; padding: 10px 12px; margin-top: 12px;
}
.acct-err.hidden { display: none; }
.acct-user { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.acct-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex: none;
  overflow: hidden; background: var(--accent-soft);
  border: 1px solid var(--line);
}
.acct-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acct-name { font-size: 1rem; font-weight: 600; color: var(--ink); }
.acct-cpf { font-size: 0.78rem; color: var(--faint); }
.acct-orders { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.acct-order {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px;
}
.acct-order-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ao-num { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.ao-status { font-size: 0.7rem; font-weight: 600; color: var(--green); background: rgba(22, 163, 74, 0.12); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.ao-date { font-size: 0.76rem; color: var(--faint); margin-top: 3px; }
.ao-items { font-size: 0.8rem; color: var(--muted); margin-top: 8px; line-height: 1.5; font-weight: 300; }
.ao-items small { color: var(--faint); }
.ao-track { display: inline-block; font-size: 0.8rem; font-weight: 500; color: var(--accent); margin-top: 10px; }
.acct-empty { text-align: center; padding: 24px 0 8px; }
.acct-empty .big { margin-bottom: 10px; }
.acct-empty .big svg { width: 44px; height: 44px; stroke: var(--faint); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.acct-empty p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; font-weight: 300; }
.acct-hint { font-size: 0.78rem; color: var(--faint); margin-top: 6px; }
.acct-view .btn.ghost { margin-top: 8px; }

/* ===================== POP-UP DE FOTO DA AVALIAÇÃO ===================== */
.photo-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(20, 16, 20, 0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.photo-overlay.hidden { display: none; }
.photo-modal {
  position: relative;
  max-width: min(520px, 92vw);
  max-height: 86vh;
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}
.photo-modal img {
  width: 100%; max-height: 82vh;
  object-fit: contain;
  display: block;
}
.photo-close {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.55); color: #fff;
  border: none; font-size: 0.95rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ===================== POP-UP DE RASTREIO ===================== */
.rt-overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(20, 16, 20, 0.45);
}
/* No PC, o overlay fica dentro do app de 400px */
@media (min-width: 400px) {
  .rt-overlay { left: 50%; width: 400px; transform: translateX(-50%); }
}
.rt-overlay.hidden, .rt-panel.hidden { display: none; }
.rt-panel {
  position: fixed; z-index: 96;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(380px, 92vw);
  max-height: 86vh;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
  overflow-y: auto;
  animation: rtIn 0.18s ease;
}
@keyframes rtIn { from { opacity: 0; transform: translate(-50%, -47%); } to { opacity: 1; transform: translate(-50%, -50%); } }
.rt-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-2); color: var(--ink);
  font-size: 0.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.rt-panel h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  color: var(--ink); margin: 0 0 6px;
}
.rt-sub { font-size: 0.86rem; color: var(--muted); line-height: 1.5; margin: 0 0 18px; font-weight: 300; }
.rt-field { display: flex; gap: 8px; margin-bottom: 18px; }
.rt-field input {
  flex: 1; min-width: 0; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  background: var(--surface); transition: border-color 0.2s, box-shadow 0.2s;
}
.rt-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.12); }
.rt-field .btn { margin: 0; white-space: nowrap; }
.rt-result .loading, .rt-result .error {
  font-size: 0.86rem; color: var(--muted); text-align: center; padding: 14px 0; font-weight: 300;
}
.rt-result .error { color: var(--red); }
.rt-card {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 12px; background: var(--surface);
}
.rt-sep { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.info-label { font-size: 0.7rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.info-value { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.timeline-title { font-size: 0.76rem; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 14px; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.step { position: relative; margin-bottom: 18px; }
.step:last-child { margin-bottom: 0; }
.step-dot { position: absolute; left: -24px; top: 3px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.step.done .step-dot { background: var(--green); border-color: var(--green); }
.step.active .step-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(254, 44, 85, 0.12); }
.step.pending .step-dot { background: var(--surface); border-color: var(--faint); }
.step-title { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.step.pending .step-title { color: var(--faint); }
.step-desc { font-size: 0.76rem; color: var(--muted); margin-top: 2px; font-weight: 300; }
.step-time { font-size: 0.72rem; color: var(--faint); margin-top: 2px; }
.badge { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-left: 6px; vertical-align: middle; }
.badge-done { background: #dcfce7; color: var(--green); }
.badge-active { background: var(--accent-soft); color: var(--accent); }
.badge-pendente { background: #fef3c7; color: #92400e; }
.badge-green { background: #dcfce7; color: var(--green); }

/* ============================================================
   OVERRIDE TIKTOK SHOP — o site é sempre largura de celular (400px).
   Neutraliza os breakpoints de desktop para que nada "estoure"
   o app no PC: grids e layout ficam sempre no modo mobile.
   ============================================================ */
.grid,
.top4,
.new-in,
.recom-grid,
#grid,
#top4,
#newIn,
#recomGrid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  padding: 0 16px !important;
  max-width: 100% !important;
}
.card { max-width: 100% !important; }
/* Trust bar sempre 2 colunas (mobile) */
.trust .wrap { grid-template-columns: 1fr 1fr !important; gap: 8px 12px !important; padding: 12px 16px !important; }
/* Footer sempre 1 coluna (mobile) */
.site-footer .wrap { grid-template-columns: 1fr !important; gap: 22px !important; padding: 34px 20px 26px !important; }
/* Recomendados no produto: 2 colunas, centralizado, reto */
.recom-grid .card { height: 100%; }
.recom-grid .card .body { flex: 1; display: flex; flex-direction: column; }
.recom-grid .card .card-add { margin-top: auto; }
/* Mobile = PC: o app é sempre largura de celular. Neutraliza os breakpoints
   de desktop para os cards e botões ficarem IDÊNTICOS no celular e no PC. */
.recom-grid .card .body { text-align: center; align-items: center; }
.recom-grid .card .name { text-align: center; }
.recom-grid .card .rate { justify-content: center; }
.recom-grid .card .price { justify-content: center; }
/* Botão "Adicionar" — sempre o visual mobile (pill rosa com ícone oculto) */
.card-add { text-transform: none !important; letter-spacing: 0 !important; }
.card-add .ca-ic { display: inline-block !important; }
/* Produto: layout empilhado (imagem pequena em cima, descrições abaixo) */
.prod-shell { display: block !important; padding: 0 0 30px !important; }
.prod-gallery { width: min(240px, 80vw) !important; max-width: 420px !important; margin: 0 auto 10px !important; }
/* A imagem em si nunca passa do tamanho da galeria — hard cap */
.prod-gallery .slides img { max-width: 100% !important; max-height: 300px !important; width: auto !important; }
.prod-info { max-width: 100% !important; margin: 0 auto !important; padding: 0 16px !important; }
/* Header e nav de categorias sempre mobile */
.cat-nav .wrap { justify-content: flex-start !important; }
.header-row { padding: 12px 12px !important; gap: 8px !important; }
/* Garante que os cards encolhem dentro das colunas (senão o conteúdo
   do botão/comprar nowrap estoura o grid e vaza do app) */
.grid > *, .top4 > *, .new-in > *, .recom-grid > * { min-width: 0; }
.card, .card .body, .card .name { min-width: 0; }
.card .meta { flex-wrap: wrap; }
.card .free { white-space: normal; }

/* Header cabe no app de 400px mesmo com 3 botões (home) */
.header-row { flex-wrap: nowrap; overflow: hidden; }
.header-actions { flex-shrink: 1; min-width: 0; }
.header-actions .icon-btn.label { flex-shrink: 0; }
.brand { flex-shrink: 0; }
/* Textos do header: encolhem se necessário em telas muito estreitas */
.icon-btn.label .ic-txt { overflow: hidden; text-overflow: ellipsis; max-width: 90px; }

/* ===================== POP-UP DE PAGAMENTO PIX (Minha Conta) ===================== */
.pay-overlay {
  position: fixed; inset: 0; z-index: 130;
  background: rgba(20, 16, 20, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
/* No PC o app tem 400px centralizado — o pop-up fica dentro dessa largura,
   centralizado e respeitando as margens do app */
@media (min-width: 400px) {
  .pay-overlay { left: 50%; right: auto; width: 400px; transform: translateX(-50%); }
}
.pay-overlay.hidden { display: none; }
.pay-modal {
  position: relative;
  width: 100%; max-width: 100%;
  max-height: 88vh; overflow-y: auto;
  background: var(--surface);
  border-radius: 16px;
  padding: 24px 18px 20px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
}
.pay-close {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-2); color: var(--ink);
  font-size: 0.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.pay-modal h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.pay-sub { font-size: 0.84rem; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }
.pay-sub b { color: var(--green); }
.pay-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.pay-row { display: flex; gap: 10px; }
.pay-row .field { flex: 1; min-width: 0; }
.pay-fields .field label { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--faint); margin-bottom: 4px; display: block; }
.pay-fields .field input {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font-family: var(--sans); font-size: 0.88rem; color: var(--ink);
  background: var(--surface);
}
.pay-fields .field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.12); }
.pay-desc { font-size: 0.84rem; color: var(--muted); margin-bottom: 6px; }
.pay-desc s { color: var(--faint); }
.pay-desc b { color: var(--ink); }
.pay-badge { display: inline-block; background: var(--accent-soft); color: var(--accent); font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.pay-total { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.pay-total b { color: var(--accent-deep); }
.pay-pix { margin: 10px 0 14px; padding: 14px; background: var(--surface-2); border-radius: 12px; text-align: center; }
.pay-pix.hidden { display: none; }
.pay-qr { width: 200px; height: 200px; margin: 0 auto 10px; border-radius: 8px; background: #fff; }
.pay-copia-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.pay-copia { font-size: 0.72rem; color: var(--muted); word-break: break-all; margin-bottom: 8px; line-height: 1.4; }
.pay-copy { margin-top: 4px; }
.pay-status { font-size: 0.86rem; color: var(--green); font-weight: 600; margin-top: 6px; }
.pay-hint { font-size: 0.72rem; color: var(--faint); margin-top: 6px; }

/* Comprovante no pop-up "Pagar agora" (Minha Conta) */
.pay-comp { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.pay-comp-btn { margin: 0 auto; max-width: 260px; }
.pay-comp-inner { margin-top: 12px; }
.pay-comp-sub { font-size: .78rem; color: var(--muted); margin: 0 0 10px; }
.pay-comp-ok { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; font-size: .82rem; color: var(--green); font-weight: 500; }

/* Anexo de comprovante (padrão compartilhado: /pix e Minha Conta) */
.comp-file { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; color: var(--accent,#fe2c55); font-weight: 500; font-size: .84rem; border: 1px dashed rgba(254,44,85,.5); border-radius: 10px; padding: 10px 14px; background: #fff; transition: background .15s, border-color .15s; }
.comp-file:hover { background: var(--accent-soft,#ffecef); border-color: var(--accent,#fe2c55); }
.comp-preview { margin-top: 10px; display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; }
.comp-preview .comp-thumb { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line,#ececef); }
.comp-preview .comp-fname { font-size: .78rem; color: var(--muted,#6b6b70); max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comp-status { margin-top: 8px; font-size: .8rem; font-weight: 500; min-height: 1em; }
.comp-ok { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; border-radius: 10px; font-size: .84rem; font-weight: 500; text-align: left; }
.comp-ok-ic { width: 22px; height: 22px; border-radius: 50%; background: var(--green,#16a34a); color: #fff; font-weight: 700; font-size: 13px; line-height: 22px; text-align: center; flex-shrink: 0; }

/* Botão "Pagar agora" + timer nos cards da conta */
.ao-pagar { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.btn-pagar { width: 100%; }
.ao-discount { font-size: 0.78rem; color: var(--muted); }
.ao-discount b { color: var(--green); }
.ao-timer { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.ao-status.is-pago { background: #dcfce7; color: var(--green); }
.ao-status.is-pendente { background: #fef3c7; color: #92400e; }

/* Área de resgate de desconto no pop-up de pagamento */
.pay-resgate {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--accent-soft);
  border: 1px dashed var(--accent);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.pay-resgate-txt { font-size: 0.82rem; color: var(--accent-deep); line-height: 1.35; }
.pay-resgate-txt b { color: var(--accent); }
.pay-resgate .btn { margin: 0; white-space: nowrap; padding: 8px 14px; font-size: 0.78rem; }
.pay-valores { font-size: 0.88rem; color: var(--muted); margin-bottom: 8px; }
.pay-valores b { color: var(--ink); font-weight: 600; }
.pay-valores s { color: var(--faint); }
.pay-desconto { font-size: 0.86rem; color: var(--green); font-weight: 600; margin-bottom: 6px; }

/* Pedidos da conta: alinhados e retos */
.acct-orders { width: 100%; }
.acct-order { box-sizing: border-box; width: 100%; }
.acct-order-head { align-items: flex-start; }
.ao-status { flex-shrink: 0; }
.ao-items { word-break: break-word; }

/* ===================== DRAWER DO MENU (hambúrguer) ===================== */
/* O drawer é FILHO do overlay. No celular o overlay é a tela toda (efeito
   natural). No PC o overlay é limitado ao container do app (400px central) e
   o overflow:hidden CORTA a parte do drawer que desliza para fora do app —
   assim ele nunca "vem de fora do site" nem vaza para o fundo do desktop. */
.menu-drawer-overlay {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(20, 16, 20, 0.5);
  overflow: hidden;
}
.menu-drawer-overlay.hidden { display: none; }
/* No PC (app de 400px centralizado): o overlay fica na coluna do app, então o
   drawer (filho, absoluto) é preso à borda esquerda do app e cortado no slide */
@media (min-width: 400px) {
  .menu-drawer-overlay { left: 50%; width: 400px; transform: translateX(-50%); }
}
.menu-drawer {
  position: absolute; top: 0; left: 0; bottom: 0; z-index: 1;
  width: min(320px, 85vw);
  background: var(--surface);
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
  display: flex; flex-direction: column;
  transform: translateX(0);
  animation: drawerIn 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.22s ease;
  opacity: 1;
}
.menu-drawer.hidden { display: none; }
@keyframes drawerIn { from { transform: translateX(-100%); opacity: 0.4; } to { transform: translateX(0); opacity: 1; } }
/* Saída animada: desliza para fora + some suavemente */
.menu-drawer.closing {
  transform: translateX(-105%);
  opacity: 0;
}
/* Overlay com fade suave ao fechar */
.menu-drawer-overlay.ov-closing {
  opacity: 0;
  transition: opacity 0.2s ease;
}
/* Itens do drawer na cor rosa (cor de destaque do site) */
.menu-drawer .md-link {
  color: var(--accent);
}
.menu-drawer .md-link:hover {
  color: var(--accent-deep);
}
.menu-drawer .md-link svg {
  stroke: currentColor;
}
/* Rótulos das seções também em tom rosa suave */
.menu-drawer .md-label {
  color: var(--accent-deep);
}
.menu-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.md-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.md-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-2); color: var(--ink);
  font-size: 0.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.menu-drawer-body { flex: 1; overflow-y: auto; padding: 8px 0 20px; }
.md-section { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.md-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 10px; }
.md-cats { display: flex; flex-direction: column; }
.md-cat {
  display: block; text-align: left;
  padding: 10px 0; font-size: 0.9rem; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.md-cat:last-child { border-bottom: none; }
.md-cat:hover { color: var(--accent); }
.md-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; font-size: 0.9rem; color: var(--ink); width: 100%; text-align: left;
}
.md-link:hover { color: var(--accent); }
.md-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* Campo de rastreio: garante largura confortável (flex corrigido) */
.rt-field { flex-wrap: nowrap; }
.rt-field input { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; }
.rt-field .btn { flex: 0 0 auto; width: auto; padding: 12px 16px; }

/* ===================== BLOCO DE CONFIANÇA (formbelle) ===================== */
/* ===================== BLOCO DE CONFIANÇA — RÉPLICA FORMBELLE ===================== */
.fb-trust {
  margin: 10px auto 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Offer box (Devolução Garantida) — réplica fiel do formbelle */
.offer-box {
  display: flex;
  align-items: center;
  padding: 10px 10px 10px 3px;
  width: 100%;
  border: 1px solid #bdbdbd70;
  border-radius: 6px;
  background: #ffffff;
}
.offer-box--center { text-align: center; flex-direction: column; align-items: center; }
.offer-box__icon { flex-shrink: 0; line-height: 0; }
.offer-box__media {
  background: #16c789;
  margin: 0 8px;
  border-radius: 5px;
  padding: 7px;
}
.offer-box__media * {
  fill: none !important;
  stroke: #ffffff !important;
  stroke-width: 2.5px !important;
}
.offer-box__title { margin: 0 0 0.25em; font-size: 13px; color: #000; }
.offer-box__title b { color: #000; font-weight: 700; }
.offer-box__text p { margin: 0; font-size: 13px; color: #000; }
.offer-box__body { line-height: 1.25; color: #000; }

/* Formas de Pagamento — réplica fiel do formbelle */
.fb-pag {
  background: #ffffff;
  border: 1px solid #bdbdbd70;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  position: relative;
}
.fb-pag-title {
  display: inline-block;
  background: #ffffff;
  color: #000;
  font-weight: 600;
  font-size: 13px;
  padding: 0 12px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
/* "Risco" (linha) atrás do título, centralizado */
.fb-pag::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 8px;
  right: 8px;
  height: 1px;
  background: #e3e3e3;
}
.payment-list2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.payment-list2 .cartoes { border-radius: 3px; border: 1px solid #e3e3e3; }

/* Reputação do vendedor (ícones reais) — número/ícone em cima, texto embaixo, centralizado */
.fb-seller {
  background: #ffffff;
  border: 1px solid #bdbdbd70;
  border-radius: 6px;
  padding: 10px 12px;
  text-align: center;
  display: flex;
  justify-content: center;
}
/* Seller sempre lado a lado (igual no PC e no mobile, sem quebras de linha) */
.ui-pdp-seller__list-description { list-style: none; display: flex; flex-direction: row; justify-content: center; align-items: stretch; gap: 6px; width: 100%; max-width: 480px; margin: 0 auto; }
.ui-pdp-seller__item-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  flex: 1 1 0;
  min-width: 0;
  max-width: 50%;
  padding: 0 2px;
}
.ui-pdp-seller__sales-description { font-size: 18px; font-weight: 700; color: #000; text-align: center; white-space: nowrap; }
.ui-pdp-seller__icon-description { width: 25px; flex-shrink: 0; display: flex; justify-content: center; }
.ui-pdp-seller__icon-description svg { width: 25px; height: 22px; }
.ui-pdp-seller__text-description {
  font-size: 11px; color: #666; line-height: 1.25;
  text-align: center;
  /* Quebra em até 2 linhas (centrado) para nunca estourar as bordas do card */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  max-width: 100%;
}
/* Cada bloco em sua própria linha, empilhado, centralizado e reto */
@media (min-width: 640px) {
  .fb-trust { display: flex; flex-direction: column; gap: 10px; align-items: center; }
  .offer-box { width: 100%; max-width: 480px; }
  .fb-pag { width: 100%; max-width: 480px; }
  .fb-seller { width: 100%; max-width: 480px; }
  .ui-pdp-seller__text-description { font-size: 12px; }
}

/* ===================== ÍCONE DE SUPORTE WHATSAPP ===================== */
.support-float {
  position: fixed;
  right: 16px;
  bottom: 140px;   /* acima da barra fixa do produto/checkout */
  z-index: 200;
}
.support-float.hidden { display: none; }
.support-link {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  animation: supportIn 0.4s ease;
}
.support-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes supportIn {
  from { opacity: 0; transform: scale(0.6) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
/* X cinza discreto para fechar */
.support-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(120, 120, 120, 0.85);
  color: #fff;
  font-size: 0.68rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  z-index: 2;
}
.support-close:hover { background: rgba(100, 100, 100, 0.95); }

/* ===================== POP-UP DE REEMBOLSO/DEVOLUÇÃO ===================== */
.ref-overlay {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(20, 16, 20, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.ref-overlay.hidden { display: none; }
@media (min-width: 400px) {
  .ref-overlay { left: 50%; right: auto; width: 400px; transform: translateX(-50%); }
}
.ref-modal {
  position: relative;
  width: 100%;
  max-height: 88vh; overflow-y: auto;
  background: var(--surface);
  border-radius: 16px;
  padding: 24px 18px 20px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
}
.ref-close {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-2); color: var(--ink);
  font-size: 0.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.ref-modal h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.ref-sub { font-size: 0.84rem; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }
.ref-quiz { display: flex; flex-direction: column; gap: 14px; }
.ref-q label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.ref-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.ref-opt {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 0.78rem; color: var(--muted);
  background: var(--surface);
}
.ref-opt.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.ref-quiz textarea {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font-family: var(--sans); font-size: 0.85rem; color: var(--ink);
  background: var(--surface); resize: vertical;
}
.ref-quiz textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.12); }
.ref-file {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px dashed var(--line); border-radius: 10px;
  padding: 10px 14px; font-size: 0.8rem; color: var(--muted);
  cursor: pointer;
}
.ref-file svg { width: 18px; height: 18px; }
.ref-files { font-size: 0.72rem; color: var(--faint); display: block; margin-top: 4px; }
.ref-note {
  font-size: 0.74rem; color: var(--muted); line-height: 1.5;
  background: var(--accent-soft); border-radius: 8px; padding: 10px 12px;
}

/* ==========================================================================
   Botão "voltar ao topo" (seta ↑)
   Aparece depois da METADE da página. Bolha simples de loja — branca, discreta,
   com a seta do tema. Canto inferior ESQUERDO (o suporte/whatsapp é à direita).
   ========================================================================== */
.back-top {
  position: fixed;
  left: 16px;
  bottom: calc(88px + env(safe-area-inset-bottom)); /* acima das barras fixas (produto/carrinho) */
  z-index: 60; /* acima do conteúdo, abaixo de pop-ups/menus (90+) */
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.back-top:active { transform: scale(0.92); }
/* Leve "pop" ao clicar (discreto, sem brilho chamativo) */
.back-top.go {
  animation: backTopPop 0.35s ease;
}
@keyframes backTopPop {
  0% { transform: scale(1); }
  50% { transform: scale(0.86); }
  100% { transform: scale(1); }
}
@media (min-width: 768px) {
  .back-top { left: 24px; bottom: 28px; }
}

/* ==========================================================================
   ORDER BUMPS no checkout — "Aproveite e leve junto"
   Cards de oferta extra entre o comprovante e o formulário. Cliente aceita o
   que quiser (todos visíveis de uma vez); aceitos somam ao total e viram item
   do pedido, SEM entrar no carrinho nem contar p/ peças/desconto/brinde.
   ========================================================================== */
.ob-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: -6px 0 20px; /* aproxima do comprovante (que tem margin-bottom 22px) */
}
.ob-area:empty { display: none; }
.ob-head { padding: 0 2px; }
.ob-title {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}
.ob-sub {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 300;
}
.ob-loading {
  font-size: 0.82rem;
  color: var(--faint);
  padding: 6px 2px;
  font-weight: 300;
}
.ob-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.ob-card.ob-selected {
  border-color: var(--accent);
  background: #fffafb;
  box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.06);
}
.ob-img {
  flex: none;
  width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2);
}
.ob-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ob-info { flex: 1; min-width: 0; }
.ob-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.ob-desc {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.4;
  font-weight: 300;
}
.ob-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.ob-prices { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.ob-price { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.ob-price-old { color: var(--faint); font-weight: 400; font-size: 0.78rem; }
.ob-btn-wrap { flex: none; }
.ob-btn {
  appearance: none;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.15s, opacity 0.15s;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(254, 44, 85, 0.3);
}
.ob-btn:active { transform: scale(0.94); }
.ob-btn.ob-on {
  background: var(--green);
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.3);
}
.ob-card .ob-var-note {
  margin-top: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Bottom-sheet de variação do order bump (aceita só após escolher opção).
   A subida/descida é uma TRANSITION guiada pelo toggle de .hidden no JS — o
   display:none é só o estado inicial; removido via 2×rAF a transição roda. */
.ob-overlay {
  position: fixed;
  inset: 0;
  z-index: 94;
  background: rgba(20, 16, 20, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.ob-overlay.hidden { opacity: 0; pointer-events: none; }
/* No PC o app é uma coluna de 400px centralizada — a folha acompanha */
@media (min-width: 400px) {
  .ob-overlay { left: 50%; width: 400px; transform: translateX(-50%); }
}
.ob-sheet {
  width: 100%;
  background: var(--surface);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.22);
  padding: 26px 20px calc(24px + env(safe-area-inset-bottom));
  max-height: 86vh;
  overflow-y: auto;
  transform: translateY(0);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.ob-overlay.hidden .ob-sheet { transform: translateY(105%); }
.ob-sheet-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.ob-sheet-thumb {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 12px;
}
.ob-sheet-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ob-sheet-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  padding-right: 30px;
}
.ob-sheet-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin: 8px 0 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ob-sheet-price .ob-price-old { color: var(--faint); font-weight: 400; }
.ob-var-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.ob-var-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-var-opt {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.84rem;
  color: var(--muted);
  font-family: var(--sans);
  transition: all 0.15s;
  cursor: pointer;
}
.ob-var-opt:hover { border-color: var(--ink); color: var(--ink); }
.ob-var-opt:active { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 500; }
