/* ============================================================
   VANDIS VIP — DARK LUXURY THEME
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── Design tokens ───────────────────────────────────────── */
:root {
  --bg:          #050508;
  --bg2:         #0a0a10;
  --bg3:         #0f0f18;
  --card:        #111118;
  --card2:       #16161f;
  --border:      rgba(255,255,255,0.07);
  --border-h:    rgba(176,110,255,0.4);

  --pink:        #ff6eb4;
  --purple:      #b06eff;
  --blue:        #6eaeff;

  --grad:        linear-gradient(135deg, #ff6eb4 0%, #b06eff 50%, #6eaeff 100%);
  --grad-h:      linear-gradient(135deg, #ff8fc8 0%, #c48fff 50%, #92c4ff 100%);
  --glow:        0 0 30px rgba(176,110,255,0.25);
  --glow-sm:     0 0 15px rgba(176,110,255,0.15);

  --text:        #f0f0ff;
  --text2:       #9090b0;
  --text3:       #555570;

  --green:       #00e87a;
  --red:         #ff3355;
  --yellow:      #ffcc00;

  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --font:        'Inter', system-ui, sans-serif;
  --font-head:   'Space Grotesk', system-ui, sans-serif;

  --nav-h:       68px;
  --max:         1200px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ───────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(5,5,8,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav__inner {
  width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
}
.nav__logo img { height: 36px; width: 36px; object-fit: cover; border-radius: 8px; }
.nav__logo-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__links a {
  padding: 8px 14px; border-radius: 8px; font-size: 0.875rem; font-weight: 500;
  color: var(--text2); transition: color 0.2s, background 0.2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav__cart {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text); font-size: 0.875rem; font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav__cart:hover { border-color: var(--purple); box-shadow: var(--glow-sm); }
.nav__cart svg { width: 18px; height: 18px; }
#cart-badge {
  display: none; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 0.625rem; font-weight: 700;
}
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.nav__mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 99;
  background: rgba(5,5,8,0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a { font-size: 1.5rem; font-weight: 600; color: var(--text2); transition: color 0.2s; }
.nav__mobile a:hover { color: var(--text); }

/* ── Disclaimer ───────────────────────────────────────────── */
.disclaimer {
  text-align: center; padding: 10px 20px;
  background: rgba(176,110,255,0.08);
  border-bottom: 1px solid rgba(176,110,255,0.15);
  font-size: 0.75rem; color: var(--text2); letter-spacing: 0.03em;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
}
.disclaimer strong { color: var(--purple); }

/* ── Page wrapper ─────────────────────────────────────────── */
.page {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 56px;
}

/* ── DNA BG decoration ────────────────────────────────────── */
.dna-bg {
  position: fixed; top: 0; right: 0; width: 420px; height: 100vh;
  opacity: 0.04; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle at 70% 20%, var(--pink) 0%, transparent 50%),
    radial-gradient(circle at 30% 60%, var(--purple) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, var(--blue) 0%, transparent 50%);
}
.orb {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(80px);
}
.orb--1 { width: 500px; height: 500px; top:-200px; right:-200px; background: rgba(176,110,255,0.12); }
.orb--2 { width: 400px; height: 400px; bottom:-100px; left:-150px; background: rgba(255,110,180,0.08); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 20px rgba(176,110,255,0.3);
}
.btn--primary:hover { box-shadow: 0 6px 30px rgba(176,110,255,0.5); opacity: 0.92; }
.btn--outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-h);
}
.btn--outline:hover { background: rgba(176,110,255,0.08); border-color: var(--purple); box-shadow: var(--glow-sm); }
.btn--ghost { background: rgba(255,255,255,0.05); color: var(--text2); }
.btn--ghost:hover { background: rgba(255,255,255,0.09); color: var(--text); }
.btn--danger { background: var(--red); color: #fff; }
.btn--sm { padding: 8px 16px; font-size: 0.8rem; border-radius: 8px; }
.btn--lg { padding: 16px 32px; font-size: 1rem; border-radius: 14px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(176,110,255,0.3); box-shadow: var(--glow-sm); }

/* ── Product Card ─────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: rgba(176,110,255,0.35);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}
.product-card__img {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative; overflow: hidden;
}
.product-card__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17,17,24,0.8) 100%);
}
.product-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-card__cat { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--purple); }
.product-card__name { font-family: var(--font-head); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.product-card__size { font-size: 0.8rem; color: var(--text2); }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.product-card__price { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 600;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.badge--stock { background: rgba(0,232,122,0.1); color: var(--green); }
.badge--stock::before { background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulse-green 2s infinite; }
.badge--oos { background: rgba(255,51,85,0.1); color: var(--red); }
.badge--oos::before { background: var(--red); }
.badge--new { background: rgba(176,110,255,0.15); color: var(--purple); }
.badge--new::before { display: none; }
@keyframes pulse-green { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 120px 20px 80px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: rgba(176,110,255,0.1); border: 1px solid rgba(176,110,255,0.2);
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--purple); margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-head); font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--text2); max-width: 560px;
  margin: 0 auto 40px; line-height: 1.65;
}
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__dna {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px; opacity: 0.04; pointer-events: none;
  background: radial-gradient(ellipse at center, var(--purple) 0%, transparent 70%);
}

/* ── Features strip ───────────────────────────────────────── */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; text-align: center;
}
.feature__icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature__title { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.feature__desc { font-size: 0.8rem; color: var(--text2); }

/* ── Section heading ──────────────────────────────────────── */
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 10px; }
.section-head p { color: var(--text2); max-width: 500px; }

/* ── Filters ──────────────────────────────────────────────── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
  padding: 8px 18px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
  background: var(--card2); border: 1px solid var(--border); color: var(--text2);
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(176,110,255,0.12); border-color: var(--purple); color: var(--text);
}
.search-bar {
  width: 100%; max-width: 400px; position: relative; margin-bottom: 28px;
}
.search-bar input {
  width: 100%; padding: 10px 16px 10px 40px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-size: 0.875rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-bar input:focus { border-color: var(--purple); box-shadow: var(--glow-sm); }
.search-bar input::placeholder { color: var(--text3); }
.search-bar svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text3); width:16px;height:16px; }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: 0.06em; }
.form-input {
  width: 100%; padding: 12px 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-size: 0.9rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus { border-color: var(--purple); box-shadow: var(--glow-sm); }
.form-input::placeholder { color: var(--text3); }
select.form-input { appearance: none; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-full { grid-column: 1 / -1; }

/* ── Cart page ────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.cart-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--border); margin-bottom: 12px;
}
.cart-item__thumb {
  width: 70px; height: 70px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item__size { font-size: 0.8rem; color: var(--text2); margin-top: 2px; }
.cart-item__qty {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
}
.qty-btn {
  width: 28px; height: 28px; border-radius: 6px; background: var(--card2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text);
  transition: background 0.2s;
}
.qty-btn:hover { background: rgba(176,110,255,0.15); border-color: var(--purple); }
.qty-val { font-weight: 600; min-width: 24px; text-align: center; font-size: 0.9rem; }
.cart-item__price { font-family: var(--font-head); font-weight: 700; font-size: 1rem; white-space: nowrap; }
.cart-item__remove { color: var(--text3); transition: color 0.2s; padding: 4px; }
.cart-item__remove:hover { color: var(--red); }
.order-summary {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; position: sticky; top: calc(var(--nav-h) + 16px);
}
.summary-line { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.summary-line:last-child { border-bottom: none; }
.summary-total { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; }
.summary-total-val { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 1.4rem; }

/* ── Checkout ─────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.checkout-section {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; margin-bottom: 20px;
}
.checkout-section h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.payment-box {
  background: var(--bg3); border: 1px solid rgba(176,110,255,0.25); border-radius: var(--radius-lg);
  padding: 24px; margin-top: 20px;
}
.wallet-addr {
  font-family: monospace; font-size: 0.8rem; word-break: break-all;
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px; color: var(--green); margin: 12px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.copy-btn {
  flex-shrink: 0; padding: 4px 10px; border-radius: 6px;
  background: rgba(0,232,122,0.1); border: 1px solid rgba(0,232,122,0.2);
  color: var(--green); font-size: 0.75rem; font-weight: 600;
  transition: background 0.2s;
}
.copy-btn:hover { background: rgba(0,232,122,0.2); }
.qr-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px; background: #fff; border-radius: 12px; width: fit-content; margin: 16px auto;
}
.qr-wrap img { width: 160px; height: 160px; display: block; }
.payment-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.payment-step {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.85rem; color: var(--text2); line-height: 1.5;
}
.step-num {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: #fff;
}
.whatsapp-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px; border-radius: 12px; margin-top: 16px;
  background: #25d366; color: #fff; font-weight: 700; font-size: 0.95rem;
  transition: opacity 0.2s, transform 0.15s;
}
.whatsapp-btn:hover { opacity: 0.9; transform: scale(0.99); }

/* ── Confirmation ─────────────────────────────────────────── */
.confirm-box {
  max-width: 560px; margin: 0 auto;
  background: var(--card); border: 1px solid rgba(176,110,255,0.25); border-radius: var(--radius-xl);
  padding: 48px 40px; text-align: center;
}
.confirm-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  margin: 0 auto 24px;
}
.order-num-display {
  font-family: monospace; font-size: 1.3rem; font-weight: 700;
  background: var(--bg3); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 20px; display: inline-block; margin: 12px 0;
  background-clip: text; color: var(--purple);
}

/* ── Tracking ─────────────────────────────────────────────── */
.tracking-box {
  max-width: 680px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 40px;
}
.status-timeline { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.status-step {
  display: flex; gap: 16px; padding-bottom: 28px; position: relative;
}
.status-step:last-child { padding-bottom: 0; }
.status-step::before {
  content: ''; position: absolute; left: 15px; top: 32px;
  width: 2px; bottom: 0; background: var(--border);
}
.status-step:last-child::before { display: none; }
.step-dot {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--card2); border: 2px solid var(--border); font-size: 0.85rem;
  position: relative; z-index: 1;
}
.step-dot.done { background: var(--grad); border: none; }
.step-dot.current { background: var(--card2); border-color: var(--purple); box-shadow: 0 0 12px rgba(176,110,255,0.5); }
.step-info { flex: 1; }
.step-label { font-weight: 600; font-size: 0.95rem; line-height: 1; margin-bottom: 4px; }
.step-date { font-size: 0.78rem; color: var(--text3); }

/* ── Admin ────────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - var(--nav-h)); }
.admin-sidebar {
  background: var(--card); border-right: 1px solid var(--border);
  padding: 32px 0; position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.admin-sidebar a {
  display: flex; align-items: center; gap: 10px; padding: 12px 24px;
  color: var(--text2); font-size: 0.875rem; font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(176,110,255,0.08); color: var(--text); border-right: 2px solid var(--purple); }
.admin-main { padding: 32px; overflow-x: auto; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 32px; }
.stat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; text-align: center;
}
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.78rem; color: var(--text2); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th {
  text-align: left; padding: 10px 14px;
  border-bottom: 1px solid var(--border); color: var(--text2);
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

.status-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600;
}
.status-pill.pending   { background: rgba(255,204,0,0.1);  color: var(--yellow); }
.status-pill.received  { background: rgba(110,174,255,0.1);color: var(--blue); }
.status-pill.processing{ background: rgba(176,110,255,0.1);color: var(--purple); }
.status-pill.shipped   { background: rgba(255,110,180,0.1);color: var(--pink); }
.status-pill.delivered { background: rgba(0,232,122,0.1);  color: var(--green); }
.status-pill.cancelled { background: rgba(255,51,85,0.1);  color: var(--red); }

/* ── Admin Login ──────────────────────────────────────────── */
.login-box {
  max-width: 420px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 48px 40px; text-align: center;
}

/* ── Modal ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 32px; width: 100%; max-width: 580px; max-height: 90vh; overflow-y: auto;
  transform: scale(0.95); transition: transform 0.25s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-close { width: 32px; height: 32px; border-radius: 8px; background: var(--card2); display: flex; align-items: center; justify-content: center; color: var(--text2); transition: background 0.2s; }
.modal-close:hover { background: rgba(255,51,85,0.15); color: var(--red); }

/* ── Toast ────────────────────────────────────────────────── */
.vv-toast {
  position: fixed; bottom: 72px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--card2); border: 1px solid var(--border);
  color: var(--text); padding: 12px 24px; border-radius: 10px;
  font-size: 0.875rem; font-weight: 500; z-index: 999;
  opacity: 0; transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.vv-toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.vv-toast--success { border-color: rgba(0,232,122,0.3); color: var(--green); }
.vv-toast--error   { border-color: rgba(255,51,85,0.3);  color: var(--red); }

/* ── Empty state ──────────────────────────────────────────── */
.empty { text-align: center; padding: 80px 20px; }
.empty__icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.empty__title { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.empty__desc { color: var(--text2); font-size: 0.875rem; margin-bottom: 24px; }

/* ── Page title ───────────────────────────────────────────── */
.page-title { margin-bottom: 32px; }
.page-title h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; }
.page-title p { color: var(--text2); margin-top: 6px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text3); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb span { color: var(--text3); }

/* ── Product detail ───────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail__img {
  aspect-ratio: 1; border-radius: var(--radius-xl); overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 6rem;
  background: var(--card); border: 1px solid var(--border);
}
.product-detail__body { position: sticky; top: calc(var(--nav-h) + 24px); }
.product-detail__price { font-family: var(--font-head); font-size: 2rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 16px 0; }
.product-detail__desc { color: var(--text2); line-height: 1.7; font-size: 0.9rem; margin-bottom: 24px; }
.detail-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--text2); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border); padding: 40px 0;
  text-align: center; color: var(--text3); font-size: 0.8rem;
}
.footer__brand { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 12px; }
.footer a:hover { color: var(--purple); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; border-right: none; border-bottom: 1px solid var(--border); padding: 16px 0; display: flex; overflow-x: auto; }
  .admin-sidebar a { padding: 10px 16px; white-space: nowrap; border-right: none !important; border-bottom: 2px solid transparent; }
  .admin-sidebar a.active { border-bottom-color: var(--purple); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail__body { position: relative; top: 0; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__cart span:not(#cart-badge) { display: none; }
  .hero__title { font-size: 2.2rem; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .confirm-box, .tracking-box { padding: 28px 20px; }
  .data-table { font-size: 0.78rem; }
  .data-table th, .data-table td { padding: 8px 8px; }
  .login-box { padding: 32px 24px; }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
}
