/* ============================================================
   My Astro Pandit — Stellarium light theme (ported from the
   React/Tailwind app to plain CSS, no build step).
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --radius: 1rem;

  --background: oklch(0.975 0.018 85);
  --foreground: oklch(0.20 0.02 280);
  --card: oklch(0.995 0.008 85);
  --card-foreground: oklch(0.20 0.02 280);

  --gold: oklch(0.72 0.15 65);
  --gold-foreground: oklch(0.20 0.02 280);
  --gold-soft: oklch(0.86 0.10 75);

  --primary: oklch(0.50 0.22 295);
  --primary-foreground: oklch(0.99 0.005 85);
  --primary-glow: oklch(0.62 0.22 295);

  --secondary: oklch(0.95 0.025 75);
  --secondary-foreground: oklch(0.25 0.04 295);
  --muted: oklch(0.94 0.018 80);
  --muted-foreground: oklch(0.46 0.03 285);
  --accent: oklch(0.92 0.06 65);

  --destructive: oklch(0.62 0.22 25);
  --border: oklch(0.88 0.02 75);
  --input: oklch(0.93 0.015 75);
  --ring: oklch(0.50 0.22 295);

  --blob-peach: oklch(0.92 0.07 40);
  --blob-mint:  oklch(0.93 0.07 165);
  --blob-butter:oklch(0.95 0.09 95);
  --blob-sky:   oklch(0.92 0.06 235);
  --blob-lav:   oklch(0.90 0.08 295);

  --gradient-cosmic: linear-gradient(180deg, oklch(0.98 0.02 85) 0%, oklch(0.94 0.04 70) 50%, oklch(0.96 0.03 95) 100%);
  --gradient-gold: linear-gradient(135deg, oklch(0.50 0.22 295), oklch(0.72 0.15 65));
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--gold));
  --shadow-gold: 0 18px 50px -22px oklch(0.50 0.22 295 / 30%);
  --shadow-soft: 0 10px 40px -18px oklch(0.30 0.05 295 / 18%);

  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--gradient-cosmic);
  background-attachment: fixed;
  color: var(--foreground);
  font-family: var(--font-sans);
  min-height: 100vh;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; color: var(--foreground); line-height: 1.12; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 6rem 0; position: relative; }
.muted { color: var(--muted-foreground); }
.center { text-align: center; }

.eyebrow { font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 600; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); text-align: center; font-weight: 500; letter-spacing: -0.01em; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .eyebrow { display: block; margin-bottom: 1rem; }
.gradient-text { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-gold { color: var(--gold); }
.stars { color: var(--gold); letter-spacing: 1px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1.4rem; border-radius: 9999px; font-weight: 600; font-size: 0.92rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; white-space: nowrap; }
.btn svg, .btn .ic { width: 1.05em; height: 1.05em; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.82rem; }
.btn-lg { padding: 0.85rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: var(--primary-glow); transform: translateY(-1px); }
.btn-gold { background: var(--foreground); color: var(--background); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-1px); background: oklch(0.32 0.02 270); }
.btn-outline { border: 1px solid var(--border); background: color-mix(in oklab, var(--card) 70%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--foreground); }
.btn-outline:hover { border-color: var(--foreground); transform: translateY(-1px); }
.btn-gold-outline { border: 1px solid color-mix(in oklab, var(--gold) 40%, transparent); color: var(--gold); background: transparent; }
.btn-gold-outline:hover { background: color-mix(in oklab, var(--gold) 10%, transparent); }
.btn-secondary { background: var(--secondary); color: var(--secondary-foreground); }
.btn-secondary:hover { transform: translateY(-1px); }
.btn-square { border-radius: 0; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem; height: 3rem; padding: 0 2.2rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── Header pill ─────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; padding: 1rem 0.75rem 0; }
@media (min-width: 768px) { .site-header { padding: 1.5rem 1.5rem 0; } }
.nav-pill { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background: color-mix(in oklab, var(--card) 85%, transparent);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-radius: 9999px; padding: 0.6rem 1.4rem; box-shadow: var(--shadow-soft); transition: box-shadow .3s ease; }
.nav-pill.scrolled { box-shadow: 0 16px 44px -20px oklch(0.30 0.05 295 / 30%); }
.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; max-width: 210px; object-fit: contain; display: block; }
.brand-logo-lg { height: 64px; max-width: 240px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--gradient-gold); color: var(--primary-foreground); box-shadow: 0 6px 18px -8px var(--primary); }
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; }
.brand-name small { display: block; font-family: var(--font-sans); font-size: .56rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 600; margin-top: 1px; }
.nav-links { display: none; align-items: center; gap: 1.7rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: color-mix(in oklab, var(--foreground) 75%, transparent); transition: color .2s ease; }
.nav-links a:hover { color: var(--foreground); }
.nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .nav-actions { gap: 0.75rem; } }
.icon-btn { position: relative; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; transition: background .2s ease; }
.icon-btn:hover { background: var(--secondary); }
.icon-btn svg { width: 18px; height: 18px; }
.cart-badge { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; background: var(--primary); color: var(--primary-foreground); font-size: .62rem; font-weight: 700; border-radius: 9999px; }
.cart-badge.bump { animation: bump .4s ease; }
@keyframes bump { 0%,100%{transform:scale(1)} 35%{transform:scale(1.5)} }
.auth-links { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .auth-links { display: flex; } }
.link-quiet { font-size: 0.875rem; color: color-mix(in oklab, var(--foreground) 80%, transparent); padding: 0.35rem 0.7rem; }
.link-quiet:hover { color: var(--foreground); }
.hamburger { display: grid; }
@media (min-width: 1024px) { .hamburger { display: none; } }
.mobile-menu { display: none; max-width: 1200px; margin: 0.5rem auto 0; border: 1px solid color-mix(in oklab, var(--border) 60%, transparent); background: color-mix(in oklab, var(--card) 95%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-radius: 1.25rem; padding: 0.5rem; box-shadow: var(--shadow-soft); }
.mobile-menu.open { display: block; }
.mobile-menu a, .mobile-menu button { display: block; width: 100%; text-align: left; padding: 0.7rem 0.85rem; font-size: 0.9rem; font-weight: 500; border-radius: 0.6rem; }
.mobile-menu a:hover, .mobile-menu button:hover { background: var(--secondary); }
.mobile-menu .sep { border-top: 1px solid color-mix(in oklab, var(--border) 40%, transparent); margin: 0.3rem 0; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 2.5rem 0 4rem; }
@media (min-width: 768px) { .hero { padding: 4rem 0 6rem; } }
.hero-blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-blobs span { position: absolute; border-radius: 50%; }
.hero-blobs .b1 { top: -8rem; left: -6rem; width: 36rem; height: 36rem; background: var(--blob-peach); opacity: .6; filter: blur(80px); }
.hero-blobs .b2 { top: 5rem; right: -6rem; width: 34rem; height: 34rem; background: var(--blob-lav); opacity: .6; filter: blur(90px); }
.hero-blobs .b3 { bottom: 0; left: 33%; width: 28rem; height: 28rem; background: var(--blob-butter); opacity: .5; filter: blur(90px); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.hero-copy { text-align: center; }
@media (min-width: 768px) { .hero-copy { text-align: left; } }
.hero-pill { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid color-mix(in oklab, var(--primary) 15%, transparent); background: color-mix(in oklab, var(--card) 70%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 0.3rem 0.8rem; border-radius: 9999px; font-size: 0.7rem; font-weight: 500; color: var(--primary); box-shadow: var(--shadow-soft); }
.hero h1 { margin-top: 1.3rem; font-size: clamp(2.25rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.hero h1 .italic { font-style: italic; }
.hero-sub { margin: 1.3rem auto 0; max-width: 32rem; color: var(--muted-foreground); font-size: 1.05rem; }
@media (min-width: 768px) { .hero-sub { margin-left: 0; } }
.hero-cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
@media (min-width: 768px) { .hero-cta { justify-content: flex-start; } }
.hero-stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .hero-stats { margin-left: 0; } }
.hero-stats .k { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.02em; }
.hero-stats .v { margin-top: 0.25rem; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .halo { position: absolute; inset: 0; margin: auto; width: 75%; height: 75%; border-radius: 50%; background: linear-gradient(135deg, color-mix(in oklab, var(--primary) 20%, transparent), color-mix(in oklab, var(--gold) 20%, transparent)); filter: blur(48px); z-index: -1; }
.mandala { width: 100%; max-width: 460px; animation: spin 120s linear infinite; filter: drop-shadow(0 20px 60px rgba(80,40,160,.25)); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Featured-in strip ───────────────────────────────────── */
.featured-in { border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); background: color-mix(in oklab, var(--card) 40%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 2rem 0; }
.featured-in p { text-align: center; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted-foreground); margin-bottom: 1.1rem; }
.featured-in .logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 2.5rem; font-family: var(--font-display); font-size: 1.15rem; color: color-mix(in oklab, var(--foreground) 55%, transparent); }

/* ── About feature grid ──────────────────────────────────── */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-grid > p { color: var(--muted-foreground); font-size: 1.1rem; line-height: 1.7; }
.feature-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.feature-cells .cell { padding: 1.5rem; background: var(--background); transition: background .2s ease; }
.feature-cells .cell:hover { background: var(--secondary); }
.feature-cells .cell svg { width: 20px; height: 20px; color: var(--foreground); margin-bottom: 1rem; }
.feature-cells .cell h4 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.feature-cells .cell p { font-size: 0.78rem; color: var(--muted-foreground); }

/* ── Cards: services / products / astrologers ────────────── */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4,1fr); } }

.service-card { padding: 1.75rem; border: 1px solid var(--border); background: var(--card); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.service-card:hover { border-color: var(--foreground); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.service-card .sc-icon { width: 26px; height: 26px; color: var(--foreground); margin-bottom: 1.25rem; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.88rem; color: var(--muted-foreground); margin-bottom: 1.25rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service-card .sc-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); }
.service-card .price { font-weight: 600; }
.sc-link { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; }
.sc-link:hover { text-decoration: underline; }

.product-card { display: flex; flex-direction: column; }
.product-card .p-img { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--border); margin-bottom: 1rem; background: var(--secondary); }
.product-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.product-card:hover .p-img img { transform: scale(1.05); }
.product-card h4 { font-size: 1.05rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.product-card a:hover h4 { text-decoration: underline; }
.product-card .p-price { font-size: 0.9rem; color: var(--muted-foreground); margin: 0.25rem 0 0.75rem; }
.product-card .p-price del { opacity: .6; margin-left: 0.4rem; }
.product-card .p-actions { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; }
.product-card .p-actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.badge-out { display: inline-block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--destructive); font-weight: 600; }

.astro-card { border: 1px solid var(--border); background: var(--card); padding: 1.75rem; text-align: center; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.astro-card:hover { border-color: var(--foreground); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.astro-card .a-photo { width: 110px; height: 110px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; border: 3px solid color-mix(in oklab, var(--gold) 45%, transparent); }
.astro-card .a-photo img { width: 100%; height: 100%; object-fit: cover; }
.astro-card h3 { font-size: 1.25rem; }
.astro-card .a-spec { color: var(--gold); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin: 0.35rem 0 0.6rem; }
.astro-card .a-meta { font-size: 0.82rem; color: var(--muted-foreground); margin-bottom: 1rem; }

/* ── CTA watercolor block ────────────────────────────────── */
.cta-block { position: relative; isolation: isolate; padding: 3.5rem 1.5rem; text-align: center; border: 1px solid var(--border); overflow: hidden; }
@media (min-width: 768px) { .cta-block { padding: 5rem; } }
.cta-block::before, .cta-block::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: 0.7; pointer-events: none; }
.cta-block::before { width: 38rem; height: 38rem; background: var(--blob-peach); top: -8rem; left: -10rem; }
.cta-block::after { width: 34rem; height: 34rem; background: var(--blob-mint); top: 4rem; right: -8rem; }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero { position: relative; overflow: hidden; padding: 3.5rem 0 2rem; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-hero p { color: var(--muted-foreground); max-width: 36rem; margin: 1rem auto 0; }

/* ── Forms ───────────────────────────────────────────────── */
.input, .field input, .field textarea, .field select { width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: 0.7rem; background: var(--card); color: var(--foreground); font-family: inherit; font-size: 0.95rem; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 14%, transparent); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--muted-foreground); }

/* ── Pills / filters ─────────────────────────────────────── */
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.pill { padding: 0.45rem 1.1rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--card); color: var(--muted-foreground); font-size: 0.82rem; font-weight: 600; transition: all .2s ease; }
.pill:hover { border-color: var(--gold); color: var(--gold); }
.pill.active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { margin-top: 6rem; border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent); background: color-mix(in oklab, var(--background) 60%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-brand p { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.7; margin: 1rem 0 1.25rem; max-width: 24rem; }
.socials { display: flex; gap: 0.75rem; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--gold) 30%, transparent); display: grid; place-items: center; color: var(--gold); transition: background .2s ease; }
.socials a:hover { background: color-mix(in oklab, var(--gold) 10%, transparent); }
.socials svg { width: 16px; height: 16px; }
.footer-col h4 { color: var(--gold); margin-bottom: 1rem; font-size: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a, .footer-contact a, .footer-contact span { font-size: 0.9rem; color: var(--muted-foreground); }
.footer-col ul a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.75rem; font-size: 0.9rem; color: var(--muted-foreground); }
.footer-contact li svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid color-mix(in oklab, var(--border) 40%, transparent); }
.footer-bottom .container { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: space-between; padding: 1.25rem; font-size: 0.75rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .footer-bottom .container { flex-direction: row; } }
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom .links a:hover { color: var(--foreground); }
.newsletter { margin-top: 1.25rem; display: flex; gap: 0.5rem; }
.newsletter input { height: 38px; }

/* ── Reveal on scroll ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Misc ────────────────────────────────────────────────── */
.divider-gold { height: 2px; width: 7rem; margin: 1.2rem auto 0; background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--gold) 60%, transparent), transparent); }
.empty { text-align: center; color: var(--muted-foreground); padding: 3rem 1rem; }
.hidden-sm { display: none; }
@media (min-width: 640px) { .hidden-sm { display: inline; } }

/* Watercolor backdrops (Stellarium signature) */
.watercolor { position: relative; isolation: isolate; }
.watercolor::before, .watercolor::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .7; pointer-events: none; }
.watercolor::before { width: 38rem; height: 38rem; background: var(--blob-peach); top: -8rem; left: -10rem; }
.watercolor::after { width: 34rem; height: 34rem; background: var(--blob-mint); top: 4rem; right: -8rem; }
.watercolor-soft { position: relative; isolation: isolate; }
.watercolor-soft::before { content: ""; position: absolute; z-index: -1; width: 28rem; height: 28rem; border-radius: 50%; filter: blur(70px); opacity: .5; background: var(--blob-butter); top: 10%; right: -6rem; pointer-events: none; }

/* Prose for legal / content pages */
.prose { max-width: 46rem; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.prose p { color: var(--muted-foreground); line-height: 1.8; margin-bottom: 1rem; }
.prose ul.bullets { margin: 0 0 1rem 1.2rem; list-style: disc; color: var(--muted-foreground); line-height: 1.8; }

/* Tabs (auth) */
.tabs { display: flex; gap: .5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.tabs button { padding: .6rem 1rem; font-weight: 600; color: var(--muted-foreground); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.active { color: var(--foreground); border-bottom-color: var(--primary); }
.auth-card { max-width: 30rem; margin: 0 auto; border: 1px solid var(--border); background: var(--card); padding: 2rem; border-radius: 1rem; box-shadow: var(--shadow-soft); }
.notice { border: 1px dashed color-mix(in oklab, var(--gold) 45%, transparent); background: color-mix(in oklab, var(--gold) 8%, transparent); color: var(--foreground); padding: 1rem 1.25rem; border-radius: .75rem; font-size: .9rem; }

/* ── Flash messages ──────────────────────────────────────── */
.flash { padding: .85rem 1.1rem; border-radius: .7rem; margin-bottom: 1.25rem; font-size: .92rem; border: 1px solid transparent; }
.flash-success { background: color-mix(in oklab, var(--blob-mint) 55%, var(--card)); border-color: color-mix(in oklab, oklch(0.55 0.15 165) 35%, transparent); color: oklch(0.32 0.08 165); }
.flash-error   { background: color-mix(in oklab, var(--destructive) 12%, var(--card)); border-color: color-mix(in oklab, var(--destructive) 35%, transparent); color: oklch(0.42 0.18 25); }
.flash-info    { background: color-mix(in oklab, var(--blob-sky) 45%, var(--card)); border-color: color-mix(in oklab, oklch(0.55 0.15 235) 30%, transparent); color: oklch(0.34 0.10 250); }

/* ── Status pills (orders) ───────────────────────────────── */
.status-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 9999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sp-pending    { background: color-mix(in oklab, var(--blob-butter) 60%, var(--card)); color: oklch(0.42 0.12 75); }
.sp-processing { background: color-mix(in oklab, var(--blob-lav) 55%, var(--card)); color: oklch(0.40 0.16 295); }
.sp-shipped    { background: color-mix(in oklab, var(--blob-sky) 55%, var(--card)); color: oklch(0.36 0.12 240); }
.sp-delivered  { background: color-mix(in oklab, var(--blob-mint) 60%, var(--card)); color: oklch(0.34 0.10 165); }
.sp-cancelled, .sp-refunded { background: color-mix(in oklab, var(--destructive) 12%, var(--card)); color: oklch(0.45 0.16 25); }

/* ── Account / data panels ───────────────────────────────── */
.panel { border: 1px solid var(--border); background: var(--card); border-radius: 1rem; padding: 1.75rem; box-shadow: var(--shadow-soft); }
.panel + .panel { margin-top: 1.5rem; }
.panel h3 { font-size: 1.35rem; margin-bottom: 1.1rem; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--border); font-size: .9rem; }
.data-table th { font-family: var(--font-sans); font-weight: 600; color: var(--muted-foreground); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.data-table tr:last-child td { border-bottom: none; }
.account-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .account-grid { grid-template-columns: 240px 1fr; } }
.side-nav { display: flex; flex-direction: column; gap: .25rem; }
.side-nav a { padding: .7rem 1rem; border-radius: .7rem; font-weight: 600; font-size: .92rem; color: var(--muted-foreground); }
.side-nav a:hover { background: var(--secondary); color: var(--foreground); }
.side-nav a.active { background: var(--primary); color: var(--primary-foreground); }

/* OTP input */
.otp-input { letter-spacing: .5em; text-align: center; font-size: 1.4rem; font-weight: 700; font-family: var(--font-display); }

/* ── Admin panel ─────────────────────────────────────────── */
.admin-shell { display: flex; min-height: 100vh; }
.admin-overlay { display: none; position: fixed; inset: 0; background: oklch(0.20 0.02 280 / 40%); z-index: 40; }
.admin-sidebar {
  width: 256px; flex-shrink: 0; position: sticky; top: 0; align-self: flex-start; height: 100vh; overflow-y: auto;
  background: color-mix(in oklab, var(--card) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-right: 1px solid var(--border); padding: 1.25rem 1rem; z-index: 50;
}
.admin-brand { display: flex; align-items: center; gap: .6rem; padding: .35rem .5rem 1.1rem; margin-bottom: .75rem; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.admin-brand small { display: block; font-family: var(--font-sans); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 600; }
.admin-nav { display: flex; flex-direction: column; gap: .15rem; }
.admin-nav a { display: flex; align-items: center; gap: .75rem; padding: .65rem .8rem; border-radius: .7rem; font-size: .9rem; font-weight: 600; color: var(--muted-foreground); transition: background .15s ease, color .15s ease; }
.admin-nav a svg { width: 18px; height: 18px; }
.admin-nav a:hover { background: var(--secondary); color: var(--foreground); }
.admin-nav a.active { background: var(--primary); color: var(--primary-foreground); }
.admin-nav a.danger { color: var(--destructive); }
.admin-nav a.danger:hover { background: color-mix(in oklab, var(--destructive) 12%, transparent); }
.admin-nav-sep { height: 1px; background: var(--border); margin: .6rem 0; }

.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: color-mix(in oklab, var(--background) 80%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.admin-topbar h1 { font-size: 1.4rem; flex: 1; }
.admin-who { display: flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--muted-foreground); }
.admin-burger { display: none; }
.admin-burger svg { width: 22px; height: 22px; }
.admin-content { padding: 1.75rem 1.5rem 3rem; max-width: 1200px; width: 100%; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card { border: 1px solid var(--border); background: var(--card); border-radius: 1rem; padding: 1.4rem 1.5rem; box-shadow: var(--shadow-soft); }
.stat-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gradient-gold); color: var(--primary-foreground); margin-bottom: .9rem; }
.stat-card .ic svg { width: 22px; height: 22px; }
.stat-card .num { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.stat-card .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-foreground); margin-top: .4rem; font-weight: 600; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.toolbar h2 { font-size: 1.35rem; }
.admin-table-wrap { overflow-x: auto; }
.admin-table-wrap .data-table { min-width: 640px; }
.data-table .actions { display: flex; gap: .4rem; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; padding: .2rem .6rem; border-radius: 9999px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.badge-on { background: color-mix(in oklab, var(--blob-mint) 60%, var(--card)); color: oklch(0.34 0.10 165); }
.badge-off { background: color-mix(in oklab, var(--destructive) 12%, var(--card)); color: oklch(0.45 0.16 25); }
.badge-gold { background: color-mix(in oklab, var(--gold) 22%, var(--card)); color: oklch(0.42 0.12 75); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border); background: var(--secondary); }

.admin-login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }

@media (max-width: 1024px) {
  .admin-sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .25s ease; box-shadow: var(--shadow-soft); }
  body.admin-open .admin-sidebar { transform: translateX(0); }
  body.admin-open .admin-overlay { display: block; }
  .admin-burger { display: grid; place-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .mandala { animation: none !important; }
}
