/* CATEGORY SECTION */

.category-scroll{
display:flex;
overflow-x:auto;
gap:12px;
padding:10px 5px;
scroll-behavior:smooth;
}

.category-scroll::-webkit-scrollbar{
display:none;
}

.category-item{
text-decoration:none;
flex:0 0 auto;
width:110px;
}

.category-card{
background:#fff;
border-radius:16px;
padding:10px;
text-align:center;
box-shadow:0 3px 12px rgba(0,0,0,0.08);
border:1px solid #f1f1f1;
transition:0.3s;
}

.category-card:hover{
transform:translateY(-4px);
box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.category-image{
width:80px;
height:80px;
object-fit:cover;
border-radius:50%;
margin:auto;
display:block;
border:3px solid #f5f5f5;
background:#fff;
padding:3px;
}

.category-text{
margin-top:8px;
font-size:13px;
font-weight:600;
color:#333;
line-height:18px;
height:36px;
overflow:hidden;
}

/* MOBILE */

@media(max-width:576px){

.category-item{
width:95px;
}

.category-card{
padding:8px;
border-radius:12px;
}

.category-image{
width:65px;
height:65px;
}

.category-text{
font-size:11px;
line-height:15px;
height:30px;
}

}

/* PRODUCT CARD */

.item{
background:#fff;
border-radius:18px;
overflow:hidden;
border:1px solid #f1f1f1;
box-shadow:0 4px 15px rgba(0,0,0,0.06);
transition:0.3s;
height:100%;
padding:8px;
}

.item:hover{
transform:translateY(-4px);
box-shadow:0 8px 25px rgba(0,0,0,0.15);
}

.thumb{
overflow:hidden;
border-radius:14px;
position:relative;
}

.product-img{
width:100%;
height:240px;
object-fit:cover;
border-radius:14px;
transition:0.4s;
background:#f7f7f7;
}

.product-img:hover{
transform:scale(1.05);
}

.down-content{
padding:10px 5px;
text-align:center;
}

.down-content h4{
font-size:15px;
font-weight:600;
line-height:22px;
height:45px;
overflow:hidden;
margin-bottom:5px;
}

.product-feature{
font-size:12px;
color:#666;
display:block;
height:35px;
overflow:hidden;
margin-bottom:6px;
}

.price-box{
margin-top:5px;
margin-bottom:10px;
}

.old-price{
font-size:13px;
color:#999;
text-decoration:line-through;
margin-right:5px;
}

.new-price{
font-size:18px;
font-weight:700;
color:#ff6600;
}

.add-btn{
display:block;
width:100%;
background:linear-gradient(45deg,#ff6600,#ff8533);
color:#fff;
padding:10px;
border-radius:12px;
text-decoration:none;
font-size:14px;
font-weight:600;
transition:0.3s;
}

.add-btn:hover{
background:#000;
color:#fff;
text-decoration:none;
}


/* MYSQL ADS BANNER */

.offer-banner{
position:relative;
width:100%;
height:260px;
border-radius:20px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
animation:zoomIn 1s ease;
}

.offer-bg{
width:100%;
height:100%;
object-fit:cover;
transition:0.5s;
}

.offer-banner:hover .offer-bg{
transform:scale(1.08);
}

.offer-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
opacity:0.92;
animation:gradientMove 8s ease infinite;
background-size:400% 400%;
}

.offer-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
width:100%;
padding:20px;
text-align:center;
color:#fff;
z-index:2;
}

.offer-content h2{
font-size:40px;
font-weight:800;
margin-bottom:10px;
text-shadow:0 3px 10px rgba(0,0,0,0.4);
}

.offer-content h3{
font-size:24px;
font-weight:600;
margin-bottom:10px;
}

.offer-content p{
font-size:18px;
margin-bottom:20px;
}

.shop-btn{
display:inline-block;
padding:12px 28px;
background:#ff6600;
color:#fff;
font-weight:bold;
border-radius:50px;
text-decoration:none;
transition:0.3s;
}

.shop-btn:hover{
background:#fff;
color:#000;
text-decoration:none;
transform:scale(1.05);
}

/* RANDOM ATTRACTIVE GRADIENTS */

.gradient1{
background:linear-gradient(-45deg,#ff512f,#dd2476,#ff9966,#ff5e62);
}

.gradient2{
background:linear-gradient(-45deg,#11998e,#38ef7d,#0575e6,#00f260);
}

.gradient3{
background:linear-gradient(-45deg,#fc466b,#3f5efb,#6a11cb,#2575fc);
}

.gradient4{
background:linear-gradient(-45deg,#f7971e,#ffd200,#ff6a00,#ee0979);
}

.gradient5{
background:linear-gradient(-45deg,#00c6ff,#0072ff,#7f00ff,#e100ff);
}

.gradient6{
background:linear-gradient(-45deg,#ff0844,#ffb199,#ff4b2b,#ff416c);
}

.gradient7{
background:linear-gradient(-45deg,#43cea2,#185a9d,#00c9ff,#92fe9d);
}

.gradient8{
background:linear-gradient(-45deg,#f953c6,#b91d73,#8E2DE2,#4A00E0);
}

.gradient9{
background:linear-gradient(-45deg,#ff9a9e,#fad0c4,#fbc2eb,#a18cd1);
}

.gradient10{
background:linear-gradient(-45deg,#ff6a00,#ee0979,#ff512f,#dd2476);
}


/* GRADIENT ANIMATION */

@keyframes gradientMove{

0%{
background-position:0% 50%;
}

50%{
background-position:100% 50%;
}

100%{
background-position:0% 50%;
}

}

/* ANIMATION */

@keyframes zoomIn{

0%{
opacity:0;
transform:scale(0.9);
}

100%{
opacity:1;
transform:scale(1);
}

}


/* MOBILE */

@media(max-width:576px){

.product-img{
height:160px;
}

.down-content h4{
font-size:13px;
line-height:18px;
height:38px;
}

.offer-banner{
height:180px;
border-radius:14px;
}

.offer-content h2{
font-size:24px;
}

.offer-content h3{
font-size:15px;
}

.offer-content p{
font-size:12px;
}

.shop-btn{
padding:8px 18px;
font-size:12px;
}

}