/* ===== PureVita – Original Health Supplements Site ===== */
:root {
  --green-900: #0f3d2e;
  --green-800: #1a5c45;
  --green-700: #247a5a;
  --green-600: #2d9b72;
  --green-100: #e8f5ef;
  --green-50: #f4faf7;
  --gold: #c9a227;
  --gold-light: #f7f0d9;
  --text: #1a1a1a;
  --text-muted: #5c6b66;
  --border: #e2e8e5;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(15, 61, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 61, 46, 0.12);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Promo Bar ===== */
.promo-bar {
  background: var(--green-900);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 0;
  overflow: hidden;
}

.promo-content {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.promo-content .divider { opacity: 0.4; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--green-800);
  color: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}

.logo-text span { color: var(--green-700); }

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav a:hover { color: var(--green-800); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background var(--transition);
  position: relative;
}

.icon-btn:hover { background: var(--green-50); }

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--green-700);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  justify-content: center;
  align-items: center;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Search Overlay */
.search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.search-overlay.active { display: block; }

.search-overlay .container {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-overlay input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  outline: none;
}

.search-overlay input:focus { border-color: var(--green-600); }

.close-search {
  font-size: 20px;
  color: var(--text-muted);
  padding: 8px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--green-800);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-900);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 92, 69, 0.3);
}

.btn-outline {
  border: 2px solid var(--green-800);
  color: var(--green-800);
  background: transparent;
}

.btn-outline:hover {
  background: var(--green-50);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-full { width: 100%; }

/* ===== Hero ===== */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(160deg, var(--green-50) 0%, #fff 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-700);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
  color: var(--green-900);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--green-800);
  font-family: 'Playfair Display', serif;
}

.hero-stats span {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 300px;
  position: relative;
}

.hero-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold-light);
  color: #8a6d1a;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.product-image {
  width: 160px;
  height: 160px;
  margin: 12px auto 20px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 3rem;
}

.placeholder-glow {
  background: linear-gradient(145deg, #e0f2e9, #c8e6d4);
}

.hero-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.price {
  margin-bottom: 16px;
}

.price .sale {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-800);
}

.price .mrp {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

/* ===== Trust Bar ===== */
.trust-bar {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  background: var(--green-50);
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.trust-item strong {
  display: block;
  font-size: 15px;
}

.trust-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--green-900);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== Categories ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}

.category-card:hover {
  border-color: var(--green-600);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.cat-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.category-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.category-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Products ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-card .img-wrap {
  height: 200px;
  display: grid;
  place-items: center;
  font-size: 3.2rem;
  position: relative;
}

.product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green-800);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

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

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

.product-body .tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.product-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.product-body .desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ===== Benefits ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
}

.benefit-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 12px;
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Experts ===== */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.expert-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
}

.expert-avatar {
  width: 72px;
  height: 72px;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.expert-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.expert-card .role {
  font-size: 13px;
  color: var(--green-700);
  font-weight: 500;
  margin-bottom: 10px;
}

.expert-card p:last-child {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.65;
}

.reviewer strong {
  display: block;
  font-size: 14px;
}

.reviewer span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== Consultation ===== */
.consultation {
  background: var(--green-900);
  color: #fff;
  padding: 60px 0;
}

.consultation-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.consultation h2 {
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.consultation p {
  opacity: 0.9;
  max-width: 520px;
}

.consultation .btn-primary {
  background: #fff;
  color: var(--green-900);
  flex-shrink: 0;
}

.consultation .btn-primary:hover {
  background: var(--green-50);
  box-shadow: none;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.about-grid h2 {
  font-size: 2rem;
  color: var(--green-900);
  margin-bottom: 16px;
}

.about-grid p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.about-list {
  margin-top: 20px;
}

.about-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-weight: 500;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-700);
  font-weight: 700;
}

.about-visual {
  display: grid;
  gap: 16px;
}

.about-stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border);
}

.about-stat strong {
  display: block;
  font-size: 2rem;
  color: var(--green-800);
  font-family: 'Playfair Display', serif;
}

.about-stat span {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Newsletter ===== */
.newsletter {
  padding: 70px 0;
  background: linear-gradient(160deg, var(--green-50), #fff);
  text-align: center;
}

.newsletter h2 {
  font-size: 1.9rem;
  color: var(--green-900);
  margin-bottom: 8px;
}

.newsletter p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto 12px;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 15px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--green-600);
}

.form-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  background: var(--green-900);
  color: #e0ebe6;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  opacity: 0.8;
  max-width: 260px;
}

.footer .logo-mark {
  background: #fff;
  color: var(--green-900);
}

.footer .logo-text { color: #fff; }
.footer .logo-text span { color: #a8d5c2; }

.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  color: #fff;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  font-size: 14px;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer ul a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 13px;
  opacity: 0.7;
  text-align: center;
}

/* ===== Cart Drawer ===== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,0.12);
  transition: right 0.3s ease;
}

.cart-drawer.open { right: 0; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
}

.close-cart {
  font-size: 20px;
  color: var(--text-muted);
  padding: 4px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.empty-cart {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-info .price {
  font-size: 14px;
  color: var(--green-800);
  font-weight: 600;
}

.cart-item .qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-item .qty button {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
}

.remove-item {
  color: #c45c26;
  font-size: 12px;
  margin-top: 4px;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; }

  .trust-grid,
  .category-grid,
  .benefits-grid,
  .experts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .consultation-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .nav.open { display: flex; }

  .menu-toggle { display: flex; }

  .promo-content { font-size: 12px; gap: 10px; }

  .hero { padding: 40px 0 60px; }

  .section { padding: 60px 0; }

  .trust-grid,
  .category-grid,
  .benefits-grid,
  .experts-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .cart-drawer { width: 100%; }
}

/* Product image backgrounds */
.bg-1 { background: linear-gradient(145deg, #e0f2e9, #c8e6d4); }
.bg-2 { background: linear-gradient(145deg, #fce8e8, #f5d0d0); }
.bg-3 { background: linear-gradient(145deg, #e8f0fc, #d0e0f5); }
.bg-4 { background: linear-gradient(145deg, #fef6e8, #f5e6c8); }
.bg-5 { background: linear-gradient(145deg, #e8f5f0, #c8e8dc); }
.bg-6 { background: linear-gradient(145deg, #f0e8fc, #e0d0f5); }
.bg-7 { background: linear-gradient(145deg, #fcefe8, #f5dcc8); }
.bg-8 { background: linear-gradient(145deg, #e8fcf5, #c8f0e0); }
