:root {
  --ink: #0a0a0a;
  --ink-soft: #151515;
  --rice: #ffffff;
  --rice-muted: #b8b8b8;
  --salmon: #ff6a1a;
  --salmon-deep: #e35500;
  --sea: #2a2a2a;
  --line: rgba(255, 255, 255, 0.14);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.75rem;
  --page-pad: clamp(1rem, 4vw, 3rem);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --touch: 2.75rem;
  --radius: 1.15rem;
  --radius-sm: 0.85rem;
  --comic-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--rice);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 106, 26, 0.16), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.05), transparent 24%),
    radial-gradient(circle at 70% 80%, rgba(255, 106, 26, 0.08), transparent 30%),
    var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  touch-action: manipulation;
}

input {
  font: inherit;
  font-size: 16px;
  color: var(--rice);
  background: rgba(10, 10, 10, 0.7);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  width: 100%;
  min-height: 2.75rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

input:focus {
  outline: none;
  border-color: var(--salmon);
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.2);
}

input::placeholder {
  color: rgba(200, 194, 180, 0.45);
}

code {
  font-size: 0.85em;
  color: var(--salmon);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  min-height: calc(var(--header-h) + var(--safe-top));
  height: calc(var(--header-h) + var(--safe-top));
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: var(--safe-top) max(var(--page-pad), var(--safe-right)) 0 max(var(--page-pad), var(--safe-left));
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.94), rgba(10, 10, 10, 0.55), transparent);
  backdrop-filter: blur(10px);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch);
  min-height: var(--touch);
  line-height: 0;
  flex-shrink: 0;
}

.logo img {
  width: clamp(4.15rem, 13.5vw, 5.35rem);
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.nav a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rice-muted);
  transition: color 0.25s var(--ease);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--touch);
  min-width: var(--touch);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  color: #111;
  background: var(--salmon);
  border: 2px solid #111;
  border-radius: 999px;
  box-shadow: var(--comic-shadow);
  flex-shrink: 0;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.2s var(--ease);
}

.cart-btn:hover,
.cart-btn:focus-visible {
  background: var(--salmon-deep);
  transform: translateY(-2px);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  border: 1.5px solid #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.cart-count[hidden] {
  display: none;
}

.nav {
  display: none;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  :root {
    --header-h: 5.2rem;
  }

  .nav {
    display: flex;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: hero-drift 28s var(--ease) infinite alternate;
  transform: scale(1.06);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.97) 8%, rgba(10, 10, 10, 0.62) 46%, rgba(10, 10, 10, 0.28) 100%),
    radial-gradient(ellipse 55% 45% at 18% 72%, rgba(255, 106, 26, 0.22), transparent 70%),
    linear-gradient(120deg, rgba(10, 10, 10, 0.5), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding:
    calc(var(--header-h) + var(--safe-top) + 1.25rem)
    max(var(--page-pad), var(--safe-left))
    calc(clamp(2.25rem, 7vh, 4.5rem) + var(--safe-bottom));
  padding-right: max(var(--page-pad), var(--safe-right));
  max-width: 42rem;
  animation: rise 1s var(--ease) both;
}

.hero-content::before {
  content: "";
  position: absolute;
  left: calc(var(--page-pad) * -0.15);
  top: 18%;
  width: min(68vw, 22rem);
  height: min(68vw, 22rem);
  border-radius: 50%;
  border: 7px solid rgba(255, 106, 26, 0.35);
  box-shadow:
    inset 0 0 0 3px rgba(255, 106, 26, 0.12),
    4px 4px 0 rgba(0, 0, 0, 0.25);
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: -1;
  opacity: 0.85;
}

.brand-logo {
  display: block;
  width: min(84vw, 27rem);
  height: auto;
  margin: 0 0 1rem;
  background: transparent;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5.4vw, 2.55rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.15;
  color: var(--rice);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  color: var(--rice-muted);
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0.7rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: var(--comic-shadow);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: var(--salmon);
  color: #111;
  border: 2px solid #111;
}

.btn-primary:hover:not(:disabled) {
  background: var(--salmon-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--rice);
  background: rgba(10, 10, 10, 0.35);
}

.btn-ghost:hover {
  border-color: var(--salmon);
  color: var(--salmon);
}

.btn:focus-visible {
  outline: 2px solid var(--salmon);
  outline-offset: 3px;
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-block {
  width: 100%;
}

.btn-copy {
  flex-shrink: 0;
  min-width: 5.5rem;
  min-height: 2.75rem;
  padding-inline: 0.9rem;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 32rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 0.35rem;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--salmon);
  box-shadow: 2px 2px 0 #111;
}

.section-head p {
  margin: 0;
  color: var(--rice-muted);
  font-weight: 600;
  font-size: clamp(0.92rem, 2.8vw, 1.02rem);
}

.filter {
  flex: 0 0 auto;
  min-height: var(--touch);
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rice-muted);
  border: 2px solid #2f2f2f;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  scroll-snap-align: start;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.filter.is-active {
  color: #111;
  background: var(--salmon);
  border-color: #111;
  box-shadow: 2px 2px 0 #111;
}

.filter:hover,
.filter:focus-visible {
  color: var(--rice);
  border-color: rgba(255, 106, 26, 0.55);
}

.filter.is-active:hover,
.filter.is-active:focus-visible {
  color: #111;
}

.menu,
.how {
  padding: clamp(3rem, 9vh, 6.5rem) max(var(--page-pad), var(--safe-left));
  padding-right: max(var(--page-pad), var(--safe-right));
}

.menu-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin: 0 calc(var(--page-pad) * -1) 1.5rem;
  padding: 0.15rem var(--page-pad) 0.45rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--page-pad);
}

.menu-filters::-webkit-scrollbar {
  display: none;
}

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  min-width: 0;
  width: 100%;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .menu-filters {
    flex-wrap: wrap;
    overflow: visible;
  }

  .filter {
    font-size: 0.78rem;
    padding: 0.55rem 1rem;
  }
}

@media (min-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.product-card {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s var(--ease) forwards;
}

.product-card article,
.product-article {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #1c1c1c 0%, #101010 100%);
  border: 3px solid #111;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--comic-shadow);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: pointer;
}

@media (max-width: 599px) {
  .product-card article,
  .product-article {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: stretch;
    min-width: 0;
  }

  .product-body {
    padding: 0.7rem 0.75rem 0.8rem;
    gap: 0.2rem;
    min-width: 0;
  }

  .product-body h3 {
    font-size: clamp(1.02rem, 4vw, 1.2rem);
    overflow-wrap: break-word;
  }

  .product-meta {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .product-footer {
    margin-top: auto;
    padding-top: 0.3rem;
    gap: 0.4rem;
  }

  .product-top {
    gap: 0.35rem;
  }

  .product-sku {
    font-size: 0.62rem;
  }

  .product-photo {
    width: 100px;
    min-height: 100%;
  }

  .add-btn {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    padding-inline: 0.65rem;
  }
}

@media (hover: hover) {
  .product-card article:hover,
  .product-article:hover {
    border-color: var(--salmon);
    box-shadow: 4px 4px 0 rgba(255, 106, 26, 0.45);
    transform: translateY(-3px);
  }

  .product-card article:hover .product-photo img,
  .product-article:hover .product-photo img {
    transform: scale(1.04);
  }
}

.product-photo {
  aspect-ratio: 16 / 10;
  max-height: 132px;
  overflow: hidden;
  background: var(--ink-soft);
}

@media (max-width: 599px) {
  .product-photo {
    aspect-ratio: 1;
    max-height: none;
    height: 100%;
    min-height: 112px;
  }
}

@media (min-width: 600px) {
  .product-photo {
    max-height: 148px;
  }
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.85rem 0.9rem 0.95rem;
  gap: 0.25rem;
  min-width: 0;
}

@media (min-width: 600px) {
  .product-body {
    padding: 0.95rem 1rem 1.05rem;
    gap: 0.3rem;
  }
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.product-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  background: var(--salmon);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1.5px solid #111;
}

.product-sku {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--rice-muted);
  opacity: 0.7;
}

.product-body h3 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.2;
}

.product-meta {
  margin: 0;
  font-size: clamp(0.8rem, 2.8vw, 0.88rem);
  color: var(--rice-muted);
  font-weight: 600;
  flex: 1;
}

.product-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.product-price {
  font-size: clamp(0.95rem, 3.2vw, 1.05rem);
  font-weight: 500;
  white-space: nowrap;
}

.price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.55rem;
  min-width: 0;
  max-width: 100%;
}

.price-old {
  font-size: 0.82rem;
  color: var(--rice-muted);
  opacity: 0.75;
  text-decoration: line-through;
}

.price-now {
  font-size: clamp(1rem, 3.4vw, 1.12rem);
  font-weight: 600;
  color: var(--rice);
}

.discount-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  background: var(--salmon);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1.5px solid #111;
}

.discount-badge {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #111;
  background: var(--salmon);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 2px solid #111;
  box-shadow: 2px 2px 0 #111;
}

.review-card {
  padding: 0.85rem 0.9rem;
  border: 2px solid #2a2a2a;
  background: rgba(10, 10, 10, 0.45);
  border-radius: var(--radius-sm);
}

.order-code-box,
.pix-price-box {
  border-radius: var(--radius-sm);
}

.cart-item-prices {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.cart-item-prices s {
  color: var(--rice-muted);
  opacity: 0.75;
  font-size: 0.8rem;
}

.cart-totals {
  display: grid;
  gap: 0.4rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--rice-muted);
}

.cart-total-row s {
  opacity: 0.8;
}

.cart-total-row.is-save strong {
  color: #7dce9a;
  font-size: 0.95rem;
  font-weight: 500;
}

.cart-total-row.is-pay {
  margin-top: 0.25rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  color: var(--rice);
}

.cart-total-row.is-pay strong {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 5vw, 1.5rem);
  font-weight: 400;
  color: var(--rice);
}

.pix-price-box {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.95rem 1rem;
  border: 2px solid rgba(255, 106, 26, 0.45);
  background: rgba(255, 106, 26, 0.1);
}

.pix-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--rice-muted);
}

.pix-price-row s {
  opacity: 0.85;
}

.pix-price-row.is-sale {
  color: var(--rice);
}

.pix-price-row.is-sale strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5vw, 1.75rem);
  font-weight: 400;
  color: var(--salmon);
}

.pix-price-row.is-save strong {
  color: #7dce9a;
  font-weight: 500;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
}

.product-actions .add-btn {
  width: 100%;
}

.add-btn {
  min-height: var(--touch);
  padding: 0.5rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  background: var(--salmon);
  border: 2px solid #111;
  border-radius: 999px;
  box-shadow: 2px 2px 0 #111;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}

.add-btn:hover,
.add-btn:focus-visible {
  background: var(--salmon-deep);
  transform: translateY(-1px);
}

.ghost-link {
  min-height: var(--touch);
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rice-muted);
  border: 2px solid #2a2a2a;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.how {
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 106, 26, 0.1), transparent 28%),
    linear-gradient(180deg, transparent, rgba(18, 18, 18, 0.9));
  border-top: 2px solid #1f1f1f;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.steps li {
  max-width: 18rem;
  padding: 1.1rem 1.15rem 1.2rem;
  background: #141414;
  border: 3px solid #111;
  border-radius: var(--radius);
  box-shadow: var(--comic-shadow);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.02em;
  background: var(--salmon);
  border: 2px solid #111;
  border-radius: 999px;
  box-shadow: 2px 2px 0 #111;
}

.steps h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4vw, 1.35rem);
  font-weight: 700;
}

.steps p {
  margin: 0;
  color: var(--rice-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.site-footer {
  padding: 2.5rem max(var(--page-pad), var(--safe-left)) calc(3.5rem + var(--safe-bottom));
  padding-right: max(var(--page-pad), var(--safe-right));
  border-top: 1px solid var(--line);
  color: var(--rice-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-logo {
  width: 9.75rem;
  height: auto;
  margin: 0 0 0.75rem;
  display: block;
}

.footer-brand {
  display: none;
}

.site-footer p {
  margin: 0.2rem 0;
}

.footer-note {
  margin-top: 1rem !important;
  font-size: 0.78rem;
  opacity: 0.75;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(8, 10, 9, 0.65);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.cart-backdrop.is-open {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 60;
  width: min(100%, 28rem);
  pointer-events: none;
}

.cart-panel {
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #121212;
  border-left: 2px solid #2a2a2a;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  pointer-events: auto;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  padding-top: calc(1rem + var(--safe-top));
  border-bottom: 1px solid var(--line);
}

.cart-step-label {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--salmon);
}

.cart-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.5vw, 1.45rem);
  font-weight: 400;
}

.cart-close {
  width: var(--touch);
  height: var(--touch);
  flex-shrink: 0;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--rice-muted);
}

.cart-close:hover,
.cart-close:focus-visible {
  color: var(--rice);
}

.checkout-steps {
  flex: 1;
  overflow: auto;
  padding: 0.75rem 1.1rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.checkout-steps[hidden] {
  display: none !important;
}

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.cart-item-code {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--rice-muted);
}

.cart-item-price {
  font-size: 0.88rem;
  color: var(--rice-muted);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.qty-btn {
  width: var(--touch);
  height: var(--touch);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: border-color 0.2s var(--ease);
}

.qty-btn:hover,
.qty-btn:focus-visible {
  border-color: var(--salmon);
}

.cart-empty {
  margin: 2rem 0;
  color: var(--rice-muted);
  font-weight: 300;
  font-size: 0.95rem;
}

.cart-empty[hidden] {
  display: none;
}

.field {
  margin-bottom: 0.85rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rice-muted);
}

.field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--rice-muted);
  font-weight: 300;
}

.field-hint.is-error {
  color: #f0b4a8;
}

input[readonly] {
  opacity: 0.85;
  background: rgba(14, 18, 16, 0.35);
}

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.field-grow {
  flex: 1 1 8rem;
}

.field-num {
  width: 5.5rem;
  flex: 0 0 5.5rem;
}

.field-uf {
  width: 4.25rem;
  flex: 0 0 4.25rem;
}

.form-section-title {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--rice);
}

.form-section-title:not(:first-child) {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.form-error {
  margin: 0.5rem 0 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(224, 80, 80, 0.45);
  background: rgba(224, 80, 80, 0.1);
  color: #f0b4a8;
  font-size: 0.85rem;
}

.form-error[hidden] {
  display: none;
}

.nearby-store-teaser {
  margin: 0.15rem 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rice-muted);
  line-height: 1.35;
}

.nearby-store-teaser[hidden] {
  display: none !important;
}

.nearby-store {
  margin: 0 0 1rem;
  padding: 0.95rem 1rem;
  border: 2px solid #111;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(145deg, rgba(255, 106, 26, 0.22), rgba(255, 106, 26, 0.08) 55%, rgba(10, 10, 10, 0.55));
  box-shadow: var(--comic-shadow);
  animation: nearby-in 0.35s var(--ease) both;
}

.nearby-store[hidden] {
  display: none !important;
}

.nearby-store-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.nearby-store-badge,
.nearby-store-frete {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 2px solid #111;
  box-shadow: 2px 2px 0 #111;
}

.nearby-store-badge {
  color: var(--rice);
  background: #1a1a1a;
}

.nearby-store-frete {
  color: #111;
  background: var(--salmon);
}

.nearby-store-name {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--rice);
  line-height: 1.25;
}

.nearby-store-distance {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rice-muted);
}

.cart-total-row.is-frete strong {
  color: #7dce9a;
  font-weight: 800;
}

@keyframes nearby-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pix-loading {
  display: grid;
  place-items: center;
  gap: 0.85rem;
  padding: 2.5rem 1rem;
  color: var(--rice-muted);
  text-align: center;
}

.pix-loading[hidden],
#pix-ready[hidden] {
  display: none !important;
}

.spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--line);
  border-top-color: var(--salmon);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.pix-status {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--rice-muted);
}

.pix-status.is-paid {
  color: #7dce9a;
  font-weight: 500;
}

.pix-txn {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: var(--rice-muted);
  word-break: break-all;
  text-align: center;
}

.order-code-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
  border: 2px solid rgba(255, 106, 26, 0.45);
  background: rgba(255, 106, 26, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: 3px 3px 0 #111;
}

.order-code-box span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rice-muted);
}

.order-code-box strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--salmon);
  word-break: break-all;
}

.pix-amount-label {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rice-muted);
  text-align: center;
}

.pix-qr-wrap {
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  padding: 0.65rem;
  width: fit-content;
  max-width: 100%;
  background: #fff;
}

.pix-qr-wrap img {
  width: min(200px, 58vw);
  height: auto;
  aspect-ratio: 1;
}

.pix-hint {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: var(--rice-muted);
  font-weight: 300;
  text-align: center;
}

.pix-copy-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pix-copy-row input {
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-foot {
  padding: 1rem 1.1rem calc(1rem + var(--safe-bottom));
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
  background: #121212;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--rice-muted);
}

.cart-total strong {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 5vw, 1.5rem);
  font-weight: 400;
  color: var(--rice);
}

.cart-actions {
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 420px) {
  .cart-actions:not(:has(#btn-back[hidden])) {
    grid-template-columns: 1fr 1.4fr;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(-1.5%, -1%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Product detail modal */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: end center;
  padding: 0;
  pointer-events: none;
}

@media (min-width: 720px) {
  .product-modal {
    place-items: center;
    padding: 1.25rem;
  }
}

.product-modal[hidden] {
  display: none !important;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 9, 0.72);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: auto;
}

.product-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 34rem);
  max-height: min(92dvh, 920px);
  overflow: hidden;
  background: #141414;
  border: 3px solid #111;
  border-radius: 1.35rem 1.35rem 0 0;
  clip-path: inset(0 round 1.35rem 1.35rem 0 0);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  pointer-events: auto;
  box-shadow: var(--comic-shadow);
}

@media (min-width: 720px) {
  .product-modal-panel {
    border-radius: 1.75rem;
    clip-path: inset(0 round 1.75rem);
    transform: translateY(12px) scale(0.98);
    max-height: min(90dvh, 920px);
  }
}

.product-modal-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 106, 26, 0.85) rgba(255, 255, 255, 0.06);
}

.product-modal-scroll::-webkit-scrollbar {
  width: 0.65rem;
}

.product-modal-scroll::-webkit-scrollbar-track {
  margin-block: 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.product-modal-scroll::-webkit-scrollbar-thumb {
  background: var(--salmon);
  border-radius: 999px;
  border: 2px solid #141414;
}

.product-modal.is-open {
  pointer-events: auto;
}

.product-modal.is-open .product-modal-backdrop {
  opacity: 1;
}

.product-modal.is-open .product-modal-panel {
  transform: none;
  opacity: 1;
}

.product-modal-close {
  position: absolute;
  top: max(0.65rem, var(--safe-top));
  right: max(0.65rem, var(--safe-right));
  z-index: 2;
  width: var(--touch);
  height: var(--touch);
  display: grid;
  place-items: center;
  background: rgba(14, 14, 14, 0.88);
  border: 2px solid #111;
  border-radius: 999px;
  box-shadow: 2px 2px 0 #111;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--rice);
}

.product-modal-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: min(38vh, 300px);
  overflow: hidden;
  background: #0a0a0a;
}

.product-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.product-modal-body {
  padding: 1.1rem 1.15rem calc(1.15rem + var(--safe-bottom));
}

@media (min-width: 720px) {
  .product-modal-body {
    padding-bottom: 1.4rem;
  }
}

.product-modal-body h2 {
  margin: 0.2rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
}

.modal-price {
  margin: 0 0 0.45rem;
}

.modal-price .price-now {
  font-size: 1.2rem;
  color: var(--salmon);
}

.modal-details {
  margin: 0 0 1.1rem;
  color: var(--rice-muted);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.55;
}

.modal-subtitle {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.modal-includes {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.modal-includes li {
  position: relative;
  padding-left: 0.9rem;
  color: var(--rice-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.modal-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--salmon);
}

.modal-reviews {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.product-modal .review-card {
  padding: 0.85rem 0.9rem;
  border: 2px solid #2a2a2a;
  background: rgba(10, 10, 10, 0.45);
  border-radius: var(--radius-sm);
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.review-head strong {
  font-size: 0.92rem;
  font-weight: 500;
}

.review-stars {
  color: var(--salmon);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.review-card p {
  margin: 0;
  color: var(--rice-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.45;
}

.review-when {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: rgba(200, 194, 180, 0.65);
}

#modal-add {
  position: sticky;
  bottom: 0;
  margin-top: 0.25rem;
  z-index: 1;
  box-shadow:
    0 -12px 24px rgba(20, 20, 20, 0.92),
    var(--comic-shadow);
}

/* —— Mobile polish —— */
@media (max-width: 719px) {
  :root {
    --page-pad: clamp(0.95rem, 4.2vw, 1.25rem);
    --header-h: 4.45rem;
  }

  .brand-logo {
    width: min(68vw, 15.5rem);
    margin-bottom: 0.85rem;
  }

  .hero-content::before {
    width: min(58vw, 14.5rem);
    height: min(58vw, 14.5rem);
    border-width: 5px;
    opacity: 0.55;
    left: calc(var(--page-pad) * -0.05);
    top: 10%;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 6.2vw, 2rem);
    max-width: 16ch;
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .menu,
  .how {
    padding-top: clamp(2.5rem, 7vh, 4rem);
    padding-bottom: clamp(2.5rem, 7vh, 4rem);
  }

  .menu-filters {
    gap: 0.45rem;
  }

  .cart-drawer {
    inset: auto 0 0 0;
    width: 100%;
  }

  .cart-panel {
    height: min(94dvh, 100%);
    max-height: 94dvh;
    border-left: none;
    border-top: 3px solid #111;
    border-radius: 1.35rem 1.35rem 0 0;
    transform: translateY(110%);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
  }

  .cart-drawer.is-open .cart-panel {
    transform: translateY(0);
  }

  .cart-panel::before {
    content: "";
    display: block;
    width: 2.5rem;
    height: 0.28rem;
    margin: 0.55rem auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    flex-shrink: 0;
  }

  .cart-head {
    padding-top: 0.65rem;
    gap: 0.75rem;
  }

  .checkout-steps {
    padding: 0.65rem 1rem 1rem;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
    gap: 0.75rem;
  }

  .cart-thumb {
    width: 72px;
    height: 72px;
    border-radius: 0.65rem;
    object-fit: cover;
  }

  .field-row {
    gap: 0.65rem;
  }

  .nearby-store-teaser {
    margin: 0.1rem 0 0.65rem;
    font-size: 0.8rem;
  }

  .nearby-store {
    margin: 0 0 1.1rem;
    padding: 0.9rem 0.9rem;
  }

  .field-num {
    width: 5rem;
    flex: 0 0 5rem;
  }

  .pix-copy-row {
    flex-wrap: wrap;
  }

  .pix-copy-row input {
    flex: 1 1 100%;
  }

  .pix-copy-row .btn-copy {
    width: 100%;
  }

  .cart-actions {
    gap: 0.55rem;
  }

  .cart-actions .btn {
    min-height: 3rem;
  }

  .product-modal-photo {
    max-height: min(34vh, 240px);
  }

  .product-modal-body {
    padding-inline: 1rem;
  }

  .steps li {
    max-width: none;
  }
}

@media (max-width: 419px) {
  .field-row:has(.field-grow + .field-grow) {
    flex-direction: column;
  }

  .field-uf {
    width: 100%;
    flex: 1 1 auto;
  }

  .cart-btn {
    padding-inline: 0.85rem;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-content,
  .product-card,
  .product-photo img,
  .spinner,
  .nearby-store {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cart-panel,
  .cart-backdrop,
  .product-card article,
  .product-modal-panel,
  .product-modal-backdrop {
    transition: none;
  }
}

/* Botão flutuante WhatsApp suporte */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
}
@media (max-width: 600px) {
  .whatsapp-fab {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
}

/* Banner de brinde (refrigerante etc) */
.gift-drink-banner {
  background: linear-gradient(90deg, #e0394b, #ff6b3d);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

/* Acompanhamento de pedido (banner fixo topo) */
.order-tracker {
  background: #1a1d24;
  border-bottom: 1px solid #2a2e37;
  padding: 12px max(var(--page-pad, 16px), env(safe-area-inset-left));
  padding-right: max(var(--page-pad, 16px), env(safe-area-inset-right));
}
.tracker-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.tracker-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tracker-title {
  margin: 0;
  font-size: 0.9rem;
  color: #fff;
}
.tracker-items {
  margin: 0;
  font-size: 0.78rem;
  color: #8a8f98;
  max-width: 500px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tracker-status {
  margin: 2px 0 0;
  font-size: 0.85rem;
  font-weight: 700;
}
.tracker-amount {
  margin: 0;
  font-size: 0.78rem;
  color: #c6c9ce;
}
.tracker-close {
  background: transparent;
  border: 1px solid #2a2e37;
  color: #8a8f98;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tracker-close:hover {
  background: #2a2e37;
  color: #fff;
}
