*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

/* NAVBAR */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 8%;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
    flex-wrap:wrap;
}

.logo{
    font-size:28px;
    font-weight:bold;
    color:#0d6efd;
}

.logo span{
    color:#ff9800;
}

.search-box{
    display:flex;
    width:40%;
}

.search-box input{
    width:100%;
    padding:10px;
    border:2px solid #0d6efd;
    border-right:none;
    outline:none;
}

.search-box button{
    padding:10px 20px;
    border:none;
    background:#0d6efd;
    color:white;
    cursor:pointer;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:20px;
}

.nav-links a{
    text-decoration:none;
    color:#333;
    font-weight:500;
}

.nav-links a:hover{
    color:#0d6efd;
}
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,sans-serif;
}

body{
background:#f5f5f5;
}

/* Header */

.header{
background:#4c1d95;
padding:15px;
position:sticky;
top:0;
z-index:100;
}

.search-box{
display:flex;
align-items:center;
gap:10px;
}

.back-btn{
width:45px;
height:45px;
border:none;
border-radius:50%;
cursor:pointer;
font-size:20px;
background:white;
}

.search-box input{
flex:1;
padding:14px;
border:none;
border-radius:30px;
outline:none;
font-size:16px;
}

.search-btn{
padding:14px 20px;
border:none;
border-radius:30px;
background:#f97316;
color:white;
font-weight:bold;
cursor:pointer;
}

/* Filters */

.filters{
display:flex;
gap:10px;
overflow-x:auto;
padding:15px;
background:white;
}

.filters button{
border:none;
background:#ede9fe;
color:#4c1d95;
padding:10px 16px;
border-radius:20px;
font-weight:bold;
white-space:nowrap;
}

/* Products */

.products{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:15px;
padding:15px;
}

.card{
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.image{
position:relative;
}

.image img{
width:100%;
height:220px;
object-fit:cover;
}

.heart{
position:absolute;
top:10px;
right:10px;
background:white;
width:35px;
height:35px;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
cursor:pointer;
font-size:18px;
}

.info{
padding:12px;
}

.title{
font-size:15px;
font-weight:600;
height:40px;
overflow:hidden;
}

.rating{
color:#16a34a;
margin:8px 0;
}

.price{
margin-top:5px;
font-size:20px;
font-weight:bold;
color:#16a34a;
}

.old{
text-decoration:line-through;
color:gray;
font-size:14px;
margin-left:6px;
}

.site{
color:#2563eb;
font-size:14px;
margin-top:8px;
font-weight:bold;
}

.save{
color:#16a34a;
font-weight:bold;
margin-top:4px;
}

.btn{
width:100%;
padding:10px;
margin-top:12px;
border:none;
border-radius:8px;
background:#f97316;
color:white;
font-weight:bold;
cursor:pointer;
}

/* Responsive */

@media(max-width:600px){

.search-btn{
padding:12px;
font-size:14px;
}

.products{
grid-template-columns:repeat(2,1fr);
}

.image img{
height:170px;
}

}




/* FOOTER */
.footer{
    background:#111827;
    color:white;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    padding:50px 8%;
}

.footer-box h3{
    margin-bottom:15px;
    position:relative;
}

.footer-box h3::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-8px;
    width:50px;
    height:3px;
    background:#ff9800;
}

.footer-box p{
    color:#cbd5e1;
    line-height:1.6;
}

.footer-box a{
    display:block;
    color:#cbd5e1;
    text-decoration:none;
    margin:10px 0;
}

.footer-box a:hover{
    color:#ff9800;
    padding-left:5px;
}

.copyright{
    text-align:center;
    padding:20px;
    border-top:1px solid rgba(255,255,255,.1);
}

/* Responsive */
@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .search-box{
        width:100%;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
    }
}