/* =========================================================
   HERO SLIDER - REPLACE OLD HERO SECTION
========================================================= */

.premium-hero-slider{
    position: relative;
    width: calc(100% - 48px);
    height: 700px;
    margin: 28px auto 0;
    overflow: hidden;
    background: #0f172a;
    border-radius: 30px;
}

.premium-hero-slide{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity .6s ease, visibility .6s ease;
}

.premium-hero-slide.active{
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.premium-hero-overlay{
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(2,6,23,.78) 0%,
        rgba(2,6,23,.50) 45%,
        rgba(2,6,23,.10) 100%
    );
}

.premium-hero-slide .container{
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.premium-hero-content{
    position: relative;
    z-index: 4;
    max-width: 560px;
    color: #fff;
}

.premium-hero-badge{
    display: inline-flex;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 18px;
}

.premium-hero-content h1{
    color: #fff;
    font-size: 52px;
    line-height: 1.05;
    font-weight: 950;
    margin-bottom: 16px;
}

.premium-hero-content p{
    color: rgba(255,255,255,.9);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.premium-hero-actions{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.premium-hero-btn{
    min-height: 50px;
    padding: 0 24px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
}

.premium-hero-btn.primary{
    background: #2563eb;
    color: #fff;
}

.premium-hero-btn.secondary{
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.24);
    color: #fff;
}

.premium-slider-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.premium-slider-arrow.prev{
    left: 18px;
}

.premium-slider-arrow.next{
    right: 18px;
}

.premium-slider-dots{
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 9px;
}

.premium-slider-dots button{
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.45);
}

.premium-slider-dots button.active{
    width: 32px;
    background: #fff;
}

@media(max-width: 768px){
    .premium-hero-slider{
        width: calc(100% - 24px);
        height: 420px;
        border-radius: 22px;
    }

    .premium-hero-content h1{
        font-size: 34px;
    }

    .premium-slider-arrow{
        display: none;
    }
}

/* =========================================================
   HOME SECTION HEAD
========================================================= */

.home-section{
    padding: 80px 0;
}

.home-soft-bg{
    background: #f8fafc;
}

.home-section-head{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.home-section-head span{
    display: inline-block;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .45px;
    margin-bottom: 6px;
}

.home-section-head h2{
    color: #0f172a;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 950;
    margin-bottom: 10px;
}

.home-section-head p{
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.home-section-head a{
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
}

/* =========================================================
   CATEGORY GRID
========================================================= */

.home-category-grid{
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 22px;
}

.home-category-card{
    position: relative;
    display: block;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
}

.home-category-card::after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15,23,42,.04) 0%,
        rgba(15,23,42,.72) 100%
    );
}

.home-category-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s ease;
}

.home-category-card:hover img{
    transform: scale(1.08);
}

.home-category-card div{
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 3;
}

.home-category-card h3{
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 6px;
}

.home-category-card span{
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 700;
}

/* =========================================================
   PRODUCT GRID
========================================================= */

.home-product-grid{
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 22px;
}

.home-product-card{
    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 24px;
    overflow: hidden;
    transition: .28s ease;
}

.home-product-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(15,23,42,.08);
}

.home-product-image{
    position: relative;
    display: block;
    height: 260px;
    background: #f8fafc;
    overflow: hidden;
}

.home-product-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: .6s ease;
}

.home-product-card:hover .home-product-image img{
    transform: scale(1.06);
}

.home-sale-badge{
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 4;
    padding: 7px 12px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

.home-product-info{
    padding: 20px;
}

.home-product-info span{
    display: inline-block;
    color: #2563eb;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.home-product-info h3{
    margin-bottom: 14px;
}

.home-product-info h3 a{
    color: #0f172a;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 900;
    text-decoration: none;
}

.home-product-price{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-product-price small{
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 12px;
}

.home-product-price strong{
    color: #111827;
    font-size: 22px;
    font-weight: 950;
}

/* =========================================================
   PROMO BANNERS
========================================================= */

.home-promo-grid{
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px;
}

.home-promo-card{
    position: relative;
    display: block;
    height: 360px;
    border-radius: 26px;
    overflow: hidden;
    text-decoration: none;
}

.home-promo-card::after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15,23,42,.08) 0%,
        rgba(15,23,42,.82) 100%
    );
}

.home-promo-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s ease;
}

.home-promo-card:hover img{
    transform: scale(1.06);
}

.home-promo-card div{
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 3;
}

.home-promo-card span{
    display: inline-block;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.home-promo-card h3{
    color: #ffffff;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 950;
    margin-bottom: 10px;
}

.home-promo-card p{
    color: rgba(255,255,255,.86);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
/* =========================================================
   TRUST SECTION
========================================================= */

.home-trust-section{
    padding: 90px 0;
    background: #0f172a;
}

.home-trust-grid{
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 22px;
}

.home-trust-grid div{
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: 34px 26px;
    text-align: center;
    transition: .25s ease;
}

.home-trust-grid div:hover{
    transform: translateY(-4px);
    border-color: rgba(96,165,250,.3);
}

.home-trust-grid i{
    color: #60a5fa;
    font-size: 40px;
    margin-bottom: 18px;
}

.home-trust-grid h3{
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
}

.home-trust-grid p{
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* =========================================================
   NEWSLETTER CTA
========================================================= */

.home-newsletter{
    padding: 90px 0;
    background: linear-gradient(
        135deg,
        #2563eb 0%,
        #1d4ed8 100%
    );
}

.home-newsletter-box{
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.home-newsletter-box h2{
    font-size: 48px;
    line-height: 1.1;
    font-weight: 950;
    margin-bottom: 18px;
}

.home-newsletter-box p{
    max-width: 640px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255,255,255,.88);
}

.home-newsletter-form{
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 620px;
    margin: 0 auto;
}

.home-newsletter-form input{
    flex: 1;
    height: 58px;
    border: 0;
    border-radius: 16px;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 600;
}

.home-newsletter-form input:focus{
    outline: none;
}

.home-newsletter-form button{
    min-width: 170px;
    height: 58px;
    border: 0;
    border-radius: 16px;
    background: #0f172a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: .25s ease;
}

.home-newsletter-form button:hover{
    background: #020617;
}

/* =========================================================
   GLOBAL ANIMATIONS
========================================================= */

.home-product-card,
.home-category-card,
.home-promo-card,
.home-trust-grid div{
    will-change: transform;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 1200px){

    .home-category-grid,
    .home-product-grid{
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .home-trust-grid{
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width: 992px){

    .home-category-grid,
    .home-product-grid,
    .home-promo-grid{
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .home-newsletter-box h2{
        font-size: 40px;
    }
}

@media(max-width: 768px){

    .home-section{
        padding: 60px 0;
    }

    .home-section-head{
        flex-direction: column;
        align-items: flex-start;
    }

    .home-section-head h2{
        font-size: 32px;
    }

    .home-newsletter{
        padding: 70px 0;
    }

    .home-newsletter-box h2{
        font-size: 34px;
    }

    .home-newsletter-form{
        flex-direction: column;
    }

    .home-newsletter-form input,
    .home-newsletter-form button{
        width: 100%;
    }
}

@media(max-width: 576px){

    .home-category-grid,
    .home-product-grid,
    .home-promo-grid,
    .home-trust-grid{
        grid-template-columns: 1fr;
    }

    .home-category-card{
        height: 260px;
    }

    .home-promo-card{
        height: 280px;
    }

    .home-promo-card h3{
        font-size: 28px;
    }

    .home-newsletter-box h2{
        font-size: 28px;
    }

    .home-newsletter-box p{
        font-size: 14px;
    }
}