/* =============================================
   Life2Pharma — Main Stylesheet
   ============================================= */

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

:root {
  --primary: #0D7377;
  --primary-dark: #0a5c60;
  --primary-light: #14a9af;
  --secondary: #ffffff;
  --accent: #E67E22;
  --accent-dark: #d35400;
  --text-dark: #2C3E50;
  --text-muted: #6c757d;
  --bg-light: #F8F9FA;
  --bg-card: #ffffff;
  --border: #dee2e6;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-sm { padding: 40px 0; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 600; line-height: 1.3; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { color: var(--text-dark); margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-divider {
  display: inline-block; width: 50px; height: 3px;
  background: var(--accent); border-radius: 2px; margin-bottom: 16px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 28px; border-radius: var(--radius);
  font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 500;
  transition: var(--transition); cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; border: 2px solid var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--accent); color: #fff; border: 2px solid var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-sm { padding: 7px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- Navbar ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: 1200px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 14px; border-radius: 6px; font-size: 0.9rem; font-weight: 500;
  color: var(--text-dark); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(13,115,119,0.08); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-search-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; color: var(--text-dark);
  transition: var(--transition);
}
.nav-search-btn:hover { background: var(--bg-light); color: var(--primary); }
.nav-search-btn svg { width: 18px; height: 18px; }

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: var(--primary); color: #fff;
  border-radius: var(--radius); font-size: 0.88rem; font-weight: 500;
  transition: var(--transition);
}
.cart-btn:hover { background: var(--primary-dark); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: 9px;
  font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cart-badge.hidden { display: none; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Search bar overlay */
.search-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 2000;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 80px; opacity: 0; pointer-events: none; transition: var(--transition);
}
.search-overlay.active { opacity: 1; pointer-events: all; }
.search-box {
  background: #fff; border-radius: var(--radius-lg); padding: 20px;
  width: 90%; max-width: 600px; box-shadow: var(--shadow-lg);
  display: flex; gap: 10px;
}
.search-box input {
  flex: 1; border: 2px solid var(--border); border-radius: var(--radius);
  padding: 12px 16px; font-size: 1rem; font-family: 'Poppins', sans-serif;
  outline: none; transition: var(--transition);
}
.search-box input:focus { border-color: var(--primary); }
.search-box .btn { padding: 12px 20px; }
.search-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer;
}

/* Page offset for fixed navbar */
.page-content { padding-top: 72px; }

/* ---- Hero Section ---- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #074e52 100%);
  color: #fff; padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px; border-radius: 50px; font-size: 0.8rem;
  font-weight: 500; letter-spacing: 0.5px; margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 20px; font-family: 'Playfair Display', serif; }
.hero h1 span { color: #7ecece; }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 48px; }
.stat-item { text-align: left; }
.stat-number { font-size: 1.6rem; font-weight: 700; color: #7ecece; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.5px; }
.hero-image-wrap {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-image-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg); padding: 30px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 380px;
}
.hero-mini-card {
  background: rgba(255,255,255,0.12); border-radius: var(--radius);
  padding: 16px 12px; text-align: center;
}
.hero-mini-card svg { width: 28px; height: 28px; color: #7ecece; margin: 0 auto 8px; }
.hero-mini-card p { font-size: 0.78rem; color: rgba(255,255,255,0.9); margin: 0; font-weight: 500; }

/* ---- Value Propositions ---- */
.values { background: var(--bg-light); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  background: #fff; border-radius: var(--radius); padding: 28px 20px;
  text-align: center; transition: var(--transition); border: 1px solid var(--border);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.value-icon {
  width: 60px; height: 60px; background: rgba(13,115,119,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.value-icon svg { width: 28px; height: 28px; color: var(--primary); }
.value-card h3 { font-size: 0.98rem; margin-bottom: 8px; }
.value-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ---- Featured Products ---- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.product-img-wrap {
  position: relative; background: var(--bg-light);
  height: 200px; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: contain; padding: 16px;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-category-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--primary); color: #fff;
  padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600;
}
.product-body { padding: 16px; }
.product-name { font-size: 0.98rem; font-weight: 600; margin-bottom: 4px; color: var(--text-dark); }
.product-composition { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.4; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-mrp { font-size: 0.85rem; color: var(--text-muted); }
.product-mrp span { font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.product-actions { display: flex; gap: 6px; }
.btn-add-cart {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 12px; background: var(--primary); color: #fff;
  border-radius: var(--radius); font-size: 0.8rem; font-weight: 500;
  transition: var(--transition);
}
.btn-add-cart:hover { background: var(--primary-dark); }
.btn-add-cart svg { width: 14px; height: 14px; }
.btn-view {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-muted);
  transition: var(--transition);
}
.btn-view:hover { border-color: var(--primary); color: var(--primary); }
.btn-view svg { width: 15px; height: 15px; }

/* Skeleton loader */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 4px; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skeleton-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.skeleton-img { height: 200px; }
.skeleton-body { padding: 16px; }
.skeleton-line { height: 12px; margin-bottom: 8px; }
.skeleton-line.short { width: 60%; }
.skeleton-line.medium { width: 80%; }

/* ---- Testimonials ---- */
.testimonials { background: var(--bg-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--border); position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 12px; right: 20px;
  font-size: 5rem; color: rgba(13,115,119,0.1); font-family: Georgia, serif; line-height: 1;
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 16px; height: 16px; fill: #f39c12; color: #f39c12; }
.testimonial-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.author-name { font-weight: 600; font-size: 0.88rem; }
.author-role { font-size: 0.75rem; color: var(--text-muted); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #c0392b 100%);
  color: #fff; padding: 60px 0; text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 28px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
footer {
  background: #1a2535; color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); }
.social-link svg { width: 16px; height: 16px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--primary-light); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.footer-bottom {
  padding: 18px 0; text-align: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-bottom a:hover { color: var(--primary-light); }
.footer-disclaimer {
  background: rgba(0,0,0,0.2); padding: 14px 20px;
  text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 54px; height: 54px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: var(--transition);
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.7); }
}

/* ---- Toast Notification ---- */
.toast-container { position: fixed; top: 90px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #fff; border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  min-width: 280px; max-width: 360px; border-left: 4px solid var(--primary);
  animation: slideIn 0.3s ease;
}
.toast.success { border-color: #27ae60; }
.toast.error { border-color: #e74c3c; }
.toast.warning { border-color: #f39c12; }
.toast svg { width: 20px; height: 20px; flex-shrink: 0; }
.toast.success svg { color: #27ae60; }
.toast.error svg { color: #e74c3c; }
.toast.warning svg { color: #f39c12; }
.toast-msg { flex: 1; font-size: 0.88rem; }
.toast-close { cursor: pointer; color: var(--text-muted); font-size: 1.2rem; padding: 2px; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; transform: translateX(20px); } }
.toast.hiding { animation: fadeOut 0.3s ease forwards; }

/* ---- Page Header ---- */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 50px 0; color: #fff; text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; }
.breadcrumb a { font-size: 0.85rem; color: rgba(255,255,255,0.7); transition: var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.breadcrumb-sep { color: rgba(255,255,255,0.4); }

/* ---- Products Page ---- */
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.filter-overlay { display: none; }
.filter-sidebar {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 24px;
  height: fit-content; position: sticky; top: 88px;
}
.filter-sidebar h3 { font-size: 1rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.filter-group { margin-bottom: 22px; }
.filter-group h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.filter-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 6px; cursor: pointer;
  transition: var(--transition); font-size: 0.88rem;
}
.filter-item:hover { background: var(--bg-light); }
.filter-item.active { background: rgba(13,115,119,0.1); color: var(--primary); font-weight: 500; }
.filter-item .count { margin-left: auto; font-size: 0.75rem; color: var(--text-muted); background: var(--bg-light); padding: 1px 7px; border-radius: 10px; }
.filter-item.active .count { background: rgba(13,115,119,0.15); color: var(--primary); }

.products-main {}
.products-topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.products-count { font-size: 0.88rem; color: var(--text-muted); }
.products-count strong { color: var(--text-dark); }
.search-filter {
  flex: 1; max-width: 380px;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px 14px; min-width: 200px;
}
.search-filter svg { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }
.search-filter input { border: none; outline: none; font-size: 0.88rem; flex: 1; font-family: 'Poppins', sans-serif; }
.sort-select {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.88rem; font-family: 'Poppins', sans-serif; outline: none; color: var(--text-dark);
  background: #fff; cursor: pointer;
}
.mobile-filter-btn {
  display: none; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.88rem; background: #fff;
}
.mobile-filter-btn svg { width: 16px; height: 16px; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; }
.page-btn {
  min-width: 38px; height: 38px; border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 500; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: #fff; color: var(--text-dark);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---- Product Detail ---- */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 48px 0; }
.product-detail-img {
  background: var(--bg-light); border-radius: var(--radius-lg);
  padding: 40px; display: flex; align-items: center; justify-content: center;
  min-height: 380px;
}
.product-detail-img img { max-height: 320px; object-fit: contain; }
.product-detail-info {}
.product-detail-category { display: inline-block; background: rgba(13,115,119,0.1); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; margin-bottom: 12px; }
.product-detail-name { font-size: 1.8rem; margin-bottom: 8px; }
.product-detail-composition { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.product-mrp-detail { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.product-mrp-detail small { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.product-pack { display: flex; gap: 8px; align-items: center; margin-bottom: 24px; font-size: 0.9rem; }
.product-pack strong { color: var(--text-dark); }
.add-to-cart-wrap { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.qty-control { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-btn {
  width: 36px; height: 42px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-light); font-size: 1.2rem; transition: var(--transition);
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-input { width: 50px; height: 42px; text-align: center; border: none; outline: none; font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 500; }
.product-tabs { margin-top: 56px; }
.tab-buttons {
  display: flex; border-bottom: 2px solid var(--border);
  margin-bottom: 0; gap: 0; overflow-x: auto; scrollbar-width: none;
}
.tab-buttons::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 13px 26px; font-size: 0.88rem; font-weight: 600; white-space: nowrap;
  color: var(--text-muted); border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: var(--transition); letter-spacing: 0.02em;
}
.tab-btn:hover { color: var(--primary); background: rgba(13,115,119,0.04); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); background: rgba(13,115,119,0.05); }
.tab-content {
  display: none; font-size: 0.9rem; line-height: 1.85; color: var(--text-dark);
  background: #fff; border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 28px 32px; min-height: 120px;
}
.tab-content.active { display: block; }
.tab-content p { margin-bottom: 0; color: var(--text-muted); }

/* Salt composition table */
.salt-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.salt-table thead tr { background: var(--primary); }
.salt-table th {
  padding: 12px 18px; text-align: left; font-weight: 600;
  color: #fff; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.salt-table th:last-child { text-align: right; }
.salt-table td { padding: 12px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.salt-table td:last-child { text-align: right; font-weight: 600; color: var(--primary); }
.salt-table tr:last-child td { border-bottom: none; }
.salt-table tr:hover td { background: rgba(13,115,119,0.04); }

/* Uses / Side effects list */
.detail-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.detail-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius);
  background: var(--bg-light); font-size: 0.875rem;
}
.detail-list li::before {
  content: ''; display: block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0; margin-top: 5px;
}

/* Tab section label */
.tab-section-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--primary); margin-bottom: 14px;
}
.disclaimer-box {
  background: rgba(230, 126, 34, 0.08); border: 1px solid rgba(230, 126, 34, 0.25);
  border-radius: var(--radius); padding: 14px 16px; margin-top: 32px;
  font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 10px; align-items: flex-start;
}
.disclaimer-box svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ---- Cart ---- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 48px 0; }
.cart-table { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.cart-table-header { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 16px; padding: 14px 20px; background: var(--bg-light); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.cart-item { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 16px; padding: 16px 20px; align-items: center; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-info { display: flex; align-items: center; gap: 14px; }
.cart-item-img { width: 60px; height: 60px; border-radius: 8px; background: var(--bg-light); object-fit: contain; padding: 6px; flex-shrink: 0; }
.cart-item-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.cart-item-pack { font-size: 0.78rem; color: var(--text-muted); }
.cart-item-price { font-size: 0.9rem; font-weight: 600; color: var(--primary); }
.cart-qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; width: fit-content; }
.cart-qty-btn { width: 30px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--bg-light); font-size: 1rem; transition: var(--transition); }
.cart-qty-btn:hover { background: var(--primary); color: #fff; }
.cart-qty-input { width: 40px; height: 32px; text-align: center; border: none; outline: none; font-family: 'Poppins', sans-serif; font-size: 0.88rem; }
.cart-subtotal { font-size: 0.9rem; font-weight: 600; }
.cart-remove { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.cart-remove:hover { background: #fde8e8; color: #e74c3c; }
.cart-remove svg { width: 14px; height: 14px; }

.cart-summary { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px; height: fit-content; position: sticky; top: 88px; }
.cart-summary h3 { font-size: 1rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 12px; }
.summary-row.total { font-size: 1rem; font-weight: 700; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 14px; }
.summary-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; padding: 10px; background: var(--bg-light); border-radius: 6px; }

.cart-empty { text-align: center; padding: 80px 20px; }
.cart-empty svg { width: 80px; height: 80px; color: var(--border); margin: 0 auto 20px; }
.cart-empty h3 { color: var(--text-muted); margin-bottom: 10px; }
.cart-empty p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

/* ---- Checkout ---- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 48px 0; }
.checkout-form-wrap { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 32px; }
.checkout-form-wrap h2 { font-size: 1.2rem; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--text-dark); }
.form-label .required { color: #e74c3c; }
.form-control {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.9rem; font-family: 'Poppins', sans-serif;
  outline: none; transition: var(--transition); color: var(--text-dark);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,115,119,0.1); }
.form-control::placeholder { color: #adb5bd; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

.order-summary-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px; height: fit-content; position: sticky; top: 88px; }
.order-summary-card h3 { font-size: 1rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.order-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.order-item-img { width: 50px; height: 50px; border-radius: 8px; background: var(--bg-light); object-fit: contain; padding: 4px; flex-shrink: 0; }
.order-item-info { flex: 1; }
.order-item-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.order-item-details { font-size: 0.75rem; color: var(--text-muted); }
.order-item-price { font-size: 0.88rem; font-weight: 600; color: var(--primary); white-space: nowrap; }

.success-banner {
  text-align: center; padding: 60px 20px;
  background: #f0fff4; border: 2px solid #27ae60; border-radius: var(--radius-lg); margin: 48px 0;
}
.success-banner svg { width: 70px; height: 70px; color: #27ae60; margin: 0 auto 20px; }
.success-banner h2 { color: #27ae60; margin-bottom: 10px; }
.success-banner p { color: var(--text-muted); max-width: 500px; margin: 0 auto 24px; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; padding: 60px 0; }
.contact-info {}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 14px; }
.contact-item-icon { width: 44px; height: 44px; background: rgba(13,115,119,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 20px; height: 20px; color: var(--primary); }
.contact-item-info h4 { font-size: 0.88rem; margin-bottom: 2px; }
.contact-item-info p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.contact-form-wrap { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 32px; }

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.highlight-card { background: var(--bg-light); border-radius: var(--radius); padding: 20px; }
.highlight-card svg { width: 24px; height: 24px; color: var(--primary); margin-bottom: 10px; }
.highlight-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.highlight-card p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.about-image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat-card { background: var(--primary); color: #fff; border-radius: var(--radius-lg); padding: 30px 20px; text-align: center; }
.about-stat-card.light { background: rgba(13,115,119,0.1); }
.about-stat-card.light .stat-number, .about-stat-card.light h3 { color: var(--primary); }
.about-stat-card .stat-number { font-size: 2.4rem; font-weight: 700; color: #7ecece; }
.about-stat-card h3 { color: rgba(255,255,255,0.9); font-size: 0.88rem; margin-top: 6px; font-weight: 500; }

/* ---- Legal Pages ---- */
.legal-content { max-width: 860px; margin: 0 auto; padding: 60px 0; }
.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--primary); }
.legal-content h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.legal-content p, .legal-content li { font-size: 0.9rem; color: #444; line-height: 1.8; margin-bottom: 10px; }
.legal-content ul { padding-left: 20px; list-style: disc; }

/* ---- 404 Page ---- */
.not-found { text-align: center; padding: 100px 20px; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.not-found .error-code { font-size: 8rem; font-weight: 700; color: rgba(13,115,119,0.15); line-height: 1; }
.not-found h2 { font-size: 1.6rem; margin-bottom: 10px; }
.not-found p { color: var(--text-muted); max-width: 450px; margin-bottom: 28px; }

/* ---- Utilities ---- */
.d-none { display: none !important; }
.d-flex { display: flex; }
.gap-2 { gap: 8px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.text-success { color: #27ae60; }
.text-danger { color: #e74c3c; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-primary { background: rgba(13,115,119,0.1); color: var(--primary); }
