/* public/assets/web/css/style.css */


html,
body {
    max-width: 100% !important;
    /* 'hidden' ki jagah 'clip' use karo, ye sticky ko support karta hai */
    overflow-x: clip !important;
    position: relative;
    height: auto;
}

/* Row margins fix: Negative margin hatao jo horizontal scroll paida karte hain */
.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
    --bs-gutter-x: 0;
    /* Bootstrap gutters ko control karne ke liye */
}

/* --- GLOBAL VARIABLES --- */
:root {
    --ks-primary: #22c55e;
    /* Logo Green */
    --ks-primary-light: #03a656;
    --ks-bg-gray: #f0f2f5;
    --ks-divider: #e0e0e0;
    --ks-text: #212121;
    --ks-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    --primary-green: #22c55e;
    --hover-green: #22c55e;
    --light-bg: #f8fbf9;
}

body {
    font-family: 'Roboto', sans-serif;
    /* text-transform: capitalize !important; */
}


.modern-pill-breadcrumb {
    background: #ffffff;
    display: inline-flex;
    /* Sirf utni width lega jitni zaroorat hai */
    align-items: center;
    padding: 8px 24px !important;
    border-radius: 50px !important;
    border: 1px solid #22c55e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    list-style: none;
}

.modern-pill-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
    /* Vertically align text and arrows */
    font-size: 0.85rem;
}

/* Arrow Alignment Fix */
.modern-pill-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "\f105" !important;
    /* FontAwesome Chevron Right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    vertical-align: middle;
    padding: 5px 10px 0px 8px;
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1;
    /* Reset line height for perfect center */
}

.bc-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.bc-link:hover {
    color: #22c55e;
}

.bc-link i {
    font-size: 0.8rem;
    margin-top: -1px;
    /* Optical adjustment for home icon */
}

.breadcrumb-item.active {
    color: #1e293b;
    font-weight: 600;
    max-width: 200px;
}


/* New Discount Badge Style */
.top-card-discount-badge {
    position: absolute;
    top: 13px;
    left: 22px;
    /* Right se hata kar Left side shift kiya hai balance ke liye */
    background: linear-gradient(135deg, #fa8d18, #fa8d18);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    z-index: 6;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ekz-discount-badge {
    /* Right se hata kar Left side shift kiya hai balance ke liye */
    background: linear-gradient(135deg, #fa8d18, #fa8d18);
    color: white;
    padding: 0px 3px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    z-index: 6;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}



/* Blink Animation */
/* 1. Shine Sweep Animation */
@keyframes shine-sweep {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: -5px;
    background: #22c55e;
    /* Green Background */
    color: #000000;
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    z-index: 10;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 0 4px 4px 0;

    /* FIX: Ise visible rakhen taki triangle (fold) dikhe */
    overflow: visible;
}

/* --- YAHAN BORDER (TRIANGLE) FIX HAI --- */
.discount-badge::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    /* Dark Green for depth fold */
    border-top: 6px solid #166534;
    border-left: 5px solid transparent;
}

/* --- WHITE SHINE EFFECT FIX --- */
.shine-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Shine ko badge ke andar restrict karne ke liye */
    overflow: hidden;
    border-radius: 0 4px 4px 0;
    pointer-events: none;
}

.shine-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent);
    transform: skewX(-25deg);
    animation: shine-sweep 3s infinite;
}


.line-clamp-2 {
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    max-height: 2.4rem;
}

.header-line-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
}

/* Modern Gradient Lines */
.line-left,
.line-right {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-green), #cbd5e1);
    border-radius: 2px;
    max-width: 300px;
}

.line-right {
    background: linear-gradient(270deg, transparent, var(--brand-green), #cbd5e1);
}

.header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.header-subtitle {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-green);
    letter-spacing: 3px;
    margin-bottom: 5px;
}

/* Hover effect on the whole section */
.category-wrapper:hover .category-main-title {
    color: var(--brand-green);
    transition: 0.3s ease;
}

.category-wrapper:hover .line-left,
.category-wrapper:hover .line-right {
    width: 300px;
    transition: 0.5s ease-in-out;
}

.address-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.address-card:hover {
    transform: translateY(-8px);
    border-color: #198754 !important;
}

.action-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: 0.2s;
}

.action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-white {
    background: #fff;
}


.save-price-value {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #198754;
}

.save-price-value-product-detail {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #198754;
}


/* Return to cart button hover logic */
.btn-return-cart {
    color: #28a745;
    border: 1px solid #28a745;
    transition: all 0.3s ease;
}

.btn-return-cart:hover {
    background-color: #28a745 !important;
    color: #ffffff !important;
    /* Text becomes white on hover */
}

/* Animation for smooth transition */
#otpSection {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Styles */
.btn-return-cart {
    color: #28a745;
    border-color: #28a745;
    transition: all 0.3s ease;
}

.btn-return-cart:hover {
    background-color: #28a745 !important;
    color: #ffffff !important;
    /* White color on hover as requested */
    border-color: #28a745 !important;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    border-color: #28a745;
    box-shadow: none;
    background-color: #fff !important;
}

.custom-input-group .input-group-text {
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-weight: 500;
}

.border-danger {
    border-color: #dc3545 !important;
}

.border-success {
    border-color: #28a745 !important;
}

.x-small {
    font-size: 10px;
}

.product-list-scroll::-webkit-scrollbar {
    width: 5px;
}

.product-list-scroll::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 10px;
}



/* Large input styling for premium feel */
.form-control-lg,
.form-select-lg {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px !important;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
}

/* English: Cleaned up syntax and fixed the broken box-shadow property */
.form-control-lg:focus {
    border-color: #28a745;
    outline: 0;
    /* Default browser outline remove karne ke liye */
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
    margin-bottom: 1rem;
    /* Margin ko alag line mein rakha hai */
}

/* Simple slide up animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

label {
    color: #475569;
}


/* Custom thin scrollbar */
.product-list-scroll::-webkit-scrollbar {
    width: 4px;
}

.product-list-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.product-list-scroll::-webkit-scrollbar-thumb {
    background: #28a745;
    border-radius: 10px;
}

/* Dashed border for item separation */
.border-bottom-dashed {
    border-bottom: 1px dashed #e2e8f0 !important;
}

/* Light green background for security message */
.bg-light-success {
    background-color: #f0fdf4;
    border: 1px solid #dcfce7;
}

.sticky-top {
    z-index: 10;
}

/* ================================================Start Product Details Page Card============================================================== */

.modern-badge-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border-color: #22c55e !important;
}

.modern-badge-card:hover {
    transform: translateY(-3px);
    border-color: #22c55e !important;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.1) !important;
    background: #fff;
}

/* Verified text animation/style */
.x-small-text {
    text-transform: uppercase;
    opacity: 0.8;
}

/* Small devices par row ko horizontal scrollable banana hai toh ye enable karein */
@media (max-width: 576px) {
    .product-badge-grid .row {
        flex-wrap: wrap;
        /* Grid layout better rehta hai 2 columns mein */
    }
}

.main-swiper {
    width: 100%;
    aspect-ratio: 1/1;
    /* Square box for product standard */
}

/* Drift Zoom Styles */
.drift-zoom-pane {
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-view-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    /* Zoom feel */
}

/* Thumbnails */
.thumb-swiper {
    width: 80px;
    flex-shrink: 0;
}

.thumb-swiper .swiper-slide {
    height: 80px !important;
    opacity: 0.6;
    cursor: pointer;
    border: 1px solid #eee !important;
    border-radius: 8px;
}

.thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #198754 !important;
}

.swiper-vertical>.swiper-wrapper {
    flex-direction: row !important;
}

@media (max-width: 768px) {
    .product-advanced-gallery {
        position: relative;
        top: 0 !important;
    }

    .thumb-swiper {
        display: none !important;
    }
}

.pricing-section-container {
    width: 100%;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Price Row Styling */
.price-row-inline {
    margin-bottom: 2px;
}

.main-price {
    font-size: 2rem;
    /* Bada aur bold price */
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1;
}

.original-mrp {
    font-size: 1.1rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}



/* YOU SAVE Tag (Pill style) */
.save-pill {
    width: fit-content;
    background: #f9f0a6;
    border: 1px dashed #fbc02d;
    padding: 3px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.save-label {
    font-size: 10px;
    font-weight: 700;
    color: #f57f17;
    text-transform: uppercase;
}

.save-amt {
    font-size: 15px;
    font-weight: 800;
    color: #e65100;
    background: #fff;
    padding: 0 4px;
    border-radius: 3px;
}

/* Green Border & Pill */
.custom-breadcrumb-nav {
    border: 1px solid #198754 !important;
    border-radius: 50px;
    background-color: #fff;
}

/* Separator color */
.breadcrumb-item+.breadcrumb-item::before {
    content: ">" !important;
    color: #198754 !important;
}

/* Active Green */
.breadcrumb-item.active {
    color: #198754 !important;
}

/* Default state: Sab thumbnails thode faded rahenge */
.thumb-swiper .swiper-slide {
    opacity: 0.5;
    /* Aap 0.4 ya 0.6 bhi rakh sakte ho */
    transition: opacity 0.3s ease, border 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
}

/* Active state: Jo image selected/hovered hai wo fully bright hogi */
.thumb-swiper .swiper-slide.swiper-slide-thumb-active,
.thumb-swiper .swiper-slide:hover {
    opacity: 1 !important;
    /* Opacity hat gayi */
    border-color: #198754;
    /* Optional: Aapki theme ka green border */
}

/* Thumbnail image fitment fix */
.thumb-swiper .swiper-slide img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}


/* --- Variant Section Styling --- */
.variant-card {
    transition: all 0.2s ease;
    border: 1.5px solid #eee !important;
    background: #fff;
    min-height: 100px;
}

.variant-card.active {
    border-color: #198754 !important;
    background-color: #f0fdf4 !important;
    border-width: 2px !important;
}

.discount-label {
    background: #ff8c00;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 4px;
    width: fit-content;
    margin: 0 auto;
}

.x-small {
    font-size: 10px;
}

.size-label {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.active-tick {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 16px;
    z-index: 5;
    line-height: 1;
}



/* 1. Arrows Styling (Top Right) */
.nav-btn-custom {
    width: 38px;
    height: 38px;
    border: 1.5px solid #28a745;
    border-radius: 50%;
    color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
}

.nav-btn-custom:hover {
    background: #28a745;
    color: #fff;
}

/* 2. View All Button */
.view-all-btn {
    color: #28a745;
    font-weight: 600;
    text-decoration: none;
    background: #e9f7ec;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
}

/* 3. Pagination Bottom Green Fix (Blue color hatane ke liye) */

.swiper-pagination-bullet {
    background: #ccc !important;
    /* Inactive dot */
    opacity: 1;
}


.swiper-pagination-bullet-active {
    background: #28a745 !important;
    /* Active Green Dot (image_ef66db fix) */
    width: 25px;
    /* Long bullet style */
    border-radius: 5px;
}


.swiper-pagination {
    bottom: 0px !important;
    /* Ekdum bottom mein set karne ke liye */
}

/* Hide default swiper blue arrows */
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

/* Price Section adjustments */
.pc-price-value {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
}

.discount-price-value {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
}

.discount-price-value-product-detail {
    font-size: 1.5rem !important;
    /* font-weight: 500 !important; */
}

:root {
    --brand-green: #198754;
    /* Main Success Green */
    --dark-green: #0d5a36;
    /* Deep Forest Green for text/buttons */
    --light-green: #eefaf3;
    /* Ultra light background */
    --orange-accent: #f39c12;
    /* Subtle orange for "Save More" */
}

/* Card Styling */
.bulk-promo-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-green) 100%);
    border-radius: 12px;
    border: 1px solid rgba(25, 135, 84, 0.1) !important;
    transition: all 0.3s ease;
}

.bulk-promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.12) !important;
    border-color: var(--brand-green) !important;
}

/* Icon Box */
.promo-icon-box-green {
    background: white;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}

/* Premium Green Button */
.btn-green-premium {
    background-color: var(--brand-green);
    color: white !important;
    border-radius: 6px;
    border: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-green-premium:hover {
    background-color: var(--dark-green);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
}

/* Soft Green Badge */
.bg-success-soft {
    background-color: rgba(25, 135, 84, 0.08);
    color: var(--brand-green);
}

/* Colors & Helpers */
.text-success-dark {
    color: var(--dark-green);
}

.text-orange {
    color: var(--orange-accent);
}

/* Decor Element */
.bg-decor-green {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    background: rgba(25, 135, 84, 0.04);
    border-radius: 50%;
    z-index: 0;
}

/* Chrome, Safari, Edge, Opera se arrows hatane ke liye */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox ke liye */
input[type=number] {
    -moz-appearance: textfield;
}

.pincode-input-wrapper {
    border-bottom: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
    padding-bottom: 2px;
}

.pincode-input-wrapper:focus-within {
    border-color: #0d6efd;
    /* Blue focus like premium apps */
}

#pincode {
    font-size: 1.1rem;
    color: #333;
    background: transparent;
}

#pincode::placeholder {
    font-size: 0.9rem;
    color: #adb5bd;
    font-weight: 400;
}

#checkPincodeBtn {
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

#checkPincodeBtn:hover {
    color: #0a58ca !important;
    transform: scale(1.05);
}

.status-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
    margin-right: 6px;
}

/* Add to Cart Premium */
.add-to-cart-premium {
    background-color: #ff9f00 !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    height: 56px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(25, 135, 84, 0.15);
}

/* Add to Cart Premium */
.buy-now-premium {
    background-color: var(--primary-green) !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    height: 56px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(25, 135, 84, 0.15);
}

.add-to-cart-premium:hover {
    background-color: #ff9f00 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(25, 135, 84, 0.2);
}

.buy-now-premium:hover {
    background-color: #146c43 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(25, 135, 84, 0.2);
}

.add-to-cart-premium:disabled {
    background-color: #6c757d !important;
    cursor: not-allowed;
}

.buy-now-premium:disabled {
    background-color: #6c757d !important;
    cursor: not-allowed;
}

/* Chrome, Safari, Edge, Opera se spinner hatao */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 576px) {
    .add-to-cart-premium {
        font-size: 0.95rem;
    }

    .buy-now-premium {
        font-size: 0.95rem;
    }

    .qty-btn {
        padding: 0 10px;
    }
}

.description-scroller {
    max-height: 500px;
    /* Aap apne hisaab se height kam/zyada kar sakte hain */
    overflow-y: auto;
    padding-right: 10px;
    scroll-behavior: smooth;
}

/* Custom Scrollbar for Chrome, Safari, and Edge */
.description-scroller::-webkit-scrollbar {
    width: 6px;
}

.description-scroller::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.description-scroller::-webkit-scrollbar-thumb {
    background: #198754;
    /* KisanZone green theme */
    border-radius: 10px;
}

.description-scroller::-webkit-scrollbar-thumb:hover {
    background: #146c43;
}

/* Firefox Support */
.description-scroller {
    scrollbar-width: thin;
    scrollbar-color: #198754 #f1f1f1;
}

/* Mobile view specific adjustment */
@media (max-width: 768px) {
    .description-scroller {
        max-height: 300px;
        /* Mobile par thoda chota */
    }
}


/*================================================End Product Details Page Card==============================================================*/


/*================================================Start Product Card Page Card==============================================================*/

:root {
    --brand-green: #22c55e;
    --brand-dark: #1e293b;
    --bg-subtle: #f8fafc;
    --card-radius: 16px;
    --banner-height: 350px;
    --zoom-in-duration: 5s;
    --zoom-out-duration: 0.8s;
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.3);
}

/* Product Title styling */
.pc-title {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    min-height: 35px;
    margin-top: 10px;
    color: #2c3e50;
    cursor: pointer;
}

/* Dynamic Badge styling */
.pc-badge {
    font-size: 0.65rem !important;
    background: #f1f8f5;
    color: #198754;
    padding: 3px 8px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Price Section adjustments */
.pc-price-value {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #198754;

}

/* --- 2. GLASSMORPHISM SECTION WRAPPER (NEW) --- */
.glass-card-container {
    /* background: var(--glass-bg); */
    /* backdrop-filter: blur(15px); */
    -webkit-backdrop-filter: blur(15px);
    /* border: 1px solid var(--glass-border); */
    /* border-radius: 15px; */
    padding: 0px 25px;
    margin: -24px 40px 0 40px;
    /* position: relative; */
    z-index: 10;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05); */
}

/* --- 3. PREMIUM CARD (YOUR ORIGINAL DESIGN RESTORED) --- */
.product-card-premium {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
    border: 2px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-border-svg {
    position: absolute;
    inset: -1.6px;
    width: calc(100% + 5px);
    height: calc(100% + 5px);
    fill: none;
    pointer-events: none;
    visibility: hidden;
    z-index: 5;
}

.card-border-svg rect {
    stroke: var(--brand-green);
    stroke-width: 4;
    stroke-dasharray: 0.1, 8;
    stroke-linecap: round;
    rx: 16px;
    ry: 16px;
    width: 100%;
    height: 100%;
}

.product-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.product-card-premium:hover .card-border-svg {
    visibility: visible;
}

.product-card-premium:hover .card-border-svg rect {
    animation: dot-march 0.6s infinite linear;
}

@keyframes dot-march {
    from {
        stroke-dashoffset: 16;
    }

    to {
        stroke-dashoffset: 0;
    }
}


.pc-image-wrapper {
    border-radius: 15px 15px 0 0;
    /* position: relative; */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #e2e8f0; */
    overflow: hidden;
}

.pc-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.product-card-premium:hover .pc-image-wrapper img {
    transform: scale(1.1);
}



.pc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 12px 0 8px 0;
    height: 40px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc-badge {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 12px;
}


.btn-premium-action {
    background: rgba(34, 197, 94, 0.08);
    color: var(--brand-green);
    width: 100%;
    padding: 6px;
    border-radius: 14px;
    text-decoration: none !important;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.product-card-premium:hover .btn-premium-action {
    background: var(--brand-green);
    color: white;
}

@media (max-width: 768px) {
    :root {
        --banner-height: 280px;
    }

    .premium-hero-container {
        padding: 15px;
    }

    .glass-card-container {
        margin: -30px 15px 0 15px;
        padding: 20px 10px;
        border-radius: 25px;
    }
}



/* Card container ki padding badhao taaki cards center mein thode chote dikhein */

.product-card-premium {
    padding: 10px;
    /* Outer padding kam karein */
    max-width: 260px;
    /* Optional: Hard limit set karne ke liye */
    margin: 0 auto;
}

/* Image wrapper ki height kam karein */
.pc-image-wrapper {
    height: 190px;
    /* 180px/250px se kam karke 150px karein */
    padding: 8px;
}

/* Fonts ko scale down karein */
.pc-title {
    font-size: 12px;
    /* Font size chota */
    height: 32px;
    /* Height adjust karein */
    margin: 4px 0;
}

.pc-badge {
    font-size: 8px;
    padding: 2px 6px;
}


/* Floating Heart Button */
.wishlist-float-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    /* Red color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.wishlist-float-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.wishlist-float-btn i {
    font-size: 1.1rem;
}

/* Active state for wishlist */
.wishlist-float-btn.active i {
    font-weight: 900;
    /* Solid heart when active */
}


/* Premium Save Tag Styling */
.premium-save-tag {
    background: linear-gradient(135deg, #fff9c4 0%, #fff176 100%);
    border: 1px dashed #fbc02d;
    border-radius: 6px;
    padding: 4px 10px;
    display: flex;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.savings-text {
    color: #f57f17;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.savings-text .amount {
    font-size: 0.85rem;
    color: #e65100;
    background: #fff;
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: 3px;
}

.dynamic-offer-section {
    min-height: 50px;
    /* Adjust as per your font size */
    margin-bottom: 5px;
}

.pc-content {
    display: flex !important;
    flex-direction: column !important;
}

.variant-card {
    background: #fff;
    border-color: #eee !important;
    transition: 0.2s;
}

.btn-check:checked+.variant-card {
    border-color: #198754 !important;
    background-color: #f0fdf4 !important;
    color: #198754 !important;
}

/*================================================End Product Card Page Card==============================================================*/

/*================================================Start varient BTN moda==============================================================*/
.variant-qty-selector .btn-white {
    background: #ffffff !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
}

.variant-qty-selector .btn-white:hover {
    background: #f8f9fa !important;
}

.variant-qty-selector .input-group {
    border-color: #e0e0e0 !important;
}

/* Modal ke andar variants ke beech spacing */
.variant-row {
    transition: background 0.2s;
}

.variant-row:hover {
    background-color: #fcfcfc;
}

/*================================================End varient BTN modal==============================================================*/

/*================================================Start Header Css==============================================================*/
.kisan-header {
    position: sticky;
    top: 0;
    z-index: 99;
    background-color: #fff;
    transition: var(--ks-transition);
    border-bottom: 1px solid var(--ks-divider);
}

.kisan-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kisan-top-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--ks-primary) 0%, var(--ks-primary-light) 100%);
}

.kisan-navbar {
    height: 72px;
    display: flex;
    align-items: center;
}

/* Centered Search Group */
.search-group {
    background-color: var(--ks-bg-gray);
    border: 1px solid transparent;
    border-radius: 8px;
    height: 43px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    width: 100%;
    transition: var(--ks-transition);
}

.search-group:focus-within {
    background-color: #fff;
    border-color: var(--ks-primary);
    box-shadow: 0 0 0 4px rgba(0, 75, 35, 0.1);
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    color: var(--ks-text);
}

#clear-search {
    display: none;
    cursor: pointer;
    color: #adb5bd;
    margin: 0 12px;
    font-size: 18px;
}

.search-btn {
    color: var(--ks-primary);
    border-left: 1px solid var(--ks-divider);
    padding-left: 14px;
    background: none;
    border: none;
    font-size: 20px;
}

/* Nav Actions */
.nav-action {
    text-decoration: none !important;
    color: var(--ks-text);
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    transition: var(--ks-transition);
}

.nav-action:hover {
    background-color: rgba(0, 75, 35, 0.05);
    color: var(--ks-primary);
}

.nav-action i {
    color: var(--ks-primary);
    font-size: 18px;
}

.ks-sep {
    width: 1px;
    height: 24px;
    background-color: var(--ks-divider);
    margin: 0 4px;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--ks-primary);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}


/* Custom Drawer Styles */
.kisan-cart-drawer {
    width: 400px !important;
    /* Slightly wider for better readability */
}

.cart-item {
    transition: background 0.2s ease;
}

.cart-item:hover {
    background-color: #f9fbf9;
}

.item-img-box {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-control {
    background: #fff;
}

.qty-control button {
    color: var(--ks-primary);
    font-weight: bold;
}

.offcanvas-footer {
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
}



/* Backdrop ko dark rakhne ke liye aur drawer size fix karne ke liye */
.offcanvas-backdrop.show {
    opacity: 0.5 !important;
    background-color: #000 !important;
}

.kisan-cart-drawer {
    width: 400px !important;
    border: none !important;
}

.item-img-box {
    flex-shrink: 0;
    background: #f8f9fa;
}

/* Qty buttons hover */
.qty-control button:hover {
    background-color: #f8f9fa;
    color: #008a00;
}



.login-modal {
    border-radius: 18px;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    max-width: 420px;
}

.login-header {
    background: linear-gradient(135deg, #1e7f4f, #2ea36a);
    color: #fff;
    padding: 26px 30px;
    position: relative;
}

.login-header h4 {
    margin: 0;
    font-weight: 600;
}

.login-header p {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 6px;
}

.login-header .btn-close {
    position: absolute;
    top: 18px;
    right: 18px;
    filter: invert(1);
}

.login-body {
    padding: 28px 30px 30px;
    background: #fff;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.form-group input {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    padding: 0 14px;
    font-size: 15px;
    background: #f8fdfb;
}

.form-group input:focus {
    outline: none;
    border-color: #2ea36a;
    background: #fff;
}

.login-actions {
    text-align: right;
    margin-bottom: 18px;
}

.login-actions a {
    font-size: 13px;
    color: #2ea36a;
    text-decoration: none;
}

.login-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: #1e7f4f;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.login-btn:hover {
    background: #166c41;
}

.login-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
}

.login-footer a {
    color: #1e7f4f;
    font-weight: 600;
    margin-left: 4px;
    text-decoration: none;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    opacity: 0.6;
}

.toggle-password:hover {
    opacity: 1;
}

/* Inhe apne <style> block mein sabse niche paste karein */

/* 1. Header ko overflow allow karein taaki menu bahar nikal sake */
.kisan-header,
.kisan-navbar,
.container-fluid {
    overflow: visible !important;
}

/* 2. Dropdown Menu ko hamesha top par rakhne ke liye */
.dropdown-menu {
    right: -13px;
    z-index: 999999 !important;
    display: none;
    /* Default hidden */
}

/* 3. Hover Effect Fix */
@media (min-width: 992px) {
    .dropdown:hover>.dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        animation: slideDown 0.3s ease;
        /* Thoda smooth animation */
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. Dropdown toggle ke alignment ko fix karein */
.user-dropdown {
    padding: 10px 0;
    /* Clickable area badhane ke liye */
}

.skiptranslate {
    visibility: hidden !important;
}


/* Hide top Google translate banner */
.goog-te-banner-frame {
    display: none !important;
}

/* Prevent page from shifting down */
body {
    top: 0 !important;
}

/* Hide Google logo text */
.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

/*================================================End Header Css==============================================================*/

/*================================================Start Shop by category Css==============================================================*/
.category-section {
    padding: 20px 0;
    background-color: #fcfdfd;
}

.category-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.liquid-flex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.category-card-wrapper {
    flex: 0 0 calc(16.666% - 15px);
    max-width: calc(16.666% - 15px);
    display: flex;
    justify-content: center;
    transition: all 0.4s ease;
}

.category-card {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 15px 10px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #28a745;
}

.img-box {
    width: 100%;
    height: 125px;
    /* Bigger image box for better clarity */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.5s ease;
}

.category-card:hover .img-box img {
    transform: scale(1.1);
}

.cat-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2px;
}

.product-count {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 500;
}

/* Collapse Logic for Mobile */
.view-more-btn {
    display: none;
    /* Desktop par chhupa rahe hain */
    margin: 20px auto 0;
    padding: 10px 25px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 992px) {
    .category-card-wrapper {
        flex: 0 0 calc(25% - 15px);
        max-width: calc(25% - 15px);
    }
}

@media (max-width: 576px) {
    .category-card-wrapper {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    /* Mobile par 4 ke baad wale items chhupane ke liye */
    .mobile-hidden {
        display: none;
    }

    .view-more-btn {
        display: block;
        /* Sirf mobile par dikhega */
    }

    .img-box {
        height: 110px;
    }
}

/*================================================End Shop by category Css==============================================================*/


/*================================================Start all product details Css==============================================================*/
.listing-main-wrapper {
    background: #f8fafc;
    padding: 40px 0;
    min-height: 100vh;
}

.filter-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #eef2f6;
    position: sticky;
    top: 110px;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.side-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
    margin-bottom: 4px;
    font-weight: 500;
}

.side-link:hover,
.side-link.active {
    background: #f0fff4;
    color: #2f855a;
    transform: translateX(5px);
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 20px;
    display: block;
}

.custom-input {
    border: 1.5px solid #f1f5f9 !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
}

.custom-input:focus {
    border-color: #38a169 !important;
    box-shadow: none !important;
}

/* Scroll Loader Style */
#infinite-loader {
    padding: 40px 0;
    text-align: center;
    width: 100%;
}

.dot-pulse {
    position: relative;
    left: -9999px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #2f855a;
    color: #2f855a;
    box-shadow: 9999px 0 0 0 #2f855a;
    animation: dotPulse 1.5s infinite linear;
    margin: 0 auto;
}

@keyframes dotPulse {
    0% {
        box-shadow: 9999px 0 0 -5px #2f855a;
    }

    30% {
        box-shadow: 9999px 0 0 2px #2f855a;
    }

    60%,
    100% {
        box-shadow: 9999px 0 0 -5px #2f855a;
    }
}

.side-link {
    transition: all 0.3s ease;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #444;
    border-radius: 8px;
    margin-bottom: 5px;
}

/* Hover Effect */
.side-link:hover {
    background-color: #f8f9fa !important;
    /* Light grey ya jo aapka theme color ho */
    color: #198754;
    /* Success green */
}

/* Active State */
.side-link.active {
    background-color: #e9f7ef !important;
    /* Very light green */
    color: #198754;
    font-weight: bold;
    border-left: 4px solid #198754;
}

/*================================================End all product details Css==============================================================*/


/*================================================Start Customer Profile Css==============================================================*/
:root {
    --ks-green: #28a745;
    --ks-dark-green: #1e7e34;
    --ks-light-bg: #f8f9fa;
}

.account-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.sidebar-avatar {
    width: 70px;
    height: 70px;
    background: var(--ks-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.nav-link-custom {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #444;
    text-decoration: none;
    transition: 0.3s;
    border-left: 4px solid transparent;
    cursor: pointer;
    width: 100%;
}

.logout-nav-link-custom {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #444;
    text-decoration: none;
    transition: 0.3s;
    border-left: 4px solid transparent;
    cursor: pointer;
    width: 100%;
}


.nav-link-custom.active {
    background: #f0fdf4 !important;
    color: var(--ks-green) !important;
    border-left: 4px solid var(--ks-green) !important;
}

.logout-nav-link-custom.active {
    background: #f0fdf4 !important;
    color: var(--ks-green) !important;
    border-left: 4px solid var(--ks-green) !important;
}

.btn-ks-green {
    background-color: var(--ks-green);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-weight: 500;
}

.btn-ks-green:hover {
    background-color: transparent;
    /* Fill color hatane ke liye */
    color: var(--ks-green);
    /* Text green karne ke liye */
    border: 1px solid var(--ks-green);
    /* Outline dikhane ke liye */
}

.address-card-new {
    border: 2px dashed var(--ks-green);
    border-radius: 12px;
    height: 100%;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ks-green);
    transition: 0.2s;
}

.address-card-new:hover {
    background: #f0fdf4;
}

/*================================================End Customer Profile Css==============================================================*/

/*================================================Start Navbar Css==============================================================*/

/* Navbar Wrapper */
.kisan-nav-wrapper {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 73px;
    z-index: 9;
    width: 100%;
}

.kisan-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.has-mega {
    position: relative !important;
    /* Isse card ab poore navbar ki width measure karega */
}

.nav-item-main {
    padding: 12px 15px;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: 0.3s;
    white-space: nowrap;
}

/* UPDATED: THE ENLARGED CARD - Content-Safe Version */
/* 2. Mega Menu ki Positioning fix karein */
.mega-menu {
    position: absolute;
    top: 100%;
    /* Link ke thik niche */
    left: 0 !important;
    /* Center se hata kar left align karein */
    transform: translateY(10px);
    /* Sirf thoda niche move karein transition ke liye */

    /* Width logic: Image jaisa compact dikhne ke liye width adjust karein */
    width: auto;
    min-width: 600px;
    /* Aapki requirements ke hisab se */
    max-width: 90vw;

    /* Design improvements */
    display: flex !important;
    flex-wrap: nowrap;
    /* Columns ko side-by-side rakhne ke liye */
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #008a00;
    /* KisanShop Green */

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 9999;
}

/* Custom Scrollbar for the Mega Menu */
.mega-menu::-webkit-scrollbar {
    width: 6px;
}

.mega-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* 3. Hover Effect Fix */
.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* Niche se upar slide effect */
    pointer-events: auto;
}

/* Anchor last items to the right */
.has-mega:nth-last-child(-n+4) .mega-menu {
    left: auto;
    right: 0;
}

/* Column Sizing */
/* 4. Column spacing */
.mega-col {
    flex: 0 0 auto;
    padding-right: 40px;
    /* Columns ke beech gap */
    border-right: 1px solid #f0f0f0;
}

.mega-col:last-child {
    border-right: none;
}

.mega-col-title {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 12px;
    border-bottom: 2px solid #f8f8f8;
    padding-bottom: 8px;
}

.mega-links li a {
    display: block;
    padding: 6px 0;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
    font-weight: 500;
}

.mega-links li:hover {
    color: var(--ks-primary, #28a745);
    padding-left: 5px;
}

.mega-links li a:hover {
    color: var(--ks-primary, #28a745);
}

.heading-spacer {
    height: 40px;
}


/* --- MOBILE SIDEBAR DRAWER --- */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    /* Hidden by default */
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

/* Mobile Category List (Accordion Style) */
.mobile-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-cat-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.mobile-sub-list {
    background: #f9f9f9;
    list-style: none;
    padding: 0;
    display: none;
    /* Hidden by default */
}

.mobile-sub-list li a {
    display: block;
    padding: 12px 40px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.sidebar-header {
    padding: 20px;
    background: var(--ks-primary);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*================================================End Navbar Css==============================================================*/