/* ==========================================================
   LOREM AYURVEDA - PREMIUM STOREFRONT DESIGN SYSTEM
   Visual System strictly matched to client reference: https://avpayurveda.com/
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700;800&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Core Reference Color Palette (Deep Forest Emerald Ayurvedic Green) */
  --primary: #1e392a;
  --primary-hover: #14291e;
  --primary-dark: #0e1e15;
  --primary-light: #eaf4ed;
  --primary-subtle: #f3f8f5;

  --accent-olive: #2d5a3f;
  --accent-green: #2e7d32;
  --accent-terracotta: #c48039;
  --accent-gold: #c4a482;

  /* Surfaces & Backgrounds */
  --bg-page: #ffffff;
  --bg-secondary: #f8f6f2;
  --bg-sand: #f2ece4;
  --bg-dark: #1e1b18;
  --surface-white: #ffffff;
  --surface-card: #ffffff;

  /* Typography Colors */
  --text-dark: #121212;
  --text-heading: #1e392a;
  --text-muted: #666666;
  --text-light: #8e8e8e;

  /* Borders & Shadows */
  --border-color: #ede8e1;
  --border-light: #f4efe8;
  --border-focus: #1e392a;
  --shadow-subtle: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 6px 20px rgba(30, 57, 42, 0.06);
  --shadow-hover: 0 12px 30px rgba(30, 57, 42, 0.12);
  --shadow-mega: 0 16px 40px rgba(0, 0, 0, 0.1);

  /* Geometry & Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 40px;

  /* Typography Families */
  --font-body: 'Montserrat', 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', 'Assistant', sans-serif;

  --transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-dark);
  font-size: 14.5px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   1. TOP ANNOUNCEMENT BAR
   ========================================== */
.top-bar {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 8px 0;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
  color: #ffffff;
  text-decoration: underline;
  margin-left: 6px;
}

.top-bar a:hover {
  color: #f5ede6;
}

/* ==========================================
   2. MAIN SITE HEADER
   ========================================== */
.site-header {
  background-color: var(--surface-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-subtle);
}

.header-main {
  padding: 14px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.95;
}

.brand-logo img {
  height: 80px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.brand-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 2px;
}

/* Rounded Pill Search Bar */
.header-search {
  flex: 1;
  max-width: 540px;
  margin: 0 30px;
  position: relative;
}

.header-search form {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input {
  width: 100%;
  height: 44px;
  padding: 0 45px 0 20px;
  background-color: #faf9f7;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.header-search input:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(155, 121, 95, 0.15);
}

.header-search button {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
}

.header-search button:hover {
  color: var(--primary-hover);
}

.search-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  z-index: 1001;
  display: none;
  overflow: hidden;
}

.search-suggestions-dropdown.show {
  display: block;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.suggestion-item:hover {
  background-color: var(--primary-light);
}

.suggestion-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 4px;
  background: #faf8f5;
}

/* Header Action Icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
}

.header-action-link i {
  font-size: 20px;
  color: var(--text-dark);
  transition: var(--transition);
}

.header-action-link:hover i,
.header-action-link:hover span {
  color: var(--primary);
}

.header-action-link .badge-count {
  position: absolute;
  top: -2px;
  left: 12px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  height: 17px;
  min-width: 17px;
  padding: 0 4px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================
   3. HORIZONTAL NAVIGATION & MEGA MENU
   ========================================== */
.main-nav {
  background-color: var(--surface-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.main-nav .container {
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: static; /* Centers mega menu relative to the container instead of squishing on the left */
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 15px 0;
  color: #2b2b2b;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  position: relative;
  transition: all 0.2s ease;
}

.nav-link i {
  font-size: 10px;
  transition: var(--transition);
}

.nav-item:hover > .nav-link,
.nav-item.active > .nav-link {
  color: var(--primary);
}

.nav-item:hover > .nav-link i {
  transform: rotate(180deg);
}

.nav-item:hover > .nav-link::after,
.nav-item.active > .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px 2px 0 0;
}

/* Mega Menu Dropdown (Perfect Centered Container Fit) */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: #ffffff;
  border: 1px solid #e0ebe3;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 18px 45px rgba(17, 38, 27, 0.12);
  width: 1060px;
  max-width: calc(100vw - 30px);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 260px;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1000;
  pointer-events: none;
}

.mega-menu.mega-menu-concerns {
  width: 860px;
  grid-template-columns: repeat(2, 1fr) 270px;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-menu-column {
  border-right: 1px solid #f0f4f1;
  padding-right: 18px;
}

.mega-menu-column:nth-last-child(2) {
  border-right: none;
}

.mega-menu-column h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #1e392a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e6eee8;
}

.mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-menu-list a {
  font-size: 13.5px;
  color: #4a5e52;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 3px 0;
  font-weight: 500;
}

.mega-menu-list a i {
  color: var(--accent-gold, #9b795f);
  font-size: 11px;
}

.mega-menu-list a:hover {
  color: #1e392a;
  transform: translateX(4px);
  font-weight: 600;
}

.mega-menu-featured {
  background: #f6faf7;
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  border: 1px solid #dbe8df;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ==========================================
   4. BUTTONS & UI CONTROLS
   ========================================== */
.btn-ayurveda {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(30, 57, 42, 0.2);
}

.btn-ayurveda:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(30, 57, 42, 0.3);
}

.btn-outline-ayurveda {
  background-color: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
  box-shadow: none;
}

.btn-outline-ayurveda:hover {
  background-color: var(--primary);
  color: #ffffff !important;
}

.btn-gold {
  background-color: var(--primary);
  box-shadow: 0 4px 12px rgba(30, 57, 42, 0.25);
}

.btn-gold:hover {
  background-color: var(--primary-hover);
}

/* ==========================================
   5. FORM CONTROLS & INPUT SYSTEM (CRITICAL)
   ========================================== */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon-wrap i {
  position: absolute;
  left: 16px;
  color: #999999;
  font-size: 15px;
  pointer-events: none;
  transition: var(--transition);
  z-index: 2;
}

.input-icon-wrap input {
  padding-left: 44px !important;
}

.input-icon-wrap:focus-within i {
  color: var(--primary);
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  height: 48px;
  padding: 10px 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  display: block;
}

textarea.form-control {
  height: auto;
  min-height: 100px;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 57, 42, 0.15);
  background-color: #ffffff;
}

.form-control::placeholder {
  color: #9e9e9e;
  font-size: 13.5px;
}

/* Auth Cards & Layout */
.auth-wrapper {
  padding: 60px 0;
  min-height: calc(100vh - 400px);
  display: flex;
  align-items: center;
}

.auth-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header .auth-logo {
  height: 52px;
  margin: 0 auto 14px auto;
  display: block;
}

.auth-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.auth-header p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

.auth-btn-primary {
  width: 100%;
  height: 48px;
  background-color: var(--primary);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(30, 57, 42, 0.25);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(30, 57, 42, 0.35);
}

.auth-footer {
  text-align: center;
  padding-top: 20px;
  margin-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 13.5px;
  color: var(--text-muted);
}

.auth-footer a {
  font-weight: 700;
  color: var(--primary);
}

.auth-footer a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Demo Credentials Box */
.demo-creds-box {
  background: var(--bg-secondary);
  border: 1px solid #e2d9cd;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 24px;
  font-size: 12.5px;
}

.demo-creds-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11.5px;
}

.demo-creds-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  color: #444444;
}

.demo-creds-row code {
  background: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #e0ded8;
  font-family: monospace;
  font-size: 12px;
  color: var(--text-dark);
}

/* ==========================================
   6. HERO BANNER CAROUSEL
   ========================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #14281e;
}

.hero-slider-item {
  min-height: 460px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: right center;
  position: relative;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 5;
  padding: 30px 0;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.14);
  color: #fdf498;
  border: 1px solid rgba(253, 244, 152, 0.45);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  backdrop-filter: blur(6px);
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
  margin-bottom: 12px;
  line-height: 1.18;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 17px;
  color: #d8f3dc;
  margin-bottom: 22px;
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .btn-ayurveda {
  background: linear-gradient(135deg, #d4af37 0%, #b38a38 100%) !important;
  color: #14281e !important;
  font-weight: 800;
  border: none;
  padding: 13px 30px;
  font-size: 14.5px;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  position: relative;
  z-index: 10;
  cursor: pointer !important;
  pointer-events: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-content .btn-ayurveda:hover {
  background: linear-gradient(135deg, #e5c358 0%, #c49942 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.5);
  color: #0c1a13 !important;
}

@media (max-width: 768px) {
  .hero-slider-item {
    min-height: auto;
    padding: 40px 0;
    background-position: center;
  }
  .hero-content {
    text-align: center;
    padding: 10px 0;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 18px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
}

/* ==========================================
   7. TRUST HIGHLIGHTS BAR
   ========================================== */
.trust-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 28px 0;
}

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

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.trust-item h5 {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

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

/* ==========================================
   8. SECTION HEADINGS & PADDING
   ========================================== */
.section-padding {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 6px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================
   9. HEALTH CONCERN CARDS
   ========================================== */
.concern-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  transition: var(--transition);
}

.concern-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.concern-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  transition: var(--transition);
}

.concern-card:hover .concern-icon-wrap {
  background-color: var(--primary);
  color: #ffffff;
}

.concern-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.concern-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================
   10. PRODUCT CARDS (AVP Ayurveda Style)
   ========================================== */
.product-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

.product-card:hover {
  border-color: #d8cfc4;
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.product-badge-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge-offer {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.badge-bestseller {
  background-color: var(--accent-olive);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.product-wishlist-btn:hover,
.product-wishlist-btn.active {
  background-color: #fff0f0;
  border-color: #ffcccc;
  color: #e63946;
}

.product-thumb {
  display: block;
  background-color: #fbf9f6;
  border-radius: var(--radius-xs);
  padding: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  text-align: center;
}

.product-thumb img {
  height: 180px;
  width: 100%;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.04);
}

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

.product-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.product-title a {
  color: #1a1a1a;
}

.product-title a:hover {
  color: var(--primary);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 11.5px;
}

.product-rating .stars {
  color: #e9a825;
}

.product-rating .rating-count {
  color: var(--text-muted);
}

.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: auto;
}

.current-price {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.mrp-price {
  font-size: 12.5px;
  color: #888888;
  text-decoration: line-through;
}

.product-actions form {
  width: 100%;
}

.product-actions .btn-ayurveda {
  width: 100%;
  border-radius: var(--radius-xs);
  padding: 9px 12px;
  font-size: 12.5px;
}

/* ==========================================
   PRODUCT DETAIL TABS & SPECIFICATIONS
   ========================================== */
.product-tabs {
  margin-top: 48px;
  margin-bottom: 48px;
}

.nav-tabs-ayurveda {
  display: flex;
  gap: 10px;
  list-style: none !important;
  margin: 0 0 20px 0 !important;
  padding: 8px !important;
  background: #f4f8f5;
  border-radius: 14px;
  border: 1px solid #e1ede5;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.nav-tabs-ayurveda li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
}

.nav-tabs-ayurveda li::before {
  display: none !important;
}

.tab-btn {
  background: transparent;
  color: #475569;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.tab-btn i {
  font-size: 1rem;
  opacity: 0.8;
}

.tab-btn:hover {
  color: var(--primary);
  background: rgba(30, 57, 42, 0.08);
}

.tab-btn.active {
  color: #ffffff !important;
  background: var(--primary) !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(30, 57, 42, 0.28);
}

.tab-btn.active i {
  color: #d8f3dc;
  opacity: 1;
}

.tab-content {
  background: #ffffff;
  border: 1px solid #e2ece4;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.tab-pane {
  display: none;
  animation: tabFadeIn 0.35s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Specifications Grid */
.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.spec-item-card {
  background: #f8faf9;
  border: 1px solid #e6f0e9;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
}

.spec-item-card:hover {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 57, 42, 0.06);
}

.spec-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eaf4ed;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.spec-item-info {
  display: flex;
  flex-direction: column;
}

.spec-item-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 2px;
}

.spec-item-val {
  font-size: 0.95rem;
  color: #1e293b;
  font-weight: 700;
}

/* Botanical Ingredient Cards */
.ingredients-box {
  background: #fbfdfc;
  border: 1px solid #e2ece4;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 24px;
  line-height: 1.8;
  color: #334155;
  font-size: 0.98rem;
}

/* Benefits Checklist */
.benefits-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefits-list li {
  list-style: none !important;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: #1e293b;
  line-height: 1.6;
}

.benefits-list li::before {
  display: none !important;
}

.benefits-list li i {
  color: #2d6a4f;
  background: #d8f3dc;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Usage Box */
.usage-box {
  background: #fffdfa;
  border: 1px solid #f2e8d5;
  border-left: 4px solid #b38a38;
  border-radius: 12px;
  padding: 24px;
  line-height: 1.8;
  color: #451a03;
  font-size: 0.98rem;
}

/* Safety Box */
.safety-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #64748b;
  border-radius: 12px;
  padding: 24px;
  line-height: 1.8;
  color: #334155;
  font-size: 0.98rem;
}

/* ==========================================
   11. CLASSICAL CATEGORIES GRID
   ========================================== */
.category-card {
  background-color: #ffffff;
  border: 1px solid #e2ece4;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.category-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(30, 57, 42, 0.1);
  transform: translateY(-4px);
}

.category-card-img {
  background-color: #f7faf8;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  border-bottom: 1px solid #eef4f0;
  overflow: hidden;
}

.category-card-img img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.category-card-content {
  padding: 16px 14px;
}

.category-card-content h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.category-card-content p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

/* ==========================================
   12. BLOG & WISDOM CARDS
   ========================================== */
.blog-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
  border-color: #d8cfc4;
}

.blog-thumb {
  height: 200px;
  overflow: hidden;
  background-color: #faf8f5;
  position: relative;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.04);
}

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

.blog-meta {
  font-size: 11.5px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

.blog-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================
   13. NEWSLETTER SUBSCRIPTION BAR
   ========================================== */
.newsletter-bar {
  background-color: var(--primary-light);
  border-top: 1px solid #ebdcd0;
  border-bottom: 1px solid #ebdcd0;
  padding: 44px 0;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  height: 46px;
  padding: 0 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13.5px;
  outline: none;
}

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

/* ==========================================
   14. PROMOTIONAL OFFER POPUP (AVP Reference Match)
   ========================================== */
#promoPopup {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

#promoPopup.show {
  opacity: 1;
  visibility: visible;
}

.promo-card {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 20px;
  padding: 34px 28px 26px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#promoPopup.show .promo-card {
  transform: translateY(0) scale(1);
}

.promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f5f5f5;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #444444;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.promo-close:hover {
  background: #e5e5e5;
  color: #000000;
}

.promo-logo {
  display: block;
  margin: 0 auto 16px;
  max-height: 48px;
  width: auto;
}

.promo-tag {
  display: inline-block;
  background: #f5ede6;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.promo-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.25;
}

.promo-text {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 22px;
}

.promo-btn {
  display: block;
  width: 100%;
  background: var(--primary);
  color: #ffffff !important;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(155, 121, 95, 0.3);
  transition: var(--transition);
}

.promo-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155, 121, 95, 0.4);
}

.promo-foot {
  margin-top: 16px;
  font-size: 11.5px;
  color: #888888;
}

/* ==========================================
   15. SITE FOOTER (AVP Reference Style)
   ========================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #dddddd;
  padding: 60px 0 20px 0;
  font-size: 13.5px;
}

.site-footer a {
  color: #bbbbbb;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-heading {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.footer-bottom {
  border-top: 1px solid #332f2b;
  margin-top: 50px;
  padding-top: 24px;
  font-size: 12.5px;
  color: #999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================
   16. FLOATING SUPPORT & BACK-TO-TOP WIDGETS
   ========================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px 10px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.floating-whatsapp i {
  font-size: 22px;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

.back-to-top {
  position: fixed;
  bottom: 85px;
  right: 25px;
  z-index: 998;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}

/* ==========================================
   16B. SHOPPING CART & CHECKOUT POLISHED FINISHING
   ========================================== */
.cart-table-wrap {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2ece4;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 24px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cart-table thead {
  background-color: #f6faf7;
  border-bottom: 2px solid #e0ebe3;
}

.cart-table th {
  padding: 16px 22px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #2b513d;
}

.cart-table td {
  padding: 22px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #edf4ef;
}

.cart-table tbody tr:last-child td {
  border-bottom: none;
}

.cart-table tbody tr:hover {
  background-color: #fafdfb;
}

/* Polished Quantity Controller */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #c9dcd0 !important;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  height: 40px;
}

.qty-control .qty-btn {
  width: 36px;
  height: 40px;
  border: none;
  background: #f3f7f4;
  color: #1e392a;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.qty-control .qty-btn:hover:not(:disabled) {
  background-color: #dbebe0;
  color: #0d2116;
}

.qty-control .qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty-control .qty-input {
  width: 44px;
  height: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: #1e392a;
  background: #ffffff;
  border-left: 1px solid #e3ede6;
  border-right: 1px solid #e3ede6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Polished Free Shipping Alert */
.free-shipping-progress {
  background: #f1f8f3;
  border: 1.5px solid #cce5d4;
  border-radius: 12px;
  padding: 16px 22px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.free-shipping-bar {
  height: 8px;
  width: 100%;
  background: #dbebe0;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
}

.free-shipping-fill {
  height: 100%;
  background: linear-gradient(90deg, #3e7b59 0%, #1e392a 100%);
  border-radius: 6px;
  transition: width 0.4s ease;
}

/* Polished Sticky Order Summary Box */
.cart-summary-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 26px;
  border: 1px solid #e2ece4;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 100px;
}

.cart-summary-box h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e392a;
  border-bottom: 1.5px solid #e8eee9;
  padding-bottom: 14px;
  margin-bottom: 22px;
}

.cart-remove-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #fbd0d0;
  background: #fff5f5;
  color: #dc3545;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.cart-remove-btn:hover {
  background: #dc3545;
  color: #ffffff;
  border-color: #dc3545;
  transform: scale(1.08);
}

/* Polished Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pill.pending { background: #fff8e1; color: #b78103; border: 1px solid #ffe082; }
.status-pill.processing { background: #e3f2fd; color: #0d47a1; border: 1px solid #bbdefb; }
.status-pill.shipped { background: #ede7f6; color: #4a148c; border: 1px solid #d1c4e9; }
.status-pill.delivered, .status-pill.completed, .status-pill.active { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; }
.status-pill.cancelled, .status-pill.suspended { background: #ffebee; color: #b71c1c; border: 1px solid #ffcdd2; }
.status-pill.paid { background: #e0f2f1; color: #004d40; border: 1px solid #b2dfdb; }

/* Table enhancements */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  background: #f8faf8;
  padding: 12px 16px;
  font-weight: 700;
  color: #1e392a;
  border-bottom: 2px solid #e0ebe3;
}

.table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf4ef;
  vertical-align: middle;
}

.table tbody tr:hover {
  background-color: #fbfdfb;
}

/* ==========================================
   17. MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 991px) {
  .top-bar {
    font-size: 11px;
    padding: 6px 10px;
  }

  .brand-logo img {
    height: 40px;
  }

  .header-search {
    margin: 10px 0 0 0;
    max-width: 100%;
  }

  .hero-slider-item {
    min-height: 400px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .section-padding {
    padding: 40px 0;
  }

  .section-title {
    font-size: 22px;
  }

  .product-thumb img {
    height: 140px;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 12px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cart-table thead {
    display: none;
  }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
    display: block;
    width: 100%;
  }
  .cart-table tr {
    padding: 16px;
    border-bottom: 2px solid #e8eee9;
    position: relative;
  }
  .cart-table td {
    padding: 8px 0;
    border: none;
  }
  .cart-table td:last-child {
    position: absolute;
    top: 16px;
    right: 16px;
  }
  .cart-summary-box {
    margin-top: 24px;
    position: static;
  }
}

/* ==========================================
   MOBILE MENU DRAWER & RESPONSIVE TOGGLE
   ========================================== */
.mobile-menu-btn {
  background: #f4f8f5;
  border: 1px solid #dce8df;
  color: var(--primary);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.show {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eef4f0;
  background: #f8faf9;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.mobile-drawer-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex-grow: 1;
}

.mobile-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mobile-nav-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #334155;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-nav-list li a i {
  color: var(--primary);
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.mobile-nav-list li a:hover,
.mobile-nav-list li a:active {
  background: #eaf4ed;
  color: var(--primary);
}
