:root {
    --black: #171717;
    --black-2: #242424;
    --white: #ffffff;
    --bg: #eeeeee;
    --text: #202020;
    --muted: #777777;
    --line: #e7e7e7;
    --soft: #f5f5f5;
    --accent: #ef4b32;
    --accent-soft: #fff0ed;
    --green: #18a463;
    --shadow-main: 0 34px 90px rgba(0, 0, 0, .16);
    --shadow-soft: 0 16px 42px rgba(0, 0, 0, .10);
    --radius-xl: 38px;
    --radius-lg: 28px;
    --radius-md: 22px;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 12% 18%, rgba(239, 75, 50, .13), transparent 28%), radial-gradient(circle at 88% 12%, rgba(0, 0, 0, .08), transparent 30%), linear-gradient(135deg, #fafafa 0%, #eeeeee 100%);
    overflow-x: hidden;
}

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

button,
a {
    font: inherit;
}

button {
    border: 0;
}

/* =========================================================
   CONTENEDOR GENERAL
   ========================================================= */

.home-page {
    width: 100%;
    min-height: 100dvh;
    padding: 26px;
    display: grid;
    place-items: center;
}

.home-shell {
    width: min(1180px, 100%);
    min-height: 720px;
    display: grid;
    grid-template-columns: 46% 54%;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, .90);
    box-shadow: var(--shadow-main);
    border: 1px solid rgba(255, 255, 255, .88);
    backdrop-filter: blur(24px);
}

/* =========================================================
   LADO IZQUIERDO
   ========================================================= */

.home-visual {
    position: relative;
    min-height: 720px;
    padding: 42px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, rgba(18, 18, 18, .98), rgba(42, 42, 42, .88)), radial-gradient(circle at 38% 28%, rgba(239, 75, 50, .62), transparent 30%), radial-gradient(circle at 84% 84%, rgba(255, 255, 255, .13), transparent 26%);
}

    .home-visual::before {
        content: "";
        position: absolute;
        left: -132px;
        top: -126px;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        border: 58px solid rgba(255, 255, 255, .055);
    }

    .home-visual::after {
        content: "";
        position: absolute;
        right: -104px;
        bottom: -126px;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .07);
    }

.language-selector {
    position: absolute;
    z-index: 5;
    top: 30px;
    right: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: #202020;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.flag-es {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #c60b1e 0 25%, #ffc400 25% 75%, #c60b1e 75% 100%);
}

.visual-content {
    position: relative;
    z-index: 2;
    min-height: 100%;
    padding: 76px 0 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-card {
    width: 146px;
    height: 146px;
    display: grid;
    place-items: center;
    border-radius: 40px;
    background: linear-gradient(145deg, #fff, #eeeeee);
    color: var(--black);
    box-shadow: 0 26px 76px rgba(0, 0, 0, .34);
    transform: rotate(-4deg);
}

    .logo-card span {
        font-size: 44px;
        font-weight: 950;
        letter-spacing: -4px;
    }

.eyebrow {
    width: fit-content;
    margin-top: 28px;
    padding: 12px 17px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.visual-content h2 {
    max-width: 430px;
    margin: 30px 0 0;
    font-size: clamp(38px, 3.2vw, 48px);
    line-height: 1.02;
    letter-spacing: -2.4px;
}

.visual-content p {
    max-width: 430px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
    line-height: 1.48;
}

.visual-note {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 320px;
    padding: 17px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    color: #222;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
}

    .visual-note > span {
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        flex: 0 0 auto;
        border-radius: 17px;
        background: #f2f2f2;
        font-size: 23px;
    }

    .visual-note strong {
        display: block;
        font-size: 16px;
        margin-bottom: 3px;
    }

    .visual-note small {
        display: block;
        color: #777;
        font-size: 13px;
        line-height: 1.25;
    }

.note-one {
    left: 42px;
    bottom: 126px;
}

.note-two {
    right: 42px;
    bottom: 42px;
}

/* =========================================================
   LADO DERECHO
   ========================================================= */

.home-content {
    min-width: 0;
    padding: 64px 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.top-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.status-badge {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

    .status-badge span {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: #bdbdbd;
    }

    .status-badge.closed {
        background: #f1f1f1;
        color: #747474;
    }

    .status-badge.open {
        background: rgba(24, 164, 99, .11);
        color: #12824f;
    }

        .status-badge.open span {
            background: var(--green);
        }

    .status-badge.available {
        background: var(--accent-soft);
        color: #bb321f;
    }

.restaurant-header h1 {
    margin: 0;
    color: var(--black);
    font-size: clamp(60px, 5vw, 82px);
    line-height: .96;
    letter-spacing: -4.8px;
    white-space: nowrap;
}

.restaurant-data {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.35;
}

    .restaurant-data i {
        width: 1px;
        height: 24px;
        background: var(--line);
    }

.intro-text {
    max-width: 560px;
    margin: 34px 0 0;
    color: #565656;
    font-size: clamp(20px, 1.75vw, 24px);
    line-height: 1.46;
}

.action-panel {
    width: 100%;
    max-width: 560px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 42px;
}

.home-action {
    min-width: 0;
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border-radius: 28px;
    cursor: pointer;
    text-align: left;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

    .home-action:active {
        transform: scale(.985);
    }

    .home-action.primary {
        background: var(--black);
        color: #fff;
        box-shadow: 0 22px 52px rgba(0, 0, 0, .23);
    }

        .home-action.primary:hover {
            background: #050505;
            box-shadow: 0 26px 64px rgba(0, 0, 0, .30);
        }

    .home-action.secondary {
        background: #fff;
        color: var(--black);
        border: 1px solid var(--line);
        box-shadow: var(--shadow-soft);
    }

    .home-action.disabled {
        background: #f1f1f1;
        color: #9a9a9a;
        border: 1px solid #e2e2e2;
        cursor: not-allowed;
    }

.action-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 18px;
    background: rgba(255, 255, 255, .14);
    font-size: 24px;
}

.home-action.secondary .action-icon,
.home-action.disabled .action-icon {
    background: #fff;
}

.action-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

    .action-text strong {
        display: block;
        font-size: clamp(20px, 1.6vw, 24px);
        line-height: 1.05;
    }

    .action-text small {
        display: block;
        font-size: 13px;
        font-weight: 750;
        opacity: .7;
        line-height: 1.25;
    }

.opening-info {
    width: 100%;
    max-width: 560px;
    margin-top: 24px;
    padding: 22px 26px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

    .opening-info span {
        display: block;
        margin-bottom: 6px;
        color: var(--muted);
        font-size: 14px;
        font-weight: 900;
    }

    .opening-info strong {
        display: block;
        color: var(--black);
        font-size: 22px;
        line-height: 1.15;
    }

/* =========================================================
   PC MEDIANO: EVITA SOLAPES
   ========================================================= */

@media (max-width: 1240px) {
    .home-page {
        padding: 22px;
    }

    .home-shell {
        width: min(1080px, 100%);
        grid-template-columns: 44% 56%;
    }

    .home-content {
        padding: 58px 62px;
    }

    .restaurant-header h1 {
        font-size: clamp(54px, 4.7vw, 74px);
    }

    .intro-text {
        max-width: 520px;
    }

    .action-panel,
    .opening-info {
        max-width: 520px;
    }

    .visual-note {
        width: 300px;
    }

    .note-one {
        left: 36px;
        bottom: 124px;
    }

    .note-two {
        right: 36px;
        bottom: 40px;
    }
}

/* =========================================================
   TABLET: UNA COLUMNA
   ========================================================= */

@media (max-width: 1050px) {
    .home-shell {
        width: min(760px, 100%);
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .home-visual {
        min-height: 390px;
        padding: 36px;
    }

    .visual-content {
        min-height: 320px;
        padding: 76px 0 110px;
    }

        .visual-content h2 {
            max-width: 500px;
        }

        .visual-content p {
            max-width: 500px;
        }

    .visual-note {
        width: 300px;
    }

    .note-one {
        left: 32px;
        bottom: 106px;
    }

    .note-two {
        right: 32px;
        bottom: 28px;
    }

    .home-content {
        padding: 48px 54px 56px;
    }

    .restaurant-header h1 {
        white-space: normal;
        font-size: clamp(52px, 8vw, 72px);
    }

    .intro-text,
    .action-panel,
    .opening-info {
        max-width: none;
    }
}

/* =========================================================
   MÓVIL: COMPACTO, SIN BLOQUES INNECESARIOS
   ========================================================= */

@media (max-width: 700px) {
    body {
        background: #fff;
    }

    .home-page {
        display: block;
        padding: 0;
    }

    .home-shell {
        width: 100%;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: #fff;
        display: flex;
        flex-direction: column;
    }

    .home-visual {
        min-height: 205px;
        padding: 18px;
        border-bottom-left-radius: 32px;
        border-bottom-right-radius: 32px;
        flex: 0 0 auto;
    }

    .language-selector {
        top: 18px;
        right: 18px;
        padding: 8px 14px;
        font-size: 15px;
    }

    .flag-es {
        width: 25px;
        height: 25px;
    }

    .visual-content {
        min-height: 168px;
        padding: 56px 0 18px;
        justify-content: flex-end;
    }

    .logo-card {
        width: 90px;
        height: 90px;
        border-radius: 27px;
    }

        .logo-card span {
            font-size: 30px;
            letter-spacing: -3px;
        }

    .eyebrow {
        margin-top: 14px;
        padding: 9px 13px;
        font-size: 11px;
    }

    .visual-content h2,
    .visual-content p,
    .visual-note {
        display: none;
    }

    .home-content {
        flex: 1 1 auto;
        padding: 23px 22px 22px;
        justify-content: flex-start;
    }

    .top-status {
        margin-bottom: 15px;
        gap: 8px;
    }

    .status-badge {
        min-height: 32px;
        padding: 7px 12px;
        font-size: 12px;
    }

        .status-badge span {
            width: 9px;
            height: 9px;
        }

    .restaurant-header h1 {
        font-size: clamp(39px, 12vw, 50px);
        line-height: .96;
        letter-spacing: -2.8px;
        white-space: normal;
    }

    .restaurant-data {
        display: block;
        margin-top: 13px;
        font-size: 16px;
        line-height: 1.35;
    }

        .restaurant-data span {
            display: block;
        }

        .restaurant-data i {
            display: none;
        }

    .intro-text {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.35;
    }

    .action-panel {
        max-width: none;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 22px;
    }

    .home-action {
        min-height: 70px;
        border-radius: 23px;
        padding: 14px;
        gap: 13px;
    }

    .action-icon {
        width: 42px;
        height: 42px;
        border-radius: 15px;
        font-size: 21px;
    }

    .action-text strong {
        font-size: 19px;
    }

    .action-text small {
        font-size: 12px;
    }

    .opening-info {
        max-width: none;
        margin-top: 14px;
        padding: 16px 18px;
        border-radius: 22px;
    }

        .opening-info span {
            font-size: 12px;
            margin-bottom: 4px;
        }

        .opening-info strong {
            font-size: 18px;
        }
}

/* =========================================================
   MÓVIL BAJO / ESTRECHO
   ========================================================= */

@media (max-width: 390px), (max-height: 760px) and (max-width: 700px) {
    .home-visual {
        min-height: 178px;
        border-bottom-left-radius: 28px;
        border-bottom-right-radius: 28px;
    }

    .visual-content {
        min-height: 144px;
        padding-top: 52px;
    }

    .logo-card {
        width: 76px;
        height: 76px;
        border-radius: 23px;
    }

        .logo-card span {
            font-size: 26px;
        }

    .eyebrow {
        display: none;
    }

    .home-content {
        padding: 19px 18px 18px;
    }

    .top-status {
        margin-bottom: 12px;
    }

    .restaurant-header h1 {
        font-size: 37px;
    }

    .restaurant-data {
        font-size: 14px;
        margin-top: 10px;
    }

    .intro-text {
        font-size: 14px;
        margin-top: 13px;
    }

    .action-panel {
        margin-top: 18px;
        gap: 10px;
    }

    .home-action {
        min-height: 64px;
        padding: 12px;
    }

    .opening-info {
        padding: 13px 15px;
    }
}

/* =========================================================
   CARTA / MENU
   ========================================================= */

.menu-page {
    width: 100%;
    min-height: 100dvh;
    background: radial-gradient(circle at 14% 10%, rgba(239, 75, 50, .12), transparent 24%), linear-gradient(135deg, #f8f8f8, #eeeeee);
    display: flex;
    justify-content: center;
    padding: 22px;
}

.menu-shell {
    width: min(1280px, 100%);
    min-height: calc(100dvh - 44px);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255,255,255,.86);
    box-shadow: 0 30px 90px rgba(0,0,0,.14);
    border-radius: 38px;
    overflow: hidden;
    position: relative;
}

.menu-header {
    padding: 28px 32px 22px;
    background: linear-gradient(180deg, #f2f2f2 0%, #ffffff 70%);
    border-bottom: 1px solid #eeeeee;
}

.menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.menu-back {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #171717;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 26px;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
}

.menu-lang {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 17px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0,0,0,.10);
}

.restaurant-card {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.menu-status {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    background: #f1f1f1;
    color: #777;
    margin-bottom: 14px;
}

    .menu-status span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #bdbdbd;
    }

    .menu-status.open {
        background: rgba(24, 164, 99, .11);
        color: #12824f;
    }

        .menu-status.open span {
            background: #18a463;
        }

.restaurant-card h1 {
    margin: 0;
    color: #171717;
    font-size: clamp(38px, 5vw, 64px);
    line-height: .95;
    letter-spacing: -3.5px;
}

.restaurant-card p {
    margin: 18px 0 0;
    color: #777;
    font-size: 19px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

    .restaurant-card p i {
        width: 1px;
        height: 22px;
        background: #e4e4e4;
    }

.order-mode {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 560px;
}

.mode-option {
    min-height: 66px;
    border-radius: 22px;
    background: #f1f1f1;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    cursor: pointer;
    font-weight: 900;
}

    .mode-option.active {
        background: #171717;
        color: #fff;
        box-shadow: 0 16px 42px rgba(0,0,0,.20);
    }

    .mode-option span {
        font-size: 24px;
    }

.delivery-info {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    color: #777;
}

    .delivery-info div {
        display: inline-flex;
        align-items: baseline;
        gap: 7px;
    }

    .delivery-info strong {
        color: #171717;
        font-size: 18px;
    }

    .delivery-info span {
        font-size: 15px;
    }

.delivery-closed {
    margin-left: auto;
    font-weight: 800;
    font-size: 16px;
}

    .delivery-closed span {
        width: 13px;
        height: 13px;
        border-radius: 50%;
        border: 4px solid #cfcfcf;
    }

/* Layout carta */

.menu-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 320px;
    min-height: 520px;
}

.category-panel {
    border-right: 1px solid #eeeeee;
    background: #fafafa;
    padding: 26px 20px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

    .category-title span {
        width: 46px;
        height: 46px;
        border-radius: 16px;
        background: #171717;
        color: #fff;
        display: grid;
        place-items: center;
        font-size: 20px;
    }

    .category-title strong {
        font-size: 22px;
    }

.category-list {
    display: grid;
    gap: 10px;
}

.category-item {
    min-height: 54px;
    border-radius: 18px;
    background: transparent;
    color: #555;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    font-weight: 850;
    cursor: pointer;
    text-align: left;
}

    .category-item:hover,
    .category-item.active {
        background: #171717;
        color: #fff;
    }

    .category-item span {
        font-size: 21px;
    }

.products-panel {
    padding: 28px;
    min-width: 0;
}

.products-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

    .products-heading span {
        color: #ef4b32;
        font-size: 14px;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: .7px;
    }

    .products-heading h2 {
        margin: 6px 0 0;
        font-size: clamp(28px, 3vw, 40px);
        letter-spacing: -1.8px;
        line-height: 1;
    }

.search-button {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #f3f3f3;
    cursor: pointer;
    font-size: 22px;
}

.mobile-categories {
    display: none;
}

.product-list {
    display: grid;
    gap: 14px;
}

.product-card {
    position: relative;
    min-height: 132px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 54px;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid #eeeeee;
    box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.product-image {
    width: 112px;
    height: 96px;
    border-radius: 24px;
    background: #f4f4f4;
    display: grid;
    place-items: center;
    font-size: 42px;
}

.product-info {
    min-width: 0;
}

    .product-info h3 {
        margin: 0;
        font-size: 24px;
        font-weight: 780;
        letter-spacing: -.7px;
    }

    .product-info p {
        margin: 8px 0 12px;
        color: #777;
        font-size: 16px;
        line-height: 1.35;
    }

    .product-info strong {
        font-size: 22px;
        letter-spacing: .4px;
    }

.add-product {
    width: 46px;
    height: 46px;
    border-radius: 17px;
    background: #fff;
    color: #ef4b32;
    border: 1px solid #eeeeee;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    font-weight: 500;
}

    .add-product:hover {
        background: #ef4b32;
        color: #fff;
    }

/* Carrito */

.cart-panel {
    border-left: 1px solid #eeeeee;
    background: #fafafa;
    padding: 26px 20px;
}

.cart-card {
    position: sticky;
    top: 20px;
    background: #fff;
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 18px 44px rgba(0,0,0,.08);
    border: 1px solid #eeeeee;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .cart-header span {
        color: #ef4b32;
        font-size: 13px;
        font-weight: 950;
        text-transform: uppercase;
    }

    .cart-header strong {
        display: block;
        margin-top: 4px;
        font-size: 25px;
    }

.cart-count {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: #171717;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.cart-empty {
    text-align: center;
    padding: 42px 10px;
}

    .cart-empty div {
        width: 66px;
        height: 66px;
        border-radius: 24px;
        background: #f3f3f3;
        display: grid;
        place-items: center;
        margin: 0 auto 16px;
        font-size: 30px;
    }

    .cart-empty strong {
        display: block;
        font-size: 18px;
    }

    .cart-empty p {
        color: #777;
        font-size: 14px;
        line-height: 1.35;
    }

.cart-button {
    width: 100%;
    min-height: 58px;
    border-radius: 20px;
    background: #eeeeee;
    color: #999;
    font-weight: 900;
    cursor: not-allowed;
}

.mobile-cart-button {
    display: none;
}

/* TABLET */

@media (max-width: 1100px) {
    .menu-layout {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .cart-panel {
        display: none;
    }

    .mobile-cart-button {
        display: flex;
    }
}

/* MÓVIL */

@media (max-width: 760px) {
    .menu-page {
        padding: 0;
        background: #fff;
    }

    .menu-shell {
        min-height: 100dvh;
        border-radius: 0;
        border: 0;
        box-shadow: none;
    }

    .menu-header {
        padding: 18px 18px 16px;
        border-bottom: 0;
    }

    .menu-top {
        margin-bottom: 18px;
    }

    .menu-back {
        width: 44px;
        height: 44px;
        border-radius: 16px;
    }

    .menu-lang {
        padding: 8px 14px;
    }

    .restaurant-card h1 {
        font-size: 40px;
        letter-spacing: -2.4px;
    }

    .restaurant-card p {
        display: block;
        margin-top: 12px;
        font-size: 16px;
        line-height: 1.35;
    }

        .restaurant-card p i {
            display: none;
        }

    .order-mode {
        margin-top: 20px;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mode-option {
        min-height: 58px;
        border-radius: 18px;
        font-size: 14px;
    }

        .mode-option span {
            font-size: 21px;
        }

    .delivery-info {
        margin-top: 12px;
        gap: 12px;
    }

        .delivery-info strong {
            font-size: 16px;
        }

        .delivery-info span {
            font-size: 13px;
        }

    .delivery-closed {
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
    }

    .menu-layout {
        display: block;
        padding-bottom: 92px;
    }

    .category-panel {
        display: none;
    }

    .products-panel {
        padding: 16px 18px 22px;
    }

    .products-heading {
        margin-bottom: 14px;
    }

        .products-heading h2 {
            font-size: 30px;
        }

    .search-button {
        width: 50px;
        height: 50px;
        border-radius: 17px;
    }

    .mobile-categories {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 4px 0 16px;
        scrollbar-width: none;
    }

        .mobile-categories::-webkit-scrollbar {
            display: none;
        }

    .mobile-category {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 0 16px;
        border-radius: 999px;
        background: #f1f1f1;
        color: #555;
        font-weight: 850;
        cursor: pointer;
    }

        .mobile-category.active {
            background: #171717;
            color: #fff;
        }

    .product-list {
        gap: 12px;
    }

    .product-card {
        min-height: 124px;
        grid-template-columns: 82px minmax(0, 1fr) 44px;
        gap: 14px;
        padding: 14px;
        border-radius: 24px;
        box-shadow: none;
    }

    .product-image {
        width: 82px;
        height: 82px;
        border-radius: 20px;
        font-size: 34px;
    }

    .product-info h3 {
        font-size: 21px;
    }

    .product-info p {
        font-size: 14px;
        margin: 6px 0 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-info strong {
        font-size: 20px;
    }

    .add-product {
        width: 42px;
        height: 42px;
        border-radius: 15px;
        font-size: 25px;
    }

    .mobile-cart-button {
        position: fixed;
        left: 18px;
        right: 18px;
        bottom: 18px;
        z-index: 20;
        min-height: 64px;
        border-radius: 24px;
        background: #171717;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 18px;
        box-shadow: 0 20px 50px rgba(0,0,0,.24);
        cursor: pointer;
    }

        .mobile-cart-button span {
            font-size: 24px;
        }

        .mobile-cart-button strong {
            flex: 1;
            text-align: left;
            font-size: 18px;
        }

        .mobile-cart-button em {
            font-style: normal;
            font-weight: 900;
        }
}

/* MÓVIL PEQUEÑO */

@media (max-width: 390px) {
    .restaurant-card h1 {
        font-size: 36px;
    }

    .products-heading h2 {
        font-size: 27px;
    }

    .product-card {
        grid-template-columns: 76px minmax(0, 1fr) 40px;
        gap: 11px;
        padding: 12px;
    }

    .product-image {
        width: 76px;
        height: 76px;
    }

    .product-info h3 {
        font-size: 19px;
    }

    .product-info p {
        font-size: 13px;
    }
}

/* =========================================================
   V3 - CARTA DIGITAL LIMPIA / SIN PEDIDO
   ========================================================= */
.carta-page {
    min-height: 100dvh;
    padding: 22px;
    display: flex;
    justify-content: center;
    background: radial-gradient(circle at 12% 10%, rgba(239,75,50,.10), transparent 24%), linear-gradient(135deg,#fafafa,#eeeeee);
}
.carta-shell {
    width: min(1180px, 100%);
    min-height: calc(100dvh - 44px);
    overflow: hidden;
    border-radius: 38px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 32px 90px rgba(0,0,0,.14);
}
.carta-hero {
    padding: 26px 32px 24px;
    background: linear-gradient(180deg,#f2f2f2 0%, #fff 72%);
    border-bottom: 1px solid #ececec;
}
.carta-topbar, .pedido-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.carta-back {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: var(--black);
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.carta-lang {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 17px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0,0,0,.10);
}
.carta-status-row { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:14px; }
.carta-status {
    display: inline-flex;
    align-items:center;
    gap:8px;
    min-height:34px;
    padding: 8px 13px;
    border-radius: 999px;
    background:#f1f1f1;
    color:#777;
    font-size:13px;
    font-weight:900;
}
.carta-status span { width:10px; height:10px; border-radius:50%; background:#bdbdbd; }
.carta-status.open { background: rgba(24,164,99,.11); color:#12824f; }
.carta-status.open span { background:#18a463; }
.carta-status.available { background: var(--accent-soft); color:#bb321f; }
.carta-restaurant h1 {
    margin:0;
    color:var(--black);
    font-size: clamp(42px, 5.2vw, 70px);
    line-height:.95;
    letter-spacing:-4px;
}
.carta-restaurant p {
    margin:18px 0 0;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px 16px;
    color:#777;
    font-size:20px;
}
.carta-restaurant p i { width:1px; height:22px; background:#e2e2e2; }
.carta-intro {
    margin-top:24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:18px;
    border-radius:26px;
    background:#fff;
    border:1px solid #ededed;
    box-shadow: 0 14px 36px rgba(0,0,0,.06);
}
.carta-intro strong { display:block; font-size:18px; color:var(--black); }
.carta-intro span { display:block; margin-top:4px; color:#777; font-size:15px; line-height:1.35; }
.carta-cta {
    min-height:52px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 20px;
    border-radius:18px;
    background:var(--black);
    color:#fff;
    font-weight:950;
    white-space:nowrap;
}
.carta-cta.disabled { background:#eeeeee; color:#999; cursor:not-allowed; }
.carta-message { margin:24px; padding:22px; border-radius:22px; background:#f7f7f7; border:1px solid #e7e7e7; }
.carta-message strong, .carta-message span { display:block; }
.carta-message span { color:#777; margin-top:6px; }
.carta-message.error { background:#fff0ed; border-color:#ffd6cc; color:#a92b18; }
.carta-body {
    display:grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height:520px;
}
.carta-categories-desktop {
    padding:26px 22px;
    background:#fafafa;
    border-right:1px solid #eeeeee;
}
.carta-section-title { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.carta-section-title span { width:46px; height:46px; border-radius:16px; display:grid; place-items:center; background:var(--black); color:#fff; }
.carta-section-title strong { font-size:22px; }
.carta-categories-desktop nav { display:grid; gap:10px; }
.carta-category-link {
    min-height:56px;
    padding:0 14px;
    border-radius:18px;
    display:flex;
    align-items:center;
    gap:12px;
    color:#555;
    font-weight:850;
}
.carta-category-link span { font-size:22px; }
.carta-category-link.active, .carta-category-link:hover { background:var(--black); color:#fff; }
.carta-products-zone { padding:28px; min-width:0; }
.carta-products-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; }
.carta-products-head span { color:var(--accent); font-size:14px; font-weight:950; text-transform:uppercase; letter-spacing:.7px; }
.carta-products-head h2 { margin:6px 0 0; font-size:clamp(34px,4vw,48px); line-height:1; letter-spacing:-2.4px; }
.carta-search { width:54px; height:54px; border-radius:18px; background:#f3f3f3; font-size:28px; cursor:pointer; }
.carta-categories-mobile { display:none; }
.carta-product-list { display:grid; gap:14px; }
.carta-product-card {
    display:grid;
    grid-template-columns: 108px minmax(0,1fr);
    gap:18px;
    padding:18px;
    border-radius:28px;
    background:#fff;
    border:1px solid #eeeeee;
    box-shadow: 0 14px 34px rgba(0,0,0,.055);
}
.carta-product-media { width:108px; height:98px; border-radius:24px; background:#f4f4f4; display:grid; place-items:center; }
.carta-product-media span { font-size:42px; }
.carta-product-main { min-width:0; }
.carta-product-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.carta-product-title-row h3 { margin:0; font-size:26px; letter-spacing:-.8px; line-height:1.08; }
.carta-product-title-row strong { font-size:24px; white-space:nowrap; }
.carta-product-main p { margin:8px 0 12px; color:#777; font-size:16px; line-height:1.35; }
.carta-product-detail summary { cursor:pointer; width:fit-content; color:var(--accent); font-weight:900; font-size:14px; }
.carta-product-detail div { margin-top:10px; display:flex; flex-wrap:wrap; gap:8px; }
.carta-product-detail div span { padding:7px 10px; border-radius:999px; background:#f4f4f4; color:#666; font-size:13px; font-weight:750; }
.carta-empty-category { padding:24px; border-radius:24px; background:#fff; border:1px solid #eeeeee; }
.carta-empty-category strong, .carta-empty-category span { display:block; }
.carta-empty-category span { color:#777; margin-top:6px; }

/* =========================================================
   V3 - PEDIDO ONLINE BASE
   ========================================================= */
.pedido-page { min-height:100dvh; padding:22px; background:linear-gradient(135deg,#fafafa,#eeeeee); }
.pedido-shell { width:min(1280px,100%); margin:auto; min-height:calc(100dvh - 44px); border-radius:38px; overflow:hidden; background:#fff; box-shadow:0 32px 90px rgba(0,0,0,.14); }
.pedido-header { padding:26px 32px 22px; background:linear-gradient(180deg,#f2f2f2,#fff 72%); border-bottom:1px solid #eee; }
.pedido-header h1 { margin:0; font-size:clamp(40px,5vw,64px); letter-spacing:-3px; line-height:.95; }
.pedido-header p { color:#777; font-size:19px; margin:16px 0 0; }
.pedido-header p span { display:inline-block; width:1px; height:20px; background:#e1e1e1; margin:0 14px; vertical-align:middle; }
.pedido-mode-tabs { margin-top:24px; display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:560px; }
.pedido-mode-tabs button { min-height:64px; border-radius:22px; background:#f1f1f1; font-weight:900; cursor:pointer; }
.pedido-mode-tabs button.active { background:var(--black); color:#fff; }
.pedido-board { display:grid; grid-template-columns:230px minmax(0,1fr) 320px; min-height:520px; }
.pedido-categories { padding:24px 18px; background:#fafafa; border-right:1px solid #eee; display:grid; align-content:start; gap:10px; }
.pedido-categories a { min-height:52px; border-radius:18px; display:flex; align-items:center; gap:10px; padding:0 14px; font-weight:850; color:#555; }
.pedido-categories a.active, .pedido-categories a:hover { background:var(--black); color:#fff; }
.pedido-products { padding:28px; display:grid; gap:14px; align-content:start; }
.pedido-title span { color:var(--accent); font-weight:950; font-size:14px; text-transform:uppercase; }
.pedido-title h2 { margin:6px 0 10px; font-size:clamp(30px,3vw,42px); letter-spacing:-2px; }
.pedido-product { display:grid; grid-template-columns:86px minmax(0,1fr) 46px; gap:16px; align-items:center; padding:16px; border-radius:26px; border:1px solid #eee; background:#fff; box-shadow:0 12px 28px rgba(0,0,0,.055); }
.pedido-product-img { width:86px; height:86px; border-radius:22px; background:#f4f4f4; display:grid; place-items:center; font-size:34px; }
.pedido-product h3 { margin:0; font-size:23px; }
.pedido-product p { margin:7px 0 10px; color:#777; line-height:1.35; }
.pedido-product strong { font-size:21px; }
.pedido-add { width:46px; height:46px; border-radius:16px; background:#fff; border:1px solid #eee; color:var(--accent); font-size:28px; box-shadow:0 10px 24px rgba(0,0,0,.12); cursor:pointer; }
.pedido-cart { padding:24px 18px; background:#fafafa; border-left:1px solid #eee; }
.pedido-cart-card { position:sticky; top:20px; padding:22px; border-radius:28px; background:#fff; border:1px solid #eee; box-shadow:0 18px 44px rgba(0,0,0,.08); }
.pedido-cart-card > span { color:var(--accent); text-transform:uppercase; font-size:13px; font-weight:950; }
.pedido-cart-card h2 { margin:4px 0 20px; font-size:28px; }
.pedido-cart-empty { display:grid; justify-items:center; gap:7px; padding:34px 10px; color:#777; text-align:center; }
.pedido-cart-empty strong { color:#222; }
.pedido-cart-empty small { display:block; }
.pedido-cart-card button { width:100%; min-height:58px; border-radius:20px; background:#eee; color:#999; font-weight:900; }

@media (max-width: 900px) {
    .carta-page, .pedido-page { padding:0; background:#fff; }
    .carta-shell, .pedido-shell { min-height:100dvh; border-radius:0; box-shadow:none; border:0; }
    .carta-hero, .pedido-header { padding:18px; }
    .carta-topbar, .pedido-topbar { margin-bottom:18px; }
    .carta-back { width:44px; height:44px; border-radius:16px; }
    .carta-restaurant h1, .pedido-header h1 { font-size:40px; letter-spacing:-2.4px; }
    .carta-restaurant p, .pedido-header p { display:block; font-size:16px; line-height:1.35; margin-top:12px; }
    .carta-restaurant p i, .pedido-header p span { display:none; }
    .carta-intro { align-items:stretch; flex-direction:column; padding:16px; border-radius:22px; margin-top:18px; }
    .carta-cta { width:100%; }
    .carta-body { display:block; }
    .carta-categories-desktop { display:none; }
    .carta-products-zone { padding:16px 18px 24px; }
    .carta-products-head { margin-bottom:14px; }
    .carta-products-head h2 { font-size:32px; }
    .carta-categories-mobile { display:flex; gap:10px; overflow-x:auto; padding:4px 0 16px; scrollbar-width:none; }
    .carta-categories-mobile::-webkit-scrollbar { display:none; }
    .carta-mobile-chip { flex:0 0 auto; min-height:42px; display:inline-flex; align-items:center; padding:0 16px; border-radius:999px; background:#f1f1f1; color:#555; font-weight:850; }
    .carta-mobile-chip.active { background:var(--black); color:#fff; }
    .carta-product-card { grid-template-columns:82px minmax(0,1fr); gap:14px; padding:14px; border-radius:24px; box-shadow:none; }
    .carta-product-media { width:82px; height:82px; border-radius:20px; }
    .carta-product-media span { font-size:34px; }
    .carta-product-title-row h3 { font-size:21px; }
    .carta-product-title-row strong { font-size:20px; }
    .carta-product-main p { font-size:14px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
    .pedido-mode-tabs { grid-template-columns:1fr 1fr; }
    .pedido-board { display:block; padding-bottom:24px; }
    .pedido-categories { display:flex; gap:10px; overflow-x:auto; padding:14px 18px; border-right:0; border-bottom:1px solid #eee; }
    .pedido-categories a { flex:0 0 auto; background:#f1f1f1; min-height:42px; border-radius:999px; }
    .pedido-products { padding:16px 18px; }
    .pedido-cart { display:none; }
    .pedido-product { grid-template-columns:76px minmax(0,1fr) 42px; padding:13px; border-radius:23px; box-shadow:none; }
    .pedido-product-img { width:76px; height:76px; border-radius:19px; }
    .pedido-product h3 { font-size:20px; }
    .pedido-product p { font-size:14px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
}

/* =========================================================
   V7 - PEDIDO ONLINE APP 100% MÃ“VIL + COMPLEMENTOS TPV
   ========================================================= */
.pedido-page[data-pedido-page] {
    --pedido-bottom-safe: max(18px, env(safe-area-inset-bottom));
    min-height: 100dvh;
}

.pedido-app-header {
    position: relative;
}

.pedido-restaurant-card {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.pedido-open-state {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #777;
    font-weight: 900;
    font-size: 18px;
    padding: 12px 15px;
    border-radius: 999px;
    background: #f3f3f3;
}

.pedido-open-state i {
    width: 13px;
    height: 13px;
    display: block;
    border-radius: 50%;
    border: 4px solid #cfcfcf;
}

.pedido-open-state.open {
    color: #12824f;
    background: rgba(24, 164, 99, .12);
}

.pedido-open-state.open i {
    border-color: #18a463;
    background: #18a463;
}

.pedido-service-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: #777;
    font-weight: 750;
    font-size: 15px;
}

.pedido-service-info strong {
    color: var(--black);
    font-weight: 950;
}

.pedido-service-info i {
    width: 1px;
    height: 18px;
    background: #dfdfdf;
}

.pedido-title p {
    margin: -2px 0 8px;
    color: #777;
    line-height: 1.35;
}

.pedido-product {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 46px;
}

.pedido-product-main-button {
    min-width: 0;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    width: 100%;
    padding: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.pedido-product-img span {
    filter: drop-shadow(0 7px 16px rgba(0,0,0,.10));
}

.pedido-product-info {
    min-width: 0;
}

.pedido-product-info h3,
.pedido-product-info p {
    overflow: hidden;
    text-overflow: ellipsis;
}

.pedido-product:hover {
    transform: translateY(-1px);
    border-color: #dedede;
}

.pedido-add:active,
.pedido-mode-tabs button:active,
.pedido-mobile-cart:active,
.pedido-sheet-footer button:active {
    transform: scale(.98);
}

.pedido-cart-lines {
    display: grid;
    gap: 10px;
    max-height: min(44dvh, 420px);
    overflow: auto;
    padding-right: 4px;
}

.pedido-cart-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    background: #f8f8f8;
    border: 1px solid #eeeeee;
}

.pedido-cart-line h4 {
    margin: 0;
    font-size: 15px;
    line-height: 1.18;
}

.pedido-cart-line p {
    margin: 5px 0 0;
    color: #777;
    font-size: 12px;
    line-height: 1.25;
}

.pedido-cart-line strong {
    display: block;
    margin-top: 6px;
    font-size: 14px;
}

.pedido-line-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pedido-line-actions button {
    width: 31px;
    height: 31px;
    border-radius: 11px;
    background: #fff;
    color: var(--black);
    border: 1px solid #e5e5e5;
    font-weight: 950;
    cursor: pointer;
}

.pedido-line-actions span {
    min-width: 20px;
    text-align: center;
    font-weight: 950;
}

.pedido-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0;
    padding-top: 16px;
    border-top: 1px solid #eeeeee;
}

.pedido-cart-total span {
    color: #777;
    font-weight: 900;
}

.pedido-cart-total strong {
    font-size: 26px;
}

.pedido-cart-card button:not(:disabled),
.pedido-sheet-footer .primary,
.pedido-checkout-form .primary {
    background: var(--black);
    color: #fff;
    cursor: pointer;
}

.pedido-cart-card button:disabled {
    cursor: not-allowed;
}

.pedido-mobile-cart {
    position: fixed;
    z-index: 40;
    left: 16px;
    right: 16px;
    bottom: var(--pedido-bottom-safe);
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 18px;
    border-radius: 24px;
    background: rgba(23, 23, 23, .96);
    color: #fff;
    box-shadow: 0 22px 58px rgba(0,0,0,.28);
    backdrop-filter: blur(14px);
    cursor: pointer;
}

.pedido-mobile-cart[hidden] {
    display: none;
}

.pedido-mobile-cart span {
    font-size: 24px;
}

.pedido-mobile-cart strong {
    flex: 1;
    text-align: left;
    font-size: 17px;
}

.pedido-mobile-cart em {
    font-style: normal;
    font-size: 18px;
    font-weight: 950;
}

.pedido-sheet {
    position: fixed;
    z-index: 60;
    inset: 0;
    display: none;
}

.pedido-sheet.is-open {
    display: block;
}

.pedido-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(3px);
}

.pedido-sheet-panel {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(760px, 100%);
    max-height: min(88dvh, 820px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(-50%);
    border-top-left-radius: 34px;
    border-top-right-radius: 34px;
    background: #fff;
    box-shadow: 0 -22px 68px rgba(0,0,0,.25);
}

.pedido-sheet-handle {
    width: 54px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: #dedede;
    flex: 0 0 auto;
}

.pedido-sheet-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 12px;
    border-bottom: 1px solid #eeeeee;
}

.pedido-sheet-header small {
    display: block;
    color: #777;
    font-weight: 850;
    margin-bottom: 5px;
}

.pedido-sheet-header h2 {
    margin: 0;
    font-size: clamp(25px, 5vw, 34px);
    line-height: 1.04;
    letter-spacing: -1.2px;
}

.pedido-sheet-header p {
    margin: 7px 0 0;
    color: #777;
    line-height: 1.35;
}

.pedido-sheet-header button {
    width: 43px;
    height: 43px;
    border-radius: 15px;
    background: #f2f2f2;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.pedido-options-body {
    overflow: auto;
    padding: 18px 20px 110px;
}

.pedido-option-group {
    padding-bottom: 26px;
}

.pedido-option-group + .pedido-option-group {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.pedido-option-group-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.pedido-option-group-head small {
    display: block;
    color: #777;
    font-size: 14px;
    margin-bottom: 4px;
}

.pedido-option-group-head h3 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 22px;
    line-height: 1.18;
}

.pedido-option-group-head span {
    flex: 0 0 auto;
    color: #777;
    font-weight: 850;
    padding-top: 26px;
}

.pedido-option-list {
    display: grid;
    gap: 4px;
}

.pedido-option-row {
    min-height: 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 25px;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
}

.pedido-option-row strong {
    font-size: 18px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 650;
}

.pedido-option-row em {
    font-style: normal;
    color: #079258;
    font-family: Consolas, ui-monospace, monospace;
    font-size: 18px;
    font-weight: 950;
}

.pedido-option-box {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 3px solid #e9e9e9;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
}

.pedido-option-row.is-selected .pedido-option-box {
    background: var(--accent);
    border-color: var(--accent);
}

.pedido-option-row.is-selected .pedido-option-box::before {
    content: "âœ“";
}

.pedido-sheet-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
    gap: 12px;
    padding: 14px 20px max(14px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255,255,255,.82), #fff 34%);
    border-top: 1px solid rgba(238,238,238,.82);
}

.pedido-sheet-footer button,
.pedido-checkout-form .primary {
    min-height: 58px;
    border-radius: 19px;
    font-weight: 950;
    cursor: pointer;
}

.pedido-sheet-footer .secondary {
    background: #f7f7f7;
    color: #333;
    border: 1px solid #dfdfdf;
}

.pedido-sheet-footer .primary:disabled,
.pedido-checkout-form .primary:disabled {
    background: #ededed;
    color: #999;
    cursor: not-allowed;
}

.pedido-cart-sheet-panel,
.pedido-checkout-panel {
    max-height: min(84dvh, 760px);
}

.pedido-cart-lines-modal {
    padding: 16px 20px 0;
    max-height: 46dvh;
}

.modal-total {
    margin: 16px 20px 98px;
}

.pedido-checkout-form {
    display: grid;
    gap: 12px;
    overflow: auto;
    padding: 16px 20px 110px;
}

.pedido-checkout-form label {
    display: grid;
    gap: 7px;
    color: #555;
    font-size: 14px;
    font-weight: 900;
}

.pedido-checkout-form label strong {
    color: var(--accent);
}

.pedido-checkout-form input,
.pedido-checkout-form textarea,
.pedido-checkout-form select {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    padding: 15px 16px;
    background: #f8f8f8;
    color: #222;
    font: inherit;
    font-weight: 650;
    outline: none;
}

.pedido-checkout-form input:focus,
.pedido-checkout-form textarea:focus,
.pedido-checkout-form select:focus {
    border-color: #bdbdbd;
    background: #fff;
}

.pedido-checkout-form small {
    color: #777;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 750;
}

.pedido-checkout-warning {
    padding: 13px 15px;
    border-radius: 16px;
    background: #fff0ed;
    color: #a92b18;
    font-weight: 850;
    line-height: 1.35;
}

.pedido-checkout-form .full {
    width: 100%;
}

@media (min-width: 901px) {
    .pedido-sheet-panel {
        bottom: 28px;
        border-radius: 34px;
    }

    .pedido-sheet-footer {
        border-bottom-left-radius: 34px;
        border-bottom-right-radius: 34px;
    }
}

@media (max-width: 900px) {
    .pedido-page[data-pedido-page] {
        background: #fff;
    }

    .pedido-app-header {
        padding: 15px 18px 14px;
        border-bottom: 0;
        background: linear-gradient(180deg, #eeeeee 0%, #f6f6f6 58%, #fff 100%);
    }

    .pedido-restaurant-card {
        display: block;
    }

    .pedido-open-state {
        margin-top: 14px;
        width: fit-content;
        font-size: 15px;
        padding: 9px 12px;
    }

    .pedido-mode-tabs {
        max-width: none;
        gap: 8px;
        margin-top: 17px;
        padding: 6px;
        border-radius: 20px;
        background: #eeeeee;
    }

    .pedido-mode-tabs button {
        min-height: 54px;
        border-radius: 16px;
        font-size: 14px;
    }

    .pedido-service-info {
        width: 100%;
        margin-top: 12px;
        font-size: 13px;
        flex-wrap: wrap;
    }

    .pedido-categories {
        position: sticky;
        top: 0;
        z-index: 20;
        background: rgba(255,255,255,.94);
        backdrop-filter: blur(14px);
        scrollbar-width: none;
    }

    .pedido-categories::-webkit-scrollbar {
        display: none;
    }

    .pedido-title h2 {
        margin-bottom: 7px;
        font-size: 30px;
    }

    .pedido-title p {
        font-size: 14px;
    }

    .pedido-products {
        padding-bottom: 96px;
    }

    .pedido-product {
        grid-template-columns: minmax(0, 1fr) 42px;
    }

    .pedido-product-main-button {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 13px;
    }

    .pedido-product strong {
        font-size: 20px;
    }

    .pedido-add {
        width: 42px;
        height: 42px;
        border-radius: 15px;
        font-size: 25px;
    }

    .pedido-sheet-panel {
        width: 100%;
        max-height: 90dvh;
    }

    .pedido-options-body {
        padding: 16px 18px 106px;
    }

    .pedido-option-group-head h3 {
        font-size: 20px;
    }

    .pedido-option-row {
        min-height: 62px;
    }

    .pedido-option-row strong {
        font-size: 17px;
    }
}

@media (max-width: 430px) {
    .pedido-header h1 {
        font-size: 36px;
        letter-spacing: -2px;
    }

    .pedido-header p {
        font-size: 15px;
    }

    .pedido-products {
        padding-left: 14px;
        padding-right: 14px;
    }

    .pedido-product {
        grid-template-columns: minmax(0, 1fr) 40px;
        gap: 10px;
        padding: 12px;
    }

    .pedido-product-main-button {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 11px;
    }

    .pedido-product-img {
        width: 70px;
        height: 70px;
        border-radius: 18px;
        font-size: 28px;
    }

    .pedido-product h3 {
        font-size: 18px;
    }

    .pedido-product p {
        margin: 5px 0 7px;
        font-size: 13px;
    }

    .pedido-product strong {
        font-size: 18px;
    }

    .pedido-option-group-head {
        display: block;
    }

    .pedido-option-group-head span {
        display: block;
        padding-top: 5px;
    }

    .pedido-sheet-footer {
        grid-template-columns: 1fr 1.25fr;
        gap: 10px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .pedido-sheet-footer button,
    .pedido-checkout-form .primary {
        min-height: 56px;
        border-radius: 17px;
    }
}
