/* =========================================================
   MM Store — catálogo
   Azul-petróleo da marca em áreas inteiras, neutros levemente
   tingidos, verde do WhatsApp só no botão de comprar.
   ========================================================= */

:root {
  color-scheme: light;
  --brand: #007f9e;
  --brand-800: #004b5d;
  --brand-700: #00586d;
  --brand-600: #006b85;
  --brand-400: #1898b7;
  --brand-200: #a7d9e6;
  --brand-100: #d4eef5;
  --brand-50: #edf8fb;
  --on-brand: #ffffff;
  --on-brand-2: #d2ecf3;
  --on-brand-3: #a3d4e3;

  --bg: #f2f5f6;
  --surface: #ffffff;
  --tile: #eef2f3;
  --tile-2: #e3e9eb;
  --line: #dce4e7;
  --line-2: #c6d2d6;
  --ink: #0c1d24;
  --ink-2: #2a3c44;
  --muted: #566a73;
  --faint: #65777f;

  --wa: #25d366;
  --wa-hover: #1ec25b;
  --wa-ink: #04361a;
  --deal: #c4361c;
  --deal-50: #fdece7;
  --warn: #855600;
  --warn-50: #fff3d9;
  --ok: #13784a;
  --ok-50: #e2f4ea;
  --love: #d8325a;

  --r-s: 12px;
  --r-m: 16px;
  --r-l: 20px;
  --r-xl: 28px;
  --sh-1: 0 1px 2px rgb(12 29 36 / 0.05), 0 2px 8px rgb(12 29 36 / 0.05);
  --sh-2: 0 2px 4px rgb(12 29 36 / 0.05), 0 14px 30px -12px rgb(12 29 36 / 0.22);
  --sh-float: 0 22px 48px -20px rgb(0 44 56 / 0.6);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 16px;
  --wrap: 1200px;
  --top-h: 64px;
}

[data-theme='dark'] {
  color-scheme: dark;
  --brand: #0a8db0;
  --brand-800: #023947;
  --brand-700: #064556;
  --brand-600: #3db3d3;
  --brand-50: #0f2a33;
  --brand-100: #12343f;
  --brand-200: #1d5263;
  --bg: #071317;
  --surface: #0e1d23;
  --tile: #14262d;
  --tile-2: #1b2f37;
  --line: #1d3139;
  --line-2: #2a434c;
  --ink: #e6f1f4;
  --ink-2: #c2d3d8;
  --muted: #8ba2aa;
  --faint: #6a8189;
  --deal: #ff6a4d;
  --deal-50: #3a1a14;
  --warn: #f3b43c;
  --warn-50: #33270f;
  --ok: #4fd18f;
  --ok-50: #10301f;
  --sh-1: 0 1px 2px rgb(0 0 0 / 0.35);
  --sh-2: 0 14px 30px -12px rgb(0 0 0 / 0.6);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 112px);
}
html.has-sheet {
  overflow: hidden;
}
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
a {
  color: var(--brand-600);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
::selection {
  background: var(--brand-200);
  color: var(--ink);
}
:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 2px;
  border-radius: 8px;
}
input,
textarea {
  caret-color: var(--brand);
}
.i {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.tnum {
  font-variant-numeric: tabular-nums;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.noscript {
  padding: 24px;
  text-align: center;
}
@media (min-width: 760px) {
  :root {
    --gutter: 24px;
  }
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--r-m);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.15;
  text-decoration: none;
  text-align: center;
  transition:
    background-color 0.15s,
    box-shadow 0.15s,
    transform 0.12s var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn .i {
  width: 20px;
  height: 20px;
}
.btn--lg {
  min-height: 52px;
  font-size: 16px;
}
.btn--block {
  width: 100%;
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--ink-2);
}
.btn--wa {
  background: var(--wa);
  color: var(--wa-ink);
}
.btn--wa:hover {
  background: var(--wa-hover);
}
.btn--wa .i {
  width: 22px;
  height: 22px;
}
.btn--light {
  background: #fff;
  color: var(--brand-700);
}
.btn--light:hover {
  background: var(--brand-50);
}
.btn--ghost-light {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.38);
}
.btn--ghost-light:hover {
  background: rgb(255 255 255 / 0.18);
}
.btn--outline {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn--outline:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink-2);
}
.btn--square {
  width: 52px;
  padding: 0;
  flex: none;
}
.btn.is-busy {
  pointer-events: none;
  opacity: 0.75;
}
.btn[aria-pressed='true'] .i {
  color: var(--love);
}
.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  transition:
    background-color 0.15s,
    transform 0.12s var(--ease);
}
.icon-btn:hover {
  background: rgb(12 29 36 / 0.06);
}
[data-theme='dark'] .icon-btn:hover {
  background: rgb(255 255 255 / 0.08);
}
.icon-btn:active {
  transform: scale(0.93);
}
.icon-btn .i {
  width: 22px;
  height: 22px;
}
.text-btn {
  border: 0;
  background: none;
  padding: 10px 8px;
  font-weight: 600;
  color: var(--brand-600);
}
.link {
  font-weight: 600;
  font-size: 14.5px;
}
.pill-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.pill-btn .i {
  width: 18px;
  height: 18px;
}
.pill-btn.is-active {
  box-shadow: inset 0 0 0 1.5px var(--ink);
  color: var(--ink);
}

/* ---------- Aviso no topo ---------- */

.notice {
  background: var(--brand-800);
  color: var(--on-brand);
  font-size: 13.5px;
  line-height: 1.35;
  text-align: center;
  padding: 9px var(--gutter);
}
.notice a {
  color: #fff;
  font-weight: 600;
}

/* ---------- Topo ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(242 245 246 / 0.92);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
}
.topbar__in {
  height: var(--top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.brand__badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.brand__name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar__actions {
  display: flex;
  gap: 4px;
}
.badge-count {
  position: absolute;
  top: 5px;
  right: 4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--bg);
}
.badge-count.is-bump {
  animation: bump 0.4s var(--ease);
}
@keyframes bump {
  40% {
    transform: scale(1.3);
  }
}

/* ---------- Hero (área azul da marca) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  margin: 4px auto 0;
  border-radius: var(--r-xl);
  color: var(--on-brand);
  background: linear-gradient(165deg, #2a99b3 0%, var(--brand) 42%, var(--brand-700) 100%);
  background: linear-gradient(165deg, color-mix(in srgb, var(--brand) 82%, #fff) 0%, var(--brand) 42%, var(--brand-700) 100%);
}
.hero__in.wrap {
  max-width: none;
  padding: 26px 20px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.hero__copy,
.hero__spot {
  min-width: 0;
}
.hero__mark {
  position: absolute;
  z-index: -1;
  right: -22%;
  bottom: -12%;
  width: 118%;
  max-width: 820px;
  height: auto;
  opacity: 0.09;
  transform: rotate(-9deg);
  pointer-events: none;
  user-select: none;
}
.hero__title {
  font-size: clamp(30px, 8.4vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.hero__title .w {
  display: inline-block;
  animation: rise 0.7s var(--ease) both;
  animation-delay: calc(var(--i) * 55ms);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.hero__sub {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--on-brand-2);
  max-width: 44ch;
}
.facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
}
.facts .i {
  width: 18px;
  height: 18px;
  color: var(--on-brand-3);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.hero__ctas .btn {
  flex: 1 1 auto;
}
.hero.has-spot [data-action='goto-products'] {
  display: none;
}

/* destaque dentro do hero: produto real, com botão que já funciona */
.spot {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  padding: 12px;
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-float);
  animation: spot-in 0.8s var(--ease) 0.12s both;
}
@keyframes spot-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
}
.spot__media {
  grid-row: span 2;
  aspect-ratio: 1;
  border-radius: 16px;
  background: var(--tile);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  padding: 0;
}
.spot__media img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}
.spot__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-600);
}
.spot__label.is-deal {
  color: var(--deal);
}
.spot__label .i {
  width: 16px;
  height: 16px;
}
.spot__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 2px;
}
.spot__info {
  min-width: 0;
  align-self: start;
}
.spot__price {
  align-self: end;
}
.spot__actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.spot__actions .btn--wa {
  flex: 1;
}

@media (min-width: 900px) {
  .hero__in.wrap {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 40px;
    padding: 56px 56px;
  }
  .hero__mark {
    width: 70%;
    right: -6%;
    bottom: -18%;
  }
  .spot {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .spot__media {
    grid-row: auto;
    aspect-ratio: 5 / 4;
  }
  .spot__info {
    padding: 4px 6px 0;
  }
  .spot__price {
    padding: 0 6px;
  }
  .spot__name {
    font-size: 18px;
  }
}

/* ---------- Seções ---------- */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 40px 0 14px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-title .i {
  width: 22px;
  height: 22px;
  color: var(--deal);
}
.section-note {
  color: var(--muted);
  font-size: 14px;
}
.rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 18px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail > * {
  flex: 0 0 min(80%, 330px);
  scroll-snap-align: start;
}
@media (min-width: 1248px) {
  .rail {
    padding-inline: calc((100vw - var(--wrap)) / 2 + var(--gutter));
    scroll-padding-inline: calc((100vw - var(--wrap)) / 2 + var(--gutter));
  }
}

/* ---------- Campanhas ---------- */

.banners .rail > * {
  flex-basis: min(88%, 560px);
}
.banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: 168px;
  padding: 20px;
  border-radius: var(--r-l);
  color: #fff;
  text-decoration: none;
  background: var(--brand-700);
}
.banner__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 30 38 / 0) 30%, rgb(0 30 38 / 0.65) 100%);
}
.banner__title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
}
.banner__text {
  margin-top: 4px;
  font-size: 14.5px;
  color: rgb(255 255 255 / 0.88);
}
.banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 14.5px;
}
.banner__cta .i {
  width: 18px;
  height: 18px;
}
.banner .countdown {
  justify-self: start;
  margin-bottom: 10px;
  background: rgb(0 0 0 / 0.28);
  color: #fff;
}

/* ---------- Filtros ---------- */

.shop {
  margin-top: 8px;
}
.filters {
  position: sticky;
  top: var(--top-h);
  z-index: 30;
  padding: 10px 0 10px;
  background: rgb(242 245 246 / 0.95);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
}
.filters.is-stuck {
  box-shadow: 0 1px 0 var(--line);
}
.cats,
.lines {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter));
  padding: 2px var(--gutter) 8px;
}
.cats::-webkit-scrollbar,
.lines::-webkit-scrollbar {
  display: none;
}
.cat {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.cat .i {
  width: 19px;
  height: 19px;
}
.cat[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
  box-shadow: none;
}
.cat__n {
  font-size: 12px;
  font-weight: 500;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.cat[aria-pressed='true'] .cat__n {
  color: color-mix(in srgb, var(--bg) 70%, transparent);
}
.lines {
  padding-bottom: 6px;
}
.line {
  flex: none;
  height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.line[aria-pressed='true'] {
  background: var(--brand-50);
  color: var(--brand-700);
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
[data-theme='dark'] .line[aria-pressed='true'] {
  color: var(--brand-600);
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.seg {
  position: relative;
  display: flex;
  flex: 1;
  min-width: 0;
  padding: 3px;
  border-radius: 999px;
  background: var(--tile-2);
  overflow-x: auto;
  scrollbar-width: none;
}
.seg::-webkit-scrollbar {
  display: none;
}
.seg__thumb {
  position: absolute;
  z-index: 0;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgb(12 29 36 / 0.14);
  transition:
    transform 0.35s var(--ease),
    width 0.35s var(--ease);
}
.seg__btn {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s;
}
.seg__btn[aria-checked='true'] {
  color: var(--ink);
  font-weight: 600;
}

.results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 12px;
}
.results-count {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- Grade de produtos ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 720px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (min-width: 1060px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px 8px 14px;
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--sh-1);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.card.is-new {
  animation: card-in 0.45s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 35ms);
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-2);
  }
  .card:hover .card__media img {
    transform: scale(1.04);
  }
}
.card__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.card__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--tile);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.card__media img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  transition:
    transform 0.45s var(--ease),
    opacity 0.3s;
}
.card__media img.is-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__media img.is-loading {
  opacity: 0;
}
.card__tags {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  right: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  pointer-events: none;
}
.card__fav {
  position: absolute;
  z-index: 2;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
}
.card__fav span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgb(255 255 255 / 0.92);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 1px 3px rgb(12 29 36 / 0.12);
  transition: transform 0.15s var(--ease);
}
.card__fav:active span {
  transform: scale(0.88);
}
.card__fav .i {
  width: 19px;
  height: 19px;
}
.card__fav[aria-pressed='true'] {
  color: var(--love);
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 3px;
  padding: 10px 6px 0;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 18px;
  font-size: 12.5px;
  color: var(--muted);
}
.card__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.card__specs {
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}
.card__dots {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.card__dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14);
}
.card__dots em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 12px;
}
.card__price {
  margin-top: auto;
  padding-top: 10px;
}
.card.is-sold .card__media img {
  opacity: 0.45;
  filter: grayscale(0.6);
}

/* preço */
.price-old {
  font-size: 12.5px;
  color: var(--faint);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
}
.price-from {
  font-size: 12px;
  color: var(--muted);
}
.price-now {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.price-now.is-deal {
  color: var(--deal);
}
.price-pix {
  font-size: 12.5px;
  color: var(--muted);
}
.price-inst {
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.price-ask {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}

/* etiquetas */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  background: var(--surface);
  color: var(--ink-2);
}
.tag .i {
  width: 13px;
  height: 13px;
}
.tag--lacrado {
  background: var(--brand);
  color: #fff;
}
.tag--novo {
  background: var(--brand-100);
  color: var(--brand-700);
}
[data-theme='dark'] .tag--novo {
  color: #bfe9f4;
}
.tag--seminovo {
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.tag--deal {
  background: var(--deal);
  color: #fff;
}
.tag--off {
  background: var(--deal-50);
  color: var(--deal);
}
.tag--badge {
  background: var(--ink);
  color: var(--bg);
}
.tag--reservado {
  background: var(--warn-50);
  color: var(--warn);
}
.tag--vendido {
  background: var(--ink-2);
  color: var(--bg);
}

/* bateria */
.batt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.batt svg {
  width: 22px;
  height: 12px;
}
.batt--good {
  color: var(--ok);
}
.batt--mid {
  color: var(--warn);
}
.batt--low {
  color: var(--deal);
}

/* contador regressivo */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--deal-50);
  color: var(--deal);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.countdown .i {
  width: 15px;
  height: 15px;
}

/* esqueleto de carregamento */
.card--skeleton {
  min-height: 296px;
  background: linear-gradient(100deg, var(--surface) 30%, var(--tile) 50%, var(--surface) 70%) 0 0 / 250% 100%;
  animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -150% 0;
  }
}

.more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 40px 20px;
  text-align: center;
  border-radius: var(--r-l);
  background: var(--surface);
}
.empty__title {
  font-size: 18px;
  font-weight: 600;
}
.empty__text {
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 8px;
}
.update-note {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Faixa de troca ---------- */

.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  margin: 48px auto 0;
  border-radius: var(--r-xl);
  background: var(--brand-700);
  color: var(--on-brand);
}
.band__in.wrap {
  max-width: none;
  display: grid;
  gap: 18px;
  padding: 28px 22px;
}
.band__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.band__text {
  margin-top: 8px;
  color: var(--on-brand-2);
  max-width: 52ch;
}
.band__mark {
  position: absolute;
  z-index: -1;
  right: -60px;
  bottom: -46px;
  width: 300px;
  opacity: 0.1;
  transform: rotate(-10deg);
  pointer-events: none;
}
@media (min-width: 760px) {
  .band__in.wrap {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 44px 48px;
  }
  .band__mark {
    width: 420px;
    right: 6%;
  }
}

/* ---------- Como comprar + dúvidas ---------- */

.info.wrap {
  display: grid;
  gap: 40px;
  margin-top: 52px;
}
@media (min-width: 920px) {
  .info.wrap {
    grid-template-columns: 0.9fr 1.3fr;
    gap: 56px;
  }
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
}
.steps li::before {
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-100);
  color: var(--brand-700);
  font-weight: 700;
  font-size: 15px;
}
[data-theme='dark'] .steps li::before {
  color: #bfe9f4;
}
.steps strong {
  display: block;
  font-weight: 600;
  line-height: 1.3;
  padding-top: 6px;
}
.steps span {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: var(--muted);
}
.faq {
  margin-top: 14px;
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--sh-1);
}
.faq details + details {
  border-top: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .i {
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary .i {
  transform: rotate(180deg);
}
.faq details p {
  padding: 0 18px 18px;
  color: var(--ink-2);
}

/* ---------- Depoimentos ---------- */

.review {
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--sh-1);
}
.review__stars {
  display: flex;
  gap: 2px;
  color: #e3a008;
}
.review__stars .i {
  width: 16px;
  height: 16px;
}
.review__text {
  font-size: 15.5px;
  color: var(--ink-2);
}
.review__name {
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Loja ---------- */

.store.wrap {
  margin-top: 52px;
}
.store__body {
  margin-top: 14px;
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--sh-1);
}
@media (min-width: 760px) {
  .store__body {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 24px 28px;
  }
}
.store__rows {
  display: grid;
  gap: 12px;
}
.store__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.store__row .i {
  margin-top: 2px;
  color: var(--brand-600);
}
.store__row b {
  display: block;
  font-weight: 600;
}
.store__row span {
  color: var(--muted);
  font-size: 15px;
}
.store__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Rodapé ---------- */

.footer {
  margin-top: 56px;
  background: var(--brand);
  color: var(--on-brand);
  padding: 36px 0 calc(104px + env(safe-area-inset-bottom));
}
.footer__mark {
  width: 116px;
  height: auto;
}
.footer__note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--on-brand-2);
  max-width: 60ch;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.footer__links .i {
  width: 18px;
  height: 18px;
}
.footer__admin {
  display: inline-block;
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--on-brand-3);
}

/* ---------- Botão flutuante do WhatsApp ---------- */

.wa-fab {
  position: fixed;
  z-index: 35;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 28px;
  background: var(--wa);
  color: var(--wa-ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 10px 26px -8px rgb(4 54 26 / 0.55);
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s;
}
.wa-fab .i {
  width: 26px;
  height: 26px;
}
.wa-fab:active {
  transform: scale(0.95);
}
.wa-fab.is-compact {
  width: 56px;
  padding: 0;
  justify-content: center;
}
.wa-fab.is-compact .wa-fab__label {
  display: none;
}
html.has-sheet .wa-fab {
  opacity: 0;
  pointer-events: none;
}

/* ---------- Painéis (bottom sheet no celular, janela no computador) ---------- */

dialog.sheet {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  color: var(--ink);
}
dialog.sheet::backdrop {
  background: rgb(4 18 24 / 0);
  transition: background-color 0.3s;
}
dialog.sheet.is-open::backdrop {
  background: rgb(4 18 24 / 0.46);
}
.sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 28px);
  border-radius: 28px 28px 0 0;
  background: var(--surface);
  transform: translateY(102%);
  transition: transform 0.5s var(--ease-sheet);
  will-change: transform;
}
.sheet.is-open .sheet__panel {
  transform: translateY(0);
}
.sheet.is-closing .sheet__panel {
  transition-duration: 0.3s;
}
.sheet.is-dragging .sheet__panel {
  transition: none;
}
.sheet__grab {
  flex: none;
  display: grid;
  place-items: center;
  height: 24px;
  touch-action: none;
  cursor: grab;
}
.sheet__grab span {
  width: 40px;
  height: 5px;
  border-radius: 3px;
  background: var(--line-2);
}
.sheet__head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px 8px 20px;
}
.sheet__title {
  font-size: 20px;
  font-weight: 700;
}
.sheet__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px 20px 24px;
}
.sheet__scroll:last-child {
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}
.sheet__close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 14px;
  background: rgb(255 255 255 / 0.9);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 1px 4px rgb(12 29 36 / 0.16);
  border-radius: 50%;
}
.buybar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.buybar .btn--wa {
  flex: 1;
}
.buybar:empty {
  display: none;
}

@media (min-width: 760px) {
  .sheet__panel {
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    width: min(540px, calc(100vw - 48px));
    max-height: min(86dvh, 820px);
    border-radius: 28px;
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
    transition:
      transform 0.28s var(--ease),
      opacity 0.28s var(--ease);
  }
  .sheet.is-open .sheet__panel {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  .sheet.is-closing .sheet__panel {
    transition-duration: 0.16s;
  }
  .sheet--product .sheet__panel {
    width: min(1000px, calc(100vw - 48px));
  }
  .sheet__grab {
    height: 16px;
  }
  .sheet__grab span {
    display: none;
  }
  .buybar {
    padding-bottom: 14px;
  }
}

/* busca: ocupa a tela toda */
.sheet--search .sheet__panel {
  top: 0;
  bottom: 0;
  max-height: none;
  border-radius: 0;
  transform: translateY(-14px);
  opacity: 0;
  transition:
    transform 0.28s var(--ease),
    opacity 0.28s var(--ease);
}
.sheet--search.is-open .sheet__panel {
  transform: none;
  opacity: 1;
}
@media (min-width: 760px) {
  .sheet--search .sheet__panel {
    top: 8vh;
    bottom: auto;
    max-height: 80dvh;
    width: min(680px, calc(100vw - 48px));
    border-radius: 24px;
    transform: translate(-50%, -12px);
  }
  .sheet--search.is-open .sheet__panel {
    transform: translate(-50%, 0);
  }
}
.search-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 10px 10px 18px;
  border-bottom: 1px solid var(--line);
}
.search-bar > .i {
  color: var(--muted);
}
.search-bar input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 17px;
}
.search-bar input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.s-group {
  margin-top: 16px;
}
.s-group__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.s-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.s-chip {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--tile);
  font-size: 14.5px;
  color: var(--ink-2);
}
.s-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.s-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  text-align: left;
}
.s-item:hover {
  background: var(--tile);
}
.s-item__img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--tile);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.s-item__img img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}
.s-item__name {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.s-item__sub {
  font-size: 13px;
  color: var(--muted);
}
.s-item__price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.s-empty {
  padding: 28px 4px;
  color: var(--muted);
}

/* ---------- Detalhe do produto ---------- */

.pd {
  display: grid;
  gap: 18px;
}
@media (min-width: 760px) {
  .sheet--product .sheet__scroll {
    padding: 8px 28px 28px;
  }
  .pd {
    grid-template-columns: 1.05fr 1fr;
    gap: 32px;
    align-items: start;
  }
  .pd__gallery {
    position: sticky;
    top: 0;
  }
}
.gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 24px;
  background: var(--tile);
}
.gallery__track::-webkit-scrollbar {
  display: none;
}
.gallery__slide {
  flex: 0 0 100%;
  aspect-ratio: 1;
  scroll-snap-align: center;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery__slide img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}
.gallery__slide img.is-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 6px;
}
.gallery__dots button {
  position: relative;
  width: 24px;
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
}
.gallery__dots button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--line-2);
  transform: translate(-50%, -50%);
  transition:
    width 0.25s var(--ease),
    background-color 0.25s;
}
.gallery__dots button[aria-current='true']::before {
  width: 18px;
  background: var(--ink);
}
.gallery__note {
  margin-top: 4px;
  text-align: center;
  font-size: 12px;
  color: var(--faint);
}
.pd__info {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.pd__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pd__title {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.pd__sub {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}
.pd__price {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--bg);
}
.pd__price .price-now {
  font-size: 32px;
  letter-spacing: -0.03em;
}
.pd__price .price-inst {
  font-size: 14.5px;
  color: var(--ink-2);
}
.pd__price .countdown {
  justify-self: start;
  margin-bottom: 4px;
}
.inst-toggle {
  justify-self: start;
  margin-top: 2px;
  padding: 6px 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-600);
}
.inst-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  margin-top: 6px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.inst-table div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink-2);
}
.inst-table b {
  font-weight: 600;
  color: var(--ink);
}
.inst-note {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.opt-group {
  display: grid;
  gap: 10px;
}
.opt-label {
  font-size: 14.5px;
  font-weight: 600;
}
.opt-label span {
  font-weight: 400;
  color: var(--muted);
}
.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.opt {
  display: grid;
  align-content: center;
  min-height: 52px;
  min-width: 84px;
  padding: 6px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line);
  text-align: left;
  transition: box-shadow 0.15s;
}
.opt b {
  font-size: 15px;
  font-weight: 600;
}
.opt small {
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.opt[aria-checked='true'] {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.opt:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.swatch {
  position: relative;
  width: 36px;
  height: 36px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14);
}
.swatch[aria-checked='true']::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--ink);
}
.specs {
  border-radius: 20px;
  background: var(--bg);
}
.spec {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
}
.spec + .spec {
  border-top: 1px solid var(--line);
}
.spec > .i {
  color: var(--brand-600);
}
.spec__k {
  font-size: 13px;
  color: var(--muted);
}
.spec__v {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
.spec__bar {
  width: 100%;
  height: 6px;
  margin-top: 6px;
  border-radius: 3px;
  background: var(--tile-2);
  overflow: hidden;
}
.spec__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
}
.pd__desc {
  color: var(--ink-2);
  white-space: pre-line;
}
.pd__bullets {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
  color: var(--ink-2);
}
.hint {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 18px;
  background: var(--brand-50);
  color: var(--brand-700);
  text-align: left;
}
[data-theme='dark'] .hint {
  color: #bfe9f4;
}
.hint > .i:first-child {
  width: 24px;
  height: 24px;
}
.hint b {
  display: block;
  font-weight: 600;
}
.hint span {
  font-size: 14px;
  color: var(--ink-2);
}
.hint .i:last-child {
  margin-left: auto;
}

/* números do preço que deslizam ao trocar de opção */
.roll {
  display: inline-flex;
  overflow: hidden;
  vertical-align: bottom;
}
.roll.is-rolling > span {
  animation: roll-in 0.38s var(--ease) both;
}
@keyframes roll-in {
  from {
    opacity: 0;
    transform: translateY(0.55em);
  }
}

/* ---------- Minha lista ---------- */

.li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
}
.li + .li {
  border-top: 1px solid var(--line);
}
.li__img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--tile);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.li__img img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}
.li__name {
  font-weight: 600;
  line-height: 1.3;
}
.li__sub {
  font-size: 13px;
  color: var(--muted);
}
.li__price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.list-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0 4px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.list-total b {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Formulários ---------- */

.form {
  display: grid;
  gap: 16px;
  align-content: start;
}
.field {
  display: grid;
  gap: 6px;
}
.field__label {
  font-size: 14px;
  font-weight: 600;
}
.field__hint {
  font-size: 13px;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 16px;
  outline: 0;
  transition: box-shadow 0.15s;
}
.field textarea {
  resize: vertical;
  line-height: 1.45;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow: inset 0 0 0 2px var(--brand);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 21px,
    calc(100% - 15px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
}
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 14.5px;
  font-weight: 500;
}
.choice input:checked + span {
  background: var(--ink);
  color: var(--bg);
  box-shadow: none;
}
.choice input:focus-visible + span {
  outline: 2.5px solid var(--brand);
  outline-offset: 2px;
}
.range-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.range-row input[type='range'] {
  flex: 1;
  accent-color: var(--brand);
  min-height: 0;
  padding: 0;
  box-shadow: none;
  background: none;
}
.range-row output {
  min-width: 64px;
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}

/* ---------- Visualizador de foto ---------- */

dialog.viewer {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
}
dialog.viewer::backdrop {
  background: #000;
}
dialog.viewer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.viewer__close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: 12px;
  z-index: 2;
  background: rgb(255 255 255 / 0.9);
  border-radius: 50%;
  color: #0c1d24;
}

/* ---------- Aviso rápido ---------- */

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: var(--sh-2);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.2s,
    transform 0.3s var(--ease);
  pointer-events: none;
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.12s !important;
  }
  .card:hover,
  .card:hover .card__media img {
    transform: none;
  }
  .sheet__panel {
    transition-property: opacity !important;
  }
}

/* ---------- Destaques (como os do Instagram da loja) ---------- */

.hl {
  margin-top: 18px;
}
.hl__track {
  display: flex;
  gap: 12px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 4px var(--gutter) 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.hl__track::-webkit-scrollbar {
  display: none;
}
.hl__item {
  flex: none;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 74px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-decoration: none;
}
.hl__ring {
  width: 68px;
  height: 68px;
  padding: 2.5px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background-color 0.2s;
}
.hl__item[aria-pressed='true'] .hl__ring {
  background: var(--ink);
}
.hl__disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 38%, var(--brand-400), var(--brand) 62%, var(--brand-700));
  color: #fff;
  box-shadow: inset 0 0 0 3px var(--bg);
  transition: transform 0.15s var(--ease);
}
.hl__disc .i {
  width: 26px;
  height: 26px;
}
.hl__item:active .hl__disc {
  transform: scale(0.93);
}
.hl__label {
  max-width: 76px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}
@media (min-width: 760px) {
  .hl__track {
    gap: 18px;
  }
}

/* ---------- Sem foto ---------- */

.ph {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  color: var(--faint);
}
.ph .i {
  width: 34%;
  max-width: 64px;
  height: auto;
  aspect-ratio: 1;
  opacity: 0.55;
}
.ph small {
  font-size: 12px;
}

/* ---------- Extras do detalhe ---------- */

.pd__h {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.pd__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--tile);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.chip-btn .i {
  width: 18px;
  height: 18px;
}
.chip-btn[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
}
.pd__note {
  font-size: 12.5px;
  color: var(--faint);
}
.s-empty .i {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
}
.btn.is-disabled {
  opacity: 0.5;
}

/* ---------- Estimativa da troca ---------- */

.estimate {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--ok-50);
  color: var(--ok);
}
.estimate b {
  font-size: 17px;
}
.estimate span {
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- Comparador ---------- */

@media (min-width: 760px) {
  .sheet--wide .sheet__panel {
    width: min(980px, calc(100vw - 48px));
  }
}
.cmp {
  margin-inline: -20px;
  padding-inline: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.cmp__row {
  display: grid;
  grid-template-columns: 88px repeat(var(--n), minmax(138px, 1fr));
  gap: 10px;
  align-items: start;
  min-width: calc(88px + var(--n) * 148px);
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.cmp__k {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.cmp__cell {
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.4;
}
.cmp__cell small {
  color: var(--muted);
}
.cmp__head .cmp__cell {
  display: grid;
  gap: 6px;
  justify-items: start;
}
.cmp__img {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--tile);
}
.cmp__img img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}
.cmp__img img.is-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cmp__name {
  font-size: 14.5px;
  line-height: 1.25;
}
.cmp__head .text-btn {
  padding: 4px 0;
  font-size: 13.5px;
}
.cmp__na {
  color: var(--faint);
}
.cmp__foot {
  border-bottom: 0;
}
.cmp__foot .btn {
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
}
.cmp-pick {
  margin-top: 18px;
}
.cmp-note {
  color: var(--muted);
  margin-bottom: 4px;
}
.cmp-bar {
  position: fixed;
  z-index: 34;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 104px);
  height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 24px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: var(--sh-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmp-bar:not([hidden]) ~ .wa-fab .wa-fab__label,
html.has-cmp .wa-fab__label {
  display: none;
}
html.has-cmp .wa-fab {
  width: 56px;
  padding: 0;
  justify-content: center;
}
html.has-sheet .cmp-bar {
  opacity: 0;
  pointer-events: none;
}

.spot__price .countdown {
  margin-top: 8px;
}
@media (max-width: 899px) {
  .facts {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -20px;
    padding-inline: 20px;
  }
  .facts::-webkit-scrollbar {
    display: none;
  }
  .facts li {
    flex: none;
  }
}

.section-head {
  flex-wrap: wrap;
  row-gap: 2px;
}
.section-title {
  flex: none;
}
@media (max-width: 440px) {
  .pill-btn #sortLabel {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .pill-btn {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
  .pill-btn.is-active::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
  }
  .pill-btn {
    position: relative;
  }
  .seg__btn {
    padding: 0 10px;
    font-size: 13px;
  }
}

/* =========================================================
   Opções da aba Design (painel)
   ========================================================= */

.is-off {
  display: none !important;
}

/* arredondamento */
[data-radius='reto'] {
  --r-s: 6px;
  --r-m: 8px;
  --r-l: 10px;
  --r-xl: 12px;
}
[data-radius='reto'] :is(.card__media, .spot, .spot__media, .gallery__track, .pd__price, .specs, .hint, .li__img, .s-item__img, .cmp__img, .estimate, .sheet__panel, .review, .faq, .store__body, .banner) {
  border-radius: 8px;
}
[data-radius='reto'] :is(.cat, .line, .seg, .seg__btn, .seg__thumb, .pill-btn, .tag, .facts li, .chip-btn, .s-chip, .choice span, .countdown, .btn, .wa-fab, .cmp-bar, .footer__links a, .field input, .field select, .field textarea) {
  border-radius: 6px;
}
[data-radius='redondo'] {
  --r-s: 16px;
  --r-m: 22px;
  --r-l: 28px;
  --r-xl: 36px;
}
[data-radius='redondo'] :is(.card__media, .spot__media, .gallery__track, .pd__price, .specs) {
  border-radius: 22px;
}
[data-radius='redondo'] .btn {
  border-radius: 999px;
}

/* estilo dos cards */
[data-cards='borda'] :is(.card, .faq, .store__body, .review) {
  box-shadow: inset 0 0 0 1px var(--line);
}
[data-cards='borda'] .card:hover {
  box-shadow:
    inset 0 0 0 1px var(--line-2),
    var(--sh-2);
}
[data-cards='plano'] .card {
  background: transparent;
  box-shadow: none;
  padding: 0 0 10px;
}
[data-cards='plano'] .card__media {
  background: var(--surface);
}
[data-cards='plano'] .card__body {
  padding-inline: 2px;
}
[data-cards='plano'] .card:hover {
  transform: none;
  box-shadow: none;
}

/* grade de 1 coluna (lista) no celular */
@media (max-width: 719px) {
  [data-cols='1'] .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-cols='1'] .grid .card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: center;
    gap: 0 12px;
    padding: 8px;
  }
  [data-cols='1'] .grid .card__body {
    padding: 4px 40px 4px 0;
  }
  [data-cols='1'] .grid .card__tags {
    right: 8px;
  }
  [data-cols='1'] .grid .card__price {
    padding-top: 6px;
  }
}

/* cor do botão de compra */
[data-buy='marca'] :is(.btn--wa, .wa-fab) {
  background: var(--brand);
  color: #fff;
}
[data-buy='marca'] .btn--wa:hover {
  background: var(--brand-600);
}
[data-buy='escuro'] :is(.btn--wa, .wa-fab) {
  background: var(--ink);
  color: var(--bg);
}

/* estilo do topo */
[data-hero='simples'] .hero {
  background: none;
  color: var(--ink);
}
[data-hero='simples'] .hero__in.wrap {
  padding-inline: 4px;
}
[data-hero='simples'] .hero__sub {
  color: var(--muted);
}
[data-hero='simples'] .facts li {
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
[data-hero='simples'] .facts .i {
  color: var(--brand-600);
}
[data-hero='simples'] .btn--ghost-light {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
[data-hero='simples'] .hero__mark {
  display: none;
}
[data-hero='simples'] .spot {
  box-shadow: var(--sh-2);
}
[data-hero='foto'] .hero {
  background: var(--brand-800) var(--hero-img, none) center / cover no-repeat;
}
[data-hero='foto'] .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 20 26 / 0.3), rgb(0 20 26 / 0.72));
}
[data-watermark='off'] :is(.hero__mark, .band__mark) {
  display: none;
}

.results-head {
  flex-wrap: wrap;
  row-gap: 2px;
}
.results-count .text-btn {
  padding: 4px 2px;
  font-size: 14px;
}

/* cards: "a partir de" em cima, preço + "à vista" juntos */
.card .price-from {
  flex-basis: 100%;
  line-height: 1.2;
}
.card .price-line {
  row-gap: 0;
}
