/* 
    --- Kissan Cares Unbreakable Symmetry System v28 ---
    Author: Antigravity
    Goal: High-Fidelity 2x5 Grid Restoration
*/

/* 1. GLOBAL OVERRIDES */
* { box-sizing: border-box !important; }
body { overflow-x: hidden !important; }

.container {
    max-width: 1210px !important;
    margin: 0 auto !important;
}

/* 1.1 CONSERVATIVE LOGO LOCK */
.logo img {
    max-width: 100px !important;
    height: auto !important;
    transition: all 0.3s ease !important;
}

@media (max-width: 767px) {
    .logo img {
        max-width: 70px !important;
    }
}

/* 2. THE 2x5 GRID ENGINE */
.kc-grid-2x5 {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -8px !important;
    padding: 0 !important;
    width: auto !important;
}

.col-kc-5-cols {
    flex: 0 0 20% !important;
    max-width: 20% !important;
    padding: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    position: relative !important; /* Anchor for Ribbons */
}

/* 3. ATOMIC SYMMETRY LOCK (Height: 485px) */
.single_product {
    position: relative !important;
    height: 425px !important; /* Tightened from 485px */
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid rgba(49, 125, 12, 0.12) !important;
    border-radius: 12px !important;
    padding: 12px !important; /* Optimized padding */
    margin-bottom: 20px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important;
}

.single_product:hover {
    transform: translateY(-5px) !important;
    border-color: #317d0c !important;
    box-shadow: 0 12px 30px rgba(17, 41, 4, 0.1) !important;
}

/* 4. PRODUCT THUMBNAIL LOCK (180px) */
.product_thumb {
    height: 175px !important; /* Optimized from 180px */
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fcfcfc !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important; /* Reduced margin */
}

.product_thumb img {
    max-height: 160px !important;
    width: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.single_product:hover .product_thumb img {
    transform: scale(1.05) !important;
}

/* 5. PRODUCT CONTENT & TITLE CLAMPING */
.product_content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}

.kc-brand-line {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #888 !important;
    text-transform: uppercase !important;
}

.kc-original-pill {
    background: rgba(49, 125, 12, 0.08) !important;
    color: #317d0c !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 9px !important;
    border: 1px solid rgba(49, 125, 12, 0.2) !important;
    white-space: nowrap !important;
}

.product_name {
    margin: 5px 0 !important;
    min-height: 42px !important;
}

.product_name a {
    font-weight: 700 !important;
    color: #112904 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    /* Strict Clamping */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* 6. SOCIAL PROOF & PRICING */
.kc-social-proof {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
}

.kc-rating-stars {
    color: #ffc107 !important;
    font-size: 11px !important;
    display: flex !important;
    gap: 2px !important;
}

.kc-sold-badge {
    background: #fff8e1 !important;
    color: #ff8f00 !important;
    padding: 2px 8px !important;
    border-radius: 50px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.price_box {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    margin: 5px 0 !important;
}

.current_price {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #317d0c !important;
}

.old_price {
    font-size: 12px !important;
    color: #999 !important;
    text-decoration: line-through !important;
}

/* 7. CTA SIDE-BY-SIDE LOCK */
.kc-cta-row {
    display: flex !important;
    align-items: stretch !important;
    gap: 8px !important;
    height: 40px !important;
    margin-top: 10px !important; /* Reduced from 15px */
    width: 100% !important;
}

.kc-cta-row form {
    height: 100% !important;
    display: flex !important;
    flex: 1 !important;
}

.kc-free-delivery-label {
    flex: 1 !important;
    margin: 0 !important;
    height: 100% !important;
    background: #e8f5e9 !important;
    border: 1px solid rgba(49, 125, 12, 0.3) !important;
    color: #317d0c !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

.kc-btn-cart {
    flex: 1 !important;
    margin: 0 !important;
    height: 100% !important;
    width: 100% !important;
    background: #112904 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.kc-btn-cart:hover {
    background: #317d0c !important;
}

.kc-btn-cart.split {
    flex: 1 !important;
}

/* 8. RIBBON ENGINE */
.ribbonLeftRed, .ribbonRightGreen, .ribbonRightBlue {
    position: absolute !important;
    z-index: 10 !important;
    top: 5px !important;
    width: 100px !important;
    height: 100px !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.ribbonLeftRed { left: 0 !important; top: 0 !important; }
.ribbonRightGreen, .ribbonRightBlue { right: 0 !important; top: 0 !important; }

.ribbonLeftRed span, .ribbonRightGreen span, .ribbonRightBlue span {
    font-size: 9px !important;
    font-weight: 800 !important;
    color: #FFF !important;
    text-transform: uppercase !important;
    text-align: center !important;
    line-height: 20px !important;
    width: 120px !important;
    display: block !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2) !important;
    position: absolute !important;
    top: 19px !important;
}

.ribbonLeftRed span {
    transform: rotate(-45deg) !important;
    left: -35px !important;
    background: linear-gradient(#F70505 0%, #8F0808 100%) !important;
}

.ribbonRightGreen span {
    transform: rotate(45deg) !important;
    right: -35px !important;
    background: linear-gradient(#9BC90D 0%, #79A70A 100%) !important;
}

.ribbonRightBlue span {
    transform: rotate(45deg) !important;
    right: -35px !important;
    background: linear-gradient(#2989d8 0%, #1e5799 100%) !important;
}

/* 9. MOBILE RESPONSIVE (High-Density 2-per-row & Banner Lock) */
@media (max-width: 767px) {
    /* 2 products per row */
    .col-kc-5-cols {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 4px !important; /* Tighter padding for mobile grid */
    }
    .single_product {
        height: 365px !important; /* Optimized height for narrow widths */
        min-height: auto !important;
        padding: 8px !important;
    }
    /* Scale down product text & elements */
    .product_name a {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
    .product_thumb {
        height: 120px !important;
    }
    .product_thumb img {
        max-height: 110px !important;
    }
    .current_price {
        font-size: 14px !important;
    }
    .old_price {
        font-size: 10px !important;
    }
    /* Stack CTA buttons to prevent crashing */
    .kc-cta-row {
        flex-direction: column !important;
        height: auto !important;
        gap: 4px !important;
    }
    .kc-cta-row form {
        height: 32px !important;
    }
    .kc-btn-cart {
        font-size: 11px !important;
    }
    .kc-free-delivery-label {
        height: 24px !important;
        font-size: 9px !important;
    }
    
    /* Uncropped Mobile Banner Lock - STRICT HEIGHT */
    /* Mobile Banner Branding Scaling */
    .logo img {
        max-height: 50px !important;
    }
}

/* 10. SECTION HEADERS PARITY */
.section_title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #317d0c !important;
}

.section_title h2 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #112904 !important;
    margin: 0 !important;
}

.kc-header-more-btn {
    background: #51c914 !important;
    color: #fff !important;
    padding: 6px 15px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

/* 11. UNIVERSAL PREMIUM BANNER LOCK (Owl & Bootstrap v29) */
.single_slider, 
.slider_section,
.carousel-inner, 
#myCarousel,
.carousel-item img {
    height: 346px !important; /* Aspect Ratio Lock */
    background-color: #f8f8f8 !important;
}

.single_slider {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* [DELETED REDUNDANT BLOCK - CONSOLIDATED BELOW] */

/* PREMIUM OWL CONTROLS (v29) */
.slider_area.owl-carousel .owl-nav div {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: rgba(49, 125, 12, 0.7) !important;
    color: #fff !important;
    font-size: 24px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    opacity: 0;
    visibility: hidden;
}

.slider_area.owl-carousel:hover .owl-nav div {
    opacity: 1;
    visibility: visible;
}

.slider_area.owl-carousel .owl-nav div:hover {
    background: #317d0c !important;
}

.slider_area.owl-carousel .owl-nav div.owl-prev {
    left: 20px;
}

.slider_area.owl-carousel .owl-nav div.owl-next {
    right: 20px;
}

.slider_area.owl-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.slider_area.owl-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(0,0,0,0.3) !important;
    display: inline-block;
    margin: 0 5px;
    border-radius: 50%;
    transition: 0.3s;
}

.slider_area.owl-carousel .owl-dots .owl-dot.active {
    background: #317d0c !important;
    width: 25px;
    border-radius: 10px;
}

/* PREMIUM BANNER CAPTIONS (Standardized) */
.slider_content, .carousel-caption {
    background: transparent !important;
    padding: 30px !important;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.slider_content h1, .carousel-caption h3 {
    color: #fff !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 15px rgba(0,0,0,0.5);
}

.slider_content p, .carousel-caption p {
    color: #fff !important;
    font-size: 18px !important;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    margin-bottom: 20px !important;
}

/* GLOSSY GLASSMORPHISM BUTTON */
.slider_content a, .carousel-caption a {
    display: inline-flex !important; /* Flex for perfect internal centering */
    align-items: center !important;
    justify-content: center !important;
    width: max-content !important;
    background: rgba(49, 125, 12, 0.4) !important; /* Reduced opacity from 0.7 */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff !important;
    padding: 10px 30px !important;
    border-radius: 30px !important;
    margin: 170px auto 10px auto !important; /* Dropped further below to sit right on the navigation baseline */
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    text-align: center !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider_content a:hover, .carousel-caption a:hover {
    background: rgba(49, 125, 12, 0.95) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

/* 11.1 UNIFIED MOBILE SLIDER ENGINE (High-Density Visibility Fix) */
@media (max-width: 767px) {
    .single_slider, .slider_section, .carousel-inner, #myCarousel, .carousel-item img {
        height: auto !important;
        min-height: 115px !important; /* Fixed at 115px as requested */
        max-height: 160px !important; /* Safety cap to prevent runaway inflation */
    }
    
    .single_slider {
        background-size: 100% 100% !important;
        background-position: center !important;
        display: flex !important;
        align-items: center !important;
    }

    /* GLOBAL CONTENT COMPRESSION */
    .slider_content, .carousel-caption {
        padding: 5px 10px !important; /* Slashed padding to save 40px height */
        max-width: 90% !important;
    }

    /* TYPE-A: HOMEPAGE SLIDER (More room) */
    .slider_section:not(.slider_s_four) .slider_content h1 {
        font-size: 16px !important;
        margin-bottom: 2px !important;
    }
    .slider_section:not(.slider_s_four) .slider_content p {
        font-size: 10px !important;
        margin-bottom: 5px !important;
    }

    /* TYPE-B: CATEGORY/BRAND BANNERS (Ultra-Tight Room) */
    .slider_s_four .slider_content h1 {
        font-size: 14px !important;
        margin: 0 0 2px 0 !important;
    }
    .slider_s_four .slider_content p {
        font-size: 9px !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.1 !important;
    }

    /* UNIFIED BUTTON SCALING */
    .slider_content a, .carousel-caption a {
        padding: 4px 12px !important;
        font-size: 9px !important;
        border-radius: 15px !important;
        margin: 2px auto 0 auto !important; 
        position: relative !important;
        top: -2px !important; /* Pull up slightly to defeat container centering lag */
    }

    /* UNIFIED DOT SCALING */
    .slider_area.owl-carousel .owl-dots {
        bottom: 5px !important;
    }
    .slider_area.owl-carousel .owl-dots .owl-dot {
        width: 6px !important;
        height: 6px !important;
        margin: 0 3px !important;
    }
    .slider_area.owl-carousel .owl-dots .owl-dot.active {
        width: 12px !important;
    }
}

/* 12. SCROLLABLE BRANDS DROPDOWN */
.main_menu ul li ul.sub_menu {
    max-height: 450px !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: #317d0c #f8f8f8;
}

.main_menu ul li ul.sub_menu::-webkit-scrollbar {
    width: 6px;
}

.main_menu ul li ul.sub_menu::-webkit-scrollbar-track {
    background: #f8f8f8;
}

.main_menu ul li ul.sub_menu::-webkit-scrollbar-thumb {
    background: #317d0c;
    border-radius: 10px;
}

/* 13. USP CORE BAR */
.kc-usp-bar {
    background-color: #112904 !important;
    width: 100% !important;
    padding: 10px 0 !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
}
.kc-usp-bar::-webkit-scrollbar { display: none; }
.kc-usp-track {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}
.kc-usp-item {
    color: #e5e5e5 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 15px !important;
    flex-shrink: 0 !important;
}

/* STRICT DESKTOP HIDING - Ensuring zero layout impact */
.kc-usp-track .kc-usp-mobile-slider-pack {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* PHONE-ONLY MOTION LOOP (Below 768px) */
@media (max-width: 767px) {
    .kc-usp-bar {
        overflow: hidden !important; /* Hide the sliding overflow */
    }
    
    .kc-usp-track {
        width: max-content !important; /* Allow track to extend beyond screen */
        justify-content: flex-start !important;
        animation: kc-usp-mobile-marquee 35s linear infinite !important;
    }
    
    .kc-usp-mobile-slider-pack {
        display: contents !important; /* Inject clones into the track */
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

@keyframes kc-usp-mobile-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Slide exactly half (the original length) */
}
.kc-usp-item i {
    color: #51c914 !important;
    font-size: 14px !important;
}
.kc-usp-item:first-child i {
    color: #ffc107 !important;
}

/* 14. TRUST SIGNALS & SOCIAL PROOF */
.kc-pre-title {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #888 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 5px !important;
}
.kc-section-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #112904 !important;
    margin-bottom: 0 !important;
}
.kc-text-green { color: #317d0c !important; }
.kc-text-yellow { color: #ffc107 !important; }

.kc-impact-card {
    background: #fff !important;
    border-radius: 12px !important;
    padding: 30px !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    box-shadow: 0 6px 30px rgba(0,0,0,0.06) !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}
.kc-impact-item {
    text-align: center !important;
    flex: 1 !important;
}
.kc-impact-number {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #ffaa00 !important;
}
.kc-impact-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #888 !important;
    text-transform: uppercase !important;
    margin-top: 5px !important;
}
.kc-impact-divider {
    width: 1px !important;
    height: 50px !important;
    background: #eee !important;
}

.kc-review-card {
    background: #fff !important;
    border-radius: 12px !important;
    padding: 25px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    border: 1px solid rgba(49,125,12,0.05) !important;
    transition: transform 0.3s ease !important;
}
.kc-review-card:hover { transform: translateY(-5px) !important; }
.kc-review-stars {
    color: #ffc107 !important;
    font-size: 14px !important;
    margin-bottom: 15px !important;
}
.kc-review-text {
    font-style: italic !important;
    font-size: 13px !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    flex: 1 !important;
}
.kc-review-footer {
    border-top: 1px solid #f0f0f0 !important;
    padding-top: 15px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
}
.kc-review-user {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.kc-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}
.kc-user-info h4 {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #112904 !important;
    margin: 0 0 2px 0 !important;
}
.kc-user-info span {
    font-size: 10px !important;
    color: #888 !important;
}
.kc-verified-badge {
    text-align: right !important;
}
.kc-verified-title {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #317d0c !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    justify-content: flex-end !important;
}
.kc-order-id {
    font-size: 9px !important;
    color: #aaa !important;
    margin-top: 2px !important;
}

@media (max-width: 767px) {
    .kc-impact-card {
        flex-direction: row !important;
        padding: 15px 5px !important;
        gap: 0 !important;
    }
    .kc-impact-item {
        padding: 0 5px !important;
    }
    .kc-impact-number {
        font-size: 20px !important;
    }
    .kc-impact-label {
        font-size: 8px !important;
        margin-top: 3px !important;
    }
    .kc-impact-divider {
        width: 1px !important;
        height: 35px !important;
    }
    .kc-review-footer {
        padding: 10px 5px !important;
    }
}

/* 14.1 PREMIUM TESTIMONIAL DOTS */
.kc-testimonial-carousel .owl-dots {
    text-align: center !important;
    margin-top: 35px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.kc-testimonial-carousel .owl-dots .owl-dot {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 4px !important;
    background: rgba(49, 125, 12, 0.15) !important;
    border-radius: 50% !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: none !important;
    padding: 0 !important;
}

.kc-testimonial-carousel .owl-dots .owl-dot.active {
    background: #317d0c !important;
    width: 22px !important;
    border-radius: 10px !important;
    opacity: 1 !important;
}

.kc-testimonial-carousel .owl-dots .owl-dot:hover {
    background: rgba(49, 125, 12, 0.5) !important;
}


/* 15. COMPACT CATEGORIES MENU (Content-Fit & Balanced Spacing) */
.categories_menu, .categories_menu_toggle {
    width: 210px !important; /* Unified width lock for Desktop & Mobile */
    transition: width 0.3s ease !important;
}

.categories_title {
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.categories_title h2 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* Equal distancing requested */
    width: 100% !important;
    padding: 0 15px !important;
    margin: 0 !important;
    font-size: 13px !important; /* Slightly smaller to match nav links */
    height: 40px !important; /* Reduced height as requested */
    line-height: 40px !important;
}

.categories_menu {
    width: 210px !important; 
    transition: width 0.3s ease !important;
    margin-top: 5px !important; /* Push down to align with 'Home' and other links */
    margin-right: 0 !important; /* Resetting this as columns absorb div-level margins */
}

.categories_title {
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important; /* Rounded for a 'nice' button look */
    height: 40px !important;
}

.categories_title h2::before {
    position: static !important;
    transform: none !important;
    font-size: 20px !important;
    margin: 0 !important;
}

.categories_title h2::after {
    position: static !important;
    transform: none !important;
    font-size: 12px !important;
    margin: 0 !important;
}

/* Ensure the dropdown matches the tightened bar */
.categories_menu_toggle {
    width: 210px !important;
    border-right: 1px solid #ededed !important;
    border-bottom: 1px solid #ededed !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    z-index: 999 !important;
}

/* Maintain hover alignment for sub-menus */
.categories_menu_toggle > ul > li ul.categories_mega_menu {
    left: 210px !important;
}

/* 16. DROPDOWN ARROW ALIGNMENT FIX (Flex-Sync) */
.categories_menu_toggle > ul > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 15px 0 20px !important; 
    white-space: nowrap !important; /* Force 'Household Products' to stay on one line */
    font-size: 13px !important;
}

.categories_menu_toggle > ul > li > a i.fa-angle-right, 
.categories_menu_toggle > ul > li > a span.expand {
    float: none !important; 
    position: static !important;
    margin: 0 !important;
}

@media (max-width: 767px) {
    .categories_menu_toggle > ul > li ul.categories_mega_menu {
        left: 0 !important;
        width: 100% !important;
    }
    .kc-review-footer {
        padding: 10px 5px !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .kc-verified-badge {
        text-align: left !important;
        width: 100% !important;
    }
    .kc-verified-title {
        justify-content: flex-start !important;
    }
}

/* 17. SEAMLESS NAVIGATION INTEGRATION (Unified Bar) */
.main_menu {
    margin-left: 20px !important; 
}

.main_menu nav > ul {
    display: flex !important;
    align-items: center !important;
}

.main_menu nav > ul > li {
    margin-right: 30px !important; /* Increased to fill horizontal space better */
    display: flex !important;
    align-items: center !important;
}

.main_menu nav > ul > li > a {
    font-size: 13px !important; 
    white-space: nowrap !important; 
    padding: 0 5px !important; 
}

.kc-li-support {
    margin-left: auto !important; /* Pushing tools to the far right for balance */
}

/* 18. MOBILE BOTTOM NAVIGATION (App-like Experience) */
.kc-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none; /* Hidden by default (Desktop) */
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.08);
    border-top: 1px solid #f0f0f0;
    z-index: 999999;
    padding: 5px 0;
}

.kc-mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #444;
    text-decoration: none;
    flex: 1;
    transition: color 0.3s ease;
}

.kc-mobile-bottom-nav .nav-item .lnr {
    font-size: 22px;
    margin-bottom: 3px;
    color: #4a8e24; /* Primary Brand Green */
}

.kc-mobile-bottom-nav .nav-item .label {
    font-size: 11px;
    font-weight: 500;
}

.kc-mobile-bottom-nav .nav-item:active .lnr,
.kc-mobile-bottom-nav .nav-item:active .label {
    color: #2e5917;
    transform: scale(0.95);
}

/* Mobile Visibility Display */
@media (max-width: 767px) {
    .kc-mobile-bottom-nav {
        display: flex !important;
    }
    
    body {
        padding-bottom: 65px !important; /* Safe area for bottom nav */
    }

    /* Fix Mobile Button Cropping/Ghosting/Overlap */
    #scrollUp {
        bottom: 150px !important; /* Move higher to prevent overlap with WhatsApp (80px) + Clearance */
        z-index: 999998 !important; 
        background-color: #317d0c !important;
        box-shadow: none !important; /* Kill any potential shadow artifacts */
    }
    #scrollUp::after, #scrollUp::before {
        display: none !important; /* Hide any legacy theme-provided circular shadows */
    }

    /* Move WhatsApp Floating Buttons above Bottom Nav */
    .sms-button-home.side, .sms-button-homeb.sideb {
        top: auto !important;
        bottom: 80px !important;
        z-index: 999998 !important;
    }
}

/* Ensure the mini cart wrapper doesn't add extra padding */
.header_account_list.mini_cart_wrapper {
    padding: 0 !important;
    margin-left: 5px !important;
}

#cartbtn:hover {
    transform: scale(1.05) !important;
    background: #3d751d !important;
}