/* ===== VARIABLES ===== */
:root {
  --green-dark: #0A1F14;
  --green-primary: #14613E;
  --green-mid: #1E8C5A;
  --green-light: #28B573;
  --gold-dark: #A67C00;
  --gold-primary: #D4A017;
  --gold-light: #E8B830;
  --gold-pale: #F0D060;
  --cream: #FBF8F0;
  --cream-dark: #F0E6D0;
  --brown-dark: #2E1A10;
  --brown-mid: #4E3020;
  --text-dark: #1A0E08;
  --text-body: #3A2518;
  --text-light: #6B5540;
  --white: #FFFFFF;
  --danger: #D32F2F;
  --success: #2E7D32;
  --warning: #F57C00;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(10,31,20,0.14);
  --shadow-lg: 0 8px 32px rgba(10,31,20,0.20);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text-body);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== ORNAMENT ===== */
.ornament-top {
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--green-dark), var(--gold-primary) 30%, var(--gold-light) 50%, var(--gold-primary) 70%, var(--green-dark));
  position: fixed; top: 0; z-index: 1001;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 5px; left: 0; right: 0; z-index: 1000;
  background: rgba(250,246,238,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,160,23,0.28);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--green-primary);
  font-family: 'Playfair Display', serif; font-size: 1.2rem;
  font-weight: 700; letter-spacing: 3px;
}
.nav-logo-img { width: 40px; height: 40px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  text-decoration: none; color: var(--text-body);
  font-size: 0.88rem; font-weight: 500; padding: 8px 16px;
  border-radius: var(--radius); transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--green-primary); background: rgba(27,67,50,0.06); }
.nav-link.nav-cta {
  background: var(--green-primary); color: var(--gold-light) !important;
  font-weight: 600; letter-spacing: 1px;
}
.nav-link.nav-cta:hover { background: var(--green-dark); }
.nav-link.nav-admin { display: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--green-primary); margin: 5px 0;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; padding: 120px 24px 80px; text-align: center;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(212,160,23,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(20,97,62,0.10) 0%, transparent 50%),
    var(--cream);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(212,160,23,0.06) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(20,97,62,0.06) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
/* Three.js Canvas */
.hero-3d {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.9;
}
.hero-3d canvas { width: 100% !important; height: 100% !important; display: block; }
/* Hero Buttons */
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badge-outline {
  background: transparent !important; color: var(--green-primary) !important;
  border: 2px solid var(--green-primary);
}
.hero-badge-outline:hover {
  background: var(--green-primary) !important; color: var(--gold-light) !important;
}
/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  animation: fadeIn 2s ease-out;
}
.hero-scroll-indicator span {
  display: block; width: 24px; height: 40px;
  border: 2px solid var(--gold-primary); border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: ''; position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%); width: 4px; height: 8px;
  background: var(--gold-primary); border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}
.hero-content { position: relative; z-index: 1; max-width: 900px; width: 100%; }
.hero-logo { margin-bottom: 40px; animation: fadeInDown 1s ease-out; }
.hero-logo img {
  width: 300px; height: 300px; object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(13,40,24,0.15));
  transition: transform 0.6s ease;
}
.hero-logo img:hover { transform: scale(1.03); }
.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 500;
  color: var(--green-primary); line-height: 1.5;
  margin-bottom: 16px; animation: fadeInUp 1.2s ease-out;
}
.hero-tagline em { color: var(--gold-dark); font-style: italic; font-weight: 600; }
.hero-divider {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 24px 0; animation: fadeIn 1.4s ease-out;
}
.hero-divider-line { width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-primary), transparent); }
.hero-divider-dot { color: var(--gold-primary); font-size: 18px; letter-spacing: 8px; }
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.3rem); color: var(--text-body);
  font-weight: 300; font-style: italic; line-height: 1.8;
  max-width: 600px; margin: 0 auto 40px; animation: fadeInUp 1.4s ease-out;
}
.hero-badge {
  display: inline-block; padding: 14px 48px;
  border: 2px solid var(--gold-primary); color: var(--green-primary);
  font-family: 'Playfair Display', serif; font-size: 0.9rem;
  font-weight: 600; letter-spacing: 5px; text-transform: uppercase;
  cursor: pointer; transition: var(--transition); animation: fadeInUp 1.6s ease-out;
  background: linear-gradient(135deg, rgba(201,168,76,0.06), rgba(250,246,238,0.8));
  text-decoration: none;
}
.hero-badge:hover { background: var(--green-primary); color: var(--gold-light); }

/* ===== FEATURED PRODUCTS (Home) ===== */
.section { padding: 80px 24px; }
.section-dark { background: linear-gradient(180deg, var(--green-dark), var(--green-primary)); color: var(--cream); }
.section-title {
  font-family: 'Playfair Display', serif; text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500;
  margin-bottom: 12px; letter-spacing: 2px;
}
.section-title.gold { color: var(--gold-light); }
.section-label {
  display: block; font-size: 0.65em; letter-spacing: 6px;
  text-transform: uppercase; color: var(--gold-pale); margin-bottom: 8px; font-weight: 400;
}
.section-subtitle {
  text-align: center; font-size: 1rem; color: var(--text-light);
  max-width: 600px; margin: 0 auto 48px; line-height: 1.7;
}
.section-subtitle.cream { color: var(--cream-dark); }

/* ===== PRODUCT GRID ===== */
.product-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px;
}
.product-card {
  background: var(--white); border-radius: 12px;
  overflow: hidden; transition: var(--transition);
  border: 1px solid rgba(212,160,23,0.25); cursor: pointer;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-image {
  height: 200px; background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
}
.product-card-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--gold-primary); color: var(--white);
  font-size: 0.7rem; font-weight: 700; padding: 4px 12px;
  border-radius: 20px; letter-spacing: 1px; text-transform: uppercase;
}
.product-card-body { padding: 24px; }
.product-card-category {
  font-size: 0.72rem; color: var(--gold-dark); font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px;
}
.product-card-name {
  font-family: 'Playfair Display', serif; font-size: 1.1rem;
  font-weight: 600; color: var(--text-dark); margin-bottom: 8px; line-height: 1.4;
}
.product-card-desc {
  font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px;
}
.product-card-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.product-meta-tag {
  font-size: 0.75rem; padding: 4px 10px;
  background: var(--cream); border-radius: 20px;
  color: var(--text-body); font-weight: 500;
}

/* ===== AROMA RADAR ===== */
.aroma-radar { margin: 20px 0; }
.aroma-bar-group { margin-bottom: 8px; }
.aroma-bar-label {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--text-light); margin-bottom: 4px;
}
.aroma-bar {
  height: 6px; background: var(--cream-dark); border-radius: 3px; overflow: hidden;
}
.aroma-bar-fill {
  height: 100%; border-radius: 3px; transition: width 0.8s ease;
}
.aroma-body .aroma-bar-fill { background: linear-gradient(90deg, var(--brown-mid), var(--brown-dark)); }
.aroma-acidity .aroma-bar-fill { background: linear-gradient(90deg, var(--green-light), var(--green-mid)); }
.aroma-sweetness .aroma-bar-fill { background: linear-gradient(90deg, var(--gold-light), var(--gold-primary)); }
.aroma-bitterness .aroma-bar-fill { background: linear-gradient(90deg, var(--green-mid), var(--green-dark)); }
.aroma-aroma .aroma-bar-fill { background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark)); }

/* ===== CATEGORY FILTER ===== */
.category-filter {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 40px; max-width: 800px; margin: 0 auto 40px;
}
.cat-btn {
  padding: 10px 24px; border: 2px solid var(--gold-primary);
  background: transparent; color: var(--text-body);
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500;
  border-radius: 30px; cursor: pointer; transition: var(--transition);
}
.cat-btn:hover, .cat-btn.active {
  background: var(--green-primary); color: var(--gold-light); border-color: var(--green-primary);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail { max-width: 900px; margin: 0 auto; padding-top: 100px; }
.product-detail-image {
  width: 100%; max-height: 420px; border-radius: 12px; overflow: hidden;
  margin-bottom: 32px; background: var(--cream-dark);
}
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-light); text-decoration: none;
  margin-bottom: 32px; transition: var(--transition); cursor: pointer;
  border: none; background: none; font-family: inherit;
}
.product-detail-back:hover { color: var(--green-primary); }
.product-detail-header { margin-bottom: 40px; }
.product-detail-category {
  font-size: 0.75rem; color: var(--gold-dark); font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px;
}
.product-detail-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600;
  color: var(--text-dark); margin-bottom: 20px; line-height: 1.3;
}
.product-detail-desc {
  font-size: 1rem; color: var(--text-body); line-height: 1.8; margin-bottom: 32px;
}
.product-detail-specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; margin-bottom: 40px;
}
.spec-card {
  background: var(--white); padding: 20px; border-radius: var(--radius);
  border: 1px solid rgba(212,160,23,0.28); text-align: center;
}
.spec-card-label { font-size: 0.72rem; color: var(--text-light); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.spec-card-value { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 600; color: var(--green-primary); }
.product-detail-order {
  background: var(--green-primary); color: var(--gold-light);
  display: flex; align-items: center; gap: 16px; padding: 20px 32px;
  border-radius: var(--radius); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; font-family: inherit; transition: var(--transition);
}
.product-detail-order:hover { background: var(--green-dark); }

/* ===== FEATURES ===== */
.features-grid {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: center;
}
.feature-item { padding: 40px 24px; position: relative; }
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; }
.feature-title {
  font-family: 'Playfair Display', serif; font-size: 1.1rem;
  font-weight: 600; color: var(--green-primary); margin-bottom: 8px;
}
.feature-desc { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; }
.feature-item::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 40px; height: 2px; background: var(--gold-primary);
}

/* ===== STORY (About) ===== */
.story-content { max-width: 720px; margin: 0 auto; text-align: center; }
.story-text {
  color: var(--cream-dark); font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 2; font-weight: 300;
}
.story-text p { margin-bottom: 24px; }
.story-text strong { color: var(--gold-light); font-weight: 500; }

/* ===== FORMS ===== */
.form-container {
  max-width: 640px; margin: 0 auto; padding-top: 100px;
  background: var(--white); border-radius: 16px;
  padding: 48px; box-shadow: var(--shadow);
  border: 1px solid rgba(212,160,23,0.20);
}
.form-title {
  font-family: 'Playfair Display', serif; font-size: 1.6rem;
  font-weight: 600; color: var(--green-primary);
  margin-bottom: 8px; text-align: center;
}
.form-subtitle {
  font-size: 0.9rem; color: var(--text-light);
  text-align: center; margin-bottom: 32px; line-height: 1.6;
}
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--text-body); margin-bottom: 6px; letter-spacing: 0.5px;
}
.form-label .required { color: var(--danger); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--cream-dark);
  border-radius: var(--radius); font-family: inherit; font-size: 0.9rem;
  color: var(--text-dark); background: var(--cream);
  transition: var(--transition); outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-primary); background: var(--white);
}
.form-textarea { min-height: 80px; resize: vertical; }
.form-btn {
  width: 100%; padding: 14px 32px; margin-top: 8px;
  background: var(--green-primary); color: var(--gold-light);
  border: none; border-radius: var(--radius);
  font-family: 'Playfair Display', serif; font-size: 1rem;
  font-weight: 600; letter-spacing: 2px; cursor: pointer;
  transition: var(--transition);
}
.form-btn:hover { background: var(--green-dark); }
.form-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-link {
  text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--text-light);
}
.form-link a {
  color: var(--green-primary); text-decoration: none; font-weight: 600;
  cursor: pointer;
}
.form-link a:hover { text-decoration: underline; }
.form-message {
  padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px;
  font-size: 0.85rem; font-weight: 500; text-align: center;
}
.form-message.success { background: rgba(39,174,96,0.1); color: var(--success); border: 1px solid rgba(39,174,96,0.2); }
.form-message.error { background: rgba(192,57,43,0.1); color: var(--danger); border: 1px solid rgba(192,57,43,0.2); }

/* ===== DEALER DASHBOARD ===== */
.dashboard { max-width: 1100px; margin: 0 auto; padding-top: 100px; }
.dash-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.dash-welcome {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  color: var(--green-primary); font-weight: 600;
}
.dash-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}
.dash-status.pending { background: rgba(243,156,18,0.1); color: var(--warning); }
.dash-status.approved { background: rgba(39,174,96,0.1); color: var(--success); }
.dash-status.rejected { background: rgba(192,57,43,0.1); color: var(--danger); }
.dash-info-card {
  background: var(--white); border-radius: 12px; padding: 32px;
  border: 1px solid rgba(212,160,23,0.20); margin-bottom: 32px; text-align: center;
}
.dash-info-card h3 { font-family: 'Playfair Display', serif; color: var(--green-primary); margin-bottom: 12px; }
.dash-info-card p { color: var(--text-light); line-height: 1.7; }

/* ===== CART (WhatsApp) ===== */
.cart-sidebar {
  position: fixed; right: -400px; top: 5px; bottom: 0; width: 380px;
  background: var(--white); z-index: 999; transition: right 0.4s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1); display: flex; flex-direction: column;
}
.cart-sidebar.open { right: 0; }
.cart-header {
  padding: 20px 24px; border-bottom: 1px solid var(--cream-dark);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-header h3 { font-family: 'Playfair Display', serif; color: var(--green-primary); }
.cart-close {
  background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: var(--text-light); padding: 4px;
}
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--cream-dark);
}
.cart-item-info h4 { font-size: 0.88rem; color: var(--text-dark); margin-bottom: 4px; }
.cart-item-info p { font-size: 0.75rem; color: var(--text-light); }
.cart-item-actions { display: flex; align-items: center; gap: 8px; }
.cart-qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--cream-dark); background: var(--cream);
  cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cart-qty-btn:hover { border-color: var(--gold-primary); }
.cart-qty { font-weight: 600; font-size: 0.9rem; min-width: 24px; text-align: center; }
.cart-footer {
  padding: 20px 24px; border-top: 1px solid var(--cream-dark);
}
.cart-total {
  display: flex; justify-content: space-between; margin-bottom: 16px;
  font-weight: 600; color: var(--text-dark);
}
.cart-whatsapp-btn {
  width: 100%; padding: 14px; background: #25D366; color: white;
  border: none; border-radius: var(--radius);
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: var(--transition);
}
.cart-whatsapp-btn:hover { background: #1DA851; }
.cart-empty { text-align: center; padding: 40px 0; color: var(--text-light); font-size: 0.9rem; }

.cart-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 998;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-primary); color: var(--gold-light);
  border: none; cursor: pointer; font-size: 1.4rem;
  box-shadow: var(--shadow-lg); transition: var(--transition);
  display: none; align-items: center; justify-content: center;
}
.cart-fab.visible { display: flex; }
.cart-fab:hover { transform: scale(1.1); }
.cart-fab-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--danger); color: white;
  font-size: 0.65rem; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ===== ADMIN ===== */
.admin-layout {
  max-width: 1200px; margin: 0 auto; padding-top: 100px;
}
.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.admin-title {
  font-family: 'Playfair Display', serif; font-size: 1.6rem;
  color: var(--green-primary); font-weight: 600;
}
.admin-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; margin-bottom: 32px;
}
.stat-card {
  background: var(--white); border-radius: 12px; padding: 24px;
  border: 1px solid rgba(212,160,23,0.20); text-align: center;
}
.stat-number {
  font-family: 'Playfair Display', serif; font-size: 2rem;
  font-weight: 700; color: var(--green-primary); margin-bottom: 4px;
}
.stat-label { font-size: 0.78rem; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; }
.stat-card.warning .stat-number { color: var(--warning); }
.admin-tabs {
  display: flex; gap: 4px; margin-bottom: 24px;
  border-bottom: 2px solid var(--cream-dark);
}
.admin-tab {
  padding: 10px 24px; border: none; background: none;
  font-family: inherit; font-size: 0.88rem; font-weight: 500;
  color: var(--text-light); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: var(--transition);
}
.admin-tab:hover { color: var(--text-body); }
.admin-tab.active { color: var(--green-primary); border-bottom-color: var(--gold-primary); font-weight: 600; }
.admin-table-wrap {
  background: var(--white); border-radius: 12px; overflow-x: auto;
  border: 1px solid rgba(212,160,23,0.20);
}
.admin-table {
  width: 100%; border-collapse: collapse; font-size: 0.85rem;
}
.admin-table th {
  padding: 14px 16px; text-align: left;
  background: var(--cream); color: var(--text-body);
  font-weight: 600; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase;
  border-bottom: 2px solid var(--cream-dark);
}
.admin-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--cream-dark);
  vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(250,246,238,0.5); }
.status-badge {
  display: inline-block; padding: 4px 12px;
  border-radius: 20px; font-size: 0.72rem; font-weight: 600;
}
.status-badge.pending { background: rgba(243,156,18,0.1); color: var(--warning); }
.status-badge.approved { background: rgba(39,174,96,0.1); color: var(--success); }
.status-badge.rejected { background: rgba(192,57,43,0.1); color: var(--danger); }
.admin-action-btn {
  padding: 6px 14px; border: none; border-radius: var(--radius);
  font-family: inherit; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); margin: 2px;
}
.btn-approve { background: rgba(39,174,96,0.1); color: var(--success); }
.btn-approve:hover { background: var(--success); color: white; }
.btn-reject { background: rgba(192,57,43,0.1); color: var(--danger); }
.btn-reject:hover { background: var(--danger); color: white; }
.btn-delete { background: rgba(192,57,43,0.05); color: var(--text-light); }
.btn-delete:hover { background: var(--danger); color: white; }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: linear-gradient(135deg, var(--cream-dark), var(--cream)); }
.newsletter-form {
  display: flex; gap: 0; max-width: 480px; margin: 0 auto;
  border: 2px solid var(--gold-primary); overflow: hidden; border-radius: var(--radius);
}
.newsletter-form input {
  flex: 1; padding: 14px 20px; border: none;
  background: white; font-family: inherit; font-size: 0.9rem;
  color: var(--text-dark); outline: none;
}
.newsletter-form input::placeholder { color: #B0A090; font-style: italic; }
.newsletter-form button {
  padding: 14px 28px; background: var(--green-primary);
  color: var(--gold-light); border: none;
  font-family: 'Playfair Display', serif; font-size: 0.8rem;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.newsletter-form button:hover { background: var(--green-dark); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== LOADING SPINNER ===== */
.spinner {
  display: flex; align-items: center; justify-content: center; padding: 60px;
}
.spinner::after {
  content: ''; width: 32px; height: 32px; border: 3px solid var(--cream-dark);
  border-top-color: var(--gold-primary); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250,246,238,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 16px; gap: 4px;
    border-bottom: 1px solid rgba(212,160,23,0.28);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-container { margin: 0 12px; padding: 28px 20px; }
  .hero-logo img { width: 220px; height: 220px; }
  .cart-sidebar { width: 100%; right: -100%; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .dashboard, .admin-layout { padding-left: 12px; padding-right: 12px; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-dark); padding: 60px 24px 24px; color: var(--cream);
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-logo-img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 12px; }
.footer-slogan { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold-pale); opacity: 0.9; }
.footer-nav h4, .footer-contact h4 {
  font-family: 'Playfair Display', serif; font-size: 0.9rem;
  color: var(--gold-primary); margin-bottom: 16px; letter-spacing: 2px;
}
.footer-nav a {
  display: block; color: var(--cream-dark); text-decoration: none;
  font-size: 0.85rem; margin-bottom: 8px; opacity: 0.85;
  transition: var(--transition);
}
.footer-nav a:hover { opacity: 1; color: var(--gold-light); }
.footer-contact p { font-size: 0.85rem; color: var(--cream-dark); opacity: 0.85; margin-bottom: 12px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  color: var(--gold-light); text-decoration: none; font-size: 0.8rem;
  letter-spacing: 1px; opacity: 0.8; transition: var(--transition);
}
.footer-social a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(212,160,23,0.28);
  padding-top: 20px; text-align: center;
}
.footer-bottom p { font-size: 0.75rem; opacity: 0.6; }

/* ===== MISC ===== */
.btn-outline {
  padding: 10px 24px; border: 2px solid var(--gold-primary);
  background: transparent; color: var(--text-body);
  font-family: inherit; font-size: 0.85rem; font-weight: 600;
  border-radius: var(--radius); cursor: pointer; transition: var(--transition);
}
.btn-outline:hover { background: var(--green-primary); color: var(--gold-light); border-color: var(--green-primary); }
.btn-danger-outline {
  padding: 8px 20px; border: 2px solid var(--danger); background: transparent;
  color: var(--danger); font-family: inherit; font-size: 0.85rem;
  border-radius: var(--radius); cursor: pointer; transition: var(--transition);
}
.btn-danger-outline:hover { background: var(--danger); color: white; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ===== DARK MODE TOGGLE ===== */
.dark-mode-toggle {
  background: none; border: 1px solid rgba(212,160,23,0.3);
  border-radius: 50%; width: 36px; height: 36px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 1.1rem; color: var(--text-body);
}
.dark-mode-toggle:hover { border-color: var(--gold-primary); background: rgba(212,160,23,0.08); }

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: 24px; left: 24px; z-index: 997;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: transform 0.3s ease;
  text-decoration: none;
}
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid rgba(37,211,102,0.3);
  animation: waPulse 2s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0; }
}

/* ===== COMPARE BAR ===== */
.compare-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 996;
  background: var(--green-dark); color: var(--cream);
  padding: 12px 24px; box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.compare-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.9rem; font-weight: 500;
}
.compare-bar-actions { display: flex; gap: 8px; }
.compare-toggle {
  padding: 6px 14px; border: 1px solid var(--gold-primary);
  background: transparent; color: var(--text-body);
  font-family: inherit; border-radius: 20px; cursor: pointer;
  transition: var(--transition);
}
.compare-toggle:hover, .compare-toggle.active {
  background: var(--gold-primary); color: var(--white);
}

/* ===== COMPARE GRID ===== */
.compare-grid {
  display: grid; gap: 24px;
}
.compare-card {
  background: var(--white); border-radius: 12px; padding: 24px;
  border: 1px solid rgba(212,160,23,0.25);
}

/* ===== RECENTLY VIEWED ===== */
.recently-viewed-scroll {
  display: flex; gap: 16px; overflow-x: auto;
  padding-bottom: 8px; scroll-snap-type: x mandatory;
}
.recently-viewed-scroll::-webkit-scrollbar { height: 4px; }
.recently-viewed-scroll::-webkit-scrollbar-thumb { background: var(--gold-primary); border-radius: 2px; }
.recently-viewed-card {
  flex: 0 0 160px; scroll-snap-align: start;
  cursor: pointer; transition: var(--transition);
}
.recently-viewed-card:hover { transform: translateY(-2px); }
.recently-viewed-card img {
  width: 100%; height: 100px; object-fit: cover;
  border-radius: 8px;
}

/* ===== DARK MODE ===== */
/* Key fix: --cream and --cream-dark stay LIGHT because they're used as text color
   on dark-bg sections (footer, section-dark). We override backgrounds directly. */
[data-theme="dark"] {
  --white: #221C15;
  --green-primary: #3CB878;
  --green-mid: #4EC98B;
  --green-light: #6EDAA4;
  --green-dark: #0F1A14;
  --gold-dark: #E8C040;
  --text-dark: #F0E6D0;
  --text-body: #E0D4C4;
  --text-light: #B8A898;
  --brown-dark: #F0E6D0;
  --brown-mid: #D4C8B8;
  --danger: #EF5350;
  --success: #66BB6A;
  --warning: #FFA726;
}
/* Page-level backgrounds (these used --cream/--cream-dark as bg, now hardcoded dark) */
[data-theme="dark"] body { background: #1A1410; color: #E0D4C4; }
[data-theme="dark"] .navbar {
  background: rgba(26,20,16,0.95);
  border-bottom-color: rgba(212,160,23,0.2);
}
[data-theme="dark"] .nav-link { color: #E0D4C4; }
[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active {
  color: var(--gold-light); background: rgba(212,160,23,0.08);
}
[data-theme="dark"] .nav-link.nav-cta {
  background: var(--green-primary); color: #1A1410 !important;
}
[data-theme="dark"] .nav-link.nav-cta:hover { background: var(--green-mid); }
/* Hero */
[data-theme="dark"] .hero {
  background: radial-gradient(ellipse at 50% 30%, rgba(212,160,23,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(60,184,120,0.06) 0%, transparent 50%),
    #1A1410;
}
[data-theme="dark"] .hero::before { opacity: 0.3; }
[data-theme="dark"] .hero-tagline { color: var(--green-primary); }
[data-theme="dark"] .hero-tagline em { color: var(--gold-light); }
[data-theme="dark"] .hero-subtitle { color: #E0D4C4; }
[data-theme="dark"] .hero-badge {
  background: rgba(60,184,120,0.1); border-color: var(--gold-primary);
  color: var(--gold-light);
}
[data-theme="dark"] .hero-badge:hover { background: var(--green-primary); color: #1A1410; }
[data-theme="dark"] .hero-badge-outline { color: var(--green-primary) !important; border-color: var(--green-primary); }
[data-theme="dark"] .hero-badge-outline:hover { background: var(--green-primary) !important; color: #1A1410 !important; }
/* Sections */
[data-theme="dark"] .section { background: #1A1410; }
[data-theme="dark"] .section-dark { background: linear-gradient(180deg, #0F1A14, #142A1E); color: #FBF8F0; }
[data-theme="dark"] .section-title { color: #F5EDE0; }
[data-theme="dark"] .section-title.gold { color: var(--gold-light); }
[data-theme="dark"] .section-label { color: var(--gold-pale); }
[data-theme="dark"] .section-subtitle { color: #B8A898; }
[data-theme="dark"] .section-subtitle.cream { color: #E0D4C4; }
/* Story (on green bg) */
[data-theme="dark"] .story-text { color: #F0E6D0; }
[data-theme="dark"] .story-text strong { color: var(--gold-light); }
/* Products */
[data-theme="dark"] .product-card {
  background: #221C15; border-color: rgba(212,160,23,0.15);
}
[data-theme="dark"] .product-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
[data-theme="dark"] .product-card-image { background: linear-gradient(135deg, #2A2018, #1A1410); }
[data-theme="dark"] .product-card-name { color: #F5EDE0; }
[data-theme="dark"] .product-card-desc { color: #B8A898; }
[data-theme="dark"] .product-detail-name { color: #F5EDE0; }
[data-theme="dark"] .product-detail-desc { color: #E0D4C4; }
[data-theme="dark"] .product-detail-category { color: var(--gold-primary); }
[data-theme="dark"] .product-detail-back { color: #B8A898; }
[data-theme="dark"] .product-detail-back:hover { color: var(--green-primary); }
[data-theme="dark"] .product-detail-order { background: var(--green-primary); color: #1A1410; }
[data-theme="dark"] .product-detail-order:hover { background: var(--green-mid); }
[data-theme="dark"] .spec-card {
  background: #221C15; border-color: rgba(212,160,23,0.15);
}
[data-theme="dark"] .spec-card-label { color: #B8A898; }
[data-theme="dark"] .spec-card-value { color: var(--green-primary); }
/* Features */
[data-theme="dark"] .feature-title { color: var(--green-primary); }
[data-theme="dark"] .feature-desc { color: #E0D4C4; }
[data-theme="dark"] .feature-item::after { background: var(--gold-primary); }
/* Forms */
[data-theme="dark"] .form-container {
  background: #221C15; border-color: rgba(212,160,23,0.15);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
[data-theme="dark"] .form-title { color: var(--green-primary); }
[data-theme="dark"] .form-subtitle { color: #B8A898; }
[data-theme="dark"] .form-label { color: #E0D4C4; }
[data-theme="dark"] .form-input, [data-theme="dark"] .form-select, [data-theme="dark"] .form-textarea {
  background: #1A1410; border-color: #3A2C20; color: #F5EDE0;
}
[data-theme="dark"] .form-input:focus, [data-theme="dark"] .form-select:focus, [data-theme="dark"] .form-textarea:focus {
  border-color: var(--gold-primary); background: #221C15;
}
[data-theme="dark"] .form-input::placeholder { color: #7A6A58; }
[data-theme="dark"] .form-btn { background: var(--green-primary); color: #1A1410; }
[data-theme="dark"] .form-btn:hover { background: var(--green-mid); }
[data-theme="dark"] .form-link { color: #B8A898; }
[data-theme="dark"] .form-link a { color: var(--green-primary); }
/* Buttons */
[data-theme="dark"] .btn-outline { color: #F0E6D0; border-color: var(--gold-primary); }
[data-theme="dark"] .btn-outline:hover { background: var(--green-primary); color: #1A1410; border-color: var(--green-primary); }
/* Admin */
[data-theme="dark"] .stat-card { background: #221C15; border-color: rgba(212,160,23,0.15); }
[data-theme="dark"] .stat-number { color: var(--green-primary); }
[data-theme="dark"] .stat-label { color: #B8A898; }
[data-theme="dark"] .admin-table-wrap { background: #221C15; border-color: rgba(212,160,23,0.15); }
[data-theme="dark"] .admin-table th { background: #2A2018; color: #E0D4C4; border-bottom-color: #3A3028; }
[data-theme="dark"] .admin-table td { border-bottom-color: #2A2018; color: #E0D4C4; }
[data-theme="dark"] .admin-table tr:hover td { background: rgba(212,160,23,0.04); }
[data-theme="dark"] .admin-title { color: var(--green-primary); }
[data-theme="dark"] .admin-tab { color: #B8A898; }
[data-theme="dark"] .admin-tab.active { color: var(--green-primary); }
[data-theme="dark"] .admin-tabs { border-bottom-color: #2A2018; }
[data-theme="dark"] .dash-welcome { color: var(--green-primary); }
[data-theme="dark"] .dash-info-card { background: #221C15; border-color: rgba(212,160,23,0.15); }
[data-theme="dark"] .dash-info-card h3 { color: var(--green-primary); }
[data-theme="dark"] .dash-info-card p { color: #E0D4C4; }
/* Cart */
[data-theme="dark"] .cart-sidebar { background: #221C15; }
[data-theme="dark"] .cart-header h3 { color: var(--green-primary); }
[data-theme="dark"] .cart-header, [data-theme="dark"] .cart-footer { border-color: #2A2018; }
[data-theme="dark"] .cart-item { border-bottom-color: #2A2018; }
[data-theme="dark"] .cart-item-info h4 { color: #F5EDE0; }
[data-theme="dark"] .cart-item-info p { color: #B8A898; }
[data-theme="dark"] .cart-qty-btn { background: #1A1410; border-color: #2A2018; color: #E0D4C4; }
[data-theme="dark"] .cart-total { color: #F5EDE0; }
/* Newsletter */
[data-theme="dark"] .newsletter-section { background: linear-gradient(135deg, #2A2018, #1A1410); }
[data-theme="dark"] .newsletter-form input { background: #1A1410; color: #F5EDE0; }
[data-theme="dark"] .newsletter-form input::placeholder { color: #7A6A58; }
[data-theme="dark"] .newsletter-form button { background: var(--green-primary); color: #1A1410; }
/* Footer — bg is already dark green, text must stay BRIGHT */
[data-theme="dark"] .footer { background: #0D0A07; color: #F0E6D0; }
[data-theme="dark"] .footer-nav h4, [data-theme="dark"] .footer-contact h4 { color: var(--gold-primary); }
[data-theme="dark"] .footer-nav a { color: #E0D4C4; opacity: 1; }
[data-theme="dark"] .footer-nav a:hover { color: var(--gold-light); }
[data-theme="dark"] .footer-contact p { color: #E0D4C4; opacity: 1; }
[data-theme="dark"] .footer-social a { color: var(--gold-light); opacity: 1; }
[data-theme="dark"] .footer-slogan { color: var(--gold-pale); opacity: 1; }
[data-theme="dark"] .footer-bottom p { color: #B8A898; opacity: 1; }
[data-theme="dark"] .footer-bottom { border-top-color: rgba(212,160,23,0.2); }
/* Misc dark */
[data-theme="dark"] .aroma-bar { background: #2A2018; }
[data-theme="dark"] .aroma-bar-label { color: #B8A898; }
[data-theme="dark"] .compare-card { background: #221C15; border-color: rgba(212,160,23,0.15); }
[data-theme="dark"] .compare-toggle { color: #E0D4C4; }
[data-theme="dark"] .dark-mode-toggle { color: var(--gold-light); border-color: rgba(212,160,23,0.3); }
[data-theme="dark"] .cat-btn { color: #E0D4C4; }
[data-theme="dark"] .cat-btn:hover, [data-theme="dark"] .cat-btn.active {
  background: var(--green-primary); color: #1A1410; border-color: var(--green-primary);
}
[data-theme="dark"] .product-meta-tag { background: #2A2018; color: #E0D4C4; }
[data-theme="dark"] .product-card-image { background: linear-gradient(135deg, #2A2018, #1A1410); }
[data-theme="dark"] .form-input, [data-theme="dark"] .form-select, [data-theme="dark"] .form-textarea {
  background: #1A1410; border-color: #3A2C20; color: #F5EDE0;
}
[data-theme="dark"] .cart-qty-btn { background: #1A1410; border-color: #3A2C20; color: #E0D4C4; }
[data-theme="dark"] .ornament-top {
  background: linear-gradient(90deg, #0F1A14, var(--gold-primary) 30%, var(--gold-light) 50%, var(--gold-primary) 70%, #0F1A14);
}

@media (max-width: 768px) {
  .whatsapp-fab { width: 48px; height: 48px; bottom: 16px; left: 16px; }
  .compare-bar { padding: 10px 16px; }
  .compare-bar-inner { font-size: 0.82rem; }
  .recently-viewed-card { flex: 0 0 130px; }
  [data-theme="dark"] .nav-links { background: rgba(26,20,16,0.98); }
}
