:root {
  --bg: #07070a;
  --bg-2: #0e0e14;
  --surface: #14141c;
  --surface-2: #1a1a24;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --muted: #9a9aaf;
  --accent: #e50914;
  --accent-2: #ff1f2b;
  --accent-soft: rgba(229, 9, 20, 0.16);
  --ok: #22c55e;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "Sora", "Segoe UI", sans-serif;
  --display: "Bebas Neue", "Impact", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(229, 9, 20, 0.28), transparent 58%),
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.05), transparent 30%),
    radial-gradient(circle at 8% 70%, rgba(229, 9, 20, 0.08), transparent 35%),
    var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main,
.site-header,
.site-footer,
.mobile-dock,
.toast {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 7, 10, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  background: linear-gradient(145deg, var(--accent), #8b0008);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.35);
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.search-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}

.search-wrap input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.72rem 1rem 0.72rem 2.5rem;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.search-wrap input:focus {
  border-color: rgba(229, 9, 20, 0.55);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-wrap svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.online-pill:hover {
  transform: translateY(-1px);
  background: rgba(34, 197, 94, 0.2);
}

.online-pill .live-dot {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseOnline 1.6s ease-out infinite;
}

.footer-online {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #bbf7d0;
}

.footer-online .live-dot {
  background: #22c55e;
  animation: pulseOnline 1.6s ease-out infinite;
}

.mobile-drawer-nav button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.85rem 0;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}

.icon-btn,
.ghost-btn,
.primary-btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), opacity 0.2s;
  text-decoration: none;
  color: inherit;
}

.icon-btn:hover,
.ghost-btn:hover,
.primary-btn:hover {
  transform: translateY(-1px);
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  position: relative;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.ghost-btn {
  padding: 0.65rem 0.95rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
}

.ghost-btn:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.primary-btn {
  padding: 0.78rem 1.35rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 55%, #ff5a63 100%);
  background-size: 160% 160%;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(229, 9, 20, 0.4);
  animation: ctaGlow 4.5s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { background-position: 0% 50%; box-shadow: 0 12px 32px rgba(229, 9, 20, 0.38); }
  50% { background-position: 100% 50%; box-shadow: 0 16px 40px rgba(229, 9, 20, 0.55); }
}

.primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  animation: none;
}

.nav-links {
  display: flex;
  gap: 0.2rem;
}

@media (max-width: 900px) {
  .nav-links,
  .brand-text span {
    display: none;
  }
  .menu-toggle {
    display: grid !important;
  }
}

.menu-toggle {
  display: none;
}


/* Hero */
.hero {
  padding: 0 0 1.2rem;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  min-height: clamp(460px, 78vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, transparent 40%, rgba(7, 7, 10, 0.92) 100%),
    #050508;
  margin-bottom: 1.2rem;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.65), transparent);
  z-index: 3;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  animation: floatOrb 10s ease-in-out infinite;
}

.hero-orb-a {
  width: 420px;
  height: 420px;
  left: -80px;
  top: -120px;
  background: rgba(229, 9, 20, 0.45);
}

.hero-orb-b {
  width: 320px;
  height: 320px;
  right: 8%;
  top: 10%;
  background: rgba(17, 60, 207, 0.35);
  animation-delay: -3s;
}

.hero-orb-c {
  width: 260px;
  height: 260px;
  right: 22%;
  bottom: -40px;
  background: rgba(29, 185, 84, 0.22);
  animation-delay: -6s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hero-banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
  padding: 3.2rem 0 2rem;
  width: min(1120px, calc(100% - 2rem));
}

.hero-copy {
  animation: rise 0.7s var(--ease) both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffb4b8;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e50914;
  box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
  animation: pulseDot 1.6s ease-out infinite;
  flex-shrink: 0;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: 0.14em;
  color: #fff;
  text-transform: uppercase;
}

.hero-brand::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
  animation: pulseOnline 1.6s ease-out infinite;
}

.hero-banner h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 11vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 12px 42px rgba(229, 9, 20, 0.35);
}

.hero-banner h1 .hero-accent {
  background: linear-gradient(90deg, #ff5a63, #e50914 40%, #ffb4b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-banner .hero-sub,
.hero-banner p {
  margin: 1rem 0 1.5rem;
  max-width: 38ch;
  color: #c6c6d6;
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-showcase {
  position: relative;
  min-height: 280px;
  animation: rise 0.8s var(--ease) 0.1s both;
}

.hero-stack {
  position: relative;
  width: 100%;
  height: 300px;
}

.hero-logo-card {
  position: absolute;
  width: min(180px, 38vw);
  aspect-ratio: 1;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 24px 50px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.12);
  object-fit: cover;
  background: #111;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.hero-logo-card:hover {
  box-shadow:
    0 28px 60px rgba(229, 9, 20, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.16);
}

.hero-logo-card.c1 { left: 8%; top: 18%; transform: rotate(-8deg); z-index: 4; animation: cardFloat 5s ease-in-out infinite; }
.hero-logo-card.c2 { right: 6%; top: 4%; transform: rotate(7deg); z-index: 3; animation: cardFloat 6s ease-in-out -1.2s infinite; }
.hero-logo-card.c3 { left: 28%; bottom: 0; transform: rotate(4deg); z-index: 5; animation: cardFloat 5.5s ease-in-out -2s infinite; }
.hero-logo-card.c4 { right: 18%; bottom: 18%; transform: rotate(-5deg); z-index: 2; width: min(140px, 30vw); animation: cardFloat 7s ease-in-out -0.6s infinite; }

.hero-marquee {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero-marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: marquee 28s linear infinite;
  color: rgba(255,255,255,0.55);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.hero-marquee-track span::after {
  content: "·";
  margin-left: 2rem;
  opacity: 0.4;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(18px) scale(1.05); }
}

@keyframes cardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.65); }
  70% { box-shadow: 0 0 0 10px rgba(229, 9, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.trust-item {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 55%),
    rgba(20, 20, 28, 0.7);
  border-radius: var(--radius-sm);
  padding: 1rem 1.05rem;
  animation: rise 0.7s var(--ease) both;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.trust-item:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.trust-item:nth-child(2) {
  animation-delay: 0.08s;
}
.trust-item:nth-child(3) {
  animation-delay: 0.16s;
}

.trust-item strong {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.trust-online {
  border-color: rgba(34, 197, 94, 0.28);
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.1), transparent 60%),
    rgba(20, 20, 28, 0.7);
}

.trust-online .live-dot {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseOnline 1.6s ease-out infinite;
}

@keyframes pulseOnline {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@media (max-width: 900px) {
  html {
    scroll-behavior: auto;
  }
  body::before {
    display: none;
  }
  .site-header {
    position: sticky;
    top: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 7, 10, 0.96);
  }
  .hero {
    overflow: visible;
    padding-bottom: 0.8rem;
  }
  .hero-banner-inner {
    grid-template-columns: 1fr;
    padding: 1.55rem 0 1.2rem;
    gap: 0;
  }
  .hero-showcase,
  .hero-marquee,
  .hero-orb,
  .hero-grid {
    display: none !important;
  }
  .hero-banner {
    min-height: 0;
    justify-content: flex-end;
    overflow: hidden;
    /* evita 78vh no mobile — barra do browser muda e “pula” a rolagem no topo */
    margin-bottom: 0.85rem;
    background:
      linear-gradient(180deg, rgba(229, 9, 20, 0.18), transparent 55%),
      #050508;
  }
  .hero-bg {
    display: none;
  }
  .hero-copy,
  .trust-item {
    animation: none !important;
  }
  .hero-brand {
    font-size: 0.95rem;
  }
  .hero-brand::before,
  .hero-banner .live-dot {
    animation: none !important;
  }
  .hero-banner h1 {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
    line-height: 0.92;
  }
  .hero-banner p {
    font-size: 0.92rem;
    margin: 0.55rem 0 1rem;
    max-width: 28ch;
  }
  .hero-cta {
    gap: 0.55rem;
  }
  .hero-cta .primary-btn {
    width: 100%;
    max-width: 220px;
    text-align: center;
    justify-content: center;
    animation: none !important;
  }
  /* sem scroll horizontal aninhado no topo (roubava o gesto de rolar) */
  .trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    overflow: visible;
    padding: 0;
  }
  .trust-item {
    flex: 1 1 auto;
    min-width: calc(50% - 0.4rem);
    padding: 0.5rem 0.65rem;
    border-radius: 12px;
  }
  .trust-item strong {
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .trust-item span {
    display: none;
  }
}

/* Sections */
.section {
  padding: 1.6rem 0 0.4rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.section-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-kicker {
  margin: 0 0 0.2rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.combos-section {
  padding: 1.8rem 0 1.2rem;
  margin: 0.4rem 0 0.6rem;
  position: relative;
  background:
    radial-gradient(ellipse 80% 70% at 10% 0%, rgba(255, 186, 9, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(229, 9, 20, 0.1), transparent 50%);
  border-block: 1px solid var(--line);
}

.combos-section .section-head h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.combos-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.combos-section .product-card {
  border-color: color-mix(in srgb, #ffba09 28%, var(--line));
  background:
    linear-gradient(180deg, rgba(255, 186, 9, 0.08), transparent 42%),
    var(--surface);
}

.combo-includes {
  list-style: none;
  margin: 0.35rem 0 0.55rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.combo-includes li {
  font-size: 0.72rem;
  line-height: 1.2;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  white-space: nowrap;
}

.combo-line {
  margin: 0.25rem 0 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pp-includes {
  margin: 0.6rem 0 0.2rem;
  display: grid;
  gap: 0.4rem;
}

.pp-includes-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card.is-combo .product-body h3 {
  margin-bottom: 0.15rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.9rem;
}

.product-card {
  display: block;
  color: inherit;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%), var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
  animation: rise 0.55s var(--ease) both;
  cursor: pointer;
  position: relative;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: color-mix(in srgb, var(--p-accent, var(--accent)) 45%, var(--line-strong));
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px color-mix(in srgb, var(--p-accent, var(--accent)) 25%, transparent);
}

.product-card:hover::after {
  transform: translateX(120%);
}

.product-media {
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--p-accent) 35%, transparent), transparent 50%),
    linear-gradient(160deg, #1c1c26, #101018);
}

.product-icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: color-mix(in srgb, var(--p-accent) 85%, #000 15%);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--p-accent) 35%, transparent);
}

.product-media.has-image {
  background: #0a0a0f;
  padding: 0;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0a0f;
}

.product-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}

.product-body {
  padding: 0.9rem 0.95rem 1rem;
}

.product-body h3 {
  margin: 0;
  font-size: 1rem;
}

.product-body p {
  margin: 0.25rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
  min-height: 2.4em;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.price {
  font-weight: 700;
  font-size: 1.05rem;
}

.price small {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.72rem;
  margin-left: 0.15rem;
}

.add-btn {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.48rem 0.8rem;
  cursor: pointer;
}

.add-btn:hover {
  background: #ffe5e7;
}

/* Promo */
.promo {
  margin: 2rem 0 1rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(229, 9, 20, 0.18), transparent 45%),
    var(--surface);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  align-items: center;
}

.promo h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.promo p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.promo-stats {
  display: grid;
  gap: 0.6rem;
}

.promo-stats div {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  background: rgba(0, 0, 0, 0.22);
}

@media (max-width: 760px) {
  .promo {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-grid h4 {
  margin: 0 0 0.55rem;
  color: var(--text);
  font-size: 0.92rem;
}

.footer-grid a {
  display: block;
  padding: 0.2rem 0;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-copy {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Drawer / Modal */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
  z-index: 80;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  transform: translateX(105%);
  transition: transform 0.3s var(--ease);
  z-index: 90;
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-head,
.drawer-foot {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.drawer-foot {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  flex-direction: column;
  align-items: stretch;
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 0.8rem 1.1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item .thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  color: #fff;
  font-size: 1.1rem;
}

.cart-item h4 {
  margin: 0;
  font-size: 0.92rem;
}

.cart-item p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.qty button {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
  padding: 2.5rem 1rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(120%);
  background: #16161f;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  z-index: 100;
  transition: transform 0.3s var(--ease);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== Pages ===== */
.page-main {
  padding: 1.6rem 0 2.5rem;
  min-height: 60vh;
}

.page-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.page-head p {
  margin: 0.35rem 0 1.2rem;
  color: var(--muted);
}

.page-empty {
  margin-top: 2rem;
  padding: 3rem 1.2rem;
}

.page-empty h1 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.page-empty .primary-btn {
  display: inline-flex;
  margin-top: 1rem;
}

.search-hint {
  display: none;
  margin: 1rem 0 0;
  color: #ffb4b8;
  font-weight: 600;
}

.search-hint.is-show {
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding: 1.2rem 0 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.breadcrumb a:hover {
  color: var(--text);
}

.product-page {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.4rem;
  padding: 1rem 0 2rem;
  align-items: start;
}

.pp-media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  min-height: 360px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--p-accent) 40%, transparent), transparent 55%),
    linear-gradient(160deg, #1a1a24, #0c0c12);
}

.pp-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 3.4rem;
  color: #fff;
  background: color-mix(in srgb, var(--p-accent) 88%, #000);
  box-shadow: 0 20px 50px color-mix(in srgb, var(--p-accent) 40%, transparent);
  position: relative;
  z-index: 1;
}

.pp-media.has-image {
  padding: 0;
  min-height: 420px;
}

.pp-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.pp-glow {
  position: absolute;
  inset: auto 10% -30% 10%;
  height: 180px;
  background: radial-gradient(circle, color-mix(in srgb, var(--p-accent) 35%, transparent), transparent 70%);
}

.pp-info h1 {
  margin: 0.55rem 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  font-weight: 400;
}

.pp-desc {
  color: var(--muted);
  margin: 0 0 1rem;
}

.pp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  font-weight: 600;
}

.pill.soft {
  color: #ffd1d4;
}

.pp-price {
  font-size: 1.8rem;
  font-weight: 700;
}

.pp-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.field {
  margin: 1rem 0;
}

.field > label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.variant-list {
  display: grid;
  gap: 0.5rem;
}

.variant-btn {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.variant-btn:hover,
.variant-btn.is-active {
  border-color: rgba(229, 9, 20, 0.55);
  background: rgba(229, 9, 20, 0.08);
}

.qty.big button {
  width: 36px;
  height: 36px;
}

.qty.big span {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.pp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.1rem 0;
}

.ghost-btn.solid {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 0.72rem 1.15rem;
}

button.ghost-btn {
  font: inherit;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

.tabs-section {
  margin-bottom: 1rem;
}

.tabs {
  display: flex;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-weight: 600;
}

.tab.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
  padding-bottom: 1rem;
}

.tab-panel.is-active {
  display: block;
  animation: rise 0.35s var(--ease) both;
}

.steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.steps li {
  margin: 0.4rem 0;
}

.faq-grid {
  display: grid;
  gap: 0.55rem;
}

.seo-content {
  padding-bottom: 2rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin-bottom: 0.55rem;
  background: var(--surface);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.muted.small,
.small {
  font-size: 0.82rem;
}

.ok {
  color: var(--ok);
}

@media (max-width: 860px) {
  .product-page {
    grid-template-columns: 1fr;
  }
  .pp-media {
    min-height: 260px;
  }
}

/* Cart / checkout */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line .thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  color: #fff;
  font-size: 1.4rem;
}

.cart-line-info h3 {
  margin: 0;
  font-size: 1rem;
}

.cart-line-info p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.link-danger {
  border: 0;
  background: transparent;
  color: #ff7b82;
  cursor: pointer;
  margin-left: 0.4rem;
  font-size: 0.8rem;
}

.panel,
.cart-summary,
.form-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.cart-summary h2,
.form-panel h2 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.55rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.sum-row strong {
  color: var(--text);
}

.sum-row.total {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 1.05rem;
}

.block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.65rem;
}

.form-panel label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
}

.form-panel input,
.form-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  outline: none;
}

.form-panel input:focus,
.form-panel textarea:focus {
  border-color: rgba(229, 9, 20, 0.55);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-panel .check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
}

.form-panel .check input {
  width: auto;
  margin-top: 0.2rem;
}

.auth-wrap {
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(420px, 100%);
}

.auth-card h1 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: 2.4rem;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.order-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.code-box {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: #fff;
}

.prose h1 {
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: 2.6rem;
}

.prose h2 {
  margin-top: 1.4rem;
  font-size: 1.1rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.ghost-btn.is-active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.pay-card,
.delivery-card {
  margin: 1rem 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}
.pay-card h3,
.delivery-card h3 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}
.pay-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.pay-row span {
  color: var(--muted);
  min-width: 4.5rem;
}
.pay-qr {
  width: min(180px, 100%);
  margin: 0.6rem 0;
  border-radius: 12px;
}
.pix-emv,
.pix-code-box code {
  display: block;
  word-break: break-all;
  font-size: 0.72rem;
  line-height: 1.35;
  max-height: 6.5rem;
  overflow: auto;
  background: #0b0b11;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.pix-checkout {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}
.pix-checkout-qr {
  width: min(240px, 70vw);
}
.pix-code-box {
  width: 100%;
  display: grid;
  gap: 0.6rem;
}
.pix-checkout-actions {
  width: 100%;
  display: grid;
  gap: 0.55rem;
}
.pay-row-emv {
  display: grid;
  gap: 0.45rem;
}
.delivery-item {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--line);
}
.delivery-item code {
  display: block;
  padding: 0.55rem 0.7rem;
  background: #0b0b11;
  border-radius: 10px;
  font-size: 0.82rem;
  word-break: break-all;
}
.pedido-actions {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0;
}
.file-proof {
  text-align: center;
  cursor: pointer;
}
.btn-xs,
.ghost-btn.btn-xs {
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  border-radius: 999px;
}
.chat-bubble.is-payment {
  align-self: stretch;
  max-width: 100%;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.35);
  white-space: pre-wrap;
}
.chat-attach img,
.proof-thumb {
  max-width: min(240px, 100%);
  border-radius: 10px;
  margin-top: 0.45rem;
}
.chat-attach {
  display: inline-block;
  margin-top: 0.4rem;
  color: #ffb4b8;
}
.variant-btn.is-soldout {
  opacity: 0.45;
  cursor: not-allowed;
}
.checkout-pay-hint {
  margin-top: 0.8rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px dashed var(--line);
  font-size: 0.88rem;
}
.account-lookup {
  margin-bottom: 1rem;
}
.lookup-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.6rem;
  margin: 0.8rem 0 1rem;
}
.lookup-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: #0b0b11;
  color: var(--text);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}
@media (max-width: 700px) {
  .lookup-form { grid-template-columns: 1fr; }
}

/* Pedido chat */
.pedido-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 2rem;
}
.pedido-aside h1 {
  margin: 0.2rem 0 0.4rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: 2.4rem;
}
.pedido-status {
  display: inline-block;
  margin: 0.8rem 0 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ffb4b8;
  font-size: 0.85rem;
  font-weight: 700;
}
.pedido-items {
  margin-bottom: 1rem;
}
.chat-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: min(70vh, 640px);
  padding: 0;
  overflow: hidden;
}
.chat-thread {
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: min(58vh, 520px);
}
.chat-bubble {
  max-width: min(92%, 520px);
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.chat-bubble.is-me {
  align-self: flex-end;
  background: rgba(229, 9, 20, 0.18);
  border-color: rgba(229, 9, 20, 0.35);
}
.chat-bubble.is-admin {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
}
.chat-bubble.is-system {
  align-self: center;
  max-width: 100%;
  background: transparent;
  border-style: dashed;
  color: var(--muted);
  font-size: 0.9rem;
}
.chat-bubble.is-delivery {
  align-self: stretch;
  max-width: 100%;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  white-space: pre-wrap;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.88rem;
}
.chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  padding: 0.9rem;
  border-top: 1px solid var(--line);
  align-items: end;
}
.chat-compose textarea {
  width: 100%;
  resize: vertical;
  min-height: 52px;
  border: 1px solid var(--line);
  background: #0b0b11;
  color: var(--text);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  outline: none;
}
.chat-expired {
  padding: 1rem;
  text-align: center;
}

@media (max-width: 860px) {
  .cart-layout,
  .checkout-layout,
  .pedido-layout {
    grid-template-columns: 1fr;
  }
}

/* ========== Mobile polish ========== */
.mobile-drawer[hidden] {
  display: none !important;
}
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.mobile-drawer-back {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}
.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #101018;
  border-left: 1px solid var(--line);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: drawerIn 0.25s var(--ease) both;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-drawer-nav {
  display: grid;
  gap: 0.35rem;
}
.mobile-drawer-nav a {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
}
.mobile-drawer-nav a:active {
  background: var(--accent-soft);
}
@keyframes drawerIn {
  from { transform: translateX(18px); opacity: 0.6; }
  to { transform: translateX(0); opacity: 1; }
}
body.drawer-open {
  overflow: hidden;
}

.mobile-dock {
  display: none;
}

@media (max-width: 900px) {
  .container {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .header-inner {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand actions"
      "search search";
    gap: 0.55rem 0.45rem;
    padding: 0.55rem 0;
    align-items: center;
  }
  .brand { grid-area: brand; }
  .search-wrap { grid-area: search; }
  .header-actions { grid-area: actions; justify-self: end; gap: 0.35rem; }
  .online-pill {
    display: none;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
    border-radius: 10px;
  }
  .brand-text strong {
    font-size: 0.92rem;
  }
  .icon-btn {
    width: 42px;
    height: 42px;
  }
  .search-wrap input {
    padding: 0.72rem 0.95rem 0.72rem 2.45rem;
    font-size: 16px; /* evita zoom iOS */
  }

  .mobile-dock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: rgba(10, 10, 14, 0.98);
    border-top: 1px solid var(--line);
    padding: 0.35rem 0.4rem calc(0.35rem + env(safe-area-inset-bottom));
    /* sem backdrop-filter: evita engasgo na rolagem no iOS */
  }
  .mobile-dock a {
    display: grid;
    place-items: center;
    gap: 0.15rem;
    padding: 0.45rem 0.2rem;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 600;
    border-radius: 12px;
    background: none;
    border: 0;
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-dock a.is-active {
    color: #fff;
    background: rgba(229, 9, 20, 0.18);
  }
  .mobile-dock a span::before {
    content: "";
    display: block;
    width: 18px;
    height: 3px;
    margin: 0 auto 0.35rem;
    border-radius: 999px;
    background: transparent;
  }
  .mobile-dock a.is-active span::before {
    background: var(--accent);
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
  body[data-page="pedido"] {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  body[data-page="pedido"] .mobile-dock {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .combos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .product-card {
    border-radius: 14px;
    min-width: 0;
  }
  .product-card:hover {
    transform: none;
  }
  .product-body {
    padding: 0.65rem 0.65rem 0.7rem;
    min-width: 0;
  }
  .product-body h3 {
    font-size: 0.84rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-body p,
  .combo-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
    font-size: 0.68rem;
    margin: 0.2rem 0 0.5rem;
  }
  .product-foot {
    gap: 0.35rem;
    align-items: center;
    min-width: 0;
  }
  .price {
    font-size: 0.82rem;
    letter-spacing: -0.01em;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .add-btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.68rem;
    flex-shrink: 0;
  }
  .product-badge {
    font-size: 0.58rem;
    top: 0.4rem;
    left: 0.4rem;
    padding: 0.18rem 0.4rem;
    max-width: calc(100% - 0.8rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .product-media {
    aspect-ratio: 1 / 1;
  }
  .combos-section {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0.6rem 0 0.2rem;
  }
  .combos-section .section-head h2 {
    font-size: 1.45rem;
  }
  .combos-section .section-kicker {
    font-size: 0.72rem;
  }
  .section-head .ghost-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    flex-shrink: 0;
  }
  .section-head > div {
    min-width: 0;
    flex: 1 1 auto;
  }
  .section-head p {
    font-size: 0.78rem;
    max-width: 100%;
  }

  .section {
    padding: 1rem 0 0.15rem;
  }
  .section-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.45rem 0.75rem;
    margin-bottom: 0.7rem;
  }
  .section-head h2 {
    font-size: 1.4rem;
  }
  .faq-grid {
    gap: 0.45rem;
  }
  .faq-item {
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
  }
  .faq-item summary {
    font-size: 0.9rem;
  }
  .faq-item p {
    font-size: 0.85rem;
  }

  .promo-section {
    display: none;
  }
  .promo {
    padding: 1.1rem;
    margin: 1.4rem 0 0.8rem;
    border-radius: 16px;
  }

  /* Crisp: NÃO usar transform no .crisp-client (quebra position:fixed e some o botão).
     O offset vertical é aplicado via JS em shop.js */
  body.crisp-chat-open .mobile-dock {
    display: none;
  }
  body.crisp-chat-open {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .site-footer {
    margin-top: 1.5rem;
    padding: 1.2rem 0 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .page-head h1 {
    font-size: 2rem;
  }
  .page-main {
    padding-top: 0.8rem;
  }

  .product-page {
    gap: 1rem;
  }
  .pp-media {
    min-height: 220px;
    border-radius: 18px;
  }
  .pp-info h1 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }
  .pp-actions {
    position: sticky;
    bottom: calc(68px + env(safe-area-inset-bottom));
    z-index: 20;
    background: linear-gradient(180deg, transparent, rgba(7, 7, 10, 0.96) 28%);
    margin: 0.6rem -0.2rem 0;
    padding: 0.85rem 0.2rem 0.35rem;
  }
  .pp-actions .primary-btn,
  .pp-actions .ghost-btn {
    flex: 1;
    text-align: center;
    min-height: 48px;
    display: grid;
    place-items: center;
  }
  .variant-list {
    display: grid;
    gap: 0.5rem;
  }
  .variant-btn {
    width: 100%;
    justify-content: space-between;
    min-height: 52px;
    padding: 0.85rem 1rem;
  }
  .tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tab {
    white-space: nowrap;
    padding: 0.7rem 0.85rem;
  }

  .cart-line {
    grid-template-columns: 56px 1fr;
    gap: 0.7rem;
  }
  .cart-line > :last-child {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .panel,
  .cart-summary,
  .form-panel {
    padding: 1rem;
    border-radius: 16px;
  }
  .form-panel label,
  .field label {
    font-size: 0.85rem;
  }
  .form-panel input,
  .form-panel textarea,
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
    min-height: 48px;
    border-radius: 12px;
  }
  .primary-btn.block,
  .ghost-btn.block {
    min-height: 48px;
    display: grid;
    place-items: center;
  }

  .pedido-aside h1 {
    font-size: 2rem;
  }
  .chat-panel {
    min-height: 62vh;
  }
  .chat-thread {
    max-height: 48vh;
  }
  .chat-compose {
    grid-template-columns: 1fr;
  }
  .chat-compose .primary-btn {
    width: 100%;
  }
  .lookup-form {
    grid-template-columns: 1fr;
  }
  .order-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .account-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .account-actions .ghost-btn {
    text-align: center;
  }
}

@media (max-width: 380px) {
  .product-body p {
    display: none;
  }
  .price {
    font-size: 0.8rem;
  }
}

/* Compliance + ads landing */
.footer-legal {
  margin: 1rem 0 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 52rem;
}

button.linkish {
  display: block;
  background: none;
  border: 0;
  padding: 0.2rem 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
button.linkish:hover {
  color: var(--text);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: rgba(8, 8, 12, 0.96);
  border-top: 1px solid var(--line);
}
.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner-inner p {
  margin: 0;
  flex: 1 1 260px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
}
.cookie-banner-inner a {
  color: var(--text);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ads-hero {
  padding: 2.2rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(229, 9, 20, 0.16), transparent 55%),
    var(--bg);
}
.ads-hero h1 {
  margin: 0.2rem 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: 0.03em;
  font-weight: 400;
  line-height: 0.95;
}
.ads-lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.02rem;
}
.ads-trust {
  list-style: none;
  margin: 1.2rem 0 0.8rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ads-trust li {
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
}
.ads-disclaimer {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 40rem;
}
.ads-steps {
  padding-bottom: 1rem;
}
.ads-steps ol {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}
.ads-steps strong {
  color: var(--text);
}

@media (max-width: 720px) {
  .cookie-banner {
    bottom: calc(58px + env(safe-area-inset-bottom));
    padding: 0.7rem 0.85rem;
    z-index: 70;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .cookie-banner-inner p {
    font-size: 0.78rem;
    flex: none;
  }
  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }
  .cookie-banner-actions .ghost-btn,
  .cookie-banner-actions .primary-btn {
    width: 100%;
    justify-content: center;
    min-height: 42px;
    font-size: 0.82rem;
    padding: 0.55rem 0.5rem;
  }
  .ads-hero {
    padding: 1.4rem 0 1rem;
  }
}
