
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family: 'Plus Jakarta Sans', sans-serif;
    background:#f6f6f6;
    color:#333;
}
h1, h2, h3, h4, .logo span {
    font-family: 'Playfair Display', serif;
}
/* ================= HEADER ================= */

header{
    position:sticky;
    top:0;
    z-index:1000;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.header-container{
    height:70px;
    margin:auto;
    padding:0 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#222;
    font-weight:bold;
    font-size:22px;
}

.logo img{
    width:40px;
    height:40px;
    border-radius:50%;
}

.order-btn{
    background:#ff5722;
    color:#fff;
    padding:10px 18px;
    border-radius:25px;
    text-decoration:none;
    font-weight:bold;
    font-size:14px;
}

/* ================= LAYOUT ================= */

.menu-layout{
    display:grid;
    grid-template-columns:120px 1fr;
    gap:16px;
    margin:auto;
    padding:16px;
}

/* Sidebar kiri tetap */

.category-menu{
    position:sticky;
    top:86px;
    height:calc(100vh - 100px);
    overflow-y:auto;
    background:#fff;
    border-radius:18px;
    padding:12px 8px;
    box-shadow:0 4px 15px rgba(0,0,0,.06);
}

.category-menu a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:6px;

    text-decoration:none;
    color:#555;

    padding:14px 6px;
    margin-bottom:10px;

    border-radius:14px;
    transition:.25s;
    font-size:12px;
    font-weight:600;
}

.category-menu a span.icon{
    font-size:24px;
}

.category-menu a.active{
    background:#ff5722;
    color:#fff;
}


@media (hover: hover) and (pointer: fine) {
    .category-menu a:hover{
        background:#ffe7de;
        color:#ff5722;
    }
}
.category-menu a:active{
    background:#ffe7de;
    color:#ff5722;
}
/* Konten kanan */

.menu-content section{
    margin-bottom:40px;
}

.menu-content h2{
    margin-bottom:16px;
    font-size:28px;
}



.card .info{
    flex:1;
}

.card h3{
    margin-bottom:6px;
    font-size:18px;
}

.card p{
    font-size:14px;
    color:#666;
    margin-bottom:8px;
}

.price{
    color:#ff5722;
    font-weight:bold;
}

/* ================= MOBILE ================= */
/* Tetap sidebar di samping kiri */

@media(max-width:768px){

    .header-container{
        height:64px;
        padding:0 12px;
    }

    .logo{
        font-size:18px;
    }

    .logo img{
        width:34px;
        height:34px;
    }

    .order-btn{
        padding:8px 12px;
        font-size:12px;
    }

    .menu-layout{
        grid-template-columns:92px 1fr;
        gap:10px;
        padding:10px;
    }

    .category-menu{
        top:74px;
        height:calc(100vh - 84px);
        padding:8px 6px;
        border-radius:14px;
    }

    .category-menu a{
        padding:12px 4px;
        font-size:11px;
        border-radius:12px;
    }

    .category-menu a span.icon{
        font-size:22px;
    }

    .menu-content h2{
        font-size:22px;
    }

    .card{
        gap:10px;
    }

    .card img{
        width:72px;
        height:72px;
    }

    .card h3{
        font-size:16px;
    }

    .card p{
        font-size:13px;
    }
}
.card-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:20px;
}

.card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
    cursor:pointer;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.card .info{
    padding:18px;
}

.card h3{
    margin-bottom:10px;
    font-size:20px;
}

.card p{
    color:#777;
    line-height:1.5;
    margin-bottom:15px;
}

.price{
    font-size:22px;
    font-weight:bold;
    color:#ff5722;
}

/* Tablet */
@media (max-width:992px){

    .card-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/* HP */
@media (max-width:768px){

    .card-grid{
        grid-template-columns:1fr;
    }

    .card img{
        height:220px;
    }

}
.bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:15px;
}

.cart-btn{

    width:42px;
    height:42px;

    border:none;
    border-radius:50%;

    background:#ff5722;
    color:#fff;

    cursor:pointer;

    font-size:20px;

    transition:.3s;

    display:flex;
    justify-content:center;
    align-items:center;

    box-shadow:0 5px 15px rgba(255,87,34,.35);

}

.cart-btn:hover{

    background:#e64a19;
    transform:scale(1.1);

}

.cart-btn:active{

    transform:scale(.9);

}
.menu-content section{
    scroll-margin-top:85px;
}
.hero-banner{

    height:320px;

    border-radius:20px;

    margin-bottom:40px;

    background:linear-gradient(135deg,#ff5722,#ff9800);

    color:white;

    display:flex;
    align-items:center;

    padding:50px;

}

.hero-banner h1{

    font-size:42px;

    margin-bottom:20px;

}

.hero-banner p{

    font-size:18px;

    margin-bottom:25px;

}

.badge{

    display:inline-block;

    padding:5px 12px;

    border-radius:20px;

    color:#fff;

    font-size:12px;

    margin-bottom:10px;

}

.recommend{

    background:#4CAF50;

}

.bestseller{

    background:#ff5722;

}

.promo-banner{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.promo-item{

    background:#fff;

    padding:25px;

    border-radius:18px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

@media(max-width:768px){

.hero-banner{

    height:auto;

    padding:30px;

}

.hero-banner h1{

    font-size:28px;

}

.hero-banner p{

    font-size:15px;

}

.promo-banner{

    grid-template-columns:1fr;

}

}
.cart-header{

    position:relative;

    width:48px;
    height:48px;

    border:none;
    border-radius:50%;

    background:#ff5722;
    color:#fff;

    cursor:pointer;

    font-size:22px;

}

.cart-count{

    position:absolute;

    top:-5px;
    right:-5px;

    width:22px;
    height:22px;

    border-radius:50%;

    background:red;

    color:#fff;

    font-size:12px;

    display:flex;
    justify-content:center;
    align-items:center;

}

/* Overlay */

.cart-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.35);

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:1000;

}

.cart-overlay.show{

    opacity:1;
    visibility:visible;

}

/* Sidebar */

.cart-sidebar{

    position:fixed;

    top:0;
    right:-420px;

    width:400px;
    max-width:100%;

    height:100vh;

    background:#fff;

    display:flex;
    flex-direction:column;

    transition:.35s;

    z-index:1001;

}

.cart-sidebar.show{

    right:0;

}

.cart-title{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px;

    border-bottom:1px solid #eee;

}

.cart-title button{

    border:none;

    background:none;

    font-size:24px;

    cursor:pointer;

}

.cart-list{

    flex:1;

    overflow:auto;

    padding:20px;

}

.cart-item{

    display:flex;

    gap:15px;

    margin-bottom:20px;

}

.cart-item img{

    width:70px;
    height:70px;

    object-fit:cover;

    border-radius:10px;

}

.cart-footer{

    padding:20px;

    border-top:1px solid #eee;

}

.checkout-btn{

    width:100%;

    padding:15px;

    border:none;

    background:#ff5722;

    color:#fff;

    border-radius:12px;

    cursor:pointer;

    font-size:16px;

}

.empty-cart{

    text-align:center;

    color:#888;

    margin-top:60px;

}
.cart-item{

    display:flex;

    gap:12px;

    align-items:flex-start;

    margin-bottom:20px;

    padding-bottom:20px;

    border-bottom:1px solid #eee;

}

.cart-item img{

    width:70px;
    height:70px;

    border-radius:12px;

    object-fit:cover;

}

.cart-info{

    flex:1;

}

.cart-info h4{

    margin-bottom:5px;

    font-size:16px;

}

.cart-price{

    color:#777;

    font-size:14px;

    margin-bottom:10px;

}

.cart-action{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.qty-box{

    display:flex;

    align-items:center;

    gap:8px;

}

.qty-box button{

    width:28px;
    height:28px;

    border:none;

    border-radius:50%;

    background:#ff5722;

    color:#fff;

    cursor:pointer;

    font-size:18px;

}

.qty-box span{

    min-width:20px;

    text-align:center;

    font-weight:bold;

}

.subtotal{

    color:#ff5722;

    font-weight:bold;

}

.delete-item{

    border:none;

    background:none;

    cursor:pointer;

    font-size:18px;

}

.cart-total{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:15px;

    font-size:18px;

}

.checkout-btn{

    width:100%;

    padding:15px;

    border:none;

    border-radius:12px;

    background:#25D366;

    color:#fff;

    font-size:16px;

    cursor:pointer;

    font-weight:bold;

}

.checkout-btn:hover{

    background:#1ebe5b;

}
.promo-image{
    position:relative;
}

.discount-badge{

    position:absolute;

    top:12px;
    left:12px;

    background:#e53935;

    color:#fff;

    padding:6px 12px;

    border-radius:8px;

    font-size:14px;

    font-weight:bold;

    box-shadow:0 4px 10px rgba(0,0,0,.2);

}

.old-price{

    color:#999;

    text-decoration:line-through;

    font-size:14px;

    margin:8px 0 5px;

}

.promo-card{
    border:2px solid #ffe082;
}
.footer{

    margin-top:60px;

    background:#222;

    color:#ddd;

    border-radius:20px;

    overflow:hidden;

}

.footer-top{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:30px;

    padding:40px;

}

.footer h3,
.footer h4{

    color:#fff;

    margin-bottom:15px;

}

.footer p{

    line-height:1.8;

    color:#bbb;

}

.footer ul{

    list-style:none;

}

.footer ul li{

    margin-bottom:10px;

    color:#bbb;

}

.footer-about h3 {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 8px;

    font-size: 22px;
    font-weight: 800;
}


.footer-logo {
    width: 42px;
    height: 42px;

    max-width: 42px;
    max-height: 42px;

    object-fit: contain;

    border-radius: 8px;

    background: #fff;

    padding: 4px;

    box-sizing: border-box;
}


.footer-title {
    font-size: 13px;
    font-weight: 600;

    opacity: .75;

    margin-bottom: 12px;
}


.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}


.footer-contact li i {
    width: 18px;

    margin-top: 3px;
}


.footer-contact a {
    color: inherit;
    text-decoration: none;
}


.footer-contact a:hover {
    text-decoration: underline;
}


.footer-info li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}


.footer-info li span:last-child {
    white-space: nowrap;
}
.footer-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.footer-info li {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 6px 0;

    font-size: 14px;
}


.footer-info li span:first-child {
    font-weight: 500;
}


.footer-info li span:last-child {
    white-space: nowrap;
    font-weight: 600;
}


.footer-info .closed {
    opacity: .65;
    font-weight: 500;
}


.footer-empty {
    font-size: 14px;
    opacity: .7;
}
.social-icons{

    display:flex;

    gap:12px;

}

.social-icons a{

    width:42px;
    height:42px;

    background:#333;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:#fff;

    font-size:20px;

    transition:.3s;

}

.social-icons a:hover{

    background:#ff5722;

    transform:translateY(-3px);

}

.footer hr{

    border:none;

    border-top:1px solid rgba(255,255,255,.1);

}

.footer-bottom{

    text-align:center;

    padding:20px;

    color:#aaa;

    font-size:14px;

}

@media(max-width:992px){

.footer-top{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.footer-top{

    grid-template-columns:1fr;

    padding:25px;

}

.footer{

    border-radius:15px;

}

.social-icons{

    justify-content:flex-start;

}

}
.image-wrapper{
    position:relative;
}

.status-badge{

    position:absolute;

    top:12px;
    right:0;

    padding:8px 16px;

    background:#f44336;
    color:#fff;

    font-size:12px;
    font-weight:700;

    border-radius:20px 0 0 20px;

    box-shadow:0 4px 10px rgba(0,0,0,.2);

    z-index:2;

}

.status-badge.stock{
    background:#f44336;
}

.out-of-stock img{
    filter:grayscale(100%);
    opacity:.6;
}

.out-of-stock .cart-btn{

    background:#bdbdbd;

    cursor:not-allowed;

    box-shadow:none;

}
.status-badge.closed{
    background:#424242;
}

.store-closed{

    opacity:.75;

}

.store-closed img{

    filter:grayscale(100%);

}

.store-closed .cart-btn{

    background:#757575;

    cursor:not-allowed;

}
.overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    font-weight:bold;

    letter-spacing:1px;

    text-transform:uppercase;

}
.cart-btn:disabled{

    width:auto;
    min-width:70px;

    padding:0 14px;

    font-size:13px;

    font-weight:600;

    background:#bdbdbd;

    cursor:not-allowed;

    box-shadow:none;

}
/* =====================================================
   HERO BANNER
===================================================== */

.hero-banner {
    min-height: 380px;
    border-radius: 20px;
    margin-bottom: 40px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 87, 34, 0.9),
            rgba(255, 152, 0, 0.85)
        ),
        url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?q=80&w=1000&auto=format&fit=crop')
        center / cover no-repeat;

    color: white;

    display: flex;
    align-items: center;

    padding: 50px;

    box-shadow:
        0 15px 30px rgba(255, 87, 34, 0.25);

    position: relative;
    overflow: hidden;
}


.hero-text {
    max-width: 850px;
}


/* =====================================================
   BADGE
===================================================== */

.hero-badge {
    background: rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(5px);

    padding: 6px 16px;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;

    display: inline-block;

    margin-bottom: 15px;

    border: 1px solid rgba(255, 255, 255, 0.4);
}


/* =====================================================
   HERO TITLE
===================================================== */

.hero-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin: 0 0 15px;

    font-size: 40px;
    font-weight: 800;

    line-height: 1.2;
}


/* =====================================================
   LOGO
===================================================== */

.hero-logo {
    width: 65px;
    height: 65px;

    max-width: 65px;
    max-height: 65px;

    object-fit: contain;

    flex: 0 0 auto;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.95);

    padding: 6px;

    box-sizing: border-box;
}


/* =====================================================
   NAMA RESTORAN
===================================================== */

.hero-name {
    color: white;

    font-weight: 800;

    text-decoration: none;
    text-decoration-color: #ffe0b2;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}


/* =====================================================
   TITLE RESTORAN
===================================================== */

.hero-subtitle {
    font-weight: 700;
    color: #fff;
}


/* =====================================================
   DESCRIPTION
===================================================== */

.hero-banner p {
    font-size: 16px;

    line-height: 1.6;

    margin-bottom: 25px;

    opacity: 0.95;

    max-width: 700px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 768px) {

    .hero-banner {
        min-height: 330px;

        padding: 35px 30px;

        border-radius: 18px;

        margin-bottom: 30px;
    }


    .hero-title {
        font-size: 32px;

        gap: 8px;
    }


    .hero-logo {
        width: 55px;
        height: 55px;

        max-width: 55px;
        max-height: 55px;
    }


    .hero-banner p {
        font-size: 15px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 480px) {

    .hero-banner {
        min-height: 300px;

        padding: 28px 22px;

        border-radius: 16px;
    }


    .hero-text {
        width: 100%;
    }


    .hero-badge {
        font-size: 12px;

        padding: 5px 12px;

        margin-bottom: 12px;
    }


    .hero-title {
        font-size: 26px;

        line-height: 1.25;

        gap: 7px;

        margin-bottom: 12px;
    }


    .hero-logo {
        width: 45px;
        height: 45px;

        max-width: 45px;
        max-height: 45px;

        padding: 5px;

        border-radius: 9px;
    }


    .hero-banner p {
        font-size: 14px;

        line-height: 1.5;

        margin-bottom: 18px;
    }

}

/* Container untuk tombol */
.hero-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Tombol Utam (Pesan Sekarang) */
.btn-order {
    background: #ffffff;
    color: #ff5722;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: #fff8f6;
}

/* Tombol Sekunder (Lihat Menu) */
.btn-secondary {
    color: white;
    border: 2px solid white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Penyesuaian Tampilan Mobile */
@media (max-width: 768px) {
    .hero-banner {
        height: auto;
        padding: 30px 20px;
    }
    
    .hero-banner h1 {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-order, .btn-secondary {
        text-align: center;
    }
}
/* Orange */
.icon.orange {
    color: #f97316;
}

/* Blue */
.icon.blue {
    color: #2563eb;
}

/* Green */
.icon.green {
    color: #16a34a;
}

/* Purple */
.icon.purple {
    color: #9333ea;
}

/* Red */
.icon.red {
    color: #dc2626;
}

/* Yellow */
.icon.yellow {
    color: #ca8a04;
}
.category-menu a.active .icon.orange {
    color: #ffffff;
}
.category-menu a.active .icon.blue {
    color: #ffffff;
}
.category-menu a.active .icon.green {
    color: #ffffff;
}
.category-menu a.active .icon.purple {
    color: #ffffff;
}
.category-menu a.active .icon.red {
    color: #ffffff;
}
.category-menu a.active .icon.yellow {
    color: #ffffff;
}
.page-loader {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(
            255,
            255,
            255,
            0.75
        );

    backdrop-filter:
        blur(3px);

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.page-loader.show {
    opacity: 1;
    visibility: visible;
}

.loader-box {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 15px;

    padding: 25px 35px;

    background: white;

    border-radius: 16px;

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.15);

    font-size: 14px;

    font-weight: 600;

    color: #555;
}

.loader-spinner {
    width: 42px;
    height: 42px;

    border: 4px solid #f1f1f1;

    border-top-color: #ff4f8b;

    border-radius: 50%;

    animation:
        spin 0.7s linear infinite;
}

@keyframes spin {

    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(360deg);
    }

}
.toast-notification {
    position: fixed;
    top: 25px;
    right: 25px;

    display: flex;
    align-items: center;
    gap: 12px;

    background: #ffffff;
    color: #333;

    padding: 16px 20px;

    border-radius: 12px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

    border-left: 5px solid #22c55e;

    z-index: 99999;

    transform: translateX(150%);
    opacity: 0;

    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification i {
    color: #22c55e;
    font-size: 20px;
}

.toast-notification span {
    font-size: 14px;
    font-weight: 500;
}
.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}