
/* ==================== SCOPED ROOT WRAPPER ==================== */
.mateshwari-ecom-scope {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    box-sizing: border-box;
    overflow-x: clip;
    --brand-teal: #008f82;
    --brand-teal-dark: #05554E;
    --brand-orange: #FF8F00;
    --brand-accent: #E6F4F1;
    --text-main: #1E293B;
    --text-light: #64748B;
    --border-color: #E2E8F0;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --radius-btn: 10px;
    --radius-card: 16px;
    --radius-input: 12px;
    --space-1: 6px;
    --space-2: 12px;
    --space-3: 18px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 40px;
    --space-7: 48px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(11, 143, 131, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Box-sizing sirf issi scope ke andar apply ho */
.mateshwari-ecom-scope *, 
.mateshwari-ecom-scope *::before, 
.mateshwari-ecom-scope *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.mateshwari-ecom-scope h1, 
.mateshwari-ecom-scope h2, 
.mateshwari-ecom-scope h3, 
.mateshwari-ecom-scope h4, 
.mateshwari-ecom-scope h5, 
.mateshwari-ecom-scope h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
}
:root {
  --brand-teal: #008f82;        /* Uniform exact Teal color from your assets */
  --brand-teal-dark: #05554E;
  --brand-orange: #FF8F00;
  --brand-accent: #E6F4F1;
  --text-main: #1E293B;
  --text-light: #64748B;
  --border-color: #E2E8F0;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  
  --radius-btn: 10px;
  --radius-card: 16px;
  --radius-input: 12px;

  --space-1: 6px;
  --space-2: 12px;
  --space-3: 18px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 40px;
  --space-7: 48px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(11, 143, 131, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  padding-top: 170px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
}

.ecom-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  width: 100%;
}

/* ==================== 2. MODERN HEADER ==================== */
.header-fixed-scope {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.top-bar {
  background: var(--brand-teal-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  padding: 6px 0;
  transition: var(--transition);
}

.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-socials { display: flex; gap: var(--space-3); }
.top-bar-socials a { color: white; opacity: 0.8; text-decoration: none; transition: var(--transition); }
.top-bar-socials a:hover { opacity: 1; transform: translateY(-1px); }
.top-bar-contacts { display: flex; gap: var(--space-4); }
.top-bar-contacts a { color: white; text-decoration: none; display: flex; align-items: center; gap: var(--space-1); }

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

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-5);
}

.logo-frame img {
  height: 44px;
  display: block;
  object-fit: contain;
}

/* Integrated Search Bar */
.search-container {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-input);
  padding: 3px;
  transition: var(--transition);
  max-width: 650px;
  width: 100%;
  margin: 0 auto;
}

.search-container:focus-within {
  border-color: var(--brand-teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(11, 143, 131, 0.12);
}

.search-category-select {
  border: none;
  background: transparent;
  padding: 0 var(--space-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  border-right: 1px solid var(--border-color);
  cursor: pointer;
}

.search-box-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 var(--space-3);
  font-size: 14px;
  outline: none;
  color: var(--text-main);
}

.search-action-btn {
  background: var(--brand-teal);
  color: white;
  border: none;
  height: 40px;
  padding: 0 var(--space-4);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.search-action-btn:hover { background: var(--brand-teal-dark); }

/* ==================== NEW/UPDATED UTILITY CLUSTER & DROPDOWNS ==================== */
.utility-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-dropdown-node {
  position: relative;
}

.nav-arrow {
  font-size: 11px !important;
  margin-left: 2px;
  transition: transform 200ms ease;
}

.header-dropdown-node:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Generic Header Flyout Dropdowns */
.header-sub-flyout {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1050;
  min-width: 180px;
}

.header-dropdown-node:hover .header-sub-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.flyout-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 4px;
}

.flyout-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition: var(--transition);
}

.flyout-item:hover, .flyout-item.active {
  background: var(--brand-accent);
  color: var(--brand-teal);
}

/* Amazon-Style Flag Icons (Pure CSS Vectors) */
.lang-selector-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 8px 10px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-main);
  transition: var(--transition);
}

.lang-selector-btn:hover {
  background: var(--brand-accent);
}

.flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  display: inline-block;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 1px rgba(0,0,0,0.3);
}

/* Base64 / SVG CSS Flags for smooth rendering */
.flag-in { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%23FF9933"/><rect y="200" width="900" height="200" fill="%23FFFFFF"/><rect y="400" width="900" height="200" fill="%23138808"/><circle cx="450" cy="300" r="80" fill="none" stroke="%23000080" stroke-width="10"/></svg>'); }
.flag-us { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 741 390"><rect width="741" height="390" fill="%23B22234"/><path d="M0 30h741M0 90h741M0 150h741M0 210h741M0 270h741M0 330h741" stroke="%23fff" stroke-width="30"/><rect width="296" height="210" fill="%233C3B6E"/></svg>'); }
.flag-ae { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="200" fill="%23007A3D"/><rect y="200" width="1200" height="200" fill="%23FFFFFF"/><rect y="400" width="1200" height="200" fill="%23000000"/><rect width="300" height="600" fill="%23CE1126"/></svg>'); }
.amazon-dropdown-trigger {
  position: relative;
  padding: var(--space-2) 0;
  cursor: pointer;
}

.dropdown-label-flex {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
}

.dropdown-label-flex i.chevron-icon { font-size: 10px; color: var(--text-light); }

.amazon-flyout-card {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  margin-top: 10px;
  z-index: 1010;
}

.amazon-flyout-card::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

.amazon-dropdown-trigger:hover .amazon-flyout-card {
  opacity: 1;
  visibility: visible;
  margin-top: 2px;
}

.flyout-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px var(--space-2);
  color: var(--text-main);
  text-decoration: none;
  font-size: 13.5px;
  border-radius: var(--radius-btn);
}

.flyout-list-item:hover { background-color: var(--bg-light); color: var(--brand-teal); }
.flyout-divider { height: 1px; background-color: var(--border-color); margin: var(--space-2) 0; }
.icon-action-node { position: relative; color: var(--text-main); font-size: 22px; text-decoration: none; padding: 4px; display: inline-flex; }
.badge-alert { position: absolute; top: -2px; right: -2px; background: #ef4444; color: var(--white); font-size: 10px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.partner-link { color: var(--brand-orange); font-weight: 600; font-size: 14px; text-decoration: none; display: flex; align-items: center; gap: var(--space-1); }

/* Flipkart-Style Cart Button */
.fk-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  background: #2874f0; /* Flipkart Brand Blue */
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(40, 116, 240, 0.2);
}

.fk-cart-btn:hover {
  background: #1a62d6;
  color: var(--white);
  transform: translateY(-1px);
}

.fk-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.fk-cart-icon-wrap i {
  font-size: 18px;
}

.fk-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--brand-orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
  border: 1.5px solid #2874f0;
}

/* CTA Group: Partner & Seller Buttons */
.cta-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-cta-btn {
  background: transparent;
  color: var(--brand-teal);
  border: 1.5px solid var(--brand-teal);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.partner-cta-btn:hover {
  background: var(--brand-accent);
  color: var(--brand-teal-dark);
}

.nav-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 13.5px;
  transition: var(--transition);
  position: relative;
}

.nav-action-btn:hover { background: var(--brand-accent); color: var(--brand-teal); }
.nav-action-btn i { font-size: 18px; }

.badge-counter {
  position: absolute;
  top: 2px;
  right: 4px;
  background: var(--brand-orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 10px;
}

.seller-cta-btn {
  background: var(--brand-teal);
  color: white;
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: var(--transition);
}

.seller-cta-btn:hover {
  background: var(--brand-teal-dark);
  box-shadow: var(--shadow-md);
}
/* ==================== CATEGORY NAVIGATION BAR (Centered & Scrollable) ==================== */
.categories-navigation-bar {
  border-top: 1px solid var(--border-color);
  background: var(--white);
  width: 100%;
  transition: max-height 300ms ease, opacity 300ms ease, transform 300ms ease;
  max-height: 60px;
  opacity: 1;
  position: relative;
  z-index: 99;
  overflow: visible !important; 
}

.nav-items-flex { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: var(--space-4); 
  overflow-x: auto; 
  white-space: nowrap;
  padding: 0 15px;
  scrollbar-width: none; 
  -ms-overflow-style: none;
  overflow: visible !important; 
}

.nav-items-flex::-webkit-scrollbar {
  display: none; 
}

.category-dropdown-node { 
  position: relative; 
  flex-shrink: 0; 
  padding: 14px 0; 
}

.category-link-anchor {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition);
}

.category-link-anchor:hover { 
  color: var(--brand-teal); 
}

.scrolled-nav .categories-navigation-bar {
  max-height: 0;
  opacity: 0;
  padding: 0;
  border-top: none;
  transform: scaleY(0);
  pointer-events: none;
}

/* ==================== DROPDOWN FLYOUT WINDOW ==================== */
.category-sub-flyout {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 220px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000; 
  white-space: normal; 
}

.category-dropdown-node:hover .category-sub-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.category-sub-item {
  display: block;
  padding: 8px var(--space-2);
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  border-radius: 6px;
  transition: var(--transition);
}

.category-sub-item:hover { 
  background: var(--brand-accent); 
  color: var(--brand-teal); 
}

.scrolled-nav .top-bar { 
  max-height: 0; 
  padding: 0; 
  overflow: hidden; 
}

.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-main); }

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 1100;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  padding: var(--space-4);
}

.mobile-drawer.open { left: 0; }

.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.overlay-backdrop.active { opacity: 1; pointer-events: auto; }

/* =========================================================
   MOBILE ONLY - FLIPKART STYLE WITH JITTER FIX (TOUCH SCROLL SMOOTH)
   ========================================================= */

@media (max-width: 991px) {

    html,
    body {
        padding-top: 75px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    body {
        margin: 0 !important;
    }

    .ecom-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .header-fixed-scope {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        background: var(--white) !important;
        z-index: 1000 !important;
        overflow: visible !important;
    }

    .top-bar {
        display: block !important;
        width: 100% !important;
        padding: 5px 0 !important;
        opacity: 1 !important;
        overflow: hidden !important;
        transition: max-height 300ms ease, opacity 250ms ease, padding 300ms ease !important;
    }

    .top-bar-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .top-bar-socials {
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        flex-shrink: 0 !important;
    }

    .top-bar-socials a {
        font-size: 10px !important;
    }

    .top-bar-contacts {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 7px !important;
        min-width: 0 !important;
    }

    .top-bar-contacts a {
        font-size: 9px !important;
        white-space: nowrap !important;
    }

    .scrolled-nav .top-bar {
        max-height: 0 !important;
        height: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
    }

    .header-main-row {
    position: static !important; /* Fixed stacking context overflow issue */
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    background: var(--white) !important;
    z-index: 20 !important;
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0 !important;
    overflow: visible !important;
  }

    .header-grid {
        display: flex !important;
        flex-flow: row wrap !important;
        align-items: center !important;
        gap: 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    .lang-switcher-node,
    .amazon-dropdown-trigger {
        display: none !important;
    }

    .mobile-menu-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        background: transparent !important;
        border: none !important;
        font-size: 24px !important;
        color: var(--text-main, #0f172a) !important;
        cursor: pointer !important;
        order: 1 !important;
        flex: 0 0 auto !important;
        padding: 4px !important;
    }

    .logo-frame {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        max-width: 105px !important;
    }

    .logo-frame img {
        height: 30px !important;
        width: auto !important;
        max-width: 100px !important;
        object-fit: contain !important;
    }

    .utility-cluster {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 90px) !important;
        gap: 3px !important;
        overflow: visible !important;
        white-space: nowrap !important;
        position: static !important;
    }

    .utility-cluster > .header-dropdown-node:not(.lang-switcher-node) {
        order: 1 !important;
        position: relative !important;
        display: block !important;
        flex: 0 0 auto !important;
    }

    .utility-cluster > .header-dropdown-node:not(.lang-switcher-node) > .nav-action-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        padding: 4px !important;
        font-size: 8px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        border-radius: 6px !important;
    }

    .utility-cluster > .header-dropdown-node:not(.lang-switcher-node) > .nav-action-btn i {
        font-size: 11px !important;
    }

    .utility-cluster > .header-dropdown-node:not(.lang-switcher-node) > .header-sub-flyout {
        position: absolute !important;
    top: calc(100% + 5px) !important;
    left: auto !important; /* Left se binding hata di */
    right: 0 !important;   /* Right side align kar diya jisse overflow n ho */
    width: 190px !important;
    min-width: 190px !important;
    max-width: 85vw !important;
    max-height: 60vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: var(--white) !important;
    padding: 7px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.15) !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(7px) !important;
    pointer-events: none !important;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease !important;
}
    .utility-cluster > .header-dropdown-node:not(.lang-switcher-node):hover > .header-sub-flyout,
    .utility-cluster > .header-dropdown-node:not(.lang-switcher-node):focus-within > .header-sub-flyout {
        opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    }

    .header-sub-flyout .flyout-item {
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        padding: 9px 8px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    .cta-action-group {
        display: flex !important;
        align-items: center !important;
        gap: 3px !important;
        flex: 0 0 auto !important;
    }

    .seller-cta-btn,
    .partner-cta-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        padding: 4px 5px !important;
        font-size: 7.8px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        border-radius: 6px !important;
    }

    .seller-cta-btn { order: 1 !important; }
    .partner-cta-btn { order: 2 !important; }

    .fk-cart-btn {
        display: none !important; /* Top cart hidden on mobile; bottom nav provides dedicated cart */
    }

    .header-wishlist-btn,
    .utility-cluster .header-wishlist-btn,
    .utility-cluster a[href*="wishlist"] {
        display: none !important; /* Top wishlist hidden on mobile; bottom nav provides dedicated wishlist */
    }

    .fk-cart-icon-wrap {
        display: inline-flex !important;
        align-items: center !important;
        position: relative !important;
    }

    .fk-cart-icon-wrap i {
        font-size: 13px !important;
    }

    .fk-cart-badge {
        top: -7px !important;
        right: -7px !important;
        font-size: 7px !important;
        padding: 1px 3px !important;
    }

    .search-container {
        order: 3 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 3px 0 0 !important;
        min-height: 38px !important;
        padding: 3px !important;
        background: var(--bg-light) !important;
        border-radius: 9px !important;
        position: relative !important;
        z-index: 20 !important;
    }

    .search-category-select {
        flex: 0 0 auto !important;
        max-width: 70px !important;
        height: 32px !important;
        padding: 0 4px !important;
        font-size: 9px !important;
    }

    .search-box-input {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: 100% !important;
        height: 32px !important;
        padding: 0 6px !important;
        font-size: 10.5px !important;
    }

    .search-box-input::placeholder {
        font-size: 9.5px !important;
    }

    .search-action-btn {
        flex: 0 0 auto !important;
        height: 32px !important;
        padding: 0 9px !important;
        border-radius: 6px !important;
    }

    .categories-navigation-bar {
    position: relative !important;
    z-index: 100 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    overflow: visible !important; /* FIXED: 'hidden' hatane se shaking/jittering khatam ho jayegi */
    padding: 5px 0 !important;
    background: #f1f5f9 !important;
    border-top: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
    will-change: transform; /* Smooth scroll behavior ke liye */
}

.scrolled-nav .categories-navigation-bar {
    max-height: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
    border-top: none !important;
    border-bottom: none !important;
    transform: scaleY(0) !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.nav-items-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 11px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 5px !important;
    overflow-x: auto !important;
    overflow-y: visible !important; /* Keeps flyout visible on scroll */
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
}

.nav-items-flex::-webkit-scrollbar {
    display: none !important;
}

.category-dropdown-node {
    position: relative !important; /* Perfect Anchor Point for each item */
    flex: 0 0 auto !important;
    min-width: 0 !important;
    padding: 5px 0 !important;
    z-index: 101 !important;
}

.category-link-anchor {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10px !important;
    white-space: nowrap !important;
}

.category-sub-flyout {
    position: absolute !important;
    top: 100% !important; /* Active item ke theek niche khulega */
    left: 0 !important;
    right: auto !important;
    width: 190px !important;
    min-width: 170px !important;
    max-width: 80vw !important;
    max-height: 60vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: var(--white) !important;
    padding: 7px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,.15) !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(4px) !important;
    pointer-events: none !important;
    white-space: normal !important;
    transition: opacity .15s ease, visibility .15s ease, transform .15s ease !important;
}

.category-dropdown-node:hover .category-sub-flyout,
.category-dropdown-node:focus-within .category-sub-flyout {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.category-sub-item {
    display: block !important;
    padding: 9px 8px !important;
    font-size: 11px !important;
    white-space: normal !important;
}

}

@media (max-width: 575px) {
    .ecom-container { padding: 0 8px !important; }
    .logo-frame img { height: 28px !important; max-width: 95px !important; }
    .utility-cluster { gap: 5px !important; }
    .utility-cluster > .header-dropdown-node:not(.lang-switcher-node) > .nav-action-btn { padding: 5px 8px !important; font-size: 11px !important; }
    .seller-cta-btn, .partner-cta-btn { padding: 4px 8px !important; font-size: 11px !important; }
    .header-main-row .fk-cart-btn { display: none !important; }
}

@media (max-width: 380px) {
    .logo-frame img { height: 26px !important; max-width: 85px !important; }
    .utility-cluster { gap: 4px !important; }
    .utility-cluster > .header-dropdown-node:not(.lang-switcher-node) > .nav-action-btn { padding: 4px 6px !important; font-size: 10px !important; }
    .seller-cta-btn, .partner-cta-btn { padding: 4px 6px !important; font-size: 10px !important; }
    .header-main-row .fk-cart-btn { display: none !important; }
}


/* ==================== 3. HERO BANNER CAROUSEL ==================== */
/* =========================================================
   3. HERO BANNER CAROUSEL (Desktop + Tablet + Mobile)
   ========================================================= */

/* :root {
    --radius-card: 16px;
    --radius-btn: 8px;
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --white: #ffffff;
    --brand-teal-dark: #05554E;
    --brand-teal: #0B8F83;
    --brand-orange: #FF9900;
    --text-main: #1E293B;
    --transition: all 0.3s ease-in-out;
} */

.hero-banner-section {
    width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
}

/* =========================
   MAIN BANNER CONTAINER
   ========================= */
.banner-carousel-container,
.banner-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* =========================
   SLIDER TRACK
   ========================= */
.banner-track {
    position: relative;
    width: 100%;
    height: 380px;
}

/* =========================
   EACH SLIDE
   ========================= */
.banner-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 600ms ease-in-out, visibility 600ms ease-in-out;
    padding: 30px 50px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-teal-dark) 0%, var(--brand-teal) 100%);
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-slide.bg-style-1, .banner-slide.banner-bg-1 {
    background: linear-gradient(135deg, #05554E 0%, #0B8F83 100%) !important;
}
.banner-slide.bg-style-2, .banner-slide.banner-bg-2 {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%) !important;
}
.banner-slide.bg-style-3, .banner-slide.banner-bg-3 {
    background: linear-gradient(135deg, #134E4A 0%, #115E59 100%) !important;
}
.banner-slide.bg-style-4, .banner-slide.banner-bg-4 {
    background: linear-gradient(135deg, #1E3A8A 0%, #0284C7 100%) !important;
}

/* =========================================================
   LEFT CONTENT (Text Section - Fully Left Aligned)
   ========================================================= */
.banner-content {
    position: relative;
    z-index: 5;
    width: 48%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
    flex-shrink: 0;
}

/* Tag & Offer Badges Row */
.banner-tag-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.banner-tag {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
}

.banner-offer-pill {
    background: #f59e0b;
    color: #ffffff;
    font-weight: 800;
    font-size: 11.5px;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Heading - Left Aligned */
.banner-content h2 {
    font-size: clamp(22px, 2.3vw, 32px);
    color: var(--white);
    margin: 4px 0 10px 0 !important;
    line-height: 1.25;
    font-weight: 800;
    text-align: left !important;
}

.banner-title-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.banner-title-link:hover {
    opacity: 0.92;
    text-decoration: underline;
}

/* Paragraph - Left Aligned */
.banner-content p {
    font-size: 13.5px;
    opacity: 0.92;
    margin: 0 0 18px 0 !important;
    line-height: 1.5;
    text-align: left !important;
    max-width: 480px;
}

/* CTA Row (Button + Destination Cue) */
.banner-cta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Button */
.banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand-orange, #f97316);
    color: var(--white);
    text-decoration: none;
    padding: 10px 22px;
    border-radius: var(--radius-btn, 8px);
    font-weight: 700;
    font-size: 13.5px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.banner-btn:hover {
    background: #ea580c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.5);
}

.banner-dest-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.banner-dest-link:hover {
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}
.banner-dest-link strong {
    color: #fef08a;
    font-weight: 700;
}

/* =========================================================
   RIGHT IMAGE AREA (With Border Radius)
   ========================================================= */
.banner-image-wrap {
    position: relative;
    z-index: 3;
    width: 52%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 14px;
}

/* Main image */
.banner-img {
    display: block;
    width: 100% !important;
    height: 100%; 
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    transition: transform 0.4s ease;
}
.banner-slide:hover .banner-img {
    transform: scale(1.02);
}

/* =========================================================
   OFFER BADGE (Overlay on Right Image)
   ========================================================= */
.banner-badge {
    position: absolute;
    right: 20px;
    top: 20px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    padding: 8px 14px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    z-index: 6;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.banner-badge .badge-mini-label {
    display: block;
    font-size: 9.5px;
    letter-spacing: 0.8px;
    font-weight: 700;
    color: #f59e0b;
    text-transform: uppercase;
}
.banner-badge .badge-main-text {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}

/* =========================================================
   CAROUSEL ARROWS
   ========================================================= */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--text-main);
    font-size: 18px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.carousel-control:hover {
    background: var(--white);
    color: var(--brand-teal);
    transform: translateY(-50%) scale(1.08);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* =========================================================
   DOTS
   ========================================================= */
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 20;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 12px;
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES (MOBILE & TABLET)
   ========================================================= */
@media (max-width: 991px) { .hero-banner-section { width: 100%; margin-bottom: 20px; } .banner-carousel-container { width: 100%; overflow: hidden; position: relative; border-radius: var(--radius-card); } .banner-track { position: relative; width: 100%; height: 260px; overflow: hidden; } /* ========================= SLIDE ========================= */ .banner-slide { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; padding: 0 !important; display: block !important; opacity: 0; visibility: hidden; overflow: hidden !important; transition: opacity 600ms ease-in-out, visibility 0s linear 600ms; background: #000 !important; z-index: 1; } .banner-slide.active { opacity: 1 !important; visibility: visible !important; transition: opacity 600ms ease-in-out, visibility 0s linear 0s; z-index: 2 !important; } /* ========================= IMAGE WRAPPER ========================= */ .banner-image-wrap { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; display: block !important; overflow: hidden !important; z-index: 1 !important; border-radius: 0 !important; } /* ========================= PICTURE ========================= */ .banner-image-wrap picture { display: block !important; width: 100% !important; height: 100% !important; } /* ========================= MOBILE IMAGE ========================= */ .banner-img { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: center center !important; transform: none !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; } /* ========================= CONTENT ========================= */ .banner-content { position: absolute !important; top: 20px !important; left: 20px !important; width: 55% !important; max-width: 250px !important; margin: 0 !important; padding: 0 !important; z-index: 5 !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; text-align: left !important; } .banner-tag { display: inline-block !important; width: auto !important; padding: 3px 8px !important; margin: 0 0 7px 0 !important; font-size: 8px !important; line-height: 1.3; background: #885d38; } .banner-content h2 { margin: 0 0 5px 0 !important; font-size: 16px !important; line-height: 1.2 !important; text-align: left !important; } .banner-content p { margin: 0 0 8px 0 !important; font-size: 9px !important; line-height: 1.4 !important; text-align: left !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .banner-btn { display: inline-flex !important; padding: 5px 9px !important; margin: 5px 0 0 0 !important; font-size: 9px !important; line-height: 1.2 !important; } /* ========================= BADGE / ARROWS ========================= */ .banner-badge, .carousel-control { display: none !important; } /* ========================= DOTS ========================= */ .carousel-dots { bottom: 8px !important; gap: 5px !important; z-index: 20 !important; } .dot { width: 6px !important; height: 6px !important; } .dot.active { width: 18px !important; } } /* ========================================================= SMALL MOBILE ========================================================= */ @media (max-width: 480px) { .banner-track { height: 200px !important; } .banner-content { top: 94px !important; width: 58% !important; left: 15px !important; width: 58% !important; } .banner-content h2 { font-size: 13px !important; } .banner-content p { font-size: 8px !important; width: 133px ; } .banner-tag { font-size: 7px !important; padding: 2px 4px !important; } .banner-btn { font-size: 8px !important; padding: 5px 8px !important; } }
/* ============== popup on inex page  ================ */
/* ==================== 7. SHOP BY CATEGORY CAROUSEL ==================== */
.shop-by-category-section {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}
.cat-slider-wrapper { position: relative; }

.category-cards-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 4px;
  scrollbar-width: none;
}
.category-cards-slider::-webkit-scrollbar { display: none; }

.cat-card {
  position: relative;
  min-width: 180px;
  max-width: 180px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 12px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  flex-shrink: 0;
}
.cat-card:hover {
  background: var(--white);
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.cat-discount-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #388e3c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  z-index: 2;
}

.cat-img-box {
  width: 100%;
  height: 140px;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cat-card:hover .cat-img { transform: scale(1.08); }
.cat-details { text-align: center; margin-top: auto; }
.cat-title { font-size: 13.5px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-start-price { font-size: 11.5px; color: var(--text-light); margin: 0; }
.cat-start-price span { font-size: 13.5px; font-weight: 800; color: #388e3c; }

.view-all-cat-card { justify-content: center; align-items: center; background: rgba(0, 143, 130, 0.05); border: 2px dashed var(--brand-teal); }
.view-all-circle { font-size: 42px; color: var(--brand-teal); margin-bottom: 8px; transition: transform 0.3s ease; }
.view-all-cat-card:hover .view-all-circle { transform: translateX(4px); }

.cat-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: var(--transition);
}
.cat-nav-btn:hover { background: var(--brand-teal); color: #ffffff; border-color: var(--brand-teal); }
.cat-prev-btn { left: -12px; }
.cat-next-btn { right: -12px; }

/* =========================================================
   SHOP BY CATEGORY - MOBILE SCROLLABLE VIEW (<= 991px)
   ========================================================= */
@media (max-width: 991px) {

  /* Section Outer Wrapper */
  .shop-by-category-section {
    padding: 14px 10px !important;
    margin-top: 14px !important;
    border-radius: 10px !important;
  }

  /* Slider Track for Smooth Touch Swiping */
  .category-cards-slider {
    gap: 10px !important;
    padding: 6px 2px !important;
    -webkit-overflow-scrolling: touch !important; /* iOS Smooth Scroll */
    scroll-snap-type: x mandatory !important;
  }

  /* Compact Mobile Category Card */
  .cat-card {
    min-width: 120px !important;
    max-width: 120px !important;
    padding: 8px !important;
    border-radius: 10px !important;
    scroll-snap-align: start !important;
  }

  /* Image Box Sizing */
  .cat-img-box {
    height: 95px !important;
    border-radius: 6px !important;
    margin-bottom: 6px !important;
  }

  /* Discount Tag Adjustment */
  .cat-discount-tag {
    top: 10px !important;
    left: 10px !important;
    font-size: 8.5px !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
  }

  /* Category Title Text */
  .cat-title {
    font-size: 11.5px !important;
    margin-bottom: 2px !important;
  }

  /* Price Text */
  .cat-start-price {
    font-size: 9.5px !important;
  }

  .cat-start-price span {
    font-size: 11.5px !important;
  }

  /* View All Card Sizing */
  .view-all-cat-card {
    min-width: 110px !important;
    max-width: 110px !important;
  }

  .view-all-circle {
    font-size: 28px !important;
    margin-bottom: 4px !important;
  }

  /* Hide Arrow Buttons on Mobile Devices */
  .cat-nav-btn,
  .cat-prev-btn,
  .cat-next-btn {
    display: none !important;
  }
}
/* =========================================================
   JUST FOR YOU SECTION - DESKTOP FIRST STYLES
   ========================================================= */

.just-for-you-section {
  background: var(--white, #ffffff);
  padding: 24px;
  border-radius: var(--radius-card, 12px);
  border: 1px solid var(--border-color, #e5e7eb);
  box-shadow: var(--shadow-sm, 0 2px 4px rgba(0,0,0,0.05));
  margin-top: 24px;
}

/* Header Styling */
.jfy-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
}

.jfy-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin: 0;
}

.jfy-subtitle {
  font-size: 13px;
  color: var(--text-light, #64748b);
  margin: 2px 0 0 0;
}

.jfy-view-all {
  color: var(--brand-teal, #0b8f83);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}

.jfy-view-all:hover {
  opacity: 0.8;
}

/* Desktop Grid View */
.jfy-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* Product Card Base */
.jfy-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.jfy-card:hover {
  border-color: var(--brand-teal, #0b8f83);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* Badge Styling */
.jfy-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand-teal, #0b8f83);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
}

.jfy-badge.offer {
  background: #d97706; /* Amber Orange */
}

.jfy-badge.hot {
  background: #ef4444; /* Crimson Red */
}

.jfy-badge.fresh {
  background: #16a34a; /* Vibrant Agro Green */
}

.jfy-badge.bestseller {
  background: #0284c7; /* Trust Sky Blue */
}

.jfy-badge.premium {
  background: #7c3aed; /* Premium Royal Purple */
}

/* Image Container */
.jfy-img-box {
  width: 100%;
  height: 160px;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jfy-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.jfy-card:hover .jfy-img {
  transform: scale(1.05);
}

/* Card Content Details */
.jfy-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.jfy-category {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.jfy-product-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main, #1e293b);
  margin: 0 0 8px 0;
  line-height: 1.35;
  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 35px;
}

/* Price Section */
.jfy-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.jfy-current-price {
  font-size: 15px;
  font-weight: 800;
  color: #15803d; /* Fresh Green */
}

.jfy-original-price {
  font-size: 11.5px;
  color: #94a3b8;
  text-decoration: line-through;
}

.jfy-discount {
  font-size: 10px;
  font-weight: 700;
  color: #dc2626;
  background: #fee2e2;
  padding: 1px 5px;
  border-radius: 3px;
}

/* Button Styling */
.jfy-add-btn {
  width: 100%;
  margin-top: auto;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jfy-add-btn:hover {
  background: var(--brand-teal, #0b8f83);
  color: #ffffff;
  border-color: var(--brand-teal, #0b8f83);
}

/* =========================================================
   MOBILE RESPONSIVE VIEW (<= 991px)
   ========================================================= */
@media (max-width: 991px) {

  .just-for-you-section {
    padding: 14px 10px !important;
    margin-top: 14px !important;
    border-radius: 10px !important;
  }

  .jfy-header {
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
  }

  .jfy-title {
    font-size: 16px !important;
  }

  .jfy-subtitle {
    font-size: 11px !important;
  }

  .jfy-view-all {
    font-size: 11.5px !important;
  }

  /* Grid turns into smooth horizontal Touch Slider */
  .jfy-products-grid {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding: 4px 2px 10px 2px !important;
    scrollbar-width: none !important; /* Firefox hidden scrollbar */
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
  }

  .jfy-products-grid::-webkit-scrollbar {
    display: none !important; /* Chrome/Safari hidden scrollbar */
  }

  /* Compact Touch Cards */
  .jfy-card {
    min-width: 145px !important;
    max-width: 145px !important;
    padding: 8px !important;
    border-radius: 8px !important;
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
  }

  .jfy-img-box {
    height: 110px !important;
    margin-bottom: 6px !important;
    border-radius: 6px !important;
  }

  .jfy-product-title {
    font-size: 11.5px !important;
    height: 32px !important;
    margin-bottom: 6px !important;
  }

  .jfy-current-price {
    font-size: 13px !important;
  }

  .jfy-original-price {
    font-size: 10px !important;
  }

  .jfy-discount {
    font-size: 8.5px !important;
    padding: 1px 4px !important;
  }

  .jfy-add-btn {
    padding: 6px 8px !important;
    font-size: 10.5px !important;
    border-radius: 5px !important;
  }
}
/* =========================================================
   RECENTLY VIEWED SECTION - DESKTOP & MOBILE RESPONSIVE
   ========================================================= */

.recently-viewed-section {
  background: var(--white, #ffffff);
  padding: 24px;
  border-radius: var(--radius-card, 12px);
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  margin-top: 24px;
}

.rv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
}

.rv-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin: 0;
}

.rv-subtitle {
  font-size: 12.5px;
  color: var(--text-light, #64748b);
  margin: 2px 0 0 0;
}

/* Desktop Grid View */
.rv-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.rv-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.rv-card:hover {
  border-color: var(--brand-teal, #0b8f83);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.rv-img-box {
  width: 100%;
  height: 130px;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.rv-card:hover .rv-img {
  transform: scale(1.05);
}

.rv-product-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 34px;
}

.rv-price {
  font-size: 14px;
  font-weight: 800;
  color: #15803d;
  margin: auto 0 0 0;
}

/* =========================================================
   MOBILE RESPONSIVE VIEW (<= 991px)
   ========================================================= */
@media (max-width: 991px) {

  .recently-viewed-section {
    padding: 14px 10px !important;
    margin-top: 14px !important;
    border-radius: 10px !important;
  }

  .rv-header {
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
  }

  .rv-title {
    font-size: 16px !important;
  }

  .rv-subtitle {
    font-size: 11px !important;
  }

  /* Flipkart Style Mobile Touch Slider */
  .rv-products-grid {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding: 4px 2px 8px 2px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
  }

  .rv-products-grid::-webkit-scrollbar {
    display: none !important;
  }

  .rv-card {
    min-width: 130px !important;
    max-width: 130px !important;
    padding: 8px !important;
    border-radius: 8px !important;
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
  }

  .rv-img-box {
    height: 95px !important;
    margin-bottom: 6px !important;
  }

  .rv-product-title {
    font-size: 11px !important;
    height: 30px !important;
  }

  .rv-price {
    font-size: 12.5px !important;
  }
}

/* =========================================================
   MAIN PRODUCTS GRID (DESKTOP: 4 COL | MOBILE: 2 COL)
   ========================================================= */
/* =========================================================
   MAIN PRODUCTS SECTION (DESKTOP: 4 COL | MOBILE: 2 COL)
   ========================================================= */

.main-products-section {
  background: var(--white, #ffffff);
  padding: 24px;
  border-radius: var(--radius-card, 12px);
  border: 1px solid var(--border-color, #e2e8f0);
  margin-top: 24px;
}

.mp-header {
  margin-bottom: 20px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
}

.mp-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin: 0;
}

.mp-subtitle {
  font-size: 13px;
  color: var(--text-light, #64748b);
  margin: 4px 0 0 0;
}

/* Desktop Layout: 4 Columns */
.mp-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mp-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.mp-card:hover {
  border-color: var(--brand-teal, #0b8f83);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.mp-img-box {
  width: 100%;
  height: 160px;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mp-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.mp-card:hover .mp-img {
  transform: scale(1.05);
}

.mp-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mp-category {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.mp-product-title {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 6px 0;
  line-height: 1.35;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mp-product-title a {
  color: #1e293b;
  text-decoration: none;
}

/* Flipkart Style Rating Badge */
.mp-rating-box {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.mp-rating-badge {
  background: #388e3c; /* Green Badge */
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.mp-rating-badge i {
  font-size: 8px;
}

.mp-rating-count {
  font-size: 11px;
  color: #878787;
  font-weight: 600;
}

/* Pricing Row */
.mp-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mp-current-price {
  font-size: 16px;
  font-weight: 800;
  color: #15803d;
}

.mp-original-price {
  font-size: 11.5px;
  color: #94a3b8;
  text-decoration: line-through;
}

.mp-discount {
  font-size: 9.5px;
  font-weight: 700;
  color: #dc2626;
  background: #fee2e2;
  padding: 1px 5px;
  border-radius: 3px;
}

.mp-add-btn {
  width: 100%;
  margin-top: auto;
  background: #0b8f83;
  color: #ffffff;
  border: none;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mp-add-btn:hover {
  background: #05554e;
}

/* Spinner Loader Styling */
.mp-loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 0 10px 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.mp-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #e2e8f0;
  border-top: 3px solid #0b8f83;
  border-radius: 50%;
  animation: mpSpin 0.8s linear infinite;
}

@keyframes mpSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.mp-end-msg {
  text-align: center;
  padding: 20px 0 10px 0;
  color: #94a3b8;
  font-size: 13px;
}

/* =========================================================
   MOBILE RESPONSIVE (Exact 2 Columns Layout)
   ========================================================= */
@media (max-width: 768px) {
  .main-products-section {
    padding: 12px 8px !important;
    margin-top: 14px !important;
  }

  .mp-products-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* Mobile: 2 Columns */
    gap: 8px !important;
  }

  .mp-card {
    padding: 8px !important;
  }

  .mp-img-box {
    height: 120px !important;
  }

  .mp-product-title {
    font-size: 11.5px !important;
    height: 32px !important;
  }

  .mp-rating-badge {
    font-size: 9px !important;
    padding: 1px 4px !important;
  }

  .mp-rating-count {
    font-size: 9.5px !important;
  }

  .mp-current-price {
    font-size: 14px !important;
  }

  .mp-add-btn {
    padding: 7px 6px !important;
    font-size: 11px !important;
  }
}

/* =========================================================
   WHAT OUR CUSTOMERS SAY (REVIEWS SECTION)
   ========================================================= */

.mp-reviews-section {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-top: 28px;
}

/* Grid Layout: Desktop 4 Cols, Mobile 2 Cols */
.mp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mp-review-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.mp-review-card:hover {
  border-color: #0b8f83;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

.mp-review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mp-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0b8f83;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.mp-user-info {
  display: flex;
  flex-direction: column;
}

.mp-user-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.mp-verified-badge {
  font-size: 10px;
  color: #16a34a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

.mp-review-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mp-review-date {
  font-size: 11px;
  color: #94a3b8;
}

.mp-review-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.mp-review-text {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mobile Screen Layout (Exact 2 Columns) */
@media (max-width: 768px) {
  .mp-reviews-section {
    padding: 14px 10px !important;
    margin-top: 16px !important;
  }

  .mp-reviews-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .mp-review-card {
    padding: 10px !important;
  }

  .mp-user-avatar {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
  }

  .mp-user-name {
    font-size: 11.5px !important;
  }

  .mp-verified-badge {
    font-size: 9px !important;
  }

  .mp-review-title {
    font-size: 11.5px !important;
  }

  .mp-review-text {
    font-size: 10.5px !important;
    -webkit-line-clamp: 3;
  }
}
/* =========================================================
   REVIEWS BUTTON & MODAL POPUP STYLING
   ========================================================= */

/* View All Reviews Button Container */
.mp-reviews-footer {
  text-align: center;
  margin-top: 20px;
}

.mp-view-reviews-btn {
  background: #ffffff;
  color: #0b8f83;
  border: 1.5px solid #0b8f83;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mp-view-reviews-btn:hover {
  background: #0b8f83;
  color: #ffffff;
}

/* Overlay Background */
.mp-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Popup Main Card */
.mp-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 650px;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalFadeIn 0.25s ease;
}

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

/* Modal Header */
.mp-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.mp-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.mp-modal-subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 2px 0 0 0;
}

.mp-modal-close-btn {
  background: none;
  border: none;
  font-size: 26px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

.mp-modal-close-btn:hover {
  color: #0f172a;
}

/* Scrollable Modal Body */
.mp-modal-body {
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mp-modal-review-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
}

.mp-modal-review-item .mp-review-header {
  margin-bottom: 6px;
}

.mp-modal-review-item .mp-review-date {
  margin-left: auto;
}

/* Mobile Responsiveness for Modal */
@media (max-width: 768px) {
  .mp-modal-box {
    max-height: 90vh !important;
  }
  
  .mp-modal-header, .mp-modal-body {
    padding: 12px 14px !important;
  }
  
  .mp-view-reviews-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   FREQUENTLY ASKED QUESTIONS (FAQ ACCORDION)
   ========================================================= */

.mp-faq-section {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-top: 28px;
}

.mp-faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.mp-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.mp-faq-item.active {
  border-color: #0b8f83;
}

.mp-faq-question {
  width: 100%;
  background: #f8fafc;
  border: none;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mp-faq-item.active .mp-faq-question {
  background: #ffffff;
  color: #0b8f83;
}

.mp-faq-icon {
  font-size: 12px;
  color: #64748b;
  transition: transform 0.3s ease;
}

.mp-faq-item.active .mp-faq-icon {
  transform: rotate(180deg);
  color: #0b8f83;
}

.mp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #ffffff;
  padding: 0 18px;
}

.mp-faq-item.active .mp-faq-answer {
  max-height: 200px;
  padding: 0 18px 14px 18px;
}

.mp-faq-answer p {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .mp-faq-section {
    padding: 14px 10px !important;
    margin-top: 16px !important;
  }

  .mp-faq-question {
    padding: 12px 14px !important;
    font-size: 12.5px !important;
  }

  .mp-faq-answer p {
    font-size: 11.5px !important;
  }
}
/* ==================== 8. DIRECT ENQUIRY MODAL POPUP ==================== */

/* Floating Trigger Button */
.floating-enquiry-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--brand-teal, #008f82);
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 143, 130, 0.4);
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.floating-enquiry-trigger:hover { 
  background: #007066; 
  transform: translateY(-3px) scale(1.03); 
}

/* Modal Overlay Layer */
.enquiry-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center; /* Center aligned for Desktop */
  justify-content: center;
  padding: 20px 16px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
  overflow-y: auto;
}

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

/* Modal Content Card (Desktop Base Design) */
.enquiry-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(15px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  margin: 0 auto;
}

/* Custom Smooth Scrollbar */
.enquiry-modal-card::-webkit-scrollbar {
  width: 4px;
}
.enquiry-modal-card::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.enquiry-modal-overlay.active .enquiry-modal-card { 
  transform: translateY(0); 
}

/* Close Button */
.close-modal-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 10;
}
.close-modal-btn:hover { 
  background: #ef4444; 
  color: #ffffff; 
  transform: rotate(90deg);
}

/* Modal Header */
.modal-header-block { 
  text-align: center; 
  margin-bottom: 18px; 
  padding-right: 10px;
}
.enquiry-badge { 
  background: rgba(0, 143, 130, 0.1); 
  color: var(--brand-teal, #008f82); 
  font-size: 11px; 
  font-weight: 700; 
  padding: 4px 10px; 
  border-radius: 12px; 
  display: inline-block; 
  margin-bottom: 6px; 
}
.modal-header-block h3 { 
  font-size: 20px; 
  font-weight: 800; 
  color: #0f172a; 
  margin: 0 0 4px 0; 
}
.modal-header-block p { 
  font-size: 12.5px; 
  color: #64748b; 
  margin: 0; 
}

/* Quick Action Buttons */
.quick-contact-strip { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 10px; 
  margin-bottom: 16px; 
}
.quick-btn { 
  padding: 10px; 
  border-radius: 8px; 
  font-size: 12.5px; 
  font-weight: 700; 
  text-decoration: none; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 6px; 
  color: #ffffff; 
  transition: opacity 0.2s, transform 0.2s; 
}
.whatsapp-btn { background: #25d366; }
.call-btn { background: var(--brand-teal, #008f82); }
.quick-btn:hover { 
  opacity: 0.92; 
  transform: translateY(-1px);
}

/* Divider */
.modal-divider { 
  text-align: center; 
  position: relative; 
  margin: 16px 0; 
}
.modal-divider::before { 
  content: ""; 
  position: absolute; 
  top: 50%; 
  left: 0; 
  right: 0; 
  height: 1px; 
  background: #e2e8f0; 
}
.modal-divider span { 
  position: relative; 
  background: #ffffff; 
  padding: 0 10px; 
  font-size: 10px; 
  font-weight: 700; 
  color: #94a3b8; 
  letter-spacing: 0.5px; 
}

/* Form Controls */
.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 10px; 
}
.form-group { 
  margin-bottom: 12px; 
  text-align: left; 
}
.form-group label { 
  display: block; 
  font-size: 12px; 
  font-weight: 600; 
  color: #334155; 
  margin-bottom: 4px; 
}
.form-group input, 
.form-group select, 
.form-group textarea { 
  width: 100%; 
  padding: 9px 12px; 
  border-radius: 8px; 
  border: 1px solid #cbd5e1; 
  font-size: 13px; 
  outline: none; 
  background: #f8fafc; 
  box-sizing: border-box; 
  transition: border-color 0.2s, background-color 0.2s;
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus { 
  border-color: var(--brand-teal, #008f82); 
  background: #ffffff; 
  box-shadow: 0 0 0 3px rgba(0, 143, 130, 0.12);
}

/* Submit Button */
.submit-enquiry-btn {
  width: 100%;
  background: var(--brand-orange, #ff8f00);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}
.submit-enquiry-btn:hover:not(:disabled) { 
  background: #d97706; 
  transform: translateY(-1px);
}
.submit-enquiry-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
}

/* Modal Alert Notification Boxes */
.enquiry-alert {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: modalFadeIn 0.3s ease-out;
}
.enquiry-alert i {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.enquiry-alert strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 2px;
}
.enquiry-alert p {
  margin: 0;
  font-size: 12px;
}
.enquiry-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.enquiry-alert-success i {
  color: #059669;
}
.enquiry-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.enquiry-alert-danger i {
  color: #dc2626;
}
.spin {
  display: inline-block;
  animation: spinLoader 0.9s linear infinite;
}
@keyframes spinLoader {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Custom Category Dropdown with Images */
.category-select-custom {
  position: relative;
  width: 100%;
}
.category-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}
.category-select-trigger:hover,
.category-select-trigger.is-active {
  border-color: var(--brand-teal, #008f82);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 143, 130, 0.12);
}
.category-select-trigger.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}
.selected-category-display {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.selected-category-display .placeholder-text {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
}
.selected-category-display .selected-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}
.category-select-trigger .arrow-icon {
  font-size: 11px;
  color: #64748b;
  transition: transform 0.2s ease;
  margin-left: 8px;
}
.category-select-custom.is-open .arrow-icon {
  transform: rotate(180deg);
  color: var(--brand-teal, #008f82);
}
.category-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-height: 220px;
  overflow-y: auto;
  z-index: 110;
  display: none;
  padding: 6px;
}
.category-select-custom.is-open .category-select-menu {
  display: block;
  animation: modalFadeIn 0.2s ease-out;
}
.category-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.category-select-option:hover,
.category-select-option.is-selected {
  background: #f0fdfa;
}
.category-select-option.is-selected .cat-dropdown-title {
  color: var(--brand-teal, #008f82);
  font-weight: 700;
}
.cat-dropdown-thumb {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  flex-shrink: 0;
}
.cat-dropdown-thumb-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 13px;
  flex-shrink: 0;
}
.cat-dropdown-title {
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  flex: 1;
}

/* Inline Field Validation Error States */
.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}
.field-error-msg {
  font-size: 11.5px;
  color: #dc2626;
  margin-top: 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: modalFadeIn 0.2s ease-out;
}

/* ==================== RESPONSIVE MEDIA QUERIES ==================== */



/* Tablet & iPad Optimization (max-width: 768px) */
@media (max-width: 768px) {
  .enquiry-modal-overlay {
    padding-top: 80px; /* Header clearance */
  }

  .floating-enquiry-trigger {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px;
    padding: 9px 14px;
    font-size: 12.5px;
  }
}

/* Android & iPhone Small Screens Optimization (max-width: 480px) */
@media (max-width: 480px) {
  .enquiry-modal-overlay {
    padding: 60px 12px 12px 12px; /* Top space for sticky header */
    align-items: center;
  }

  /* Compact Container for Mobile View */
  .enquiry-modal-card {
    padding: 16px 14px;
    border-radius: 14px;
    max-height: calc(100vh - 80px);
    margin-bottom: env(safe-area-inset-bottom, 0px); /* iPhone notch/bar fix */
  }

  /* Compact Header */
  .modal-header-block {
    margin-bottom: 12px;
  }

  .enquiry-badge {
    font-size: 10px;
    padding: 3px 8px;
    margin-bottom: 4px;
  }

  .modal-header-block h3 {
    font-size: 17px;
  }

  .modal-header-block p {
    font-size: 11.5px;
  }

  /* Action Buttons (WhatsApp / Call) */
  .quick-contact-strip {
    gap: 8px;
    margin-bottom: 10px;
  }

  .quick-btn {
    padding: 8px;
    font-size: 11.5px;
    border-radius: 6px;
  }

  .modal-divider {
    margin: 10px 0;
  }

  .modal-divider span {
    font-size: 9px;
  }

  /* Form Elements - Compact Sizing */
  .form-row {
    gap: 8px;
  }

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

  .form-group label {
    font-size: 11px;
    margin-bottom: 2px;
  }

  .form-group input, 
  .form-group select, 
  .form-group textarea {
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 6px;
  }

  .form-group textarea {
    rows: 2;
    height: 52px;
  }

  /* Submit Button */
  .submit-enquiry-btn {
    padding: 10px;
    font-size: 13px;
    border-radius: 6px;
  }

  /* Compact Close Button */
  .close-modal-btn {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  /* Mobile Floating Button */
  .floating-enquiry-trigger {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
    padding: 8px 13px !important;
    font-size: 11.5px !important;
  }
}

/* ==================== 9. INTEGRATED SITE FOOTER ==================== */
.main-footer {
  background-color: var(--brand-teal-dark);
  color: var(--white);
  padding: var(--space-6) 0 var(--space-4) 0;
  margin-top: var(--space-7);
}

.footer-grid-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col { text-align: left; }
.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-4);
  color: var(--white);
}

.footer-col-header-accordion {
  display: none;
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  padding: var(--space-3) 0;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.footer-col-header-accordion i { font-size: 12px; transition: transform 300ms ease; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); text-align: left; }
.footer-links-list li a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14px; display: inline-block; transition: var(--transition); }
.footer-links-list li a:hover { color: var(--white); transform: translateX(3px); }
.footer-contact-body { text-align: left; }
.contact-meta-block { margin-bottom: var(--space-3); text-align: left; }
.contact-meta-block label { display: block; font-size: 11px; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); font-weight: 600; margin-bottom: 2px; }
.contact-meta-block p, .contact-meta-block a { font-size: 14px; color: var(--white); text-decoration: none; line-height: 1.4; }

.footer-bottom-strip { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-4); font-size: 14px; }
.footer-bottom-left { display: flex; align-items: center; gap: var(--space-5); }
.start-sell-link { color: var(--brand-orange); font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: var(--space-1); text-transform: uppercase; }
.footer-social-wrap { display: flex; align-items: center; gap: var(--space-3); }
.footer-social-wrap a { color: var(--white); font-size: 18px; }
.footer-gateways { display: flex; gap: var(--space-2); }

.gateway-card {
  background: var(--white);
  padding: 4px var(--space-2);
  border-radius: 4px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gateway-card img { height: 14px; object-fit: contain; }
/* ==================== FLIPKART STYLE MOBILE FOOTER (SAME COLOR) ==================== */
@media (max-width: 768px) {
  
  /* Main Container Adjustment */
  .main-footer {
    background-color: #005d52 !important; /* Aapka original Teal Theme Color */
    padding: 16px 10px 75px 10px !important; /* Mobile App Nav bar space */
  }

  .ecom-container {
    padding: 0 4px !important;
  }

  /* 5 Desktop Columns ko 2-Column Grid Card Layout me convert karega */
  .footer-grid-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding-bottom: 12px;
  }

  /* Glassmorphism Compact Cards */
  .footer-col {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 10px 8px !important;
  }

  /* Column 4 (CONTACT US) ko Full Width (Span 2) banayega */
  .footer-col:nth-child(4) {
    grid-column: span 2 !important;
    background: rgba(0, 0, 0, 0.12) !important;
  }

  /* Headings with Modern Indicator Line */
  .footer-col h4 {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px !important;
    padding-bottom: 4px !important;
    border-bottom: 2px solid #ff9f00 !important; /* Premium Accent Bar */
    display: inline-block;
  }

  /* Clean Link Styling */
  .footer-links-list {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 4px !important;
  }

  .footer-links-list li a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 11px !important;
    text-decoration: none;
    font-weight: 400;
    line-height: 1.3;
    display: block;
  }

  /* Contact Us Block inside Card */
  .footer-contact-body {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .contact-meta-block {
    margin: 0 !important;
  }

  .contact-meta-block:nth-child(3) {
    grid-column: span 2 !important; /* Address full width */
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    padding-top: 6px;
  }

  .contact-meta-block label {
    font-size: 9px !important;
    color: #ff9f00 !important;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
  }

  .contact-meta-block a, 
  .contact-meta-block p {
    font-size: 10.5px !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    word-break: break-word;
  }

  /* Bottom Strip Styling */
  .footer-bottom-strip {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: center !important;
    background: rgba(0, 0, 0, 0.2) !important;
    padding: 10px !important;
    border-radius: 8px !important;
    margin-top: 4px;
  }

  .footer-bottom-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .start-sell-link {
    background: #ff9f00 !important;
    color: #000000 !important;
    font-size: 11px !important;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    text-transform: uppercase;
  }

  .footer-social-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.8);
  }

  .footer-social-wrap a {
    color: #ffffff !important;
    font-size: 13px !important;
  }

  .footer-gateways {
    display: flex;
    gap: 6px;
  }

  .gateway-card {
    background: #ffffff;
    padding: 2px 4px;
    border-radius: 3px;
  }

  .gateway-card img {
    height: 12px;
  }

  .footer-copyright {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.6) !important;
  }
}
/* =========== End Footer css with reponsive ============== */

/* ============================== */
/* mobile css all secction heere start */

/* ==================== DESKTOP RESET ==================== */
.mobile-bottom-nav {
    display: none !important; /* Desktop view par bilkul hide rahega */
}

/* ==================== ONLY MOBILE VIEW (MAX-WIDTH: 991PX) ==================== */
@media (max-width: 991px) {

    /* Bottom Nav Sticky Bar */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 56px;
        background: #ffffff;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
        z-index: 9999;
        justify-content: space-around;
        align-items: center;
    }
   

    /* Individual Item Styling */
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #616161;
        font-size: 11px;
        font-weight: 500;
        flex: 1;
        height: 100%;
        transition: color 0.2s ease;
    }

    .mobile-nav-item i {
        font-size: 19px;
        margin-bottom: 2px;
    }

    /* Active & Hover States */
    .mobile-nav-item.active,
    .mobile-nav-item:hover {
        color: #00897b; /* Aapka Theme Teal Color */
    }

    /* Cart & Wishlist Icon Badge Adjustment */
    .bottom-cart-icon-wrap,
    .bottom-wishlist-icon-wrap {
        position: relative;
        display: inline-block;
    }

    .bottom-cart-badge {
        position: absolute;
        top: -4px;
        right: -8px;
        background: #ff6f00;
        color: #ffffff;
        font-size: 9px;
        font-weight: 700;
        border-radius: 50%;
        padding: 1px 4px;
        line-height: 1;
    }

    .bottom-wishlist-badge {
        position: absolute;
        top: -4px;
        right: -8px;
        background: #e11d48;
        color: #ffffff;
        font-size: 9px;
        font-weight: 700;
        border-radius: 50%;
        padding: 1px 4px;
        line-height: 1;
    }

    /* Prevent Page Content overlap at bottom */
    body {
        padding-bottom: 56px !important;
    }
}
/* =========================================================
   FINAL HEADER / PAGE OVERLAP FIX
   ---------------------------------------------------------
   The original desktop header is position: fixed while the
   page also uses a fixed body padding-top. That combination
   was making the PDP/page content slide underneath the
   header on desktop.

   Desktop:
   - Header participates in normal document flow.
   - No artificial body top padding.
   - Page content starts naturally below the whole header.

   Mobile:
   - Keep the existing fixed mobile header behavior.
   - Keep the existing 75px mobile clearance.
   ========================================================= */

/* ---------- DESKTOP: REMOVE HEADER OVERLAP ---------- */
@media (min-width: 992px) {

    html,
    body {
        padding-top: 0 !important;
        margin: 0 !important;
        overflow-x: clip !important;
    }

    .header-fixed-scope {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        z-index: 1000 !important;
    }

    /* Make sure all header rows stay inside the normal flow */
    .top-bar,
    .header-main-row,
    .categories-navigation-bar {
        position: relative !important;
    }

    /* PDP/list/content must never be pulled upward */
    main.ecom-container,
    .pdp-layout,
    .listing-wrapper {
        position: relative !important;
        top: auto !important;
        transform: none !important;
    }

    /* Remove old PDP negative offsets if any older CSS exists */
    .pdp-layout {
        margin-top: 20px !important;
    }
}


/* ---------- TABLET / MOBILE: KEEP FIXED HEADER SAFE ---------- */
@media (max-width: 991px) {

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    /*
      Existing mobile header is fixed.
      Keep the existing clearance already defined in the
      original mobile CSS instead of changing the mobile
      design that is currently working.
    */
    .header-fixed-scope {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: 1000 !important;
    }

    .pdp-layout,
    main.ecom-container {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        max-width: 100% !important;
    }

    /* Prevent fixed mobile header from covering PDP/list content */
    main.ecom-container {
        margin-top: 20px !important;
    }
}


/* ---------- PDP SPECIFIC FINAL SAFETY ---------- */
.pdp-layout,
.pdp-layout * {
    box-sizing: border-box;
}

.pdp-layout {
    width: 100% !important;
    max-width: 1440px !important;
    min-width: 0 !important;
}

.pdp-layout .gallery-sticky-column,
.pdp-layout .details-scroll-column,
.pdp-layout .detail-card-block {
    min-width: 0 !important;
    max-width: 100% !important;
}

.pdp-layout img {
    max-width: 100% !important;
}


/* ---------- NEVER LET THE FIRST PDP ROW HIDE UNDER HEADER ---------- */
@media (min-width: 992px) {
    .pdp-layout > .details-scroll-column {
        position: relative !important;
        z-index: 1 !important;
    }
}


/* ---------- MOBILE BOTTOM NAV CLEARANCE ---------- */
@media (max-width: 991px) {
    body {
        padding-bottom: 56px !important;
    }
}

/* ======================================================
   LIVE SEARCH AUTOCOMPLETE DROPDOWN STYLING
   ====================================================== */
.search-container {
    position: relative !important;
}

.live-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    max-height: 420px;
    overflow-y: auto;
    display: none;
    text-align: left;
    scrollbar-width: thin;
}

.live-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-search-count {
    background: #E2E8F0;
    color: #334155;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 11px;
}

.live-search-category-banner {
    padding: 8px 14px;
    background: #e6f4f2;
    border-bottom: 1px solid #cce8e4;
    font-size: 13px;
}

.live-search-category-banner a {
    color: var(--brand-teal, #008f82);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.live-search-category-banner a:hover {
    color: var(--brand-teal-dark, #05554E);
    text-decoration: underline;
}

.live-search-list {
    display: flex;
    flex-direction: column;
}

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

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

.live-search-item:hover,
.live-search-item.active {
    background: #F8FAFC;
}

.live-search-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.live-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.live-search-info {
    flex: 1;
    min-width: 0;
}

.live-search-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-search-title .match-highlight {
    color: var(--brand-teal, #008f82);
    font-weight: 700;
    background: rgba(0, 143, 130, 0.08);
    padding: 0 2px;
    border-radius: 2px;
}

.live-search-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
}

.live-search-price {
    color: var(--brand-teal, #008f82);
    font-weight: 700;
}

.live-search-mrp {
    color: #94A3B8;
    text-decoration: line-through;
    font-size: 11.5px;
}

.live-search-discount {
    background: #FEF3C7;
    color: #D97706;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 700;
}

.live-search-cat {
    background: #F1F5F9;
    color: #64748B;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
}

.live-search-action {
    color: #94A3B8;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.15s ease, color 0.15s ease;
}

.live-search-item:hover .live-search-action {
    transform: translateX(3px);
    color: var(--brand-teal, #008f82);
}

.live-search-footer {
    padding: 10px 14px;
    background: #ffffff;
    text-align: center;
    border-top: 1px solid #E2E8F0;
    font-size: 12.5px;
    font-weight: 600;
}

.live-search-footer a {
    color: var(--brand-teal, #008f82);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.live-search-footer a:hover {
    text-decoration: underline;
}

.live-search-empty {
    padding: 24px 16px;
    text-align: center;
    color: #64748B;
}

.live-search-empty i {
    font-size: 26px;
    color: #94A3B8;
    margin-bottom: 6px;
    display: block;
}

.live-search-empty p {
    font-size: 12px;
    margin: 4px 0 0 0;
    color: #94A3B8;
}

.live-search-loading {
    padding: 20px 16px;
    text-align: center;
    color: #64748B;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spin-icon {
    display: inline-block;
    animation: liveSearchSpin 0.75s linear infinite;
}

@keyframes liveSearchSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   DYNAMIC POLICY POPUP MODAL STYLES
   ========================================================================== */
.policy-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.policy-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: policyModalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

@keyframes policyModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.policy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.policy-modal-title {
    color: #0b8f83;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.policy-close-btn {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
    padding: 0;
    transition: color 0.2s;
}

.policy-close-btn:hover {
    color: #0f172a;
}

.policy-modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    color: #334155;
    font-size: 14.5px;
    line-height: 1.7;
    text-align: left;
}

.policy-modal-body p {
    margin-bottom: 14px;
}

.policy-modal-body h1,
.policy-modal-body h2,
.policy-modal-body h3,
.policy-modal-body h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 10px;
}

.policy-modal-body ul,
.policy-modal-body ol {
    margin-bottom: 16px;
    padding-left: 20px;
}

.policy-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.policy-fullscreen-btn {
    font-size: 13px;
    font-weight: 600;
    color: #0b8f83;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.policy-fullscreen-btn:hover {
    color: #086a61;
    text-decoration: underline;
}

.policy-close-action-btn {
    background: #0b8f83;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 7px 18px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.policy-close-action-btn:hover {
    background: #086a61;
}

@media (max-width: 600px) {
    .policy-modal-box {
        max-height: 90vh;
        border-radius: 10px;
    }
    .policy-modal-header {
        padding: 14px 18px;
    }
    .policy-modal-title {
        font-size: 16px;
    }
    .policy-modal-body {
        padding: 18px 20px;
        font-size: 13.5px;
    }
    .policy-modal-footer {
        padding: 12px 18px;
    }
}
