*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Segoe UI',sans-serif;
background:#f8fafc;
color:#111827;
}

/* ================= HEADER ================= */

.header{
position:sticky;
top:0;
z-index:100;
padding:16px;
background:linear-gradient(135deg,#ff7a00,#2563eb);
box-shadow:0 4px 18px rgba(0,0,0,0.10);
}

/* LOGO */

.logo{
font-size:30px;
font-weight:800;
text-align:center;
color:white;
margin-bottom:14px;
letter-spacing:.5px;
}

.logo span{
color:#fff3c4;
}

/* SEARCH */

.header input{
width:100%;
padding:15px;
border:none;
border-radius:16px;
font-size:14px;
outline:none;
background:white;
box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

/* ================= BANNER ================= */

.banner{
margin-top:14px;
background:rgba(255,255,255,0.16);
border-radius:20px;
padding:18px;
backdrop-filter:blur(8px);
border:1px solid rgba(255,255,255,0.15);
}

.banner-text{
font-size:14px;
line-height:1.8;
font-weight:700;
color:white;
}

/* ================= KATEGORI ================= */

.kategori-scroll{
display:flex;
overflow:auto;
gap:10px;
padding:14px 2px 2px;
scrollbar-width:none;
}

.kategori-scroll::-webkit-scrollbar{
display:none;
}

.cat-btn{
background:white;
padding:10px 16px;
border-radius:999px;
text-decoration:none;
color:#2563eb;
font-size:13px;
font-weight:700;
white-space:nowrap;
transition:.2s;
box-shadow:0 3px 10px rgba(0,0,0,0.06);
}

.cat-btn:hover{
background:#2563eb;
color:white;
}

/* ================= GRID ================= */

.grid{
padding:14px;
display:grid;
grid-template-columns:repeat(auto-fill,minmax(175px,1fr));
gap:14px;
}

/* ================= CARD ================= */

.card{
position:relative;
background:white;
border-radius:24px;
overflow:hidden;
box-shadow:0 4px 14px rgba(0,0,0,0.06);
transition:.2s;
}

.card:hover{
transform:translateY(-4px);
box-shadow:0 10px 24px rgba(0,0,0,0.10);
}

/* BADGE */

.badge{
position:absolute;
top:0;
left:0;
background:#ef4444;
color:white;
padding:7px 11px;
font-size:11px;
font-weight:bold;
border-radius:0 0 14px 0;
z-index:10;
letter-spacing:.3px;
}

/* IMAGE */

.product-img{
width:100%;
height:185px;
object-fit:cover;
background:#fff;
}

/* BODY */

.card-body{
padding:14px;
}

/* NAME */

.product-name{
font-size:14px;
font-weight:700;
line-height:1.5;
height:42px;
overflow:hidden;
margin-bottom:8px;
color:#1e293b;
}

/* PRICE */

.product-price{
font-size:20px;
font-weight:800;
color:#ff7a00;
margin-bottom:10px;
}

/* STOCK */

.stock{
font-size:12px;
color:#64748b;
margin-bottom:14px;
}

/* BUTTON WA */

.btn-wa{
display:block;
text-align:center;
padding:13px;
background:linear-gradient(135deg,#22c55e,#16a34a);
color:white;
text-decoration:none;
border-radius:15px;
font-size:14px;
font-weight:800;
transition:.2s;
box-shadow:0 4px 10px rgba(34,197,94,0.25);
}

.btn-wa:hover{
opacity:.95;
transform:scale(1.02);
}

/* FLOATING WA */

.floating-wa{
position:fixed;
right:18px;
bottom:20px;
width:60px;
height:60px;
border-radius:50%;
background:#22c55e;
display:flex;
justify-content:center;
align-items:center;
font-size:28px;
text-decoration:none;
color:white;
box-shadow:0 8px 18px rgba(0,0,0,0.18);
z-index:999;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

.header{
padding:14px;
}

.logo{
font-size:24px;
}

.grid{
grid-template-columns:repeat(2,1fr);
gap:10px;
padding:10px;
}

.product-img{
height:155px;
}

.product-name{
font-size:13px;
height:40px;
}

.product-price{
font-size:17px;
}

.btn-wa{
padding:11px;
font-size:13px;
}

.banner{
padding:15px;
}

.banner-text{
font-size:13px;
line-height:1.7;
}

}