/* ── Variables ────────────────────────────────────────── */
.tv-carta {
    --bg:        #ffffff;
    --bg2:       #faf8f5;
    --bg3:       #f3ede4;
    --gold:      #a0720e;
    --gold-lt:   #c48f1a;
    --gold-dim:  rgba(160,114,14,0.07);
    --gold-line: rgba(160,114,14,0.22);
	--orange-line: #FF770F
    --ink:       #1a1208;
    --ink-dim:   rgba(26,18,8,0.55);
    --radius:    6px;

    background: var(--bg);
    color: var(--ink);
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    line-height: 1.7;
}

/* ── Nav sticky ───────────────────────────────────────── */
.tv-carta .section-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold-line);
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: 0 2px 12px rgba(26,18,8,0.06);
}
.tv-carta .section-nav::-webkit-scrollbar { display: none; }

.tv-carta .section-nav ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    list-style: none;
    gap: 0;
    min-width: max-content;
    margin: 0 auto;
    padding: 0 16px;
}

.tv-carta .section-nav a {
    display: block;
    padding: 14px 18px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-dim);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
    font-family: 'Raleway', sans-serif;
}
.tv-carta .section-nav a:hover,
.tv-carta .section-nav a.is-active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* ── Wrapper ──────────────────────────────────────────── */
.tv-carta .carta-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* ── Sección ──────────────────────────────────────────── */
.tv-carta .menu-section {
    margin-top: 72px;
    scroll-margin-top: 60px;
}

.tv-carta .section-header {
    margin-bottom: 28px;
    border-left: 3px solid var(--gold);
    padding-left: 20px;
}

.tv-carta .section-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
    margin: 0;
    padding: 0;
    border: none;
    text-align: left;
}

.tv-carta .section-img {
    width: 100%;
    aspect-ratio: 16/6;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--gold-line);
    display: block;
    margin-bottom: 24px;
}

.tv-carta .section-note {
    margin: -8px 0 20px;
    font-size: 0.9rem;
    color: var(--ink-dim);
    font-style: italic;
}

/* ── Separador ────────────────────────────────────────── */
.tv-carta .section-sep {
    width: 100%;
    height: 1px;
    border: none;
    background: linear-gradient(to right, transparent, var(--gold-line), transparent);
    margin-top: 72px;
}

/* ── Tabla ────────────────────────────────────────────── */
.tv-carta .menu-table {
    width: 100%;
    border-collapse: collapse;
}

.tv-carta .menu-table thead th {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 8px 12px;
    text-align: center;
    border-bottom: 1px solid var(--gold-line);
    font-family: 'Raleway', sans-serif;
}

.tv-carta .menu-table thead th:last-child { text-align: center; }

.tv-carta .menu-table tbody tr {
    border-bottom: 1px solid rgba(26,18,8,0.07);
    transition: background 0.15s;
}
.tv-carta .menu-table tbody tr:hover {
    background: var(--gold-dim);
}

.tv-carta .menu-table tbody td {
    padding: 11px 12px;
    font-size: 0.70em;
    vertical-align: middle;
    color: var(--ink);
}

.tv-carta .menu-table tbody td:last-child {
    text-align: right;
    white-space: nowrap;
    font-family: 'Playfair Display', serif;
    font-size: 0.95em;
    color: var(--gold);
    font-weight: 600;
    padding-left: 20px;
}

.tv-carta .menu-table tbody td em {
    color: var(--ink-dim);
    font-size: 0.82em;
}

/* ── Aviso arroces ────────────────────────────────────── */
.tv-carta .arroz-aviso {
    background: var(--bg3);
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 32px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.tv-carta .arroz-aviso-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.tv-carta .arroz-aviso p {
    font-size: 0.75em;
    color: var(--ink-dim);
    line-height: 1.6;
    margin: 0;
}
.tv-carta .arroz-aviso strong { color: var(--ink); }
.tv-carta .arroz-aviso-extra {
    margin-top: 8px !important;
    font-weight: 600;
    color: var(--ink) !important;
    text-transform: uppercase;
    font-size: 0.7em !important;
    letter-spacing: 0.05em;
}

/* ── Subsección ───────────────────────────────────────── */
.tv-carta .sub-section { margin-top: 40px; }

.tv-carta .sub-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    padding: 0;
    text-align: left;
}
.tv-carta .sub-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gold-line);
}

/* ── Responsive ───────────────────────────────────────── */
    /* Nav: wrap en varias líneas en lugar de scroll horizontal */

@media (max-width: 1000px) {
    .tv-carta .section-nav {
        overflow-x: visible;
    }
    .tv-carta .section-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        min-width: unset;
        padding: 50px 12px;
        gap: 4px;
    }
    .tv-carta .section-nav a {
        font-size: 12px;
		font-weight: bold;
        padding: 10px 13px;
        border: 1px solid var(--gold-line);
        border-radius: 20px;
        border-bottom: 2px solid transparent;
    }
    .tv-carta .section-nav a.is-active,
    .tv-carta .section-nav a:hover {
        background: var(--gold-dim);
        border-color: var(--gold);
        border-bottom-color: var(--gold);
    }
   /* El nav wrapeado ocupa más alto — aumentar el offset de scroll */
   /* scroll-margin-top lo ajusta JS dinámicamente según altura real del nav */
   /*  .tv-carta .menu-section        { scroll-margin-top: 200px; } */
    .tv-carta .menu-table tbody td { font-size: 0.7em; padding: 10px 10px; }
    .tv-carta .menu-table thead th { font-size: 12px; }
    .tv-carta .section-header h2   { font-size: 2.8rem; }
}
    /* scroll-margin-top lo ajusta JS dinámicamente según altura real del nav */