@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css");

/* =========================================================
   ALHASSANI GAMES - CLEAN STYLE.CSS
   Header + Menu + Hero Slider + Category Slider + Products + Footer
========================================================= */

/* RESET */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;width:100%;max-width:100%;overflow-x:hidden}
body{font-family:Arial,Helvetica,sans-serif;background:#fff;color:#111;width:100%;max-width:100%;overflow-x:hidden}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
ul{list-style:none}
button,input,select,textarea{font-family:inherit}
button{cursor:pointer}

/* HEADER */
.main-header{
    width:100%;
    max-width:100%;
    min-height:110px;
    padding:18px 45px;
    background:#fff;
    display:grid;
    grid-template-columns:230px 1fr 190px;
    align-items:center;
    gap:30px;
    position:relative;
    z-index:1000;
}
.logo img{width:165px;height:auto}
.search-box{
    height:56px;width:100%;max-width:850px;
    display:flex;align-items:center;
    border:2px solid #e1e1e1;border-radius:3px;
    overflow:hidden;background:#fff;
}
.search-box input{
    flex:1;height:100%;border:0;outline:none;
    padding:0 22px;font-size:16px;color:#555;min-width:0;
}
.search-box select{
    width:205px;height:100%;border:0;border-left:1px solid #e8e8e8;
    outline:none;padding:0 18px;background:#fff;color:#111;font-size:16px;cursor:pointer;
}
.search-box button{
    width:74px;height:100%;border:0;background:#d71920;color:#fff;font-size:25px;
    display:flex;align-items:center;justify-content:center;transition:.25s ease;
}
.search-box button:hover{background:#b9141a}
.header-icons{display:flex;align-items:center;justify-content:flex-end;gap:28px}
.header-icon-link{display:flex;align-items:center;gap:8px;color:#111;font-size:28px;line-height:1;transition:.25s ease}
.header-icon-link:hover{color:#d71920}
.icon-count{
    min-width:32px;height:20px;padding:0 8px;border-radius:30px;background:#cfd1d4;color:#fff;
    display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;
}

/* NAV MENU */
.main-nav{background:#d71920;padding:0 45px;position:relative;z-index:9999;width:100%;max-width:100%;overflow-x:hidden;overflow-y:visible}
.nav-list{min-height:58px;display:flex;align-items:center;gap:28px;overflow-x:auto;overflow-y:visible;max-width:100%;scrollbar-width:none}
.nav-list::-webkit-scrollbar{display:none}
.nav-list>li{position:relative;flex-shrink:0}
.nav-list>li>a,.nav-link-wrap>a{
    color:#fff;font-size:14px;font-weight:900;text-transform:uppercase;white-space:nowrap;
    display:flex;align-items:center;min-height:58px;transition:.25s ease;
}
.nav-list>li>a:hover,.nav-link-wrap>a:hover{color:#000}
.nav-link-wrap{display:flex;align-items:center;gap:8px}
.nav-arrow{
    width:26px;height:26px;border:0;background:transparent;color:#fff;font-size:12px;
    display:flex;align-items:center;justify-content:center;transition:.25s ease;
}
.nav-arrow:hover{color:#000}
.dropdown-menu{
    display:none;position:absolute;top:100%;left:0;min-width:280px;background:#fff;margin:0;padding:8px 0;
    box-shadow:0 12px 35px rgba(0,0,0,.22);z-index:99999;border-radius:0 0 6px 6px;
}
.nav-item.open>.dropdown-menu{display:block}
.dropdown-item{position:relative}
.dropdown-menu .nav-link-wrap{display:flex;align-items:center;justify-content:space-between;gap:10px}
.dropdown-menu a{
    color:#222;font-size:14px;font-weight:800;text-transform:uppercase;
    padding:13px 16px;min-height:auto;flex:1;white-space:nowrap;
}
.dropdown-menu .nav-arrow{color:#222;width:38px;height:38px;margin-right:4px}
.dropdown-menu li:hover{background:#f5f5f5}
.submenu{
    display:none;position:absolute;top:0;left:100%;min-width:340px;background:#fff;margin:0;padding:8px 0;
    box-shadow:0 12px 35px rgba(0,0,0,.22);z-index:99999;border-radius:0 6px 6px 0;
}
.dropdown-item.open>.submenu{display:block}
.submenu a{color:#222;font-size:14px;font-weight:800;text-transform:uppercase;padding:13px 16px;display:block;white-space:nowrap}
.submenu li:hover{background:#f5f5f5}

/* HERO SLIDER */
.hero-slider{
    position:relative;width:100%;height:430px;min-height:430px;max-height:430px;
    overflow:hidden;background:#f5f5f5;margin:0;padding:0;display:block;z-index:1;
}
.hero-slide{
    position:absolute;inset:0;width:100%;height:100%;display:block;
    background-size:cover;background-position:center center;background-repeat:no-repeat;
    opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s ease;
}
.hero-slide.active{opacity:1;visibility:visible}
.hero-slide img{width:100%;height:100%;object-fit:cover}
.hero-slide::before{display:none}
.hero-content{position:relative;z-index:2;max-width:720px}
.hero-label{display:inline-block;background:#d71920;color:#fff;padding:8px 16px;font-weight:900;margin-bottom:18px;border-radius:3px}
.hero-content h1{font-size:56px;max-width:680px;line-height:1.08;font-weight:900}
.hero-content p{font-size:20px;margin-top:18px;color:#ddd;line-height:1.6}
.hero-btn{display:inline-block;margin-top:28px;background:#d71920;color:#fff;padding:15px 34px;font-weight:900;border-radius:4px;transition:.25s ease}
.hero-btn:hover{background:#b9141a;transform:translateY(-3px)}
.hero-arrow{
    position:absolute;top:50%;transform:translateY(-50%);
    width:46px;height:46px;border:0;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:34px;
    z-index:20;display:flex;align-items:center;justify-content:center;line-height:1;transition:.25s ease;
}
.hero-arrow:hover{background:#d71920}
.hero-prev{left:25px}
.hero-next{right:25px}
.hero-dots{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:20}
.dot,.hero-dots span{width:11px;height:11px;border-radius:50%;background:#fff;opacity:.5;transition:.25s ease}
.dot.active,.hero-dots span.active{background:#d71920;opacity:1}

/* SECTIONS */
.home-section{padding:25px 45px 55px;overflow:hidden}
.hero-slider+.home-section{padding-top:30px}
.section-head{margin-bottom:28px}
.section-head h2{font-size:32px;font-weight:900;text-transform:uppercase}
.section-head p{margin-top:8px;color:#777;font-size:15px}

/* CATEGORY SLIDER */
.category-slider{position:relative;width:100%;overflow:hidden;margin-top:10px}
.category-grid{width:100%;max-width:100%;display:flex;align-items:flex-start;gap:8px;transition:transform .7s ease;will-change:transform;overflow:visible}
.category-card{
    flex:0 0 calc((100% - 40px) / 6);
    display:flex;flex-direction:column;align-items:center;text-align:center;
    padding:0;background:transparent;border-radius:0;overflow:visible;transition:.3s ease;
}
.category-card img{
    width:100%;aspect-ratio:1 / 1;height:auto;object-fit:cover;
    border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.18);transition:.35s ease;
}
.category-card:hover img{transform:translateY(-5px);box-shadow:0 10px 24px rgba(0,0,0,.22)}
.category-overlay{display:none}
.category-card h3{
    margin-top:10px;width:100%;font-size:18px;font-weight:800;color:#333;line-height:1.35;text-transform:uppercase;
    min-height:50px;display:flex;align-items:flex-start;justify-content:center;text-align:center;
}

/* PRODUCTS */
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.product-card{background:#fff;border:1px solid #eee;padding:18px;position:relative;transition:.3s ease;border-radius:8px}
.product-card:hover{transform:translateY(-7px);box-shadow:0 15px 35px rgba(0,0,0,.12)}
.product-img{height:210px;display:flex;align-items:center;justify-content:center;background:#fafafa;border-radius:6px;padding:10px;cursor:pointer}
.product-img img{max-width:100%;max-height:100%;object-fit:contain;transition:.3s ease}
.product-card:hover .product-img img{transform:scale(1.05)}
.product-card h3{font-size:16px;margin-top:14px;min-height:45px;line-height:1.4;font-weight:800;cursor:pointer}
.product-card p{color:#d71920;font-size:18px;font-weight:900;margin-top:10px;cursor:pointer}
.wishlist-btn{
    position:absolute;top:12px;right:12px;width:38px;height:38px;border:0;border-radius:50%;
    background:#fff;color:#111;font-size:20px;display:flex;align-items:center;justify-content:center;
    z-index:5;box-shadow:0 6px 18px rgba(0,0,0,.12);transition:.25s ease;
}
.wishlist-btn:hover,.wishlist-btn.active{background:#d71920;color:#fff}

/* CATEGORY PAGE */
.category-page-head{text-align:center;margin-bottom:18px}
.category-page-head h2{font-size:35px;font-weight:900;margin-bottom:8px;text-transform:uppercase}
.category-page-head p{font-size:18px;color:#777;margin:0}
.category-page-grid{max-width:1200px;margin:20px auto 0}
.category-products-head{text-align:center;margin:60px 0 35px}
.category-products-head h2{font-size:44px;font-weight:900;text-transform:uppercase;margin-bottom:8px}
.category-products-head p{font-size:18px;color:#777;margin:0}
#new-arrivals{scroll-margin-top:110px}

/* LATEST PRODUCTS + PROMO */
.products-promo-section{display:grid;grid-template-columns:2fr 1fr;gap:28px;align-items:start}
.latest-head{text-align:left;margin-bottom:25px}
.latest-slider-wrap{position:relative}
.latest-products-slider{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:auto;gap:18px}
.latest-product-card{
    display:none;
}

.latest-product-card.show{
    display:block;
}
.latest-arrow{
    position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;
    background:#111;color:#fff;font-size:30px;z-index:5;transition:.25s ease;
}
.latest-prev{left:-18px}
.latest-next{right:-18px}
.latest-arrow:hover{background:#d71920}
.promo-card{height:100%;min-height:560px;background:#f5f5f7;border-radius:16px;padding:35px 30px;display:block;overflow:hidden;position:relative;max-width:100%}
.promo-card span{display:block;font-size:20px;color:#333;margin-bottom:12px}
.promo-card h3{font-size:32px;line-height:1.2;color:#333;margin-bottom:12px;font-weight:500}
.promo-card p{font-size:18px;text-decoration:underline;color:#111;margin-bottom:25px}
.promo-card img{width:115%;max-width:none;margin-left:-20px;margin-top:20px;object-fit:contain}

/* PRODUCT DETAILS */
.product-details-section{padding-top:45px}
.product-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:start}
.product-details-image{
    background:#fafafa;border:1px solid #eee;border-radius:14px;min-height:520px;
    display:flex;align-items:center;justify-content:center;padding:35px;
}
.product-details-image img{width:100%;max-height:480px;object-fit:contain}
.product-category-name{color:#777;font-size:15px;margin-bottom:12px;font-weight:700;text-transform:uppercase}
.product-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.product-title-row h1{font-size:42px;line-height:1.15;font-weight:900;margin-bottom:20px}
.product-details-price{color:#d71920;font-size:32px;font-weight:900;margin-bottom:22px}
.product-short-desc{color:#444;font-size:16px;line-height:1.8;margin-bottom:18px}
.product-stock{font-size:16px;margin-bottom:24px;font-weight:700}
.product-whatsapp-btn{
    display:inline-flex;align-items:center;gap:10px;background:#25D366;color:#fff;
    padding:15px 28px;border-radius:5px;font-weight:900;transition:.25s ease;
}
.product-whatsapp-btn:hover{background:#1da851;transform:translateY(-2px)}
.product-wishlist{
    position:static;width:52px;height:52px;min-width:52px;border:1px solid #ddd;border-radius:50%;
    background:#fff;color:#111;font-size:23px;box-shadow:0 8px 22px rgba(0,0,0,.12);
}
.product-wishlist:hover,.product-wishlist.active{background:#d71920;color:#fff}
.product-description-box{margin-top:55px;border-top:1px solid #eee;padding-top:35px}
.product-description-box h2{font-size:28px;font-weight:900;margin-bottom:18px}
.product-description-box p{color:#444;line-height:1.9;font-size:16px}

/* WISHLIST PAGE */
.wishlist-page{padding-top:45px}
.wishlist-layout{display:grid;grid-template-columns:2fr 1fr;gap:35px;align-items:start}
.wishlist-products{display:flex;flex-direction:column;gap:18px}
.wishlist-item{
    display:grid;grid-template-columns:120px 1fr auto;align-items:center;gap:25px;
    border:1px solid #eee;border-radius:12px;padding:20px 25px;margin-bottom:20px;background:#fff;
}
.wishlist-img{height:110px;background:#fafafa;display:flex;align-items:center;justify-content:center;border-radius:8px;padding:10px}
.wishlist-img img{max-height:100%;object-fit:contain}
.wishlist-info h3{font-size:18px;font-weight:900;margin-bottom:10px}
.wishlist-info p{color:#d71920;font-size:18px;font-weight:900}
.wishlist-actions{display:flex;align-items:center;gap:18px;justify-content:flex-end;flex-wrap:nowrap}
.qty-box{display:flex;align-items:center;border:1px solid #ddd;border-radius:50px;overflow:hidden;background:#fff}
.qty-btn,.qty-box button{width:42px;height:42px;border:0;background:#111;color:#fff;font-size:14px;transition:.25s ease}
.qty-btn:hover,.qty-box button:hover{background:#d71920}
.qty-input{width:55px;height:42px;border:0;text-align:center;font-size:17px;font-weight:900;outline:none}
.qty-input::-webkit-inner-spin-button,.qty-input::-webkit-outer-spin-button{appearance:none;margin:0}
.item-total{min-width:120px;font-size:18px;font-weight:900;color:#d71920;text-align:right}
.remove-wishlist,.remove-favorite{
    width:46px;height:46px;border:0;border-radius:50%;background:#fff0f0;color:#d71920;
    display:flex;align-items:center;justify-content:center;font-size:19px;transition:.25s ease;
}
.remove-wishlist:hover,.remove-favorite:hover{background:#d71920;color:#fff;transform:scale(1.08)}
.wishlist-summary{border:1px solid #eee;border-radius:12px;padding:25px;background:#fff;position:sticky;top:20px}
.wishlist-summary h3{font-size:24px;font-weight:900;margin-bottom:22px}
.summary-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #eee;font-size:16px}
.summary-row.total{font-size:20px;color:#d71920;border-bottom:0}
.whatsapp-order-btn{
    margin-top:20px;width:100%;height:52px;background:#25D366;color:#fff;
    display:flex;align-items:center;justify-content:center;gap:10px;border-radius:6px;font-weight:900;transition:.25s ease;
}
.whatsapp-order-btn:hover{background:#1da851;transform:translateY(-2px)}
.empty-wishlist{text-align:center;padding:70px 20px}
.empty-wishlist i{font-size:120px;color:#444;margin-bottom:20px}
.empty-wishlist h3{font-size:28px;font-weight:900;margin-bottom:10px}
.empty-wishlist p{color:#777;margin-bottom:25px}

/* FOOTER */
/* FOOTER */
.footer{
    background:#d62d2d;
    color:#fff;
    padding:35px 45px 20px;
    text-align:left;
}

.footer-container{
    display:grid;
    grid-template-columns:1.1fr .9fr .8fr 1.2fr;
    gap:38px;
    max-width:1500px;
    margin:0 auto;
}

.footer-logo{
    width:180px;
    margin-bottom:18px;
}

.footer-col h3{
    font-size:22px;
    font-weight:800;
    margin-bottom:20px;
    color:#fff;
}

.footer-col p,
.footer-col a{
    display:block;
    color:#fff;
    font-size:15px;
    font-weight:700;
    line-height:1.55;
    margin-bottom:9px;
}

.footer-col a:hover{
    color:#111;
}

.footer-social{
    display:flex;
    gap:10px;
    margin-top:18px;
}

.footer-social a{
    width:34px;
    height:34px;
    border-radius:50%;
    background:rgba(255,255,255,.55);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:15px;
    margin:0;
    transition:.25s ease;
}

.footer-social a:hover{
    background:#111;
    color:#fff;
}

.footer-newsletter p{
    font-size:15px;
    font-weight:700;
    line-height:1.6;
    margin-bottom:18px;
}

.footer-newsletter form{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.footer-newsletter input{
    width:100%;
    height:44px;
    background:transparent;
    border:1px solid rgba(255,255,255,.9);
    outline:none;
    color:#fff;
    font-size:15px;
    padding:0 14px;
}

.footer-newsletter input::placeholder{
    color:rgba(255,255,255,.8);
}

.footer-newsletter label{
    color:#ddd;
    font-size:14px;
    font-weight:800;
    border-bottom:1px solid rgba(255,255,255,.55);
    padding-bottom:10px;
}

.footer-newsletter button{
    width:145px;
    height:40px;
    border:0;
    border-radius:5px;
    background:#3f73d1;
    color:#fff;
    font-size:14px;
    font-weight:800;
    transition:.25s ease;
}

.footer-newsletter button:hover{
    background:#111;
}

/* FOOTER RESPONSIVE */
@media(max-width:991px){
    .footer{
        padding:35px 25px 22px;
    }

    .footer-container{
        grid-template-columns:1fr 1fr;
        gap:30px;
    }

    .footer-logo{
        width:160px;
    }
}

@media(max-width:575px){
    .footer{
        padding:30px 20px 20px;
    }

    .footer-container{
        grid-template-columns:1fr;
        gap:25px;
    }

    .footer-logo{
        width:150px;
        margin-bottom:15px;
    }

    .footer-col h3{
        font-size:20px;
        margin-bottom:15px;
    }

    .footer-col p,
    .footer-col a,
    .footer-newsletter p{
        font-size:14px;
        margin-bottom:7px;
    }
}


/* Footer Bottom */

.footer-bottom{
    margin-top:30px;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.25);
    text-align:center;
    font-size:15px;
    color:rgba(255,255,255,.85);
    font-weight:500;
}

.footer-bottom strong{
    color:#fff;
    font-weight:700;
}

@media(max-width:575px){

    .footer-bottom{
        font-size:13px;
        margin-top:20px;
        padding-top:15px;
    }

}






/* BACK TO TOP */
.back-to-top{
    position:fixed;right:36px;bottom:42px;width:60px;height:60px;border-radius:7px;background:#000;color:#fff;
    display:flex;align-items:center;justify-content:center;font-size:24px;z-index:9999;transition:.25s ease;
}
.back-to-top:hover{background:#d71920}

/* RTL */
html[dir="rtl"] body{direction:rtl}
html[dir="rtl"] .hero-content{text-align:right}
html[dir="rtl"] .search-box select{border-left:0;border-right:1px solid #e8e8e8}
html[dir="rtl"] .dropdown-menu{left:auto;right:0}
html[dir="rtl"] .submenu{left:auto;right:100%;border-radius:6px 0 0 6px}
html[dir="rtl"] .wishlist-btn{right:auto;left:12px}
html[dir="rtl"] .latest-head,html[dir="rtl"] .footer{text-align:right}
html[dir="rtl"] .item-total{text-align:left}
html[dir="rtl"] .back-to-top{right:auto;left:36px}

/* TABLET */
@media(max-width:991px){
    .main-header{grid-template-columns:1fr;padding:18px 22px;gap:16px}
    .logo img{width:150px;margin:auto}
    .search-box{max-width:100%;height:54px}
    .search-box input{font-size:14px;padding:0 16px}
    .search-box select{width:170px;font-size:14px}
    .search-box button{width:68px;font-size:23px}
    .header-icons{justify-content:center;gap:28px}
    .main-nav{padding:0 20px}
    .nav-list{gap:22px;overflow-x:auto;scrollbar-width:none}
    .nav-list::-webkit-scrollbar{display:none}
    .dropdown-menu{position:absolute;min-width:250px}
    .submenu{min-width:280px}
    .hero-slider{height:340px;min-height:340px;max-height:340px}
    .hero-content h1{font-size:40px}
    .hero-content p{font-size:17px}
    .home-section{padding:32px 28px 48px}
    .category-card{flex:0 0 calc((100% - 16px) / 3)}
    .category-card h3{font-size:16px}
    .product-grid{grid-template-columns:repeat(2,1fr);gap:22px}
    .products-promo-section{grid-template-columns:1fr}
    .latest-products-slider{grid-template-columns:repeat(2,1fr)}
    .promo-card{min-height:420px}
    .product-details-grid{grid-template-columns:1fr;gap:35px}
    .product-details-image{min-height:380px}
    .product-title-row h1{font-size:34px}
    .wishlist-layout{grid-template-columns:1fr}
    .footer{padding:55px 28px 30px}
    .footer-container{grid-template-columns:1fr 1fr;gap:45px}
    .footer-logo{width:220px}
}

/* MOBILE */
@media(max-width:575px){
    .main-header{padding:16px 15px}
    .logo img{width:135px}
    .search-box{height:auto;flex-wrap:wrap}
    .search-box input{flex-basis:100%;height:48px}
    .search-box select{flex:1;width:auto;height:48px;border-left:0;border-top:1px solid #eee}
    html[dir="rtl"] .search-box select{border-right:0}
    .search-box button{width:66px;height:48px;font-size:22px}
    .header-icon-link{font-size:25px}
    .icon-count{min-width:29px;height:18px;font-size:11px}
    .main-nav{padding:0 15px}
    .nav-list{min-height:54px;gap:20px;overflow-x:auto}
    .nav-list>li>a,.nav-link-wrap>a{font-size:13px;min-height:54px}
    .dropdown-menu{top:100%;left:0;min-width:230px}
    html[dir="rtl"] .dropdown-menu{right:0;left:auto}
    .submenu{top:100%;left:0;min-width:250px;border-radius:0 0 6px 6px}
    html[dir="rtl"] .submenu{right:0;left:auto;border-radius:0 0 6px 6px}
    .hero-slider{height:240px;min-height:240px;max-height:240px}
    .hero-content h1{font-size:31px}
    .hero-content p{font-size:15px}
    .hero-label{font-size:13px;padding:7px 13px}
    .hero-btn{padding:13px 26px;font-size:14px}
    .hero-arrow{width:36px;height:36px;font-size:26px}
    .hero-prev{left:12px}
    .hero-next{right:12px}
    .hero-dots{bottom:14px}
    .dot,.hero-dots span{width:9px;height:9px}
    .home-section{padding:30px 20px 42px}
    .hero-slider+.home-section{padding-top:25px}
    .section-head h2{font-size:26px}
    .category-card{flex:0 0 calc((100% - 8px) / 2)}
    .category-card h3{font-size:14px;min-height:42px}
    .product-grid{grid-template-columns:1fr}
    .product-img{height:220px}
    .latest-products-slider{grid-template-columns:1fr}
    .latest-arrow{width:36px;height:36px;font-size:26px}
    .latest-prev{left:-10px}
    .latest-next{right:-10px}
    .promo-card{min-height:360px;padding:25px 22px}
    .promo-card h3{font-size:25px}
    .product-details-section{padding-top:28px}
    .product-details-image{min-height:300px;padding:22px}
    .product-title-row h1{font-size:28px}
    .product-details-price{font-size:26px}
    .product-wishlist{width:46px;height:46px;min-width:46px}
    .wishlist-item{grid-template-columns:90px 1fr;gap:12px;padding:15px}
    .wishlist-img{height:90px}
    .wishlist-info h3{font-size:15px}
    .wishlist-actions{grid-column:1 / -1;justify-content:space-between;margin-left:0;width:100%}
    .item-total{min-width:auto}
    .footer{padding:45px 22px 28px}
    .footer-container{grid-template-columns:1fr;gap:35px}
    .footer-col h3{font-size:24px;margin-bottom:24px}
    .footer-col p,.footer-col a,.footer-newsletter p{font-size:16px}
    .footer-logo{width:210px}
    .footer-newsletter input{height:54px}
    .footer-newsletter label{font-size:16px}
    .footer-newsletter button{width:160px;height:48px;font-size:16px}
    .back-to-top{width:48px;height:48px;right:18px;bottom:24px;font-size:20px}
    html[dir="rtl"] .back-to-top{left:18px}
}

/* SMALL MOBILE */
@media(max-width:380px){
    .hero-slider{height:210px;min-height:210px;max-height:210px}
    .hero-content h1{font-size:27px}
    .search-box button{width:60px}
    .category-card h3{font-size:13px}
}


.product-price{
    margin-top:10px;
    cursor:pointer;
}

.old-price{
    display:block;
    color:#999;
    font-size:15px;
    font-weight:800;
    text-decoration:line-through;
    margin-bottom:4px;
}

.sale-price,
.normal-price{
    display:block;
    color:#d71920;
    font-size:18px;
    font-weight:900;
}
/* Center sub categories in category التصنيف الفرعي داخل التصنيف الرئيسي page */
.category-page-grid{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:18px;
}

.category-page-grid .category-card{
    flex:0 0 220px;
    max-width:220px;
}
/* Center sub categories in category التصنيف الفرعي داخل التصنيف الرئيسي p نهايهage */

/* ===========================
   Newsletter
=========================== */

.footer-newsletter{
    position:relative;
    z-index:10;
}

.footer-newsletter p{
    color:#ddd;
    margin:15px 0 20px;
    line-height:1.7;
}

.newsletter-form{
    display:flex;
    align-items:stretch;
    width:100%;
    margin-top:20px;
    border-radius:8px;
    overflow:hidden;
}

/* Input */

.newsletter-form input[type="email"]{
    flex:1;
    height:45px !important;
    min-height:45px !important;
    padding:0 22px !important;
    border:none !important;
    outline:none !important;
    background:#fff !important;
    color:#111 !important;
    font-size:16px !important;
    line-height:45px;
    box-sizing:border-box;
}

/* Button */

.newsletter-form button{
    width:145px;
    min-width:145px;
    height:45px;
    border:none;
    outline:none;
    cursor:pointer;
    background:#000;
    color:#fff;
    font-size:15px;
    font-weight:700;
    transition:.3s;
}

.newsletter-form button:hover{
    background:#ef233c;
    color:#fff;
}

.newsletter-success{
    display:block;
    color:#8dff8d;
    margin-top:12px;
}

.newsletter-error{
    display:block;
    color:#ffd0d0;
    margin-top:12px;
}

@media (max-width:768px){

    .newsletter-form{
        flex-direction:column;
    }

    .newsletter-form input[type="email"]{
        width:100%;
        height:45px !important;
        min-height:45px !important;
    }

    .newsletter-form button{
        width:100%;
        height:45px;
    }

}





/* Promo Offers Slider */

.promo-area{
    position:relative;
    width:100%;
    height:680px;
    background:#f4f4f6;
    border-radius:24px;
    overflow:hidden;
    padding:30px;
}

.promo-slider{
    position:relative;
    width:100%;
    height:100%;
}

.promo-card{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    text-decoration:none;
    color:#111;
    opacity:0;
    visibility:hidden;
    transform:translateX(30px);
    transition:.5s ease;
}

.promo-card.active{
    opacity:1;
    visibility:visible;
    transform:translateX(0);
}

.promo-content h3{
    font-size:34px;
    line-height:1.25;
    margin-bottom:14px;
    font-weight:500;
}

.promo-content p{
    font-size:16px;
    line-height:1.6;
    color:#555;
    margin-bottom:14px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.promo-content strong{
    font-size:17px;
    color:#111;
    text-decoration:underline;
}

.promo-img{
    width:100%;
    height:420px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:20px;
}

.promo-img img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    border-radius:18px;
}



.promo-prev{
    left:12px;
}

.promo-next{
    right:12px;
}

.promo-dots{
    position:absolute;
    bottom:18px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:8px;
    z-index:5;
}

.promo-dot{
    width:9px;
    height:9px;
    border-radius:50%;
    background:#bbb;
    cursor:pointer;
}

.promo-dot.active{
    background:#111;
}

@media(max-width:991px){
    .promo-area{
        height:auto;
        min-height:560px;
    }

    .promo-img{
        height:330px;
    }

    .promo-content h3{
        font-size:28px;
    }
}


/* footer-map */

.footer-map{
    width:100%;
    max-width:240px;
    height:110px;
    margin-top:18px;
    border-radius:12px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.15);
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.footer-map iframe{
    width:100%;
    height:100%;
    border:0;
    display:block;
}