/* ===============================
GLOBAL
=============================== */

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

html,body{
overflow-x:hidden;
scroll-behavior:smooth;
font-family:Arial, Helvetica, sans-serif;
background:#F5F5F5;
color:#0F0F0F;
}


/* ===============================
ANNOUNCEMENT BAR
=============================== */

.announcement-bar{
background:#111;
color:white;
text-align:center;
padding:8px;
font-size:13px;
letter-spacing:1px;
}


/* ===============================
NAVBAR
=============================== */

.navbar{
display:flex;
align-items:center;
justify-content:space-between;
padding:15px 40px;
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
position:sticky;
top:0;
z-index:1000;
}

.logo{
width:70px;
border-radius:50%;
}

#searchInput{
padding:8px;
border:1px solid #ccc;
border-radius:6px;
width:300px;
}

.cart-icon{
font-size:22px;
cursor:pointer;
}

#cart-count{
background:red;
color:white;
padding:2px 6px;
border-radius:50%;
font-size:12px;
}


/* ===============================
HERO
=============================== */

.hero{
position:relative;
height:90vh;
overflow:hidden;
}

.hero img{
width:100%;
height:100%;
object-fit:cover;
}

.hero-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
color:white;
text-align:center;
}

.hero-content h1{
font-size:55px;
letter-spacing:4px;
}

.hero-btn{
background:black;
color:white;
padding:14px 30px;
border-radius:30px;
text-decoration:none;
display:inline-block;
margin-top:20px;
}

.hero-btn:hover{
background:#D4AF37;
color:white;
transform:translateY(-2px);
box-shadow:0 6px 15px rgba(0,0,0,0.25);
}


/* ===============================
MOBILE CATEGORIES
=============================== */

.mobile-categories{
display:flex;
justify-content:center;
gap:12px;
padding:20px;
flex-wrap:wrap;
}

.mobile-categories a{
padding:8px 18px;
border-radius:25px;
border:1px solid #ddd;
background:white;
text-decoration:none;
color:#111;
font-size:14px;
font-weight:600;
box-shadow:0 3px 6px rgba(0,0,0,0.08);
transition:0.25s;
}

.mobile-categories a:hover{
background:#D4AF37;
color:white;
border-color:#D4AF37;
}


/* ===============================
PRODUCTS
=============================== */

.section-title{
margin-left:40px;
margin-top:40px;
font-size:26px;
}

.products{
display:flex;
gap:30px;
padding:30px 60px;
overflow-x:auto;
scroll-behavior:smooth;
}

.product{
background:white;
border-radius:12px;
padding:20px;
min-width:230px;
text-align:center;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.product img{
width:100%;
height:260px;
object-fit:cover;
border-radius:10px;
}

.price{
font-weight:bold;
font-size:16px;
margin-top:5px;
}


.product button{
margin-top:10px;
padding:10px;
background:black;
color:white;
border:none;
border-radius:5px;
cursor:pointer;
}


/* ===============================
CONTACT
=============================== */

.contact{
max-width:900px;
margin:60px auto;
text-align:center;
padding:20px;
}

.contact p{
margin:10px 0;
font-size:16px;
}

.contact a{
white-space:nowrap;
}


/* ===============================
FOOTER
=============================== */

footer{
background:#0F0F0F;
color:white;
padding:40px;
}

.footer{
display:flex;
justify-content:space-around;
flex-wrap:wrap;
}

.social-icons img{
width:30px;
margin:10px;
}


/* ===============================
FLOATING BUTTONS
=============================== */

.whatsapp-float{
position:fixed;
bottom:20px;
right:20px;
background:#25D366;
border-radius:50%;
padding:10px;
z-index:1000;
}

.call-float{
position:fixed;
bottom:80px;
right:20px;
background:#007BFF;
border-radius:50%;
padding:10px;
z-index:1000;
}

.whatsapp-float img,
.call-float img{
width:30px;
height:30px;
}


/* ===============================
CART DRAWER
=============================== */

.cart-drawer{
position:fixed;
top:0;
right:-400px;
width:350px;
height:100%;
background:white;
padding:20px;
box-shadow:-5px 0 20px rgba(0,0,0,0.2);
transition:0.4s;
overflow-y:auto;
z-index:9999;
}

.cart-drawer.active{
right:0;
}

.cart-header{
display:flex;
justify-content:space-between;
align-items:center;
border-bottom:1px solid #eee;
padding-bottom:10px;
margin-bottom:15px;
}

#cart-items li{
list-style:none;
padding:10px;
border-bottom:1px solid #ddd;
}

.cart-qty{
display:flex;
align-items:center;
gap:10px;
}

.cart-qty button{
width:35px;
height:35px;
border-radius:50%;
border:none;
background:black;
color:white;
}

.remove-btn{
width:35px;
height:35px;
border-radius:50%;
background:red;
color:white;
border:none;
}

.checkout-btn{
width:100%;
padding:12px;
background:black;
color:white;
border:none;
font-size:16px;
border-radius:5px;
margin-top:20px;
}


/* ===============================
CART OVERLAY
=============================== */

.cart-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.4);
display:none;
z-index:9998;
}

.cart-overlay.active{
display:block;
}


/* ===============================
MOBILE RESPONSIVE
=============================== */

@media (max-width:768px){

/* NAVBAR */

.navbar{
display:grid;
grid-template-columns:50px 1fr 40px;
align-items:center;
gap:10px;
padding:10px;
}

.logo{
grid-column:1;
width:45px;
}

#searchInput{
grid-column:2;
width:100%;
}

.cart-icon{
grid-column:3;
justify-self:end;
}

/* HERO */

.hero{
height:40vh;
}

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

#heroImage{
object-position:center;
}

/* CATEGORIES */

.mobile-categories{
display:flex;
justify-content:flex-start;
gap:10px;
padding:15px 10px;
overflow-x:auto;
white-space:nowrap;
flex-wrap:nowrap;
}

.mobile-categories a{
flex:0 0 auto;
font-size:13px;
padding:6px 14px;
}

/* PRODUCTS */

.products{
display:flex;
gap:15px;
padding:15px;
overflow-x:auto;
}

.product{
min-width:200px;
}

.product img{
height:220px;
}

.product{
transition:0.3s;
}

.product:hover{
transform:translateY(-6px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}
.product .qty{
width:60px;
max-width:60px;
height:30px;
padding:4px;
text-align:center;
border:1px solid #ccc;
border-radius:5px;
font-size:14px;
}

.product select{
height:30px;
font-size:14px;
}

/* CART */

.cart-drawer{
right:-100%;
width:100%;
height:100vh;
}

.cart-drawer.active{
right:0;
}

.checkout-btn{
position:sticky;
bottom:10px;
}

/* FOOTER */

.footer{
flex-direction:column;
text-align:center;
gap:20px;
}

}