* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5f2eb;
    color: #171512;
    font-family: Inter, Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   HEADER
========================================================= */

.menu-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 72px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(30, 27, 22, 0.08);
}

.header-inner {
    width: min(1180px, calc(100% - 40px));
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    color: #171512;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.brand img {
    max-height: 42px;
    width: auto;
}

.brand-text {
    display: block;
}

.table-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;

    border: 1px solid #ded9cf;
    border-radius: 999px;

    background: #faf8f3;

    color: #5d584f;
    font-size: 13px;
    font-weight: 600;
}

.table-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7d8d68;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 410px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 24px auto 0;

    width: min(1180px, calc(100% - 40px));

    overflow: hidden;

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(255,255,255,.10),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #15130f,
            #27231d 55%,
            #100f0d
        );

    color: #fff;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent 0%,
            rgba(255,255,255,.035) 50%,
            transparent 100%
        );

    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 10%,
            rgba(0,0,0,.42) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    text-align: center;

    padding: 50px 25px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 16px;

    color: #c8b58d;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 4px;
}

.hero h1 {
    margin: 0;

    color: #fff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(38px, 6vw, 68px);

    line-height: 1.05;

    font-weight: 400;

    letter-spacing: -1.5px;
}

.hero-line {
    width: 60px;
    height: 1px;

    margin: 24px auto;

    background: #c8b58d;
}

.hero p {
    margin: 0;

    color: rgba(255,255,255,.72);

    font-size: 15px;
    line-height: 1.6;
}

/* =========================================================
   CATEGORY NAVIGATION
========================================================= */

.menu-navigation {
    position: sticky;
    top: 72px;
    z-index: 50;

    margin-top: 22px;

    background: rgba(245,242,235,.94);

    backdrop-filter: blur(15px);
}

.category-scroll {
    width: min(1180px, calc(100% - 40px));

    margin: auto;

    display: flex;
    gap: 9px;

    overflow-x: auto;

    padding: 8px 0 14px;

    scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-button {
    flex: 0 0 auto;

    border: 1px solid #d9d4ca;

    background: rgba(255,255,255,.78);

    color: #575249;

    padding: 10px 17px;

    border-radius: 999px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 600;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.category-button:hover {
    transform: translateY(-1px);
    border-color: #aaa297;
}

.category-button.active {
    background: #171512;
    border-color: #171512;

    color: #fff;
}

/* =========================================================
   MENU SECTION
========================================================= */

.menu-section {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding: 55px 0 120px;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading > span {
    display: block;

    margin-bottom: 8px;

    color: #9a8a68;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 3px;
}

.section-heading h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(30px, 4vw, 44px);

    font-weight: 400;

    color: #1b1814;
}

.heading-line {
    width: 55px;
    height: 2px;

    margin-top: 18px;

    background: #b49b6d;
}

/* =========================================================
   PRODUCT GRID
========================================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.product-card {
    position: relative;

    overflow: hidden;

    background: #fff;

    border: 1px solid rgba(30,27,22,.08);

    border-radius: 20px;

    box-shadow:
        0 8px 30px rgba(25,20,10,.045);

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 45px rgba(25,20,10,.10);
}

.product-card.hidden {
    display: none;
}

/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-image {
    position: relative;

    height: 235px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ded9cf,
            #f4f1eb
        );
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.045);
}

.image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #9c9588;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.featured-label {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 7px 11px;

    border-radius: 999px;

    background: rgba(20,18,15,.88);

    color: #e6d2a6;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

/* =========================================================
   PRODUCT CONTENT
========================================================= */

.product-content {
    padding: 20px 20px 21px;
}

.product-meta {
    margin-bottom: 7px;
}

.product-category {
    color: #9a8a68;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}

.product-content h3 {
    margin: 0;

    color: #1b1814;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 22px;
    font-weight: 500;

    line-height: 1.2;
}

.product-content p {
    margin: 10px 0 0;

    min-height: 42px;

    color: #7b756c;

    font-size: 13px;

    line-height: 1.6;
}

.product-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 20px;
}

.price {
    display: flex;

    align-items: baseline;

    gap: 5px;

    color: #171512;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 22px;
    font-weight: 700;
}

.price span {
    font-family: Inter, Arial, sans-serif;

    color: #777066;

    font-size: 12px;
    font-weight: 600;
}

.add-button {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    border: 0;

    padding: 10px 14px;

    border-radius: 11px;

    background: #171512;

    color: #fff;

    cursor: pointer;

    font-size: 12px;
    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease;
}

.add-button:hover {
    background: #302b24;

    transform: translateY(-1px);
}

.add-button span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;

    border-radius: 50%;

    background: rgba(255,255,255,.12);

    font-size: 15px;
}

.add-button.added {
    background: #657452;
}

/* =========================================================
   EMPTY MENU
========================================================= */

.empty-menu {
    padding: 80px 20px;

    text-align: center;

    border: 1px dashed #d5cfc4;

    border-radius: 20px;

    background: rgba(255,255,255,.5);

    color: #777066;
}

.empty-icon {
    margin-bottom: 15px;

    color: #b19c78;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 32px;
}

.empty-menu h3 {
    margin: 0 0 8px;

    color: #28241e;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 24px;
    font-weight: 400;
}

.empty-menu p {
    margin: 0;

    font-size: 14px;
}

/* =========================================================
   CART BAR
========================================================= */

.cart-bar {
    position: fixed;

    left: 50%;

    bottom: 20px;

    z-index: 200;

    width: min(760px, calc(100% - 30px));

    transform: translateX(-50%);

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 13px 15px 13px 17px;

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 18px;

    background: rgba(23,21,18,.96);

    box-shadow:
        0 18px 50px rgba(0,0,0,.25);

    color: #fff;

    backdrop-filter: blur(20px);
}

.cart-info {
    display: flex;

    align-items: center;

    gap: 11px;
}

.cart-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: rgba(255,255,255,.09);

    font-size: 18px;
}

.cart-info strong {
    display: block;

    font-size: 13px;
}

.cart-info span,
.cart-total span {
    display: block;

    margin-top: 2px;

    color: rgba(255,255,255,.55);

    font-size: 10px;
}

.cart-total {
    margin-left: auto;

    text-align: right;
}

.cart-total strong {
    font-size: 15px;
}

.cart-button {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    border: 0;

    padding: 12px 17px;

    border-radius: 12px;

    background: #e4d0a5;

    color: #171512;

    cursor: pointer;

    font-size: 12px;
    font-weight: 800;
}

.cart-button span {
    font-size: 17px;
}

/* =========================================================
   PRODUCT MODAL
========================================================= */

.product-modal {
    position: fixed;

    inset: 0;

    z-index: 500;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.product-modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(10,9,7,.72);

    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;

    z-index: 2;

    width: min(520px, 100%);

    max-height: calc(100vh - 40px);

    overflow: auto;

    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 30px 80px rgba(0,0,0,.35);
}

.modal-close {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 5;

    width: 38px;
    height: 38px;

    border: 0;

    border-radius: 50%;

    background: rgba(0,0,0,.6);

    color: #fff;

    cursor: pointer;

    font-size: 22px;
}

.modal-product-image {
    height: 300px;

    overflow: hidden;

    background: #eee;
}

.modal-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.modal-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    color: #999;

    font-family: Georgia, "Times New Roman", serif;
}

.modal-body {
    padding: 25px;
}

.modal-body h2 {
    margin: 7px 0 10px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;
    font-weight: 500;
}

.modal-body p {
    margin: 0;

    color: #777066;

    font-size: 14px;

    line-height: 1.7;
}

.modal-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #eee;
}

.modal-bottom strong {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 23px;
}

.modal-add-button {
    border: 0;

    padding: 12px 17px;

    border-radius: 11px;

    background: #171512;

    color: #fff;

    cursor: pointer;

    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .hero {
        min-height: 360px;
    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .menu-header {
        height: 64px;
    }

    .header-inner {
        width: calc(100% - 28px);
    }

    .brand {
        font-size: 19px;
    }

    .table-pill {
        padding: 7px 11px;

        font-size: 11px;
    }

    .menu-navigation {
        top: 64px;
    }

    .category-scroll {
        width: calc(100% - 28px);

        padding-top: 7px;
        padding-bottom: 11px;
    }

    .category-button {
        padding: 9px 14px;

        font-size: 12px;
    }

    .hero {
        width: calc(100% - 28px);

        min-height: 330px;

        margin-top: 14px;

        border-radius: 22px;
    }

    .hero-content {
        padding: 35px 20px;
    }

    .hero h1 {
        font-size: 37px;
    }

    .hero p {
        font-size: 13px;
    }

    .menu-section {
        width: calc(100% - 28px);

        padding-top: 38px;
        padding-bottom: 130px;
    }

    .section-heading {
        margin-bottom: 23px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .product-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .product-image {
        height: 230px;
    }

    .product-content {
        padding: 17px;
    }

    .product-content h3 {
        font-size: 21px;
    }

    .product-footer {
        margin-top: 17px;
    }

    .add-button {
        padding: 10px 12px;
    }

    .cart-bar {
        bottom: 12px;

        width: calc(100% - 20px);

        gap: 10px;

        padding: 10px;
    }

    .cart-total {
        display: none;
    }

    .cart-button {
        padding: 11px 13px;
    }

    .modal-content {
        border-radius: 20px;
    }

    .modal-product-image {
        height: 260px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-body h2 {
        font-size: 27px;
    }

}

/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 32px;
    }

    .product-image {
        height: 210px;
    }

    .product-footer {
        align-items: flex-end;
    }

    .add-button {
        font-size: 11px;
    }

}