:root {
  --bg: #09060f;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.14);
  --text: #fff7fb;
  --muted: #cbb9dc;
  --accent: #a855f7;
  --accent-2: #f43f5e;
  --accent-3: #fbbf24;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.24), transparent 30rem),
    radial-gradient(circle at top right, rgba(244, 63, 94, 0.18), transparent 26rem),
    linear-gradient(180deg, #09060f 0%, #10091b 52%, #07040c 100%);
}
body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 75%);
}
button, input, textarea, select, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.app-shell {
  width: min(100%, 540px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 14px 92px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 10px 0 14px;
  background: linear-gradient(180deg, rgba(9,6,15,.98), rgba(9,6,15,.86), rgba(9,6,15,.28), transparent);
  backdrop-filter: blur(18px);
}
.logo-wrap {
  position: relative;
  left: auto;
  top: auto;
  display: flex;
  justify-content: center;
  width: min(92%, 430px);
  transform: none;
  pointer-events: none;
}
.logo-wrap > div:last-child { display: none; }
.logo-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: min(88vw, 390px);
  height: 128px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0;
  font-weight: 900;
  letter-spacing: -.06em;
}
.logo-symbol span { display: none; }
.logo-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 24px 34px rgba(0,0,0,.42));
}
.topbar > .cart-chip { display: none; }
.cart-chip {
  position: relative;
  z-index: 4;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.08);
  font-weight: 900;
  backdrop-filter: blur(16px);
}
.section-card {
  margin-bottom: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--card-strong), var(--card));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 34px;
  text-align: center;
}
.hero::after {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(244,63,94,.38), transparent 64%);
}
.eyebrow {
  margin: 0 0 10px;
  color: #f0abfc;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 9.5ch;
  margin: 0 auto 14px;
  font-size: clamp(2.55rem, 12vw, 4.3rem);
  line-height: .88;
  letter-spacing: -.08em;
}
h2 { margin-bottom: 12px; font-size: 1.55rem; line-height: 1.02; letter-spacing: -.04em; }
p, .hero-text { color: var(--muted); line-height: 1.55; }
.hero-text { max-width: 26ch; margin: 0 auto; }
.hero-actions, .form-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  color: var(--text);
  font-weight: 900;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 16px 34px rgba(244,63,94,.28); }
.btn-secondary, .btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.08); }
.btn-wide { width: 100%; margin-top: 12px; }
.trust-row { display: none; }
.product-preview { display: grid; gap: 20px; overflow: hidden; }
.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 230px;
  border-radius: 26px;
  background: radial-gradient(circle at center, rgba(168,85,247,.3), transparent 45%), rgba(255,255,255,.055);
}
.cup-glow { position: absolute; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(251,191,36,.24), transparent 66%); filter: blur(10px); }
.product-image {
  position: relative;
  z-index: 4;
  width: min(86%, 280px);
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(0,0,0,.45));
}
.product-image + .cup-shape { display: none; }
.cup-shape {
  position: relative;
  width: 86px;
  height: 138px;
  border: 2px solid rgba(255,255,255,.42);
  border-top-width: 5px;
  border-radius: 18px 18px 32px 32px;
  background: linear-gradient(180deg, transparent 10%, rgba(244,63,94,.36) 54%, rgba(168,85,247,.52) 100%), rgba(255,255,255,.08);
  box-shadow: inset 0 -18px 40px rgba(255,255,255,.1), 0 26px 60px rgba(168,85,247,.25);
}
.price-badge {
  display: inline-flex;
  padding: 10px 12px;
  border: 1px solid rgba(251,191,36,.3);
  border-radius: 999px;
  background: rgba(251,191,36,.1);
  color: #fde68a;
  font-size: .88rem;
  font-weight: 900;
}
.section-title { margin-bottom: 16px; }
.split-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
fieldset { margin: 0 0 18px; padding: 0; border: 0; }
legend { margin-bottom: 10px; color: var(--text); font-weight: 900; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option-card {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  contain: layout paint;
  transform: translateZ(0);
}
.option-card input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.option-card.is-checked { border-color: rgba(244,63,94,.8); background: rgba(244,63,94,.15); box-shadow: 0 0 0 1px rgba(244,63,94,.22); }
.option-card span { font-weight: 900; }
.option-card small { color: var(--muted); line-height: 1.35; }
.input-group { display: grid; gap: 8px; margin-bottom: 12px; color: var(--text); font-weight: 800; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  outline: none;
  padding: 14px;
  color: var(--text);
  background: rgba(255,255,255,.07);
}
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: rgba(168,85,247,.75); box-shadow: 0 0 0 3px rgba(168,85,247,.16); }
.quantity-row, .live-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}
.quantity-row span, .live-total span { color: var(--muted); font-weight: 800; }
.live-total strong { color: #fde68a; font-size: 1.3rem; }
.quantity-control { display: inline-flex; align-items: center; gap: 12px; }
.quantity-control button, .mini-btn, .item-action {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255,255,255,.08);
  font-weight: 900;
}
.quantity-control button { width: 36px; height: 36px; }
.mini-btn { min-height: 34px; padding: 0 10px; }
.cart-items { display: grid; gap: 10px; margin-bottom: 14px; }
.empty-state { padding: 18px; border: 1px dashed rgba(255,255,255,.2); border-radius: 18px; color: var(--muted); text-align: center; }
.cart-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}
.cart-item-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cart-item h3 { margin: 0; font-size: 1rem; }
.cart-item p { margin: 4px 0 0; font-size: .86rem; }
.cart-item-actions { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.item-action { min-height: 34px; padding: 0 10px; }
.summary-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(251,191,36,.25);
  border-radius: 20px;
  background: rgba(251,191,36,.07);
}
.summary-box div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.summary-box span { color: var(--muted); font-weight: 800; }
.summary-box strong { color: var(--text); }
.summary-total { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); }
.summary-total strong { color: #fde68a; font-size: 1.5rem; }
.summary-box small { color: #fde68a; line-height: 1.45; }
.bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: min(calc(100% - 28px), 520px);
  padding: 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: rgba(16,9,27,.86);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
}
.bottom-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  color: var(--text);
  font-size: .86rem;
  font-weight: 900;
}
.bottom-bar a[href="#produto"] { display: none; }
.bottom-bar a[href="#carrinho"] { font-size: 0; }
.bottom-bar a[href="#carrinho"]::before { content: "🛒"; font-size: 1.15rem; }
.bottom-bar a[href="#carrinho"] span { font-size: .9rem; }
@media (min-width: 680px) {
  .hero-actions, .form-actions { grid-template-columns: 1fr 1fr; }
}

.topbar {
  top: -34px;
  min-height: 118px;
  padding: 0 0 8px;
  background: linear-gradient(
    180deg,
    rgba(9, 6, 15, 0.98),
    rgba(9, 6, 15, 0.78),
    rgba(9, 6, 15, 0.18),
    transparent
  );
}

.logo-wrap {
  transform: translateY(-2px);
}

.logo-symbol {
  width: min(78vw, 340px);
  height: 100px;
}

.logo-img {
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.38));
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.product-title-row h2 {
  margin: 0;
}

.delivery-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.28);
}
