/* ==========================================================================
   County Basket Pvt. Ltd. - Authentic Shopify D2C Flagship Storefront
   Brands: CountyGir™ & County Gold™
   Aesthetics: Deep Royal Emerald, Warm Heritage Gold, Sleek Modern Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Cinzel:wght@600;700;800;900&family=Noto+Sans+Gujarati:wght@500;700;800&display=swap');

:root {
  --primary-deep: #08281d;
  --primary-emerald: #0c3e2e;
  --primary-forest: #12543e;
  --primary-light: #f0f7f3;
  
  --gold-primary: #d4af37;
  --gold-glow: #f5d47e;
  --gold-dark: #9e7d1c;
  --gold-soft: #fcf9f2;
  --gold-gradient: linear-gradient(135deg, #f7dc8d 0%, #d4af37 100%);
  
  --bg-page: #f8faf9;
  --bg-card: #ffffff;
  
  --text-dark: #121915;
  --text-muted: #53645b;
  --text-subdued: #7e8f85;
  
  --border-light: #e5ece8;
  --border-gold: rgba(212, 175, 55, 0.4);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(8, 40, 29, 0.08);
  --shadow-lg: 0 16px 40px rgba(8, 40, 29, 0.12);
  
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Cinzel', serif;
  --font-gujarati: 'Noto Sans Gujarati', sans-serif;
  
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

.gujarati-text {
  font-family: var(--font-gujarati);
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT TICKER (SHOPIFY ANNOUNCEMENT BAR)
   ========================================================================== */

.shopify-topbar {
  background: #051a12;
  color: #cfded6;
  padding: 8px 20px;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.shopify-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-highlights {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.topbar-pill {
  background: var(--gold-gradient);
  color: #171101;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.topbar-msg {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.topbar-right-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.topbar-delivery-note {
  color: var(--gold-glow);
  font-weight: 600;
  display: none;
}

@media (min-width: 900px) {
  .topbar-delivery-note {
    display: inline;
  }
}

.topbar-link {
  color: #c5d6ce;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.topbar-link:hover {
  color: var(--gold-glow);
}

.admin-pill {
  color: var(--gold-glow);
  font-weight: 700;
  background: rgba(212, 175, 55, 0.15);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.admin-pill:hover {
  background: rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   2. MAIN SHOPIFY HEADER & DESKTOP NAVIGATION
   ========================================================================== */

.shopify-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-deep);
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 1080px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
  }
}

/* Brand Identity */
.brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-crest {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #07251b, #0f4937);
  border: 2px solid var(--gold-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold-primary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  flex-shrink: 0;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-deep);
  letter-spacing: 0.5px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-title span {
  color: var(--gold-dark);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  color: #107e4d;
  letter-spacing: 0.3px;
}

/* Desktop Navigation Menu */
.desktop-nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}

@media (max-width: 1080px) {
  .desktop-nav-menu {
    display: none;
  }
}

.nav-item {
  color: #2b3b33;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

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

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.25s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

/* Header Action Controls */
.header-action-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-search-center-wrap {
  flex: 1;
  max-width: 740px;
  min-width: 240px;
  margin: 0 16px;
}

@media (max-width: 860px) {
  .header-search-center-wrap {
    display: none;
  }
}

.header-search-box {
  position: relative;
  width: 100%;
}

.header-search-box input {
  width: 100%;
  height: 42px;
  background: #f4f7f5;
  border: 1.5px solid #d4dfd9;
  border-radius: var(--radius-full);
  padding: 0 18px 0 42px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: var(--transition);
}

.header-search-box input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-forest);
  box-shadow: 0 0 0 3px rgba(18, 84, 62, 0.12);
}

.search-lens-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #61776c;
  pointer-events: none;
}


.header-btn-wa {
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
  transition: var(--transition);
  white-space: nowrap;
}

.header-btn-wa:hover {
  background: #1eb855;
  transform: translateY(-1px);
}

.header-btn-cart {
  background: var(--primary-deep);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(8, 40, 29, 0.2);
  transition: var(--transition);
  white-space: nowrap;
}

.header-btn-cart:hover {
  background: var(--primary-emerald);
  transform: translateY(-1px);
}

.cart-count-badge {
  background: var(--gold-gradient);
  color: #171101;
  font-size: 0.72rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   MOBILE SLIDE-OVER DRAWER
   ========================================================================== */

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-drawer-backdrop.active .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  background: #fbfdfc;
}

.drawer-close-btn {
  background: none;
  border: 1px solid #dce5e0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-nav {
  padding: 16px 0;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-link {
  display: block;
  padding: 12px 24px;
  color: var(--primary-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.mobile-nav-link:hover {
  background: #f0f7f3;
  color: #107e4d;
  border-left-color: var(--gold-primary);
}

.mobile-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  background: #f9fbf9;
}

.drawer-contact-line {
  font-weight: 800;
  color: var(--primary-deep);
  font-size: 0.9rem;
}

.drawer-contact-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 12px;
}

.drawer-admin-link {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
}

/* ==========================================================================
   3. HERO BANNER CAROUSEL
   ========================================================================== */

.shopify-hero-section {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.hero-carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1366 / 402;
  height: auto;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: #061f16;
}

.hero-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  height: 100%;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  background: #061f16;
  display: block;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .shopify-hero-section {
    margin: 0;
    padding: 0;
  }
  .hero-carousel-container {
    aspect-ratio: 1376 / 768;
    height: auto;
  }
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  font-size: 1.1rem;
}

.carousel-nav-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--gold-primary);
}

.carousel-nav-btn.prev { left: 16px; }
.carousel-nav-btn.next { right: 16px; }

.hero-carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  width: 26px;
  background: var(--gold-primary);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}

/* ==========================================================================
   4. TRUST & HERITAGE 4-PILLARS STRIP
   ========================================================================== */

.trust-pillars-section {
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 20px;
}

.trust-pillars-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  padding: 24px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 992px) {
  .trust-pillars-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .trust-pillars-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.trust-pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f7faf8;
  border: 1px solid #dce8e2;
  color: #107e4d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-content h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.pillar-content p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* ==========================================================================
   5. FEATURED COLLECTIONS GRID (SHOPIFY COLLECTION TILES)
   ========================================================================== */

.featured-collections-section {
  max-width: 1400px;
  margin: 48px auto;
  padding: 0 20px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 34px;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  display: inline-block;
  margin-bottom: 6px;
}

.section-headline {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .section-headline {
    font-size: 1.5rem;
  }
}

.section-subheadline {
  font-size: 0.94rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.collections-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .collections-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .collections-cards-grid {
    grid-template-columns: 1fr;
  }
}

.collection-promo-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.collection-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f7faf8;
}

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

.collection-promo-card:hover .collection-img-box img {
  transform: scale(1.06);
}

.collection-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold-gradient);
  color: #171101;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.4px;
}

.collection-badge-tag.wholesale {
  background: #08281d;
  color: #ffffff;
  border: 1px solid var(--gold-primary);
}

.collection-info-box {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.collection-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 6px;
}

.collection-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.collection-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f4f2;
  padding-top: 12px;
}

.collection-price-start {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-forest);
}

.collection-cta-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
}

/* ==========================================================================
   6. FLAGSHIP PRODUCT CATALOG (REAL SHOPIFY PRODUCT GRID)
   ========================================================================== */

.shopify-catalog-section {
  max-width: 1400px;
  margin: 54px auto;
  padding: 0 20px;
}

.catalog-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 18px;
}

.gujarati-subtitle {
  color: #107e4d;
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 2px;
}

.catalog-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid #dce5e0;
  color: #44544d;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--primary-forest);
  color: var(--primary-forest);
}

.tab-btn.active {
  background: var(--primary-deep);
  color: #ffffff;
  border-color: var(--primary-deep);
}

.shopify-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.app-product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.app-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.45);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7faf8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.card-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold-gradient);
  color: #171101;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.card-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.card-brand-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #107e4d;
  margin-bottom: 4px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 4px;
  line-height: 1.25;
}

.card-gujarati {
  font-size: 0.8rem;
  color: #5c7066;
  margin-bottom: 12px;
}

.card-desc-snippet {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #66756e;
  margin-bottom: 14px;
  flex: 1;
}

.card-variant-select {
  width: 100%;
  background: #f7faf8;
  border: 1px solid #dce6e0;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  cursor: pointer;
  font-family: inherit;
}

.card-variant-select:focus {
  outline: none;
  border-color: var(--primary-forest);
}

.card-stock-indicator {
  font-size: 0.74rem;
  color: #107e4d;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.card-footer-wrap {
  border-top: 1px solid #f0f4f2;
  padding-top: 12px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-price-col {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.card-curr-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-deep);
}

.card-mrp-price {
  font-size: 0.8rem;
  color: #999999;
  text-decoration: line-through;
}

.card-discount-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: 4px;
}

.card-action-btns-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
  width: 100%;
}

.btn-card-add {
  background: var(--primary-deep);
  color: #ffffff;
  border: none;
  padding: 9px 8px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-card-add:hover {
  background: var(--primary-emerald);
}

.btn-card-buy {
  background: var(--gold-gradient);
  color: #171101;
  border: none;
  padding: 9px 8px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.25);
}

.btn-card-buy:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.card-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-deep);
  border-radius: 8px;
  padding: 4px 8px;
  color: #ffffff;
  width: 100%;
  grid-column: 1 / -1;
}

.card-stepper button {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-stepper span {
  font-size: 0.82rem;
  font-weight: 700;
}


/* ==========================================================================
   7. THE 5-STEP VEDIC BILONA PROCESS
   ========================================================================== */

.bilona-story-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 64px 20px;
}

.process-steps-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1080px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

.process-step-card {
  background: #fbfdfc;
  border: 1px solid #dce8e2;
  border-radius: var(--radius-md);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

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

.step-badge-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ==========================================================================
   8. COMPARISON TABLE SECTION
   ========================================================================== */

.comparison-section {
  max-width: 1200px;
  margin: 64px auto;
  padding: 0 20px;
}

.comparison-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.comparison-table th {
  padding: 18px 20px;
  font-weight: 800;
  border-bottom: 2px solid var(--border-light);
}

.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
  line-height: 1.5;
}

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

.col-highlight {
  background: rgba(212, 175, 55, 0.05);
  font-weight: 600;
  color: var(--primary-deep) !important;
}

/* ==========================================================================
   9. MILL HERITAGE SECTION
   ========================================================================== */

.mill-heritage-section {
  max-width: 1400px;
  margin: 64px auto;
  padding: 0 20px;
}

.mill-heritage-grid {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .mill-heritage-grid {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.mill-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mill-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #3b4c44;
}

.btn-shopify-brand {
  background: var(--primary-deep);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-shopify-brand:hover {
  background: var(--primary-emerald);
  transform: translateY(-2px);
}

.btn-shopify-outline {
  background: transparent;
  color: var(--primary-deep);
  border: 1px solid var(--primary-deep);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.btn-shopify-outline:hover {
  background: #f0f7f3;
}

.mill-card-highlight {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mill-card-highlight img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mill-stat-float {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(8, 40, 29, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-glow);
}

.stat-lbl {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   10. B2B & WHOLESALE 15 KG TIN SECTION
   ========================================================================== */

.b2b-wholesale-section {
  max-width: 1400px;
  margin: 64px auto;
  padding: 0 20px;
}

.b2b-wholesale-card {
  background: linear-gradient(135deg, #062016 0%, #0a3325 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

@media (max-width: 900px) {
  .b2b-wholesale-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.b2b-badge {
  background: var(--gold-gradient);
  color: #171101;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.b2b-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.b2b-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #c7ded3;
  margin-bottom: 20px;
}

.b2b-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gold-glow);
  font-weight: 600;
}

.b2b-form-col {
  background: #ffffff;
  color: var(--text-dark);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.b2b-form-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.b2b-form-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 500px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.form-field label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #44544d;
}

.form-field input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #dce5e0;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-family: inherit;
}

.form-field input:focus {
  outline: none;
  border-color: var(--primary-forest);
}

.btn-b2b-submit {
  width: 100%;
  background: var(--primary-deep);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.btn-b2b-submit:hover {
  background: var(--primary-emerald);
}

/* ==========================================================================
   11. CUSTOMER REVIEWS & TESTIMONIALS
   ========================================================================== */

.reviews-section {
  max-width: 1400px;
  margin: 64px auto;
  padding: 0 20px;
}

.reviews-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .reviews-cards-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4a5a52;
  font-style: italic;
  margin-bottom: 20px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0d4635;
  color: var(--gold-glow);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.reviewer-name {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--primary-deep);
}

.verified-check {
  font-size: 0.72rem;
  color: #107e4d;
  font-weight: 700;
  margin-left: 4px;
}

.reviewer-loc {
  font-size: 0.76rem;
  color: var(--text-subdued);
}

/* ==========================================================================
   12. CERTIFICATIONS & LAB PURITY
   ========================================================================== */

.certifications-section {
  max-width: 1400px;
  margin: 54px auto;
  padding: 0 20px;
}

.certifications-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  box-shadow: var(--shadow-sm);
}

.certifications-badges-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .certifications-badges-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .certifications-badges-row {
    grid-template-columns: 1fr;
  }
}

.cert-badge-card {
  text-align: center;
  padding: 16px;
  background: #fafcfb;
  border-radius: var(--radius-sm);
  border: 1px solid #e7efe9;
}

.cert-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f1f7f4;
  color: #107e4d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
}

.cert-badge-card h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.cert-badge-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cert-status {
  font-size: 0.7rem;
  font-weight: 700;
  color: #107e4d;
  background: rgba(16, 126, 77, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   13. FAQ ACCORDION
   ========================================================================== */

.faq-section {
  max-width: 900px;
  margin: 64px auto;
  padding: 0 20px;
}

.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--primary-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
}

.faq-question:hover {
  background: #fbfdfc;
  color: var(--primary-forest);
}

.faq-arrow {
  font-size: 0.75rem;
  color: #889990;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--gold-dark);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px 20px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #4a5a52;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   14. NEWSLETTER / VIP CLUB
   ========================================================================== */

.newsletter-strip {
  max-width: 1400px;
  margin: 54px auto;
  padding: 0 20px;
}

.newsletter-card {
  background: linear-gradient(135deg, #092e21 0%, #0e4634 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .newsletter-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

.newsletter-badge {
  background: var(--gold-gradient);
  color: #171101;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.newsletter-sub {
  font-size: 0.88rem;
  color: #c8ded4;
}

/* ==========================================================================
   15. SHOPIFY MEGA FOOTER
   ========================================================================== */

.shopify-mega-footer {
  background: #051912;
  color: #d1ded8;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding-top: 54px;
}

.footer-columns-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 48px 20px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
}

@media (max-width: 1024px) {
  .footer-columns-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .footer-columns-container {
    grid-template-columns: 1fr;
  }
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-glow);
  margin-bottom: 18px;
  letter-spacing: 0.4px;
}

.footer-corp-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #b5c7c0;
  margin-bottom: 16px;
}

.footer-lic-badges {
  font-size: 0.76rem;
  color: var(--gold-glow);
  line-height: 1.6;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: #b5c7c0;
  text-decoration: none;
  font-size: 0.84rem;
  transition: var(--transition);
}

.footer-nav-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-address-block {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #b5c7c0;
}

.footer-address-block a {
  color: #ffffff;
  text-decoration: none;
}

.footer-btn-track {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-glow);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.footer-btn-track:hover {
  background: rgba(212, 175, 55, 0.3);
}

.footer-admin-link {
  color: #8da197;
  font-size: 0.76rem;
  text-decoration: none;
}

.footer-admin-link:hover {
  color: var(--gold-glow);
}

.footer-bottom-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  font-size: 0.78rem;
  color: #8da197;
}

.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.payment-trust-methods {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  color: #cfded6;
  font-weight: 600;
}

/* ==========================================================================
   FLOATING MOBILE CART BAR
   ========================================================================== */

.floating-cart-bar {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--primary-deep);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 90;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border: 1px solid var(--gold-primary);
}

@media (max-width: 768px) {
  .floating-cart-bar.active {
    display: flex;
  }
}

.floating-cart-info {
  display: flex;
  flex-direction: column;
}

.floating-cart-count {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--gold-glow);
  font-weight: 800;
}

.floating-cart-total {
  font-size: 1.15rem;
  font-weight: 900;
}

.floating-cart-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold-glow);
}

/* ==========================================================================
   CART SLIDE-OVER DRAWER
   ========================================================================== */

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 95vw;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
}

.cart-overlay.active .cart-drawer {
  transform: translateX(0);
}

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

.cart-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.cart-close-btn {
  background: none;
  border: 1px solid #dce5e0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 0.9rem;
}

.free-shipping-progress {
  padding: 10px 20px;
  background: #f7faf8;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.75rem;
  font-weight: 700;
  color: #107e4d;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: #e2ede7;
  border-radius: 10px;
  margin-top: 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #107e4d, #d4af37);
  transition: width 0.3s ease;
}

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

.cart-drawer-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f4f2;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-light);
}

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

.cart-item-title {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--primary-deep);
  line-height: 1.2;
}

.cart-item-variant {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-item-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.cart-item-price {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-deep);
}

.cart-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--border-light);
  background: #fbfdfc;
}

.coupon-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.coupon-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #dce5e0;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.coupon-btn {
  background: var(--primary-deep);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.cart-totals-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #55665d;
}

.cart-total-line.grand {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary-deep);
  border-top: 1px solid #e7efe9;
  padding-top: 8px;
  margin-top: 4px;
}

.btn-checkout {
  width: 100%;
  background: var(--primary-deep);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(8, 40, 29, 0.25);
}

.btn-checkout:hover {
  background: var(--primary-emerald);
}

/* ==========================================================================
   MODALS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.modal-close {
  background: none;
  border: 1px solid #dce5e0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 0.9rem;
}

.modal-body {
  padding: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #3b4c43;
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #dce5e0;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-forest);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (max-width: 480px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
}

.payment-radio-label {
  border: 1px solid #dce5e0;
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.payment-radio-label input {
  display: none;
}

.payment-radio-label.selected {
  border-color: var(--primary-forest);
  background: #f0f7f3;
  color: var(--primary-deep);
}

/* ==========================================================================
   ENHANCED CENTER PROMINENT SEARCH BAR & LIVE AUTOCOMPLETE
   ========================================================================== */

.header-search-center-wrap {
  flex: 1;
  max-width: 580px;
  margin: 0 20px;
  position: relative;
}

.header-search-box {
  position: relative;
  width: 100%;
}

.header-search-box input {
  width: 100%;
  background: #f1f5f3;
  border: 1.5px solid #d2e0d7;
  border-radius: var(--radius-full);
  padding: 10px 42px 10px 44px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: var(--transition);
}

.header-search-box input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-forest);
  box-shadow: 0 0 0 4px rgba(15, 76, 58, 0.12);
}

.search-lens-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-forest);
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: #d8e2dc;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-clear-btn:hover {
  background: #b5c7bd;
}

.header-link-action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.header-link-action:hover {
  background: #f0f5f2;
  color: var(--primary-forest);
}

/* Secondary Category Navigation Strip (Never Crowds Search) */
.desktop-category-bar {
  background: #ffffff;
  border-top: 1px solid #ebeeed;
  display: block;
}

.category-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-bar-inner::-webkit-scrollbar {
  display: none;
}

.cat-nav-link {
  padding: 10px 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #33443c;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}

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

.cat-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--gold-primary);
  transition: width 0.2s ease;
}

.cat-nav-link:hover::after, .cat-nav-link.active::after {
  width: 100%;
}

/* Mobile Search Bar Strip */
.mobile-search-strip {
  display: none;
}

@media (max-width: 860px) {
  .mobile-search-strip {
    display: block;
    padding: 8px 16px 12px 16px;
    background: #ffffff;
    border-top: 1px solid #ebeeed;
    position: relative;
    width: 100%;
  }

  .mobile-search-inner {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
  }

  .mobile-search-inner input {
    width: 100%;
    height: 42px;
    background: #f4f7f5;
    border: 1.5px solid #d4dfd9;
    border-radius: var(--radius-full);
    padding: 0 40px 0 40px;
    font-size: 0.88rem;
    color: var(--text-dark);
    font-family: inherit;
    outline: none;
    transition: var(--transition);
  }

  .mobile-search-inner input:focus {
    background: #ffffff;
    border-color: var(--primary-forest);
    box-shadow: 0 0 0 3px rgba(18, 84, 62, 0.12);
  }

  .mobile-search-inner svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #61776c;
    pointer-events: none;
  }

  .mobile-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #e2ece6;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #33443c;
    cursor: pointer;
  }

  .desktop-category-bar {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-main-container {
    padding: 10px 14px;
    gap: 10px;
  }
  .brand-tagline {
    display: none;
  }
  .header-action-controls .header-link-action,
  .header-action-controls .header-btn-wa {
    display: none;
  }
  .header-btn-cart .cart-label-text {
    display: none;
  }
  .header-btn-cart {
    padding: 8px 12px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-crest {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }
}

/* PDP Top Nav Bar (Back Button & Breadcrumbs) */
.pdp-top-nav-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.pdp-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1.5px solid #d4dfd9;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #2b3b33;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.pdp-back-btn:hover {
  background: #f0f7f3;
  border-color: var(--primary-forest);
  color: var(--primary-forest);
  transform: translateX(-2px);
}

/* Live Search Autocomplete Dropdown */
.search-dropdown-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #dce8e2;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  z-index: 1000;
  max-height: 420px;
  overflow-y: auto;
  padding: 8px 0;
}

.search-dropdown-results.mobile {
  left: 14px;
  right: 14px;
  top: calc(100% + 4px);
}

.search-res-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f2f4f3;
  transition: background 0.15s ease;
}

.search-res-item:last-child {
  border-bottom: none;
}

.search-res-item:hover {
  background: #f7faf8;
}

.search-res-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid #e2e8e5;
  object-fit: cover;
  flex-shrink: 0;
}

.search-res-details {
  flex: 1;
  min-width: 0;
}

.search-res-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-res-sub {
  font-size: 0.74rem;
  color: #666;
}

.search-res-price {
  font-weight: 800;
  color: var(--primary-forest);
  font-size: 0.88rem;
  flex-shrink: 0;
}

/* Dedicated Mobile Search Strip */
.mobile-search-strip {
  display: none;
  background: #ffffff;
  padding: 8px 14px 10px 14px;
  border-top: 1px solid #f0f3f1;
  position: relative;
}

.mobile-search-inner {
  position: relative;
  width: 100%;
}

.mobile-search-inner input {
  width: 100%;
  background: #f1f5f3;
  border: 1.5px solid #d4ded8;
  border-radius: var(--radius-full);
  padding: 9px 36px 9px 38px;
  font-size: 0.84rem;
  font-family: inherit;
  color: #222;
  transition: var(--transition);
}

.mobile-search-inner input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-forest);
}

.mobile-search-inner svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-forest);
}

.mobile-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #ddd;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 900px) {
  .header-search-center-wrap {
    display: none !important;
  }
  .desktop-category-bar {
    display: none !important;
  }
  .mobile-search-strip {
    display: block;
  }
}

/* ==========================================================================
   FLIPKART-STYLE PRODUCT DETAIL PAGE (PDP) ARCHITECTURE
   ========================================================================== */

.pdp-page-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 20px 60px 20px;
}

.pdp-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #666;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pdp-breadcrumbs a {
  color: #555;
  text-decoration: none;
}

.pdp-breadcrumbs a:hover {
  color: var(--primary-forest);
  text-decoration: underline;
}

.pdp-main-layout {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 32px;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  align-items: start;
}

@media (max-width: 1024px) {
  .pdp-main-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }
}

/* Left Gallery Column */
.pdp-gallery-col {
  position: sticky;
  top: 95px;
  align-self: start;
}

.pdp-gallery-wrap {
  display: flex;
  gap: 12px;
}

.pdp-thumbs-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 62px;
  flex-shrink: 0;
}

.pdp-thumb-tile {
  width: 62px;
  height: 62px;
  border: 1.5px solid #e1e8e4;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease;
  background: #fff;
  padding: 2px;
}

.pdp-thumb-tile.active, .pdp-thumb-tile:hover {
  border-color: var(--primary-forest);
  box-shadow: 0 0 0 1px var(--primary-forest);
}

.pdp-thumb-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.pdp-main-image-tile {
  flex: 1;
  height: 350px;
  max-height: 350px;
  border: 1px solid #e1e8e4;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 10px;
}

.pdp-main-image-tile img {
  max-height: 320px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pdp-main-image-tile:hover img {
  transform: scale(1.05);
}

.pdp-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ffffff;
  border: 1px solid #e1e8e4;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #777;
  font-size: 1.1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Flipkart Action Buttons (Twin buttons) */
.pdp-action-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.pdp-btn-cart {
  background: #ffc200;
  color: #121915;
  border: none;
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.pdp-btn-cart:hover {
  background: #f5b800;
  transform: translateY(-1px);
}

.pdp-btn-buy {
  background: #fb641b;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(251, 100, 27, 0.3);
  transition: all 0.2s ease;
}

.pdp-btn-buy:hover {
  background: #ea5610;
  transform: translateY(-1px);
}

/* Trust Badges Strip */
.pdp-trust-badges-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 14px;
  padding: 10px 6px;
  background: #f7faf8;
  border-radius: 8px;
  border: 1px solid #e6eeea;
  text-align: center;
}

.pdp-trust-item {
  font-size: 0.72rem;
  font-weight: 700;
  color: #3b5044;
  line-height: 1.3;
}

.pdp-trust-icon {
  font-size: 1.15rem;
  margin-bottom: 3px;
  display: block;
}

/* Right Details Column */
.pdp-brand-lead {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-forest);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.pdp-verified-badge {
  background: #cbf4c9;
  color: #0e6245;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.pdp-product-title {
  font-family: var(--font-body), 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin: 4px 0 2px 0 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: -0.3px !important;
}

.pdp-gujarati-sub {
  color: #b45309;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

/* Right Column Dedicated Action Bar */
.pdp-right-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 20px 0;
  padding: 12px 16px;
  background: #f8faf9;
  border: 1px solid #e2ece6;
  border-radius: 10px;
}

.pdp-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #ccd8d2;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  height: 42px;
}

.pdp-qty-stepper button {
  width: 36px;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  color: #33443c;
  transition: background 0.15s ease;
}

.pdp-qty-stepper button:hover {
  background: #eef4f1;
}

.pdp-qty-stepper span {
  min-width: 32px;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #111827;
}

.pdp-right-cta-row .pdp-btn-cart {
  flex: 1;
  padding: 12px 14px;
}

.pdp-right-cta-row .pdp-btn-buy {
  flex: 1.2;
  padding: 12px 14px;
}

.pdp-ratings-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.84rem;
}

.pdp-rating-pill {
  background: #388e3c;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.pdp-reviews-count {
  color: #666;
  font-weight: 600;
}

.pdp-badge-tag {
  background: #fff8e1;
  color: #f57f17;
  border: 1px solid #ffe082;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Price Box */
.pdp-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}

.pdp-price-curr {
  font-size: 2rem;
  font-weight: 900;
  color: #111;
}

.pdp-price-mrp {
  font-size: 1.1rem;
  color: #878787;
  text-decoration: line-through;
}

.pdp-price-discount {
  font-size: 1.1rem;
  font-weight: 800;
  color: #388e3c;
}

.pdp-tax-notice {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 16px;
}

/* Flipkart Available Offers Box */
.pdp-offers-box {
  background: #fbfbfc;
  border: 1px solid #e3e8e5;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.pdp-offers-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pdp-offer-item {
  font-size: 0.82rem;
  color: #212121;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.pdp-offer-tag {
  font-weight: 800;
  color: #008060;
  white-space: nowrap;
}

/* Variant Selector (Buttons) */
.pdp-variant-section {
  margin-bottom: 22px;
}

.pdp-variant-label {
  font-size: 0.84rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.pdp-variant-chips-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pdp-variant-chip {
  background: #ffffff;
  border: 1.5px solid #d2ded7;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #222;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-variant-chip:hover {
  border-color: var(--primary-forest);
}

.pdp-variant-chip.active {
  border-color: var(--primary-forest);
  background: #f0f7f3;
  color: var(--primary-deep);
  box-shadow: 0 0 0 1px var(--primary-forest);
}

/* Pincode Delivery Box */
.pdp-delivery-box {
  background: #f7faf8;
  border: 1px solid #e1ebe5;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 22px;
}

.pdp-delivery-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 8px;
}

.pdp-pincode-input-row {
  display: flex;
  gap: 8px;
  max-width: 320px;
}

.pdp-pincode-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.84rem;
}

.pdp-pincode-btn {
  background: var(--primary-forest);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.pdp-delivery-status {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #008060;
  font-weight: 700;
}

/* Highlights Bullets */
.pdp-highlights-box {
  margin-bottom: 24px;
}

.pdp-section-h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
}

.pdp-bullet-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdp-bullet-list li {
  font-size: 0.85rem;
  color: #333;
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}

.pdp-bullet-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #008060;
  font-weight: 900;
}

/* Flipkart Specifications Table */
.pdp-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  margin-bottom: 24px;
}

.pdp-specs-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.pdp-specs-table td {
  padding: 10px 12px;
}

.pdp-specs-table td.spec-key {
  color: #878787;
  width: 32%;
  font-weight: 600;
}

.pdp-specs-table td.spec-val {
  color: #212121;
  font-weight: 600;
}

/* Reviews and Breakdown */
.pdp-reviews-summary {
  display: flex;
  gap: 28px;
  align-items: center;
  background: #fafbfb;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid #ebeeed;
  margin-bottom: 18px;
}

.pdp-rating-score-block {
  text-align: center;
  min-width: 110px;
}

.pdp-score-big {
  font-size: 2.4rem;
  font-weight: 900;
  color: #111;
  line-height: 1;
}

.pdp-score-stars {
  color: #388e3c;
  font-size: 1.1rem;
  margin: 4px 0;
}

.pdp-rating-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pdp-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: #555;
}

.pdp-progress-bg {
  flex: 1;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}

.pdp-progress-fill {
  height: 100%;
  background: #388e3c;
}

/* ==========================================================================
   CART SLIDE-OVER DRAWER (Matches both .cart-overlay and .cart-overlay-backdrop)
   ========================================================================== */

.cart-overlay,
.cart-overlay-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active,
.cart-overlay-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer,
.cart-drawer-panel {
  position: fixed;
  top: 0;
  right: -480px;
  width: 440px;
  max-width: 95vw;
  height: 100vh;
  background: #ffffff;
  z-index: 10000;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-overlay.active .cart-drawer,
.cart-overlay-backdrop.active .cart-drawer-panel {
  right: 0;
}

.cart-header,
.cart-drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e5ece8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.cart-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-title,
.cart-header-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.cart-count-pill {
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--gold-glow);
}

.cart-close-btn {
  background: #f0f4f2;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #555;
  transition: background 0.2s;
}

.cart-close-btn:hover {
  background: #e2eae5;
  color: #111;
}

/* Free shipping threshold progress bar */
.free-shipping-progress,
.free-shipping-progress-bar {
  background: #faf8f3;
  padding: 10px 18px;
  border-bottom: 1px solid #eef2ef;
  font-size: 0.78rem;
  font-weight: 600;
  color: #333;
}

.progress-track,
.progress-bar-bg {
  height: 6px;
  background: #e2e8e5;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 6px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.cart-body,
.cart-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f4f2;
  align-items: center;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: #fbfbfb;
  border: 1px solid #eef2ef;
}

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

.cart-item-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.cart-item-variant {
  font-size: 0.74rem;
  color: var(--gold-dark);
  font-weight: 600;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: #121915;
}

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

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid #cbd5cf;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.qty-display {
  font-size: 0.82rem;
  font-weight: 700;
  width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #e02424;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
}

.cart-footer,
.cart-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid #e5ece8;
  background: #fafcfb;
}

.cart-coupon-wrap,
.coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.cart-coupon-wrap input,
.coupon-input {
  flex-grow: 1;
  padding: 8px 12px;
  border: 1px solid #cbd5cf;
  border-radius: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
}

.cart-coupon-wrap button,
.coupon-btn {
  background: var(--primary-deep);
  color: #ffffff;
  border: none;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-breakdown-row,
.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #555;
  margin-bottom: 6px;
}

.cart-total-row,
.cart-total-line.grand {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary-deep);
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px dashed #d5ded9;
  margin-bottom: 12px;
}

.btn-checkout {
  width: 100%;
  background: var(--primary-deep);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  display: block;
  box-shadow: 0 4px 14px rgba(8, 40, 29, 0.25);
  transition: all 0.2s ease;
}

.btn-checkout:hover {
  background: var(--primary-emerald);
}

/* ==========================================================================
   MODAL WINDOWS (Checkout, Tracking, Inquiries)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: 14px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eef2ef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.modal-close {
  background: #f0f4f2;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #555;
}

.modal-body {
  padding: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ccd8d1;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--primary-forest);
  box-shadow: 0 0 0 3px rgba(18, 84, 62, 0.12);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.payment-radio-label {
  border: 1px solid #ccd8d1;
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.payment-radio-label input {
  display: none;
}

.payment-radio-label.selected {
  border-color: var(--primary-forest);
  background: var(--primary-light);
  color: var(--primary-deep);
  font-weight: 800;
}

/* ==========================================================================
   MEGA FOOTER & LINK STYLES (Clean & Elegant, No Unstyled Purple Links)
   ========================================================================== */

.shopify-footer,
.site-footer {
  background: var(--primary-deep) !important;
  color: #dce5e0 !important;
  padding: 50px 0 20px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.shopify-footer a,
.site-footer a,
.footer-col a,
.footer-links a,
.footer-col-links a,
.footer-bottom-bar a,
.footer-bottom-strip a {
  color: #dce5e0 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.shopify-footer a:hover,
.site-footer a:hover,
.footer-links a:hover,
.footer-col a:hover {
  color: var(--gold-glow) !important;
  text-decoration: underline !important;
}

.footer-col-title {
  color: var(--gold-primary) !important;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-address-block {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #c0ccc5;
}

.footer-address-block strong {
  color: #ffffff;
}

.footer-btn-track {
  display: inline-block;
  padding: 7px 14px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-glow) !important;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.footer-btn-track:hover {
  background: var(--gold-primary);
  color: var(--primary-deep) !important;
}

.footer-bottom-bar,
.footer-bottom-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 36px;
  padding-top: 18px;
  font-size: 0.74rem;
  color: #92a49b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}


