/* Vitrine Space — Design Dark Tech & Cosmic Orange */
:root {
  --bg: #070709;
  --surface: #111115;
  --surface-2: #18181e;
  --surface-3: #22222a;
  --ink: #f7f7f8;
  --muted: #9898a6;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #ff6a00;
  --accent-light: #ff8b2b;
  --accent-ink: #120600;
  --accent-soft: rgba(255, 106, 0, 0.14);
  --accent-glow: rgba(255, 106, 0, 0.28);
  --wa: #20bd5a;
  --wa-hover: #25d366;
  --photo-bg: #ffffff;
  --novo-bg: linear-gradient(135deg, #ff6a00, #ff8800);
  --novo-fg: #120600;
  --semi-bg: rgba(24, 24, 30, 0.88);
  --semi-fg: #f3f3f7;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 12px 34px -6px rgba(255, 106, 0, 0.22);
  --font-display: "Space Grotesk", "Avenir Next", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;
  color-scheme: dark;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1220px; margin: 0 auto; padding-inline: 18px; }
.num { font-variant-numeric: tabular-nums; }

/* Atmosfera de fundo */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 140vw);
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(255, 106, 0, 0.18) 0%, rgba(255, 70, 0, 0.05) 45%, transparent 72%);
  filter: blur(28px);
}
.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}

/* Cabeçalho / Hero */
.hero {
  position: relative;
  z-index: 1;
  padding-top: 26px;
  padding-bottom: 18px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 280px;
  min-width: 0;
}
.mark {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #000;
  padding: 2px;
  border: 2px solid rgba(255, 106, 0, 0.55);
  box-shadow: 0 0 28px rgba(255, 106, 0, 0.28), inset 0 0 12px rgba(255, 106, 0, 0.2);
  flex: none;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.mark:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 0 36px rgba(255, 106, 0, 0.45);
}
.mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.brand { min-width: 0; flex: 1; }
.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--accent-light);
  margin-bottom: 5px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.2);
  animation: pulseDot 2.2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: .75; }
}
.brand h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(23px, 3.8vw, 33px);
  letter-spacing: -.025em;
  line-height: 1.06;
  background: linear-gradient(180deg, #ffffff 0%, #d9d9e3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.98); }
.btn.ig {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn.ig:hover {
  border-color: var(--accent);
  background: rgba(255, 106, 0, 0.09);
  transform: translateY(-1px);
}
.btn.wa {
  background: linear-gradient(135deg, #25d366 0%, #179b48 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 20px -4px rgba(37, 211, 102, 0.45);
}
.btn.wa:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -3px rgba(37, 211, 102, 0.58);
}
.btn.secondary-btn {
  background: var(--surface-2);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn.secondary-btn:hover {
  border-color: var(--accent);
}

/* Selos de confiança no topo */
.stamp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.stamp-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}
.stamp-pill svg {
  width: 14px;
  height: 14px;
  color: var(--accent-light);
  flex: none;
}
.stamp-pill b {
  color: var(--ink);
  font-weight: 600;
}

/* Barra de busca e filtros */
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 7, 9, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
}
.bar-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.search {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.search:focus-within {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.16);
}
.search-ic {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: none;
  transition: color .18s;
}
.search:focus-within .search-ic { color: var(--accent); }
.search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  font-size: 15.5px;
}
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: var(--surface-3);
  color: var(--muted);
  font-size: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.search-clear:hover { color: var(--ink); background: rgba(255, 255, 255, 0.16); }

.row2 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.seg {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
}
.seg button {
  height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color .15s, background .15s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] {
  background: var(--surface-3);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.sort {
  height: 46px;
  padding: 0 34px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239898a6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center / 14px;
  -webkit-appearance: none;
  appearance: none;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s;
}
.sort:hover { border-color: rgba(255, 255, 255, 0.28); }

.cats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}
.cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  flex: 1;
}
.cats::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: #d8d8e2;
  font-weight: 600;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all .18s ease;
}
.chip svg {
  width: 15px;
  height: 15px;
  opacity: .75;
  flex: none;
}
.chip .n {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-weight: 600;
  font-size: 11.5px;
}
.chip:hover {
  border-color: rgba(255, 106, 0, 0.5);
  color: var(--ink);
  transform: translateY(-1px);
}
.chip[aria-pressed="true"] {
  background: linear-gradient(135deg, #ff6a00 0%, #ff8800 100%);
  border-color: transparent;
  color: var(--accent-ink);
  box-shadow: 0 4px 16px -3px rgba(255, 106, 0, 0.5);
}
.chip[aria-pressed="true"] svg { opacity: 1; }
.chip[aria-pressed="true"] .n {
  background: rgba(18, 6, 0, 0.18);
  color: var(--accent-ink);
}
.count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex: none;
}

/* Conteúdo principal e grade de produtos */
.main-content {
  position: relative;
  z-index: 1;
  padding-top: 22px;
  padding-bottom: 56px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (min-width: 1020px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}

.card {
  position: relative;
  text-align: left;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(25, 25, 32, 0.75) 0%, rgba(15, 15, 19, 0.95) 100%);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s ease, box-shadow .22s ease;
}
.card.is-featured {
  border-color: rgba(255, 106, 0, 0.28);
}
.card:hover {
  border-color: rgba(255, 106, 0, 0.65);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.pic {
  position: relative;
  aspect-ratio: 1;
  border-radius: 13px;
  background: var(--photo-bg);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 8px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.card:hover .pic img {
  transform: scale(1.05);
}
.pic.is-placeholder {
  background: radial-gradient(circle at 50% 35%, #23232e 0%, #131318 75%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.pic .ph {
  width: 54%;
  height: 54%;
  color: #7c7c8c;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
  transition: transform .3s ease, color .3s ease;
}
.card:hover .pic .ph {
  transform: scale(1.06) translateY(-2px);
  color: var(--accent-light);
}

.badges {
  position: absolute;
  top: 9px;
  left: 9px;
  right: 9px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}
.badge {
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.b-Novo {
  background: var(--novo-bg);
  color: var(--novo-fg);
}
.b-Seminovo {
  background: var(--semi-bg);
  color: var(--semi-fg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}
.b-destaque {
  background: rgba(17, 17, 21, 0.86);
  color: #ffb067;
  border: 1px solid rgba(255, 106, 0, 0.4);
  backdrop-filter: blur(6px);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 4px 2px;
  min-width: 0;
}
.card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent-light);
  margin-bottom: 3px;
}
.card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.24;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
  color: var(--ink);
}
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
  min-height: 20px;
}
.card .meta {
  color: var(--muted);
  font-size: 12.5px;
}
.dots {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  flex: none;
  display: inline-block;
}
.dot-more {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
  margin-left: 2px;
}

.from {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.from-price { min-width: 0; }
.from small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  margin-bottom: 1px;
}
.from strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.15;
}
.from .inst {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.from .inst b {
  color: #d6d6e0;
  font-weight: 600;
}
.card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  place-items: center;
  flex: none;
  transition: all .2s ease;
}
.card-arrow svg { width: 15px; height: 15px; }
.card:hover .card-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translateX(2px);
}

/* Estado vazio */
.empty {
  grid-column: 1 / -1;
  padding: 64px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: 22px;
  background: rgba(17, 17, 21, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.empty-ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 106, 0, 0.3);
  color: var(--accent-light);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.empty-ic svg { width: 26px; height: 26px; }
.empty h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}
.empty p {
  margin: 0;
  max-width: 440px;
  color: var(--muted);
  font-size: 14.5px;
}
.empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

/* Banner de Assistência Técnica */
.assist-banner {
  margin-top: 38px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 106, 0, 0.28);
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 106, 0, 0.16) 0%, transparent 55%),
    linear-gradient(135deg, rgba(24, 24, 31, 0.95) 0%, rgba(14, 14, 18, 0.98) 100%);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.assist-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 106, 0, 0.35);
  color: var(--accent-light);
  display: grid;
  place-items: center;
  flex: none;
}
.assist-icon svg { width: 28px; height: 28px; }
.assist-copy {
  flex: 1 1 280px;
  min-width: 0;
}
.assist-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-light);
  margin-bottom: 4px;
}
.assist-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 22px);
  letter-spacing: -.015em;
}
.assist-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.assist-cta {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  box-shadow: 0 6px 20px -4px rgba(255, 106, 0, 0.5);
}
.assist-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* Rodapé */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(10, 10, 13, 0.9);
  padding: 40px 0 100px;
  color: var(--muted);
  font-size: 13.5px;
}
footer .wrap {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.foot-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 106, 0, 0.45);
  object-fit: cover;
}
.foot-sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.foot-aviso {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 13px;
}
footer h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
}
.foot-head h4 { margin: 0; }
footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.pay-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-right: 4px;
}
.pay-badge.pix-b {
  background: #0d3a2e;
  border-color: #196b54;
  color: #7fe3c4;
}
.foot-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 3px;
}
.foot-link:hover { color: var(--accent-light); text-decoration-color: var(--accent-light); }
.accent-link { color: var(--accent-light); font-weight: 600; }
footer .fine {
  grid-column: 1 / -1;
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.admin-discreet {
  color: var(--muted);
  text-decoration: none;
  opacity: .65;
}
.admin-discreet:hover { opacity: 1; color: var(--ink); }

/* Botão flutuante WhatsApp */
.fab {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #169c46 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(32, 189, 90, 0.45), 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 15;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 34px rgba(32, 189, 90, 0.6);
}
.fab svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 640px) {
  .fab { width: 56px; padding: 0; justify-content: center; }
  .fab-label { display: none; }
}

/* Modal / Folha do Produto */
.sheet-bg {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(3, 3, 5, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  animation: fadeBg .18s ease;
}
@keyframes fadeBg { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  background: var(--surface);
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  animation: sheetIn .24s cubic-bezier(.2,.8,.2,1);
}
@keyframes sheetIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sheet-head {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  background: rgba(17, 17, 21, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.sheet-head .t {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  flex: none;
  transition: border-color .15s, background .15s, transform .15s;
}
.icon-btn:hover {
  border-color: var(--accent);
  background: var(--surface-3);
}
.icon-btn svg { width: 18px; height: 18px; }

.sheet-body {
  padding: 18px;
  display: grid;
  gap: 22px;
}
.sheet-pic .pic {
  border-radius: 18px;
  border: 1px solid var(--line);
}
.gal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 15, 20, 0.72);
  color: #fff;
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: background .15s, border-color .15s;
}
.gal-nav:hover { background: rgba(15, 15, 20, 0.92); border-color: var(--accent); }
.gal-nav svg { width: 18px; height: 18px; }
.gal-prev { left: 10px; }
.gal-next { right: 10px; }

.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.thumbs button {
  flex: none;
  width: 62px;
  height: 62px;
  padding: 3px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--photo-bg);
  overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.thumbs button[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.25);
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sheet-info {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
}
.crumb {
  display: inline-block;
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.sheet-info h2 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.sheet-info h2 span {
  color: var(--muted);
  font-weight: 600;
}

.opt-group { display: grid; gap: 8px; }
.opt-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.opt-label em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 12.5px;
}
.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.opt {
  min-height: 42px;
  padding: 7px 15px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .15s ease;
}
.opt:hover { border-color: rgba(255, 255, 255, 0.32); }
.opt[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--accent);
}

.offers { display: grid; gap: 8px; }
.offer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  min-height: 48px;
  padding: 10px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  font-size: 13.5px;
  transition: all .15s ease;
}
.offer[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.obs-callout {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: #d6d6e0;
  font-size: 13.5px;
}
.obs-callout svg {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
  flex: none;
}

.price-box {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--surface-2) 0%, rgba(20, 20, 26, 0.95) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.price-box small {
  color: var(--muted);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pix {
  padding: 2px 8px;
  border-radius: 6px;
  background: #0d3a2e;
  border: 1px solid #1b6d56;
  color: #7fe3c4;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
}
.price-box .big {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12;
  margin-top: 4px;
  color: #fff;
}
.price-box .inst {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.price-box .inst b { color: var(--ink); }

.sim-toggle {
  width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 13px;
  color: var(--accent-light);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .15s, border-color .15s;
}
.sim-toggle:hover {
  background: rgba(255, 106, 0, 0.1);
  border-color: rgba(255, 106, 0, 0.35);
}
.sim-toggle svg { width: 16px; height: 16px; flex: none; }
.sim-toggle span { flex: 1; text-align: left; }
.sim-toggle[aria-expanded="true"] .sim-chev { transform: rotate(180deg); }

.sim {
  margin-top: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--bg);
  overflow: hidden;
}
.sim table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.sim th, .sim td {
  padding: 8px 13px;
  text-align: right;
}
.sim th:first-child, .sim td:first-child { text-align: left; }
.sim th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.sim tr + tr td { border-top: 1px solid var(--line); }
.sim .muted-cell { color: var(--muted); }

.cta-block { display: grid; gap: 8px; }
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d366 0%, #169c46 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 24px -4px rgba(32, 189, 90, 0.5);
  transition: filter .18s, transform .18s, box-shadow .18s;
}
.cta:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -4px rgba(32, 189, 90, 0.65);
}
.cta svg { width: 22px; height: 22px; flex: none; }
.note {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}
.desc-box {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.desc {
  margin: 0;
  white-space: pre-line;
  font-size: 14px;
  color: #d6d6e0;
  line-height: 1.55;
}

@media (min-width: 860px) {
  .sheet-bg {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .sheet {
    width: min(980px, 100%);
    height: auto;
    max-height: calc(100vh - 48px);
    border-radius: 24px;
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
  }
  .sheet-head { border-radius: 24px 24px 0 0; }
  .sheet-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 32px;
    padding: 28px;
  }
  .sheet-pic {
    position: sticky;
    top: 84px;
    align-self: start;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  z-index: 40;
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff;
  color: #070709;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: var(--shadow);
  max-width: calc(100vw - 32px);
}

@media (max-width: 600px) {
  .hero { padding-top: 18px; padding-bottom: 14px; }
  .mark { width: 60px; height: 60px; }
  .top-actions { width: 100%; }
  .top-actions .btn { flex: 1; }
  .row2 { width: 100%; justify-content: space-between; }
  .sort-wrap { flex: 1; display: flex; }
  .sort { width: 100%; height: 40px; }
  .cats-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .count { font-size: 12px; }
  .from strong { font-size: 17.5px; }
  .card-arrow { width: 28px; height: 28px; }
  .assist-banner { padding: 18px; }
  .assist-cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .mark, .btn, .sheet { transition: none; animation: none; }
  .card:hover { transform: none; }
  .pulse-dot { animation: none; }
}
