/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

/* BODY */
body{
background:#f4f8fb;
color:#333;
}

/* HEADER */
header{
background:white;
border-bottom:2px solid #e5e5e5;
}

.header{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 20px;
}

.logo img{
height:45px;
}

/* NAVIGATION */
nav a{
text-decoration:none;
color:#0077cc;
margin-left:25px;
font-weight:600;
transition:0.3s;
}

nav a:hover{
color:#00a86b;
}

nav a.active{
color:#00a86b;
border-bottom:2px solid #00a86b;
padding-bottom:4px;
}

/* PAGE TITLE */
.products-page{
max-width:1200px;
margin:auto;
padding:40px 20px;
}

.products-page h1{
text-align:center;
margin-bottom:40px;
color:#0077cc;
}

/* PRODUCT GRID */
.product-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

/* PRODUCT CARD */
.product-card{
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
text-align:center;
transition:0.3s;
}

.product-card:hover{
transform:translateY(-5px);
box-shadow:0 6px 18px rgba(0,0,0,0.15);
}

/* IMAGE */
.product-card img{
width:100%;
height:180px;
object-fit:contain;
margin-bottom:15px;
}

/* TITLE */
.product-card h3{
font-size:18px;
margin-bottom:8px;
color:#222;
}

/* DESCRIPTION */
.product-card p{
font-size:14px;
margin-bottom:8px;
}

/* PRICE */
.price{
font-size:18px;
font-weight:bold;
color:#00a86b;
margin-bottom:15px;
}

/* BUTTONS */
.product-card button{
border:none;
padding:10px 15px;
border-radius:6px;
cursor:pointer;
font-weight:600;
margin:5px;
transition:0.3s;
}

/* ADD TO CART */
.product-card button:first-of-type{
background:#0077cc;
color:white;
}

.product-card button:first-of-type:hover{
background:#005fa3;
}

/* DETAILS BUTTON */
.product-card .details{
background:#00a86b;
color:white;
}

.product-card .details:hover{
background:#008c58;
}

/* FOOTER */
footer{
text-align:center;
padding:20px;
margin-top:40px;
background:white;
border-top:1px solid #ddd;
color:#555;
}

/* MOBILE */
@media(max-width:768px){

.header{
flex-direction:column;
gap:10px;
}

nav a{
margin:0 10px;
}

.product-card img{
height:150px;
}

}