:root {
    --bg: #090909;
    --bg-soft: #141414;
    --gold: #d8a52d;
    --gold-light: #f0c65d;
    --text: #f4f1e9;
    --muted: #a8a8a8;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

html, body, button, input, select, textarea, table { font-family: 'Nunito', sans-serif !important; }
body { font-family: 'Nunito', sans-serif !important; }

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, sans-serif;
    padding-bottom: 95px;
}

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

.topbar {
    min-height: 105px;
    background: #080808;
    border-bottom: 1px solid rgba(216,165,45,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 15px 50px;
    text-align: center;
    z-index: 10;
}

.restaurant-name {
    font-family: Nunito, serif;
    font-size: clamp(25px, 7vw, 46px);
    letter-spacing: 3px;
    font-weight: 700;
}

.restaurant-subtitle {
    color: var(--gold-light);
    letter-spacing: 5px;
    font-size: 11px;
    margin-top: 2px;
}

.topbar-back {
    position: absolute;
    left: 20px;
    font-size: 22px;
    color: var(--gold-light);
}

.menu-home,
.category-page,
.products-page {
    max-width: 900px;
    padding-top: 35px;
}

.welcome,
.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.eyebrow {
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 15px;
    margin-bottom: 8px;
}

.welcome h1,
.section-title h1 {
    font-family: Nunito, serif;
    font-size: clamp(28px, 7vw, 48px);
    margin: 0;
}

.welcome p {
    color: var(--muted);
    font-size: 16px;
}

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

.category-card {
    min-height: 132px;
    padding: 16px 10px;
    border: 1px solid rgba(216,165,45,.35);
    border-radius: 16px;
    background: linear-gradient(145deg, #171717, #0d0d0d);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    transition: transform .2s, border-color .2s;
}

.category-card:active {
    transform: scale(.97);
}

.category-icon {
    color: var(--gold-light);
    font-size: 29px;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(216,165,45,.35);
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.category-card h2,
.product-card h2 {
    font-family: Nunito, serif;
    margin: 0 0 5px;
}

.category-card p,
.product-card p {
    color: var(--muted);
    margin: 0;
}

.mobile-footer {
    position: fixed;
    z-index: 100;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 80px;
    padding: 10px 15px;
    background: rgba(12,12,12,.97);
    border-top: 1px solid rgba(216,165,45,.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.footer-action,
.footer-menu {
    border: 0;
    color: var(--text);
    background: transparent;
    min-height: 55px;
    padding: 8px 15px;
    border-radius: 35px;
    font-weight: 600;
}

.footer-action {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-action i {
    color: var(--gold-light);
}

.footer-menu {
    background: var(--gold);
    color: #111;
    min-width: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 16px;
}

.call-waiter {
    font-size: 12px;
}

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

.subcategory-item {
    background: var(--bg-soft);
    border: 1px solid rgba(216,165,45,.2);
    border-radius: 14px;
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 15px;
    align-items: center;
}

.subcategory-item span {
    font-family: Nunito, serif;
    font-size: 20px;
}

.subcategory-item small {
    color: var(--muted);
}

.subcategory-item i {
    color: var(--gold-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-card {
    overflow: hidden;
    background: #121212;
    border: 1px solid rgba(216,165,45,.18);
    border-radius: 16px;
}

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

.product-info {
    padding: 18px;
}

.product-price,
.detail-price {
    color: var(--gold-light);
    font-size: 22px;
    margin: 8px 0;
}

.product-link {
    display: inline-block;
    color: var(--gold-light);
    margin-top: 15px;
    font-weight: 700;
    font-size: 13px;
}

.waiter-modal {
    position: relative;
    border: 0;
    border-radius: 24px;
    padding: 35px 25px 25px;
    text-align: center;
    background: #f7f5ef;
    color: #171717;
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 15px;
    border: 0;
    background: transparent;
    font-size: 24px;
}

.waiter-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    background: #eee9dd;
    font-size: 24px;
}

.waiter-modal h2 {
    font-family: Nunito, serif;
    font-size: 25px;
}

.waiter-modal p {
    color: #666;
}

.btn-call {
    width: 100%;
    margin-top: 18px;
    border: 0;
    border-radius: 30px;
    padding: 14px;
    background: var(--gold);
    color: #111;
    font-weight: 700;
}

.btn-cancel {
    margin-top: 10px;
    border: 0;
    background: transparent;
    color: #777;
    font-weight: 700;
}

.product-topbar {
    justify-content: space-between;
}

.mute-button {
    border: 1px solid rgba(255,255,255,.3);
    color: white;
    background: rgba(0,0,0,.4);
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.product-detail {
    min-height: calc(100vh - 185px);
    position: relative;
    overflow: hidden;
}

.product-media {
    position: absolute;
    inset: 0;
}

.product-media video,
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-overlay {
    position: relative;
    min-height: calc(100vh - 185px);
    padding: 45vh 25px 110px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(transparent 30%, rgba(0,0,0,.9) 90%);
}

.product-category {
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-overlay h1 {
    font-family: Nunito, serif;
    font-size: clamp(42px, 12vw, 70px);
    margin: 5px 0;
}

.detail-price {
    font-size: 28px;
}

.product-overlay p {
    max-width: 600px;
    color: #ddd;
    font-size: 17px;
    line-height: 1.5;
}

.swipe-next {
    text-align: center;
    margin: 20px auto 0;
    color: #ddd;
    animation: bounce 1.6s infinite;
}

.swipe-next i {
    display: block;
    color: var(--gold-light);
    font-size: 25px;
    margin-bottom: 5px;
}

@keyframes bounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@media (max-width: 600px) {
    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 115px;
    }

    .category-card h2 {
        font-size: 21px;
    }

    .footer-action span {
        display: none;
    }

    .footer-action {
        width: 48px;
        justify-content: center;
        padding: 0;
    }

    .footer-menu {
        min-width: 130px;
    }
}


/* ===== MENU DESPLEGABLE MOBILE ===== */
body.menu-sheet-open {
    overflow: hidden;
}

.menu-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 180;
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    backdrop-filter: blur(3px);
}

.menu-sheet-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.menu-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 82vh;
    background: #111;
    color: var(--text);
    border-top: 1px solid rgba(216,165,45,.35);
    border-radius: 26px 26px 0 0;
    z-index: 190;
    transform: translateY(105%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
    box-shadow: 0 -20px 55px rgba(0,0,0,.55);
    overflow: hidden;
}

.menu-sheet.show {
    transform: translateY(0);
}

.menu-sheet-handle {
    width: 42px;
    height: 5px;
    border-radius: 10px;
    background: #555;
    margin: 10px auto 0;
}

.menu-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px 10px;
    border-bottom: 1px solid #242424;
}

.menu-sheet-header .eyebrow {
    font-size: 10px;
    margin-bottom: 1px;
}

.menu-sheet-header h2 {
    margin: 0;
    font-family: Nunito, serif;
    font-size: 27px;
}

.menu-sheet-close {
    width: 42px;
    height: 42px;
    border: 1px solid #333;
    border-radius: 50%;
    background: #1b1b1b;
    color: #fff;
}

.menu-sheet-content {
    max-height: calc(82vh - 95px);
    overflow-y: auto;
    padding: 8px 14px 25px;
}

.menu-category-block {
    border-bottom: 1px solid #262626;
}

.menu-category-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 17px 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 17px;
    font-weight: 700;
    text-align: left;
}

.menu-category-toggle span {
    display: flex;
    align-items: center;
    gap: 13px;
}

.menu-category-toggle span i {
    color: var(--gold-light);
    width: 23px;
    text-align: center;
}

.category-chevron {
    color: #777;
    transition: transform .25s ease;
}

.menu-category-toggle[aria-expanded="true"] .category-chevron {
    transform: rotate(180deg);
    color: var(--gold-light);
}

.menu-subcategory-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.menu-category-block.open .menu-subcategory-list {
    max-height: 500px;
}

.menu-subcategory-link {
    margin: 0 7px 8px 43px;
    padding: 13px 14px;
    border-radius: 12px;
    background: #181818;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ddd;
}

.menu-subcategory-link i {
    color: var(--gold-light);
    font-size: 11px;
}

.menu-no-subcategory {
    color: #777;
    padding: 0 14px 14px 43px;
    font-size: 13px;
}

/* ===== EXPERIENCIA REEL ===== */
.product-reel {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 20;
    overflow: hidden;
}

.product-reel-track {
    height: 100%;
    width: 100%;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
}

.product-reel-track::-webkit-scrollbar {
    display: none;
}

.reel-item {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 560px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
    background: #050505;
}

.reel-media,
.reel-media video,
.reel-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.15) 48%, rgba(0,0,0,.18) 100%);
}

.reel-info {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 110px;
}

.reel-category {
    color: var(--gold-light);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 6px;
}

.reel-info h1 {
    font-family: Nunito, serif;
    font-size: clamp(32px, 9vw, 55px);
    line-height: 1;
    margin: 0 0 8px;
}

.reel-price {
    color: #f0c65d;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 8px;
}

.reel-description {
    max-width: 560px;
    color: #ddd;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.reel-mute {
    position: absolute;
    z-index: 5;
    top: 24px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(0,0,0,.35);
    color: #fff;
    backdrop-filter: blur(4px);
}

.reel-swipe {
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 112px;
    width: 46px;
    text-align: center;
    color: rgba(255,255,255,.85);
    animation: reelSwipe 1.8s infinite;
}

.reel-swipe i {
    display: block;
    font-size: 22px;
}

.reel-swipe span {
    display: block;
    font-size: 8px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

@keyframes reelSwipe {
    0%,100% { transform: translateY(5px); opacity:.45; }
    50% { transform: translateY(-7px); opacity:1; }
}

.reel-back {
    position: fixed;
    z-index: 30;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: rgba(0,0,0,.35);
    color: #fff;
}

.reel-empty {
    height: 100%;
    display: grid;
    place-items: center;
    color: #aaa;
    padding: 30px;
    text-align: center;
}

@media(min-width: 768px) {
    .menu-sheet {
        left: 50%;
        right: auto;
        width: 520px;
        transform: translate(-50%, 105%);
        border-radius: 26px;
        bottom: 20px;
    }

    .menu-sheet.show {
        transform: translate(-50%, 0);
    }

    .product-reel {
        max-width: 520px;
        left: 50%;
        transform: translateX(-50%);
    }

    .reel-back {
        left: calc(50% - 240px);
    }
}


/* ===== LISTADO DE PLATOS ===== */
.products-page {
    padding-top: 105px;
    padding-bottom: 105px;
}

.products-page .section-title {
    margin-bottom: 22px;
}

.products-page .section-title h1 {
    font-family: Nunito, serif;
    font-size: 38px;
    margin: 0;
}

.product-card {
    overflow: hidden;
}

.product-card-media {
    position: relative;
    display: block;
    height: 235px;
    border-radius: 20px;
    overflow: hidden;
    background: #151515;
}

.product-card-media img,
.product-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.product-card:hover .product-card-media img,
.product-card:hover .product-card-media video {
    transform: scale(1.04);
}

.product-card-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: #555;
    font-size: 40px;
}

.video-tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border-radius: 20px;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: 10px;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.product-info {
    padding: 14px 3px 8px;
}

.product-info h2 {
    font-family: Nunito, serif;
    font-size: 21px;
    margin: 0;
}

.product-info .product-price {
    font-size: 17px;
    white-space: nowrap;
}

.product-info p {
    color: #999;
    font-size: 13px;
    line-height: 1.45;
    margin: 8px 0 11px;
}

.product-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.empty-public {
    grid-column: 1 / -1;
    min-height: 320px;
    display: grid;
    place-content: center;
    text-align: center;
    color: #777;
}

.empty-public i {
    font-size: 38px;
    color: var(--gold-light);
    margin-bottom: 15px;
}

.empty-public h2 {
    color: #ddd;
    font-family: Nunito, serif;
    margin: 0 0 5px;
}

@media(min-width: 768px) {
    .products-page {
        max-width: 850px;
    }
}


/* ===== IDENTIDAD DEL RESTAURANTE ===== */
:root { --restaurant-font: 'Nunito', sans-serif; }
html, body { font-family: var(--restaurant-font); }
.restaurant-brand-wrap { display:flex; align-items:center; justify-content:center; gap:10px; }
.restaurant-logo { width:46px; height:46px; object-fit:contain; border-radius:50%; }
.restaurant-name { font-family:var(--restaurant-font); font-weight:800; letter-spacing:1.5px; }
.restaurant-subtitle { font-family:var(--restaurant-font); font-weight:600; letter-spacing:3px; }
.public-contact { padding:18px 18px 115px; text-align:center; }
.public-contact-title { font-weight:800; font-size:17px; margin-bottom:14px; }
.public-contact-item { display:flex; align-items:center; gap:12px; text-align:left; background:#161616; border:1px solid #272727; border-radius:14px; padding:12px 14px; margin-bottom:8px; color:#ddd; }
.public-contact-item i { width:22px; text-align:center; color:var(--gold-light); }
.public-contact-item a { color:#ddd; text-decoration:none; }
.whatsapp-float { position:fixed; right:16px; bottom:88px; z-index:90; width:50px; height:50px; border-radius:50%; display:grid; place-items:center; background:#25d366; color:#fff; box-shadow:0 8px 24px rgba(0,0,0,.35); }
.whatsapp-float:hover { color:#fff; transform:translateY(-2px); }


/* ===== AJUSTE VISUAL RANCHO COLOMBIANO ===== */
.topbar-home {
    min-height: 205px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 20px 10px;
    background: transparent;
    border-bottom: 0;
}

.restaurant-logo-home {
    display: block;
    width: min(250px, 68vw);
    height: auto;
    max-height: 185px;
    object-fit: contain;
}

.top-back {
    position: fixed;
    z-index: 160;
    top: max(16px, env(safe-area-inset-top));
    right: 16px;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(216,165,45,.65);
    border-radius: 50%;
    background: rgba(8,8,8,.82);
    color: #e5b849;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(0,0,0,.35);
}

.top-back i { font-size: 19px; }
.top-back span { font-size: 8px; letter-spacing: 1px; font-weight: 800; }
.top-back:hover { color:#fff; border-color:#e5b849; }

.mobile-footer {
    min-height: 104px;
    padding: 9px 20px calc(9px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    align-items: center;
    gap: 8px;
    background: rgba(8,8,8,.97);
    border-top: 1px solid rgba(216,165,45,.25);
}

.footer-action,
.footer-menu {
    min-width: 0;
    height: 68px;
    border: 1px solid #303030;
    border-radius: 16px;
    background: #111;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 800;
    text-decoration: none;
}

.footer-action i,
.footer-menu i { color:#e5b849; font-size:23px; }
.footer-action span,
.footer-menu span { font-size:10px; letter-spacing:.8px; }

.call-waiter-main {
    position: relative;
    z-index: 3;
    align-self: center;
    justify-self: center;
    width: 112px;
    height: 112px;
    margin-top: -31px;
    border: 3px solid #b57d12;
    border-radius: 50%;
    background: linear-gradient(145deg, #f2bd3e, #c88b16);
    color: #111;
    box-shadow: 0 9px 28px rgba(0,0,0,.5), 0 0 0 7px rgba(216,165,45,.08);
    font-weight: 900;
    line-height: 1.05;
    font-size: 12px;
}

.waiter-main-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: rgba(0,0,0,.16);
}

.waiter-main-icon i { color:#111; font-size:22px; }
.call-waiter-main:hover { color:#000; transform: translateY(-2px); }
.footer-placeholder { width:112px; height:1px; justify-self:center; }

/* La navegación inferior no duplica la acción de volver. */
@media (min-width: 768px) {
    .mobile-footer {
        max-width: 520px;
        margin: 0 auto;
        border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 380px) {
    .topbar-home { min-height: 175px; }
    .restaurant-logo-home { width: 215px; }
    .mobile-footer { padding-left: 12px; padding-right: 12px; }
    .call-waiter-main { width: 100px; height: 100px; font-size: 11px; }
    .footer-action, .footer-menu { height: 62px; }
}


/* ===== CORRECCIÓN VISUAL 2 — NAVEGACIÓN Y REELS ===== */
.topbar-inner {
    min-height: 112px;
    padding: 12px 90px 12px 20px;
    background: #080808;
    border-bottom: 1px solid rgba(216,165,45,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    z-index:10;
}
.restaurant-logo-inner {
    width: 92px;
    height: 92px;
    max-height:none;
    object-fit:cover;
    border-radius:50%;
    display:block;
}
.topbar-inner + .top-back { display:none; }

/* Todos los botones superiores usan el mismo lenguaje visual. */
.top-back,
.reel-back {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(216,165,45,.65);
    border-radius: 50%;
    background: rgba(8,8,8,.82);
    color: #e5b849;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    backdrop-filter:blur(8px);
    box-shadow:0 8px 25px rgba(0,0,0,.35);
    text-decoration:none;
}
.top-back { position:fixed; z-index:160; top:max(16px, env(safe-area-inset-top)); right:16px; }
.top-back i, .reel-back i { font-size:18px; }
.top-back span { font-size:8px; letter-spacing:1px; font-weight:800; }
.top-back:hover, .reel-back:hover { color:#fff; border-color:#e5b849; }

/* Logo de portada más pequeño y perfectamente circular. */
.topbar-home { min-height:155px; padding:15px 20px 5px; }
.restaurant-logo-home {
    width:min(145px, 40vw);
    height:min(145px, 40vw);
    max-height:none;
    object-fit:cover;
    border-radius:50%;
}

/* Footer: los dos botones laterales tienen exactamente la misma medida. */
.mobile-footer {
    min-height:96px;
    padding:8px 14px calc(8px + env(safe-area-inset-bottom));
    display:grid;
    grid-template-columns:76px 1fr 76px;
    align-items:center;
    justify-content:center;
    gap:10px;
}
.footer-action,
.footer-menu {
    width:76px;
    height:62px;
    min-width:76px;
    min-height:62px;
    margin:0;
    padding:7px 5px;
    border:1px solid #303030;
    border-radius:15px;
    background:#111;
    color:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    font-weight:800;
    text-decoration:none;
}
.footer-action i, .footer-menu i { color:#e5b849; font-size:21px; line-height:1; }
.footer-action span, .footer-menu span { display:block !important; font-size:8px; line-height:1; letter-spacing:.5px; }
.footer-menu { justify-self:end; }
.footer-home { justify-self:start; }

/* Campana central: 5% más pequeña y siempre centrada. */
.call-waiter-main {
    width:106px;
    height:106px;
    min-width:106px;
    min-height:106px;
    margin:-28px auto 0;
    justify-self:center;
    align-self:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:3px solid #b57d12;
    border-radius:50%;
    background:linear-gradient(145deg,#f2bd3e,#c88b16);
    box-shadow:0 9px 28px rgba(0,0,0,.5),0 0 0 7px rgba(216,165,45,.08);
}
.waiter-main-icon { width:40px; height:40px; margin-bottom:3px; }
.waiter-main-icon i { font-size:20px; }
.call-waiter-main > span:last-child { font-size:11px; text-align:center; }

/* En reels: volver a la izquierda, silencio a la derecha, mismo estilo circular. */
.product-reel { padding-bottom:0; }
.reel-back {
    position:fixed;
    z-index:35;
    top:max(16px, env(safe-area-inset-top));
    left:16px;
}
.reel-back::after { content:'VOLVER'; font-size:8px; letter-spacing:1px; font-weight:800; }
.reel-logo {
    position:fixed;
    z-index:34;
    top:max(15px, env(safe-area-inset-top));
    left:50%;
    transform:translateX(-50%);
    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:50%;
    border:1px solid rgba(216,165,45,.35);
    background:#090909;
}
.reel-mute {
    top:max(16px, env(safe-area-inset-top));
    right:16px;
    width:58px;
    height:58px;
    z-index:35;
}

@media (max-width:380px) {
    .topbar-home { min-height:140px; }
    .restaurant-logo-home { width:125px; height:125px; }
    .restaurant-logo-inner { width:82px; height:82px; }
    .mobile-footer { grid-template-columns:70px 1fr 70px; gap:8px; padding-left:10px; padding-right:10px; }
    .footer-action,.footer-menu { width:70px; min-width:70px; height:58px; min-height:58px; }
    .call-waiter-main { width:95px; height:95px; min-width:95px; min-height:95px; margin-top:-24px; }
    .reel-logo { width:62px; height:62px; }
    .reel-back,.reel-mute { width:54px; height:54px; }
}


/* INICIO: cuadrícula fija de 3 columnas */
@media (max-width: 575px) {
    .menu-home {
        padding-left: 10px;
        padding-right: 10px;
    }

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

    .category-card {
        min-height: 126px;
        padding: 13px 7px;
        border-radius: 14px;
    }

    .category-icon {
        width: 46px;
        height: 46px;
        font-size: 24px;
    }

    .category-card h2 {
        font-size: 14px;
    }

    .category-card p {
        font-size: 9px;
    }
}

/* ==========================================================
   ETAPA 9 - SUBCATEGORÍAS Y PRODUCTOS
   Rancho Colombiano
   ========================================================== */

.category-page,
.products-page {
    padding-top: 18px;
    padding-bottom: 120px;
}

/* Encabezado de sección */
.menu-page-heading {
    text-align: center;
    margin: 8px auto 24px;
    max-width: 680px;
}

.menu-page-heading .eyebrow {
    margin-bottom: 5px;
}

.menu-page-heading h1 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    letter-spacing: -.5px;
    margin: 0;
    font-size: clamp(30px, 8vw, 42px);
}

.menu-page-heading p {
    color: #999;
    margin: 8px 0 0;
    font-size: 14px;
}

/* ---------- SUBCATEGORÍAS ---------- */
.subcategory-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.subcategory-item {
    position: relative;
    min-height: 104px;
    padding: 18px 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(216,165,45,.10), transparent 45%),
        #151515;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.subcategory-item::after {
    content: '';
    position: absolute;
    right: -24px;
    bottom: -28px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid rgba(216,165,45,.12);
}

.subcategory-item:hover,
.subcategory-item:active {
    transform: translateY(-2px);
    border-color: rgba(216,165,45,.55);
    background:
        radial-gradient(circle at 100% 0, rgba(216,165,45,.16), transparent 50%),
        #191919;
    color: #fff;
}

.subcategory-item span {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
    padding-right: 26px;
}

.subcategory-item small {
    margin-top: 7px;
    color: #999;
    font-size: 12px;
}

.subcategory-item > i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(216,165,45,.12);
    color: #e7bc54;
    font-size: 11px;
}

/* ---------- PRODUCTOS ---------- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: #151515;
    box-shadow: 0 12px 32px rgba(0,0,0,.20);
}

.product-card-media {
    position: relative;
    display: block;
    height: min(64vw, 300px);
    min-height: 220px;
    overflow: hidden;
    background: #0d0d0d;
}

.product-card-media img,
.product-card-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.product-card:hover .product-card-media img,
.product-card:hover .product-card-media video {
    transform: scale(1.035);
}

.product-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.55));
    pointer-events: none;
}

.product-card.has-video .product-card-media::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(5px);
}

.video-tag {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.video-tag i {
    color: #e7bc54;
}

.product-info {
    padding: 16px 17px 17px;
}

.product-info h2 {
    margin: 0;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 800;
}

.product-price {
    flex: 0 0 auto;
    color: #e7bc54;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
}

.product-info p {
    color: #999;
    font-size: 13px;
    line-height: 1.5;
    margin: 9px 0 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 10px 13px;
    border: 1px solid rgba(216,165,45,.28);
    border-radius: 12px;
    background: rgba(216,165,45,.07);
    color: #e7bc54;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
}

.product-link i {
    font-size: 11px;
    transition: transform .2s ease;
}

.product-link:hover,
.product-link:active {
    color: #f4d47e;
    border-color: rgba(216,165,45,.55);
    background: rgba(216,165,45,.12);
}

.product-link:hover i {
    transform: translateX(3px);
}

.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #665326;
    font-size: 42px;
    background: radial-gradient(circle, #211d13, #0d0d0d 65%);
}

.empty-public {
    grid-column: 1 / -1;
    min-height: 260px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 40px 20px;
    border: 1px dashed #333;
    border-radius: 20px;
    background: #121212;
}

.empty-public > i {
    color: #c69a31;
    font-size: 30px;
    margin-bottom: 5px;
}

.empty-public h2 {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.empty-public p {
    color: #888;
    margin: 5px 0 0;
    font-size: 13px;
}

@media (min-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-card-media {
        height: 240px;
    }
}

@media (max-width: 430px) {
    .subcategory-list {
        gap: 10px;
    }

    .subcategory-item {
        min-height: 96px;
        padding: 15px 13px;
    }

    .subcategory-item span {
        font-size: 15px;
    }

    .product-card-media {
        height: 58vw;
        min-height: 205px;
    }
}


/* ==========================================================
   ETAPA 9 - AJUSTE FINAL PRODUCTOS
   - Logo perfectamente centrado
   - Sin etiqueta/boton VIDEO sobre las cards
   - Cards de producto mas limpias y compactas
   ========================================================== */

/* El logo se centra respecto a toda la barra, no respecto al espacio
   que queda libre junto al boton volver. */
.topbar-inner {
    position: relative;
    min-height: 104px;
    padding: 8px 80px;
}

.topbar-inner .restaurant-logo-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    margin: 0;
}

/* PRODUCT CARDS */
.product-grid {
    gap: 14px;
}

.product-card {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.09);
    background: #141414;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

.product-card-media {
    height: 210px;
    min-height: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.product-card-media img,
.product-card-media video {
    object-fit: cover;
}

/* Nada de boton/etiqueta grande de VIDEO en la tarjeta. */
.product-card.has-video .product-card-media::before,
.product-card .video-tag {
    display: none !important;
}

.product-card-media::after {
    background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,.28));
}

.product-info {
    padding: 13px 14px 14px;
}

.product-info h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
}

.product-price {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.product-info p {
    margin: 7px 0 11px;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    color: #929292;
    -webkit-line-clamp: 2;
}

.product-link {
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 11px;
    font-family: 'Nunito', sans-serif;
    font-size: 10px;
    letter-spacing: .7px;
}

.product-link i {
    font-size: 10px;
}

@media (max-width: 430px) {
    .topbar-inner {
        min-height: 82px;
        padding: 7px 70px;
    }

    .topbar-inner .restaurant-logo-inner {
        width: 62px;
        height: 62px;
    }

    .product-grid {
        gap: 12px;
    }

    .product-card {
        border-radius: 16px;
    }

    .product-card-media {
        height: 188px;
    }

    .product-info {
        padding: 11px 12px 12px;
    }

    .product-info h2 {
        font-size: 16px;
    }

    .product-price {
        font-size: 14px;
    }
}


/* ==========================================================
   AJUSTE - CATEGORÍAS CON EL MISMO LENGUAJE VISUAL
   QUE LAS TARJETAS DE SUBCATEGORÍAS
   ========================================================== */

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

.category-card {
    position: relative;
    min-height: 126px;
    padding: 16px 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(216,165,45,.10), transparent 45%),
        #151515;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.category-card::after {
    content: '';
    position: absolute;
    right: -24px;
    bottom: -28px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid rgba(216,165,45,.12);
    pointer-events: none;
}

.category-card::before {
    content: '\f054';
    position: absolute;
    right: 10px;
    top: 10px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(216,165,45,.12);
    color: #e7bc54;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 9px;
    z-index: 2;
}

.category-card:hover,
.category-card:active {
    transform: translateY(-2px);
    border-color: rgba(216,165,45,.55);
    background:
        radial-gradient(circle at 100% 0, rgba(216,165,45,.16), transparent 50%),
        #191919;
    color: #fff;
}

.category-icon {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(216,165,45,.10);
    color: #e7bc54;
    font-size: 21px;
    display: grid;
    place-items: center;
}

.category-card h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0;
    padding: 0 4px;
}

.category-card p {
    color: #999;
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    line-height: 1.2;
    margin: 0;
    max-width: 150px;
}

@media (max-width: 380px) {
    .category-card {
        min-height: 118px;
        padding: 14px 8px;
    }

    .category-icon {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    .category-card h2 {
        font-size: 14px;
    }

    .category-card p {
        font-size: 10px;
    }
}

/* =========================================================
   INFORMACIÓN DEL RESTAURANTE
   ========================================================= */

.public-contact {
    width: min(92%, 520px);
    margin: 35px auto 110px;
    text-align: center;
}

.public-contact-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f1c44f;
    letter-spacing: .5px;
    margin-bottom: 18px;
}

/* Contenedor de las tarjetas */
.public-contact-item {
    width: 100%;
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin: 9px auto;

    padding: 12px 18px;

    background: linear-gradient(
        145deg,
        rgba(25,25,25,.96),
        rgba(15,15,15,.96)
    );

    border: 1px solid rgba(216,165,45,.18);
    border-radius: 16px;

    color: #bdbdbd;

    box-shadow:
        0 8px 20px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.025);

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.public-contact-item i {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: rgba(216,165,45,.10);
    color: #e0ad38;

    font-size: .85rem;
}

.public-contact-item span,
.public-contact-item a {
    color: #bdbdbd;
    font-size: .78rem;
    line-height: 1.45;
    text-decoration: none;
}

.public-contact-item a {
    transition: color .2s ease;
}

.public-contact-item a:hover {
    color: #e5b93f;
}

/* Efecto muy sutil */
.public-contact-item:hover {
    transform: translateY(-2px);
    border-color: rgba(216,165,45,.35);
    background: linear-gradient(
        145deg,
        rgba(30,30,30,.98),
        rgba(18,18,18,.98)
    );
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 575px) {

    .public-contact {
        width: calc(100% - 32px);
        margin-top: 30px;
        margin-bottom: 105px;
    }

    .public-contact-title {
        margin-bottom: 15px;
        font-size: .95rem;
    }

    .public-contact-item {
        min-height: 55px;
        border-radius: 15px;
        padding: 10px 14px;
    }

    .public-contact-item span,
    .public-contact-item a {
        font-size: .75rem;
    }

}

.public-contact-item {
    text-decoration: none;
    cursor: pointer;
}

.public-contact-item:hover {
    text-decoration: none;
}

.public-contact-item i.fa-whatsapp {
    color: #65d98a;
    background: rgba(70, 200, 110, .10);
}

/* =========================================================
   MODAL LLAMAR MESERO - ETAPA 12
========================================================= */

.waiter-salones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.salon-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 14px;
    border: 1px solid rgba(216, 165, 45, .18);
    border-radius: 15px;
    background: #171717;
    color: #f2e5c7;
    text-align: left;
    transition: .2s ease;
}

.salon-option:hover,
.salon-option:active {
    border-color: #d8a52d;
    background: rgba(216, 165, 45, .08);
    transform: translateY(-1px);
}

.salon-option-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(216, 165, 45, .1);
    color: #e1b54a;
    font-size: 16px;
}

.salon-option-info {
    flex: 1;
    min-width: 0;
}

.salon-option-info strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.salon-option-info small {
    display: block;
    margin-top: 2px;
    color: #85827b;
    font-size: 9px;
}

.salon-option-arrow {
    color: #8d8a82;
    font-size: 11px;
}


/* =========================================================
   MESAS
========================================================= */

.waiter-mesas-container {
    margin-top: 5px;
}

.btn-cambiar-salon {
    border: 0;
    padding: 0;
    background: transparent;
    color: #d8a52d;
    font-size: 10px;
    font-weight: 600;
}

.btn-cambiar-salon i {
    margin-right: 5px;
}

.salon-seleccionado {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 13px 0;
    color: #f2e5c7;
    font-size: 13px;
    font-weight: 700;
}

.salon-seleccionado i {
    color: #d8a52d;
}

.mesas-disponibles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mesa-option {
    min-height: 66px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(216, 165, 45, .16);
    border-radius: 13px;
    background: #171717;
    color: #f2e5c7;
    font-size: 10px;
    font-weight: 600;
    transition: .2s ease;
}

.mesa-option-icon {
    color: #aaa69d;
    font-size: 14px;
}

.mesa-option:hover {
    border-color: rgba(216, 165, 45, .55);
}

.mesa-option.selected {
    border-color: #d8a52d;
    background: rgba(216, 165, 45, .12);
    color: #f0c866;
    box-shadow: 0 0 0 1px rgba(216, 165, 45, .12);
}

.mesa-option.selected .mesa-option-icon {
    color: #d8a52d;
}


/* =========================================================
   LOADING
========================================================= */

.mesas-loading {
    padding: 25px 10px;
    text-align: center;
    color: #85827b;
    font-size: 10px;
}

.mesas-loading i {
    margin-right: 6px;
    color: #d8a52d;
}


/* =========================================================
   SIN MESAS
========================================================= */

.mesas-sin-disponibles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 25px 10px;
    text-align: center;
    color: #85827b;
}

.mesas-sin-disponibles i {
    margin-bottom: 4px;
    color: #d8a52d;
    font-size: 22px;
}

.mesas-sin-disponibles strong {
    color: #f2e5c7;
    font-size: 11px;
}

.mesas-sin-disponibles span {
    font-size: 9px;
}