/*======================================================
                HOME.CSS  |  PART 1
        RESET + GLOBAL + HERO + SLIDER
======================================================*/

:root {

    --primary:#775144;
    --primary-dark:#2A0800;

    --secondary:#C09891;

    --bg-color:#F7F3F0;
    --surface-color:#EFE3DD;
    --card-bg:#FFFFFF;

    --heading:#2A0800;
    --text-color:#3B2924;
    --text-light:#775144;

}

/*================ DARK MODE ================*/

[data-theme="dark"]{

    --primary:#C09891;
    --primary-dark:#E2B9AF;

    --secondary:#775144;

    --bg-color:#121212;
    --surface-color:#1E1E1E;
    --card-bg:#272727;

    --heading:#F5F5F5;
    --text-color:#ECECEC;
    --text-light:#BDBDBD;

}

/*================ RESET ================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:var(--font-primary);
    background:var(--bg-color);
    color:var(--text-color);
    overflow-x:hidden;
    transition:.35s;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

button{
    border:none;
    outline:none;
    background:none;
    cursor:pointer;
}

ul{
    list-style:none;
}

/*================ CONTAINER ================*/

.container{

    width:min(1320px,92%);
    margin:auto;

}

.section{

    padding:110px 0;

}

/*================ SECTION TITLE ================*/

.section-title{

    text-align:center;
    margin-bottom:70px;

}

.section-title span{

    display:inline-block;

    color:var(--primary);

    letter-spacing:2px;

    text-transform:uppercase;

    font-size:.85rem;

    margin-bottom:12px;

}

.section-title h2{

    font-size:clamp(2rem,4vw,3rem);

    margin-bottom:16px;

    color:var(--heading);

}

.section-title p{

    color:var(--text-light);

    max-width:650px;

    margin:auto;

    line-height:1.9;

}

/*================ BUTTONS ================*/

.main-btn,
.hero-btn,
.offer-btn,
.about-btn,
.details-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:15px 34px;

    border-radius:999px;

    background:var(--primary);

    color:#fff;

    font-weight:600;

    transition:.35s;

}

.main-btn:hover,
.hero-btn:hover,
.offer-btn:hover,
.about-btn:hover,
.details-btn:hover{

    transform:translateY(-4px);

    background:var(--primary-dark);

    box-shadow:0 18px 40px rgba(0,0,0,.18);

}

/*================ HERO ================*/

.hero{

    position:relative;

    width:100%;

    height:85vh;

    overflow:hidden;

}

.hero-slider{

    width:100%;

    height:100%;

    position:relative;

}

.hero-slide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    visibility:hidden;
    transition:opacity 1s ease;
}

.hero-slide.active{
    opacity:1;
    visibility:visible;
}


.hero-slide img{

    width:100%;

    height:100%;

    object-fit:cover;

}

/*================ OVERLAY ================*/

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        to left,
        rgba(0,0,0,.65),
        rgba(0,0,0,.35),
        rgba(0,0,0,.15)
    );

}

/*================ CONTENT ================*/

.hero-content{

    position:absolute;

    top:50%;

    right:8%;

    transform:translateY(-50%);

    max-width:650px;

    color:#fff;

    z-index:5;

}

.hero-subtitle{

    display:inline-block;

    letter-spacing:3px;

    text-transform:uppercase;

    color:var(--secondary);

    margin-bottom:20px;

    font-size:.95rem;

}

.hero-content h1{

    font-size:clamp(3rem,6vw,5rem);

    line-height:1.05;

    margin-bottom:25px;

    font-weight:800;

}

.hero-content p{

    font-size:1.05rem;

    line-height:2;

    margin-bottom:40px;

    max-width:560px;

    color:#f2f2f2;

}

/*================ HERO BUTTON ================*/

.hero-btn{

    padding:18px 42px;

    font-size:1rem;

}

/*================ ARROWS ================*/

.slider-btn{

    position:absolute;

    top:50%;

    transform:translateY(-50%);
    width:55px;

    height:55px;

    border-radius:50%;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(12px);

    color:#fff;

    z-index:20;

    transition:.35s;

}

.slider-btn:hover{

    background:var(--primary);

}

.prev{

    right:40px;

}

.next{

    left:40px;

}

/*================ DOTS ================*/

.slider-dots{

    position:absolute;

    bottom:40px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    gap:12px;

    z-index:20;

}

.dot{

    width:12px;

    height:12px;

    border-radius:50%;

    background:rgba(255,255,255,.45);

    cursor:pointer;

    transition:.35s;

}

.dot.active{

    width:42px;

    border-radius:999px;

    background:var(--secondary);

}

/*================ HERO ANIMATION ================*/

.hero-slide.active .hero-content{

    animation:heroFade .8s ease;

}

@keyframes heroFade{

    from{

        opacity:0;

        transform:translateY(-50%) translateX(60px);

    }

    to{

        opacity:1;

        transform:translateY(-50%) translateX(0);

    }

}
/*======================================================
                HOME.CSS | PART 2
        HEADER + NAVBAR + MOBILE MENU
======================================================*/

/*================ HEADER ================*/

.header{

    position:relative;

    top:0;
    left:0;

    width:100%;

    z-index:999;

    transition:.35s;

    padding:18px 0;

    background:transparent;

}

.header.scrolled{

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(18px);

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

[data-theme="dark"] .header.scrolled{

    background:rgba(20,20,20,.82);

}

/*================ HEADER CONTAINER ================*/

.header-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

}

/*================ LOGO ================*/

.logo{

    display:flex;

    align-items:center;

    gap:14px;

    font-weight:700;

    font-size:1.2rem;

    color:var(--heading);

}

.logo img{

    width:52px;

    height:52px;

    object-fit:contain;

}

.logo span{

    letter-spacing:1px;

}

/*================ NAVBAR ================*/

.navbar ul{

    display:flex;

    align-items:center;

    gap:36px;

}

.navbar a{

    position:relative;

    font-weight:500;

    color:var(--text-color);

    transition:.3s;

}

.navbar a:hover{

    color:var(--primary);

}

.navbar a.active{

    color:var(--primary);

}

/* underline */

.navbar a::after{

    content:"";

    position:absolute;

    right:0;

    bottom:-8px;

    width:0;

    height:2px;

    border-radius:99px;

    background:var(--primary);

    transition:.3s;

}

.navbar a:hover::after,
.navbar a.active::after{

    width:100%;

}

/*================ HEADER ACTIONS ================*/

.header-actions{

    display:flex;

    align-items:center;

    gap:12px;

}

/*================ HEADER BUTTON ================*/

.header-btn{

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#C09891;

    backdrop-filter:blur(10px);

    color:var(--heading);

    transition:.3s;

}

.header-btn:hover{

    background:var(--primary);

    color:#fff;

    transform:translateY(-3px);

}

/*================ CART ================*/

.cart-btn{

    position:relative;

}

.cart-count{

    position:absolute;

    top:-3px;

    left:-2px;

    width:20px;

    height:20px;

    border-radius:50%;

    background:#ff5252;

    color:#fff;

    font-size:.7rem;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:600;

}

/*================ MOBILE BUTTON ================*/

.mobile-btn{

    display:none;

}

/*================ THEME BUTTON ================*/

#theme-toggle{

    transition:.35s;

}

#theme-toggle:hover{

    transform:rotate(180deg);

}

/*================ SEARCH & CART EFFECT ================*/

.header-btn i{

    transition:.35s;

}

.header-btn:hover i{

    transform:scale(1.15);
    }
/*======================================================
                HOME.CSS | PART 3
        TOP CATEGORIES + ABOUT SECTION
======================================================*/

/*================ TOP CATEGORIES ================*/

.top-categories{

    background:var(--surface-color);

}

.categories-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

/*================ CATEGORY CARD ================*/

.category-card{

    background:var(--card-bg);

    border-radius:26px;

    overflow:hidden;

    transition:.35s;

    box-shadow:0 10px 35px rgba(0,0,0,.06);

}

.category-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(0,0,0,.12);

}

/*================ IMAGE ================*/

.category-image{

    width:100%;

    height:250px;

    overflow:hidden;

}

.category-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.45s;

}

.category-card:hover img{

    transform:scale(1.08);

}

/*================ CONTENT ================*/

.category-content{

    padding:26px;

}

.category-content h3{

    font-size:1.4rem;

    margin-bottom:12px;

    color:var(--heading);

    letter-spacing:1px;

}

.category-content p{

    color:var(--text-light);

    line-height:1.9;

    margin-bottom:22px;

    min-height:65px;

}

.category-content span{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:var(--primary);

    font-weight:600;

    transition:.35s;

}

.category-card:hover span{

    gap:16px;

}

/*================ ABOUT SECTION ================*/

.about-home{

    padding-top:130px;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

/*================ IMAGE ================*/

.about-image{

    border-radius:28px;

    overflow:hidden;

    box-shadow:0 25px 60px rgba(0,0,0,.10);

}

.about-image img{

    width:100%;

    transition:.5s;

}

.about-image:hover img{

    transform:scale(1.06);

}

/*================ CONTENT ================*/

.about-content span{

    color:var(--primary);

    letter-spacing:2px;

    font-size:.85rem;

    text-transform:uppercase;

}

.about-content h2{

    font-size:clamp(2rem,4vw,3.2rem);

    margin:20px 0;

    color:var(--heading);

    line-height:1.25;

}

.about-content p{

    color:var(--text-light);

    line-height:2;

    margin-bottom:20px;

}

.about-btn{

    margin-top:10px;

}

/*======================================================
                HOME.CSS | PART 4
        FEATURED + BEST SELLERS + PRODUCT CARD
======================================================*/

/*================ PRODUCTS SECTION ================*/

.featured-products,
.best-sellers{

    background:var(--bg-color);

}

.products-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

/*================ PRODUCT CARD ================*/

.product-card{

    background:var(--card-bg);

    border-radius:28px;

    overflow:hidden;

    transition:.35s;

    position:relative;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.product-card:hover{

    transform:translateY(-12px);

    box-shadow:0 30px 70px rgba(0,0,0,.15);

}

/*================ PRODUCT IMAGE ================*/

.product-image{

    display:block;

    width:100%;

    height:320px;

    overflow:hidden;

    position:relative;

    background: #f6f5f4;

    border-radius: 20px;

}

.product-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

    mix-blend-mode: multiply;

}

.product-card:hover .product-image img{

    transform:scale(1.08);

}

/*================ BADGE ================*/

.product-badge{

    position:absolute;

    top:18px;

    right:18px;

    background:var(--primary);

    color:#fff;

    padding:8px 18px;

    border-radius:999px;

    font-size:.8rem;

    font-weight:600;

    letter-spacing:.5px;

    z-index:5;

}

/*================ PRODUCT CONTENT ================*/

.product-content{

    padding:28px;

}

/*================ RATING ================*/

.product-rating{

    display:flex;
    align-items:center;

    gap:8px;

    color:#ffb400;

    margin-bottom:15px;

    font-size:.95rem;

}

.product-rating i{

    font-size:.9rem;

}

/*================ TITLE ================*/

.product-content h3{

    font-size:1.5rem;

    color:var(--heading);

    margin-bottom:14px;

}

/*================ DESCRIPTION ================*/

.product-content p{

    color:var(--text-light);

    line-height:1.9;

    min-height:72px;

    margin-bottom:28px;

}

/*================ FOOTER ================*/

.product-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

/*================ PRICE ================*/

.product-footer strong{

    font-size:1.25rem;

    color:var(--primary);

    font-weight:700;

}

/*================ DETAILS BUTTON ================*/

.details-btn{

    padding:12px 22px;

    border-radius:999px;

    background:var(--primary);

    color:#fff;

    font-size:.9rem;

    font-weight:600;

    transition:.35s;

}

.details-btn:hover{

    background:var(--primary-dark);

    transform:translateX(-6px);

}

/*================ VIEW MORE ================*/

.section-more{

    display:flex;

    justify-content:center;

    margin-top:65px;

}

/*================ HOVER EFFECT ================*/

.product-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        180deg,
        transparent,
        rgba(0,0,0,.05)
    );

    opacity:0;

    transition:.35s;

    pointer-events:none;

}

.product-card:hover::before{

    opacity:1;

}

/*======================================================
                HOME.CSS | PART 5
        WHY US + SPECIAL OFFER + NEWSLETTER
======================================================*/

/*================ WHY US ================*/

.why-us{

    background:var(--surface-color);

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.why-card{

    background:var(--card-bg);

    border-radius:24px;

    padding:40px 30px;

    text-align:center;

    transition:.35s;

    box-shadow:0 12px 30px rgba(0,0,0,.06);

}

.why-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(0,0,0,.12);

}

.why-icon{

    width:80px;

    height:80px;

    border-radius:50%;

    margin:auto;

    margin-bottom:25px;

    background:rgba(192,152,145,.12);

    display:flex;

    align-items:center;

    justify-content:center;

    color:var(--primary);

    font-size:2rem;

    transition:.35s;

}

.why-card:hover .why-icon{

    background:var(--primary);

    color:#fff;

    transform:rotate(8deg) scale(1.08);

}

.why-card h3{

    font-size:1.3rem;

    margin-bottom:14px;

    color:var(--heading);

}

.why-card p{

    line-height:1.9;

    color:var(--text-light);

}

/*================ OFFER ================*/

.offer-banner{

    padding:120px 0;

}

.offer-content{

    background:linear-gradient(135deg,#2A0800,#775144);

    color:#fff;

    border-radius:35px;

    padding:70px;

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:60px;

    align-items:center;

    overflow:hidden;

    position:relative;

}

.offer-content::before{

    content:"";

    position:absolute;

    width:380px;

    height:380px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

    top:-180px;

    left:-120px;

}

.offer-text span{

    color:#FADBD8;

    letter-spacing:2px;

    font-size:.9rem;

}

.offer-text h2{

    font-size:clamp(2rem,4vw,3.4rem);

    margin:20px 0;

    line-height:1.2;

}

.offer-text p{

    color:#f3f3f3;

    line-height:2;

}

.offer-code{

    background:#fff;

    border-radius:24px;

    padding:40px;

    text-align:center;

    color:#2A0800;

}

.offer-code h3{

    font-size:2.4rem;

    margin-bottom:15px;

    color:var(--primary);

    letter-spacing:2px;

}

.offer-code p{

    color:#666;

    margin-bottom:30px;

}

.offer-btn{

    width:100%;

    justify-content:center;

}

/*================ NEWSLETTER ================*/

.newsletter{
    padding:120px 0;

}

.newsletter-box{

    background:var(--card-bg);

    border-radius:35px;

    padding:70px;

    text-align:center;

    box-shadow:0 15px 45px rgba(0,0,0,.08);

}

.newsletter-box span{

    color:var(--primary);

    letter-spacing:2px;

    text-transform:uppercase;

    font-size:.85rem;

}

.newsletter-box h2{

    margin:18px 0;

    font-size:2.8rem;

    color:var(--heading);

}

.newsletter-box p{

    max-width:650px;

    margin:auto;

    margin-bottom:35px;

    color:var(--text-light);

    line-height:2;

}

.newsletter-form{

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}

.newsletter-form input{

    width:450px;

    max-width:100%;

    padding:18px 25px;

    border:none;

    border-radius:999px;

    background:var(--surface-color);

    color:var(--heading);

    outline:none;

    font-size:1rem;

}

.newsletter-form input:focus{

    box-shadow:0 0 0 3px rgba(192,152,145,.25);

}

.newsletter-form button{

    padding:18px 36px;

    border:none;

    border-radius:999px;

    background:var(--primary);

    color:#fff;

    font-weight:600;

    cursor:pointer;

    transition:.35s;

}

.newsletter-form button:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}

/*======================================================
                HOME.CSS | PART 6
        FOOTER + DARK MODE + UTILITIES
======================================================*/

/*================ FOOTER ================*/

.footer{

    background:#1b120f;

    color:#f4f4f4;

    padding:90px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:50px;

    margin-bottom:60px;

}

/*================ ABOUT ================*/

.footer-about img{

    width:70px;

    margin-bottom:20px;

}

.footer-about h3{

    margin-bottom:15px;

    font-size:1.6rem;

}

.footer-about p{

    color:#cfcfcf;

    line-height:2;

}

/*================ TITLES ================*/

.footer-links h4,
.footer-contact h4{

    margin-bottom:20px;

    font-size:1.2rem;

    color:#fff;

}

/*================ LINKS ================*/

.footer-links ul{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.footer-links a{

    color:#cfcfcf;

    transition:.3s;

}

.footer-links a:hover{

    color:var(--secondary);

    padding-right:8px;

}

/*================ CONTACT ================*/

.footer-contact p{

    color:#cfcfcf;

    margin-bottom:12px;

}

/*================ SOCIAL ================*/

.socials{

    display:flex;

    gap:15px;

    margin-top:25px;

}

.socials a{

    width:45px;

    height:45px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.08);

    color:#fff;

    transition:.35s;

}

.socials a:hover{

    background:var(--primary);

    transform:translateY(-5px);

}

/*================ FOOTER BOTTOM ================*/

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

    padding-top:25px;

    text-align:center;

    color:#aaa;

    font-size:.9rem;

}

/*================ DARK MODE ================*/

[data-theme="dark"]{

    --bg-color:#161616;

    --surface-color:#202020;

    --card-bg:#272727;

    --heading:#ffffff;

    --text-color:#ececec;

    --text-light:#bdbdbd;

}

[data-theme="dark"] body{

    background:var(--bg-color);

    color:var(--text-color);

}

[data-theme="dark"] .product-card,
[data-theme="dark"] .category-card,
[data-theme="dark"] .why-card,
[data-theme="dark"] .newsletter-box{

    background:#232323;

}

[data-theme="dark"] .header.scrolled{

    background:rgba(18,18,18,.85);

}

[data-theme="dark"] .newsletter-form input{

    background:#2f2f2f;

    color:#fff;

}

[data-theme="dark"] .offer-code{

    background:#2a2a2a;

    color:#fff;

}

[data-theme="dark"] .offer-code p{

    color:#cfcfcf;

}

[data-theme="dark"] .offer-code h3{

    color:var(--secondary);

}

/*================ SCROLLBAR ================*/

::-webkit-scrollbar{
    width:10px;

}

::-webkit-scrollbar-track{

    background:#ececec;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-dark);

}

[data-theme="dark"] ::-webkit-scrollbar-track{

    background:#1b1b1b;

}

/*================ ANIMATIONS ================*/

.fade-up{

    animation:fadeUp .8s ease forwards;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.scale{

    animation:scale .5s ease;

}

@keyframes scale{

    from{

        transform:scale(.9);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

/*================ UTILITIES ================*/

.text-center{

    text-align:center;

}

.mt-1{

    margin-top:20px;

}

.mt-2{

    margin-top:40px;

}

.mb-1{

    margin-bottom:20px;

}

.mb-2{

    margin-bottom:40px;

}

/* حالت عادی دکمه تم */
.theme-toggle-btn .sun-icon{
    display:none;
}

.theme-toggle-btn .moon-icon{
    display:block;
    color:#222;
}

/* حالت دارک دکمه تم */
html[data-theme="dark"] .moon-icon{
    display:none;
}

html[data-theme="dark"] .sun-icon{
    display:block;
    color:#fff;
}

/* حالت روشن دکمه تم */
.moon-icon{
    display:block;
    color:#222;
}

.sun-icon{
    display:none;
}

.theme-toggle-btn{
    width:48px;
    height:48px;
    border-radius:50%;
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    background:#C09891;
    transition:.3s;
}

html[data-theme="dark"] .theme-toggle-btn{
    background:#333;
}


/*======================================================
             UNIFIED RESPONSIVE DESIGN (TABLET & MOBILE)
======================================================*/

/*================ TABLET (max-width: 991px) ================*/
@media(max-width: 991px) {

    .section {
        padding: 80px 0;
    }

    /* NAVIGATION & HEADER */
    .mobile-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-color);
        box-shadow: 10px 0 30px rgba(0,0,0,.15);
        transition: .35s;
        padding: 100px 40px;
        z-index: 9999;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .main-nav a {
        font-size: 1.15rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* GRID LAYOUTS FOR TABLET */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-content {
        text-align: center;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .offer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/*================ MOBILE (max-width: 768px) ================*/
@media(max-width: 768px) {

    .section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 45px;
    }

    /* HEADER & HERO MOBILE */
    .header {
        padding: 12px 0;
    }

    .logo span {
        display: none;
    }

    .header-btn {
        width: 44px;
        height: 44px;
    }

    .hero {
        position:relative;

        width:100%;

        height:85vh;
 
        overflow:hidden;
      
    }

    .hero-content {
        right: 50%;
        transform: translate(50%, -50%);
        width: 90%;
        max-width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 15px;
    }
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .hero-btn {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    .slider-btn {
        width: 42px;
        height: 42px;
    }

    .prev {
        right: 15px;
    }

    .next {
        left: 15px;
    }

    .slider-dots {
        bottom: 20px;
    }

    /* MOBILE HERO SLIDER SECTION */
    .hero-slider-section {
        height: 65vh;
        min-height: 520px;
    }

    .slider-container,
    .slide,
    .slide-bg {
        height: 100%;
    }

    .slide-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .slide-content {
        width: 90%;
        max-width: 100%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        padding: 0 20px;
    }

    .slide-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .slide-description {
        font-size: 1rem;
        line-height: 1.9;
    }

    .btn-primary {
        padding: 14px 28px;
        font-size: .95rem;
    }

    /* GRID LAYOUTS FOR MOBILE */
    .categories-grid,
    .products-grid,
    .why-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .category-image {
        height: 220px;
    }

    .about-home {
        padding-top: 60px;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .product-image {
        height: 280px;
    }

    .product-content {
        padding: 22px;
    }

    .product-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .details-btn {
        width: 100%;
        justify-content: center;
        display: flex;
    }

    .offer-content {
        padding: 40px 20px;
    }

    .offer-code {
        padding: 30px 20px;
    }

    .newsletter-box {
        padding: 40px 20px;
    }

    .newsletter-box h2 {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .footer {
        padding: 60px 0 25px;
    }

    .footer-grid {
        text-align: center;
    }

    .socials {
        justify-content: center;
    }
}
