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

/* ── Brand Variables ─────────────────────────────────────── */
:root {
  --olive: #5F6F32;
  --sage: #8A9A5B;
  --pistachio: #D4D9A1;
  --mint: #B2BEB5;
  --cream: #E5E4C2;
  --dark: #1a1f0e;
  --white: #ffffff;
  --gold: #C9A84C;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  --shadow-sm: 0 2px 8px rgba(95, 111, 50, .10);
  --shadow: 0 8px 32px rgba(95, 111, 50, .15);
  --shadow-lg: 0 20px 60px rgba(95, 111, 50, .20);

  --transition: all .35s cubic-bezier(.4, 0, .2, 1);
  --glass-bg: rgba(255, 255, 255, .12);
  --glass-border: rgba(255, 255, 255, .2);
}

/* Dark Mode */
[data-theme="dark"] {
  --dark: #0d1208;
  --cream: #1e2410;
  --white: #e8ead8;
  --glass-bg: rgba(26, 31, 14, .5);
}

/* ── Reset / Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sage);
}

.section-title {
  font-family: var(--font-serif);
  color: var(--olive);
}

.text-gradient {
  background: linear-gradient(135deg, var(--olive), var(--sage));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--olive), var(--sage));
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(95, 111, 50, .4);
}

.btn-primary-custom:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(95, 111, 50, .5);
  color: #fff;
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.2rem;
  border-radius: 50px;
  background: transparent;
  color: var(--olive);
  border: 2px solid var(--olive);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--olive);
  color: #fff;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e0b850);
  color: #fff;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, .4);
  color: #fff;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar-vedic {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
  background: rgba(26, 31, 14, .95);
  backdrop-filter: blur(20px);
}

.navbar-vedic.scrolled {
  padding: .7rem 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}

.navbar-vedic .nav-link {
  color: rgba(255, 255, 255, .9) !important;
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .03em;
  padding: .5rem 1rem !important;
  transition: var(--transition);
  position: relative;
}

.navbar-vedic .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transition: transform .3s;
}

.navbar-vedic .nav-link:hover::after,
.navbar-vedic .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-brand img {
  height: 44px;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-content h1 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.hero-content .tagline {
  font-size: 1rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pistachio);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ── Section Spacing ─────────────────────────────────────── */
.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 8rem 0;
}

.section-alt {
  background: var(--cream);
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

/* ── Cards ───────────────────────────────────────────────── */
.card-vedic {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  border: none;
}

.card-vedic:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* ── Product Card ────────────────────────────────────────── */
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card .img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--cream);
}

.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.product-card:hover .img-wrap img {
  transform: scale(1.08);
}

.product-card .badge-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--olive);
  color: #fff;
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  z-index: 2;
}

.product-card .badge-tag.sale {
  background: #e74c3c;
}

.product-card .badge-tag.new {
  background: var(--gold);
}

.product-card .product-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-card .action-btn {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  color: var(--olive);
}

.product-card .action-btn:hover {
  background: var(--olive);
  color: #fff;
}

.product-card .card-body {
  padding: 1.25rem;
}

.product-card .price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--olive);
}

.product-card .price .original {
  font-size: .9rem;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 400;
}

.star-rating {
  color: var(--gold);
  font-size: .85rem;
}

.add-to-cart-btn {
  width: 100%;
  padding: .7rem;
  background: var(--olive);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: .75rem;
}

.add-to-cart-btn:hover {
  background: var(--sage);
  transform: translateY(-1px);
}

/* ── Glassmorphism ───────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.glass-dark {
  background: rgba(26, 31, 14, .6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(138, 154, 91, .2);
  border-radius: var(--radius-lg);
}

/* ── Stats Counter ───────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--olive);
}

.stat-label {
  font-size: .9rem;
  color: var(--sage);
  font-weight: 500;
}

/* ── Benefits Icon Cards ─────────────────────────────────── */
.benefit-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: var(--olive);
  color: #fff;
}

.benefit-card:hover .benefit-icon {
  background: rgba(255, 255, 255, .2);
}

.benefit-card:hover h4,
.benefit-card:hover p {
  color: #fff;
}

.benefit-icon {
  width: 72px;
  height: 72px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.8rem;
  transition: var(--transition);
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--pistachio);
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sage);
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--pistachio);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--olive);
}

.faq-answer {
  padding: 0 0 1.25rem;
  color: #555;
  line-height: 1.8;
  display: none;
}

.faq-answer.open {
  display: block;
  animation: fadeDown .3s ease;
}

@keyframes fadeDown { from { opacity:0; transform: translateY(-8px); } to { opacity:1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ── Newsletter ──────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--olive), var(--sage));
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 480px;
  margin: 1.5rem auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: .85rem 1.5rem;
  border-radius: 50px;
  border: none;
  font-size: .95rem;
  outline: none;
}

.newsletter-form button {
  padding: .85rem 2rem;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

/* ── WhatsApp Float ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, .5);
}

.whatsapp-float img {
  width: 28px;
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, .7);
  }
}

/* ── Cart Badge Anim ─────────────────────────────────────── */
.cart-bounce {
  animation: bounce .4s ease;
}

@keyframes bounce {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.4);
  }
}

/* ── Dark Mode Toggle ────────────────────────────────────── */
.dark-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50px;
  padding: .35rem .75rem;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  font-size: .85rem;
}

.dark-toggle:hover {
  background: rgba(255, 255, 255, .15);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer-vedic {
  background: var(--dark);
  color: rgba(255, 255, 255, .8);
  padding: 5rem 0 2rem;
}

.footer-vedic h5 {
  color: #fff;
  font-family: var(--font-serif);
  margin-bottom: 1.25rem;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, .65);
  padding: .25rem 0;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--pistachio);
  padding-left: .5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
  transition: var(--transition);
  margin-right: .5rem;
}

.footer-social a:hover {
  background: var(--olive);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 2rem;
  margin-top: 3rem;
}

/* ── Cart / Table ────────────────────────────────────────── */
.cart-table th {
  background: var(--cream);
  font-weight: 600;
  color: var(--olive);
}

.qty-input {
  width: 70px;
  text-align: center;
  border: 1px solid var(--pistachio);
  border-radius: var(--radius-sm);
  padding: .4rem;
  font-weight: 600;
}

/* ── Dashboard sidebar ───────────────────────────────────── */
.sidebar-vedic {
  background: linear-gradient(180deg, var(--dark) 0%, #1e2a10 100%);
  height: 100vh;
  width: 260px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  overflow-y: auto;
  transition: var(--transition);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.5rem;
  color: rgba(255, 255, 255, .7);
  transition: var(--transition);
  border-radius: 0;
  font-size: .9rem;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(138, 154, 91, .2);
  color: var(--pistachio);
  border-left: 3px solid var(--sage);
}

.sidebar-link i {
  width: 20px;
}

.main-content {
  margin-left: 260px;
  min-height: 100vh;
}

/* ── Admin cards ─────────────────────────────────────────── */
.stat-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-card .icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-card .value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
}

.stat-card .label {
  font-size: .85rem;
  color: #888;
}

/* ── Status Badges ───────────────────────────────────────── */
.status-badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-confirmed {
  background: #cff4fc;
  color: #0c5460;
}

.status-processing {
  background: #cfe2ff;
  color: #084298;
}

.status-shipped {
  background: #d1ecf1;
  color: #0c5460;
}

.status-delivered {
  background: #d4edda;
  color: #155724;
}

.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

.status-paid {
  background: #d4edda;
  color: #155724;
}

.status-unpaid {
  background: #f8d7da;
  color: #721c24;
}

/* ── Animations ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s, transform .7s;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .main-content {
    margin-left: 0;
  }

  .sidebar-vedic {
    transform: translateX(-100%);
  }

  .sidebar-vedic.open {
    transform: translateX(0);
  }

  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }

  .hero-section {
    min-height: 90vh;
  }

  .stat-number {
    font-size: 2rem;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }
}