/* Chadmama storefront features styles (added by upgrade) */

/* ---- Luxury off-white page background (premium feel; pure-white cards lift off it) ---- */
body.home2--style {
    background: #F7F6F2 !important;   /* soft warm porcelain — harmonises with navy + gold */
}

/* ---- Homepage: widen content container so the hero slider fills its column at 999px ---- */
body.home2--style .container {
    max-width: 1380px !important;     /* col-lg-9 ≈ 1030 → slideshow ≈ 1000 → 999px slider fills, no gaps */
}

/* ---- Premium type system (sales-optimised) ----
   Plus Jakarta Sans = crisp premium Latin (prices, numbers, CTAs)
   Hind Siliguri      = clean, fast, highly readable Bengali (auto per-glyph fallback) */
body,
body.home2--style {
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
}
h1, h2, h3, h4, h5, h6,
.block-title, .page-title, .product-title, .axil-product .title,
.btn, button, .price, .current-price, .old-price {
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
}

/* ---- Search autocomplete ---- */
.chad-suggest{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #e3e8f3;border-top:0;
    border-radius:0 0 12px 12px;box-shadow:0 16px 40px rgba(27,42,91,.16);z-index:1200;max-height:380px;overflow:auto;}
.chad-sg-item{display:flex;align-items:center;gap:10px;padding:9px 12px;text-decoration:none;color:#16203c;border-bottom:1px solid #f2f5fb;}
.chad-sg-item:hover{background:#f6f8fe;color:#1B2A5B;}
.chad-sg-item img{width:42px;height:42px;object-fit:cover;border-radius:8px;flex:none;background:#f2f5fb;}
.chad-sg-name{flex:1;font-size:13.5px;font-family:'Plus Jakarta Sans','Hind Siliguri',sans-serif;line-height:1.3;}
.chad-sg-price{font-weight:800;color:#1B2A5B;font-size:13.5px;white-space:nowrap;}
.chad-sg-empty{padding:14px;text-align:center;color:#9aa4c0;font-size:13px;}

/* ---- Recently viewed ---- */
#chadRecentlyViewed{display:none;}
#chadRecentlyViewed .rv-title{font-weight:800;color:#1B2A5B;font-size:clamp(16px,2.4vw,20px);
    font-family:'Plus Jakarta Sans','Hind Siliguri',sans-serif;margin:18px 8px 10px;display:flex;align-items:center;gap:8px;}
#chadRecentlyViewed .rv-title::before{content:"🕘";}

/* Fix Recently Viewed Cards in SB Market Layout */
#chadRecentlyViewed .axil-product {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
#chadRecentlyViewed .axil-product:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
#chadRecentlyViewed .thumbnail {
    position: relative;
    overflow: hidden;
}
#chadRecentlyViewed .thumbnail img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
}
#chadRecentlyViewed .product-content .title {
    font-size: 12px !important;
    line-height: 1.3;
    max-height: 32px;
    overflow: hidden;
    margin-bottom: 4px;
}
#chadRecentlyViewed .product-content .title a {
    color: #333;
    text-decoration: none;
}
#chadRecentlyViewed .product-price-variant {
    margin-bottom: 4px;
}
#chadRecentlyViewed .current-price {
    font-size: 14px !important;
    font-weight: 700;
}
#chadRecentlyViewed .old-price {
    font-size: 12px !important;
    text-decoration: line-through;
}
#chadRecentlyViewed .cart-action {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#chadRecentlyViewed .cart-action li {
    list-style: none !important;
}
#chadRecentlyViewed .cart-action li::before {
    content: none !important;
    display: none !important;
}
#chadRecentlyViewed .desktop-cart {
    padding: 0 10px 10px !important;
}
#chadRecentlyViewed .select-option button,
#chadRecentlyViewed .select-option a {
    display: block;
    width: 100%;
    background: #1B2A5B !important;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
}
#chadRecentlyViewed .select-option button:hover,
#chadRecentlyViewed .select-option a:hover {
    background: #263a73 !important;
}
#chadRecentlyViewed .product-badget {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}
#chadRecentlyViewed .chad-card-rating {
    text-align: center;
    margin-bottom: 4px;
    font-size: 12px;
}
#chadRecentlyViewed .chad-card-rating .stars {
    color: #E8B923;
}
#chadRecentlyViewed .label-block {
    position: absolute;
    top: 0;
    right: 0;
}
#chadRecentlyViewed .row--15 {
    margin-left: -8px;
    margin-right: -8px;
}
#chadRecentlyViewed .row--15 > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

/* ---- Social-proof popups ---- */
.chad-sp-wrap{position:fixed;left:16px;bottom:16px;z-index:9998;display:flex;flex-direction:column;gap:10px;max-width:300px;}
.chad-sp{display:flex;gap:10px;align-items:flex-start;background:#fff;border-radius:12px;box-shadow:0 12px 34px rgba(0,0,0,.18);
    padding:10px 12px;border-left:4px solid #E8B923;animation:chadSpIn .45s ease;font-family:'Plus Jakarta Sans','Hind Siliguri',sans-serif;}
.chad-sp.out{animation:chadSpOut .4s forwards;}
@keyframes chadSpIn{from{transform:translateX(-120%);opacity:0}to{transform:none;opacity:1}}
@keyframes chadSpOut{to{transform:translateX(-120%);opacity:0}}
.chad-sp-ic{font-size:22px;}
.chad-sp-tx{font-size:12.5px;line-height:1.35;color:#16203c;}
.chad-sp-tx b{color:#1B2A5B;}
.chad-sp-tx i{display:block;color:#9aa4c0;font-size:11px;font-style:normal;margin-top:2px;}
.chad-sp-x{margin-left:auto;cursor:pointer;color:#b8c0d6;font-size:18px;line-height:1;}
@media(max-width:560px){.chad-sp-wrap{left:10px;right:10px;bottom:70px;max-width:none;}}

/* ---- OTP widget (checkout) ---- */
.chad-otp{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;font-family:'Plus Jakarta Sans','Hind Siliguri',sans-serif;}
.chad-otp button{background:#1B2A5B;color:#E8B923;border:0;border-radius:8px;padding:8px 14px;font-weight:700;font-size:13px;}
.chad-otp .chad-otp-field{display:inline-flex;gap:6px;}
.chad-otp .chad-otp-code{width:120px;padding:7px 10px;border:1.5px solid #d8deee;border-radius:8px;}
.chad-otp .chad-otp-verify{background:#1faa59;color:#fff;}
.chad-otp .chad-otp-msg{font-size:12.5px;color:#7a86a8;}
.chad-otp.ok .chad-otp-msg{color:#1faa59;font-weight:700;}

/* ---- Homepage Slideshow Fix ---- */
/* The SB Market theme CSS sets .heroCarousel-image { visibility: hidden } by default.
   We override that so our slick-initialized images show immediately. */
.slideshow .slick-slide img.heroCarousel-image,
.slideshow .heroCarousel-image,
.heroCarousel-image {
    visibility: visible !important;
    display: block !important;
    width: 999px !important;        /* fixed premium target width */
    max-width: 100% !important;     /* scales down on narrower columns / mobile */
    height: auto !important;
    aspect-ratio: 3 / 1;            /* native art ratio (1500×500) — zero crop, cleanest fit (350px @1050) */
    object-fit: cover !important;
    border-radius: 8px;
    margin: 0 auto;                 /* centre the 1050px frame */
}
/* slick controls slide widths itself — only stretch the inner <a> so the image fills it */
.slideshow .heroCarousel-slide a {
    display: block !important;
    width: 100%;
}
.slideshow .slick-slide {
    opacity: 1;
}
.slideshow .slick-dots {
    bottom: 12px;
}
.slideshow .slick-dots li button:before {
    font-size: 12px;
    color: #1B2A5B;
    opacity: 0.4;
}
.slideshow .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #E8B923;
}
.heroCarousel-slide a {
    display: block;
}

/* ---- Premium Micro-Animations ---- */

/* Search Autocomplete Suggest Dropdown Fold-out */
.chad-suggest {
    animation: chadSuggestIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: top center;
}
@keyframes chadSuggestIn {
    from {
        opacity: 0;
        transform: scaleY(0.9) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scaleY(1) translateY(0);
    }
}

/* Staggered Fade-In Entrance for Category Rows & Widgets */
.page-content > .module {
    opacity: 0;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-content > .module:nth-child(1) { animation-delay: 0.05s; }
.page-content > .module:nth-child(2) { animation-delay: 0.15s; }
.page-content > .module:nth-child(3) { animation-delay: 0.25s; }
.page-content > .module:nth-child(4) { animation-delay: 0.35s; }
.page-content > .module:nth-child(5) { animation-delay: 0.45s; }

.page-sidebar > .module {
    opacity: 0;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-sidebar > .module:nth-child(1) { animation-delay: 0.1s; }
.page-sidebar > .module:nth-child(2) { animation-delay: 0.2s; }
.page-sidebar > .module:nth-child(3) { animation-delay: 0.3s; }

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

/* Product Card Hover Image Zoom */
.product-item-container .left-block img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.product-item-container:hover .left-block img {
    transform: scale(1.06) !important;
}

/* Cart Badge Pulse Animation */
.cart-count {
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}
.cart-count.pulse {
    animation: cartPulse 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes cartPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.4);
        box-shadow: 0 0 12px rgba(232, 185, 35, 0.8);
        background-color: #E8B923;
        color: #1B2A5B;
    }
    100% {
        transform: scale(1);
    }
}

/* ============================================================
   DESKTOP PREMIUM HEADER
   ============================================================ */
.chad-desktop-header {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(27, 42, 91, 0.03);
    position: relative;
    z-index: 10005;
}
.chad-desktop-header .dropdown {
    display: block !important;
    position: relative !important;
}
.chad-desktop-header .dropdown-menu {
    position: absolute !important;
    z-index: 100000 !important;
}
.chad-desktop-header .product-search-input {
    border: 2px solid #1B2A5B !important;
    border-right: none !important;
    border-radius: 8px 0 0 8px !important;
    height: 44px !important;
    padding-left: 16px !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
}
.chad-desktop-header .product-search-input:focus {
    background: #fff !important;
    outline: none !important;
    box-shadow: none !important;
}
.chad-desktop-header .search-btn {
    background: #1B2A5B !important;
    color: #FFC610 !important;
    border: 2px solid #1B2A5B !important;
    border-radius: 0 8px 8px 0 !important;
    padding: 0 20px !important;
    height: 44px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.chad-desktop-header .search-btn:hover {
    background: #253875 !important;
    border-color: #253875 !important;
    color: #fff !important;
}
.chad-desktop-nav-link {
    color: #1B2A5B !important;
    font-weight: 700 !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
    font-size: 14.5px !important;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.chad-desktop-nav-link:hover {
    background: #f0f4fc !important;
    color: #1B2A5B !important;
    text-decoration: none !important;
}
.chad-desktop-nav-link i {
    font-size: 15px;
}
.chad-desktop-nav-link.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}
.chad-desktop-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f0f4fc;
    border-radius: 50%;
    color: #1B2A5B !important;
    transition: all 0.2s ease;
}
.chad-desktop-cart:hover {
    background: #1B2A5B;
    color: #fff !important;
}
.chad-desktop-cart i {
    font-size: 18px;
}
.chad-desktop-cart .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FFC610;
    color: #1B2A5B;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Subnav strip styling */
.chad-desktop-subnav {
    background: #1B2A5B;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid #E8B923;
    color: #fff;
}
.chad-desktop-subnav .navPages-action.megamenuToogle-wrapper {
    background: linear-gradient(135deg, #FFC610, #E8B923) !important;
    color: #1B2A5B !important;
    font-weight: 800 !important;
    padding: 12px 18px !important;
    border-radius: 8px 8px 0 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
    border: 0 !important;
    margin-bottom: -10px;
    z-index: 10;
    position: relative;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
}
.chad-desktop-subnav .navPages-action.megamenuToogle-wrapper i {
    font-size: 14px;
}
.chad-horizontal-categories a {
    color: rgba(255,255,255,0.95) !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 10px 8px !important;
    transition: all 0.2s ease;
}
.chad-horizontal-categories a:hover {
    color: #FFC610 !important;
    text-decoration: none !important;
}
.chad-desktop-subnav .hotline a {
    color: #FFC610 !important;
    font-weight: 800 !important;
    font-size: 14.5px !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
}
.chad-desktop-subnav .hotline a:hover {
    color: #fff !important;
    text-decoration: none !important;
}

/* Hide theme's default desktop elements when premium desktop header is active */
@media (min-width: 769px) {
    .mheader-top, .header-top, .header-center, .header-bottom {
        display: none !important;
    }
}

/* ============================================================
   NEW UNIFIED PREMIUM DESKTOP HEADER — chad-dh-* Components
   ============================================================ */

/* Top row container */
.chad-dh-top {
    background: #fff;
}

/* Logo */
.chad-dh-logo {
    text-decoration: none !important;
}
.chad-dh-logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
}
.chad-dh-logo:hover .chad-dh-logo-img {
    opacity: 0.88;
}

/* Search bar */
.chad-search-form {
    width: 100%;
}
.chad-search-wrap {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(27, 42, 91, 0.10);
    border: 2px solid #1B2A5B;
    transition: box-shadow 0.2s ease;
}
.chad-search-wrap:focus-within {
    box-shadow: 0 4px 20px rgba(27, 42, 91, 0.20);
}
.chad-search-inp {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 16px;
    height: 46px;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    background: #f8fafc;
    color: #1B2A5B;
}
.chad-search-inp::placeholder {
    color: #9aa4c0;
}
.chad-search-inp:focus {
    background: #fff;
    outline: none;
}
.chad-search-btn {
    background: #1B2A5B;
    color: #FFC610;
    border: none;
    padding: 0 22px;
    height: 46px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}
.chad-search-btn:hover {
    background: #263a73;
    color: #fff;
}

/* Action links container */
.chad-dh-actions {
    gap: 4px;
}

/* Individual action links (Track Order, Account) */
.chad-dh-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 8px;
    color: #1B2A5B !important;
    font-weight: 700;
    font-size: 13.5px;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.chad-dh-action-link i {
    font-size: 14px;
    color: #E8B923;
    flex-shrink: 0;
}
.chad-dh-action-link span {
    line-height: 1;
}
.chad-dh-action-link:hover {
    background: #f0f4fc;
    color: #1B2A5B !important;
    text-decoration: none !important;
}
.chad-dh-action-link.dropdown-toggle::after {
    margin-left: 2px;
    vertical-align: middle;
    border-color: #9aa4c0;
}

/* Account dropdown */
.chad-dh-account {
    position: relative;
}
.chad-dh-dropdown {
    border-radius: 10px !important;
    box-shadow: 0 8px 30px rgba(27,42,91,0.14) !important;
    border: 1px solid #eef1f8 !important;
    padding: 6px 0 !important;
    min-width: 180px !important;
    animation: chadDropIn 0.18s ease forwards;
}
@keyframes chadDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.chad-dh-dropdown .dropdown-item {
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    font-size: 13.5px;
    color: #1B2A5B;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}
.chad-dh-dropdown .dropdown-item i {
    color: #E8B923;
    width: 16px;
    text-align: center;
}
.chad-dh-dropdown .dropdown-item:hover {
    background: #f0f4fc;
    color: #1B2A5B;
}
.chad-dh-dropdown .dropdown-divider {
    margin: 4px 0;
    border-color: #eef1f8;
}

/* Cart icon button */
.chad-dh-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #f0f4fc;
    border-radius: 50%;
    color: #1B2A5B !important;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 4px;
}
.chad-dh-cart i {
    font-size: 19px;
    color: #1B2A5B;
    transition: color 0.2s ease;
}
.chad-dh-cart:hover {
    background: #1B2A5B;
    transform: translateY(-1px);
}
.chad-dh-cart:hover i {
    color: #FFC610;
}
/* Cart badge */
.chad-dh-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #FFC610;
    color: #1B2A5B;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    line-height: 1;
}

/* ============================================================
   SUBNAV STRIP — Unified
   ============================================================ */
.chad-subnav-allcat-wrap {
    flex-shrink: 0;
    margin-right: 8px;
}
/* The "All Categories" golden pill button */
.chad-subnav-allcat {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFC610, #E8B923) !important;
    color: #1B2A5B !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
    padding: 10px 18px !important;
    border-radius: 6px 6px 0 0 !important;
    text-decoration: none !important;
    border: 0 !important;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: filter 0.2s ease;
    box-shadow: 0 -3px 8px rgba(232,185,35,0.2);
}
.chad-subnav-allcat:hover {
    filter: brightness(1.06);
    color: #1B2A5B !important;
    text-decoration: none !important;
}
.chad-subnav-allcat i {
    font-size: 13px;
}
/* Dropdown from All Categories in subnav */
.chad-subnav-dropdown {
    border-radius: 0 8px 8px 8px !important;
    box-shadow: 0 8px 30px rgba(27,42,91,0.16) !important;
    border: 1px solid #eef1f8 !important;
    min-width: 240px !important;
    max-height: 420px;
    overflow-y: auto;
    padding: 6px 0 !important;
}
.chad-subnav-dropdown .dropdown-item {
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    font-size: 14px;
    color: #1B2A5B;
    padding: 9px 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: background 0.15s, padding-left 0.15s;
}
.chad-subnav-dropdown .dropdown-item > span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.chad-subnav-dropdown .dropdown-item:hover {
    background: #f0f4fc;
    padding-left: 20px;
    color: #1B2A5B;
}

/* Horizontal category links in subnav */
.chad-subnav-links {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    flex: 1;
}
.chad-subnav-link {
    color: rgba(255,255,255,0.92) !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 12px !important;
    white-space: nowrap;
    text-decoration: none !important;
    transition: color 0.2s ease, background 0.2s ease;
    border-bottom: 2px solid transparent;
}
.chad-subnav-link:hover {
    color: #FFC610 !important;
    border-bottom-color: #FFC610;
    text-decoration: none !important;
}

/* Hotline on the right of subnav */
.chad-subnav-hotline {
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 12px;
}
.chad-subnav-hotline a {
    color: #FFC610 !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}
.chad-subnav-hotline a:hover {
    color: #fff !important;
}
.chad-subnav-hotline i {
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE PRODUCT CARD GRID (4 COLUMNS DESKTOP)
   ============================================================ */

/* Desktop screens (>= 992px) - 4 Columns */
@media (min-width: 992px) {
    .productsByCategoryTabs-products .productCarousel-slide.product-layout.product-grid {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}

/* Medium screens / Tablets (768px - 991px) - 3 Columns */
@media (min-width: 768px) and (max-width: 991px) {
    .productsByCategoryTabs-products .productCarousel-slide.product-layout.product-grid {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* Mobile screens (< 768px) - 2 Columns (kept as-is) */
@media (max-width: 767px) {
    .productsByCategoryTabs-products .productCarousel-slide.product-layout.product-grid {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Ensure the row wraps properly */
.productsByCategoryTabs-products .row {
    display: flex;
    flex-wrap: wrap;
}

/* ============================================================
   HOMEPAGE TRUST SERVICES BAR (RESPONSIVE)
   ============================================================ */
.chad-trust-bar {
    background: linear-gradient(135deg, #1B2A5B, #263a73);
    border-radius: 8px;
    padding: 12px 40px;
    display: flex;
    justify-content: space-around;   /* even gaps incl. edges — first item no longer jammed left */
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(27, 42, 91, 0.08);
}
.chad-trust-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 8px;
}
.chad-trust-icon {
    font-size: 16px;
    color: #FFC610;
}
.chad-trust-texts {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.chad-trust-title {
    font-size: 13.5px;
    color: #fff;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
}
.chad-trust-desc {
    font-size: 11.5px;
    color: #aab5d6;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    opacity: 0.85;
}
.chad-trust-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 16px;
    user-select: none;
}
@media (max-width: 991px) {
    .chad-trust-bar {
        padding: 10px 16px;
        gap: 10px;
    }
    .chad-trust-title {
        font-size: 12px;
    }
    .chad-trust-desc {
        font-size: 10px;
    }
}
@media (max-width: 575px) {
    /* 2 columns × 2 rows, each service a bulleted item */
    .chad-trust-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 10px;
        row-gap: 10px;
        padding: 12px 14px;
        overflow: visible;
    }
    .chad-trust-item {
        position: relative;
        white-space: normal;
        align-items: flex-start;
        padding-left: 14px;          /* room for the bullet */
        gap: 7px;
    }
    .chad-trust-item::before {       /* gold bullet */
        content: "";
        position: absolute;
        left: 0;
        top: 7px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #FFC610;
    }
    .chad-trust-icon {
        font-size: 14px;
        margin-top: 1px;
    }
    .chad-trust-texts {
        flex-direction: column;      /* title over subtitle */
        align-items: flex-start;
        gap: 0;
        line-height: 1.25;
    }
    .chad-trust-title {
        font-size: 11.5px;
    }
    .chad-trust-desc {
        font-size: 9.5px;
        margin-left: 0;
    }
    .chad-trust-sep {                /* drop the | separators in grid mode */
        display: none !important;
    }
}

/* Category section header improvements */
.ltabs-heading {
    border-bottom: 3px solid #1B2A5B;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.ltabs-heading .block-title a {
    color: #1B2A5B;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ltabs-heading .block-title a:hover {
    color: #E8B923;
}

/* Product card inside 2×2 grid */
.productsByCategoryTabs-products .product-item-container {
    border: 1px solid #eef1f8;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
    margin-bottom: 16px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    height: calc(100% - 16px);
    display: flex;
    flex-direction: column;
}
.productsByCategoryTabs-products .product-item-container:hover {
    box-shadow: 0 8px 28px rgba(27,42,91,0.11);
    transform: translateY(-3px);
    border-color: #d6ddf5;
}
/* Image area */
.productsByCategoryTabs-products .left-block {
    height: 180px !important;
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
}
@media (max-width: 480px) {
    .productsByCategoryTabs-products .left-block {
        height: 140px !important;
    }
}
/* Quickview hover reveal */
.productsByCategoryTabs-products .product-item-container:hover .quickview {
    opacity: 1 !important;
}
/* Push button to bottom */
.productsByCategoryTabs-products .right-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 8px;
}
/* "Order Now" / "Select Options" button */
.productsByCategoryTabs-products .button--cart {
    background: linear-gradient(135deg, #1B2A5B, #253875) !important;
    color: #FFC610 !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 9px 12px !important;
    transition: filter 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
}
.productsByCategoryTabs-products .button--cart:hover {
    filter: brightness(1.12) !important;
    box-shadow: 0 4px 14px rgba(27,42,91,0.28) !important;
}

/* ============================================================
   STICKY HEADER FIX
   ============================================================ */
.axil-mainmenu.axil-sticky,
.chad-desktop-header.axil-sticky {
    position: sticky;
    top: 0;
    z-index: 10005;
    box-shadow: 0 4px 16px rgba(27,42,91,0.1);
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION BAR
   ============================================================ */
.chad-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -3px 16px rgba(0,0,0,.12);
    padding: 6px 0 env(safe-area-inset-bottom, 4px);
    border-top: 1px solid #eee;
}
.chad-mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: #1B2A5B;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    transition: color .2s;
}
.chad-mobile-nav a i {
    font-size: 20px;
    color: #1B2A5B;
}
.chad-mobile-nav a:hover,
.chad-mobile-nav a:active {
    color: #E8B923;
}
.chad-mobile-nav a:hover i,
.chad-mobile-nav a:active i {
    color: #E8B923;
}

/* ============================================================
   RECENTLY VIEWED - BUTTON FIX (full override)
   ============================================================ */
#chadRecentlyViewed .desktop-cart,
#chadRecentlyViewed .cart-count {
    padding: 0 10px 10px !important;
    display: block !important;
}
#chadRecentlyViewed .product-add-to-cart {
    width: 100%;
}
#chadRecentlyViewed .cart-action {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}
#chadRecentlyViewed .cart-action li {
    list-style: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
#chadRecentlyViewed .cart-action li::before,
#chadRecentlyViewed .cart-action li::marker {
    content: none !important;
    display: none !important;
}
#chadRecentlyViewed .select-option,
#chadRecentlyViewed .reg {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
#chadRecentlyViewed .select-option button,
#chadRecentlyViewed .select-option a,
#chadRecentlyViewed .reg a,
#chadRecentlyViewed .main-bg {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100% !important;
    background: linear-gradient(135deg, #1B2A5B, #2A3F7A) !important;
    color: #E8B923 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(27,42,91,.2);
    transition: filter .2s, box-shadow .2s;
    line-height: 1.3 !important;
    white-space: nowrap;
    min-height: 38px;
}
#chadRecentlyViewed .select-option button:hover,
#chadRecentlyViewed .select-option a:hover,
#chadRecentlyViewed .reg a:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 16px rgba(27,42,91,.3) !important;
}
#chadRecentlyViewed .select-option button p,
#chadRecentlyViewed .select-option button b {
    margin: 0 !important;
    padding: 0 !important;
    color: #E8B923 !important;
    font-size: 13px !important;
}
/* hide the duplicate cart icon span in the button */
#chadRecentlyViewed .select-option button > span,
#chadRecentlyViewed .button > span {
    display: none !important;
}
/* hide broken wishlist/quickview/compare action buttons (□ boxes) */
#chadRecentlyViewed .product-hover-action,
#chadRecentlyViewed .product-hover-action ul,
#chadRecentlyViewed .product-hover-action li,
#chadRecentlyViewed .cart-action .quickview,
#chadRecentlyViewed .cart-action .wishlist {
    display: none !important;
}
/* Fix product card overall in RV */
#chadRecentlyViewed .axil-product {
    border: 1px solid #eef1f8 !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: all .3s ease;
    background: #fff;
}
#chadRecentlyViewed .axil-product:hover {
    box-shadow: 0 8px 24px rgba(27,42,91,.14) !important;
    transform: translateY(-3px);
}
#chadRecentlyViewed .product-content .title a {
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: #1B2A5B !important;
}
#chadRecentlyViewed .product-price-variant {
    margin: 4px 0 !important;
}
#chadRecentlyViewed .current-price {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #1B2A5B !important;
}
#chadRecentlyViewed .old-price {
    font-size: 12px !important;
}

/* ============================================================
   HOMEPAGE MOBILE RESPONSIVENESS
   ============================================================ */

/* --- General mobile padding/spacing --- */
@media (max-width: 768px) {
    /* Add bottom padding for mobile nav bar */
    body {
        padding-bottom: 60px !important;
    }
    
    /* ========== HEADER OVERHAUL: Mobile ========== */
    
    /* Hide the old Home/Cart/My Account/More bar */
    .mheader-bottom {
        display: none !important;
    }
    
    /* Hide hamburger megamenu toggle on mobile */
    .chad-hide-mobile {
        display: none !important;
    }
    
    /* Hide header-top section (Sign in / My Account / promo slider) on mobile */
    .header-top {
        display: none !important;
    }
    
    /* Hide header-center (duplicate logo, call info, heart/cart icons) on mobile */
    .header-center {
        display: none !important;
    }
    
    /* Refit the mobile header row: logo (small) + search (stretched) + cart icon */
    .chad-mobile-header {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        padding: 8px 6px !important;
        gap: 6px;
    }
    
    .chad-logo-col {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 4px !important;
    }
    .chad-logo-col .header-logo-image {
        max-height: 36px !important;
        width: auto !important;
    }
    
    .chad-search-col {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 4px !important;
    }
    .chad-search-col .input-group {
        height: 36px;
    }
    .chad-search-col .form-input {
        font-size: 13px !important;
        padding: 6px 10px !important;
        border-radius: 8px 0 0 8px !important;
        border: 1.5px solid #1B2A5B !important;
        border-right: none !important;
        height: 36px !important;
    }
    .chad-search-col .input-group-append .btn {
        background: #1B2A5B !important;
        border: 1.5px solid #1B2A5B !important;
        color: #E8B923 !important;
        border-radius: 0 8px 8px 0 !important;
        height: 36px !important;
        padding: 0 12px !important;
    }
    
    .chad-mobile-cart-icon {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 4px !important;
    }
    
    /* Hide the desktop bottom nav bar (category bar with search) on mobile */
    .header-bottom {
        display: none !important;
    }
    
    /* Hamburger button styling */
    .chad-hamburger-col {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 2px 0 0 !important;
    }
    .chad-hamburger-btn,
    a.chad-hamburger-btn.mobileMenu-toggle {
        /* the theme's .mobileMenu-toggle makes this absolute + orange — pin it back into flow */
        display: flex !important;
        position: static !important;
        align-items: center;
        justify-content: center;
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #1B2A5B !important;
        color: #E8B923 !important;
        border-radius: 8px;
        font-size: 18px;
        text-decoration: none !important;
        transition: background .2s;
    }
    .chad-hamburger-btn:hover {
        background: #2A3F7A !important;
    }
    .chad-hamburger-btn .mobileMenu-toggleIcon { display: none !important; }
    
    /* Style the sidebar that opens from right on mobile */
    .navPages-verticalCategories .mobile-verticalCategories {
        background: #0f1a3a !important;
        padding-top: 12px !important;
    }
    /* Close button: theme default is a harsh red bar — make it a clean gold circle */
    .navPages-verticalCategories .mobile-verticalCategories .mobileMenu-close {
        position: absolute !important;
        top: 10px;
        right: 12px;
        width: 34px;
        height: 34px;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: #FFC610 !important;
        color: #1B2A5B !important;
        border-radius: 50% !important;
        font-size: 18px;
        line-height: 1;
        box-shadow: 0 3px 10px rgba(0,0,0,.3);
        transition: background .2s, transform .2s;
        z-index: 5;
    }
    .navPages-verticalCategories .mobile-verticalCategories .mobileMenu-close:hover {
        background: #ffd84d !important;
        transform: rotate(90deg);
    }
    /* push the category list below the floating close button */
    .navPages-verticalCategories .mobile-verticalCategories {
        padding-top: 54px !important;
    }
    .navPages-verticalCategories .navPages-list--categories {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
    }
    .navPages-verticalCategories .navPages-list--categories .navPages-item {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .navPages-verticalCategories .navPages-list--categories .navPages-action {
        color: #dce4f7 !important;
        padding: 12px 18px !important;
        font-size: 14px !important;
        font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
        display: flex !important;
        align-items: center;
        gap: 8px;
        white-space: normal !important;
    }
    .navPages-verticalCategories .navPages-list--categories .navPages-action:hover {
        background: rgba(255,255,255,.06);
        color: #E8B923 !important;
    }
    
    /* Container padding */
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Hide desktop category sidebar on mobile */
    .sb-sidebar--left {
        display: none !important;
    }
    
    /* Make main content full width on mobile */
    .sb-main--right,
    .main-full .col-lg-9,
    .sb-layout__content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    /* Hero slider */
    .slideshow {
        margin: 8px 0 !important;
    }
    .heroCarousel-image {
        border-radius: 6px !important;
    }
    
    /* Right promo banner - hide on small mobile */
    .sb-banner--home2Sidebanner {
        display: none !important;
    }
    
    /* (trust-bar responsive layout handled by the dedicated .chad-trust-* rules) */

    /* Product cards grid - 2 columns on mobile */
    .sb-productListing .col-lg-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 4px !important;
    }
    
    /* Product card styling for mobile */
    .sb-productListing .card {
        border-radius: 8px !important;
    }
    .sb-productListing .card-body {
        padding: 8px !important;
    }
    .sb-productListing .card-title {
        font-size: 12px !important;
        line-height: 1.3;
    }
    
    /* Category section headers */
    .module .block-title {
        font-size: 16px !important;
    }
    
    /* Recently Viewed on mobile */
    #chadRecentlyViewed .row--15 > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    #chadRecentlyViewed .axil-product {
        margin-bottom: 10px;
    }
    #chadRecentlyViewed .thumbnail img {
        max-height: 140px !important;
    }
    #chadRecentlyViewed .product-content .title {
        font-size: 11px !important;
    }
    
    /* Footer mobile */
    .chad-footer {
        padding: 30px 0 0 !important;
    }
    .chad-footer .row > div {
        margin-bottom: 16px;
    }
    .chad-foot-about {
        max-width: 100% !important;
    }
    .chad-foot-bottom {
        text-align: center;
    }
    .chad-foot-bottom .container {
        flex-direction: column !important;
        gap: 4px !important;
    }
    
    /* News Products sidebar slider */
    .sb-banner--home2ExtraSlider {
        display: none !important;
    }
    
    /* Social proof popup - smaller on mobile */
    .chad-sp-wrap {
        max-width: 260px !important;
        bottom: 70px !important;
    }
    .chad-sp {
        padding: 10px 12px !important;
        font-size: 12px !important;
    }
    
    /* Product section grid on mobile */
    .axil-product .product-content {
        padding: 6px 8px !important;
    }
    .axil-product .title {
        font-size: 12px !important;
    }
    .axil-product .current-price {
        font-size: 14px !important;
    }
    .axil-product .old-price {
        font-size: 11px !important;
    }
    
    /* Best Offer banner */
    .sb-banner--home2Promotion img {
        border-radius: 8px !important;
    }
}

/* ============================================================
   MOBILE CATEGORIES BAR (replaces Home/Cart/MyAccount/More)
   ============================================================ */
.chad-mobile-catbar {
    background: linear-gradient(135deg, #1B2A5B, #2A3F7A);
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}
.chad-cat-scroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 0 4px;
}
.chad-cat-scroll::-webkit-scrollbar {
    display: none;
}
.chad-cat-pill {
    flex: 0 0 auto;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    padding: 9px 14px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .2s, color .2s;
    border-bottom: 2px solid transparent;
}
.chad-cat-pill:hover,
.chad-cat-pill:active {
    background: rgba(255,255,255,.12);
    color: #E8B923 !important;
    border-bottom-color: #E8B923;
}

/* --- Extra small screens (under 480px) --- */
@media (max-width: 480px) {
    .navPages-action {
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
    
    /* (trust-bar 2×2 grid handled by the dedicated .chad-trust-* block above) */

    /* Product cards */
    .sb-productListing .col-lg-4 {
        padding: 3px !important;
    }
    
    /* Footer on very small */
    .chad-footer h5 {
        font-size: 14px !important;
    }
    .chad-foot-links a {
        font-size: 12.5px !important;
    }
    .chad-foot-contact li {
        font-size: 12.5px !important;
    }
}

/* --- Tablets (768px - 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Sidebar narrower on tablet */
    .sb-sidebar--left {
        flex: 0 0 200px !important;
        max-width: 200px !important;
    }
    
    /* Footer */
    .chad-footer .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* --- Desktop-only hide mobile nav --- */
@media (min-width: 769px) {
    .chad-mobile-nav {
        display: none !important;
    }
}

/* --- Ensure SB Market product cards work in home.blade layout --- */
.sb-productListing .card {
    border: 1px solid #eaeaea;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
}
.sb-productListing .card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-3px);
}
.sb-productListing .card .card-figure {
    overflow: hidden;
}
.sb-productListing .card .card-figure img {
    transition: transform .3s;
}
.sb-productListing .card:hover .card-figure img {
    transform: scale(1.05);
}

/* ============================================================
   DESKTOP PREMIUM HEADER
   ============================================================ */
.chad-desktop-header {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(27, 42, 91, 0.03);
    position: relative;
    z-index: 10005;
}
.chad-desktop-header .dropdown {
    display: block !important;
    position: relative !important;
}
.chad-desktop-header .dropdown-menu {
    position: absolute !important;
    z-index: 100000 !important;
}
.chad-desktop-header .product-search-input {
    border: 2px solid #1B2A5B !important;
    border-right: none !important;
    border-radius: 8px 0 0 8px !important;
    height: 44px !important;
    padding-left: 16px !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
}
.chad-desktop-header .product-search-input:focus {
    background: #fff !important;
    outline: none !important;
    box-shadow: none !important;
}
.chad-desktop-header .search-btn {
    background: #1B2A5B !important;
    color: #FFC610 !important;
    border: 2px solid #1B2A5B !important;
    border-radius: 0 8px 8px 0 !important;
    padding: 0 20px !important;
    height: 44px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.chad-desktop-header .search-btn:hover {
    background: #253875 !important;
    border-color: #253875 !important;
    color: #fff !important;
}
.chad-desktop-nav-link {
    color: #1B2A5B !important;
    font-weight: 700 !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
    font-size: 14.5px !important;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.chad-desktop-nav-link:hover {
    background: #f0f4fc !important;
    color: #1B2A5B !important;
    text-decoration: none !important;
}
.chad-desktop-nav-link i {
    font-size: 15px;
}
.chad-desktop-nav-link.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}
.chad-desktop-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f0f4fc;
    border-radius: 50%;
    color: #1B2A5B !important;
    transition: all 0.2s ease;
}
.chad-desktop-cart:hover {
    background: #1B2A5B;
    color: #fff !important;
}
.chad-desktop-cart i {
    font-size: 18px;
}
.chad-desktop-cart .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FFC610;
    color: #1B2A5B;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Subnav strip styling */
.chad-desktop-subnav {
    background: #1B2A5B;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid #E8B923;
    color: #fff;
}
.chad-desktop-subnav .navPages-action.megamenuToogle-wrapper {
    background: linear-gradient(135deg, #FFC610, #E8B923) !important;
    color: #1B2A5B !important;
    font-weight: 800 !important;
    padding: 12px 18px !important;
    border-radius: 8px 8px 0 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
    border: 0 !important;
    margin-bottom: -10px;
    z-index: 10;
    position: relative;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
}
.chad-desktop-subnav .navPages-action.megamenuToogle-wrapper i {
    font-size: 14px;
}
.chad-horizontal-categories a {
    color: rgba(255,255,255,0.95) !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 10px 8px !important;
    transition: all 0.2s ease;
}
.chad-horizontal-categories a:hover {
    color: #FFC610 !important;
    text-decoration: none !important;
}
.chad-desktop-subnav .hotline a {
    color: #FFC610 !important;
    font-weight: 800 !important;
    font-size: 14.5px !important;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
}
.chad-desktop-subnav .hotline a:hover {
    color: #fff !important;
    text-decoration: none !important;
}

/* Hide theme's default desktop elements when premium desktop header is active */
@media (min-width: 769px) {
    .mheader-top, .header-top, .header-center, .header-bottom {
        display: none !important;
    }
}


/* ============================================================
   TOPBAR MARQUEE (CSS replacement for deprecated <marquee>)
   ============================================================ */
.chad-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
}
.chad-marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: chadMarquee 28s linear infinite;
    will-change: transform;
}
.chad-marquee-track > span {
    display: inline-block;
    padding-right: 80px;
}
@keyframes chadMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.chad-marquee:hover .chad-marquee-track {
    animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
    .chad-marquee-track { animation: none; }
}

/* ============================================================
   ACCOUNT DROPDOWN (jQuery toggle — no Bootstrap JS on home)
   ============================================================ */
.chad-dh-account { position: relative; }
.chad-dh-account .chad-dh-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid #e8ecf5;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(27,42,91,.16);
    padding: 8px 0;
    z-index: 10008;
}
.chad-dh-account.is-open .chad-dh-dropdown {
    display: block;
    animation: chadDropIn .18s ease;
}
.chad-dh-account .dropdown-item {
    display: block;
    padding: 9px 18px;
    color: #1B2A5B;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    transition: background .15s;
}
.chad-dh-account .dropdown-item:hover {
    background: #f4f6fc;
    color: #1B2A5B;
}
.chad-dh-account .dropdown-divider {
    border-top: 1px solid #eef1f8;
    margin: 6px 0;
}

/* ============================================================
   PRODUCT CARD (moved out of per-card <style> blocks)
   ============================================================ */
.product-item-container {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
    background: #fff;
    margin-bottom: 20px;
}
.product-item-container:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #ddd;
}
.product-item-container:hover .quickview {
    opacity: 1 !important;
}

/* Category section header: keep title + View All on one row on mobile */
.ltabs-heading {
    flex-wrap: nowrap !important;
    gap: 10px;
}
.ltabs-heading .block-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ltabs-heading .ltabs-tabs-wrap { flex-shrink: 0; }

/* RV cards arrive as axil col-lg-2 (16%) — too narrow inside the 9-col content
   area of the sb-market home. Re-grid to 4-up desktop / 2-up mobile. */
#chadRecentlyViewed [data-rv-body] > .row { width: 100%; margin: 0; }
@media (min-width: 992px) {
    #chadRecentlyViewed [data-rv-body] .col-lg-2 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    #chadRecentlyViewed [data-rv-body] .col-md-3 {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }
}
