*{
margin:0;
padding:0;
box-sizing:border-box;
}


body{
font-family:'Vazirmatn',Tahoma,sans-serif;
background:#f6f8fc;
color:#172033;
line-height:1.7;
}



.container{
max-width:1400px;
margin:auto;
padding:0 25px;
}



/* HEADER */

.main-header{
background:white;
position:sticky;
top:0;
z-index:1000;
box-shadow:0 5px 25px rgba(0,0,0,.08);
}



.top-header{
height:90px;
display:flex;
align-items:center;
justify-content:space-between;
gap:25px;
}



.logo img{
height:65px;
}



.search-area{
flex:1;
max-width:650px;
display:flex;
background:#f1f3f7;
border-radius:50px;
overflow:hidden;
}



.search-area input{
flex:1;
border:none;
background:none;
padding:18px 25px;
font-family:inherit;
outline:none;
}



.search-area button{
width:70px;
border:none;
background:#ff6b00;
color:white;
font-size:20px;
}



.header-actions{
display:flex;
gap:15px;
align-items:center;
}



.header-actions div{
background:#f4f5f8;
padding:12px 18px;
border-radius:30px;
cursor:pointer;
}



.cart{
background:#ff6b00!important;
color:white;
}





.category-bar{
border-top:1px solid #eee;
}



.category-bar .container{
display:flex;
gap:30px;
height:55px;
align-items:center;
}



.category-bar a{
cursor:pointer;
font-weight:600;
}





/* HERO */


.hero-modern{
min-height:600px;
margin:25px;
border-radius:35px;
overflow:hidden;

background:
linear-gradient(90deg,#101828,#10182899),
url("poster.jpg")
center/cover;


display:flex;
align-items:center;
justify-content:space-around;
color:white;
padding:50px;
}



.hero-content{
max-width:600px;
}



.badge{
background:#ff6b00;
padding:8px 20px;
border-radius:50px;
}



.hero-content h1{
font-size:55px;
font-weight:900;
margin:25px 0 10px;
}



.hero-content h2{
font-size:30px;
}



.hero-content p{
font-size:20px;
margin:20px 0;
}



.hero-buttons{
display:flex;
gap:15px;
}



.primary-btn,
.secondary-btn{
padding:15px 35px;
border-radius:50px;
text-decoration:none;
font-weight:bold;
}



.primary-btn{
background:#ff6b00;
color:white;
}



.secondary-btn{
border:1px solid white;
color:white;
}



.hero-product img{
max-width:450px;
filter:drop-shadow(0 30px 30px #000);
}





/* TITLE */


.title{
text-align:center;
font-size:35px;
margin:70px 0 35px;
}



.title:after{
content:"";
display:block;
width:90px;
height:4px;
background:#ff6b00;
margin:15px auto;
border-radius:20px;
}





/* BRANDS */


.brands{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
}



.brand{
background:white;
width:190px;
height:120px;
border-radius:25px;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 15px 30px #0000000d;
transition:.3s;
}



.brand:hover{
transform:translateY(-10px);
}



.brand img{
max-width:120px;
max-height:70px;
}





/* PRODUCTS */


.products{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
gap:25px;
}



.product-card{

background:white;
border-radius:30px;
padding:20px;

box-shadow:0 15px 35px #00000010;

transition:.3s;

position:relative;

}



.product-card:hover{
transform:translateY(-8px);
}



.product-card img{
width:100%;
height:200px;
object-fit:contain;
}



.discount{
position:absolute;
top:15px;
right:15px;

background:#ff3b30;
color:white;

padding:5px 12px;
border-radius:20px;
}



.rating{
color:#ffb000;
}



.price{
color:#ff6b00;
font-size:22px;
font-weight:bold;
}



.product-card button{
width:100%;
margin-top:15px;
padding:12px;
border:none;
border-radius:30px;
background:#ff6b00;
color:white;
cursor:pointer;
font-family:inherit;
}







/* CATEGORIES */


.categories{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}



.categories div{

background:white;
height:170px;

border-radius:30px;

display:flex;
flex-direction:column;
align-items:center;
justify-content:center;

font-size:25px;

box-shadow:0 15px 30px #0001;

}



.categories i{
color:#ff6b00;
font-size:50px;
}





/* FEATURES */


.features{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-top:80px;
}



.features div{

background:white;
padding:30px;

text-align:center;

border-radius:30px;

}



.features i{
font-size:40px;
color:#ff6b00;
}





/* WHOLESALE */


.wholesale{
background:white;
margin-top:80px;
padding:50px;
border-radius:35px;
}



.wholesale input,
.wholesale textarea{

width:100%;
padding:15px;
margin:10px 0;

border-radius:20px;
border:1px solid #ddd;

font-family:inherit;

}



.wholesale button{

background:#ff6b00;
color:white;

border:none;

padding:15px;

width:100%;

border-radius:30px;

}





/* FLOAT */


.floating-cart{

position:fixed;

bottom:25px;
left:25px;

background:#ff6b00;

color:white;

padding:18px 25px;

border-radius:50px;

box-shadow:0 15px 30px #0003;

z-index:999;

}





footer{

margin-top:80px;

background:#101828;

color:white;

text-align:center;

padding:50px;

}





/* MOBILE */


@media(max-width:768px){


.top-header{
flex-wrap:wrap;
height:auto;
padding:15px;
}



.search-area{
order:3;
width:100%;
}



.category-bar .container{

overflow:auto;
gap:20px;

}



.hero-modern{

margin:10px;

flex-direction:column;

text-align:center;

}



.hero-content h1{
font-size:38px;
}



.hero-product img{
width:280px;
}



.categories,
.features{

grid-template-columns:repeat(2,1fr);

}



.header-actions div:not(.cart){
display:none;
}


}



@media(max-width:450px){

.categories,
.features{

grid-template-columns:1fr;

}

}