:root {
  --bg: #071018;
  --bg-2: #0c1824;
  --surface: rgba(14, 28, 42, .92);
  --ink: #f3f7fb;
  --muted: #9bb0c3;
  --line: rgba(140, 175, 205, .2);
  --brand: #3ec4d9;
  --brand-2: #2fd0a0;
  --warn: #f0b429;
  --danger: #ff7d7d;
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  --radius: 16px;
  --font: "Nunito Sans", Arial, sans-serif;
  --display: Archivo, "Nunito Sans", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(circle at 12% 0%, rgba(62, 196, 217, .16), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(47, 208, 160, .1), transparent 24rem),
    linear-gradient(180deg, #08131d 0%, #071018 45%, #050d14 100%);
}
body.store-page .store-shell { flex: 1 0 auto; }
body.store-page { overflow-x: hidden; }
h1, h2, h3, .brand strong { font-family: var(--display); letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; display: block; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 40; padding: 8px 12px; background: var(--brand-2); color: #05101d; border-radius: 8px; }

/* —— Top bar —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px clamp(16px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 24, .88);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand__logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  filter: drop-shadow(0 0 18px rgba(62, 196, 217, .28));
}
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #05101d;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.12; gap: 2px; }
.brand__text strong { font-size: 1.02rem; font-weight: 800; }
.brand__text small { color: var(--muted); font-size: .72rem; font-weight: 700; }

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Dropdown custom (lista estilizável — select nativo não permite) */
.dd {
  position: relative;
  display: block;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
}
.dd__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.dd__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(62, 196, 217, .1), rgba(47, 208, 160, .05)),
    rgba(8, 18, 28, .95);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 11px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.dd--pill {
  width: auto;
}
.dd--pill .dd__btn {
  width: auto;
  min-width: 4.25rem;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: .85rem;
}
.dd--block .dd__btn {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: .9rem;
}
.dd__btn:hover {
  border-color: rgba(62, 196, 217, .55);
}
.dd__btn:focus-visible,
.dd.is-open .dd__btn {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(62, 196, 217, .16);
}
.dd__value {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.dd--pill .dd__value {
  flex: 0 0 auto;
}
.dd__caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translate(-1px, -2px);
  flex-shrink: 0;
  transition: transform .18s ease;
}
.dd.is-open .dd__caret {
  transform: rotate(225deg) translate(-1px, -1px);
}
.dd__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 80;
  width: max-content;
  max-width: min(320px, 92vw);
  min-width: 100%;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(62, 196, 217, .35);
  background: #0b1622;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  display: grid;
  gap: 4px;
  animation: ddIn .16s ease both;
}
.dd--pill .dd__menu {
  min-width: 0;
  width: max-content;
  right: auto;
  left: 0;
}
.dd--pill .dd__menu [role="option"] {
  padding: 8px 16px;
  text-align: center;
  font-size: .85rem;
}
.dd--sort {
  width: auto;
  max-width: min(12.5rem, 38vw);
  flex: 0 1 auto;
}
.dd--sort .dd__btn {
  width: auto;
  max-width: 100%;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: .82rem;
  overflow: hidden;
  justify-content: flex-start;
  gap: 10px;
}
.dd--sort .dd__menu {
  min-width: 15rem;
  width: max-content;
  left: auto;
  right: 0;
}
.dd__menu[hidden] { display: none !important; }
.dd__menu [role="option"] {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.25;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  white-space: normal;
}
.dd__menu [role="option"]:hover,
.dd__menu [role="option"]:focus {
  background: rgba(62, 196, 217, .14);
  color: var(--brand);
  outline: none;
}
.dd__menu [role="option"][aria-selected="true"] {
  background: linear-gradient(135deg, rgba(62, 196, 217, .22), rgba(47, 208, 160, .14));
  color: var(--brand-2);
}
@keyframes ddIn {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.searchbar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 22, 34, .9);
  min-width: 0;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.searchbar--pulse:not(:focus-within) {
  animation: huntPulse 2.8s ease-in-out infinite;
}
.searchbar:focus-within {
  border-color: rgba(62, 196, 217, .65);
  box-shadow: 0 0 0 3px rgba(62, 196, 217, .15);
  animation: none;
}
.searchbar input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  min-width: 0;
  padding: 10px 4px;
}
.searchbar button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #05101d;
  white-space: nowrap;
}
.searchbar button:disabled { opacity: .55; cursor: default; }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
}
.cart-btn__icon { display: grid; place-items: center; }
.cart-btn__badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand-2);
  color: #05101d;
  font-size: .72rem;
  font-weight: 800;
  display: grid; place-items: center;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(62, 196, 217, .1), rgba(47, 208, 160, .05)),
    rgba(8, 18, 28, .95);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.icon-btn:hover {
  border-color: rgba(62, 196, 217, .55);
}
.icon-btn[aria-expanded="true"] {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(62, 196, 217, .16);
}
.icon-btn__dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #0b1622;
}
.icon-btn__dot[data-state="warn"] {
  background: var(--warn);
  box-shadow: 0 0 0 3px rgba(240, 180, 41, .2);
}
.icon-btn__dot[data-state="ok"] {
  background: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(47, 208, 160, .2);
}

.privacy-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin: 0;
  padding: 8px clamp(16px, 3vw, 32px);
  font-size: .78rem;
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  background: rgba(47, 208, 160, .1);
  border-bottom: 1px solid rgba(47, 208, 160, .28);
}
.privacy-banner[hidden] {
  display: none !important;
}
.privacy-banner__text {
  margin: 0;
  max-width: 52rem;
}
.privacy-banner__text strong,
.privacy-banner__text em {
  color: var(--brand-2);
  font-style: normal;
  font-weight: 800;
}
.privacy-banner__dismiss {
  appearance: none;
  border: 1px solid rgba(47, 208, 160, .45);
  background: rgba(255, 255, 255, .55);
  color: var(--ink);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.privacy-banner__dismiss:hover {
  border-color: var(--brand-2);
  background: rgba(47, 208, 160, .16);
}
.privacy-banner__dismiss:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}

/* —— Store shell —— */
.store-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 18px clamp(16px, 3vw, 32px) 28px;
}
.store-toolbar__titles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: start;
  min-width: 0;
}
.store-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.store-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.store-toolbar__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.store-title { margin: 0; font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
.store-reply,
.store-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.45;
  max-width: none;
  width: 100%;
  text-wrap: pretty;
}
.store-pills[hidden] { display: none !important; }
.rank-chip {
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(62, 196, 217, .45);
  background: rgba(62, 196, 217, .08);
  font-size: .8rem;
  font-weight: 700;
  max-width: none;
  width: 100%;
}
.scenario-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(8, 18, 28, .85);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px 8px 8px;
  font-weight: 800;
  font-size: .82rem;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.scenario-chip:hover { border-color: rgba(62, 196, 217, .5); }
.scenario-chip__mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 900;
  flex-shrink: 0;
}
.scenario-chip[data-state="warn"] .scenario-chip__mark {
  background: rgba(240, 180, 41, .18);
  color: var(--warn);
}
.scenario-chip[data-state="ok"] .scenario-chip__mark {
  background: rgba(47, 208, 160, .18);
  color: var(--brand-2);
}
.scenario-chip[data-state="ok"] {
  border-color: rgba(47, 208, 160, .35);
  background: rgba(47, 208, 160, .08);
}

/* —— Home stage: faixas paralelas cima/baixo + intro (sem card sobreposto) —— */
.home-stage {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(12px, 1.8vw, 18px);
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 6px 0 18px;
  overflow: hidden;
}
.home-marquee-band {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
  width: 100%;
  overflow: hidden;
}
.store-shell[data-view="home"] {
  padding-top: 4px;
  padding-bottom: 0;
  width: 100%;
  max-width: none;
}
.store-shell[data-view="home"] .store-toolbar {
  display: none !important;
}
.store-shell[data-view="results"] {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 18px clamp(16px, 3vw, 32px) 28px;
}

.home-marquee {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  padding: 2px 0;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.home-marquee--reverse .home-marquee__track {
  animation-name: marqueeSlideReverse;
  animation-duration: 46s;
}
.home-marquee--lag .home-marquee__track {
  animation-duration: 56s;
}
.home-marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marqueeSlide 40s linear infinite;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .home-marquee__track { animation: none; }
}
.home-marquee:hover .home-marquee__track {
  animation-play-state: paused;
}
.marquee-card {
  flex: 0 0 auto;
  width: min(210px, 58vw);
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(62, 196, 217, .28);
  background:
    linear-gradient(160deg, rgba(62, 196, 217, .12), transparent 55%),
    rgba(10, 22, 34, .92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
  display: grid;
  gap: 5px;
}
.marquee-card__tag {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.marquee-card strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.marquee-card em {
  font-style: normal;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

.home-intro {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: min(720px, calc(100% - 2 * clamp(16px, 3vw, 32px)));
  margin: 0 auto;
  padding: 4px 0;
  animation: rise .45s ease both;
}
.home-proof {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(480px, 100%);
}
.home-proof li {
  display: grid;
  gap: 2px;
  padding: 8px 6px;
  border-radius: 12px;
  border: 1px solid rgba(62, 196, 217, .22);
  background: rgba(8, 18, 28, .72);
}
.home-proof strong {
  font-family: var(--display);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.home-proof span {
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
}
.home-intro__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}
.home-intro__stores-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.store-pills--home { margin: 0; justify-content: center; }

.home-stage[hidden],
.store-toolbar[hidden] {
  display: none !important;
}

.eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 800;
  color: var(--brand);
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 0 rgba(47, 208, 160, .55);
  animation: liveDot 1.6s ease-out infinite;
}
.home-intro h2,
#hero-line {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  line-height: 1.12;
  max-width: 18ch;
  color: var(--ink);
  transition: opacity .35s ease, transform .35s ease;
}
.home-intro h2.is-swap,
#hero-line.is-swap {
  opacity: 0;
  transform: translateY(8px);
}
.hero-lead {
  margin: 0 auto 12px;
  color: var(--muted);
  max-width: 34rem;
  font-size: .98rem;
  line-height: 1.4;
}
.hero-lead strong { color: var(--brand-2); font-weight: 800; }
.home-intro .hero-cta {
  justify-content: center;
  margin-bottom: 10px;
}
.home-intro .suggest {
  justify-content: center;
}

.setup-card {
  margin: 0 0 18px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(5, 12, 20, .45);
  display: grid;
  gap: 12px;
  max-width: 28rem;
}
.setup-card[data-state="ok"] {
  border-color: rgba(47, 208, 160, .35);
  background: rgba(47, 208, 160, .07);
}
.setup-card[data-state="warn"] {
  border-color: rgba(240, 180, 41, .35);
  background: rgba(240, 180, 41, .06);
}
.setup-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.setup-card__title {
  margin: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.setup-card__badge {
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--warn);
}
.setup-card[data-state="ok"] .setup-card__badge {
  color: var(--brand-2);
  background: rgba(47, 208, 160, .12);
}
.setup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.setup-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.setup-item__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.setup-item[data-done="true"] .setup-item__check {
  border-color: var(--brand-2);
  background: var(--brand-2);
}
.setup-item[data-done="true"] .setup-item__check::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #05101d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.setup-item__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.setup-item__body strong {
  font-size: .88rem;
  font-weight: 800;
}
.setup-item__body small {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
}
.btn-setup {
  border: 1px solid rgba(62, 196, 217, .4);
  background: rgba(62, 196, 217, .1);
  color: var(--brand);
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.btn-setup:hover {
  background: rgba(62, 196, 217, .18);
  border-color: var(--brand);
}
.btn-setup--ghost {
  background: transparent;
  padding: 10px 14px;
  font-size: .88rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.btn-hunt {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #05101d;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(47, 208, 160, .25);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-hunt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shimmer 2.8s ease-in-out infinite;
}
.btn-hunt:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(47, 208, 160, .35); }
.btn-hunt span { font-size: 1rem; position: relative; z-index: 1; }
.hero-hook {
  margin: 0;
  color: var(--warn);
  font-weight: 800;
  font-size: .92rem;
  animation: hookBlink 3.2s ease-in-out infinite;
}
.suggest-label { display: none; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  animation: chipIn .5s ease both;
  animation-delay: calc(var(--i, 0) * 70ms + .15s);
}
.chip:hover {
  border-color: var(--brand);
  background: rgba(62, 196, 217, .12);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.chip--hot {
  border-color: rgba(240, 180, 41, .45);
  background: rgba(240, 180, 41, .1);
  color: #ffe6a8;
}
.chip--hot:hover { border-color: var(--warn); }
.hero-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(5, 12, 20, .5);
  animation: rise .55s ease both;
  animation-delay: calc(var(--i, 0) * 90ms + .2s);
  transition: border-color .2s ease, transform .2s ease;
}
.hero-stat:hover {
  border-color: rgba(62, 196, 217, .45);
  transform: translateX(-4px);
}
.hero-stat span {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #05101d;
}
.hero-stat small { color: var(--muted); font-size: .88rem; }
.hero-panel-note {
  margin: 6px 0 0;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.35;
}

/* —— Prefs drawer + form fields —— */
.prefs-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 100%);
  z-index: 50;
  background: #0b1622;
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  animation: slide .25s ease;
}
.prefs-drawer__head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.prefs-drawer__head h2 { margin: 0; font-size: 1.1rem; }
.prefs-drawer__sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .82rem;
}
.prefs-drawer__body {
  flex: 1;
  overflow: auto;
  padding: 8px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.side-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
}
.side-section:first-of-type { border-top: 0; padding-top: 8px; }
.side-section h3 {
  margin: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.drawer-close:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.field small { font-weight: 600; opacity: .85; }
.field input {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 18, 28, .92);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
  font-weight: 700;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(62, 196, 217, .16);
}
.field--set { border: 0; margin: 0; padding: 0; gap: 8px; }
.field--set legend { padding: 0; margin-bottom: 4px; }
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}
.check input { accent-color: var(--brand-2); }
.check--soon { opacity: .5; cursor: default; }
.check--soon small { color: var(--muted); font-weight: 600; }
.check--locked {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(47, 208, 160, .35);
  background: rgba(47, 208, 160, .1);
  cursor: default;
}
.check--locked input { accent-color: var(--brand-2); pointer-events: none; }
.check--locked small {
  display: inline-block;
  margin-left: 4px;
  color: var(--brand-2);
  font-weight: 700;
  font-size: .72rem;
}
.store-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47, 208, 160, .35);
  background: rgba(47, 208, 160, .1);
  color: var(--brand-2);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.store-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-2);
}
.store-pill--soon {
  border-color: var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight: 700;
}
.store-pill--soon::before { background: var(--muted); opacity: .5; }
.store-pills--prefs { margin-top: 4px; }
.check--save {
  margin-top: -4px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(47, 208, 160, .28);
  background: rgba(47, 208, 160, .07);
  font-size: .82rem;
}
.link-clear {
  align-self: start;
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  margin-top: -6px;
}
.link-clear:hover { text-decoration: underline; }
.filters__note {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* —— Product grid —— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.store-status {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 18, 28, .72);
  overflow: hidden;
  animation: rise .45s ease both;
  animation-delay: calc(var(--i, 0) * 40ms);
  height: 100%;
}
.card--best {
  border-color: rgba(47, 208, 160, .55);
  box-shadow: 0 0 0 1px rgba(47, 208, 160, .18), var(--shadow);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 16px;
  flex-shrink: 0;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: contain;
}
.card__media .ph {
  font-size: 2rem;
  font-weight: 800;
  color: #9aa;
}
.card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}
.card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.best-badge {
  align-self: start;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #05101d;
  box-shadow: 0 6px 16px rgba(5, 16, 28, .18);
}
.best-badge--cash {
  background: linear-gradient(135deg, #3ec4d9, #2ab8a0);
}
.best-badge--card {
  background: linear-gradient(135deg, #7c8cff, #3ec4d9);
  color: #0a1220;
}
.best-badge--both {
  background: linear-gradient(135deg, var(--brand), #7c8cff);
}
.card--pulse {
  animation: cardPulse .9s ease;
  outline: 2px solid rgba(62, 196, 217, .55);
  outline-offset: 2px;
}
@keyframes cardPulse {
  0%, 100% { box-shadow: var(--shadow); }
  40% { box-shadow: 0 0 0 4px rgba(62, 196, 217, .25), var(--shadow); }
}

/* —— Deal board (dois cenários) —— */
.deal-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.deal-board[hidden] { display: none !important; }
.deal-tile {
  appearance: none;
  border: 1px solid rgba(62, 196, 217, .32);
  background:
    linear-gradient(160deg, rgba(62, 196, 217, .12), transparent 55%),
    rgba(8, 18, 28, .95);
  color: inherit;
  text-align: left;
  border-radius: 18px;
  padding: 14px 16px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.deal-tile:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}
.deal-tile--card {
  border-color: rgba(124, 140, 255, .35);
  background:
    linear-gradient(160deg, rgba(124, 140, 255, .14), transparent 55%),
    rgba(8, 18, 28, .95);
}
.deal-tile__kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
}
.deal-tile--card .deal-tile__kicker { color: #a8b4ff; }
.deal-tile__value {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.15;
}
.deal-tile__meta {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.35;
}

/* —— Footer (alinhado ao padrão SearchGo Cloud) —— */
.site-footer {
  width: 100%;
  margin-top: 36px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(8, 21, 34, .96), #050b13),
    radial-gradient(circle at 14% 0%, rgba(62, 196, 217, .16), transparent 30rem);
  border-top: 1px solid rgba(62, 196, 217, .18);
}
.site-footer img { display: block; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); text-decoration: none; transition: color .18s ease; }
.site-footer a:hover { color: var(--brand); }
.site-footer a:focus-visible {
  outline: 2px solid rgba(62, 196, 217, .65);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
  width: 100%;
  padding: 34px 0 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  text-align: left;
}
.footer-brand > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand img {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  border-radius: 18px;
  filter: drop-shadow(0 0 24px rgba(62, 196, 217, .28));
}
.footer-brand strong,
.footer-col strong {
  display: block;
  color: #fff;
  font-weight: 800;
}
.footer-brand strong { margin: 0; line-height: 1.25; font-size: 1.05rem; }
.footer-col strong { margin: 0 0 10px; text-align: center; font-size: .95rem; }
.footer-tagline {
  margin: 0;
  font-size: .82rem;
  line-height: 1.35;
  color: rgba(142, 178, 210, .78);
}
.footer-desc {
  margin: 0;
  max-width: 320px;
  line-height: 1.4;
  font-size: .88rem;
}
.footer-col {
  text-align: center;
  justify-self: center;
}
.footer-col nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
}
.footer-col a { white-space: nowrap; font-weight: 600; font-size: .92rem; }
.footer-contact {
  display: grid;
  gap: 10px;
  justify-self: end;
  justify-items: center;
  text-align: center;
}
.footer-contact strong { text-align: center; }
.footer-contact > a[href^="mailto"] {
  color: var(--brand);
  font-weight: 800;
  word-break: break-word;
}
.footer-parent {
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(200, 220, 235, .85) !important;
  letter-spacing: .01em;
}
.footer-parent:hover { color: var(--brand) !important; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px 0 12px;
  border-top: 1px solid rgba(142, 178, 210, .14);
  font-size: .88rem;
}
.footer-bottom__link {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}
.footer-bottom__link:hover { color: var(--brand); }
.footer-affiliate {
  margin: 0;
  padding: 0 0 26px;
  font-size: .78rem;
  line-height: 1.4;
  color: rgba(142, 178, 210, .55);
  max-width: 52rem;
}

.legal-page .topbar {
  justify-content: space-between;
  grid-template-columns: auto auto;
}
.legal-shell {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 28px clamp(16px, 3vw, 32px) 48px;
  display: grid;
  gap: 18px;
  flex: 1 0 auto;
}
.legal-shell h1 { margin: 0; font-size: 1.8rem; }
.legal-shell h2 { margin: 0 0 8px; font-size: 1.1rem; color: var(--brand); }
.legal-shell section p,
.legal-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.legal-shell a { color: var(--brand); }

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 28px;
  }
  .footer-brand {
    flex-direction: column;
    justify-self: center;
    text-align: center;
  }
  .footer-brand > div { align-items: center; }
  .footer-desc { max-width: 28rem; }
  .footer-col,
  .footer-contact { justify-self: center; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-affiliate { text-align: center; margin-inline: auto; }
}

@media (max-width: 720px) {
  .deal-board { grid-template-columns: 1fr; }
}
.card__store {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  color: var(--muted);
}
.card__seller {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .01em;
}
.card__store-sep {
  opacity: .45;
  font-weight: 600;
}
.card__marketplace {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .68rem;
}
.card h3 {
  margin: 0;
  font-size: .95rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.metric {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  min-width: 0;
}
.metric span {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  line-height: 1.25;
  white-space: normal;
}
.metric--ship span {
  text-transform: none;
  letter-spacing: .01em;
  font-weight: 700;
}
.metric--ship strong {
  font-variant-numeric: tabular-nums;
}
.metric__eta {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.25;
  color: var(--muted);
  white-space: normal;
}
.metric strong {
  display: block;
  margin-top: 4px;
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.metric--total {
  grid-column: 1 / -1;
  border-color: rgba(47, 208, 160, .4);
  background: rgba(47, 208, 160, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.metric--total span { margin: 0; }
.metric--total strong {
  margin: 0;
  font-size: 1.05rem;
  color: var(--brand-2);
}
.card__install {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card__install span {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__install strong {
  font-size: .9rem;
  font-weight: 800;
  color: var(--ink);
  text-align: right;
}
.card__install--free {
  border-color: rgba(47, 208, 160, .4);
  background: rgba(47, 208, 160, .1);
}
.card__install--free span { color: var(--brand-2); }
.card__install--free strong { color: var(--brand-2); }
.card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 2px;
}
.card__actions .btn-primary,
.card__actions .btn-ghost {
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: .88rem;
  padding: 11px 12px;
}

.btn-primary, .btn-ghost {
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  border: 0;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #05101d;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
}

/* —— Cart drawer —— */
/* display:flex em .cart-drawer sobrescreve [hidden] sem !important */
.scrim[hidden],
.cart-drawer[hidden],
.prefs-drawer[hidden],
.hero-empty[hidden],
.product-grid[hidden],
.store-status[hidden],
.rank-chip[hidden],
.cart-btn__badge[hidden] {
  display: none !important;
}
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 14, .55);
  z-index: 40;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  z-index: 50;
  background: #0b1622;
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  animation: slide .25s ease;
}
body.drawer-open { overflow: hidden; }
.cart-drawer__head, .cart-footer {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.cart-footer { border-bottom: 0; border-top: 1px solid var(--line); margin-top: auto; display: grid; gap: 10px; }
.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer__head h2 { margin: 0; font-size: 1.1rem; }
.cart-drawer__privacy {
  margin: 0;
  padding: 10px 18px;
  font-size: .78rem;
  color: var(--muted);
  background: rgba(47, 208, 160, .06);
}
.cart-list {
  flex: 1;
  overflow: auto;
  padding: 12px 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.cart-empty { color: var(--muted); font-weight: 700; }
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.cart-item__media {
  width: 64px; height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: grid; place-items: center;
}
.cart-item__media img { max-height: 56px; object-fit: contain; }
.cart-item__body h3 {
  margin: 0;
  font-size: .86rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item__body p { margin: 4px 0 8px; color: var(--muted); font-size: .78rem; }
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-item__qty button {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}
.cart-item__qty .linkish {
  width: auto;
  border: 0;
  color: var(--danger);
  font-size: .78rem;
  background: transparent;
}
.cart-totals { display: grid; gap: 6px; }
.cart-totals > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .9rem;
}
.cart-totals__total {
  color: var(--ink) !important;
  font-size: 1rem !important;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.cart-footer .btn-primary { width: 100%; padding: 12px; }
.cart-footer .btn-ghost { width: 100%; justify-content: center; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes slide {
  from { transform: translateX(12px); opacity: .6; }
  to { transform: none; opacity: 1; }
}
@keyframes huntPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 196, 217, 0); }
  50% { box-shadow: 0 0 0 6px rgba(62, 196, 217, .12); border-color: rgba(62, 196, 217, .4); }
}
@keyframes shimmer {
  0%, 40% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}
@keyframes liveDot {
  0% { box-shadow: 0 0 0 0 rgba(47, 208, 160, .55); }
  70% { box-shadow: 0 0 0 10px rgba(47, 208, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 208, 160, 0); }
}
@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); opacity: .85; }
  to { transform: translate(-12%, 18%) scale(1.12); opacity: 1; }
}
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marqueeSlideReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@keyframes hookBlink {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}
@keyframes chipIn {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to { opacity: 1; transform: none; }
}

/* —— PWA install (mobile only) —— */
.install-hint {
  display: none;
}
.prefs-install-section[hidden] { display: none !important; }
.prefs-install-btn { width: 100%; justify-content: center; }

/* —— Mobile tabbar (padrão www) —— */
.mobile-dock,
.mobile-tabbar {
  display: none;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .dd--sort { max-width: min(10.5rem, 34vw); }
}

@media (max-width: 980px) {
  .searchbar--pulse { animation: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .dd--sort { max-width: min(9rem, 32vw); }
  .topbar__actions { gap: 10px; }
}

@media (max-width: 900px) {
  :root {
    --mobile-gutter: clamp(16px, 4.5vw, 24px);
  }
  html {
    scroll-padding-top: 72px;
  }
  body.store-page {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .privacy-banner {
    padding: 7px var(--mobile-gutter);
    font-size: .74rem;
  }
  .topbar {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand actions"
      "search search";
    gap: 10px;
    padding: max(6px, env(safe-area-inset-top)) var(--mobile-gutter) 10px;
  }
  .brand {
    grid-area: brand;
  }
  .brand__logo {
    width: 48px;
    height: 48px;
  }
  .brand__text small { font-size: .68rem; }
  .searchbar { grid-area: search; }
  .topbar__actions {
    grid-area: actions;
    justify-self: end;
    gap: 8px;
  }
  .topbar__prefs,
  .topbar__cart {
    display: none;
  }
  .store-shell {
    padding: 10px var(--mobile-gutter) 16px;
  }
  .store-shell[data-view="home"] {
    padding-bottom: 0;
  }
  .store-toolbar__row {
    align-items: start;
  }
  .store-title {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
  }
  .store-reply {
    font-size: .9rem;
  }
  .home-stage {
    margin: 0 calc(-1 * var(--mobile-gutter));
    width: calc(100% + 2 * var(--mobile-gutter));
    max-width: none;
    min-height: 0;
    gap: 10px;
    padding: 2px 0 8px;
    box-sizing: border-box;
  }
  .home-marquee-band {
    gap: 8px;
  }
  .home-marquee {
    padding: 1px 0;
  }
  .marquee-card {
    width: min(148px, 50vw);
    padding: 10px 11px;
  }
  .home-intro {
    width: calc(100% - 8px);
    padding: 2px 4px 4px;
  }
  .home-intro__stores {
    margin-bottom: 8px;
  }
  .eyebrow {
    margin-bottom: 8px;
  }
  .home-intro h2,
  #hero-line {
    font-size: clamp(1.35rem, 6.2vw, 1.75rem);
    line-height: 1.2;
    max-width: min(20ch, 92%);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: calc(2 * 1.2em);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-wrap: pretty;
  }
  .hero-lead { font-size: .9rem; margin-bottom: 12px; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .btn-hunt,
  .btn-setup {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  .home-intro .suggest {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 5px;
    overflow: visible;
    padding: 0;
  }
  .home-intro .suggest .chip {
    flex: 0 1 auto;
    white-space: nowrap;
    min-width: 0;
    max-width: none;
    font-size: .66rem;
    padding: 7px 8px;
    letter-spacing: -.01em;
  }
  .home-intro .suggest .chip:last-child {
    grid-column: auto;
  }
  .home-proof {
    margin-top: 12px;
    gap: 8px;
    width: 100%;
  }
  .home-proof li {
    padding: 8px 6px;
  }
  .home-proof strong { font-size: .85rem; }
  .home-proof span { font-size: .7rem; }
  .chip {
    justify-content: center;
    text-align: center;
  }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .card__media { aspect-ratio: 16 / 10; }
  .footer-main { display: none; }
  body.store-page .site-footer {
    display: none;
  }
  body.legal-page .site-footer {
    display: block;
    margin-top: 28px;
    padding: 16px var(--mobile-gutter) 24px;
  }
  body.legal-page .footer-main {
    display: none;
  }
  body.legal-page .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--muted);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .footer-affiliate { text-align: center; margin-inline: auto; }

  .mobile-dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding:
      6px max(8px, env(safe-area-inset-left))
      max(8px, env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-right));
    background: rgba(5, 12, 22, .96);
    border-top: 1px solid rgba(62, 196, 217, .22);
    backdrop-filter: blur(18px);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, .35);
  }
  .mobile-tabbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    position: static;
  }
  .mobile-tabbar__item {
    position: relative;
    appearance: none;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 56px;
    padding: 6px 4px;
    border-radius: 12px;
    color: var(--muted);
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-tabbar__item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
  .mobile-tabbar__item.active {
    color: var(--brand-2);
    background: rgba(47, 208, 160, .1);
  }
  .mobile-tabbar__item--cta {
    color: var(--brand-2);
    background: rgba(47, 208, 160, .1);
    border: 1px solid rgba(47, 208, 160, .24);
  }
  .mobile-tabbar__item:focus-visible {
    outline: 2px solid rgba(62, 196, 217, .65);
    outline-offset: 2px;
  }
  .mobile-tabbar__badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 22px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--brand-2);
    color: #05101d;
    font-size: 10px;
    font-weight: 900;
    display: grid;
    place-items: center;
  }
  .mobile-tabbar__badge[hidden] { display: none !important; }

  .install-hint:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    z-index: 35;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(62, 196, 217, .3);
    background: rgba(8, 18, 28, .96);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
    backdrop-filter: blur(12px);
  }
  .install-hint__text {
    margin: 0;
    flex: 1;
    font-size: .8rem;
    font-weight: 700;
    color: var(--muted);
    line-height: 1.3;
  }
  .install-hint__go {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 8px 12px;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #05101d;
    white-space: nowrap;
  }
  .install-hint__x {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
  }

  .cart-drawer,
  .prefs-drawer {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .deal-board { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root {
    --mobile-gutter: clamp(16px, 4vw, 20px);
  }
  body {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
  }
  .searchbar input {
    font-size: 16px;
  }
  .prefs-drawer input,
  .prefs-drawer select {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .searchbar { padding-left: 10px; }
  .searchbar button { padding-inline: 14px; }
  .brand__text small { display: none; }
  .suggest { grid-template-columns: 1fr 1fr 1fr; }
}

/* Desktop: never show install hint / tabbar */
@media (min-width: 901px) {
  .mobile-dock,
  .mobile-tabbar { display: none !important; }
  .install-hint { display: none !important; }
}

