:root {
    --color-primary: #d85a30;
    --color-secondary: #e8a93c;
    --color-accent: #7a3b6d;
    --color-bg: #fdf6ec;
    --color-bg-panel: #f7ead2;
    --color-text: #2b2118;
    --color-text-muted: #8a7862;
    --color-border: #e3cfa8;
    --color-hover: #f0dcb8;
    /* brand orange darkened for use as readable text; --color-primary stays
       reserved for borders, fills and other non-text uses */
    --color-link: #a8431f;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-primary: #d85a30;
        --color-bg: #1a1a1a;
        --color-bg-panel: #242424;
        --color-text: #f0f0f0;
        --color-text-muted: #999;
        --color-border: #3a3a3a;
        --color-hover: #333;
        /* lightened rather than darkened: opposite direction from light mode,
           because here it sits on a dark background */
        --color-link: #ff8a5c;
    }
}

html {
    scroll-behavior: smooth;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.menu-item p {
    margin: 4px 0;
}

/* largest gap in the item rhythm: one dish to the next */
.menu-item {
    margin-bottom: 36px;
}

/* merged: was two separate .menu-item > p:not(.add-ons) rules with
   non-conflicting properties */
.menu-item > p:not(.add-ons) {
    max-width: 480px;
    text-align: center;
    margin: 4px auto;
}

/* ===== EXPERIMENT: Option A (fully centered) — remove to revert ===== */
/* margin reset matters here: the browser default h3/h4 margin was the real
   source of the name-to-price gap, not the price's own margin */
.menu-item h3,
.menu-item h4 {
    text-align: center;
    margin: 0 0 2px;
    font-weight: 600;
}



.price-centered {
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    color: var(--color-primary);
    margin: 0 0 10px;
}
/* ===== end Option A ===== */

.menu-nav {
    border-bottom: 3px solid var(--color-primary);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    background-color: var(--color-bg-panel);
    justify-content: space-evenly;
}

.menu-nav a {
    color: var(--color-link);
    text-decoration: none;
    font-weight: 500;
}

.menu-nav a:hover {
    text-decoration: underline;
}

.nav-group {
    position: relative;
}

.nav-group-label {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 18px;
    padding: 10px 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}

.menu-nav a.nav-group-label {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 400;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 8px 0;
    flex-direction: column;
    min-width: 180px;
    z-index: 20;
}

.nav-dropdown a {
    padding: 10px 20px;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
}

.nav-dropdown a:hover {
    background-color: var(--color-hover);
}

.nav-group.open .nav-dropdown {
    display: flex;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: block;
    }

    .menu-nav {
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .menu-nav .nav-group {
        display: none;
        width: 100%;
    }

    .menu-nav.mobile-open .nav-group {
        display: block;
    }

    .nav-dropdown {
        position: static;
        display: none;
        border: none;
        padding-left: 16px;
    }

    .nav-group.open .nav-dropdown {
        display: flex;
    }
}

.btn-order {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

/* language toggle: outline pill, sits left of Order Online, both pushed to
   the nav's right edge as a pair. margin-left: auto lives here now since
   .lang-toggle is the first of the two - moving it to whichever button is
   first is what actually pushes the pair over, not a property of either
   button specifically. No separate gap needed between the two buttons:
   .main-nav's own `gap: 48px` already spaces every direct child uniformly,
   including this pair - an extra margin here would only double up on that. */
.lang-toggle {
    display: inline-block;
    background: none;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    margin-left: auto;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-toggle:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Language toggle visibility: [lang] spans default to hidden (covers the
   no-JS/no-class case), html.lang-es flips which half of each EN/ES pair
   shows. The head script (before the stylesheet, before first paint) adds
   .lang-es early enough that there's no flash of the wrong language. */
[lang="es"] { display: none; }
html.lang-es [lang="en"] { display: none; }
html.lang-es [lang="es"] { display: inline; }



.logo-badge {
    background-color: #47066a;
    
    border-radius: 0;
    width: 140px;
    /* .main-nav's content-box is only 65px (100 - 32 padding - 3 border), but
       flex centers on that content-box, not the nav's outer edge - a badge
       sized to fit inside 65px sits 25px from the nav's real top/bottom
       (padding-top/bottom(16) + leftover slack), not the intended ~9px.
       Padding shares the nav's background color, so it's safe to overflow
       into it: 79px centers 7px into each side of the padding, landing 9px
       from the nav's actual edges. box-sizing:border-box makes this the true
       rendered height including the border. */
    height: 106px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
}

.logo-text {
    height: 110%;
    width: auto;
}


/* These were previously trapped inside @media (prefers-color-scheme: dark),
   which left light mode with no deliberate styling at all. They now apply
   unconditionally - the variables handle the light/dark difference. */
body {
    background-color: var(--color-bg);
    color: var(--color-text);
}

footer {
    background-color: var(--color-bg-panel);
    border-top: 1px solid var(--color-border);
    padding: 24px 16px;
    text-align: center;
}

footer address {
    font-style: normal;
}

footer a {
    color: var(--color-text);
}

footer dl.hours-list {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 2px 16px;
    margin: 0;
    width: fit-content;
}

footer dt {
    font-weight: 500;
}

footer dd {
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

footer {
    margin-top: auto;
}

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 32px auto;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 4px solid var(--color-primary);
    border-radius: 8px;
    background-color: var(--color-bg-panel)
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out;
}

.slide.active {
    transform: translateX(0);
}

.slide.exit-left {
    transform: translateX(-100%);
}

.slide.exit-right {
    transform: translateX(100%);
}

/* Base arrow geometry shared by the hero and reviews carousels - same
   button, same position, same size, so the two read as one interaction
   pattern. Only color/text-shadow differ below, per carousel backdrop. */
.carousel-arrow,
.reviews-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 32px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 4px;
}

.carousel-arrow.prev, .reviews-arrow.prev { left: 16px; }
.carousel-arrow.next, .reviews-arrow.next { right: 16px; }

/* white / text-shadow deliberately left literal: must stay legible against
   arbitrary photo content, not the site palette */
.carousel-arrow {
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* reviews sit on the panel background, not a photo, so the arrow reuses
   the site's own primary color instead of hero's photo-legible white */
.reviews-arrow {
    color: var(--color-primary);
    /* Unlike hero (where both arrows come after .carousel-slides in DOM),
       .prev here sits before .reviews-slides - so without a z-index its
       full box (padding included) would sit above .prev in paint order
       and swallow its clicks even though nothing is visibly drawn there. */
    z-index: 1;
}

/* Base dot geometry shared by both carousels - same size, gap and overlay
   position at the bottom of the frame. Only color differs below. */
.carousel-dots,
.reviews-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot,
.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
}

.carousel-dot {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
    background: #ffffff;
}

.reviews-dot {
    background: var(--color-border);
}

.reviews-dot.active {
    background: var(--color-primary);
}

.main-nav {
    border-bottom: 3px solid var(--color-primary);
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 16px 24px 16px 0;
    background-color: var(--color-bg-panel);
    height: 110px;
    box-sizing: border-box;
}

.main-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 18px;
    padding: 10px 6px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.main-nav a:hover {
    border-bottom-color: var(--color-primary);
}


.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.social-links a {
    font-size: 24px;
}

/* brand icon colors left literal: they match each platform's real logo */
.social-links .fa-facebook { color: #1877f2; }

.social-links .fa-instagram {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price-sizes {
    display: flex;
    gap: 12px;
    font-weight: 500;
    justify-content: center;
}

/* Option A price styling. Must sit AFTER the .price-sizes rule above:
   equal specificity, so source order decides - declared earlier its
   font-weight would lose to the 500 above. .size-label declares its own
   weight/color, so the Sm/Lg labels stay lighter and don't inherit these. */
.price-sizes {
    font-weight: 700;
    font-size: 20px;
    color: var(--color-primary);
}

.size-label {
    color: var(--color-text-muted);
    font-weight: 400;
    margin-right: 2px;
}

/* muted color + smaller size carry the "secondary" signal on their own;
   italic on top of them was a third cue doing the same job */
.add-ons {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
    font-style: normal;
    margin: 0 auto;
    max-width: 640px;
}



section {
    margin-top: 48px;
    scroll-margin-top: 130px;
    /*background-color: #242424;
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid #d85a30;
    border-radius: 0 12px 12px 0; */

}

section h2 {
    display: block;
    width: 320px;
    box-sizing: border-box;
    margin: 0 auto 16px;
    border: 2px solid var(--color-primary);
    border-radius: 30px;
    corner-shape: scoop;
    padding: 12px 32px;
    outline: 2px solid var(--color-primary);
    outline-offset: 6px;
    text-align: center;
    font-weight: 700;
}

/* the Cantina plaque goes two-tone purple instead of orange/gold */
#alcohol h2 {
    border-color: var(--color-accent);
    outline-color: var(--color-accent);
}

#happy-hour h2{
    border-color: var(--color-accent);
    outline-color: var(--color-accent);
}



.menu-list {
    max-width: 640px;
    margin: 24px auto 0;
    list-style: none;
    padding: 0;
}

section > h3 {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

section > h4 {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

section > h5 {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.section-note {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    font-style: italic;
    color: var(--color-text-muted);
}

.menu-layout {
    display: flex;
    /* must not stretch: a full-height sticky item has no room to travel */
    align-items: flex-start;
}

.menu-layout h4 {
    align-items: center;
    justify-content: center;
}

.menu-content {
    flex: 1;
    min-width: 0;
}

.category-sidebar {
    position: sticky;
    top: 120px;
    /* only the handle's width is reserved in the layout - the panel overlays
       the content instead of pushing it over, so there's no empty gutter */
    flex: 0 0 28px;
    /* flex items default to min-width:auto, which would widen this column to
       the 220px panel and reintroduce the gutter */
    min-width: 0;
    z-index: 10;
}

/* the panel and its handle slide together, exactly as the whole nav used to */
.sidebar-slider {
    position: relative;
    width: 220px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
}

.category-sidebar:hover .sidebar-slider,
.category-sidebar:focus-within .sidebar-slider {
    transform: translateX(0);
}

.sidebar-panel {
    max-height: 70vh;
    overflow: hidden;
    background-color: var(--color-bg-panel);
    border-radius: 0 8px 8px 0;
    border: 2px solid var(--color-primary);
    border-left: none;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-panel);
}

.sidebar-handle {
    width: 25px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 0px 9px 9px 0;
    corner-shape: scoop;
    color: var(--color-primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-panel);
    border-left: none;
    position: absolute;
    top: 50%;
    left: calc(100% - 2px);
    transform: translateY(-50%);
}

.sidebar-arrow {
    margin-right: 4px;
    color: var(--color-primary);
    font-size: 18px;
}

.category-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    white-space: nowrap;
}

.category-sidebar a {
    display: block;
    padding: 6px 16px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 13px;
}

.category-sidebar a:hover {
    background-color: var(--color-hover);
}

@media (max-width: 768px) {
    .category-sidebar {
        display: none;
    }
}

.category-sidebar a.active {
    background-color: var(--color-primary);
    color: white;
    font-weight: 500;
}

.footer-title {
    font-size: 18px;
    font-weight: 600px;
    margin-bottom: 12px;
}

.hours-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2e8b57;
    flex-shrink: 0;
}

.status-dot.closed {
    background-color: #c0392b;
}

.hours-toggle {
    background: none;
    border: none;
    color: var(--color-link);
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin: 0 auto 12px;
    display: block;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
}

.hours-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.hours-modal-overlay[hidden] {
    display: none;
}

.hours-modal {
    background: var(--color-bg-panel);
    color: var(--color-text);
    border-radius: 12px;
    padding: 12px 32px 32px 24px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hours-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
    padding-top: 0;
}

.hours-modal-close {
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text);
    margin-top: 0;
    transform: translateY(20px);
}

.hours-modal-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    margin-bottom: 16px;
}

.hours-modal-list {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px 28px;
    justify-content: center;
    margin: 0;
    font-size: 16px;
    justify-content: start;
}

.hours-modal-list .today {
    font-weight: 700;
}

.hours-modal-address a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.hours-modal-address a:hover {
    text-decoration: underline;
}

.hours-modal-list dt {
    text-align: left;
}

/* reuses .hours-toggle's own text-link look - same visual language for the
   two ends of one action (open the list / hide it again) */
.hours-modal-hide {
    background: none;
    border: none;
    color: var(--color-link);
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin: 16px auto 0;
    display: block;
}

.reviews-section {
    text-align: center;
    padding: 0 16px;
}

.reviews-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 15px;
    margin: 0 0 24px;
}

/* Mirrors .hero-carousel exactly: the outer element is the bordered,
   overflow-hidden frame, and slides are absolutely positioned inside it.
   .reviews-slides (like hero's .carousel-slides) is a plain semantic
   wrapper with no box styling of its own. */
.reviews-carousel {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    min-height: 340px;
    overflow: hidden;
    border: 4px solid var(--color-primary);
    border-radius: 8px;
    background-color: var(--color-bg-panel);
}

.review-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 64px 56px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out;
}

.review-slide.active {
    transform: translateX(0);
}

.review-slide.exit-left {
    transform: translateX(-100%);
}

.review-slide.exit-right {
    transform: translateX(100%);
}

.review-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.review-name {
    font-weight: 600;
}

.review-stars {
    color: var(--color-secondary);
    letter-spacing: 2px;
}

.review-quote {
    margin: 0;
    color: var(--color-text);
}

.review-quote i {
    color: var(--color-primary);
    opacity: 0.6;
    font-size: 20px;
}

.review-quote p {
    display: inline;
    margin: 0 6px;
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .review-slide {
        padding: 24px 48px 56px;
    }
}

html.lang-es #vegetarian h2 {
    font-size: 22px;
}

.contact-form-section {
    max-width: 560px;
    margin: 48px auto;
    padding: 0 16px;
    text-align: center;
}

.contact-form-section form {
    text-align: left;
    background-color: var(--color-bg-panel);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    margin-top: 24px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-field input,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: inherit;
    font-size: 15px;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Honeypot: pulled fully off-screen (not display:none/visibility:hidden,
   which some bots specifically check for and skip) so it's invisible and
   untabbable to real visitors but still a normal field to a bot that fills
   every input in the form. */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-submit {
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: center;
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.contact-form-status {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

/* status colors left literal, same as .status-dot's open/closed green/red -
   success/error meaning shouldn't shift with the site's light/dark palette */
.contact-form-status.success {
    background-color: rgba(46, 139, 87, 0.15);
    color: #2e8b57;
    border: 1px solid #2e8b57;
}

.contact-form-status.error {
    background-color: rgba(192, 57, 43, 0.15);
    color: #c0392b;
    border: 1px solid #c0392b;
}