body{
font-family: 'Poppins', sans-serif;
margin:0;
background:#f4f6f9;
}

/* NAVBAR */
.navbar{
display:flex;
justify-content:space-between;
align-items:center;
background:linear-gradient(90deg,#ff6a00,#ff3c00);
padding:15px 25px;
color:white;
font-size:22px;
font-weight:bold;
}

.nav-right{
display:flex;
gap:10px;
}

/* HERO */
.hero{
text-align:center;
padding:40px 20px;
background:white;
margin-bottom:20px;
border-radius:10px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.hero h1{
margin:0;
color:#ff3c00;
}

/* CONTAINER */
.container{
padding:20px;
}

/* SEARCH */
.search-box{
display:flex;
gap:10px;
margin-bottom:20px;
}

.search-box input{
flex:1;
padding:10px;
border-radius:8px;
border:1px solid #ccc;
}

/* GRID PRODUK */
.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
}

/* CARD */
.card{
background:white;
padding:15px;
border-radius:12px;
box-shadow:0 4px 12px rgba(0,0,0,0.1);
text-align:center;
transition:0.3s;
}

.card:hover{
transform:translateY(-5px);
}

.card img{
width:100%;
height:180px;
object-fit:cover;
border-radius:10px;
}

.price{
color:#ff3c00;
font-weight:bold;
}

.stok{
color:green;
}

.stok-habis{
color:red;
font-weight:bold;
}

/* BUTTON */
.btn{
border:none;
padding:8px 14px;
border-radius:8px;
cursor:pointer;
transition:0.3s;
text-decoration:none;
color:white;
}

.btn-primary{
background:#007bff;
}

.btn-success{
background:#28a745;
}

.btn-secondary{
background:#6c757d;
}

.btn:hover{
transform:scale(1.05);
opacity:0.9;
}

/* DARK MODE */
.dark{
background:#121212;
color:white;
}

.dark .card{
background:#1e1e1e;
}

.dark .hero{
background:#fff
;
}