/* ============================================================
   VELVET BOUTIQUE — Main Stylesheet
   Luxury intimate wellness · KNUST Kumasi
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --rose:       #b5144e;
  --rose-mid:   #d4306a;
  --rose-light: #f7c5d8;
  --rose-dark:  #7a0b35;
  --blush:      #fceef4;
  --blush-deep: #f9d8e8;
  --cream:      #fdf7f1;
  --charcoal:   #180f1a;
  --ink:        #2a1a2e;
  --muted:      #7a6478;
  --border:     #ecd6e2;
  --gold:       #c9952a;
  --gold-light: #f0d896;
  --success:    #1e6b3a;
  --warning:    #b84c00;
  --white:      #ffffff;
  --shadow-sm:  0 2px 12px rgba(181,20,78,0.08);
  --shadow-md:  0 8px 32px rgba(181,20,78,0.14);
  --shadow-lg:  0 20px 60px rgba(24,15,26,0.18);
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

/* ── AGE GATE ── */
#age-gate {
  position: fixed; inset: 0;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; flex-direction: column; gap: 1.5rem;
  text-align: center; padding: 2rem;
}
#age-gate::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(181,20,78,0.18) 0%, transparent 65%);
}
.age-gate-inner { position: relative; z-index: 1; max-width: 420px; }
.age-logo {
  font-family: var(--font-display); color: var(--rose-light);
  font-size: 1rem; letter-spacing: 5px; text-transform: uppercase;
  margin-bottom: 2.5rem; opacity: 0.8;
}
#age-gate h1 {
  font-family: var(--font-display); color: #fff; font-size: 2.4rem;
  margin-bottom: 0.75rem; font-weight: 300;
}
#age-gate h1 em { color: var(--rose-light); font-style: italic; }
#age-gate p { color: #a090a8; line-height: 1.7; margin-bottom: 2rem; font-size: 0.9rem; }
.age-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.age-yes {
  background: var(--rose); color: #fff; border: none;
  padding: 13px 36px; border-radius: 50px;
  font-size: 0.95rem; cursor: pointer; font-family: var(--font-body);
  letter-spacing: 0.3px; transition: background 0.2s, transform 0.15s;
}
.age-yes:hover { background: var(--rose-dark); transform: translateY(-1px); }
.age-no {
  background: transparent; color: #887098;
  border: 1px solid #443050; padding: 13px 36px; border-radius: 50px;
  font-size: 0.95rem; cursor: pointer; font-family: var(--font-body);
  transition: border-color 0.2s;
}
.age-no:hover { border-color: #887098; color: #b0a0b8; }
.age-fine-print { font-size: 0.72rem; color: #554065; margin-top: 2rem; line-height: 1.6; }

/* ── NAV ── */
nav {
  background: var(--charcoal);
  padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 200; height: 68px;
  border-bottom: 1px solid rgba(181,20,78,0.15);
  gap: 0.5rem;
}
nav::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181,20,78,0.4), transparent);
}
.nav-logo {
  display: flex; align-items: center; text-decoration: none;
  flex: 1; justify-content: center;
}
.nav-brand {
  font-family: var(--font-display);
  color: var(--rose-light);
  font-size: 1.35rem;
  letter-spacing: 2px;
  font-weight: 400;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(181,20,78,0.35);
}
.mobile-brand {
  font-size: 1.1rem;
  letter-spacing: 1.5px;
}

/* Desktop-only link list */
.nav-links { display: flex; gap: 0.25rem; list-style: none; }
.nav-links li a, .nav-links li span {
  color: #a090a0; font-size: 0.85rem; text-decoration: none;
  cursor: pointer; transition: color 0.2s; letter-spacing: 0.4px;
  padding: 6px 12px; border-radius: 6px; display: block;
}
.nav-links li a:hover, .nav-links li span:hover { color: var(--rose-light); background: rgba(181,20,78,0.08); }
.nav-links li span.active, .nav-links li a.active {
  color: var(--rose-light); background: rgba(181,20,78,0.12);
}
.nav-right { display: flex; gap: 0.75rem; align-items: center; }

/* Account button in nav-right (desktop) */
.nav-account-btn {
  color: #a090a0; font-size: 0.85rem; text-decoration: none;
  padding: 6px 14px; border-radius: 6px;
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-account-btn:hover { color: var(--rose-light); background: rgba(181,20,78,0.08); }

.cart-btn {
  background: var(--rose); color: #fff; border: none;
  padding: 8px 18px; border-radius: 50px;
  cursor: pointer; font-size: 0.85rem; font-family: var(--font-body);
  display: flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.15s; white-space: nowrap;
}
.cart-btn:hover { background: var(--rose-dark); transform: translateY(-1px); }
.cart-count {
  background: #fff; color: var(--rose); border-radius: 50%;
  width: 20px; height: 20px; font-size: 11px;
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
  width: 36px; height: 36px; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--rose-light); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 299; backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav-drawer {
  position: fixed; top: 0; left: -300px; width: 280px; height: 100%;
  background: var(--charcoal); z-index: 300;
  transition: left 0.3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(181,20,78,0.2);
  box-shadow: 8px 0 32px rgba(0,0,0,0.5);
}
.mobile-nav-drawer.open { left: 0; }
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid rgba(181,20,78,0.15);
}
.mobile-nav-logo { height: auto; width: auto; object-fit: contain; }
.mobile-nav-close {
  background: none; border: none; color: #a090a0;
  font-size: 1.2rem; cursor: pointer; padding: 4px 8px; transition: color 0.2s;
}
.mobile-nav-close:hover { color: var(--rose-light); }
.mobile-nav-links { list-style: none; padding: 0.75rem 0; flex: 1; overflow-y: auto; }
.mobile-nav-links li a {
  display: block; padding: 0.8rem 1.5rem;
  color: #c0b0c0; font-size: 0.92rem; text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  border-left: 3px solid transparent;
}
.mobile-nav-links li a:hover,
.mobile-nav-links li a:active { color: var(--rose-light); background: rgba(181,20,78,0.08); border-left-color: var(--rose); }
.mobile-account-link { color: var(--rose-light) !important; font-weight: 600; font-size: 1rem !important; }
.mobile-nav-divider { height: 1px; background: rgba(181,20,78,0.12); margin: 0.5rem 1rem; }
.mobile-nav-section {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: #6a5a6a;
  padding: 0.5rem 1.5rem 0.25rem;
}

.admin-nav-link { color: var(--gold) !important; }
.reviews-nav-link { color: #c0a0cc !important; }

/* ── PAGES ── */
.page { display: none; animation: pageIn 0.35s ease; min-height: 60vh; }
.page.active { display: block; }
@keyframes pageIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ── HERO ── */
.hero {
  background: linear-gradient(150deg, #180f1a 0%, #2a0f22 40%, #3d0f2a 100%);
  padding: 6rem 2rem 5rem; text-align: center; position: relative; overflow: hidden;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
.hero-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(181,20,78,0.22) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(247,197,216,0.1); color: var(--rose-light);
  border: 1px solid rgba(247,197,216,0.25); border-radius: 50px;
  padding: 6px 18px; font-size: 0.78rem; margin-bottom: 1.5rem;
  letter-spacing: 2px; text-transform: uppercase;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { color: var(--rose-light); font-style: italic; }
.hero p { color: #c4aec8; line-height: 1.8; margin-bottom: 2.5rem; font-size: 1.05rem; font-weight: 300; }
.hero-cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--rose); color: #fff; border: none;
  padding: 14px 36px; border-radius: 50px; font-size: 0.95rem;
  cursor: pointer; font-family: var(--font-body); letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(181,20,78,0.35);
}
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(181,20,78,0.45); }
.btn-outline {
  background: transparent; color: var(--rose-light);
  border: 1px solid rgba(247,197,216,0.35);
  padding: 14px 36px; border-radius: 50px; font-size: 0.95rem;
  cursor: pointer; font-family: var(--font-body); letter-spacing: 0.3px;
  transition: all 0.2s;
}
.btn-outline:hover { background: rgba(247,197,216,0.08); border-color: rgba(247,197,216,0.6); }

/* ── SECTION ── */
.section { padding: 4rem 2rem; }
.section-label {
  font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--rose); margin-bottom: 0.5rem;
}
.section-title { font-family: var(--font-display); font-size: 2rem; color: var(--ink); margin-bottom: 0.5rem; }
.section-sub { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 2.5rem; }

/* ── PRODUCT CARDS ── */
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); padding: 7px 18px; border-radius: 50px;
  font-size: 0.82rem; cursor: pointer; transition: all 0.2s;
  font-family: var(--font-body); letter-spacing: 0.3px;
}
.filter-btn.active, .filter-btn:hover { background: var(--rose); border-color: var(--rose); color: #fff; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }

.product-card {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s; cursor: pointer;
  position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px rgba(181,20,78,0); transition: box-shadow 0.25s;
  pointer-events: none;
}
.product-card:hover::after { box-shadow: inset 0 0 0 1px rgba(181,20,78,0.25); }

.product-img {
  height: 200px; display: flex; align-items: center; justify-content: center;
  font-size: 4rem; background: var(--blush); overflow: hidden; position: relative;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-img .product-img-fallback { font-size: 4rem; }

.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--rose); color: #fff;
  font-size: 0.7rem; padding: 3px 10px; border-radius: 50px;
  letter-spacing: 0.5px; font-weight: 500;
}

.product-body { padding: 1.25rem; }
.product-cat {
  font-size: 0.72rem; color: var(--rose); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 5px; font-weight: 500;
}
.product-name { font-weight: 500; font-size: 1rem; margin-bottom: 6px; color: var(--ink); }
.product-price {
  font-family: var(--font-display); font-size: 1.3rem;
  color: var(--rose-dark); margin-bottom: 10px; font-weight: 600;
}
.stock-badge { display: inline-block; font-size: 0.73rem; padding: 3px 10px; border-radius: 50px; margin-bottom: 12px; font-weight: 500; }
.in-stock { background: #e6f4ec; color: var(--success); }
.low-stock { background: #fef3ec; color: var(--warning); }
.out-stock { background: var(--blush); color: var(--rose); }

.add-btn {
  width: 100%; background: var(--rose); color: #fff; border: none;
  padding: 10px; border-radius: var(--radius-sm); cursor: pointer;
  font-size: 0.88rem; font-family: var(--font-body);
  transition: background 0.2s; letter-spacing: 0.3px;
}
.add-btn:hover { background: var(--rose-dark); }
.add-btn:disabled { background: #d8ccd8; cursor: not-allowed; color: #a090a0; }

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(24,15,26,0.7); backdrop-filter: blur(4px);
  z-index: 500; align-items: center; justify-content: center; padding: 0.5rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-lg); max-width: 540px; width: 100%;
  padding: 2.5rem; position: relative; max-height: 96vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 480px) {
  .modal { padding: 1.25rem 1rem 1.5rem; border-radius: var(--radius-md); }
}
.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--blush); border: none; border-radius: 50%;
  width: 34px; height: 34px; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; color: var(--rose);
  transition: background 0.2s;
}
.modal-close:hover { background: var(--blush-deep); }
.modal h2 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 0.5rem; }
.modal-img {
  font-size: 4.5rem; text-align: center; background: var(--blush);
  border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.25rem; overflow: hidden;
}
.modal-img img { max-height: 180px; border-radius: var(--radius-sm); object-fit: cover; width: 100%; }
.detail-row {
  display: flex; justify-content: space-between; padding: 9px 0;
  border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--muted); }
.qty-selector { display: flex; align-items: center; gap: 1.2rem; margin: 1.25rem 0; }
.qty-btn {
  background: var(--blush); border: none; width: 34px; height: 34px;
  border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--rose-dark); transition: background 0.2s;
}
.qty-btn:hover { background: var(--blush-deep); }
#modal-qty { font-size: 1.1rem; font-weight: 500; min-width: 24px; text-align: center; }

/* ── CART SIDEBAR ── */
.cart-sidebar {
  position: fixed; right: -420px; top: 0; width: 400px; height: 100vh;
  background: var(--white); z-index: 600;
  box-shadow: -4px 0 40px rgba(24,15,26,0.16);
  display: flex; flex-direction: column; transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 1.75rem;
}
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; }
.cart-header h3 { font-family: var(--font-display); font-size: 1.4rem; }
.cart-close-btn {
  background: var(--blush); border: none; border-radius: 50%;
  width: 34px; height: 34px; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; color: var(--muted);
}
.cart-items { flex: 1; overflow-y: auto; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item-thumb {
  width: 56px; height: 56px; background: var(--blush); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
  flex-shrink: 0; overflow: hidden;
}
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 500; font-size: 0.9rem; margin-bottom: 3px; }
.cart-item-price { color: var(--rose); font-size: 0.85rem; }
.cart-item-qty { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.cart-remove { background: none; border: none; color: #ccc; cursor: pointer; font-size: 0.9rem; padding: 4px; transition: color 0.2s; }
.cart-remove:hover { color: var(--rose); }
.cart-footer { border-top: 1px solid var(--border); padding-top: 1.25rem; margin-top: 1rem; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 500; margin-bottom: 1rem; }
.checkout-btn {
  width: 100%; background: var(--rose); color: #fff; border: none;
  padding: 13px; border-radius: var(--radius-md); cursor: pointer;
  font-size: 0.95rem; font-family: var(--font-body);
  transition: background 0.2s; letter-spacing: 0.3px;
}
.checkout-btn:hover { background: var(--rose-dark); }
.empty-cart { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-cart .empty-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* ── FORMS ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.3px; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: 0.9rem; color: var(--ink); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(181,20,78,0.08);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.submit-btn {
  background: var(--rose); color: #fff; border: none;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-size: 0.92rem; cursor: pointer; font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s; letter-spacing: 0.3px;
}
.submit-btn:hover { background: var(--rose-dark); transform: translateY(-1px); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--charcoal); color: #fff; padding: 12px 22px;
  border-radius: var(--radius-sm); font-size: 0.88rem;
  z-index: 9000; opacity: 0; transition: opacity 0.3s, transform 0.3s;
  pointer-events: none; transform: translateY(8px);
  border-left: 3px solid var(--rose);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal); color: #6a5a6e;
  text-align: center; padding: 2.5rem 2rem; font-size: 0.82rem; line-height: 1.8;
}
footer .footer-logo { font-family: var(--font-display); color: var(--rose-light); font-size: 1.2rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
footer a { color: var(--rose-light); text-decoration: none; opacity: 0.7; }
footer a:hover { opacity: 1; }
footer .footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap; }

/* ── CHECKOUT ── */
.checkout-page { max-width: 720px; margin: 0 auto; padding: 3rem 2rem; }
.checkout-page h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 2rem; }
.checkout-section {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--border); padding: 1.75rem; margin-bottom: 1.5rem;
}
.checkout-section h3 { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.checkout-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.92rem; }
.checkout-total { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 600; padding-top: 14px; border-top: 1.5px solid var(--border); margin-top: 10px; }
.place-order-btn {
  width: 100%; background: var(--rose); color: #fff; border: none;
  padding: 15px; border-radius: var(--radius-md); font-size: 1rem;
  cursor: pointer; font-family: var(--font-body); margin-top: 1rem;
  transition: background 0.2s, transform 0.15s; letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(181,20,78,0.3);
}
.place-order-btn:hover { background: var(--rose-dark); transform: translateY(-1px); }
.order-success { text-align: center; padding: 4rem 2rem; }
.order-success .check { font-size: 3.5rem; margin-bottom: 1rem; }
.order-success h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 1rem; color: var(--success); }
.order-success p { color: var(--muted); line-height: 1.8; }
.order-id-box { background: var(--blush); border-radius: var(--radius-md); padding: 1.25rem; margin: 1.75rem auto; max-width: 300px; }
.order-id-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.order-id-value { font-family: var(--font-display); font-size: 1.4rem; color: var(--rose); letter-spacing: 3px; }

/* ── DELIVERY ── */
.page-hero {
  background: linear-gradient(150deg, #180f1a 0%, #2a0f22 100%);
  padding: 4rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(181,20,78,0.15) 0%, transparent 65%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-display); color: #fff; margin-bottom: 0.75rem; }
.page-hero p { color: #a090b0; max-width: 520px; margin: 0 auto; line-height: 1.7; }

.delivery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.delivery-card {
  background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border);
  padding: 1.75rem; transition: box-shadow 0.2s, transform 0.2s; position: relative; overflow: hidden;
}
.delivery-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.delivery-card.knust-card {
  border-color: var(--rose-light);
  background: linear-gradient(135deg, #fff 0%, var(--blush) 100%);
}
.delivery-card.knust-card::before {
  content: '★ FEATURED';
  position: absolute; top: 12px; right: 12px;
  background: var(--rose); color: #fff; font-size: 0.65rem;
  padding: 3px 10px; border-radius: 50px; letter-spacing: 1px;
}
.delivery-zone-tag {
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--rose); margin-bottom: 8px; font-weight: 600;
}
.delivery-card h3 { font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; color: var(--ink); }
.delivery-region { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.delivery-price { font-family: var(--font-display); font-size: 2rem; color: var(--rose); font-weight: 600; }
.delivery-price span { font-size: 0.85rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.delivery-days { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.delivery-note {
  background: var(--blush); border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem; margin-bottom: 2rem; font-size: 0.88rem;
  color: var(--rose-dark); border: 1px solid var(--rose-light); line-height: 1.6;
}
.discreet-pills { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.discreet-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #e8f5ee; color: var(--success); border-radius: 50px;
  padding: 6px 14px; font-size: 0.8rem; font-weight: 500;
}

/* ── ORDER TRACKING ── */
.track-search { display: flex; gap: 0.75rem; max-width: 520px; margin: 2rem auto 0; }
.track-input {
  flex: 1; padding: 12px 18px; border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm); background: rgba(255,255,255,0.07);
  color: #fff; font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.2s;
}
.track-input::placeholder { color: #665576; }
.track-input:focus { outline: none; border-color: rgba(247,197,216,0.5); }
.track-btn {
  background: var(--rose); color: #fff; border: none;
  padding: 12px 26px; border-radius: var(--radius-sm);
  cursor: pointer; font-family: var(--font-body); font-size: 0.9rem;
  transition: background 0.2s;
}
.track-btn:hover { background: var(--rose-dark); }
.track-result-card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border);
  padding: 2.25rem; margin-top: 2rem; max-width: 640px; margin-left: auto; margin-right: auto;
  box-shadow: var(--shadow-sm);
}
.track-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.track-id { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); }
.track-status-badge { padding: 6px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px; }
.status-processing { background: #fef3ec; color: var(--warning); }
.status-shipped { background: #e8f0fe; color: #1a56c0; }
.status-delivered { background: #e6f4ec; color: var(--success); }
.status-cancelled { background: var(--blush); color: var(--rose); }
.timeline { position: relative; padding-left: 30px; margin-top: 1.5rem; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.tl-step { position: relative; margin-bottom: 1.75rem; }
.tl-dot { position: absolute; left: -24px; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border); background: #fff; transition: all 0.3s; }
.tl-dot.done { background: var(--rose); border-color: var(--rose); box-shadow: 0 0 0 3px rgba(181,20,78,0.15); }
.tl-title { font-weight: 600; font-size: 0.9rem; }
.tl-time { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.tl-desc { font-size: 0.85rem; color: var(--muted); margin-top: 3px; }
.order-items-summary { background: var(--cream); border-radius: var(--radius-sm); padding: 1.25rem; margin-top: 1.75rem; }
.order-items-summary h4 { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem; }
.order-item-row { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 5px 0; }
.no-order { text-align: center; padding: 2.5rem; color: var(--muted); }

/* ── ADMIN ── */
.admin-login-wrap { max-width: 420px; margin: 5rem auto; padding: 0 1rem; }
.admin-login {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 2.75rem;
  box-shadow: var(--shadow-sm);
}
.admin-login h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 0.4rem; }
.admin-login p { color: var(--muted); font-size: 0.88rem; margin-bottom: 2rem; }
.admin-panel { padding: 2rem 2.5rem; max-width: 1000px; margin: 0 auto; }
.admin-panel h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 2rem; display: flex; align-items: center; justify-content: space-between; }
.admin-tabs { display: flex; gap: 0.25rem; margin-bottom: 2rem; border-bottom: 1.5px solid var(--border); }
.admin-tab {
  background: none; border: none; padding: 10px 22px; cursor: pointer;
  font-family: var(--font-body); font-size: 0.88rem; color: var(--muted);
  border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; transition: all 0.2s;
  letter-spacing: 0.3px;
}
.admin-tab.active { color: var(--rose); border-bottom-color: var(--rose); }
.admin-section { display: none; }
.admin-section.active { display: block; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border); padding: 1.4rem; }
.stat-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.stat-value { font-family: var(--font-display); font-size: 2rem; color: var(--ink); font-weight: 400; }
.stat-value.rose { color: var(--rose); }
.stat-value.warning { color: var(--warning); }
.inv-table, .orders-table { width: 100%; border-collapse: collapse; }
.inv-table th, .orders-table th { text-align: left; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; padding: 10px 14px; border-bottom: 1.5px solid var(--border); }
.inv-table td, .orders-table td { padding: 13px 14px; border-bottom: 1px solid var(--border); font-size: 0.9rem; vertical-align: middle; }
.inv-table tr:last-child td, .orders-table tr:last-child td { border-bottom: none; }
.inv-edit { display: flex; align-items: center; gap: 8px; }
.inv-input { width: 72px; padding: 6px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 0.88rem; text-align: center; }
.inv-btn {
  background: var(--rose); color: #fff; border: none;
  padding: 6px 16px; border-radius: 8px; cursor: pointer;
  font-size: 0.82rem; font-family: var(--font-body);
}
.add-product-form { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border); padding: 1.75rem; margin-top: 1.5rem; }
.add-product-form h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1.5rem; }
.status-select { padding: 5px 10px; border: 1.5px solid var(--border); border-radius: 6px; font-family: var(--font-body); font-size: 0.82rem; background: var(--cream); }
.logout-btn {
  background: transparent; border: 1.5px solid var(--border);
  color: var(--muted); padding: 7px 18px; border-radius: 8px;
  cursor: pointer; font-size: 0.82rem; font-family: var(--font-body);
  transition: all 0.2s;
}
.logout-btn:hover { border-color: var(--rose); color: var(--rose); }
.img-upload-area {
  border: 2px dashed var(--border); border-radius: var(--radius-sm);
  padding: 1.5rem; text-align: center; cursor: pointer;
  background: var(--cream); transition: border-color 0.2s, background 0.2s;
}
.img-upload-area:hover { border-color: var(--rose-light); background: var(--blush); }
.img-upload-area p { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.img-upload-area .upload-icon { font-size: 1.75rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 0.75rem; height: 60px; }
  .nav-brand { font-size: 1.1rem; letter-spacing: 1.5px; }
  .nav-links { display: none; }            /* hidden on mobile — drawer handles nav */
  .nav-account-btn { display: none; }      /* hidden on mobile — in drawer */
  .cart-btn { padding: 7px 12px; font-size: 0.8rem; gap: 5px; }
  .section { padding: 3rem 1.25rem; }
  .hero { padding: 4rem 1.25rem 3rem; }
  .form-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .cart-sidebar { width: 100%; right: -100%; }
  .admin-panel { padding: 1.5rem; }
  .admin-tabs { overflow-x: auto; }
  .delivery-grid { grid-template-columns: 1fr; }
  .track-search { flex-direction: column; }
  .checkout-page { padding: 2rem 1.25rem; }
}
