/* ====== Home layout fixes ====== */
        .home-slider { max-width: 100% !important; }
        .home-banner-area .aiz-category-menu .sub-cat-menu { width: calc(100% - 290px); left: calc(280px); }
        .home-category-banner .home-category-name { bottom: -50px; }

        @media (min-width: 992px){
            .todays_deal{ width: 100%; }
            .todays_deal .c-scrollbar-light{ scrollbar-width: auto !important; padding-right: 5px !important; }
        }
        @media (max-width: 991px){
            .home-banner-area .container{ min-width: 0; padding-left: 15px !important; padding-right: 15px!important; }
        }
        @media (max-width: 767px){
            #flash_deal .flash-deals-baner{ height: 203px !important; }
        }

        /* ====== Brands design ====== */
        .brand-box {
            border: 1px solid #eee; border-radius: 16px; background: #fff;
            transition: all 0.3s ease; box-shadow: 0 0 8px rgba(0, 0, 0, 0.04);
        }
        .brand-box:hover { border-color: #cc6e00; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); }
        .brand-img-wrap { 
            width: 80px; height: 80px; border-radius: 50%;
            background: #f5f5f5; padding: 10px;
            display: flex; align-items: center; justify-content: center; overflow: hidden;
        }
        .brand-img-wrap img { max-height: 100%; max-width: 100%; object-fit: contain; }

        /* Featured Categories */
        .featured-category-circle {
            width: 90px; height: 90px; border-radius: 50%;
            overflow: hidden; background: #f5f6f7;
            box-shadow: 0 0 15px -8px rgba(0,0,0,0.2);
            border: 2px solid #dfe3e8;
            display: flex; align-items: center; justify-content: center;
        }

        /* new categories section */
        .categories-horizontal-menu {
            font-family: 'Tajawal', 'Cairo', Arial, sans-serif;
            border-bottom: 1px solid #f0f2f5;
            background: #f5f8fa;
        }
        .categories-horizontal-menu ul { padding-right: 0 !important; padding-left: 0 !important; margin-bottom: 0 !important; }
        .categories-horizontal-menu li { margin: 0 !important; padding: 0 !important; }
        .categories-horizontal-menu li a {
            transition: color 0.18s;
            color: #16212a !important;
            padding: 6px 0;
            border-radius: 2px;
            text-decoration: none;
        }
        .categories-horizontal-menu li a:hover,
        .categories-horizontal-menu li a.active {
            color: #e10a14 !important;
            background: transparent;
            text-decoration: underline;
        }
        @media (max-width: 991.98px) {
            .categories-horizontal-menu ul { gap: 12px !important; font-size: 15px !important; flex-wrap: wrap !important; }
            .categories-horizontal-menu { font-size: 15px; padding: 8px 2vw !important; }
        }
        @media (max-width: 767.98px) {
            .category-pill { display: inline-block; margin-bottom: 4px; box-shadow: 0 1px 2px #eee; }
            .category-pill:active, .category-pill:focus, .category-pill:hover {
                background: #f3f6f9;
                color: #df7245 !important;
                border-color: #df7245;
                text-decoration: none;
            }
            .category-scroll-list { scrollbar-width: none; }
            .category-scroll-list::-webkit-scrollbar { display: none; }
        }

        /* Mega menu */
        .categories-horizontal-menu-mega { z-index: 200; font-family: inherit; }
        .categories-horizontal-menu-mega ul { margin-bottom: 0; }
        .categories-horizontal-menu-mega .nav-category-mega { position: relative; }
        .categories-horizontal-menu-mega .mega-menu-mega {
            display: none;
            position: fixed;
            right: 0; left: 0;
            top: 200px;
            background: #fff;
            box-shadow: 0 8px 32px rgba(60,60,60,0.14);
            z-index: 2020;
            border-radius: 0 0 18px 18px;
            min-height: 180px;
            transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
            padding: 6px 0 14px;
        }
        .categories-horizontal-menu-mega .nav-category-mega:hover > .mega-menu-mega {
            display: block;
            animation: megaFadeIn 0.22s linear;
        }
        @keyframes megaFadeIn {
            from { opacity: 0; transform: translateY(30px);}
            to { opacity: 1; transform: translateY(0);}
        }
        .categories-horizontal-menu-mega .mega-menu-mega .col-3 { padding-right: 30px; padding-left: 30px; }
        .categories-horizontal-menu-mega .mega-menu-mega ul { padding-right: 0; }
        .categories-horizontal-menu-mega .mega-menu-mega a { transition: all .18s; }
        .categories-horizontal-menu-mega .mega-menu-mega a:hover {
            color: #DF7245 !important;
            text-decoration: underline;
            background: #f4f7f9;
            border-radius: 12px;
            padding-right: 6px;
            padding-left: 6px;
        }
        .categories-horizontal-menu-mega ul > li > a:hover {
            color: #DF7245 !important;
            text-decoration: underline;
            background: #f9f9f9;
            border-radius: 10px;
        }
        .category-mega-thumb img {
            width: 36px; height: 36px;
            object-fit: cover;
            border-radius: 50%;
            background: #f7f7f7;
            border: 2px solid #e6e6e6;
            box-shadow: 0 2px 8px 0 rgba(60,123,139,.07);
            display: inline-block;
        }
        @media (max-width: 991.98px) {
            .categories-horizontal-menu-mega { display: none !important; }
        }
        .categories-horizontal-menu-mega .container > ul {
            overflow-x: auto;
            white-space: nowrap;
            flex-wrap: nowrap !important;
            scrollbar-width: thin;
            scrollbar-color: #DF7245 #f5f5f5;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 2px;
        }
        .categories-horizontal-menu-mega .container > ul::-webkit-scrollbar {
            height: 7px;
            background: #f5f5f5;
            border-radius: 4px;
        }
        .categories-horizontal-menu-mega .container > ul::-webkit-scrollbar-thumb {
            background: #DF7245;
            border-radius: 4px;
        }

        /* Brands section */
        .bs-brands-section { padding: 4rem 0; }
        .bs-section-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:2.5rem; }
        .bs-section-header .bs-title { font-weight:900; font-size:2rem; color:#212529; }
        .bs-section-header .bs-discover-link {
            font-weight:700; font-size:1.1rem; color:var(--primary);
            text-decoration:none; transition:color 0.4s ease;
            display:inline-flex; align-items:center; gap:0.5rem;
        }
        .bs-section-header .bs-discover-link:hover { color:var(--primary); }
        .bs-section-header .bs-discover-link .bs-arrow-icon { transition: transform 0.3s ease; }
        .bs-section-header .bs-discover-link:hover .bs-arrow-icon { transform: translateX(-5px); }

        .bs-brand-box {
            background-color:#ffffff;
            border:2px solid #e9ecef;
            border-radius:1rem;
            padding:1.5rem;
            margin:0 0.5rem;
            display:flex !important;
            align-items:center;
            justify-content:center;
            height:140px;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            cursor:pointer;
        }
        .bs-brand-box:hover {
            transform: translateY(-0.1rem);
            box-shadow: 0 8px 20px rgba(0,0,0,0.06);
            border-color: var(--primary);
        }
        .bs-brand-box img {
            max-width:100%;
            max-height:60px;
            object-fit:contain;
            filter: grayscale(100%);
            opacity:0.8;
            transition: filter 0.4s ease, opacity 0.4s ease;
        }
        .bs-brand-box:hover img { filter: grayscale(0%); opacity:1; }

        @media(max-width: 991.98px) {
            .bs-section-header .bs-title { font-weight:700; font-size:1rem; }
            .bs-section-header .bs-discover-link { font-weight:500; font-size:0.9rem; gap:0.1rem; }
            .bs-brand-box {
                border:1px solid #e9ecef;
                padding:.5rem;
                margin:0.5rem !important;
                height:100px;
            }
        }

        /* Golden header */
        .header-golden{
            display:flex;
            align-items:center;
            justify-content:space-between;
            border-bottom:2px solid;
            border-image-slice:1;
            border-image-source:linear-gradient(to left,#c09f30,#e8c868);
            padding-bottom:.6rem;
        }
        .header-golden .title-group{ display:flex; align-items:center; gap:.75rem; }
        .header-golden .icon-wrapper-golden{ color:#c09f30; font-size:1.4rem; }
        .header-golden .title{ font-size:1.4rem; font-weight:700; color:#333; margin:0; }
        .header-golden .btn-view-all-golden{
            color:#a88532; font-weight:700; text-decoration:none; transition:color .2s; font-size:.9rem;
        }
        .header-golden .btn-view-all-golden:hover{ color:#c09f30; }

        /* ===== trust features above banner 4 ===== */
        .home-trust-features-list{ display:flex; gap:12px; overflow-x:auto; padding:0 12px 2px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
        .home-trust-features-list::-webkit-scrollbar{ display:none; }
        .home-trust-feature-item{ flex:0 0 auto; min-width:140px; text-align:center; background:#fff; border:1px solid #eceff3; border-radius:999px; padding:12px 18px; color:#1f2937; font-weight:700; font-size:15px; line-height:1.4; box-shadow:0 4px 14px rgba(15,23,42,.05); white-space:nowrap; }
        @media (max-width: 767.98px){
            .home-trust-features-list{ gap:8px; padding:0 10px 2px; }
            .home-trust-feature-item{ min-width:auto; padding:10px 14px; font-size:13px; }
        }

        /* ===== spacing fix between slider / featured / deals / newest ===== */

        #featured-categories-wrap{
            margin: 0 0 10px 0;
        }

        #deals-board-wrap{
            margin: 0 0 10px 0;
        }

        #section_newest{
            margin-top: 0 !important;
        }

        @media (max-width: 991.98px){

            #featured-categories-wrap{
                margin-bottom: 12px;
            }

            #deals-board-wrap{
                margin-bottom: 12px;
            }
        }

        @media (max-width: 575.98px){

            #featured-categories-wrap{
                margin-bottom: 10px;
            }

            #deals-board-wrap{
                margin-bottom: 10px;
            }
        }
        :root{--rc-accent:#EA5925;--rc-accent-hover:#D94E1D;--rc-text:#1D1D1B;--rc-muted:#667085;--rc-border:#E7EBF0;--rc-radius-md:12px;--rc-radius-lg:16px;}
        .text-accent{color:var(--rc-accent)!important}.bg-accent{background:var(--rc-accent)!important}.fill-accent{fill:var(--rc-accent)!important}.text-primary_text{color:var(--rc-text)!important}
        .newest-products-noon .btn.btn-primary,.best-selling-noon .btn.btn-primary,.seasonal-noon .btn.btn-primary,.custom-section-container .btn.btn-primary,.coupon-promo-banner-v4 .btn.btn-primary{background:var(--rc-accent)!important;border-color:var(--rc-accent)!important;color:#fff!important;border-radius:var(--rc-radius-md)!important;font-weight:800!important;box-shadow:none!important;padding:8px 16px!important;line-height:1.2}.newest-products-noon .btn.btn-primary:hover,.best-selling-noon .btn.btn-primary:hover,.seasonal-noon .btn.btn-primary:hover,.custom-section-container .btn.btn-primary:hover,.coupon-promo-banner-v4 .btn.btn-primary:hover{background:var(--rc-accent-hover)!important;border-color:var(--rc-accent-hover)!important}
        .newest-products-noon .noon-section-header h3,.best-selling-noon .noon-section-header h3,.seasonal-noon .seasonal-head h3,.custom-section-container h3.fs-16.fs-md-20,.header-golden .title{color:var(--rc-text)!important;font-weight:800!important;letter-spacing:0}.seasonal-head small,.bs-section-header .bs-discover-link,.header-golden .btn-view-all-golden{color:var(--rc-muted)!important}.home-trust-feature-item{color:var(--rc-text)!important;border-color:var(--rc-border)!important}
