:root {
    --wine: #8d0913;
    --wine2: #b5121b;
    --gold: #d7a53e;
    --cream: #fff9ef;
    --ink: #241614;
    --muted: #76635e;
    --line: #eadcca;
    --card: #fff;
    --shadow: 0 24px 65px rgba(76,37,10,.13)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: radial-gradient(circle at 8% 4%,#fff0cf 0,transparent 28%),var(--cream);
    color: var(--ink);
    font-family: Inter,Segoe UI,Arial,sans-serif
}

.hidden {
    display: none !important
}

.site-header {
    height: 78px;
    padding: 12px clamp(20px,5vw,76px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,249,239,.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #eadbc8;
    position: sticky;
    top: 0;
    z-index: 30
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg,var(--wine2),#61030a);
    color: #fff;
    font: 900 25px Georgia;
    box-shadow: 0 10px 25px #8d09132b
}

.brand strong {
    display: block;
    font-size: 20px;
    letter-spacing: 2px
}

.brand small {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--muted)
}

main {
    max-width: 100%;
    margin: auto
}

.location-view {
    min-height: calc(100vh - 78px);
    padding: clamp(44px,7vw,100px) clamp(22px,7vw,110px);
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 7vw
}

.hero-copy h1 {
    font: 800 clamp(46px,6vw,88px)/.98 Georgia,serif;
    letter-spacing: -3px;
    margin: 18px 0 25px
}

    .hero-copy h1 em {
        color: var(--wine);
        font-weight: 500
    }

.hero-copy > p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 680px
}

.eyebrow {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--wine)
}

.trust-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 32px;
    color: #59443e;
    font-size: 14px;
    font-weight: 700
}

.location-card {
    background: #fff;
    padding: clamp(28px,4vw,48px);
    border: 1px solid var(--line);
    border-radius: 32px;
    box-shadow: var(--shadow)
}

    .location-card h2 {
        font: 800 32px Georgia;
        margin: 12px 0
    }

    .location-card > p {
        color: var(--muted);
        line-height: 1.5
    }

.card-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #fbe8d2;
    color: var(--wine);
    display: grid;
    place-items: center;
    font-size: 30px
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 15px 20px;
    background: linear-gradient(135deg,var(--wine2),var(--wine));
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 15px 32px #8d09132f
}

    .primary-button:disabled {
        opacity: .5;
        cursor: not-allowed
    }

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a28e87;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 22px 0
}

    .divider:before, .divider:after {
        content: "";
        height: 1px;
        background: var(--line);
        flex: 1
    }

label {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
    color: #5a4540
}

input, textarea, select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fffdfa;
    padding: 12px 13px;
    font: inherit;
    color: var(--ink);
    outline: 0
}

    input:focus, textarea:focus, select:focus {
        border-color: #ca8f55;
        box-shadow: 0 0 0 4px #d7a53e1c
    }

.privacy {
    font-size: 11px !important;
    text-align: center
}

.message {
    font-size: 13px;
    margin-top: 12px;
    color: var(--wine);
    font-weight: 700
}

.menu-view {
    padding: 32px clamp(18px,5vw,70px) 90px
}

.delivery-banner {
    border-radius: 28px;
    padding: 30px 36px;
    color: #fff;
    background: radial-gradient(circle at 80% 0,#d9a43f55,transparent 35%),linear-gradient(135deg,#530308,var(--wine2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 24px 52px #6b07152c
}

    .delivery-banner .eyebrow {
        color: #f6d691
    }

    .delivery-banner h2 {
        font: 800 34px Georgia;
        margin: 7px 0
    }

    .delivery-banner p {
        margin: 0;
        color: #ffe9df
    }

.ghost-button {
    border: 1px solid #ffffff66;
    background: #ffffff14;
    color: #fff;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer
}

.menu-toolbar {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 22px 0
}

.search-box {
    flex: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 24px #5d2a0a0a
}

    .search-box input {
        border: 0;
        background: transparent;
        box-shadow: none
    }

.minimum-badge {
    background: #fff1d1;
    color: #704b0a;
    border: 1px solid #e9cc8b;
    padding: 13px 18px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 13px
}

.category-tabs {
    display: flex;
    gap: 9px;
    overflow: auto;
    padding: 4px 0 16px;
    position: sticky;
    top: 78px;
    background: var(--cream);
    z-index: 20
}

    .category-tabs button {
        white-space: nowrap;
        border: 1px solid var(--line);
        background: #fff;
        border-radius: 999px;
        padding: 11px 18px;
        font-weight: 800;
        cursor: pointer
    }

        .category-tabs button.active {
            background: var(--ink);
            color: #fff;
            border-color: var(--ink)
        }

.category-section {
    margin: 24px 0 34px
}

    .category-section h2 {
        font: 800 29px Georgia
    }

.item-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px
}

.food-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 13px;
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 14px;
    box-shadow: 0 12px 34px #60320d0c
}

.food-image, .food-placeholder {
    width: 95px;
    height: 95px;
    border-radius: 17px;
    object-fit: cover
}

.food-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#f7dba9,#c88c28);
    font: 800 30px Georgia;
    color: #fff
}

.food-info h3 {
    font-size: 16px;
    margin: 4px 0 7px
}

.food-info p {
    color: var(--muted);
    font-size: 12px;
    height: 30px;
    overflow: hidden
}

.food-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between
}

    .food-bottom b {
        color: var(--wine)
    }

.add-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 11px;
    background: var(--ink);
    color: #fff;
    font-size: 20px;
    cursor: pointer
}

.cart-pill {
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    padding: 11px 17px;
    font-weight: 800
}

    .cart-pill b {
        background: var(--gold);
        color: var(--ink);
        padding: 3px 7px;
        border-radius: 999px;
        margin-left: 7px
    }

.overlay {
    position: fixed;
    inset: 0;
    background: #24161488;
    backdrop-filter: blur(3px);
    z-index: 50
}

.cart-drawer {
    position: fixed;
    right: -520px;
    top: 0;
    width: min(500px,100%);
    height: 100vh;
    background: #fffaf3;
    z-index: 60;
    transition: right .25s;
    overflow: auto;
    box-shadow: -30px 0 70px #0003
}

    .cart-drawer.open {
        right: 0
    }

.drawer-head {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line)
}

    .drawer-head h2 {
        margin: 5px 0;
        font: 800 30px Georgia
    }

.close-button {
    border: 0;
    background: #f2e5d8;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 25px
}

.cart-items, .totals, .checkout-form {
    padding: 18px 24px
}

.cart-line {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px;
    margin-bottom: 10px
}

.cart-line-head, .qty-line, .totals > div {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.qty-line {
    margin-top: 10px
}

    .qty-line button {
        border: 0;
        border-radius: 8px;
        padding: 6px 11px
    }

.remove {
    color: var(--wine);
    background: none !important
}

.totals {
    border-block: 1px solid var(--line)
}

    .totals > div {
        margin: 8px 0
    }

    .totals .total {
        font-size: 20px;
        padding-top: 9px;
        border-top: 1px dashed var(--line)
    }

    .totals p {
        color: var(--wine);
        font-size: 12px
    }

.checkout-form {
    display: grid;
    gap: 13px
}

    .checkout-form h3 {
        font: 800 23px Georgia;
        margin: 0
    }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.success-modal {
    position: fixed;
    inset: 0;
    background: #241614aa;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px
}

.success-card {
    width: min(440px,100%);
    background: #fff;
    border-radius: 30px;
    padding: 38px;
    text-align: center;
    box-shadow: var(--shadow)
}

.success-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #198754;
    color: #fff;
    font-size: 38px
}

.success-card h2 {
    font: 800 36px Georgia;
    margin: 15px
}

.success-card strong {
    display: block;
    color: var(--wine);
    font-size: 28px;
    margin: 10px
}

.empty-state {
    text-align: center;
    color: var(--muted);
    padding: 50px
}

@media(max-width:1000px) {
    .location-view {
        grid-template-columns: 1fr
    }

    .item-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:650px) {
    .site-header {
        height: 68px;
        padding: 10px 15px
    }

    .brand strong {
        font-size: 16px
    }

    .brand small {
        display: none
    }

    .location-view {
        padding: 35px 17px
    }

    .hero-copy h1 {
        font-size: 45px;
        letter-spacing: -2px
    }

    .trust-row {
        gap: 10px
    }

    .location-card {
        padding: 25px 20px
    }

    .menu-view {
        padding: 18px 13px 80px
    }

    .delivery-banner {
        padding: 22px;
        align-items: flex-start;
        gap: 15px
    }

        .delivery-banner h2 {
            font-size: 25px
        }

    .menu-toolbar {
        align-items: stretch;
        flex-direction: column
    }

    .category-tabs {
        top: 68px
    }

    .item-grid {
        grid-template-columns: 1fr
    }

    .two-col {
        grid-template-columns: 1fr
    }

    .food-card {
        grid-template-columns: 82px 1fr
    }

    .food-image, .food-placeholder {
        width: 82px;
        height: 82px
    }
}
