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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5efe6;
    color: #1f2937;
}

.hero {
    min-height: 390px;
    padding: 24px 8%;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(242, 201, 121, 0.32), transparent 34%),
        linear-gradient(135deg, #0f172a 0%, #1f2937 52%, #8b6635 100%);
    border-bottom-left-radius: 46px;
    border-bottom-right-radius: 46px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 72px;
}

.brand {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.brand span {
    color: #f2c879;
}

.nav-note {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 14px;
}

.hero-content {
    max-width: 900px;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #f2c879;
    color: #111827;
    font-weight: 700;
}

.hero-content h1 {
    font-size: 45px;
    line-height: 1.18;
    margin-bottom: 18px;
}

.hero-content h1 span {
    color: #f2c879;
}

.hero-content p {
    max-width: 780px;
    font-size: 17px;
    line-height: 1.75;
    color: #f7f1e8;
}

.container {
    width: 88%;
    max-width: 1200px;
    margin: -60px auto 42px;
}

.card {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 28px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.section-title p {
    margin-bottom: 8px;
    color: #8b6635;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.section-title h2 {
    margin-bottom: 24px;
    color: #111827;
    font-size: 29px;
}

.category-title {
    margin: 8px 0 18px;
    color: #1f2937;
}

.category-title.second {
    margin-top: 34px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.menu-card {
    overflow: hidden;
    border-radius: 22px;
    background: #fffaf2;
    border: 1px solid #eadcc8;
    cursor: pointer;
    transition: 0.25s;
}

.menu-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
    border-color: #c99b55;
}

.menu-image {
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 66px;
    background: linear-gradient(135deg, #111827, #8b6635);
}

.menu-image.food {
    background: linear-gradient(135deg, #6b3f1d, #d49a45);
}

.menu-image.noodle {
    background: linear-gradient(135deg, #7c2d12, #f59e0b);
}

.menu-image.chicken {
    background: linear-gradient(135deg, #7f1d1d, #c2410c);
}

.menu-image.satay {
    background: linear-gradient(135deg, #3f2f1d, #b7791f);
}

.menu-image.tea {
    background: linear-gradient(135deg, #0f766e, #67e8f9);
}

.menu-image.juice {
    background: linear-gradient(135deg, #c2410c, #facc15);
}

.menu-image.coffee {
    background: linear-gradient(135deg, #3f2f1d, #a16207);
}

.menu-image.soda {
    background: linear-gradient(135deg, #1d4ed8, #a78bfa);
}

.menu-body {
    padding: 18px;
}

.menu-body h3 {
    margin-bottom: 6px;
    color: #111827;
    font-size: 19px;
}

.menu-body p {
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 14px;
}

.menu-body strong {
    display: block;
    color: #8b6635;
    font-size: 18px;
    margin-bottom: 10px;
}

.menu-body span {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3e7d3;
    color: #7c5b2f;
    font-size: 12px;
    font-weight: 700;
}

.rules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.rules div {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff8ec, #f3e5cf);
    border-left: 5px solid #b98a45;
}

.rules strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
}

.rules span {
    color: #5f6c7b;
    font-size: 14px;
    line-height: 1.45;
}

#keranjang {
    min-height: 95px;
    padding: 18px;
    border-radius: 20px;
    background: #0f172a;
    color: #ffffff;
}

.cart-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    text-align: center;
}

.cart-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.cart-item {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.cart-item strong {
    display: block;
    margin-bottom: 8px;
    color: #f2c879;
}

.cart-item span {
    display: block;
    color: #f7f1e8;
    font-size: 14px;
    line-height: 1.6;
}

.cart-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1;
}

.btn-minus {
    background: #ef4444;
    color: #ffffff;
}

.btn-minus:hover {
    background: #dc2626;
}

.btn-plus {
    background: #22c55e;
    color: #ffffff;
}

.btn-plus:hover {
    background: #16a34a;
}

.btn-remove {
    background: rgba(255, 255, 255, 0.16);
    color: #f7f1e8;
}

.btn-remove:hover {
    background: rgba(255, 255, 255, 0.26);
}

.qty-label {
    font-weight: 800;
    color: #f2c879 !important;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

button {
    border: none;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #b98a45;
    color: #ffffff;
}

.btn-primary:hover {
    background: #8b6635;
}

.btn-print {
    background: #111827;
    color: #f2c879;
}

.btn-print:hover {
    background: #263244;
}

.btn-secondary {
    background: #e5e7eb;
    color: #111827;
}

.btn-secondary:hover {
    background: #d1d5db;
}

.receipt-card {
    border: 2px solid #eadcc8;
}

#struk {
    padding: 24px;
    border-radius: 22px;
    background: #fbf7f0;
    border: 2px dashed #b98a45;
    line-height: 1.8;
}

.receipt-empty {
    color: #6b7280;
    text-align: center;
}

.receipt-title {
    text-align: center;
    color: #111827;
}

.receipt-title h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.receipt-line {
    border-top: 1px dashed #b98a45;
    margin: 16px 0;
}

.receipt-item {
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #eadcc8;
}

.receipt-item strong {
    color: #111827;
}

.receipt-summary {
    display: grid;
    gap: 8px;
}

.receipt-summary div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.receipt-info {
    margin-top: 14px;
    padding: 16px;
    border-radius: 16px;
    background: #fff8ec;
}

.total-bayar {
    padding: 14px;
    margin-top: 10px;
    border-radius: 16px;
    background: #111827;
    color: #f2c879;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

footer {
    padding: 24px;
    text-align: center;
    color: #5f6c7b;
}

@media (max-width: 1050px) {
    .menu-grid,
    .rules,
    .cart-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 650px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .container {
        width: 94%;
    }

    .card {
        padding: 22px;
    }

    .menu-grid,
    .rules,
    .cart-grid {
        grid-template-columns: 1fr;
    }

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

@media print {
    body * {
        visibility: hidden;
    }

    .receipt-card,
    .receipt-card * {
        visibility: visible;
    }

    .receipt-card {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        box-shadow: none;
        border: none;
    }

    .receipt-card .section-title {
        display: none;
    }

    #struk {
        border: 1px solid #000000;
        background: #ffffff;
        color: #000000;
    }
}
