/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1e1e1e;
  --border: #2a2a2a;
  --text: #f5f5f5;
  --muted: #888;
  --accent: #4ade80;
  --accent-dark: #22c55e;
  --danger: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.5rem; font-weight: 900; letter-spacing: -1px;
}

.logo-dot { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--text); }

.cart-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); padding: 8px 16px; border-radius: 999px;
  font-size: .9rem; font-weight: 600;
  transition: background var(--transition), border-color var(--transition);
}

.cart-btn:hover { background: var(--border); }

.cart-count {
  background: var(--accent); color: #000;
  font-size: .75rem; font-weight: 700;
  min-width: 20px; height: 20px; line-height: 20px;
  text-align: center; border-radius: 999px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(74,222,128,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(56,189,248,.08) 0%, transparent 50%);
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -2px;
}

.hero-accent { color: var(--accent); }

.hero-sub {
  margin-top: 24px; font-size: 1.15rem;
  color: var(--muted); max-width: 520px; line-height: 1.7;
}

.pickup-notice {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px; padding: 14px 20px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.25);
  border-radius: 12px;
  color: var(--accent); font-size: .95rem;
  max-width: 520px;
}

.pickup-notice strong { color: var(--text); }
.pickup-notice svg { flex-shrink: 0; color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; border: none; border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--accent); color: #000;
  padding: 12px 28px; font-size: .95rem;
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 0 24px rgba(74,222,128,.3);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; margin-top: 32px; }
.btn-block { width: 100%; }

.btn-sm {
  padding: 8px 14px; font-size: .8rem; border-radius: 999px;
}

.btn-outline {
  background: transparent; border: 1px solid var(--border); color: var(--text);
}

.btn-outline:hover { background: var(--surface-2); }

/* ===== SECTION ===== */
.section { padding: 80px 0; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -1px; text-align: center;
}

.section-sub {
  text-align: center; color: var(--muted);
  margin-top: 8px; font-size: 1.05rem;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ===== PRODUCT SHOWCASE (single card + flavor picker) ===== */
.product-showcase {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  border-color: var(--accent);
}

.showcase-img {
  width: 100%; height: 280px;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: var(--surface-2);
}

.showcase-img img {
  max-height: 240px; width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
}

.showcase-info { padding: 24px; }

.showcase-name {
  font-size: 1.4rem; font-weight: 800;
  margin-bottom: 8px; letter-spacing: -0.5px;
}

.showcase-desc {
  font-size: .92rem; color: var(--muted);
  line-height: 1.5; margin-bottom: 8px;
}

.showcase-price {
  font-size: 1.3rem; font-weight: 800;
  color: var(--accent); margin-bottom: 20px;
}

.flavor-label {
  font-size: .85rem; font-weight: 600;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 12px;
}

.flavor-buttons {
  display: flex; flex-direction: column; gap: 10px;
}

.flavor-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 14px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem; font-weight: 600;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.flavor-btn:hover {
  background: var(--border);
  border-color: var(--accent);
  transform: translateX(4px);
}

.flavor-btn:active { transform: scale(.98); }

.flavor-buy {
  margin-left: auto;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity var(--transition);
}

.flavor-btn:hover .flavor-buy { opacity: 1; }

.flavor-hint {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--muted);
  opacity: .7;
}

.flavor-btn.flavor-added {
  background: rgba(74,222,128,.15);
  border-color: var(--accent);
}

.flavor-dot {
  width: 16px; height: 16px;
  border-radius: 50%; flex-shrink: 0;
}

.flavor-dot[data-flavor="tropical"] { background: #f59e0b; }
.flavor-dot[data-flavor="orange"] { background: #fb923c; }
.flavor-dot[data-flavor="peach"] { background: #fbbf24; }

/* ===== SECTION ALT ===== */
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.email-btn {
  margin-top: 24px;
  font-size: .95rem;
}

/* ===== DELIVERY NOTICE ===== */
.delivery-notice {
  display: flex; align-items: flex-start; gap: 14px;
  max-width: 520px; margin: 24px auto 0;
  padding: 20px 24px;
  background: rgba(56,189,248,.08);
  border: 1px solid rgba(56,189,248,.2);
  border-radius: 12px;
  text-align: left;
}

.delivery-notice svg { flex-shrink: 0; color: #38bdf8; margin-top: 2px; }
.delivery-notice p { font-size: .95rem; color: var(--muted); line-height: 1.7; }
.delivery-notice strong { color: var(--text); }

/* ===== FOOTER CONTACT ===== */
.footer-contact {
  margin-top: 8px; font-size: .85rem;
}

.footer-contact a {
  color: var(--accent); font-weight: 600;
  transition: color var(--transition);
}

.footer-contact a:hover { color: var(--accent-dark); }

.footer-disclaimer {
  margin-top: 8px; font-size: .8rem;
  color: var(--muted); opacity: .7;
}

/* Legacy card styles (kept for cart drawer) */

.product-info { padding: 20px; }

.product-name {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 6px;
}

.product-desc {
  font-size: .88rem; color: var(--muted);
  margin-bottom: 16px; line-height: 1.5;
}

.product-footer {
  display: flex; align-items: center; justify-content: space-between;
}

.product-price {
  font-size: 1.25rem; font-weight: 800;
  color: var(--accent);
}

.add-btn {
  width: 44px; height: 44px;
  border-radius: 50%; border: none;
  background: var(--accent); color: #000;
  font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.add-btn:hover { transform: scale(1.1); background: var(--accent-dark); }
.add-btn:active { transform: scale(.95); }

/* ===== CART DRAWER ===== */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.drawer-overlay.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 400px; max-width: 90vw; z-index: 201;
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}

.drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.drawer-header h3 { font-size: 1.15rem; font-weight: 700; }

.drawer-close {
  background: none; border: none; color: var(--muted);
  font-size: 1.8rem; line-height: 1;
  transition: color var(--transition);
}

.drawer-close:hover { color: var(--text); }

.drawer-body {
  flex: 1; overflow-y: auto;
  padding: 20px 24px;
}

.empty-cart { color: var(--muted); text-align: center; padding-top: 40px; }

.cart-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.cart-item-img img { max-height: 40px; width: auto; }

.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name { font-size: .9rem; font-weight: 600; }
.cart-item-price { font-size: .85rem; color: var(--muted); }

.cart-item-qty {
  display: flex; align-items: center; gap: 8px;
}

.qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text);
  font-size: 1rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}

.qty-btn:hover { background: var(--border); }

.qty-num {
  font-size: .9rem; font-weight: 600; min-width: 20px;
  text-align: center;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.drawer-total {
  display: flex; justify-content: space-between;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 16px;
}

/* ===== SUCCESS ===== */
.success-section { min-height: 70vh; display: flex; align-items: center; }

.success-icon {
  width: 80px; height: 80px; margin: 0 auto 24px;
  background: var(--accent); color: #000;
  border-radius: 50%;
  font-size: 2.5rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted); font-size: .85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hero { min-height: 80vh; }
  .showcase-img { height: 200px; padding: 16px; }
  .showcase-img img { max-height: 180px; }
  .showcase-info { padding: 18px; }
  .showcase-name { font-size: 1.2rem; }
  .flavor-btn { padding: 12px 16px; font-size: .92rem; }
}

@media (max-width: 400px) {
  .showcase-img { height: 170px; }
}
