/* ================================================================
   SHRIVORA - Main Stylesheet
   Colors: Forest Green #1a3d2e | Gold #d4af37 | Cream #faf6ed
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background: #fdfcf8; color: #1a1a1a; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; }

/* ── VARIABLES ───────────────────────────────────────────── */
:root {
  --green:  #1a3d2e;
  --green2: #255643;
  --gold:   #d4af37;
  --gold2:  #b8911f;
  --cream:  #faf6ed;
  --cream2: #f5eedd;
  --shadow: 0 4px 20px rgba(26,61,46,.10);
  --shadow-lg: 0 8px 40px rgba(26,61,46,.16);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ── UTILITIES ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-cream { background: var(--cream2); }
.font-display { font-family: 'Cormorant Garamond', serif; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px,4vw,42px); color: var(--green); font-weight: 600; }
.gold-line { width: 60px; height: 4px; background: linear-gradient(90deg, var(--gold2), var(--gold)); border-radius: 2px; margin: 12px auto; }
.section-sub { color: #888; font-size: 16px; margin-top: 8px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: var(--green); padding: 14px 32px; border-radius: var(--radius);
  font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(212,175,55,.3); transition: all .2s;
}
.btn-gold:hover { opacity: .9; transform: translateY(-1px); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--cream); padding: 14px 32px;
  border-radius: var(--radius); font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: all .2s;
}
.btn-primary:hover { background: var(--green2); }
.btn-primary-sm {
  background: var(--green); color: var(--cream); padding: 8px 18px;
  border-radius: 8px; font-weight: 600; font-size: 13px; border: none; cursor: pointer;
  transition: all .2s;
}
.btn-primary-sm:hover { background: var(--green2); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--green); color: var(--green); padding: 12px 28px;
  border-radius: var(--radius); font-weight: 600; font-size: 14px; cursor: pointer;
  background: transparent; transition: all .2s;
}
.btn-outline:hover { background: var(--green); color: var(--cream); }
.btn-outline-light {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,.4); color: rgba(255,255,255,.9);
  padding: 14px 28px; border-radius: var(--radius); font-weight: 600;
  font-size: 14px; cursor: pointer; background: rgba(255,255,255,.1);
  transition: all .2s;
}
.btn-outline-light:hover { background: rgba(255,255,255,.2); }

/* ── FORM INPUTS ─────────────────────────────────────────── */
.input {
  width: 100%; border: 1.5px solid #e0e0e0; border-radius: var(--radius);
  padding: 12px 16px; font-size: 14px; background: #fff;
  transition: border .2s, box-shadow .2s; outline: none; color: #333;
}
.input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,61,46,.1); }
.input-label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:540px){ .form-row { grid-template-columns: 1fr; } }

/* ── TOPBAR ──────────────────────────────────────────────── */
.topbar {
  background: var(--green); color: var(--cream2); text-align: center;
  padding: 8px 20px; font-size: 12px; letter-spacing: 1px;
}
.topbar b { color: var(--gold); }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid #f0ede4; transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px; background: var(--green); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700;
}
.logo-name { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 20px; color: var(--green); line-height: 1; letter-spacing: 1px; }
.logo-tag { font-size: 9px; letter-spacing: 3px; color: var(--gold2); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a, .nav-links > .dropdown > a {
  font-size: 14px; font-weight: 600; color: #555; transition: color .2s;
}
.nav-links > a:hover, .nav-links > .dropdown > a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn {
  width: 38px; height: 38px; border: none; background: none; cursor: pointer;
  border-radius: 10px; font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: background .2s; position: relative;
}
.nav-btn:hover { background: var(--cream2); }
.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: -2px; right: -2px; width: 18px; height: 18px;
  background: var(--gold); color: var(--green); font-size: 10px; font-weight: 700;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.user-btn {
  width: 34px; height: 34px; background: var(--green); color: var(--cream);
  border-radius: 50%; font-size: 14px; font-weight: 700; border: none; cursor: pointer;
}

/* ── DROPDOWN ────────────────────────────────────────────── */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid #f0ede4; padding: 8px; min-width: 200px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: all .2s;
}
.dropdown-right { left: auto; right: 0; transform: none; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: all;
}
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: 13px;
  color: #444; transition: background .15s;
}
.dropdown-menu a:hover { background: var(--cream2); color: var(--green); }
.dropdown-header {
  padding: 10px 14px 8px; border-bottom: 1px solid #f0ede4; margin-bottom: 4px;
}
.dropdown-header strong { display: block; font-size: 14px; color: var(--green); }
.dropdown-header small { color: #888; font-size: 12px; }
.dropdown-menu hr { border: none; border-top: 1px solid #f0ede4; margin: 4px 0; }

/* ── MOBILE MENU ─────────────────────────────────────────── */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }
.mobile-menu {
  display: none; padding: 12px 20px; border-top: 1px solid #f0ede4; background: #fff;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 10px 0; font-size: 15px; color: #444; border-bottom: 1px solid #f5f5f5; }
.mobile-login { background: var(--green); color: var(--cream) !important; border-radius: 8px; padding: 10px 16px !important; margin-top: 8px; text-align: center; }
@media(max-width:900px){ .nav-links { display: none; } .mobile-menu-btn { display: block; } }

/* ── HERO ────────────────────────────────────────────────── */
.hero { position: relative; min-height: 85vh; overflow: hidden; }
.hero-slides { position: relative; height: 85vh; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; transition: opacity .7s ease;
}
.hero-slide.active { opacity: 1; }
.hero-content { max-width: 600px; padding: 0 60px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,.2); border: 1px solid rgba(212,175,55,.3);
  color: #e8cc80; padding: 8px 18px; border-radius: 20px; font-size: 14px;
  font-weight: 600; margin-bottom: 24px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(38px,5vw,68px);
  color: #fff; font-weight: 600; line-height: 1.15; margin-bottom: 20px;
}
.hero-sub { color: rgba(255,255,255,.75); font-size: 18px; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.dot {
  width: 8px; height: 8px; background: rgba(255,255,255,.4); border-radius: 4px;
  cursor: pointer; transition: all .3s;
}
.dot.active { width: 28px; background: var(--gold); }
.hero-prev, .hero-next {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12);
  border: none; color: #fff; font-size: 20px; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center;
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,.25); }
@media(max-width:600px){ .hero-content { padding: 0 24px; } .hero-slides, .hero { min-height: 70vh; } .hero-slides { height: 70vh; } }

/* ── TRUST BAR ───────────────────────────────────────────── */
.trustbar { background: var(--cream2); border-top: 1px solid #e8dfc8; border-bottom: 1px solid #e8dfc8; }
.trustbar-inner {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 24px; padding: 14px 20px; font-size: 13px; font-weight: 600; color: var(--green);
}

/* ── CATEGORIES ─────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 12px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); transition: all .3s; text-align: center; cursor: pointer;
}
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cat-icon {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center;
  justify-content: center; font-size: 28px; transition: transform .3s; box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.cat-card:hover .cat-icon { transform: scale(1.1); }
.cat-name { font-size: 13px; font-weight: 600; color: var(--green); }

/* ── PRODUCT GRID ────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ── PRODUCT CARD ────────────────────────────────────────── */
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: all .3s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-img-wrap { display: block; position: relative; overflow: hidden; background: var(--cream2); aspect-ratio: 1; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge-sale { background: #ef4444; color: #fff; }
.badge-best { background: var(--gold); color: var(--green); }
.badge-organic { background: #22c55e; color: #fff; }
.out-of-stock-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.45); display: flex;
  align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px;
}
.wishlist-btn {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  background: rgba(255,255,255,.9); border: none; border-radius: 50%; cursor: pointer;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: all .2s; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.wishlist-btn:hover, .wishlist-btn.active { background: #ef4444; color: #fff; }
.quick-add {
  position: absolute; bottom: 0; left: 0; right: 0;
  transform: translateY(100%); transition: transform .3s;
}
.product-card:hover .quick-add { transform: translateY(0); }
.quick-add-btn {
  width: 100%; background: var(--green); color: var(--cream); border: none;
  padding: 12px; font-weight: 600; font-size: 14px; cursor: pointer;
  transition: background .2s;
}
.quick-add-btn:hover { background: var(--green2); }
.quick-add-btn:disabled { opacity: .5; cursor: not-allowed; }
.product-info { padding: 16px; }
.product-cat { font-size: 11px; color: var(--gold2); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.product-name { display: block; font-weight: 600; color: #333; font-size: 14px; line-height: 1.4; margin-bottom: 8px; transition: color .2s; }
.product-name:hover { color: var(--green); }
.product-rating { margin-bottom: 8px; font-size: 14px; display: flex; align-items: center; gap: 4px; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.price-active { font-size: 20px; font-weight: 700; color: var(--green); }
.price-old { font-size: 14px; color: #aaa; text-decoration: line-through; }

/* ── GIFTING BANNER ─────────────────────────────────────── */
.gift-banner {
  background: linear-gradient(135deg, var(--green), var(--green2));
  padding: 80px 20px; text-align: center;
}
.gift-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(32px,4vw,50px);
  color: #fff; font-weight: 600; margin-bottom: 16px;
}
.gift-sub { color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 36px; }
.float-anim { animation: float 3s ease-in-out infinite; display: inline-block; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ── WHY US ─────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 24px; }
.why-card {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow); transition: all .3s;
}
.why-card:hover { background: var(--green); box-shadow: var(--shadow-lg); }
.why-icon { font-size: 36px; margin-bottom: 16px; }
.why-title {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600;
  color: var(--green); margin-bottom: 10px; transition: color .3s;
}
.why-card:hover .why-title { color: var(--gold); }
.why-desc { font-size: 14px; color: #666; line-height: 1.7; transition: color .3s; }
.why-card:hover .why-desc { color: rgba(255,255,255,.8); }

/* ── STATS ───────────────────────────────────────────────── */
.stats-bar { background: var(--green); padding: 60px 20px; }
.stats-inner { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; text-align: center; }
.stat-val { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 700; color: var(--gold); }
.stat-label { color: rgba(250,246,237,.7); font-size: 13px; margin-top: 4px; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { background: #0d2019; color: #ccc; }
.newsletter { background: #1a3d2e; border-bottom: 1px solid #255643; }
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 48px 20px; flex-wrap: wrap;
}
.newsletter-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--gold); font-weight: 600; }
.newsletter-sub { color: rgba(250,246,237,.6); font-size: 14px; margin-top: 4px; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-input {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; border-radius: var(--radius); padding: 12px 18px; font-size: 14px;
  outline: none; width: 260px; max-width: 100%;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 60px 20px;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--gold); font-weight: 700; letter-spacing: 2px; }
.footer-tag { font-size: 9px; letter-spacing: 3px; color: rgba(212,175,55,.5); text-transform: uppercase; margin-top: 2px; }
.footer-desc { color: rgba(255,255,255,.4); font-size: 13px; margin-top: 14px; line-height: 1.7; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
  width: 36px; height: 36px; background: #255643; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: background .2s;
}
.social-links a:hover { background: var(--gold); }
.footer-heading { color: var(--gold); font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.footer-link { display: block; color: rgba(255,255,255,.45); font-size: 13px; margin-bottom: 10px; transition: color .2s; }
.footer-link:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid #1a3d2e; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,.3);
}
.footer-bottom-inner a { color: rgba(255,255,255,.3); margin-left: 20px; transition: color .2s; }
.footer-bottom-inner a:hover { color: var(--gold); }
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .footer-grid { grid-template-columns: 1fr; } .stats-inner { gap: 30px; } }

/* ── FLASH MESSAGES ─────────────────────────────────────── */
.flash { padding: 12px 20px; border-radius: 8px; margin: 12px 0; font-size: 14px; font-weight: 500; }
.flash-success { background: #dcfce7; color: #166534; border-left: 4px solid #22c55e; }
.flash-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.flash-info    { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }

/* ── AUTH PAGES ─────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: linear-gradient(135deg, var(--green), var(--green2));
  display: flex; align-items: center; justify-content: center; padding: 48px;
}
.auth-right { display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--cream); }
.auth-card { background: #fff; border-radius: 24px; padding: 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.auth-title { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--green); font-weight: 600; margin-bottom: 4px; }
.auth-sub { color: #888; font-size: 14px; margin-bottom: 28px; }
.otp-inputs { display: flex; gap: 10px; justify-content: center; }
.otp-input {
  width: 48px; height: 56px; text-align: center; font-size: 24px; font-weight: 700;
  border: 2px solid #e0e0e0; border-radius: 12px; outline: none; transition: border .2s;
}
.otp-input:focus { border-color: var(--green); }
@media(max-width:800px){ .auth-page { grid-template-columns: 1fr; } .auth-left { display: none; } }

/* ── PAGE INNER LAYOUT ──────────────────────────────────── */
.page-hero { background: var(--green); color: #fff; padding: 48px 20px; }
.page-hero-title { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 600; }
.page-hero-sub { color: rgba(255,255,255,.6); margin-top: 6px; font-size: 15px; }

/* ── PRODUCT DETAIL ─────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px 0; }
.gallery-main { background: var(--cream2); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumb {
  width: 68px; height: 68px; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; flex-shrink: 0; transition: border .2s;
}
.gallery-thumb.active { border-color: var(--green); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.weight-variants { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.variant-btn {
  padding: 8px 18px; border: 2px solid #e0e0e0; border-radius: 10px; font-size: 13px;
  font-weight: 600; cursor: pointer; background: #fff; transition: all .2s;
}
.variant-btn.active { border-color: var(--green); background: var(--green); color: #fff; }
.qty-control { display: flex; align-items: center; border: 2px solid #e0e0e0; border-radius: 12px; overflow: hidden; width: fit-content; }
.qty-btn { width: 44px; height: 44px; border: none; background: none; font-size: 18px; cursor: pointer; transition: background .2s; }
.qty-btn:hover { background: var(--cream2); }
.qty-val { width: 44px; text-align: center; font-weight: 700; font-size: 17px; }
@media(max-width:800px){ .product-detail { grid-template-columns: 1fr; gap: 30px; } }

/* ── CART ────────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 48px 0; }
.cart-item { display: flex; gap: 16px; background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
.cart-item-img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; background: var(--cream2); flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; color: var(--green); font-size: 14px; }
.cart-item-weight { font-size: 12px; color: #888; margin-top: 2px; }
.cart-item-price { font-size: 18px; font-weight: 700; color: var(--green); margin-top: 4px; }
.order-summary { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; color: #555; }
.summary-row.total { font-weight: 700; font-size: 18px; color: var(--green); border-top: 1px solid #f0ede4; margin-top: 8px; padding-top: 16px; }
.coupon-input-wrap { display: flex; gap: 10px; }
@media(max-width:900px){ .cart-layout { grid-template-columns: 1fr; } }

/* ── CHECKOUT ────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 48px 0; }
.address-card {
  border: 2px solid #e0e0e0; border-radius: var(--radius-lg); padding: 18px 20px;
  cursor: pointer; transition: border .2s; margin-bottom: 12px;
}
.address-card.selected { border-color: var(--green); background: rgba(26,61,46,.03); }
.payment-option { border: 2px solid #e0e0e0; border-radius: var(--radius-lg); padding: 16px 20px; cursor: pointer; transition: border .2s; margin-bottom: 10px; }
.payment-option.selected { border-color: var(--green); }
@media(max-width:900px){ .checkout-layout { grid-template-columns: 1fr; } }

/* ── ADMIN ───────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: #0d2019; display: flex; flex-direction: column; }
.admin-sidebar-logo { padding: 24px; border-bottom: 1px solid #1a3d2e; }
.admin-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--gold); font-weight: 700; letter-spacing: 1px; }
.admin-logo-sub { font-size: 10px; color: rgba(212,175,55,.4); letter-spacing: 2px; text-transform: uppercase; }
.admin-nav { flex: 1; padding: 16px 12px; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border-radius: 10px; color: rgba(255,255,255,.55); font-size: 14px; font-weight: 500;
  transition: all .2s; margin-bottom: 4px;
}
.admin-nav a:hover { background: #1a3d2e; color: rgba(255,255,255,.9); }
.admin-nav a.active { background: var(--gold); color: var(--green); font-weight: 700; }
.admin-main { background: #f5f4f0; }
.admin-topbar {
  background: #fff; padding: 16px 28px; border-bottom: 1px solid #e8e5de;
  display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10;
}
.admin-content { padding: 28px; }
.admin-page-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--green); font-weight: 600; margin-bottom: 4px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 18px; margin-bottom: 28px; }
.stat-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.stat-card-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.stat-card-val { font-size: 28px; font-weight: 700; color: var(--green); line-height: 1; }
.stat-card-label { color: #888; font-size: 13px; margin-top: 4px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--cream2); text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #777; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid #f5f5f5; font-size: 14px; vertical-align: middle; }
.data-table tr:hover td { background: #fafaf8; }
.table-wrap { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); overflow-x: auto; }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.s-placed { background: #dbeafe; color: #1e40af; }
.s-confirmed { background: #ede9fe; color: #5b21b6; }
.s-shipped { background: #f3e8ff; color: #7e22ce; }
.s-delivered { background: #dcfce7; color: #166534; }
.s-cancelled { background: #fee2e2; color: #991b1b; }
.s-pending { background: #fef9c3; color: #854d0e; }
.s-paid { background: #dcfce7; color: #166534; }
.s-failed { background: #fee2e2; color: #991b1b; }
.s-active { background: #dcfce7; color: #166534; }
.s-inactive { background: #fee2e2; color: #991b1b; }
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal { background: #fff; border-radius: 24px; padding: 32px; width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--green); font-weight: 600; margin-bottom: 24px; }
@media(max-width:700px){ .admin-layout { grid-template-columns: 1fr; } .admin-sidebar { display: none; } }

/* ── ORDERS & ACCOUNT ────────────────────────────────────── */
.order-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
.order-number { font-family: monospace; font-size: 18px; font-weight: 700; color: var(--green); }
.account-tabs { display: flex; gap: 4px; background: var(--cream2); padding: 4px; border-radius: var(--radius); margin-bottom: 24px; }
.account-tab { padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #777; cursor: pointer; border: none; background: transparent; transition: all .2s; }
.account-tab.active { background: #fff; color: var(--green); box-shadow: var(--shadow); }

/* ── TIMELINE ────────────────────────────────────────────── */
.timeline { padding: 16px 0; }
.timeline-item { display: flex; gap: 16px; margin-bottom: 16px; }
.timeline-dot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.timeline-dot-green { background: #dcfce7; color: #166534; }
.timeline-dot-blue  { background: #dbeafe; color: #1e40af; }
.timeline-dot-gray  { background: #f5f5f5; color: #888; }
.timeline-info { flex: 1; }
.timeline-title { font-weight: 600; font-size: 14px; color: var(--green); }
.timeline-note  { font-size: 12px; color: #888; }
.timeline-time  { font-size: 11px; color: #bbb; margin-top: 2px; }

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-btn { padding: 8px 16px; border: 2px solid #e0e0e0; border-radius: 10px; font-size: 14px; font-weight: 600; color: #555; cursor: pointer; background: #fff; transition: all .2s; }
.page-btn.active { background: var(--green); color: #fff; border-color: var(--green); }
.page-btn:hover:not(.active) { border-color: var(--green); color: var(--green); }

/* ── SKELETON LOADER ─────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media(max-width:600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 50px 0; }
  .hero-title { font-size: 32px; }
}

#testpr{
    background-color: #f0f0f0;
}
}
