/*==================================================
RECENTLY VIEWED
==================================================*/

.recent-strip{
    display:flex;
    gap:18px;
    overflow-x:auto;
    padding:10px 5px 25px;
    margin:0 25px 30px;
    scrollbar-width:none;
}

.recent-strip::-webkit-scrollbar{
    display:none;
}

.recent-item{
    min-width:90px;
    text-decoration:none;
    text-align:center;
    transition:.25s;
}

.recent-item:hover{
    transform:translateY(-5px);
}

.recent-image{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
    background:#fff;
    padding:6px;
    border:2px solid #f1f1f1;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.recent-item:hover .recent-image{
    border-color:#ff6b00;
}

.recent-name{
    display:block;
    margin-top:8px;
    font-size:11px;
    font-weight:600;
    color:#444;
}

/*==================================================
HERO CAROUSEL
==================================================*/

.hero-carousel{
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 12px 35px rgba(0,0,0,.15);
    margin-bottom:50px;
}

.hero-slide{
    width:100%;
    height:520px;
    object-fit:cover;
    animation:heroZoom 6s linear infinite alternate;
}

.hero-carousel .carousel-item{
    overflow:hidden;
}

@keyframes heroZoom{
    from{
        transform:scale(1);
    }
    to{
        transform:scale(1.08);
    }
}

/*==================================================
CATEGORY GRID
==================================================*/

.category-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-bottom:80px;
}

.category-box{
    height:220px;
    border-radius:25px;
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    font-size:80px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.category-box:hover{
    transform:translateY(-10px) scale(1.03);
    box-shadow:0 20px 40px rgba(0,0,0,.20);
}

.category-box span{
    font-size:26px;
    font-weight:700;
    margin-top:12px;
}

.category-box,
.category-box:hover,
.category-box:focus,
.category-box:visited{
    color:#fff;
    text-decoration:none;
}

.category-box span{
    color:#fff;
}

.flowerpots .category-icon{
    width:140px;
    height:140px;
    margin-bottom:0;
}

.flowerpots span{
    transform:translateY(-8px);
}
.kids .category-icon{
    width:140px;
    height:140px;
    margin-top:-15px;
    margin-bottom:-10px;
}

.garlands .category-icon{
    width:140px;
    height:140px;
    margin-top:-15px;
    margin-bottom:-10px;
}

.bombs{
    background:linear-gradient(135deg,#ff512f,#dd2476);
}

.lakshmi{
    background:linear-gradient(135deg,#ff6a00,#ee0979);
}

.bijili{
    background:linear-gradient(135deg,#00b09b,#96c93d);
}

.rockets{
    background:linear-gradient(135deg,#2193b0,#6dd5ed);
}

.sparklers{
    background:linear-gradient(135deg,#f7971e,#ffd200);
}

.gift{
    background:linear-gradient(135deg,#8e2de2,#4a00e0);
}

.flowerpots{
    background:linear-gradient(135deg,#ff9966,#ff5e62);
}

.chakkars{
    background:linear-gradient(135deg,#11998e,#38ef7d);
}

.fancy{
    background:linear-gradient(135deg,#00c6ff,#0072ff);
}

.kids{
    background:linear-gradient(135deg,#f953c6,#b91d73);
}

.garlands{
    background:linear-gradient(135deg,#ff8008,#ffc837);
}


/*==================================================
WHY CHOOSE
==================================================*/

.why-grid{
    width:96%;
    max-width:1400px;
    margin:0 auto 70px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.why-card{
    background:#fff;
    border-radius:22px;
    padding:30px 20px;
    text-align:center;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.why-card:hover{
    transform:translateY(-8px);
}

.why-card .icon{
    font-size:52px;
    margin-bottom:18px;
}

.why-card h4{
    font-weight:700;
    color:#17326f;
}

/*==================================================
HOME Tablet
==================================================*/

@media(max-width:992px){

    .category-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .why-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/*==================================================
HOME MOBILE
==================================================*/

@media(max-width:768px){

    .hero-slide{
        height:180px;
    }

    .category-grid{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:12px;
        padding:0 10px;
    }


    .category-box{
        height:170px;
        padding:15px;
    }

    .category-icon{
        width:60px;
        height:60px;
        font-size:48px;
        margin-bottom:12px;
    }

    .category-icon img,
    img.category-icon{
        width:60px;
        height:60px;
        object-fit:contain;
    }

    .category-box span{
        font-size:18px;
        margin:0;
        line-height:1.2;
        text-align:center;
    }

    
    .why-grid{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:14px;
        padding:0 10px;
    }

    .why-card{
        height:170px;
        padding:20px 15px;

        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;

        border-radius:20px;
    }

    .why-card .icon{
        font-size:48px;
        margin-bottom:12px;
    }

    .why-card h4{
        font-size:20px;
        line-height:1.2;
        text-align:center;
        margin:0;
    }

    .recent-image{
        width:60px;
        height:60px;
    }
}