/* ================= GLOBAL ================= */
*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#dfe6e9;
    overflow-x:hidden;
    padding-bottom:90px;
}

/* ================= APP CONTAINER ================= */
.app{
    max-width:420px;
    margin:auto;
    background:#fff;
    min-height:100vh;
    border-radius:20px;
    overflow-x:hidden;
    box-shadow:0 0 25px rgba(0,0,0,.15);

    padding-bottom:100px;
}
/* ================= TOPBAR ================= */
.topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 15px;
    font-weight:500;
}

.lokasi{
    display:flex;
    align-items:center;
    gap:4px;
    font-size:13px;
    color:#2c3e50;
}

.icon-lokasi{
    width:12px;
    height:12px;
    fill:#2ecc71;
}

/* ================= HEADER ================= */
.header-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 15px;
    background:#fff;
}

.logo-wrap img{
    height:45px;
    width:auto;
}

.btn-call{
    background:#3498db;
    color:#fff;
    border:none;
    padding:8px 14px;
    border-radius:20px;
    font-size:12px;
}

.action-wrap{
    flex-shrink:0;
}

/* ================= SLIDER ================= */
.hero-slider{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
}

.hero-slider::-webkit-scrollbar{
    display:none;
}

.slide{
    min-width:100%;
    height:200px;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    position:relative;
}

/* ================= DOT ================= */
.dots{
    text-align:center;
    margin:6px 0;
}

.dot{
    width:6px;
    height:6px;
    background:#ccc;
    display:inline-block;
    border-radius:50%;
    margin:3px;
}

.dot.active{
    background:#2ecc71;
    transform:scale(1.3);
}

/* ================= QUICK MENU ================= */
.quick-menu{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;   /* ?? FIX OVERFLOW */
    gap:10px;
    padding:10px;
}

.quick-menu > div{
    flex:1;
    min-width:70px;   /* ?? biar tidak maksa lebar */
    text-align:center;
    font-size:12px;
}

/* ================= SECTION ================= */
.section{
    margin:12px;
    background:#fff;
    border-radius:16px;
    padding:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

/* ================= MENU GRID ================= */
.menu-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
    padding:12px;
    padding-bottom:120px;
    width:100%;
    overflow:hidden;
}

.menu-item{
    text-align:center;
    font-size:12px;
    min-width:0; /* ?? WAJIB supaya tidak melebar */
}

/* ================= ICON ================= */
.icon{
    width:50px;
    height:50px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    margin-bottom:5px;
}

.icon svg{
    width:24px;
    height:24px;
    fill:#fff;
    max-width:100%;
}

/* warna */
.green{background:#2ecc71;}
.red{background:#e74c3c;}
.blue{background:#3498db;}
.orange{background:#f39c12;}
.purple{background:#9b59b6;}

/* ================= PROMO ================= */
.banner-scroll{
    display:flex;
    overflow-x:auto;
    gap:10px;
    padding:10px 15px;
    scroll-snap-type:x mandatory;
    width:100%;
}

.banner-scroll::-webkit-scrollbar{
    display:none;
}

.banner-item{
    flex:0 0 75%;
    height:120px;
    border-radius:12px;
    overflow:hidden;
    scroll-snap-align:start;
}

.banner-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* ================= FAB ================= */
.fab{
    position:fixed;
    bottom:80px;
    right:20px;
    width:55px;
    height:55px;
    background:#2ecc71;
    color:#fff;
    font-size:28px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 5px 15px rgba(0,0,0,.3);
}

/* ================= NAV ================= */
.nav-bottom{
    position:fixed;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    max-width:420px;
    width:100%;
    background:#fff;
    display:flex;
    justify-content:space-around;
    padding:8px;
    box-shadow:0 -2px 10px rgba(0,0,0,.1);
     z-index:999;
}

.nav-bottom div{
    text-align:center;
    font-size:11px;
}

.nav-bottom .active{
    color:#2ecc71;
    font-weight:bold;
}

/* ================= ZOOM ================= */
.zoom-overlay{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.85);
    justify-content:center;
    align-items:center;
    z-index:999;
}

.zoom-overlay.active{
    display:flex;
}

.zoom-overlay img{
    max-width:90%;
    border-radius:10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width:480px){
    .menu-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
}