/* =========================
KALIVARA GLOBAL STYLES
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial, Helvetica, sans-serif;
background:#ffffff;
color:#111111;
line-height:1.5;
}

a{
text-decoration:none;
color:inherit;
}

img{
max-width:100%;
display:block;
}

/* =========================
HEADER
========================= */

.header{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 50px;
border-bottom:1px solid #eee;
background:#fff;
position:sticky;
top:0;
z-index:1000;
}

.logo{
font-size:28px;
font-weight:700;
letter-spacing:2px;
}

nav{
display:flex;
gap:25px;
}

nav a{
font-size:15px;
font-weight:600;
transition:.3s;
}

nav a:hover{
opacity:.7;
}

/* =========================
CONTAINER
========================= */

.container{
max-width:1400px;
margin:auto;
padding:20px;
}

/* =========================
BUTTONS
========================= */

button,
.btn{
background:#111;
color:#fff;
border:none;
padding:12px 24px;
cursor:pointer;
border-radius:6px;
transition:.3s;
}

button:hover,
.btn:hover{
opacity:.9;
}

/* =========================
PRODUCT GRID
========================= */

.product-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
margin-top:25px;
}

.product-card{
border:1px solid #eee;
border-radius:10px;
overflow:hidden;
background:#fff;
transition:.3s;
}

.product-card:hover{
transform:translateY(-5px);
}

.product-card img{
width:100%;
height:320px;
object-fit:cover;
}

.product-card h3{
padding:10px 15px;
font-size:18px;
}

.product-card p{
padding:0 15px 15px;
font-weight:bold;
}

.product-card button{
margin:0 15px 15px;
width:calc(100% - 30px);
}

/* =========================
CATEGORY GRID
========================= */

.category-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-top:25px;
}

.card{
background:#f5f5f5;
border-radius:10px;
padding:50px 20px;
text-align:center;
font-weight:bold;
}

/* =========================
PRODUCT PAGE
========================= */

.product-page{
max-width:1200px;
margin:40px auto;
padding:20px;
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

.product-info h1{
font-size:34px;
margin-bottom:15px;
}

.product-info h2{
margin-bottom:15px;
}

.product-info p{
margin-bottom:20px;
}

/* =========================
CART
========================= */

.cart-item{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 0;
border-bottom:1px solid #eee;
}

/* =========================
FORMS
========================= */

input,
textarea,
select{
width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:6px;
font-size:14px;
}

.form-group{
margin-bottom:15px;
}

/* =========================
ACCOUNT
========================= */

.account-container{
max-width:1200px;
margin:40px auto;
padding:20px;
}

.account-grid{
display:grid;
grid-template-columns:250px 1fr;
gap:20px;
}

.sidebar{
border:1px solid #eee;
padding:20px;
border-radius:10px;
}

.sidebar a{
display:block;
padding:10px 0;
}

.content{
border:1px solid #eee;
padding:25px;
border-radius:10px;
}

/* =========================
FOOTER
========================= */

footer{
background:#111;
color:#fff;
padding:40px;
margin-top:60px;
text-align:center;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:1024px){

.product-grid{
grid-template-columns:repeat(2,1fr);
}

.category-grid{
grid-template-columns:repeat(2,1fr);
}

.product-page{
grid-template-columns:1fr;
}

}

@media(max-width:768px){

.header{
padding:15px;
flex-direction:column;
gap:15px;
}

nav{
flex-wrap:wrap;
justify-content:center;
}

.product-grid{
grid-template-columns:1fr;
}

.category-grid{
grid-template-columns:1fr;
}

.account-grid{
grid-template-columns:1fr;
}

}
