/* ===================================================
   REPÚBLICA DO NARGA — CATÁLOGO V3
   Mobile-first · Unbounded + Manrope · Ícones próprios
   =================================================== */

:root {
  --bg: #060807;
  --bg-2: #0a0d0c;
  --surface: #0e1211;
  --surface-2: #141918;
  --surface-3: #1a2120;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #f1f5f3;
  --muted: #9aa6a1;
  --dim: #66716c;

  --brand: #34f59a;
  --brand-2: #9dff6b;
  --brand-ink: #03140b;
  --brand-soft: rgba(52, 245, 154, .12);
  --amber: #ffbe5c;
  --danger: #ff6b86;
  --wa: #25d366;

  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-ui: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --gutter: 16px;
  --header-h: 60px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 120px); }
html.locked, html.locked body { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.45;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 50% -5%, rgba(52, 245, 154, .09), transparent 70%),
    radial-gradient(40% 30% at 100% 60%, rgba(76, 201, 255, .04), transparent 70%);
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px; }

/* ---------- ÍCONES ---------- */
.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

/* ---------- BOTÕES BASE ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, opacity .2s;
  will-change: transform;
}
.btn:active { transform: scale(.96); }
.btn .ic { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--brand-ink);
  box-shadow: 0 8px 24px -8px rgba(52, 245, 154, .55), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn-primary:disabled { background: var(--surface-3); color: var(--dim); box-shadow: none; cursor: not-allowed; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--muted); }
.btn-glass {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-accent {
  background: var(--accent, var(--brand));
  color: #050707;
  box-shadow: 0 10px 30px -10px var(--accent, var(--brand));
}
.btn-wa {
  background: var(--wa);
  color: #04210f;
  box-shadow: 0 10px 28px -10px rgba(37, 211, 102, .7);
}
.btn-block { width: 100%; height: 52px; font-size: .95rem; }
.btn-grow { flex: 1; }

/* ---------- VERIFICAÇÃO DE IDADE ---------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(3, 5, 4, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.age-card {
  position: relative;
  width: min(380px, 100%);
  padding: 32px 24px 24px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.age-logo { margin: 0 auto 14px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2), 0 0 40px -6px rgba(52, 245, 154, .45); }
.age-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--danger);
  background: rgba(255, 107, 134, .1);
  border: 1px solid rgba(255, 107, 134, .3);
  margin-bottom: 12px;
}
.age-card h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.25; letter-spacing: -.01em; }
.age-card p { color: var(--muted); font-size: .88rem; margin: 10px 0 22px; }
.age-actions { display: grid; gap: 8px; }

/* ---------- TICKER ---------- */
.ticker {
  height: 32px;
  overflow: hidden;
  background: #040605;
  border-bottom: 1px solid var(--line);
  font-size: .74rem;
  color: var(--muted);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  animation: ticker 32s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 7px; padding: 0 22px; white-space: nowrap; }
.ticker-track span .ic { color: var(--brand); width: 14px; height: 14px; }
.ticker-track b { color: var(--text); font-weight: 600; }
.ticker-18 { color: var(--danger); font-weight: 700; letter-spacing: .02em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(6, 8, 7, .72);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.scrolled { border-color: var(--line); background: rgba(6, 8, 7, .86); }
.header-in {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 1.5px;
  background: conic-gradient(from 200deg, var(--brand), #1a3b2b, var(--brand-2), var(--brand));
  flex: none;
}
.brand-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.02em; }
.brand-text small { font-size: .62rem; text-transform: uppercase; letter-spacing: .38em; color: var(--brand); margin-top: 5px; font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.hbtn {
  position: relative;
  height: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  font-size: .82rem;
  font-weight: 700;
  transition: background .2s, border-color .2s, transform .2s;
}
.hbtn:active { transform: scale(.94); }
.hbtn .ic { width: 19px; height: 19px; }
.hbtn-wa { color: var(--wa); }
.hbtn-wa span { display: none; }
.hbtn-label { display: none; }
.bag-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: .68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px var(--bg);
}

/* ---------- HERO ---------- */
.hero { padding: 12px var(--gutter) 0; max-width: 1240px; margin: 0 auto; }
.hero-swiper {
  border-radius: var(--r-xl);
  overflow: hidden;
  height: min(76vw + 120px, 540px);
  min-height: 380px;
  isolation: isolate;
  border: 1px solid var(--line);
}
.hero-slide { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  transform: scale(1.08);
  transform-origin: 50% 30%;
  transition: transform 6s linear;
}
.swiper-slide-active .hero-bg { transform: scale(1); }
@media (max-width: 767px) {
  /* No celular a foto ocupa o topo para o produto não ficar atrás do texto */
  .hero-bg { height: 66%; }
  .hero-slide { background: #040605; }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 5, .05) 0%, rgba(4, 6, 5, .1) 30%, rgba(4, 6, 5, .85) 60%, #040605 72%),
    radial-gradient(70% 50% at 0% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}
.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 20px 44px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  padding: 6px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, rgba(0, 0, 0, .4));
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-kicker .ic { width: 13px; height: 13px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 7.4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 12px 0 8px;
}
.hero-title em {
  display: block;
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 45%, transparent);
}
.hero-desc { color: rgba(241, 245, 243, .78); font-size: .88rem; max-width: 46ch; }
.hero-cta { display: flex; gap: 8px; margin-top: 16px; }
.hero-cta .btn { height: 44px; padding: 0 18px; font-size: .86rem; }

.hero-bars {
  position: absolute;
  z-index: 5;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  gap: 6px;
}
.hero-bar {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .18);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.hero-bar::before { content: ''; position: absolute; inset: -10px 0; }
.hero-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.hero-bar.done i { transform: scaleX(1); }

/* ---------- VANTAGENS ---------- */
.perks {
  max-width: 1240px;
  margin: 14px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.perk-ic {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
}
.perk-ic .ic { width: 18px; height: 18px; }
.perk b { display: block; font-size: .8rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.perk small { display: block; font-size: .7rem; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- SEÇÕES ---------- */
.section-head, .catalog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.section-head h3, .catalog-head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-head h3 .ic { color: var(--brand); }
.section-hint { font-size: .72rem; color: var(--dim); display: inline-flex; align-items: center; gap: 4px; }
.section-hint .ic { width: 14px; height: 14px; }

.rail-section { max-width: 1240px; margin: 28px auto 0; padding: 0 var(--gutter); }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 10px;
  margin: 12px calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter) 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }

/* ---------- TOOLBAR ---------- */
.catalog { max-width: 1240px; margin: 26px auto 0; padding: 0 var(--gutter) 40px; }
.toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  margin: 0 calc(var(--gutter) * -1);
  padding: 10px var(--gutter) 10px;
  background: rgba(6, 8, 7, .86);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.toolbar.stuck { border-color: var(--line); }
.toolbar-row { display: flex; gap: 8px; }

.search {
  flex: 1;
  min-width: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: rgba(52, 245, 154, .45); box-shadow: 0 0 0 4px rgba(52, 245, 154, .08); }
.search > .ic { color: var(--dim); width: 18px; height: 18px; }
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: none;
  border: 0;
  outline: 0;
  font-size: 16px; /* evita zoom no iOS */
}
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--muted);
  background: var(--surface-3);
}
.search-clear .ic { width: 15px; height: 15px; }

.sort { position: relative; }
.sort-btn {
  height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}
.sort-btn .ic { width: 18px; height: 18px; }
.sort-btn span { display: none; }
.sort-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 200px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(20, 25, 24, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8);
  transform-origin: top right;
  animation: pop .22s var(--ease);
}
.sort-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
}
.sort-menu button:hover { background: rgba(255, 255, 255, .04); }
.sort-menu button .ic { width: 16px; height: 16px; opacity: 0; color: var(--brand); }
.sort-menu button[aria-selected="true"] { color: var(--text); }
.sort-menu button[aria-selected="true"] .ic { opacity: 1; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(-4px); } }

.cats {
  position: relative;
  display: flex;
  gap: 6px;
  margin: 10px calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  position: relative;
  z-index: 1;
  flex: none;
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  transition: color .25s, border-color .25s;
}
.cat .ic { width: 16px; height: 16px; color: var(--c); opacity: .85; transition: transform .35s var(--ease-spring); }
.cat.active { color: var(--text); border-color: transparent; }
.cat.active .ic { opacity: 1; transform: scale(1.12) rotate(-6deg); }
.cats-ind {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  height: 36px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c, var(--brand)) 14%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 40%, transparent);
  transition: transform .45s var(--ease), width .45s var(--ease), background .3s, border-color .3s;
  pointer-events: none;
}

.catalog-head { margin: 16px 0 12px; }
.count { font-size: .74rem; color: var(--dim); font-family: var(--font-mono); }

/* ---------- GRID & CARDS ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.card {
  --c: var(--brand);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.card:active { transform: scale(.98); }
.card.sk { min-height: 280px; cursor: default; background: linear-gradient(110deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

.card-media {
  position: relative;
  aspect-ratio: 1 / 1.02;
  background: radial-gradient(70% 60% at 50% 45%, color-mix(in srgb, var(--c) 16%, #000), #000 75%);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), opacity .5s;
}
.card-media img.loading { opacity: 0; }
.card-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(14, 18, 17, .85));
  pointer-events: none;
}
.card .sku {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
}
.sku {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .7);
  padding: 3px 7px;
  border-radius: 7px;
  background: rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.flags { position: absolute; z-index: 2; top: 8px; left: 8px; right: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 21px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.flag .ic { width: 11px; height: 11px; }
.flag-new { color: #0a0a0a; background: linear-gradient(135deg, #fff, #d9ffe9); }
.flag-low { color: var(--amber); background: rgba(255, 190, 92, .14); border: 1px solid rgba(255, 190, 92, .35); }
.flag-out { color: #cbd2cf; background: rgba(0, 0, 0, .6); border: 1px solid var(--line-2); }

.card.out .card-media img { filter: grayscale(.85) brightness(.55); }

.card-body { display: flex; flex-direction: column; gap: 3px; padding: 10px 11px 12px; flex: 1; }
.card-brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c);
}
.card-brand .ic { width: 12px; height: 12px; }
.card-name {
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.25;
  letter-spacing: -.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.card-puffs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .7rem;
  color: var(--muted);
  font-weight: 600;
}
.card-puffs .ic { width: 13px; height: 13px; color: var(--dim); }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.price strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.03em; white-space: nowrap; }
.price strong small { font-family: var(--font-ui); font-size: .62rem; font-weight: 700; color: var(--muted); margin-right: 2px; letter-spacing: 0; }
.price .combo { font-size: .66rem; font-weight: 700; color: var(--brand); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 6px 18px -6px rgba(52, 245, 154, .7);
  transition: transform .3s var(--ease-spring), background .2s;
}
.add .ic { width: 18px; height: 18px; stroke-width: 2.1; }
.add:active { transform: scale(.88) rotate(90deg); }
.card.out .add { background: var(--surface-3); color: var(--dim); box-shadow: none; }

.rail .card-name { font-size: .95rem; }
.rail .card-media { aspect-ratio: 4 / 3.4; }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 20px;
  color: var(--dim);
}
.empty .ic { width: 56px; height: 56px; color: var(--surface-3); stroke-width: 1.4; margin-bottom: 12px; }
.empty b { display: block; color: var(--text); font-size: 1rem; margin-bottom: 4px; }
.empty button { margin-top: 16px; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); background: #040605; padding: 32px var(--gutter) calc(32px + var(--safe-b)); }
.footer-in { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(52, 245, 154, .4); }
.footer-brand strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.footer-brand small { color: var(--dim); font-size: .76rem; }
.footer .btn-wa { align-self: flex-start; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .72rem;
  color: var(--dim);
}
.admin-link { display: inline-flex; align-items: center; gap: 5px; opacity: .55; flex: none; }
.admin-link .ic { width: 13px; height: 13px; }

/* ---------- DOCK MOBILE ---------- */
.dock {
  position: fixed;
  z-index: 60;
  left: 12px;
  right: 12px;
  bottom: calc(12px + var(--safe-b));
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 0 8px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--brand-ink);
  box-shadow: 0 18px 40px -12px rgba(52, 245, 154, .55), 0 0 0 1px rgba(255, 255, 255, .25) inset;
  font-weight: 800;
  transform: translateY(0);
  transition: transform .5s var(--ease), opacity .3s;
}
.dock.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
.dock-bag {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(3, 20, 11, .12);
  display: grid;
  place-items: center;
}
.dock-bag .ic { width: 21px; height: 21px; }
.dock-bag b {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand-ink);
  color: var(--brand);
  font-size: .66rem;
  display: grid;
  place-items: center;
}
.dock-text { flex: 1; text-align: left; font-size: .92rem; }
.dock-total { font-family: var(--font-display); font-weight: 600; font-size: .92rem; letter-spacing: -.02em; }
.dock-arrow { width: 20px; height: 20px; margin-right: 6px; stroke-width: 2; }

/* ---------- SCRIM & SHEETS ---------- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(2, 3, 3, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.scrim.on { opacity: 1; visibility: visible; }

.sheet {
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: calc(100dvh - 28px);
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-bottom: 0;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .8);
  transform: translateY(105%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility .5s;
  overscroll-behavior: contain;
}
.sheet.open { transform: translateY(var(--drag, 0px)); visibility: visible; }
.sheet.dragging { transition: none; }
.sheet-grab { flex: none; height: 22px; display: grid; place-items: center; touch-action: none; cursor: grab; position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.sheet-grab span { width: 40px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .28); }
.sheet-x {
  position: absolute;
  z-index: 6;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .5);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  transition: transform .3s var(--ease);
}
.sheet-x:active { transform: scale(.9) rotate(90deg); }
.sheet-x .ic { width: 17px; height: 17px; }
.sheet-x.static { position: static; background: var(--surface-2); }
.sheet-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet-foot {
  flex: none;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px var(--gutter) calc(12px + var(--safe-b));
  border-top: 1px solid var(--line);
  background: rgba(10, 13, 12, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Produto */
.pres-media {
  position: relative;
  aspect-ratio: 1 / .86;
  max-height: 46vh;
  width: 100%;
  overflow: hidden;
  background: #000;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.pres-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 55% at 50% 55%, color-mix(in srgb, var(--c, var(--brand)) 30%, transparent), transparent 70%);
  z-index: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}
.pres-img { width: 100%; height: 100%; object-fit: cover; }
.pres-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, var(--bg-2));
  z-index: 1;
}
.pres-media .sku { position: absolute; z-index: 2; left: var(--gutter); bottom: 14px; }
.pres-body { padding: 4px var(--gutter) 22px; display: flex; flex-direction: column; gap: 12px; }
.pres-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c, var(--brand));
}
.pres-cat .ic { width: 14px; height: 14px; }
.pres-title { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.03em; margin-top: -6px; }
.pres-price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pres-price strong { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.03em; }
.promo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(52, 245, 154, .25);
}
.promo .ic { width: 14px; height: 14px; }
.pres-desc { color: var(--muted); font-size: .88rem; }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 10px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.spec .ic { width: 20px; height: 20px; color: var(--c, var(--brand)); margin-bottom: 4px; }
.spec b { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec small { font-size: .66rem; color: var(--dim); }

.opt-group { display: flex; flex-direction: column; gap: 9px; }
.opt-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.opt-title span { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.opt-title span .ic { width: 15px; height: 15px; color: var(--c, var(--brand)); }
.opt-title small { font-size: .76rem; color: var(--text); font-weight: 600; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
  transition: color .2s, border-color .2s, background .2s, transform .2s var(--ease);
}
.chip:active { transform: scale(.96); }
.chip .ic {
  width: 0;
  height: 14px;
  stroke-width: 2.2;
  opacity: 0;
  transition: width .3s var(--ease), opacity .3s;
}
.chip[aria-checked="true"] {
  color: var(--text);
  border-color: color-mix(in srgb, var(--c, var(--brand)) 60%, transparent);
  background: color-mix(in srgb, var(--c, var(--brand)) 12%, var(--surface));
}
.chip[aria-checked="true"] .ic { width: 14px; opacity: 1; color: var(--c, var(--brand)); }

.stepper {
  flex: none;
  display: flex;
  align-items: center;
  height: 50px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.stepper button { width: 42px; height: 100%; display: grid; place-items: center; color: var(--muted); }
.stepper button:active { color: var(--brand); }
.stepper .ic { width: 17px; height: 17px; }
.stepper output { min-width: 20px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.sheet-product .btn-primary { height: 50px; border-radius: 16px; }

/* Carrinho */
.sheet-cart { height: calc(100dvh - 28px); }
.cart-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter) 12px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -.02em; }
.cart-head h3 .ic { color: var(--brand); width: 20px; height: 20px; }
.cart-head h3 span { font-family: var(--font-mono); font-size: .72rem; color: var(--dim); font-weight: 500; }

.cart-items { padding: 6px var(--gutter); }
.ci {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.ci-thumb { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: #000; border: 1px solid var(--line); }
.ci-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ci-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ci-name { font-weight: 700; font-size: .88rem; line-height: 1.25; }
.ci-price { font-family: var(--font-display); font-weight: 600; font-size: .86rem; white-space: nowrap; letter-spacing: -.02em; }
.ci-meta { display: flex; flex-wrap: wrap; gap: 4px; }
.ci-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .7rem;
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 7px;
  background: var(--surface-2);
}
.ci-meta .ic { width: 12px; height: 12px; color: var(--brand); }
.ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.ci .stepper { height: 34px; border-radius: 11px; }
.ci .stepper button { width: 34px; }
.ci .stepper .ic { width: 14px; height: 14px; }
.ci .stepper output { font-size: .84rem; }
.ci-del { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; color: var(--dim); padding: 6px 4px; }
.ci-del .ic { width: 16px; height: 16px; }
.ci-del:active { color: var(--danger); }
.nudge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 4px;
  padding: 11px 12px;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px dashed rgba(52, 245, 154, .3);
  font-size: .78rem;
  color: var(--text);
}
.nudge .ic { color: var(--brand); width: 18px; height: 18px; }
.nudge b { color: var(--brand); }

.cart-empty { text-align: center; padding: 60px 20px; color: var(--dim); }
.cart-empty .ic { width: 64px; height: 64px; color: var(--surface-3); stroke-width: 1.4; margin-bottom: 14px; }
.cart-empty b { display: block; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; }
.cart-empty p { font-size: .86rem; margin-bottom: 18px; }

.checkout { padding: 8px var(--gutter) 22px; display: flex; flex-direction: column; gap: 16px; }
.checkout fieldset { border: 0; }
.checkout legend, .field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.field label .ic { width: 15px; height: 15px; color: var(--brand); }
.seg { display: grid; gap: 6px; }
.seg-2 { grid-template-columns: 1fr 1fr; }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 10px 6px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.seg label > span .ic { width: 22px; height: 22px; transition: transform .35s var(--ease-spring); }
.seg label > span small { font-size: .66rem; font-weight: 600; color: var(--dim); }
.seg input:checked + span { color: var(--text); border-color: rgba(52, 245, 154, .55); background: rgba(52, 245, 154, .08); }
.seg input:checked + span .ic { color: var(--brand); transform: scale(1.1); }
.seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.field-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  outline: 0;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--dim); }
.field input:focus { border-color: rgba(52, 245, 154, .5); box-shadow: 0 0 0 4px rgba(52, 245, 154, .08); }
.field.invalid input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 107, 134, .1); }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.cart-foot { flex-direction: column; align-items: stretch; gap: 12px; }
.totals { display: flex; flex-direction: column; gap: 5px; }
.tl { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); }
.tl.save { color: var(--brand); font-weight: 700; }
.tl .free { color: var(--brand); font-weight: 700; }
.tl.total small { font-size: .7rem; font-weight: 600; }
.totals:has(.tl:not([hidden]) + .tl.total) .tl.total { margin-top: 4px; padding-top: 9px; border-top: 1px dashed var(--line-2); }
.tl.total { color: var(--text); font-weight: 700; align-items: baseline; }
.tl.total strong { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.03em; color: var(--brand); }

/* ---------- TOASTS ---------- */
.toasts {
  position: fixed;
  z-index: 300;
  top: calc(var(--header-h) + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(380px, calc(100% - 24px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(20, 25, 24, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8);
  font-size: .84rem;
  font-weight: 600;
  animation: toastIn .45s var(--ease);
}
.toast.out { animation: toastOut .35s var(--ease) forwards; }
.toast-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--brand-soft); color: var(--brand); }
.toast-ic .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.toast.err .toast-ic { background: rgba(255, 107, 134, .12); color: var(--danger); }
.toast img { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.96); } }

.fly { position: fixed; z-index: 400; pointer-events: none; border-radius: 14px; object-fit: cover; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.22); } }

/* ===================================================
   BREAKPOINTS
   =================================================== */

/* Telas muito estreitas (≤ 350px: iPhone SE 1ª, Galaxy Fold) */
@media (max-width: 350px) {
  :root { --gutter: 12px; }
  body { font-size: 14px; }
  .brand-text small { letter-spacing: .26em; }
  .grid { gap: 8px; }
  .card-body { padding: 9px 9px 10px; }
  .card-name { font-size: .82rem; }
  .price strong { font-size: .9rem; }
  .add { width: 34px; height: 34px; border-radius: 11px; }
  .perk { padding: 9px; gap: 8px; }
  .perk-ic { width: 30px; height: 30px; }
  .hero-cta .btn-glass { display: none; }
  .seg-3 label > span { font-size: .74rem; }
  .specs .spec { padding: 9px 8px; }
}

@media (min-width: 400px) {
  .hero-swiper { height: min(80vw + 90px, 540px); }
  .field-row { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* Tablets */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .hbtn-label { display: inline; }
  .hbtn-bag { padding: 0 16px 0 13px; }
  .perks { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .rail { grid-auto-columns: 38%; gap: 14px; }
  .sort-btn span { display: inline; }
  .card-body { padding: 12px 14px 14px; }
  .card-name { font-size: .95rem; }
  .price strong { font-size: 1.1rem; }
  .hero-content { padding: 32px 32px 52px; }
  .hero-bars { left: 32px; right: auto; width: 180px; bottom: 26px; }
  .hero-desc { font-size: .98rem; }
  .hero-cta .btn { height: 48px; padding: 0 22px; font-size: .9rem; }

  /* Sheets viram diálogo centralizado */
  .sheet-product {
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    width: min(920px, calc(100% - 48px));
    max-height: min(680px, calc(100dvh - 48px));
    border-radius: var(--r-xl);
    border-bottom: 1px solid var(--line-2);
    transform: translate(-50%, -46%) scale(.96);
    opacity: 0;
    transition: transform .45s var(--ease), opacity .3s, visibility .45s;
  }
  .sheet-product.open { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .sheet-product .sheet-grab { display: none; }

  .sheet-cart {
    left: auto;
    top: 0;
    width: 440px;
    height: 100dvh;
    max-height: none;
    border-radius: var(--r-xl) 0 0 var(--r-xl);
    border: 1px solid var(--line-2);
    border-right: 0;
    transform: translateX(105%);
  }
  .sheet-cart.open { transform: translateX(0); }
  .sheet-cart .sheet-grab { display: none; }
  .cart-head { padding-top: 18px; }

  .dock { display: none !important; }
}

/* Produto em duas colunas */
@media (min-width: 760px) {
  .sheet-product .sheet-scroll { overflow: hidden; display: flex; }
  .pres { display: grid; grid-template-columns: 1fr 1fr; width: 100%; min-height: 0; }
  .pres-media { aspect-ratio: auto; max-height: none; height: 100%; border-radius: var(--r-xl) 0 0 0; }
  .pres-media::after { display: none; }
  .pres-body { overflow-y: auto; padding: 28px 28px 24px; max-height: calc(min(680px, 100dvh - 48px) - 75px); }
  .pres-title { font-size: 1.7rem; margin-top: -4px; }
  .sheet-product .sheet-foot { padding-left: 28px; padding-right: 28px; border-radius: 0 0 var(--r-xl) var(--r-xl); }
}

@media (min-width: 768px) {
  .hbtn-wa span { display: inline; }
  .hbtn-wa { padding: 0 14px 0 12px; }
  .hero-swiper { height: 500px; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 6, 5, .94) 0%, rgba(4, 6, 5, .7) 38%, rgba(4, 6, 5, .05) 72%),
      linear-gradient(0deg, rgba(4, 6, 5, .6), transparent 40%),
      radial-gradient(50% 70% at 0% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  }
  .hero-bg { height: 100%; }
  .hero-content { top: 0; display: flex; flex-direction: column; justify-content: center; max-width: 560px; padding: 48px 48px 64px; }
  .hero-bars { left: 48px; bottom: 34px; }
  .footer-in { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .footer-bottom { flex-basis: 100%; }
}

/* Desktop */
@media (min-width: 1024px) {
  :root { --header-h: 68px; --gutter: 32px; }
  .brand-ring { width: 44px; height: 44px; }
  .brand-text strong { font-size: 1.1rem; }
  .hero-swiper { height: 540px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; overflow: visible; margin: 14px 0 0; padding: 0; }
  .section-hint { display: none; }
  .toolbar { display: flex; flex-direction: row-reverse; align-items: center; gap: 16px; margin: 0; padding: 12px 0; }
  .toolbar-row { flex: none; width: 420px; }
  .cats { flex: 1; margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; }

  @media (hover: hover) {
    .card:hover { border-color: color-mix(in srgb, var(--c) 40%, transparent); transform: translateY(-4px); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c) 55%, transparent); }
    .card:hover .card-media img { transform: scale(1.06); }
    .add:hover { transform: rotate(90deg); }
    .hbtn:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); }
    .chip:hover { border-color: rgba(255, 255, 255, .25); color: var(--text); }
    .cat:hover { color: var(--text); }
    .btn-primary:hover, .btn-wa:hover, .btn-accent:hover { transform: translateY(-2px); }
  }
}

@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Telas baixas em paisagem (celular deitado) */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-swiper { height: 86vh; min-height: 300px; }
  .pres-media { max-height: 60vh; }
}

/* Acessibilidade: menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
}

/* ===================================================
   CHECKOUT: ENTREGA POR CEP · FRETE · PAGAMENTO
   =================================================== */
:root { --pix: #32bcad; }

.checkout legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--text);
  margin-bottom: 12px;
}
.checkout legend i {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: .68rem;
  font-family: var(--font-mono);
  color: var(--brand-ink);
  background: var(--brand);
}
.checkout fieldset { display: flex; flex-direction: column; gap: 12px; }
.field label em { color: var(--danger); font-style: normal; margin-left: -2px; }
.field label { letter-spacing: .06em; }
.field input[readonly] { color: var(--muted); background: var(--bg-2); border-style: dashed; }
.fr-num { grid-template-columns: 104px 1fr !important; gap: 10px !important; }

/* Faixa de frete */
.ship {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  transition: background .35s, border-color .35s;
}
.ship-ic {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--muted);
  transition: background .35s, color .35s;
}
.ship-ic .ic { width: 20px; height: 20px; }
.ship b { display: block; font-size: .86rem; }
.ship small { display: block; font-size: .74rem; color: var(--muted); margin-top: 1px; }
.ship[data-state="free"] { background: rgba(52, 245, 154, .08); border-color: rgba(52, 245, 154, .4); }
.ship[data-state="free"] .ship-ic { background: var(--brand); color: var(--brand-ink); }
.ship[data-state="free"] b { color: var(--brand); }
.ship[data-state="quote"] { background: rgba(255, 190, 92, .07); border-color: rgba(255, 190, 92, .4); }
.ship[data-state="quote"] .ship-ic { background: rgba(255, 190, 92, .16); color: var(--amber); }
.ship[data-state="quote"] b { color: var(--amber); }

/* CEP */
.cep-wrap { position: relative; }
.cep-wrap input { padding-right: 120px; font-family: var(--font-mono); letter-spacing: .04em; }
.cep-status {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  pointer-events: none;
  max-width: 110px;
  white-space: nowrap;
}
.cep-status .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.cep-status.ok { color: var(--brand); }
.cep-status.err { color: var(--danger); }
.spin {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  border-top-color: var(--brand);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hint-link { align-self: flex-start; margin-top: 6px; font-size: .74rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.cep-field { display: flex; flex-direction: column; }
.addr { display: flex; flex-direction: column; gap: 12px; }

/* Pagamento */
.pay-pix input:checked + span { border-color: color-mix(in srgb, var(--pix) 70%, transparent); background: color-mix(in srgb, var(--pix) 10%, transparent); }
.pay-pix input:checked + span .ic, .pay-pix span .ic { color: var(--pix); }
.seg .ic use[href="#i-pix"] { color: var(--pix); }
.pay-extra { display: flex; flex-direction: column; gap: 10px; }
.pay-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.pay-note .ic { width: 16px; height: 16px; flex: none; }
.pay-extra[data-pay="pix"] .pay-note .ic { color: var(--pix); }
.seg-sm label > span { min-height: 42px; flex-direction: row; font-size: .82rem; }
.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: all .2s var(--ease);
}
.check span::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--brand-ink);
  border-bottom: 2px solid var(--brand-ink);
  transform: rotate(-45deg) scale(0);
  margin-top: -3px;
  transition: transform .25s var(--ease-spring);
}
.check input:checked + span { background: var(--brand); border-color: var(--brand); }
.check input:checked + span::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.field input:disabled { opacity: .45; }

/* Totais */
.tl .muted { color: var(--dim); }
.tl .quote { color: var(--amber); font-weight: 700; }
.tl.total small { color: var(--amber); }
.totals:has(.tl:not([hidden]) + .tl.total) .tl.total { margin-top: 4px; padding-top: 9px; border-top: 1px dashed var(--line-2); }
.ship[data-state="priced"] { background: rgba(76, 201, 255, .07); border-color: rgba(76, 201, 255, .4); }
.ship[data-state="priced"] .ship-ic { background: rgba(76, 201, 255, .16); color: #4cc9ff; }
.ship[data-state="priced"] b { color: #4cc9ff; }
.ship[data-state="estimate"] { background: rgba(255, 190, 92, .07); border-color: rgba(255, 190, 92, .4); }
.ship[data-state="estimate"] .ship-ic { background: rgba(255, 190, 92, .16); color: var(--amber); }
.ship[data-state="estimate"] b { color: var(--amber); }
