/* Ayurvedic Jadi Buti & Organica Modern eCommerce Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #2D6A4F;
    --primary-hover: #1B4332;
    --primary-light: #E8F5E9;
    --secondary-color: #D4A373;
    --accent-color: #E76F51;
    --dark-color: #1A252C;
    --gray-bg: #F8F9FA;
    --border-color: #E2E8F0;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 40px rgba(45, 106, 79, 0.12);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: #2B2D42;
    background-color: #FAF9F6;
    overflow-x: hidden;
    margin-bottom: 0 !important;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
}

/* Navbar & Header */
.custom-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 1rem 0;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-title-styled {
    font-family: 'Cinzel', 'Philosopher', 'Marcellus', serif;
    font-weight: 800;
    letter-spacing: 0.6px;
    background: linear-gradient(135deg, #15803d 0%, #065f46 50%, #166534 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    line-height: 1.15;
    display: inline-block;
}

.brand-sub-tagline {
    font-family: 'Marcellus', serif;
    font-size: 0.62rem;
    letter-spacing: 1.6px;
    color: #047857;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    line-height: 1;
    margin-top: 1px;
}

.brand-logo i {
    color: var(--secondary-color);
}

.nav-link-custom {
    font-weight: 600;
    color: #4A5568 !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
}

.nav-link-custom:hover {
    color: var(--primary-color) !important;
}

.cart-btn {
    position: relative;
    background: var(--primary-light);
    color: var(--primary-color);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}



.hero-banner-full {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.hero-button-overlay {
    z-index: 5;
}

.hero-button-overlay .btn {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #1a252c !important;
    font-weight: 700;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}

.hero-button-overlay .btn:hover {
    transform: translateY(-3px);
    background-color: #ffca28 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
}

.hero-pagination {
    bottom: 10px !important;
}

.hero-pagination .swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.6;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 22px;
    border-radius: 10px;
    background: #F4A261 !important;
}

.hero-prev, .hero-next {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.25);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.hero-prev:after, .hero-next:after {
    font-size: 14px !important;
    font-weight: bold;
}

.hero-prev:hover, .hero-next:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

/* Swiper Category & Product Carousels */
.swiper-category-carousel {
    padding-bottom: 22px !important;
}

.swiper-product-carousel {
    padding-bottom: 12px !important;
}

.category-pagination {
    bottom: 0px !important;
}

.category-pagination .swiper-pagination-bullet {
    background: #2D6A4F !important;
    opacity: 0.35;
    width: 6px;
    height: 6px;
    transition: all 0.3s ease;
}

.category-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 16px;
    border-radius: 8px;
    background: #2D6A4F !important;
}

.hero-title {
    font-size: clamp(1.2rem, 3.2vw, 2.2rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
    overflow: visible;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 1.2vw, 1.05rem) !important;
    line-height: 1.45 !important;
    opacity: 0.92;
    margin-bottom: 0.75rem !important;
    overflow: visible;
}

.hero-extra-line {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.hero-badge {
    background: rgba(212, 163, 115, 0.25);
    color: #F4A261;
    border: 1px solid rgba(212, 163, 115, 0.4);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-banner-img {
    max-height: 195px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: cover !important;
}

@media (max-width: 991.98px) {
    .hero-banner {
        padding: 1rem 1.25rem !important;
    }
    .hero-title {
        font-size: 1.25rem !important;
    }
    .hero-banner-img {
        max-height: 150px !important;
    }
}

@media (max-width: 575.98px) {
    .hero-banner {
        padding: 0.85rem 0.95rem !important;
    }
    .hero-title {
        font-size: 1.05rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.25rem !important;
    }
}

/* Mobile Sticky Header Row Styles */
.mobile-sticky-header-row {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    padding: 6px 8px !important;
}

.mobile-header-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 50% !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8f9fa !important;
    font-size: 0.95rem !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.mobile-header-btn:hover,
.mobile-header-btn:focus,
.mobile-header-btn:active {
    background: #e2e8f0 !important;
    color: #1B4332 !important;
}

.mobile-search-group input {
    font-size: 0.85rem !important;
    padding-left: 10px !important;
}

/* Category Cards - Full-Width Top Banner Rectangular Layout */
.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
}

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

.category-card-img-wrap {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
}

.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.4s ease;
    display: block;
}

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

.category-card-title-wrap {
    padding: 1rem;
    text-align: center;
    background: white;
}

.category-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color, #2d3748);
    transition: color 0.3s ease;
    text-align: center;
    margin-bottom: 0;
}

.category-card:hover .category-card-title {
    color: var(--primary-color);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--card-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

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

/* Product Card Quantity Stepper - Fixed Non-wrapping Single-Row Layout */
.card-stepper-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

.card-stepper {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    border-radius: 50rem !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    overflow: hidden !important;
    background: #f8f9fa !important;
    width: 105px !important;
    min-width: 105px !important;
    max-width: 110px !important;
    flex-shrink: 0 !important;
    height: 36px !important;
    padding: 2px !important;
}

.card-stepper-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    border: none !important;
    background: #ffffff !important;
    color: #2d3748 !important;
    border-radius: 50% !important;
    font-weight: bold !important;
    font-size: 0.9rem !important;
    line-height: 1 !important;
    padding: 0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    transition: background-color 0.2s ease !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

.card-stepper-btn:hover {
    background-color: #e2e8f0 !important;
}

.card-stepper-input {
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    color: var(--primary-color, #16a34a) !important;
    padding: 0 4px !important;
    white-space: nowrap !important;
    min-width: 36px !important;
    flex-grow: 1 !important;
    box-shadow: none !important;
    outline: none !important;
}

.product-badge-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
}

.product-badge-type {
    display: none !important;
}

.product-badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #E53E3E;
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.product-img-wrap {
    height: 150px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #F8FAF8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.product-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    width: 100%;
    flex-wrap: wrap;
}

.price-tag {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    white-space: nowrap;
    flex-shrink: 0;
}

.mrp-tag {
    font-size: 0.88rem;
    color: #94A3B8;
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;
    margin-left: 2px;
}

.unit-info {
    font-size: 0.75rem;
    color: #4A5568;
    font-weight: 700;
    background: #EDF2F7;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.2;
    flex-shrink: 0;
}

/* Custom Buttons */
.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.3);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 0.65rem 1.4rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
}

/* Weight Selector Pill */
.weight-step-control {
    display: inline-flex;
    align-items: center;
    background: var(--primary-light);
    border-radius: 50px;
    padding: 4px;
    border: 1px solid rgba(45, 106, 79, 0.2);
}

.weight-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: justify;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.weight-input {
    width: 60px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    color: var(--primary-color);
}

/* Cart Summary Card */
.cart-summary-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

/* Footer */
.footer-custom {
    background: #111827;
    color: #9CA3AF;
    padding: 4rem 0 2rem 0;
    margin-top: 5rem;
}

.footer-custom h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-custom a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-custom a:hover {
    color: white;
}

/* Multilingual & RTL Support Styling */
html[lang="hi"] body {
    font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;
}

html[lang="ur"] body {
    font-family: 'Noto Naskh Arabic', 'Noto Sans Devanagari', sans-serif;
}

html[dir="rtl"] {
    text-align: right;
}

html[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

html[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .ms-1, html[dir="rtl"] .ms-2, html[dir="rtl"] .ms-3, html[dir="rtl"] .ms-4 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

html[dir="rtl"] .me-1, html[dir="rtl"] .me-2, html[dir="rtl"] .me-3, html[dir="rtl"] .me-4 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .pe-5 {
    padding-left: 3rem !important;
    padding-right: 1rem !important;
}

html[dir="rtl"] .search-btn-icon {
    left: 0 !important;
    right: auto !important;
}

html[dir="rtl"] .cart-badge {
    left: -4px;
    right: auto;
}

html[dir="rtl"] .dropdown-menu-end {
    right: auto !important;
    left: 0 !important;
}

/* Mobile Responsiveness Rules (max-width: 768px) */
@media (max-width: 768px) {
    /* Mobile Category Horizontal Slider (Exactly 3.5 items visible) */
    .category-slider-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding-bottom: 6px !important;
        margin-left: -4px !important;
        margin-right: -4px !important;
    }

    .category-slider-row::-webkit-scrollbar {
        display: none !important;
    }

    .category-slider-item {
        flex: 0 0 calc(100% / 3.5 - 4px) !important;
        max-width: calc(100% / 3.5 - 4px) !important;
        width: calc(100% / 3.5 - 4px) !important;
        scroll-snap-align: start !important;
        box-sizing: border-box !important;
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    .category-slider-item .category-card {
        border-radius: 8px !important;
        padding: 4px !important;
        background: white !important;
        height: 100% !important;
    }

    .category-slider-item .category-card-img-wrap {
        height: 55px !important;
        border-radius: 6px !important;
        overflow: hidden !important;
    }

    .category-slider-item .category-card-img {
        object-fit: cover !important;
        border-radius: 6px !important;
    }

    .category-slider-item .category-card-body {
        padding: 4px 2px !important;
    }

    .category-slider-item .category-card-title {
        font-size: 10px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        max-height: 24px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        font-weight: 700 !important;
    }

    /* Mobile 2.5 Vertical Category Product Rows & 2.5 Horizontal Items Layout */
    .home-product-section {
        margin-top: 4px !important;
        margin-bottom: 8px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    /* Compact Section Header */
    .home-section-header {
        margin: 4px 0 !important;
        padding: 0 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .home-section-header h2,
    .home-section-header .section-title {
        font-size: 12.5px !important;
        font-weight: 700 !important;
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
    }

    .home-section-header a,
    .home-section-header .section-link {
        font-size: 10px !important;
        font-weight: 700 !important;
        padding: 0 !important;
        text-decoration: none !important;
    }

    /* Mobile Product Grid Horizontal Slider Row (2.5 items per horizontal slide: calc(38% - 6px)) */
    .product-slider-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        gap: 6px !important;
        padding: 4px 10px !important;
        margin-left: -6px !important;
        margin-right: -6px !important;
    }

    .product-slider-row::-webkit-scrollbar {
        display: none !important;
    }

    .product-slider-item {
        flex: 0 0 calc(38% - 6px) !important;
        width: calc(38% - 6px) !important;
    /* Product Carousel Grid Item (~2.6 products visible per screen) */
    .product-slider-item {
        flex: 0 0 38% !important;
        min-width: 38% !important;
        max-width: 38% !important;
        scroll-snap-align: start !important;
        box-sizing: border-box !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    /* Mobile Product Card Compact Auto-Height Layout */
    .product-card {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    }

    /* Fixed Compact Aspect Ratio for Product Images (~95px - 105px height) */
    .product-img-wrap {
        height: 100px !important;
        max-height: 105px !important;
        min-height: 95px !important;
        aspect-ratio: 4 / 3 !important;
        background: #ffffff !important;
        padding: 4px !important;
        border-radius: 10px 10px 0 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .product-img-wrap img {
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
        padding: 2px !important;
    }

    .product-card-body {
        padding: 6px 7px 8px 7px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        flex-grow: 0 !important;
        height: auto !important;
    }

    /* Hide category badge on mobile */
    .product-card-body > .badge {
        display: none !important;
    }

    /* Product Title (Clean 1-2 line clamp at 13px, no empty vertical spaces) */
    .product-title {
        font-size: 13px !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
        min-height: 0 !important;
        max-height: 34px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        white-space: normal !important;
        font-weight: 700 !important;
        color: #0f172a !important;
    }

    /* Badges: Rating (Top Right) & Discount (Top Left) */
    .product-badge-rating, .product-badge-discount {
        font-size: 8px !important;
        padding: 2px 6px !important;
        top: 5px !important;
        z-index: 3 !important;
        border-radius: 50px !important;
        font-weight: 800 !important;
    }

    .product-badge-rating {
        right: 5px !important;
        left: auto !important;
        background: rgba(255, 255, 255, 0.95) !important;
        color: #1e293b !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
    }

    .product-badge-discount {
        left: 5px !important;
        right: auto !important;
        background: #e53e3e !important;
        color: #ffffff !important;
        box-shadow: 0 1px 4px rgba(229, 62, 62, 0.25) !important;
    }

    /* Price & MRP Row */
    .product-price-row {
        margin-top: 1px !important;
        margin-bottom: 2px !important;
        display: flex !important;
        align-items: baseline !important;
        column-gap: 4px !important;
        row-gap: 2px !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .price-tag {
        font-size: 13px !important;
        font-weight: 800 !important;
        color: #16a34a !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: inline-block !important;
    }

    .mrp-tag {
        font-size: 10.5px !important;
        color: #94a3b8 !important;
        text-decoration: line-through !important;
        text-decoration-color: #ef4444 !important;
        white-space: nowrap !important;
        display: inline-block !important;
        flex-shrink: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .unit-info {
        font-size: 8px !important;
        padding: 1px 4px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: inline-block !important;
    }

    /* Horizontal Product Carousel Feed on Mobile (~2.6 products visible) */
    .product-slider-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px !important;
        margin-left: -3px !important;
        margin-right: -3px !important;
    }
    .product-slider-row::-webkit-scrollbar {
        display: none !important;
    }
    .product-slider-item {
        flex: 0 0 31.5% !important;
        min-width: 31.5% !important;
        max-width: 31.5% !important;
        scroll-snap-align: start;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    /* Mobile Action Controls: [ − ] [ 1 ] [ + ]   [ 🛒 ] in 1 tight row directly below price */
    .product-actions-row,
    .card-stepper-row {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        gap: 4px !important;
        align-items: center !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
        flex-wrap: nowrap !important;
        margin-top: 4px !important;
        margin-bottom: 2px !important;
    }

    .card-stepper {
        flex: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        height: 26px !important;
        padding: 1px 3px !important;
        box-sizing: border-box !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 50rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background-color: #ffffff !important;
    }

    .card-stepper-btn {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        padding: 0 !important;
        line-height: 1 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        background-color: #f1f5f9 !important;
        color: #1e293b !important;
        cursor: pointer !important;
    }

    .card-stepper-input {
        font-size: 10px !important;
        font-weight: 700 !important;
        text-align: center !important;
        min-width: 16px !important;
        padding: 0 1px !important;
        width: 100% !important;
        border: none !important;
        background: transparent !important;
        color: #0f172a !important;
    }

    .btn-card-cart,
    .card-stepper-row .btn-add-to-cart {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        max-width: 26px !important;
        max-height: 26px !important;
        padding: 0 !important;
        font-size: 11px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        box-shadow: 0 2px 6px rgba(45, 106, 79, 0.25) !important;
        transition: background-color 0.2s ease, transform 0.15s ease !important;
    }

    .btn-card-cart .cart-btn-label {
        display: none !important;
    }

    .btn-card-cart.added-to-cart-state {
        background-color: #10b981 !important;
        border-color: #10b981 !important;
        transform: scale(1.1) !important;
    }

    /* Responsive Mobile Typography */
    h1, .h1 {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
    }

    h2, .h2 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }

    h3, .h3 {
        font-size: 1.05rem !important;
        line-height: 1.3 !important;
    }

    h4, .h4 {
        font-size: 0.95rem !important;
        line-height: 1.35 !important;
    }

    h5, .h5 {
        font-size: 0.875rem !important;
        line-height: 1.4 !important;
    }

    p, body {
        font-size: 0.875rem;
        line-height: 1.45;
    }

    .fs-7 {
        font-size: 0.8rem !important;
    }

    .fs-8 {
        font-size: 0.72rem !important;
    }

    /* Mobile Navigation & Buttons */
    .brand-logo {
        font-size: 1.25rem !important;
    }

    .nav-link-custom {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.75rem !important;
    }

    .btn {
        font-size: 0.825rem;
        padding: 0.35rem 0.75rem;
    }

    .btn-sm {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    /* Mobile Accordion & Footer */
    .accordion-button {
        font-size: 0.875rem !important;
        padding: 0.75rem 1rem !important;
    }

    .accordion-body {
        font-size: 0.825rem !important;
    }


    /* Mobile WhatsApp Floating Button adjustments */
    .whatsapp-float-pill {
        bottom: 75px !important;
        right: 14px !important;
        padding: 8px 14px !important;
        gap: 6px !important;
    }

    .whatsapp-float-pill i.fa-whatsapp,
    .whatsapp-float-pill svg {
        font-size: 16px !important;
        width: 16px !important;
        height: 16px !important;
    }

    .whatsapp-float-pill .whatsapp-arrow {
        font-size: 10px !important;
    }

    .whatsapp-float-pill span {
        font-size: 11px !important;
    }
}

/* Subtle Pulse Animation for WhatsApp Button */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    }
    50% {
        box-shadow: 0 6px 26px rgba(37, 211, 102, 0.85), 0 0 0 8px rgba(37, 211, 102, 0.25);
    }
    100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    }
}

/* Floating Unified WhatsApp Pill Button (Desktop / Laptop View) */
.whatsapp-float-pill {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 999999 !important;
    background-color: #25d366 !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    outline: none !important;
    animation: whatsappPulse 2.5s infinite ease-in-out !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 0.2s ease,
                box-shadow 0.2s ease !important;
}

.whatsapp-float-pill i.fa-whatsapp,
.whatsapp-float-pill svg {
    font-size: 20px !important;
    line-height: 1 !important;
    color: #ffffff !important;
}

.whatsapp-float-pill .whatsapp-arrow {
    font-size: 12px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    transition: transform 0.2s ease !important;
}

.whatsapp-float-pill span {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.whatsapp-float-pill:hover,
.whatsapp-float-pill:focus {
    background-color: #20ba5a !important;
    color: #ffffff !important;
    transform: scale(1.06) !important;
}

.whatsapp-float-pill:hover .whatsapp-arrow {
    transform: translateX(4px) !important;
}

.whatsapp-float-pill:active {
    transform: scale(0.96) !important;
}

/* Hero Banner Shutter Roll-Up (Slide-Up) Collapse Animation */
#heroBannerSection {
  max-height: 450px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.8s ease-in-out, 
              padding 1.2s ease, 
              margin 1.2s ease;
}

#heroBannerSection.shutter-hide {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  pointer-events: none;
}

/* Voice Search Mic Pulse Animation */
.voice-search-btn {
    transition: color 0.2s ease, transform 0.2s ease;
}

.voice-search-btn:hover {
    color: #2d6a4f !important;
    transform: scale(1.15);
}

.voice-search-btn.listening {
    color: #dc3545 !important;
    animation: micPulse 1.2s infinite ease-in-out;
}

@keyframes micPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(220, 53, 69, 0.4));
    }
    50% {
        transform: scale(1.25);
        filter: drop-shadow(0 0 8px rgba(220, 53, 69, 0.8));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(220, 53, 69, 0.4));
    }
}

.animate-pulse {
    animation: textPulse 1s infinite alternate;
}

@keyframes textPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.voice-status-pill {
    animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -8px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Smart Scroll-Triggered Promotional Banner System */
.smart-promo-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1030;
    max-width: 380px;
    width: calc(100% - 48px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(27, 67, 50, 0.08) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.smart-promo-banner.promo-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.promo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.promo-dot.active-dot {
    width: 18px;
    border-radius: 10px;
    background-color: #10B981;
}

.smart-promo-banner.minimized #promoBodyContent {
    display: none !important;
}

.smart-promo-banner.minimized {
    max-width: 240px !important;
}

/* Mobile Popup Size Adjustment (Approx 30-40% Smaller & 75-80% Screen Width) */
@media (max-width: 575.98px) {
    .smart-promo-banner {
        left: 50% !important;
        bottom: 75px !important;
        width: 78vw !important;
        max-width: 285px !important;
        transform: translate(-50%, 120%) !important;
        border-radius: 0.85rem !important;
    }
    .smart-promo-banner.promo-visible {
        transform: translate(-50%, 0) !important;
    }
    .smart-promo-banner.minimized {
        max-width: 200px !important;
    }
    .smart-promo-banner .promo-header {
        padding: 5px 10px !important;
    }
    .smart-promo-banner .promo-header .badge {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
    }
    .smart-promo-banner .promo-header small {
        font-size: 0.72rem !important;
    }
    .smart-promo-banner #promoBodyContent {
        padding: 8px 10px !important;
    }
    .smart-promo-banner .promo-icon-box {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
    .smart-promo-banner h6 {
        font-size: 0.78rem !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }
    .smart-promo-banner p {
        font-size: 0.7rem !important;
        margin-bottom: 6px !important;
        line-height: 1.2 !important;
    }
    .smart-promo-banner .btn-sm {
        padding: 2px 10px !important;
        font-size: 0.7rem !important;
    }
    .smart-promo-banner .promo-dot {
        width: 4px !important;
        height: 4px !important;
    }
    .smart-promo-banner .promo-dot.active-dot {
        width: 12px !important;
    }
}

/* Main Banner Promotional Rotating Ticker */
.hero-promo-ticker-wrapper {
    display: inline-block;
    max-width: 100%;
}
.hero-promo-ticker {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Shop By Brand Carousel Styles */
.brand-card {
    height: 130px;
    min-height: 130px;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15) !important;
    border-color: #10B981 !important;
}

.brand-card-logo-wrap {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.brand-card-logo-wrap img, .brand-card-img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.brand-card:hover .brand-card-logo-wrap {
    transform: scale(1.05);
}

@media (max-width: 575.98px) {
    .brand-card {
        height: 115px;
        min-height: 115px;
        padding: 0.5rem !important;
    }
    .brand-card-logo-wrap {
        height: 50px;
    }
}

.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Shop By Concern Flex Layout */
.concern-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    width: 100% !important;
}

.concern-card-item {
    flex: 0 0 calc(25% - 12px) !important;
    max-width: calc(25% - 12px) !important;
    box-sizing: border-box !important;
}

@media (max-width: 991.98px) {
    .concern-card-item {
        flex: 0 0 calc(33.333% - 11px) !important;
        max-width: calc(33.333% - 11px) !important;
    }
}

@media (max-width: 575.98px) {
    .concern-card-item {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }
}

/* Best Sellers Flex Layout */
.bestsellers-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    width: 100% !important;
}

.bestseller-card-item {
    flex: 0 0 calc(25% - 12px) !important;
    max-width: calc(25% - 12px) !important;
    box-sizing: border-box !important;
}

@media (max-width: 991.98px) {
    .bestseller-card-item {
        flex: 0 0 calc(33.333% - 11px) !important;
        max-width: calc(33.333% - 11px) !important;
    }
}

@media (max-width: 575.98px) {
    .bestseller-card-item {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }
}

/* Shop By Brand Flex Layout */
.brand-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    width: 100% !important;
}

.brand-card-item {
    flex: 0 0 calc(16.666% - 13.4px) !important;
    max-width: calc(16.666% - 13.4px) !important;
    box-sizing: border-box !important;
}

@media (max-width: 991.98px) {
    .brand-card-item {
        flex: 0 0 calc(25% - 12px) !important;
        max-width: calc(25% - 12px) !important;
    }
}

@media (max-width: 575.98px) {
    .brand-card-item {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }
}

.concern-card {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.concern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.15) !important;
    border-color: #10B981 !important;
}

.concern-card-img-wrap img {
    transition: transform 0.35s ease;
}

.concern-card:hover .concern-card-img-wrap img {
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .swiper-concern-carousel .swiper-wrapper {
        transition-duration: 0ms !important;
    }
}

/* Swiper Carousels Single-Row & Width Protection */
.swiper-category-carousel,
.swiper-product-carousel,
.swiper-brand-carousel,
.swiper-concern-carousel {
    position: relative;
    overflow: hidden;
    padding-bottom: 28px !important;
}

.swiper-category-carousel .swiper-wrapper,
.swiper-product-carousel .swiper-wrapper,
.swiper-brand-carousel .swiper-wrapper,
.swiper-concern-carousel .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    box-sizing: border-box !important;
}

.swiper-category-carousel .swiper-slide {
    flex-shrink: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
    max-width: 50% !important;
}

@media (min-width: 768px) {
    .swiper-category-carousel .swiper-slide {
        max-width: 25% !important;
    }
}

@media (min-width: 1024px) {
    .swiper-category-carousel .swiper-slide {
        max-width: 16.6666% !important;
    }
}

.swiper-product-carousel .swiper-slide,
.swiper-brand-carousel .swiper-slide,
.swiper-concern-carousel .swiper-slide {
    flex-shrink: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
    max-width: 50% !important;
}

@media (min-width: 768px) {
    .swiper-product-carousel .swiper-slide,
    .swiper-brand-carousel .swiper-slide,
    .swiper-concern-carousel .swiper-slide {
        max-width: 25% !important;
    }
}

@media (min-width: 1024px) {
    .swiper-product-carousel .swiper-slide,
    .swiper-brand-carousel .swiper-slide,
    .swiper-concern-carousel .swiper-slide {
        max-width: 20% !important;
    }
}

/* Explore Categories layout protection - strict single horizontal row */
.category-scroll-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100% !important;
}

.category-card {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
    background: #ffffff !important;
    border-radius: 0.85rem !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    text-decoration: none !important;
}

.category-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.18) !important;
    border-color: #10B981 !important;
}

.category-card-img-wrap {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    position: relative !important;
    background: #f8fafc !important;
    border-radius: 0.85rem 0.85rem 0 0 !important;
}

@media (max-width: 575.98px) {
    .category-card {
        border-radius: 0.75rem !important;
    }
    .category-card-img-wrap {
        border-radius: 0.75rem 0.75rem 0 0 !important;
    }
}

.category-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.35s ease !important;
}

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

.category-card-body {
    padding: 0.6rem 0.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex-grow: 1 !important;
    min-height: 48px !important;
    background: #ffffff !important;
}

.category-card-title {
    font-size: 0.825rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.25 !important;
    text-align: center !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
    transition: color 0.2s ease !important;
}

.category-card:hover .category-card-title {
    color: #10B981 !important;
}

/* Single-Row Horizontal Scroll System Across All Homepage Sections */
.horizontal-flex-scroll,
.single-row-scroll,
.category-scroll-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    gap: 16px !important;
    padding: 10px 0 !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
}

.horizontal-flex-scroll::-webkit-scrollbar,
.single-row-scroll::-webkit-scrollbar,
.category-scroll-container::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera, Edge */
    width: 0 !important;
    height: 0 !important;
}

/* Explore Categories Single Horizontal Row Container */
.category-scroll-container {
    gap: 14px !important;
    padding-bottom: 8px !important;
}


/* Product Cards Refined Styling */
.product-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.15) !important;
    border-color: #10B981 !important;
}

/* Card Item Widths in Single-Row Scroll */
.category-card-item {
    flex: 0 0 calc((100% - 88px) / 6.5) !important;
    max-width: calc((100% - 88px) / 6.5) !important;
    width: calc((100% - 88px) / 6.5) !important;
    min-width: 140px !important;
    scroll-snap-align: start;
    box-sizing: border-box;
}

.product-slider-item,
.bestseller-card-item,
.concern-card-item {
    flex: 0 0 calc(25% - 12px) !important;
    max-width: calc(25% - 12px) !important;
    scroll-snap-align: start;
    box-sizing: border-box;
}

.brand-card-item {
    flex: 0 0 calc(20% - 13px) !important;
    max-width: calc(20% - 13px) !important;
    scroll-snap-align: start;
    box-sizing: border-box;
}

@media (max-width: 991.98px) {
    .category-card-item {
        flex: 0 0 calc((100% - 56px) / 4.5) !important;
        max-width: calc((100% - 56px) / 4.5) !important;
        width: calc((100% - 56px) / 4.5) !important;
        min-width: 120px !important;
    }
    .product-slider-item,
    .bestseller-card-item,
    .concern-card-item {
        flex: 0 0 calc(33.333% - 11px) !important;
        max-width: calc(33.333% - 11px) !important;
    }
    .brand-card-item {
        flex: 0 0 calc(25% - 12px) !important;
        max-width: calc(25% - 12px) !important;
    }
}

@media (max-width: 767.98px) {
    .category-card-item {
        flex: 0 0 calc((100% - 40px) / 3.5) !important;
        max-width: calc((100% - 40px) / 3.5) !important;
        width: calc((100% - 40px) / 3.5) !important;
        min-width: 95px !important;
    }
    .product-slider-item,
    .bestseller-card-item,
    .concern-card-item {
        flex: 0 0 calc(38% - 6px) !important;
        max-width: calc(38% - 6px) !important;
    }
    .brand-card-item {
        flex: 0 0 calc(35% - 9px) !important;
        max-width: calc(35% - 9px) !important;
    }
/* Brand Logo Styling */
.main-header-logo {
    height: 44px;
    width: auto;
    max-width: 255px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.main-header-logo:hover {
    transform: scale(1.02);
}

.footer-logo {
    height: 42px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .main-header-logo {
        height: 36px !important;
        max-width: 200px !important;
    }
    .footer-logo {
        height: 34px !important;
        max-width: 180px !important;
    }
}
