:root {
    --bg: #fff9f4;
    --surface: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --primary: #e54d2e;
    --primary-dark: #c4381b;
    --secondary: #0f766e;
    --accent: #ffb703;
    --border: #f1ddcf;
    --shadow: 0 8px 24px rgba(28, 24, 19, 0.08);
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background: var(--bg);
    color: var(--text);
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 66px;
}

.brand {
    font-weight: 700;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--primary);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 62vh;
    display: grid;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 16, 16, 0.74) 0%, rgba(16, 16, 16, 0.30) 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 4rem 0;
}

.badge {
    display: inline-flex;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 183, 3, 0.92);
    color: #2d1d00;
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 0.8rem;
}

.hero h1 {
    margin: 0;
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1.12;
    max-width: 680px;
}

.hero-claim {
    margin: 0.9rem 0 0.4rem;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 530px;
}

.hero-address {
    margin: 0 0 1.3rem;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    padding: 0.72rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: #fff;
    color: #0b4540;
    border: 1px solid #dcefe7;
}

.btn-small {
    padding: 0.45rem 0.7rem;
    font-size: 0.87rem;
    background: #fff3ef;
    color: var(--primary-dark);
    border: 1px solid #ffd7cc;
}

.btn-full {
    width: 100%;
}

.section {
    padding: 3rem 0;
}

.section-muted {
    background: linear-gradient(180deg, #fff8f2 0%, #fff 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section h2 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: clamp(1.3rem, 3vw, 2rem);
}

.section-head p,
.section p {
    color: var(--muted);
    margin-top: 0;
}

.featured-slider-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

.featured-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 1fr);
    gap: 0.8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 0.2rem;
}

.featured-card {
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.featured-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.featured-card div {
    padding: 0.7rem;
}

.featured-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.featured-card p {
    margin: 0 0 0.4rem;
    color: var(--muted);
    font-size: 0.88rem;
    min-height: 2.3em;
}

.category-chips {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
}

.chip {
    border: 1px solid #f5d9ca;
    background: #fff;
    padding: 0.45rem 0.82rem;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
}

.chip.active {
    background: #ffe7de;
    border-color: #ffc1ad;
    color: #952c16;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.9rem;
}

.menu-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menu-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.menu-card-body {
    padding: 0.85rem;
    display: grid;
    gap: 0.35rem;
    height: 100%;
}

.cat-tag {
    font-size: 0.75rem;
    color: #8f4b28;
    background: #fff2e9;
    width: fit-content;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.menu-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.menu-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cart-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.2fr 1fr;
}

.cart-items {
    display: grid;
    gap: 0.65rem;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.cart-item {
    border: 1px solid #f3e2d7;
    border-radius: 10px;
    padding: 0.65rem;
    background: #fffcfa;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
}

.cart-item small {
    display: block;
    color: var(--muted);
    margin-top: 0.25rem;
}

.remove-link {
    border: 0;
    background: transparent;
    color: #b7361b;
    cursor: pointer;
    font-size: 0.82rem;
}

.cart-summary {
    display: grid;
    gap: 0.42rem;
}

.cart-summary label {
    font-size: 0.85rem;
    color: var(--muted);
}

input, textarea, select {
    width: 100%;
    border: 1px solid #e6d8ce;
    border-radius: 10px;
    padding: 0.62rem 0.7rem;
    font: inherit;
    background: #fff;
}

input:focus, textarea:focus, select:focus {
    outline: 2px solid #ffd7cc;
    border-color: #f7b6a2;
}

.total-row {
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.02rem;
}

.empty-state {
    margin: 0;
    color: var(--muted);
}

.hours-note {
    margin-bottom: 0.8rem;
}

.hours-table-wrap {
    overflow-x: auto;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.hours-table th,
.hours-table td {
    padding: 0.7rem;
    border-bottom: 1px solid #f5e7dc;
    text-align: left;
    font-size: 0.92rem;
}

.hours-table th {
    width: 140px;
}

.contact-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    padding: 1rem;
}

.contact-card h3 {
    margin-top: 0;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.56);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 100;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: #fff;
    width: min(620px, 100%);
    border-radius: 16px;
    padding: 1rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    border: 0;
    position: absolute;
    top: 0.35rem;
    right: 0.45rem;
    font-size: 1.8rem;
    background: transparent;
    cursor: pointer;
    color: #7f1d1d;
}

.custom-grid {
    display: grid;
    gap: 0.8rem;
}

.opt-group {
    border: 1px solid #f2e4d8;
    border-radius: 10px;
    padding: 0.7rem;
}

.opt-group h4 {
    margin: 0 0 0.55rem;
    font-size: 0.96rem;
}

.inline-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
}

.inline-options label {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.9rem;
}

.subtotal-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
}

.whatsapp-sticky {
    position: fixed;
    right: 0.9rem;
    bottom: 0.9rem;
    z-index: 80;
    background: #22c55e;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    box-shadow: 0 8px 20px rgba(6, 95, 70, 0.3);
}

@media (max-width: 860px) {
    .cart-box {
        grid-template-columns: 1fr;
    }

    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.6rem 0;
        gap: 0.4rem;
    }

    .brand {
        font-size: 0.95rem;
    }
}

@media (max-width: 620px) {
    .slider-btn {
        display: none;
    }

    .hero {
        min-height: 74vh;
    }

    .whatsapp-sticky {
        left: 0.7rem;
        right: 0.7rem;
        text-align: center;
        border-radius: 12px;
    }
}
