/* ===================================================
   Zulf-e-Dua Herbal Care - E-Commerce Stylesheet
   =================================================== */

:root {
  --primary: #0f3d2e;         /* Deep Botanical Emerald */
  --primary-light: #185a44;
  --primary-dark: #09261c;
  --secondary: #d4af37;       /* Royal Gold Accent */
  --secondary-hover: #b89327;
  --accent: #059669;          /* Fresh Leaf Green */
  --bg-cream: #faf9f6;        /* Warm Natural Canvas */
  --bg-card: #ffffff;
  --text-main: #1f2937;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(15, 61, 46, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 61, 46, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ================= Top Bar ================= */
.top-bar {
  background: var(--primary-dark);
  color: #d1fae5;
  font-size: 0.85rem;
  padding: 8px 16px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.top-bar span {
  color: var(--secondary);
  font-weight: 700;
}

/* ================= Header & Dynamic Navbar ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 61, 46, 0.08);
  border-bottom-color: rgba(212, 175, 55, 0.3);
}
.header.scrolled .nav-container {
  padding: 10px 20px;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: padding 0.3s ease;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo img {
  height: 48px;
  width: auto;
  transition: transform 0.25s ease;
}
.brand-logo:hover img {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--secondary);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Nav Badge (e.g. Star Rating or Pulse) */
.nav-badge-pill {
  font-size: 0.7rem;
  font-weight: 800;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 7px;
  border-radius: 12px;
  border: 1px solid #fde68a;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.nav-pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}
.dropdown-chevron {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(15, 61, 46, 0.12);
  padding: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 110;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.15s;
}
.dropdown-item a:hover {
  background: #f1f7f4;
  color: var(--primary);
  transform: translateX(3px);
}
.dropdown-item-icon {
  font-size: 1.1rem;
}
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* Header Live Search Box */
.header-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search-input {
  width: 200px;
  padding: 8px 14px 8px 34px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #f8fafc;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all 0.25s ease;
}
.header-search-input:focus {
  outline: none;
  width: 260px;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 61, 46, 0.08);
}
.header-search-icon {
  position: absolute;
  left: 12px;
  pointer-events: none;
  color: #94a3b8;
  font-size: 0.85rem;
}
.header-search-clear {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.9rem;
  display: none;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn {
  position: relative;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  flex-shrink: 0;
}
.cart-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}
.cart-count {
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--primary);
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: all 0.2s;
}
.mobile-toggle-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.25s;
}
.mobile-toggle-btn.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-toggle-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle-btn.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ================= Mobile Slide-Out Drawer ================= */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 82%;
  max-width: 340px;
  height: 100%;
  background: white;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 5px 0 25px rgba(0,0,0,0.15);
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 18px 20px;
  background: var(--primary-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-drawer-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 1px;
}
.mobile-drawer-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

.mobile-search-box {
  position: relative;
}
.mobile-search-input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #f8fafc;
  font-size: 0.9rem;
}
.mobile-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: background 0.15s;
}
.mobile-nav-item a:hover {
  background: #f1f7f4;
}

/* Category Quick Filter Chips inside Drawer */
.mobile-categories-box {
  background: #f8fafc;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.mobile-categories-box h4 {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.mobile-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mobile-cat-chip {
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  text-decoration: none;
}
.mobile-cat-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.mobile-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  background: #fafafa;
}
.mobile-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ================= Hero Section ================= */
.hero {
  background-color: #0f3d2e;
  background: linear-gradient(135deg, #09261c 0%, #0f3d2e 60%, #185a44 100%) !important;
  color: #ffffff;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.2);
  color: var(--secondary);
  border: 1px solid var(--secondary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}
.hero h1 span {
  color: var(--secondary);
}
.hero p {
  font-size: 1.15rem;
  color: #d1fae5;
  margin-bottom: 30px;
  max-width: 580px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #aa771c 100%);
  color: #09261c;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
}
.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 25px;
}
.hero-stat strong {
  font-size: 1.6rem;
  color: var(--secondary);
  display: block;
}
.hero-stat span {
  font-size: 0.85rem;
  color: #94a3b8;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.hero-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
}
.hero-card-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.hero-card img {
  max-height: 320px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4));
  transition: transform 0.3s;
}
.hero-card:hover img {
  transform: scale(1.04);
}
.hero-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: white;
  margin-bottom: 6px;
}
.hero-card p {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ================= Features Ribbon ================= */
.features-ribbon {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 24px 20px;
}
.features-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ecfdf5;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.feature-text h4 {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
}
.feature-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================= Section Header ================= */
.section {
  padding: 70px 20px;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-subtitle {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--primary);
  font-weight: 700;
}
.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 10px auto 0;
  font-size: 1rem;
}

/* ================= Product Grid & Card ================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-offer {
  background: #dc2626;
}
.badge-stock-out {
  background: #64748b;
}

.product-media {
  background: #f8fafc;
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-media img {
  max-height: 220px;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-media img {
  transform: scale(1.08);
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-title a:hover {
  color: var(--secondary-hover);
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Variant Selector in Card */
.variant-selector-wrapper {
  margin-bottom: 16px;
}
.variant-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.variant-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.variant-chip {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s;
}
.variant-chip:hover {
  border-color: var(--primary);
}
.variant-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.variant-chip.out-of-stock {
  opacity: 0.4;
  text-decoration: line-through;
  cursor: not-allowed;
}

.product-pricing {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}
.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}
.compare-price {
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  gap: 10px;
}
.btn-add-cart {
  flex-grow: 1;
  background: var(--primary);
  color: white;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s;
}
.btn-add-cart:hover {
  background: var(--primary-light);
}
.btn-add-cart:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

/* ================= Benefits & Trust Section ================= */
.benefits-section {
  background: #f1f7f4;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.benefit-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: inline-block;
}
.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ================= Cart Drawer ================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: white;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
}
.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}
.cart-header h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.2rem;
}
.btn-close-cart {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}
.cart-empty svg {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  color: #cbd5e1;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background: #f8fafc;
  padding: 6px;
  border: 1px solid var(--border);
  object-fit: contain;
}
.cart-item-info {
  flex-grow: 1;
}
.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.cart-item-variant {
  font-size: 0.8rem;
  color: #64748b;
  margin: 2px 0 6px;
}
.cart-item-price {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.9rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 3px 6px;
}
.qty-btn {
  background: transparent;
  border: none;
  width: 22px;
  height: 22px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
}
.qty-value {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}
.btn-remove-item {
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
}

.cart-footer {
  padding: 20px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #64748b;
}
.cart-summary-total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  margin-top: 8px;
}

/* ================= Checkout Modal ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.checkout-modal {
  background: white;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-header {
  padding: 20px 24px;
  background: var(--primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}
.modal-body {
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.form-group.full {
  grid-column: span 2;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 61, 46, 0.1);
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 24px;
}
.payment-option-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.payment-option-card.selected {
  border-color: var(--primary);
  background: #ecfdf5;
}
.payment-option-card input {
  accent-color: var(--primary);
}

/* ================= Toast Notification ================= */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--primary);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.success { background: #065f46; border-left: 5px solid #34d399; }
.toast.error { background: #991b1b; border-left: 5px solid #f87171; }

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ================= Social & Community Section ================= */
.social-section {
  background: linear-gradient(135deg, #09261c 0%, #0f3d2e 100%);
  color: white;
  padding: 70px 20px;
  position: relative;
  overflow: hidden;
}
.social-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.social-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}
.social-card:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--secondary);
  transform: translateY(-5px);
  color: white;
}
.social-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.social-card.whatsapp .social-icon-wrapper { background: #25D366; color: white; }
.social-card.instagram .social-icon-wrapper { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.social-card.facebook .social-icon-wrapper { background: #1877F2; color: white; }
.social-card.twitter .social-icon-wrapper { background: #000000; color: white; border: 1px solid rgba(255,255,255,0.2); }
.social-card.tiktok .social-icon-wrapper { background: #000000; color: white; border: 1px solid #333; }
.social-card.youtube .social-icon-wrapper { background: #FF0000; color: white; }
.social-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
}
.social-card span {
  font-size: 0.8rem;
  color: #d1fae5;
}

/* Footer Social Icon Links with Official Brand Hover Effects */
.footer-social-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d1fae5;
  transition: all 0.25s ease;
  text-decoration: none;
}
.footer-social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  transition: transform 0.2s ease;
}
.footer-social-link:hover {
  transform: translateY(-3px);
  color: #ffffff;
}
.footer-social-link:hover svg {
  transform: scale(1.1);
}
.footer-social-link.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}
.footer-social-link.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
}
.footer-social-link.twitter:hover {
  background: #000000;
  border-color: #ffffff;
}
.footer-social-link.tiktok:hover {
  background: #000000;
  border-color: #00f2fe;
}
.footer-social-link.youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
}
.footer-social-link.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  font-size: 2rem;
  transition: transform 0.25s;
  text-decoration: none;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  color: white;
}

/* ================= Reviews Section ================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.review-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.4);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  border: 1px solid #cbd5e1;
}
.review-user-info h4 {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}
.review-user-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.review-text {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.6;
  flex-grow: 1;
  font-style: italic;
  margin-bottom: 14px;
}
.review-product-tag {
  font-size: 0.75rem;
  color: var(--primary);
  background: #f1f7f4;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 600;
  margin-top: auto;
}
.badge-verified-buyer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 6px;
}

/* ================= Review Photo Attachment & Lightbox ================= */
.review-photo-box {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  cursor: pointer;
  background: #f1f5f9;
}
.review-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.review-photo-box:hover .review-photo-img {
  transform: scale(1.05);
}
.review-photo-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 61, 46, 0.88);
  backdrop-filter: blur(4px);
  color: #d4af37;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.review-photo-box::after {
  content: "🔍 Click to expand photo";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 16px 12px 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.review-photo-box:hover::after {
  opacity: 1;
}

/* Review Filter Pills */
.reviews-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}
.review-filter-pill {
  border: 1px solid var(--border);
  background: white;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}
.review-filter-pill:hover, .review-filter-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 61, 46, 0.15);
}

/* Lightbox Modal */
.review-lightbox-overlay {
  z-index: 1000;
  background: rgba(10, 25, 20, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.review-lightbox-overlay.open {
  display: flex !important;
}
.lightbox-content {
  background: white;
  border-radius: 14px;
  max-width: 860px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  animation: modalScaleUp 0.25s ease;
}
.lightbox-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
@media (max-width: 768px) {
  .lightbox-layout {
    grid-template-columns: 1fr;
  }
}
.lightbox-img-wrap {
  background: #09261c;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 520px;
}
.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}
.lightbox-details {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close-btn:hover {
  background: rgba(0,0,0,0.8);
}

/* ================= Footer ================= */
.footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  padding: 60px 20px 20px;
  border-top: 4px solid var(--secondary);
}
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  color: white;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--secondary);
}
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ================= Responsive Queries ================= */
@media (max-width: 960px) {
  .nav-links {
    display: none !important;
  }
  .header-search-wrap {
    display: none;
  }
  .mobile-toggle-btn {
    display: flex;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero p {
    margin: 0 auto 30px;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: span 1;
  }
  .payment-options {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* ===================================================
   Reviews Page Hero
   =================================================== */
.reviews-page-hero {
  background: linear-gradient(135deg, #09261c 0%, #0f3d2e 50%, #185a44 100%) !important;
  padding-top: 100px;
  padding-bottom: 10px;
  position: relative;
}
.reviews-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #f1f5f1);
}

/* Active nav link highlight (gold) for current page */
.nav-link.active {
  color: #d4af37 !important;
  font-weight: 700;
}
