/* ════════════════════════════════════════════
   BEDITATION DESIGN SYSTEM — M2 (clean white)
   Spec: docs/superpowers/specs/2026-06-10-premium-redesign-design.md
   ════════════════════════════════════════════ */
:root {
  --bg:       #FFFFFF;
  --bg-soft:  #F5F5F7;
  --ink:      #1D1D1F;
  --ink-soft: #6E6E73;
  --line:     #E8E8ED;
  --accent:   #0071E3;
  --dark:     #000000;
  --success:  #1D7A46;
  --danger:   #DC2626;
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Outfit', sans-serif;
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }

/* ── TYPE ─────────────────────────────── */
.t-hero    { font-family: var(--serif); font-size: 56px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.1; }
.t-section { font-family: var(--serif); font-size: 36px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.15; }
.t-card    { font-size: 20px; font-weight: 600; }
.t-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.t-sub     { font-size: 18px; color: var(--ink-soft); }
em.t-accent { font-style: italic; color: var(--ink-soft); }

/* ── BUTTONS ──────────────────────────── */
.btn-primary, .btn-secondary {
  display: inline-block; font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 0.8rem 1.9rem; border-radius: 50px; cursor: pointer; transition: all 0.18s;
  text-align: center; border: 1.5px solid var(--ink); text-decoration: none;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #333; border-color: #333; }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── LAYOUT ───────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .t-eyebrow { display: block; margin-bottom: 0.7rem; }

/* ── NAV (injected by app.js) ─────────── */
.nav { position: sticky; top: 0; z-index: 300; background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 2rem; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--ink); text-transform: lowercase; letter-spacing: -0.04em; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { color: var(--ink-soft); font-size: 0.88rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-icon-btn { background: none; border: none; font-size: 1.15rem; cursor: pointer; color: var(--ink); position: relative; padding: 0.3rem; }
.nav-badge { position: absolute; top: -4px; right: -7px; background: var(--ink); color: #fff; border-radius: 50%;
  width: 17px; height: 17px; font-size: 0.6rem; font-weight: 700; display: none; align-items: center; justify-content: center; }
.nav-badge.show { display: flex; }
.nav-hamburger { display: none; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.nav-drawer { display: none; position: fixed; inset: 0; background: var(--bg); z-index: 999; flex-direction: column; padding: 2rem 1.5rem; overflow-y: auto; }
.nav-drawer.open { display: flex; }
.nav-drawer a { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); padding: 0.8rem 0; border-bottom: 1px solid var(--line); }

/* ── TRUST STRIP ──────────────────────── */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-around; padding: 1rem 1rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.trust-inner::-webkit-scrollbar { display: none; }
.trust-item { font-size: 0.82rem; color: var(--ink-soft); white-space: nowrap; padding: 0 1rem; flex-shrink: 0; }

/* ── PRODUCT CARD ─────────────────────── */
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pcard { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s; cursor: pointer; position: relative; }
.pcard:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }
.pcard-img { aspect-ratio: 4/3; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 1.1rem 1.2rem 1.3rem; }
.pcard-name { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.15rem; }
.pcard-tag { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.pcard-stars { font-size: 0.75rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.pcard-price { font-size: 1.05rem; font-weight: 700; }
.pcard-price del { color: #B8B8BD; font-weight: 400; font-size: 0.88rem; margin-left: 0.35rem; }
.pcard-off { color: var(--danger); font-size: 0.8rem; font-weight: 600; margin-left: 0.35rem; }
.pcard-emi { font-size: 0.75rem; color: var(--ink-soft); margin-bottom: 0.8rem; }
.pcard-add { width: 100%; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.28rem 0.7rem; border-radius: 50px; }
.badge-best { background: var(--ink); color: #fff; }
.badge-new  { background: var(--accent); color: #fff; }
.pcard .product-wish { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255,255,255,0.9);
  border: 1px solid var(--line); border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 1rem; color: var(--ink-soft); }

/* ── CATEGORY TILE ────────────────────── */
.grid-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cat-tile { background: var(--bg-soft); border-radius: 16px; padding: 2.2rem 1rem; text-align: center; transition: transform 0.18s, box-shadow 0.18s; color: var(--ink); }
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.07); }
.cat-tile .emoji { font-size: 2.6rem; display: block; margin-bottom: 0.7rem; }
.cat-tile b { display: block; font-size: 1.05rem; margin-bottom: 0.2rem; }
.cat-tile span { font-size: 0.8rem; color: var(--ink-soft); }

/* ── DARK FEATURE BAND ────────────────── */
.band-dark { background: var(--dark); color: #F5F5F7; text-align: center; padding: 5rem 2rem; }
.band-dark .t-section { color: #F5F5F7; }
.band-dark .t-sub { color: #86868B; }
.band-dark .stats { display: flex; justify-content: center; gap: 4rem; margin-top: 2.5rem; flex-wrap: wrap; }
.band-dark .stat b { font-size: 2rem; font-family: var(--serif); display: block; }
.band-dark .stat span { font-size: 0.8rem; color: #86868B; }

/* ── FAQ ──────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; text-align: left; font-family: var(--sans); font-size: 1rem;
  font-weight: 600; color: var(--ink); padding: 1.2rem 0; cursor: pointer; display: flex; justify-content: space-between; }
.faq-a { display: none; padding: 0 0 1.2rem; color: var(--ink-soft); font-size: 0.92rem; }
.faq-item.open .faq-a { display: block; }

/* ── TESTIMONIALS ─────────────────────── */
.grid-testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi { background: var(--bg-soft); border-radius: 14px; padding: 1.6rem; }
.testi .stars { color: #F5A623; font-size: 0.85rem; margin-bottom: 0.7rem; }
.testi p { font-size: 0.9rem; margin-bottom: 1rem; }
.testi .who { font-size: 0.78rem; color: var(--ink-soft); font-weight: 600; }

/* ── FORMS ────────────────────────────── */
.input { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 0.75rem 0.95rem;
  font-family: var(--sans); font-size: 0.9rem; color: var(--ink); background: var(--bg); outline: none; transition: border-color 0.15s; }
.input:focus { border-color: var(--ink); }
.label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 0.4rem; }

/* ── FOOTER (injected by app.js) ──────── */
footer { background: var(--bg-soft); padding: 4rem 2rem 2rem; margin-top: 5rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; text-transform: lowercase; margin-bottom: 0.5rem; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.9rem; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 0.85rem; padding: 0.22rem 0; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--ink-soft); flex-wrap: wrap; gap: 0.5rem; }

/* ── CART DRAWER (injected) ───────────── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 400; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100vw; background: var(--bg);
  z-index: 401; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 48px rgba(0,0,0,0.12); }
.cart-sidebar.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--line); }
.cart-head-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-item { display: flex; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item-img { width: 64px; height: 64px; border-radius: 10px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; flex-shrink: 0; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-foot { padding: 1.2rem 1.5rem; border-top: 1px solid var(--line); }
.qty-btn { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 700; }
.qty-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── SIZE PICKER SHEET (injected) ─────── */
.size-picker-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 800; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.size-picker-overlay.open { opacity: 1; pointer-events: all; }
.size-picker-sheet { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg); border-radius: 20px 20px 0 0;
  padding: 0.8rem 1.5rem 2.5rem; z-index: 801; transform: translateY(100%); transition: transform 0.32s; max-height: 65vh; overflow-y: auto; }
.size-picker-sheet.open { transform: translateY(0); }
.size-btn { padding: 0.6rem 1.25rem; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--sans);
  font-size: 0.88rem; font-weight: 600; background: var(--bg); cursor: pointer; transition: all 0.15s; }
.size-btn.selected { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ── CHECKOUT MODAL (injected) ────────── */
.checkout-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 500; display: none; align-items: center; justify-content: center; padding: 1rem; }
.checkout-overlay.open { display: flex; }
.checkout-modal { background: var(--bg); border-radius: 20px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; }
.checkout-head { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.8rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); }
.checkout-steps { display: flex; padding: 1rem 1.8rem 0; border-bottom: 1px solid var(--line); }
.checkout-step { flex: 1; text-align: center; padding-bottom: 0.8rem; border-bottom: 2.5px solid transparent; font-size: 0.72rem; font-weight: 600; color: var(--ink-soft); }
.checkout-step.active { border-bottom-color: var(--ink); color: var(--ink); }
.checkout-step.done { color: var(--success); border-bottom-color: var(--success); }
.checkout-body { padding: 1.5rem 1.8rem; }
.pay-option { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: all 0.15s; margin-bottom: 0.7rem; }
.pay-option.selected { border-color: var(--ink); background: var(--bg-soft); }

/* ── TOAST ────────────────────────────── */
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--ink);
  color: #fff; padding: 0.8rem 1.5rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500; z-index: 1000;
  opacity: 0; transition: all 0.3s; pointer-events: none; max-width: 90vw; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── REVEAL ANIMATION ─────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s, transform 0.5s; }
.reveal.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 900px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .grid-cats { grid-template-columns: repeat(2, 1fr); }
  .grid-testi { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .t-hero { font-size: 36px; }
  .t-section { font-size: 28px; }
  .t-sub { font-size: 15px; }
  .section { padding: 3rem 0; }
  .wrap { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .cart-sidebar { width: 100vw; }
  .checkout-overlay { align-items: flex-end; padding: 0; }
  .checkout-modal { max-width: 100%; border-radius: 20px 20px 0 0; max-height: 92vh; }
  .band-dark .stats { gap: 2rem; }
}
@media (max-width: 480px) {
  .grid-products { gap: 0.8rem; }
  .pcard-body { padding: 0.8rem 0.9rem 1rem; }
  .footer-top { grid-template-columns: 1fr; }
}
