body{
font-family: 'Segoe UI', Arial, sans-serif;
background:#f5f7fa;
margin:0;
color:#333;
}

/* HEADER */

header{
background:#005AA2;
padding:15px 40px;
display:flex;
justify-content:space-between;
align-items:center;
color:white;
}

header h2{
margin:0;
}

header a{
color:white;
text-decoration:none;
margin-left:20px;
font-weight:600;
}

/* CONTAINER */

.container{
width:1200px;
max-width:95%;
margin:auto;
}

/* SEARCH BAR */

.search-bar{
margin-top:20px;
display:flex;
}

.search-bar input{
flex:1;
padding:12px;
border:1px solid #ddd;
border-radius:5px 0 0 5px;
}

.search-bar button{
padding:12px 20px;
background:#005AA2;
border:none;
color:white;
border-radius:0 5px 5px 0;
}

/* SLIDER */

.slider{
margin-top:20px;
overflow:hidden;
border-radius:10px;
}

.slider img{
width:100%;
height:250px;
object-fit:cover;
}

/* LAYOUT */

.layout{
display:flex;
gap:20px;
margin-top:20px;
}

/* SIDEBAR */

.sidebar{
width:230px;
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.sidebar h3{
margin-top:0;
}

.sidebar ul{
list-style:none;
padding:0;
}

.sidebar li{
margin-bottom:10px;
}

.sidebar a{
text-decoration:none;
color:#333;
}

/* PRODUCTS GRID */

.products{
flex:1;
display:grid;
grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
gap:20px;
}

/* PRODUCT CARD */

.card{
background:white;
border-radius:10px;
box-shadow:0 2px 8px rgba(0,0,0,0.1);
overflow:hidden;
transition:0.2s;
}

.card:hover{
transform:translateY(-3px);
}

.card img{
width:100%;
height:200px;
object-fit:cover;
}

.card .info{
padding:15px;
}

.price{
font-size:18px;
font-weight:bold;
color:#27ae60;
}

.location{
color:#777;
font-size:13px;
}

.featured{
position:absolute;
background:#e74c3c;
color:white;
padding:5px 10px;
font-size:12px;
}

/* WHATSAPP BUTTON */

.whatsapp{
display:block;
background:#25D366;
color:white;
text-align:center;
padding:10px;
margin-top:10px;
border-radius:5px;
text-decoration:none;
}

/* DASHBOARD */

.dashboard{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
margin-top:30px;
}

.stat{
background:white;
padding:30px;
border-radius:10px;
text-align:center;
box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.stat h2{
margin:0;
}

/* LOGIN PAGE */

.login{
width:350px;
background:white;
margin:120px auto;
padding:30px;
border-radius:10px;
box-shadow:0 3px 12px rgba(0,0,0,0.2);
}

.login input{
width:100%;
padding:12px;
margin-bottom:10px;
border:1px solid #ddd;
border-radius:5px;
}

.login button{
width:100%;
padding:12px;
background:#005AA2;
border:none;
color:white;
border-radius:5px;
}

/* FOOTER */

footer{
margin-top:40px;
background:#005AA2;
color:white;
padding:30px;
text-align:center;
}

/* MOBILE */

@media(max-width:900px){

.layout{
flex-direction:column;
}

.sidebar{
width:100%;
}

}