/* --- PREMIUM TYPOGRAPHY LOCK --- */
body { 
    font-family: "Outfit", "Inter", "Work Sans", sans-serif !important; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Localized Urdu Font Optimization */
.urdu-text, .urdu, .kc-urdu {
    font-family: "Noto Nastaliq Urdu", serif !important;
    line-height: 1.8 !important;
    direction: rtl;
    text-align: right;
}

/* --- ATOMIC ICON LOCKDOWN (ANTIGRAVITY) --- */
/* Nuclear specificity to force icon fonts regardless of inheritance */
html body .fa, 
html body [class*="fa-"], 
html body i.fa, 
html body span.fa,
html body .fa::before {
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
    font-style: normal !important;
    font-weight: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
}

html body .lnr, 
html body [class*="lnr-"], 
html body i.lnr, 
html body span.lnr,
html body .lnr::before {
    font-family: 'Linearicons-Free' !important;
    display: inline-block !important;
    font-style: normal !important;
    font-weight: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
}

/* ── VIEW ISOLATION ENGINE (ZERO LEAKAGE) ── */
.kc-list-only, .kc-grid-only {
    display: none !important; /* Total suppression globally */
}

.shop_wrapper.list-view .kc-list-only {
    display: block !important; /* Active only in List */
}

.shop_wrapper.list-view .kc-grid-only {
    display: none !important; /* STRICT SUPPRESSION: Kill grid buttons in list mode */
}

/* List View 1-Column Lock (Global) */
.shop_wrapper.list-view .product_item {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin-bottom: 10px !important; /* Reduced inter-card gap */
}

.shop_wrapper.grid-view .kc-grid-only, 
:not(.shop_wrapper) .kc-grid-only {
    display: flex !important; /* Active in Grid or generic contexts like home page */
}

/* ── LIST VIEW ARCHITECTURE (Premium High-Density) ── */
.shop_wrapper.list-view .single_product {
    display: grid !important;
    grid-template-columns: 200px 1fr 220px !important; /* Compact 3-column layout */
    align-items: center !important; 
    text-align: left !important;
    padding: 15px !important; /* Reduced padding */
    background: #fff !important;
    border-radius: 12px !important;
    border: 1px solid #f0f0f0 !important;
    gap: 25px !important;
    height: auto !important;
    min-height: 200px !important; /* Reduced min-height */
    overflow: visible !important;
    margin-bottom: 10px !important; /* Reduced inter-card gap */
}

.shop_wrapper.list-view .kc-product-media {
    width: 200px !important;
    height: 200px !important;
    position: relative !important;
    background: #fdfdfd !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.shop_wrapper.list-view .product_thumb {
    height: 200px !important;
    width: 200px !important;
    margin-bottom: 0 !important;
}

.shop_wrapper.list-view .product_thumb img:first-child {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 95% !important;
    height: 95% !important;
    object-fit: contain !important;
    transform: translate(-50%, -50%) scale(1.08) !important;
    z-index: 1 !important;
    transition: transform 0.4s ease !important;
}

.shop_wrapper.list-view .single_product:hover .product_thumb img:first-child {
    transform: translate(-50%, -50%) scale(1.15) !important;
}

.shop_wrapper.list-view .product_content {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    height: 100% !important;
    justify-content: center !important;
}

.shop_wrapper.list-view .product_name {
    margin: 8px 0 12px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.shop_wrapper.list-view .kc-list-details {
    display: block !important;
    margin-bottom: 15px !important;
}

.shop_wrapper.list-view .kc-highlights {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.shop_wrapper.list-view .kc-highlights span {
    font-size: 13px !important;
    color: #666 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.shop_wrapper.list-view .kc-highlights i {
    color: #317d0c !important;
    font-size: 10px !important;
}

.shop_wrapper.list-view .kc-cta-row {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    height: auto !important; /* Allow natural centering via grid parent */
    padding: 0 0 0 20px !important;
    border-left: 1px solid #f0f0f0 !important;
    gap: 12px !important;
    width: 220px !important;
    flex: 0 0 220px !important;
    margin-top: 0 !important; /* Eliminate global grid offset */
}

.shop_wrapper.list-view .kc-buy-now-wrapper,
.shop_wrapper.list-view .kc-cart-btn-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
}

.shop_wrapper.list-view .kc-free-delivery-label {
    width: 100% !important;
    height: 48px !important; /* HARD LOCK: Match button height */
    min-height: 48px !important;
    background: #e8f5e9 !important;
    border: 1px solid rgba(49, 125, 12, 0.2) !important;
    color: #317d0c !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.shop_wrapper.list-view .kc-buy-now-btn, 
.shop_wrapper.list-view .kc-add-to-cart-btn {
    background: #317d0c !important;
    color: #fff !important;
    border: none !important;
    height: 48px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.kc-buy-now-btn-grid,
.kc-add-to-cart-btn {
    background: #317d0c !important;
    color: #fff !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.shop_wrapper.list-view .kc-buy-now-btn:hover, 
.shop_wrapper.list-view .kc-add-to-cart-btn:hover,
.kc-buy-now-btn-grid:hover,
.kc-add-to-cart-btn:hover {
    background: #112904 !important;
}

/* ── MOBILE LIST OVERRIDES ── */
@media (max-width: 767px) {
    .shop_wrapper.list-view .single_product {
        grid-template-columns: 90px 1fr 90px !important; /* Tightened 3-column mobile */
        gap: 10px !important;
        padding: 10px !important;
        min-height: auto !important;
        align-items: center !important;
        overflow: hidden !important; /* Prevent any container leakage */
        width: 100% !important;
    }
    .shop_wrapper.list-view .kc-product-media {
        width: 90px !important;
        height: 90px !important;
    }
    .shop_wrapper.list-view .product_thumb {
        height: 90px !important;
        width: 90px !important;
    }
    .shop_wrapper.list-view .product_name {
        font-size: 13px !important;
        margin: 0 0 5px 0 !important;
        min-height: auto !important;
        white-space: normal !important; /* Kill any nowrap leaks */
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        line-height: 1.2 !important;
    }
    .shop_wrapper.list-view .product_content {
        min-width: 0 !important; /* Grid-child overflow fix */
        overflow: hidden !important;
    }
    .shop_wrapper.list-view .kc-highlights span {
        font-size: 10px !important;
        line-height: 1.4 !important;
        display: flex !important; /* Flex for robust icon/text alignment */
        align-items: flex-start !important;
        gap: 6px !important;
        max-height: 2.8em !important; /* Hard 2-line limit */
        overflow: hidden !important;
        margin-bottom: 0 !important;
        color: #666 !important;
    }
    .shop_wrapper.list-view .kc-highlights span p,
    .shop_wrapper.list-view .kc-highlights span p span {
        display: inline !important; /* Force inline to prevent block-breaks */
        margin: 0 !important;
        padding: 0 !important;
        line-height: inherit !important;
    }
    .shop_wrapper.list-view .kc-highlights span i {
        color: #317d0c !important;
        flex-shrink: 0 !important;
        margin-top: 3px !important; /* Fine-tune icon vertical position */
        font-size: 10px !important;
    }
    .shop_wrapper.list-view .kc-highlights span:nth-of-type(n+2) {
        display: none !important; /* Hide secondary highlights on mobile list */
    }
    .shop_wrapper.list-view .kc-cta-row {
        grid-column: 3 / 4 !important; /* Move to most right side */
        display: flex !important;
        flex-direction: column !important; /* Stack vertically */
        justify-content: center !important;
        gap: 6px !important;
        border-top: none !important;
        border-left: 1px solid #f0f0f0 !important;
        padding: 0 0 0 8px !important;
        width: 90px !important; /* Reduced to match grid */
        height: auto !important;
        min-width: 90px !important;
    }
    .shop_wrapper.list-view .kc-buy-now-wrapper,
    .shop_wrapper.list-view .kc-cart-btn-wrapper,
    .shop_wrapper.list-view .kc-cta-row form {
        flex: 0 0 auto !important; /* Prevent stretching */
        display: flex !important;
        width: auto !important;
    }
    .shop_wrapper.list-view .kc-buy-now-btn,
    .shop_wrapper.list-view .kc-add-to-cart-btn {
        height: 44px !important;
        font-size: 9px !important; /* Balanced for narrow column */
        width: 100% !important;
        border-radius: 6px !important;
        background: #317d0c !important;
        color: #fff !important;
        white-space: normal !important; /* Allow wrapping in narrow column */
        line-height: 1.1 !important;
        padding: 4px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .shop_wrapper.list-view .kc-add-to-cart-btn i {
        display: none !important; /* Hide icon to save space on mobile */
    }
    .shop_wrapper.list-view .kc-free-delivery-label {
        width: 100% !important;
        height: 44px !important;
        background: #e8f5e9 !important;
        border: 1px solid rgba(49, 125, 12, 0.2) !important;
        color: #317d0c !important;
        border-radius: 6px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 8px !important;
        font-weight: 700 !important;
        margin: 0 !important;
        text-align: center !important;
        line-height: 1 !important;
    }
    .shop_wrapper.list-view .kc-free-delivery-label i {
        font-size: 14px !important;
        margin-bottom: 2px !important;
    }
}

/* 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: 365px) */
.single_product {
    position: relative !important;
    height: 365px !important; /* Increased to accommodate row buttons without cropping */
    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: 200px !important; /* Taller height to scale portrait/vertical products */
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important; /* Clean white background */
    border-radius: 8px !important;
    margin-bottom: 8px !important; /* Reduced margin */
    position: relative !important;
    overflow: hidden !important; /* NUCLEAR OVERFLOW LOCK: Prevents ribbon fragments */
}

.product_thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

/* 4.1 SECONDARY IMAGE SUPPRESSION (GHOSTING FIX) */
.secondary_img {
    display: none !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;
    justify-content: flex-start !important; /* Force tight top-packing */
    gap: 2px !important; /* Eliminate vertical stretch gaps */
    text-align: left !important;
}

.kc-brand-line {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 4px !important; /* Shrunk gap */
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #888 !important;
    text-transform: uppercase !important;
    min-height: 14px !important; /* Minimal height to fit content */
    line-height: 1 !important; /* Force tight height */
}

.kc-brand-line span:first-child {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 !important;
    line-height: 1.2 !important;
}

.kc-original-pill {
    background: rgba(49, 125, 12, 0.08) !important;
    color: #317d0c !important;
    padding: 1px 4px !important; /* Extra-tight padding */
    border-radius: 3px !important;
    font-size: 8px !important;
    border: 1px solid rgba(49, 125, 12, 0.2) !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 2.5px !important;
    line-height: 1 !important; /* Crucial: prevent inheriting large line-height and keeping box big */
    height: 13px !important; /* Explicit compact height */
}

.product_name {
    margin: 2px 0 !important; /* Reduced margin */
    height: auto !important; /* Override standard 40px lock from style.css */
    min-height: 32px !important; /* Shrunk height to pull stars up */
    line-height: 1.1 !important; /* Force ultra-tight text block height */
    flex: none !important; /* Prevent vertical stretching in flex layout */
    flex-grow: 0 !important; /* Ensure it stays strictly compact */
}

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

.product_name .urdu-text {
    display: inline !important;
    line-height: inherit !important;
    font-size: inherit !important;
}

.kc-social-proof {
    display: flex !important;
    flex-wrap: nowrap !important; /* Force side-by-side */
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: -6px !important; /* Pull up further to eliminate title gap */
    margin-bottom: 2px !important; /* Tightened gap under stars */
}

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

.kc-rating-count {
    color: #999 !important;
    font-size: 10px !important;
    margin-left: 3px !important;
}

.kc-sold-badge {
    background: #fff8e1 !important;
    color: #ff8f00 !important;
    padding: 1px 5px !important; /* Reduced padding */
    border-radius: 50px !important;
    font-size: 8px !important; /* Reduced font size */
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.price_box {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    margin: 1px 0 !important; /* Tightened margin */
}

.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;
}

.kc-discount-tag {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #e53935 !important; /* Bold, premium red color */
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

/* 7. CTA SIDE-BY-SIDE LOCK (Symmetric 50/50) */
.kc-cta-row {
    display: flex !important;
    align-items: stretch !important;
    gap: 6px !important;
    height: 40px !important; /* Increased from 38px to prevent squeeze */
    margin-top: 10px !important;
    width: 100% !important;
    overflow: hidden !important;
}

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

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

.kc-buy-now-wrapper-grid {
    flex: 1 !important;
    display: flex !important;
}

.kc-buy-now-btn-grid {
    flex: 1 !important;
    height: 100% !important;
    background: #317d0c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 11px !important; /* Premium legible size */
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    white-space: nowrap !important; /* NUCLEAR LOCK: Prevent two-line wrap */
    padding: 0 4px !important; /* Balanced internal breathing room */
}

.kc-buy-now-btn-grid:hover {
    background: #112904 !important;
}

.kc-free-delivery-label {
    flex: 1 !important;
    margin: 0 !important;
    height: 100% !important;
    background: #e8f5e9 !important; /* Reverted to light pill look */
    border: 1px solid rgba(49, 125, 12, 0.3) !important;
    color: #317d0c !important; /* Reverted to green text */
    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-add-to-cart-btn {
    flex: 1 !important;
    margin: 0 !important;
    height: 100% !important;
    width: 100% !important;
    background: #317d0c !important; /* Unified to match Buy Now */
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !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-add-to-cart-btn:hover {
    background: #112904 !important; /* Darker green on hover */
}

/* Hide text in grid mode by default to prevent overflow */
.kc-add-to-cart-btn .kc-btn-text {
    display: none !important;
}

/* Restore text in List View Mode only */
.shop_wrapper.list-view .kc-add-to-cart-btn .kc-btn-text {
    display: inline !important;
}

.kc-add-to-cart-btn i {
    font-size: 18px !important;
    margin: 0 !important;
}

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

/* 8. RIBBON ENGINE (Antigravity Premium Hybrid Architecture v3.2) */
/* --- STANDARD RIBBONS (Default / Grid View - 60x60px) --- */
.ribbonRightOrange, .ribbonRightBlue, .ribbonRightGreen, .ribbonRightRed,
.ribbonLeftRed, .ribbonLeftGreen, .ribbonLeftOrange, .ribbonLeftBlue {
    position: absolute !important;
    z-index: 10 !important;
    overflow: hidden !important;
    width: 60px !important; height: 60px !important; /* Standard Premium Size */
    pointer-events: none !important;
    transform: scale(1) !important; /* NUCLEAR LOCK: Kill legacy style.css 0.65 scale */
    -webkit-transform: scale(1) !important;
}

/* Base positions */
.ribbonRightOrange, .ribbonRightBlue, .ribbonRightGreen, .ribbonRightRed {
    right: 0px !important; top: -5px !important;
    text-align: right !important;
}
.ribbonLeftRed, .ribbonLeftGreen, .ribbonLeftOrange, .ribbonLeftBlue {
    left: 0px !important; top: -5px !important;
    text-align: left !important;
}

/* Stacking Logic (Grid Mode) */
.ribbonLeftRed + .ribbonLeftOrange, .ribbonLeftGreen + .ribbonLeftOrange, .ribbonLeftRed + .ribbonLeftGreen { top: 25px !important; }
.ribbonRightOrange + .ribbonRightBlue, .ribbonRightGreen + .ribbonRightBlue, .ribbonRightRed + .ribbonRightOrange { top: 25px !important; }

/* Span Styles (Standard) - Hardened scale(1) to kill legacy style.css scaling */
.ribbonRightOrange span, .ribbonRightBlue span, .ribbonRightGreen span, .ribbonRightRed span,
.ribbonLeftRed span, .ribbonLeftGreen span, .ribbonLeftOrange span, .ribbonLeftBlue span {
    font-size: 8.5px !important;
    font-weight: 800 !important;
    color: #FFF !important;
    text-transform: uppercase !important;
    text-align: center !important;
    line-height: 16px !important;
    display: block !important;
    position: absolute !important;
    width: 85px !important; /* Scaled for 60px container */
    box-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
}

.ribbonRightOrange span, .ribbonRightBlue span, .ribbonRightGreen span, .ribbonRightRed span {
    transform: rotate(45deg) scale(1) !important; /* NUCLEAR LOCK: Force scale(1) */
    -webkit-transform: rotate(45deg) scale(1) !important;
    top: 15px !important; right: -18px !important;
}
.ribbonLeftRed span, .ribbonLeftGreen span, .ribbonLeftOrange span, .ribbonLeftBlue span {
    transform: rotate(-45deg) scale(1) !important; /* NUCLEAR LOCK: Force scale(1) */
    -webkit-transform: rotate(-45deg) scale(1) !important;
    top: 15px !important; left: -18px !important;
}

/* --- LITE RIBBONS (List View Override - 42x42px) --- */
.shop_wrapper.list-view .ribbonRightOrange, .shop_wrapper.list-view .ribbonRightBlue, 
.shop_wrapper.list-view .ribbonRightGreen, .shop_wrapper.list-view .ribbonRightRed,
.shop_wrapper.list-view .ribbonLeftRed, .shop_wrapper.list-view .ribbonLeftGreen, 
.shop_wrapper.list-view .ribbonLeftOrange, .shop_wrapper.list-view .ribbonLeftBlue {
    width: 42px !important; height: 42px !important;
    top: -3px !important;
}

.shop_wrapper.list-view .ribbonRightOrange span, .shop_wrapper.list-view .ribbonRightBlue span, 
.shop_wrapper.list-view .ribbonRightGreen span, .shop_wrapper.list-view .ribbonRightRed span,
.shop_wrapper.list-view .ribbonLeftRed span, .shop_wrapper.list-view .ribbonLeftGreen span, 
.shop_wrapper.list-view .ribbonLeftOrange span, .shop_wrapper.list-view .ribbonLeftBlue span {
    font-size: 7px !important;
    line-height: 12px !important;
    width: 65px !important;
    top: 10px !important;
    transform-origin: center !important;
}

/* Gradient Definitions (Universal) */
.ribbonRightOrange span, .ribbonLeftOrange span { background: linear-gradient(#FFA500 0%, #FF4500 100%) !important; }
.ribbonRightBlue span, .ribbonLeftBlue span { background: linear-gradient(#42A5F5 0%, #1565C0 100%) !important; }
.ribbonRightGreen span, .ribbonLeftGreen span { background: linear-gradient(#66BB6A 0%, #2E7D32 100%) !important; }
.ribbonRightRed span, .ribbonLeftRed span { background: linear-gradient(#EF5350 0%, #C62828 100%) !important; }

/* Micro-Fold Pseudo-Elements (Zero-gravity corner tuck) */
.ribbonRightOrange span::before, .ribbonRightBlue span::before, .ribbonRightGreen span::before, .ribbonRightRed span::before,
.ribbonLeftRed span::before, .ribbonLeftGreen span::before, .ribbonLeftOrange span::before, .ribbonLeftBlue span::before,
.ribbonRightOrange span::after, .ribbonRightBlue span::after, .ribbonRightGreen span::after, .ribbonRightRed span::after,
.ribbonLeftRed span::after, .ribbonLeftGreen span::after, .ribbonLeftOrange span::after, .ribbonLeftBlue span::after {
    content: "" !important; position: absolute !important; z-index: -1 !important;
    border-width: 1px !important; border-style: solid !important;
}

/* Fold Colors (Universal) */
.ribbonRightOrange span::before, .ribbonRightOrange span::after, .ribbonLeftOrange span::before, .ribbonLeftOrange span::after { border-color: #FF4500 transparent transparent #FF4500 !important; }
.ribbonRightBlue span::before, .ribbonRightBlue span::after, .ribbonLeftBlue span::before, .ribbonLeftBlue span::after { border-color: #1565C0 transparent transparent #1565C0 !important; }
.ribbonRightGreen span::before, .ribbonRightGreen span::after, .ribbonLeftGreen span::before, .ribbonLeftGreen span::after { border-color: #2E7D32 transparent transparent #2E7D32 !important; }
.ribbonRightRed span::before, .ribbonRightRed span::after, .ribbonLeftRed span::before, .ribbonLeftRed span::after { border-color: #C62828 transparent transparent #C62828 !important; }

/* 9. MOBILE RESPONSIVE (High-Density 2-per-row & Banner Lock) */
.kc-listing-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 767px) {
    .kc-listing-title {
        font-size: 1.2rem !important;
        text-align: center !important;
        margin-top: 15px !important;
    }
}

@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 */
    }
    .kc-empty-state-container .row,
    .kc-related-discovery-area .row {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        margin-left: -4px !important;
        margin-right: -4px !important;
    }
    .single_product, .owl-item .single_product {
        height: auto !important;
        min-height: 245px !important; /* Reduced from 285px to eliminate unwanted whitespace */
        flex-grow: 1 !important; /* Stretch to fill parent column */
        padding: 6px !important; /* Tighter padding */
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        overflow: hidden !important; /* Ensure content stays contained */
    }
    .product_content {
        justify-content: flex-start !important; /* Force tight packing of name, stars, price */
        gap: 1px !important; /* Eliminate empty spacing */
    }
    .kc-brand-line {
        font-size: 10px !important;
        min-height: 14px !important; /* Extremely tight on mobile */
        margin-bottom: 2px !important;
        line-height: 1 !important;
    }
    .kc-brand-line span:first-child {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
    .kc-brand-line .kc-original-pill {
        font-size: 8px !important;
        padding: 1px 4px !important;
        line-height: 1 !important; /* Keep box small */
        height: 13px !important; /* Strict height limit */
    }
    /* Scale down product text & elements */
    .product_name a {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
    .product_thumb {
        height: 245px !important; /* Taller height on mobile for vertical shapes (bottles, packets) to scale up and leave no side gaps */
    }
    .product_thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
    .product_name {
        height: auto !important; /* Override standard 40px lock from style.css */
        min-height: 26px !important; /* Reduced to pull stars up */
        margin: 1px 0 !important; /* Extra-tight gap */
        line-height: 1.1 !important; /* Force ultra-tight text block height on mobile */
        flex: none !important; /* Prevent vertical stretching in flex layout */
        flex-grow: 0 !important; /* Ensure it stays strictly compact */
    }
    .current_price {
        font-size: 14px !important;
    }
    .old_price {
        font-size: 10px !important;
    }
    .kc-discount-tag {
        font-size: 9px !important;
    }
    .price_box {
        margin: 1px 0 !important; /* Extra-tight gap */
    }
    .kc-social-proof {
        flex-wrap: nowrap !important; /* Force side-by-side */
        gap: 3px !important;
        margin-top: -7px !important; /* Pull up further on mobile to eliminate post-title gap */
        margin-bottom: 1px !important; /* Extra-tight gap under stars */
    }
    .kc-rating-stars {
        font-size: 9px !important; /* Scale down stars on mobile */
        gap: 1px !important;
    }
    .kc-rating-count {
        font-size: 8px !important;
        margin-left: 2px !important;
    }
    .kc-sold-badge {
        font-size: 7px !important; /* Compress text size */
        padding: 1px 3px !important; /* Compress physical badge bounds */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }
    /* Stack CTA buttons to prevent crashing - UPDATED: Sidebar side by side */
    .kc-cta-row, .owl-item .kc-cta-row {
        flex-direction: row !important;
        height: 30px !important; /* Tighter CTA row */
        gap: 4px !important;
        align-items: stretch !important;
        margin-top: 4px !important; /* Pull buttons closer to price */
    }
    .kc-cart-btn-wrapper {
        flex: 1 !important;
        height: 100% !important;
        display: flex !important;
    }
    .kc-cta-row form {
        height: 100% !important;
        width: 100% !important;
        flex: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .kc-add-to-cart-btn {
        font-size: 14px !important;
        height: 100% !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #317d0c !important;
        border-radius: 6px !important;
        color: #fff !important;
        border: none !important;
    }
    .kc-add-to-cart-btn i {
        margin-top: 0 !important; /* Reset offset to trust flex centering */
    }
    .kc-free-delivery-label {
        height: 100% !important;
        font-size: 8px !important;
        flex: 1.2 !important; /* Slightly more room for text */
    }
    
    /* Uncropped Mobile Banner Lock - STRICT HEIGHT */
    /* Mobile Banner Branding Scaling */
    .logo img {
        max-height: 50px !important;
    }
}

/* 9.1 TABLET OPTIMIZATION (High-Density 3-per-row) */
@media (min-width: 768px) and (max-width: 1199px) {
    .col-kc-5-cols {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
        padding: 6px !important;
    }
    .single_product {
        height: 415px !important;
        padding: 10px !important;
    }
    .product_thumb {
        height: 180px !important;
    }
    .product_thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
    .product_name a {
        font-size: 13px !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 {
    background-color: transparent !important;
}

.single_slider {
    position: relative !important;
    height: 400px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
/* 11.2 SLIDER FOUC PREVENTION (Prevents vertical stacking on load) */
.slider_area:not(.owl-loaded) {
    display: block !important;
    overflow: hidden !important;
    height: 400px !important; /* Matches .single_slider height */
    position: relative !important;
}

.slider_area:not(.owl-loaded) > div:first-child {
    height: 100% !important;
    display: block !important;
}

.slider_area:not(.owl-loaded) > div:not(:first-child) {
    display: none !important;
}

@media (max-width: 767px) {
    .slider_area:not(.owl-loaded) {
        height: 300px !important;
    }
}

/* 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: 20px auto 10px auto !important; /* Sitting centered in smaller slider */
    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, .kc-layered-banner, .slider_area {
        background: transparent !important;
        height: 300px !important;
        min-height: 300px !important;
        display: flex !important;
        align-items: flex-start !important;
    }

    .kc-layered-content-wrapper {
        height: 300px !important;
        width: 100% !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* FULL-WIDTH EDGE-TO-EDGE FIX */
    .slider_section .container, 
    .slider_section .row, 
    .slider_section .col-lg-12,
    .single_slider .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* THE DEFINITIVE IMAGE FIT FIX (LESS ZOOM) */
    .kc-bg-sim {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        object-fit: cover !important;
        object-position: center top !important;
        z-index: 0 !important;
    }

    /* GLOBAL CONTENT COMPRESSION */
    .slider_content, .carousel-caption {
        padding: 130px 15px 10px 15px !important; /* Clears the hanging logo (Balanced) */
        max-width: 100% !important;
        position: relative !important;
        z-index: 1 !important;
        text-align: center !important;
    }

    .slider_section:not(.slider_s_four) .slider_content h1 {
        font-size: 24px !important;
        line-height: 1.1 !important;
        margin-bottom: 5px !important;
        font-weight: 800 !important;
    }

    .slider_section:not(.slider_s_four) .slider_content p {
        font-size: 10px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !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: 32px !important;
        line-height: 34px !important;
        margin: 0 0 8px 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 with Floating Center Button) */
.kc-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(255, 255, 255, 0.98); /* Slightly more solid for premium overlap */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: none; /* Hidden by default (Desktop) */
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    border-top: 1px solid rgba(240, 240, 240, 0.8);
    z-index: 1000000; /* Extremely high to stay above everything else */
    padding: 5px 0;
    overflow: visible !important; /* CRITICAL: Allows the elevated button to float outside boundaries */
}

.kc-mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    flex: 1;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

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

.kc-mobile-bottom-nav .nav-item .label {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #666 !important;
    background: none !important;
    padding: 0 !important;
    display: block !important;
    white-space: nowrap !important;
    line-height: normal !important;
    vertical-align: baseline !important;
    transition: color 0.2s ease !important;
}

/* Hover/Focus and Active states for normal items */
.kc-mobile-bottom-nav .nav-item:active .lnr,
.kc-mobile-bottom-nav .nav-item:hover .lnr {
    color: #317d0c !important;
    transform: scale(0.9);
}

.kc-mobile-bottom-nav .nav-item:active .label,
.kc-mobile-bottom-nav .nav-item:hover .label {
    color: #317d0c !important;
}

/* === THE ULTIMATE ELEVATED FLOATING CENTER BUTTON (Products) === */
.kc-mobile-bottom-nav .nav-item-raised {
    position: relative;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end !important; /* Pin label perfectly at the bottom with others */
    align-items: center;
    height: 100%;
    z-index: 1000001 !important;
}

.kc-mobile-bottom-nav .nav-item-raised .kc-circle-wrapper {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #317d0c 0%, #47ad12 50%, #51c914 100%);
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute;
    top: -28px; /* Elevated perfectly above the white bar line */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 24px rgba(49, 125, 12, 0.45); /* Rich green brand glowing shadow */
    border: 4px solid #ffffff; /* Clean white shield cutting through background */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    z-index: 10;
    overflow: hidden; /* Prevent pseudo-elements from bleeding outside circle */
}

/* Hard reset to destroy any third-party font/icon libraries injection (e.g. plaza-icon) */
.kc-mobile-bottom-nav .nav-item-raised .kc-circle-wrapper::before,
.kc-mobile-bottom-nav .nav-item-raised .kc-circle-wrapper::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.kc-mobile-bottom-nav .nav-item-raised .kc-circle-wrapper .lnr {
    font-size: 24px !important;
    color: #ffffff !important;
    margin-bottom: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    text-align: center !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    /* Hard reset on font families and pseudo values for the child icon itself */
    font-family: 'Linearicons-Free' !important;
}

.kc-mobile-bottom-nav .nav-item-raised .label {
    font-size: 11px;
    font-weight: 700;
    color: #317d0c; /* High-contrast green label to balance the visual weight */
    letter-spacing: 0.2px;
    margin-top: auto;
    margin-bottom: 2px;
}

/* Premium micro-animations for the floating button */
.kc-mobile-bottom-nav .nav-item-raised:active .kc-circle-wrapper,
.kc-mobile-bottom-nav .nav-item-raised:hover .kc-circle-wrapper {
    transform: translateX(-50%) translateY(-6px) scale(1.06); /* Height pop & scale up */
    box-shadow: 0 12px 28px rgba(49, 125, 12, 0.55); /* Intenser glow shadow */
    background: linear-gradient(135deg, #27640a 0%, #3a8e0e 50%, #47ad12 100%); /* Deepen on engagement */
}

.kc-mobile-bottom-nav .nav-item-raised:active .kc-circle-wrapper .lnr,
.kc-mobile-bottom-nav .nav-item-raised:hover .kc-circle-wrapper .lnr {
    transform: rotate(15deg) scale(1.08); /* Sophisticated subtle rotation feedback */
}

/* Mobile Visibility Display */
@media (max-width: 767px) {
    .kc-mobile-bottom-nav {
        display: flex !important;
    }
    
    body {
        padding-bottom: 140px !important; /* Space for Bottom Nav (65px) + Sticky Bar (65px) + 10px buffer */
    }

    /* Fix Mobile Button Cropping/Ghosting/Overlap */
    #scrollUp {
        bottom: 90px !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/SMS Floating Buttons higher above Bottom Nav (65px) */
    .sms-button-home.side, .sms-button-homeb.sideb, .kc-unified-chat-wrapper {
        top: auto !important;
        bottom: 145px !important; /* Higher clearance for better visibility */
        z-index: 999998 !important;
    }
    
    #scrollUp {
        bottom: 215px !important; /* Move scroll-up above the chat widget */
    }
}

/* ===== ALL PRODUCTS DROPUP (Mobile) ===== */
.kc-dropup-menu {
    position: fixed;
    bottom: -100%; /* Hidden by default */
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000000;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
    transition: bottom 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    padding-bottom: env(safe-area-inset-bottom, 20px);
}

.kc-dropup-menu.active {
    bottom: 0 !important;
}

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

.kc-dropup-header span {
    font-weight: 800;
    font-size: 16px;
    color: #317d0c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kc-dropup-header i {
    font-size: 20px;
    color: #888;
    padding: 5px;
    cursor: pointer;
}

.kc-dropup-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px 0;
}

.kc-dropup-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333 !important;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f9f9f9;
    text-decoration: none !important;
}

.kc-dropup-item i {
    margin-right: 15px;
    color: #317d0c;
    width: 20px;
    text-align: center;
}

.kc-dropup-item.highlight {
    background: #f6fff2;
    color: #317d0c !important;
    font-weight: 700;
}

.kc-dropup-item-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #eee;
}

.kc-dropup-item-header .kc-dropup-item {
    flex-grow: 1;
    border-bottom: none !important;
}

.kc-dropup-expand {
    padding: 15px 20px !important;
    cursor: pointer;
    color: #888;
    font-size: 14px;
}

.kc-dropup-submenu {
    max-height: 0;
    overflow: hidden;
    background: #f9f9f9;
    transition: max-height 0.3s ease-out;
}

.kc-dropup-subitem {
    display: block !important;
    padding: 12px 20px 12px 50px !important;
    color: #555 !important;
    font-size: 14px !important;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none !important;
}

.kc-dropup-subitem.highlight {
    color: #317d0c !important;
    font-weight: 600;
    background: #f1f9ed;
}

.kc-dropup-category.open .kc-dropup-item-header {
    background: #fafafa;
}

.kc-dropup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999999;
    display: none;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.kc-dropup-overlay.active {
    display: block !important;
}

/* Ensure bottom nav items look interactive */
.kc-mobile-bottom-nav .nav-item {
    cursor: pointer;
}

/* Ensure no overlap with chat */
#kc-unified-chat-wrapper {
    z-index: 999997 !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;
}

/* ==========================================================================
   Premium UI Polish (Phase 2)
   ========================================================================== */

/* 1. Payment Grid & Cards */
.kc-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    margin-top: 15px;
}

.kc-payment-card {
    cursor: pointer;
    position: relative;
    border: 2px solid #eee !important;
    border-radius: 12px !important;
    padding: 15px 10px !important;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.kc-payment-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.kc-payment-card .kc-card-inner img {
    height: 40px;
    margin-bottom: 8px !important;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.kc-payment-card .kc-card-inner span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #777;
    line-height: 1.2;
}

/* Selected State */
.kc-payment-card:has(input:checked) {
    border-color: #317d0c !important;
    background: #f6fff2 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(49, 125, 12, 0.15);
}

.kc-payment-card:has(input:checked) .kc-card-inner img {
    filter: grayscale(0%);
    opacity: 1;
}

.kc-payment-card:has(input:checked) .kc-card-inner span {
    color: #317d0c;
}

/* 2. Micro-Animations */
@keyframes kcRevealUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.kc-reveal {
    animation: kcRevealUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 3. Glassmorphism Utilities */
.kc-glass {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* 4. Skeleton Loaders */
.kc-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: kc-skeleton-loading 1.5s infinite;
}

@keyframes kc-skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Fixes for Checkout Grid */
@media (max-width: 767px) {
    .kc-payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 15. REVISED PREMIUM BRAND BANNERS (v31 - THE SPLIT CREDENTIAL) */
.kc-layered-banner {
    width: 100% !important;
    min-height: 450px !important;
    background-size: cover !important;
    background-position: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
    border-radius: 15px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
}

.kc-layered-banner::before {
    content: '' !important;
    position: absolute !important;
    top: auto !important; /* Neutralize top:0 from UniversalHeader.php so bottom anchoring works */
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 70% !important;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%) !important;
    z-index: 1 !important;
}

.kc-layered-content-wrapper {
    position: relative !important;
    z-index: 2 !important;
    padding: 40px 50px 15px 50px !important; /* Grounded Desktop Padding */
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 40px !important;
}

.kc-brand-credential-card {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 20px !important;
    border-radius: 15px !important;
    width: 160px !important;
    height: 160px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3) !important;
    flex-shrink: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.kc-brand-credential-card img {
    max-width: 120px !important;
    max-height: 120px !important;
    object-fit: contain !important;
    /* DYNAMIC BACKGROUND REMOVAL Trick */
    mix-blend-mode: multiply !important;
}

.kc-brand-story-layer {
    flex: 1 !important;
    color: #fff !important;
}

.kc-brand-trust-heading {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

.kc-partner-badge {
    background: rgba(81, 201, 20, 0.2) !important;
    border: 1px solid #51c914 !important;
    color: #51c914 !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.kc-verified-text {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.7) !important;
}

.kc-brand-story-layer h1 {
    color: #fff !important;
    font-size: 48px !important;
    font-weight: 900 !important;
    margin: 0 0 10px 0 !important;
    text-transform: capitalize !important;
    line-height: 1.1 !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}

.kc-brand-story-layer p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    max-width: 600px !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

/* MOBILE RESPONSIVE ADAPTATION (Revised) */
@media (max-width: 767px) {
    .kc-layered-banner {
        min-height: 300px !important;
        justify-content: flex-end !important;
        align-items: center !important; /* Center horizontally in column mode */
    }
    
    .kc-layered-banner::before {
        height: 100% !important; /* Full coverage for mobile stacked content */
        background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.1) 100%) !important;
    }

    .kc-layered-content-wrapper {
        flex-direction: column !important;
        padding: 20px 15px 15px 15px !important; /* Tightened for 300px height lock */
        gap: 12px !important;
        text-align: center !important;
    }
    
    .kc-brand-credential-card {
        width: 100px !important;
        height: 100px !important;
        padding: 12px !important;
        margin: 0 auto !important; /* Center card in the column */
        border-radius: 12px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.4) !important;
    }
    
    .kc-brand-credential-card img {
        max-width: 75px !important;
        max-height: 75px !important;
    }
    
    .kc-brand-trust-heading {
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 8px !important;
    }
    
    .kc-partner-badge {
        font-size: 9px !important;
        padding: 3px 10px !important;
        letter-spacing: 0.5px !important;
    }
    
    .kc-verified-text {
        font-size: 11px !important;
        color: rgba(255,255,255,0.8) !important;
    }
    
    .kc-brand-story-layer h1 {
        font-size: 26px !important;
        margin: 5px 0 10px 0 !important;
        letter-spacing: -0.5px !important;
    }
    
    .kc-brand-story-layer p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        color: rgba(255,255,255,0.9) !important;
    }
}
/* 15. REFINED PREMIUM CART ENGINE (v35) */

/* ==========================================================================
   NUCLEAR DARAZ CART ENGINE v2
   ========================================================================== */

/* 1. Page & Banner Grounding */
.shopping_cart_area {
    background: #f4f4f4 !important;
    min-height: 100vh;
}

.cart_small_banner {
    padding-top: 130px !important;
    height: 200px !important;
    min-height: 200px !important;
    display: flex !important;
    align-items: flex-end !important;
    padding-bottom: 35px !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    border-bottom: none !important;
}

/* 2. Order Info Card */
.order-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    margin: 10px 10px 15px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}

.order-stack .label { font-size: 8px; color: #999; text-transform: uppercase; font-weight: 700; }
.order-stack .value { color: #333; font-weight: 800; font-size: 13px; }

/* 3. THE NUCLEAR FLEX-ROW ENGINE (Direct Stacking Kill) */
@media (max-width: 767px) {
    .cart_page table, .cart_page tbody { display: block !important; width: 100% !important; }
    .cart-thead { display: none !important; }

    .cart-item-card {
        background: #fff !important;
        border-radius: 12px !important;
        margin: 0 10px 12px 10px !important;
        padding: 12px 10px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
        display: flex !important; /* ROBUST FLEX */
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        position: relative !important;
        border: none !important;
        min-height: 100px !important;
    }

    /* Reset all table cell properties to allow proper flex flow */
    .cart_page .cart-item-card td {
        display: block !important;
        width: auto !important;
        border: none !important;
        padding: 0 !important;
        background: transparent !important;
        text-align: left !important;
        flex-shrink: 0 !important;
    }

    /* Column 1: Checkbox (Always visible on mobile) */
    .cart_page .product_remove {
        flex: 0 0 30px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .daraz-check-box {
        width: 18px;
        height: 18px;
        border: 1.5px solid #d1d1d1;
        border-radius: 2px;
        background: #fff;
    }

    /* Column 2: Image Container */
    .cart-item-card .product_thumb {
        flex: 0 0 84px !important;
        width: 84px !important;
        height: 84px !important;
        border: 1px solid #f2f2f2 !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin: 0 12px 0 0 !important;
    }
    .cart-item-card .product_thumb img {
        max-width: 76px !important;
        max-height: 76px !important;
        object-fit: contain;
    }

    /* Column 3: Name & Consolidated Details */
    .cart_page .cart-item-card .product_name {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 0 0 0 12px !important;
        display: block !important;
        height: auto !important; /* NUKE 40PX CLIPPING */
        min-height: 0 !important;
        overflow: visible !important;
    }

    .item-details-mobile {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    .item-details-mobile .p-name {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #2e2e2e !important;
        line-height: 1.2 !important;
        margin-bottom: 2px;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .p-brand-mobile {
        font-size: 10px !important;
        color: #9e9e9e !important;
        display: flex !important;
        align-items: center;
        gap: 2px;
        margin-bottom: 4px;
        visibility: visible !important;
    }

    .p-price-row-mobile {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: 4px;
        visibility: visible !important;
    }

    .price-stack-mobile {
        display: flex;
        flex-direction: column;
        line-height: 1;
    }

    .p-price-mobile {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #317d0c !important; /* Kissan Cares Green */
    }

    .p-old-price-mobile {
        margin-top: 2px;
    }

    /* Compact Stepper matching Daraz */
    .p-qty-stepper {
        display: flex !important;
        align-items: center;
        background: #eff0f5;
        border-radius: 2px;
        overflow: hidden;
    }
    .p-qty-stepper span {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: #757575;
        cursor: pointer;
        transition: background 0.2s;
    }
    .p-qty-stepper span:active {
        background: #ddd;
    }
    .p-qty-stepper .qty-val {
        background: #fff;
        width: 28px;
        color: #212121;
        font-weight: 600;
        font-size: 12px;
        cursor: default;
    }

    /* Hide ALL standard table cells on mobile cards EXCEPT our unified columns */
    .cart_page .cart-item-card td:not(.product_remove):not(.product_thumb):not(.product_name) {
        display: none !important;
    }

    /* Force height and visibility */
    .cart-item-card {
        min-height: 110px !important;
        height: auto !important;
        overflow: visible !important;
    }
}

/* 4. Daraz Sticky Footer (Atomic Precision) */
.checkout-sticky-bar {
    position: fixed;
    bottom: 60px; 
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100000;
    border-top: 1px solid #eee;
    padding: 10px 20px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.06);
}

.checkout-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
}

.total-stack .label { font-size: 9px; color: #999; text-transform: uppercase; font-weight: 700; }
.total-stack .amount { font-size: 19px; color: #317d0c; font-weight: 900; }

.kc-btn-checkout {
    background: #317d0c;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14px;
}

/* 5. GHOST WIDGET LIFT - Targeted from links.php */
@media (max-width: 767px) {
    .sms-button-home, 
    .sms-button-homeb,
    #whatsapp-chat-widget, 
    .whatsapp-chat-widget,
    #scrollUp,
    #sales_notification_id {
        bottom: 140px !important; /* LIFTed above bottom nav & sticky bars */
        z-index: 999999 !important;
    }
}

    .cart_page .product_name::before { display: none !important; }

    .cart_page .product_total {
        background: #f6fff2 !important;
        color: #317d0c !important;
        font-weight: 800 !important;
        font-size: 16px !important;
        border-bottom: none !important;
    }

    /* Total Summary Row */
    .mobile-total-row {
        background: #f9f9f9 !important;
        border-radius: 12px !important;
        padding: 15px !important;
        margin-top: 10px !important;
        border: 1px dashed #ccc !important;
    }

    .mobile-total-row td {
        display: block !important;
        padding: 0 !important;
        border: none !important;
    }

    .total-summary {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        text-align: right !important;
    }

    .total-summary span {
        font-size: 14px;
        color: #666;
    }

    .total-summary .grand-total {
        font-size: 20px;
        font-weight: 900;
        color: #317d0c;
        border-top: 1px solid #ddd;
        padding-top: 10px;
        margin-top: 5px;
    }

    /* Cart Actions (Non-sticky) */
    .cart-actions-row {
        padding: 20px 0 !important;
    }

    .cart-actions-row form {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .cart-actions-row .kc-btn-outline,
    .cart-actions-row .kc-btn-secondary {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Checkout Sticky Bar */
    .checkout-sticky-bar {
        position: fixed !important;
        bottom: 65px !important; /* Above bottom navigation bar */
        left: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        padding: 12px 15px !important;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.1) !important;
        z-index: 10000 !important;
        border-top: 1px solid #eee !important;
    }

    .checkout-bar-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 15px !important;
    }

    .checkout-total-info {
        display: flex !important;
        flex-direction: column !important;
    }

    .checkout-total-info .label {
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #888 !important;
        text-transform: uppercase !important;
    }

    .checkout-total-info .amount {
        font-size: 18px !important;
        font-weight: 900 !important;
        color: #317d0c !important;
    }

    .kc-btn-checkout {
        flex: 1 !important;
        background: #317d0c !important;
        color: #fff !important;
        border: none !important;
        height: 48px !important;
        border-radius: 10px !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        box-shadow: 0 4px 15px rgba(49, 125, 12, 0.3) !important;
    }
}

/* 19. PREMIUM PRODUCT PAGE MODULES (Daraz-Style Density) */
.kc-pro-breadcrumb {
    padding: 10px 0 !important;
    background: #f8f8f8 !important;
    border-bottom: 1px solid #eee !important;
}
.kc-pro-breadcrumb ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 8px !important;
    font-size: 11px !important;
    color: #888 !important;
    align-items: center !important;
}
.kc-pro-breadcrumb ul li {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}
.kc-pro-breadcrumb ul li a {
    color: #4a8e24 !important;
    text-transform: capitalize !important;
    display: inline-block !important;
}
.kc-pro-breadcrumb ul li:not(:last-child):after {
    content: '/' !important;
    margin-left: 8px !important;
}

.product_d_right h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
    color: #222 !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
}

.product_d_right h1 a {
    font-size: inherit !important;
    color: inherit !important;
    font-weight: inherit !important;
}

.kc-pro-info-row {
    display: flex !important;
    gap: 15px !important;
    margin-bottom: 8px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.kc-pro-label {
    min-width: 100px !important;
    color: #757575 !important;
    font-weight: 500 !important;
}

.kc-pro-value {
    color: #212121 !important;
    font-weight: 500 !important;
}

.kc-pro-price-block {
    background: #fffafa !important;
    padding: 15px !important;
    border-radius: 8px !important;
    margin: 20px 0 !important;
    border: 1px solid rgba(255, 0, 0, 0.05) !important;
}

.kc-pro-price-block .current_price {
    font-size: 30px !important;
    color: #f57224 !important; /* Daraz Orange style for price */
    font-weight: 700 !important;
}

/* 20. MOBILE STICKY PRODUCT BAR */
.kc-sticky-product-bar {
    position: fixed !important;
    bottom: 65px !important; /* Above Bottom Nav (65px) */
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    display: none; /* Desktop hidden */
    padding: 10px 15px !important;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.15) !important;
    z-index: 9999999 !important;
    border-top: 1px solid #e0e0e0 !important;
    height: 70px !important;
    align-items: center !important;
    pointer-events: auto !important;
}

.kc-sticky-product-bar .btn-group {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
}

.kc-btn-sticky {
    flex: 1 !important;
    height: 44px !important;
    border-radius: 6px !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-transform: uppercase !important;
}

.kc-btn-buy-now {
    background: #317d0c !important;
    color: #fff !important;
    border: 1.5px solid #317d0c !important;
    box-shadow: 0 4px 10px rgba(49, 125, 12, 0.3) !important;
}

.kc-btn-add-cart {
    background: #f8f8f8 !important;
    color: #317d0c !important;
    border: 1.5px solid #317d0c !important;
}

@media (max-width: 767px) {
    .kc-sticky-product-bar {
        display: flex !important;
    }
    .product_d_right h1 {
        font-size: 22px !important; /* Targeted 22px as per plan */
    }
    .kc-pro-price-block .current_price {
        font-size: 24px !important;
    }
    .product_d_info .nav li a {
        width: 100% !important;
        font-size: 14px !important;
        padding: 10px !important;
    }
}

/* 21. WEATHER WIDGET STABILITY LOCK */
.weather-widget-container {
    min-height: 480px !important;
    background: #fff !important;
    border-radius: 15px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .weather-widget-container {
        min-height: 550px !important; /* Mobile needs more room for stacked data */
    }
}

@media (max-width: 767px) {
    .kc-header-more-btn {
        width: auto !important;
        margin: 0 !important;
        display: inline-flex !important;
        justify-content: center;
        align-items: center;
        text-align: center;
        min-width: 80px;
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
    
    .section_title {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .section_title h2 {
        font-size: 18px !important;
        margin: 0 !important;
    }
}

/* GLOBAL OWL DOTS (Pagination Indicators for All Sliders) */
.owl-carousel .owl-dots {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 20px !important;
    line-height: 1 !important;
}

.owl-carousel .owl-dots .owl-dot {
    width: 10px !important;
    height: 10px !important;
    background: #d1d1d1 !important;
    display: inline-block !important;
    margin: 0 5px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    border: none !important;
    padding: 0 !important;
    outline: none !important;
}

.owl-carousel .owl-dots .owl-dot.active {
    background: #317d0c !important; /* Kissan Cares Green */
    width: 22px !important;
    border-radius: 10px !important;
}

/* Specific adjustment for Expert Solutions Section */
.expert_solutions_area .owl-dots {
    margin-top: 30px !important;
}


/* ==========================================================================
   ANTIGRAVITY GLOBAL VIBE SYSTEM (v2.1)
   Unifies Typography, Accents, and CTAs across Homepage Sections
   ========================================================================== */

.kc-vibe-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-bottom: 35px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #317d0c !important; /* Branded Underline */
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.kc-vibe-title-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}

.kc-vibe-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #112904 !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.kc-vibe-subtitle {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #888 !important;
    font-style: italic !important;
    margin: 5px 0 0 0 !important;
}

.kc-text-brand, .kc-text-gold {
    color: #317d0c !important;
}

/* Premium Vibe More Button */
.kc-vibe-more-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #317d0c !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px rgba(49, 125, 12, 0.15) !important;
    text-decoration: none !important;
}

.kc-vibe-more-btn:hover {
    background: #112904 !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(49, 125, 12, 0.25) !important;
}

.kc-vibe-more-btn i {
    transition: transform 0.3s ease !important;
}

.kc-vibe-more-btn:hover i {
    transform: translateX(5px) !important;
}

/* Responsive Vibe Alignment */
@media (max-width: 767px) {
    .kc-vibe-header {
        display: flex !important;
        flex-direction: row !important; /* Keep it side-by-side */
        flex-wrap: nowrap !important; /* FORCE side-by-side */
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
        margin-bottom: 20px !important;
        padding-bottom: 8px !important;
        gap: 10px !important;
    }
    
    .kc-vibe-title {
        font-size: 16px !important; /* Smaller title for mobile side-by-side */
    }

    .kc-vibe-subtitle {
        display: none !important; /* Hide subtitle on mobile to save space */
    }
    
    .kc-vibe-more-btn {
        width: auto !important;
        padding: 6px 14px !important; /* Compact button */
        font-size: 9px !important;
        gap: 6px !important;
    }
}

/* --- BULLETPROOF LAYER v4.5 (MOBILE OPTIMIZED) --- */
.single_product.antigravity-product-card { 
    isolation: isolate !important; 
    contain: layout !important; 
    height: 385px !important; 
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
}
.single_product.antigravity-product-card .product_content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.single_product.antigravity-product-card .kc-social-proof { 
    display: flex !important; 
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    justify-content: space-between !important; 
    width: 100% !important; 
    align-items: center !important; 
    margin: 4px 0 !important; 
    flex-shrink: 0 !important;
}
.single_product.antigravity-product-card .kc-rating-stars {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}
.single_product.antigravity-product-card .kc-sold-badge {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* View-Aware Visibility Engine (Strict) */
.single_product.antigravity-product-card .kc-grid-only,
.single_product.antigravity-product-card .kc-list-only {
    display: none !important; /* Total suppression by default */
}

/* Enable Grid Components in any grid-like parent */
.shop_wrapper.grid-view .single_product.antigravity-product-card .kc-grid-only,
.kc-grid-2x5 .single_product.antigravity-product-card .kc-grid-only,
.owl-item .single_product.antigravity-product-card .kc-grid-only,
.col-kc-5-cols .single_product.antigravity-product-card .kc-grid-only {
    display: flex !important;
    flex: 1 !important;
}

/* Enable List Components only in validated list parents */
.shop_wrapper.list-view .single_product.antigravity-product-card .kc-list-only {
    display: flex !important;
    flex: 1 !important;
}

.single_product.antigravity-product-card .kc-cta-row { 
    display: flex !important; 
    flex-direction: row !important;
    gap: 6px !important; 
    height: 42px !important; 
    min-height: 42px !important;
    margin-top: auto !important; 
    width: 100% !important; 
    flex-shrink: 0 !important;
}

/* Internal components of the CTA row */
.single_product.antigravity-product-card .kc-cta-row .kc-cart-btn-wrapper,
.single_product.antigravity-product-card .kc-cta-row form {
    flex: 1 !important;
    display: flex !important;
}

.single_product.antigravity-product-card .kc-buy-now-btn-grid, 
.single_product.antigravity-product-card .kc-buy-now-btn,
.single_product.antigravity-product-card .kc-add-to-cart-btn { 
    width: 100% !important; 
    height: 100% !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    font-size: 11px !important; 
    font-weight: 800 !important; 
    text-transform: uppercase !important; 
    white-space: nowrap !important; 
    border-radius: 6px !important; 
    text-align: center !important;
}

/* --- MOBILE SPECIFIC OVERRIDES --- */
@media (max-width: 767px) {
    .single_product.antigravity-product-card {
        height: auto !important;
        min-height: 250px !important;
    }
    .single_product.antigravity-product-card .kc-cta-row {
        height: 32px !important;
        min-height: 32px !important;
        gap: 4px !important;
        margin-top: 6px !important;
    }
    .single_product.antigravity-product-card .kc-social-proof {
        margin: -4px 0 1px 0 !important;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        gap: 3px !important;
    }
    .single_product.antigravity-product-card .kc-rating-stars {
        font-size: 9px !important;
        gap: 1px !important;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        flex-shrink: 0 !important;
    }
    .single_product.antigravity-product-card .kc-rating-count {
        font-size: 8px !important;
        margin-left: 2px !important;
    }
    .single_product.antigravity-product-card .kc-sold-badge {
        font-size: 7px !important;
        padding: 1px 3px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }
    .single_product.antigravity-product-card .kc-sold-badge i {
        font-size: 7px !important;
        margin-right: 2px !important;
    }
    .single_product.antigravity-product-card .kc-buy-now-btn-grid, 
    .single_product.antigravity-product-card .kc-buy-now-btn,
    .single_product.antigravity-product-card .kc-add-to-cart-btn { 
        font-size: 10px !important;
    }
}

/* --- LIST VIEW PRECISION --- */
.shop_wrapper.list-view .single_product.antigravity-product-card {
    height: auto !important;
    min-height: 180px !important;
    grid-template-columns: 200px 1fr 220px !important;
}
.shop_wrapper.list-view .single_product.antigravity-product-card .kc-buy-now-btn-grid {
    display: none !important; /* STRICT SUPPRESSION: No grid button in list view */
}
.shop_wrapper.list-view .single_product.antigravity-product-card .kc-cta-row {
    flex-direction: column !important;
    height: auto !important;
    width: 220px !important;
    margin-left: auto !important;
    gap: 8px !important;
}
@media (max-width: 767px) {
    .shop_wrapper.list-view .single_product.antigravity-product-card {
        grid-template-columns: 80px 1fr 100px !important; /* Balanced mobile 3-col */
        gap: 8px !important;
        padding: 8px !important;
    }
    .shop_wrapper.list-view .single_product.antigravity-product-card .kc-cta-row {
        width: 100px !important;
        max-width: 100px !important;
        min-width: 100px !important;
        padding-left: 5px !important;
    }
}

/* ==========================================================================
   29. PREMIUM DUAL-PILL FLOATING BADGES OVERRIDES (Zero-Gravity Pill Styling)
   ========================================================================== */
.ribbonLeftRed, .ribbonRightBlue {
    width: auto !important;
    height: auto !important;
    position: absolute !important;
    top: 10px !important;
    z-index: 99 !important;
    overflow: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
    pointer-events: auto !important;
}

.ribbonLeftRed {
    left: 10px !important;
    right: auto !important;
}

.ribbonRightBlue {
    right: 10px !important;
    left: auto !important;
}

.ribbonLeftRed span, .ribbonRightBlue span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    text-transform: uppercase !important;
    transform: none !important;
    -webkit-transform: none !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

/* Background Color Specifications */
.ribbonLeftRed span {
    background: #e53935 !important; /* Premium Red Capsule */
}

.ribbonRightBlue span {
    background: #1e5c2d !important; /* Premium Dark Green Capsule matching the brand theme in screenshot */
}

/* Clean up old micro-fold pseudo-elements */
.ribbonLeftRed span::before, .ribbonLeftRed span::after,
.ribbonRightBlue span::before, .ribbonRightBlue span::after {
    display: none !important;
    content: none !important;
}

/* ==========================================================================
   30. OUT OF STOCK / SOLD OUT CAPSULE LAYOUT & ACTIVE NOTIFY ME OVERRIDES
   ========================================================================== */
.kc-sold-out-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.45) !important; /* Elegant glass fade */
    z-index: 12 !important;
    pointer-events: none !important;
}

.kc-sold-out-badge {
    background: #e53935 !important; /* Crimson Red matching 'SOLD OUT' screenshot */
    color: #ffffff !important;
    padding: 6px 16px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    border-radius: 30px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3) !important;
    letter-spacing: 0.5px !important;
    transform: none !important;
    -webkit-transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Grayscale/Fade Effect for Sold Out Images */
.single_product.antigravity-product-card.kc-sold-out-card .product_thumb img {
    opacity: 0.65 !important;
    filter: grayscale(30%) !important;
}

/* Out of Stock "Notify Me" Active Green Button Styling */
.kc-add-to-cart-btn.out-of-stock {
    background: #28a745 !important; /* Premium active green matching screenshot */
    color: #ffffff !important;
    cursor: pointer !important;
    border-color: #28a745 !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

.kc-add-to-cart-btn.out-of-stock:hover {
    background: #218838 !important;
    border-color: #218838 !important;
}

.kc-add-to-cart-btn.out-of-stock i {
    color: #ffffff !important;
    margin-right: 8px !important;
    font-size: 15px !important;
}

/* Out of Stock Premium Inline "Notify Me" transitions & animations */
.kc-notify-wrapper {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.kc-notify-trigger-btn {
    width: 100% !important;
    height: 40px !important;
    background: #2e7d32 !important; /* Rich brand green */
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.15) !important;
}

.kc-notify-trigger-btn:hover {
    background: #1b5e20 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 14px rgba(46, 125, 50, 0.25) !important;
}

.kc-notify-trigger-btn i {
    font-size: 15px !important;
}

.kc-notify-form-container {
    width: 100% !important;
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
    animation: kcFormFadeIn 0.3s ease;
}

.kc-notify-phone-input {
    flex: 1 !important;
    height: 40px !important;
    border: 1px solid #c8d6c7 !important;
    border-radius: 6px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    color: #2c3e2b !important;
    background: #fbfdfa !important;
    outline: none !important;
    font-family: inherit !important;
    transition: all 0.25s ease !important;
}

.kc-notify-phone-input:focus {
    border-color: #2e7d32 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1) !important;
}

.kc-notify-submit-btn {
    width: 44px !important;
    height: 40px !important;
    background: #2e7d32 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.kc-notify-submit-btn:hover {
    background: #1b5e20 !important;
}

.kc-notify-submit-btn i {
    font-size: 14px !important;
    color: #ffffff !important;
}

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

@keyframes kcSpringBounce {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

