/* ═══════════════════════════════════════════
   RESTAURANTE PAGE — Hero + Reserva de Restaurante
   ═══════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────── */
.restaurante-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--nav-h) + 40px) 0 60px;
}

.restaurante-hero::before {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(2,6,23,0) 0%, rgba(2,6,23,.4) 100%);
    z-index: 0;
    pointer-events: none;
}

.restaurante-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(180deg, rgba(7,18,32,.34) 0%, rgba(7,18,32,.72) 100%),
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(0,123,255,.18) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0,123,255,.12) 0%, transparent 50%),
        url('/static/images/restaurantebanner.jpeg');
    background-position: center, 20% 80%, 80% 20%, center;
    background-size: cover, auto, auto, cover;
    background-repeat: no-repeat;
}

.restaurante-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(7,18,32,.18);
}

.restaurante-hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: .18;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.restaurante-hero__inner {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 1180px;
}

/* tag override for dark bg */
.restaurante-hero .tag {
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.22);
    margin-bottom: 20px;
}

.restaurante-hero__title {
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,.28);
}

.restaurante-hero__title em {
    font-style: italic;
    color: #93C5FD;
}

.restaurante-hero__sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,.82);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.75;
    text-shadow: 0 6px 18px rgba(0,0,0,.22);
}

.restaurante-hero__pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: min(100%, 1080px);
    margin: 0 auto 34px;
    text-align: left;
}

.hero-pricing-card {
    --hero-card-accent: rgba(96,165,250,.92);
    position: relative;
    overflow: hidden;
    padding: 22px 22px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.1) 100%);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 22px 50px rgba(0,0,0,.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, border-color .35s ease;
}

.hero-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hero-card-accent), rgba(255,255,255,.96));
    opacity: .95;
}

.hero-pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at 50% -10%, rgba(255,255,255,.2) 0%, transparent 62%);
    opacity: .8;
    pointer-events: none;
}

.hero-pricing-card:hover,
.hero-pricing-card:focus-within {
    transform: translateY(-7px);
    box-shadow: 0 28px 70px rgba(0,0,0,.26);
    border-color: rgba(255,255,255,.34);
}

.hero-pricing-card--weekday {
    --hero-card-accent: #60A5FA;
}

.hero-pricing-card--saturday {
    --hero-card-accent: #38BDF8;
}

.hero-pricing-card--sunday {
    --hero-card-accent: #F59E0B;
}

.hero-pricing-card__head,
.hero-pricing-card__body {
    position: relative;
    z-index: 1;
}

.hero-pricing-card__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-pricing-card__eyebrow {
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.76);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.hero-pricing-card__title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    font-family: var(--serif);
    font-size: 1.5rem;
    line-height: 1.1;
    color: #fff;
}

.hero-pricing-card__title small {
    font-family: var(--sans, Inter, sans-serif);
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hero-pricing-card__body {
    display: grid;
    gap: 12px;
}

.hero-pricing-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 16px 15px;
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.hero-pricing-card__row:hover,
.hero-pricing-card__row:focus-within {
    transform: translateY(-2px);
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.18);
}

.hero-pricing-card__label,
.hero-pricing-card__meta {
    display: block;
}

.hero-pricing-card__label {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.hero-pricing-card__meta {
    font-size: .78rem;
    color: rgba(255,255,255,.66);
    line-height: 1.4;
}

.hero-pricing-card__value {
    flex-shrink: 0;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -.04em;
    text-align: right;
    text-shadow: 0 10px 20px rgba(0,0,0,.16);
}

.hero-pricing-card__value small {
    font-size: .58em;
    font-weight: 700;
    color: rgba(255,255,255,.86);
}

/* btn override for hero */
.restaurante-hero .btn--primary {
    background: rgba(0,123,255,.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 8px 32px rgba(0,123,255,.4);
}

.restaurante-hero .btn--primary:hover {
    background: var(--accent);
    box-shadow: 0 12px 40px rgba(0,123,255,.5);
}

.restaurante-hero .btn--primary:focus-visible,
.hero-pricing-card:focus-visible,
.hero-pricing-card__row:focus-visible {
    outline: 2px solid rgba(255,255,255,.8);
    outline-offset: 3px;
}

/* ── BOOKING SHELL + GRID ───────────────── */
.rest-booking-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.rest-grid {
    display: grid;
    grid-template-columns: minmax(0, 430px) minmax(320px, 420px);
    justify-content: space-between;
    gap: 40px;
    align-items: start;
}

/* ── SIDEBAR ─────────────────────────────── */
.rest-sidebar,
.rest-summary-col {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.rest-summary-col {
    padding-top: 78px;
}

.rest-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── CARDS ───────────────────────────────── */
.rest-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    transition: box-shadow .3s ease, transform .3s ease;
}

.rest-card:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,.09);
}

.rest-card__title {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.rest-card__title i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
}

/* ── FORM FIELDS ─────────────────────────── */
.rest-field {
    margin-bottom: 18px;
}

.rest-field:last-child {
    margin-bottom: 0;
}

.rest-field label {
    display: block;
    font-size: .73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-soft);
    margin-bottom: 8px;
}

.rest-field input[type="date"],
.rest-field select {
    width: 100%;
    padding: 13px 40px 13px 16px;
    border: 1.5px solid #E0E0E0;
    border-radius: var(--radius-sm);
    background: var(--bg);
    font-size: .95rem;
    color: var(--text);
    outline: none;
    transition: border-color .25s, box-shadow .25s;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.rest-field input[type="date"]:focus,
.rest-field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0,123,255,.1);
}

/* ── STEPPER ─────────────────────────────── */
.rest-stepper {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #E0E0E0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
    transition: border-color .25s, box-shadow .25s;
}

.rest-stepper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0,123,255,.1);
}

.rest-stepper button {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    color: var(--text);
    font-size: .85rem;
    transition: background .2s, color .2s;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

.rest-stepper button:hover {
    background: var(--accent);
    color: #fff;
}

.rest-stepper input[type="number"] {
    flex: 1;
    text-align: center;
    border: none;
    border-left: 1.5px solid #E0E0E0;
    border-right: 1.5px solid #E0E0E0;
    font-size: 1rem;
    font-weight: 700;
    background: transparent;
    color: var(--text);
    padding: 8px 0;
    outline: none;
    -moz-appearance: textfield;
}

.rest-stepper input[type="number"]::-webkit-outer-spin-button,
.rest-stepper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ── SUMMARY CARD ────────────────────────── */
.rest-summary .rest-card__title {
    margin-bottom: 14px;
}

.rest-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: .9rem;
    border-bottom: 1px dashed rgba(0,0,0,.08);
}

.rest-summary__row:last-of-type {
    border-bottom: none;
}

.rest-summary__row span {
    color: var(--text-soft);
    font-weight: 500;
}

.rest-summary__row strong {
    color: var(--text);
    font-weight: 600;
    max-width: 60%;
    text-align: right;
    word-break: break-word;
}

.rest-summary__total {
    border-top: 2px solid rgba(0,0,0,.1) !important;
    border-bottom: none !important;
    margin-top: 4px;
    padding-top: 14px !important;
}

.rest-summary__total span {
    font-weight: 700 !important;
    color: var(--text) !important;
    font-size: 1rem;
}

.rest-summary__total strong {
    font-size: 1.3rem !important;
    color: var(--accent) !important;
    letter-spacing: -.01em;
}

/* Reserve button */
.rest-card .btn--primary {
    margin-top: 20px;
    font-size: .9rem;
    padding: 14px 24px;
    position: relative;
    overflow: hidden;
}

.rest-card .btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
    transform: translateX(-100%);
    transition: transform .5s ease;
}

.rest-card .btn--primary:not(:disabled):hover::after {
    transform: translateX(100%);
}

.rest-card .btn--primary:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.rest-summary__hint {
    margin-top: 10px;
    font-size: .8rem;
    color: var(--text-soft);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.rest-summary__hint i {
    color: var(--accent);
    font-size: .7rem;
}

/* ── LEGEND ──────────────────────────────── */
.rest-legend {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding: 14px 20px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.rest-legend .legend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--text-soft);
    font-weight: 500;
}

.rest-legend .legend span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rest-legend .legend--free span   { background: #22C55E; }
.rest-legend .legend--taken span  { background: #EF4444; }
.rest-legend .legend--selected span { background: var(--accent); }

/* ── MAP WRAP ────────────────────────────── */
.rest-map-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 8px 48px rgba(0,0,0,.1);
    background: var(--surface);
    transition: box-shadow .3s ease;
}

.rest-map-wrap:hover {
    box-shadow: 0 12px 60px rgba(0,0,0,.14);
}

.rest-map-wrap .lago-container {
    position: relative;
    width: 100%;
    user-select: none;
}

.rest-map-wrap .lago-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.rest-map-wrap .lago-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Map hint */
.rest-map-wrap .map-hint {
    padding: 10px 16px;
    font-size: .83rem;
    color: var(--text-soft);
    border-top: 1px solid rgba(0,0,0,.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--surface);
}

.rest-map-wrap .map-hint i {
    color: var(--accent);
}

/* loading overlay */
.rest-map-wrap.loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.65);
    backdrop-filter: blur(4px);
    z-index: 10;
    border-radius: var(--radius-lg);
}

.rest-map-wrap.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 36px;
    height: 36px;
    border: 3px solid rgba(0,123,255,.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: mapSpin .8s linear infinite;
    z-index: 11;
}

@keyframes mapSpin {
    to { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ── MESA SVG MARKERS ───────────────────── */
.mesa-marker {
    cursor: default;
    transition: opacity .2s ease;
    transform-box: fill-box;
    transform-origin: center center;
    transform: scale(2.6);
}

.mesa-marker.clickable {
    cursor: pointer;
}

.mesa-marker .mesa-bg {
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), fill .25s ease;
    transform-origin: center center;
    transform-box: fill-box;
}

.mesa-marker:hover .mesa-bg {
    transform: scale(1.18);
}

.mesa-marker .mesa-icon {
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
    transform-origin: center center;
    transform-box: fill-box;
}

.mesa-marker:hover .mesa-icon {
    transform: scale(1.12);
}

.mesa-marker[data-status='livre'] .mesa-pulse {
    animation: mesaPulse 2.4s ease-in-out infinite;
}

@keyframes mesaPulse {
    0%, 100% { opacity: .55; r: 21; }
    50% { opacity: 0; r: 34; }
}

/* ── FULLSCREEN ──────────────────────────── */
.rest-map-wrap .map-fullscreen-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 8;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

.rest-map-wrap .map-fullscreen-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 28px rgba(0,0,0,.14);
}

.rest-map-wrap.fullscreen {
    position: fixed;
    inset: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
    background: #000;
    border-radius: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rest-map-wrap.fullscreen .lago-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
}

.rest-map-wrap.fullscreen .lago-img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: contain;
    will-change: transform;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
}

.rest-map-wrap.fullscreen .lago-svg {
    width: 100%;
    height: 100%;
    will-change: transform;
    transform-origin: center center;
    user-select: none;
}

.rest-map-wrap.fullscreen .rest-legend,
.rest-map-wrap.fullscreen .map-hint,
.rest-map-wrap.fullscreen .tip {
    display: none;
}

.rest-map-wrap.fullscreen .map-fullscreen-btn {
    z-index: 10000;
    background: rgba(255,255,255,.9);
}

/* ── MODAL ───────────────────────────────── */
#restModal .modal__top {
    padding-right: 44px;
}

#restModal .modal__top h3 {
    color: var(--text);
}

/* ── CALENDAR ────────────────────────────── */
.rest-cal {
    background: var(--bg);
    border: 1.5px solid #E0E0E0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.rest-cal__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: var(--surface);
}

.rest-cal__nav span {
    font-size: .85rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .01em;
}

.rest-cal__nav button {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    transition: background .2s, color .2s;
}

.rest-cal__nav button:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.rest-cal__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 6px 8px 2px;
}

.rest-cal__weekdays span {
    text-align: center;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-soft);
    padding: 2px 0;
}

.rest-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 4px 8px 8px;
    gap: 2px;
}

.cal-day {
    aspect-ratio: 1;
    border-radius: 7px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    position: relative;
    transition: background .15s, color .15s;
    padding: 0;
}

.cal-day__num {
    font-size: .8rem;
    font-weight: 600;
    line-height: 1;
    color: var(--text);
}

.cal-day__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cal-day--empty {
    pointer-events: none;
}

.cal-day--passado {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.cal-day--passado .cal-day__num { color: var(--text-soft); }

.cal-day--fechado {
    cursor: default;
    pointer-events: none;
    opacity: .4;
    text-decoration: line-through;
}

.cal-day--livre:not(:disabled):hover {
    background: var(--accent-light);
}

.cal-day--livre .cal-day__dot { background: #22C55E; display: none; }

.cal-day--parcial:not(:disabled):hover {
    background: rgba(249,115,22,.1);
}

.cal-day--parcial .cal-day__dot { background: #F97316; }

.cal-day--lotado {
    cursor: default;
    pointer-events: none;
}

.cal-day--lotado .cal-day__num { color: #EF4444; text-decoration: line-through; opacity: .6; }
.cal-day--lotado .cal-day__dot { background: #EF4444; }

.cal-day--selected {
    background: var(--accent) !important;
    color: #fff;
}

.cal-day--selected .cal-day__num { color: #fff; }
.cal-day--selected .cal-day__dot { background: rgba(255,255,255,.8) !important; }

.rest-cal__legend {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 6px 8px 10px;
    border-top: 1px solid rgba(0,0,0,.05);
}

.rest-cal__legend span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .7rem;
    color: var(--text-soft);
    font-weight: 500;
}

.cal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cal-dot--livre  { background: #22C55E; }
.cal-dot--parcial { background: #F97316; }
.cal-dot--lotado  { background: #EF4444; }
.cal-dot--fechado { background: #6B7280; }

.cal-day--fechado {
    cursor: help;
    opacity: .55;
    pointer-events: auto;
}
.cal-day--fechado .cal-day__num {
    color: #6B7280;
    text-decoration: line-through;
}
.cal-day--fechado .cal-day__dot { background: #6B7280; }

.cal-day-tooltip {
    position: absolute;
    z-index: 9000;
    background: rgba(17, 24, 39, .96);
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    font-size: .78rem;
    line-height: 1.35;
    max-width: 240px;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cal-day-tooltip strong {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .8;
    font-weight: 600;
}
.cal-day-tooltip span {
    font-size: .85rem;
    font-weight: 600;
}

/* ── HORÁRIO PILLS ───────────────────────── */
.rest-horarios {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 40px;
    align-items: center;
}

.rest-horarios__loading {
    color: var(--text-soft);
    font-size: .85rem;
}

.horario-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: 20px;
    border: 1.5px solid #E0E0E0;
    background: var(--bg);
    cursor: pointer;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
    white-space: nowrap;
}

.horario-pill:hover:not(:disabled) {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

.horario-pill--selected {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(0,123,255,.25);
}

.horario-pill--parcial {
    border-color: #F97316;
}

.horario-pill--parcial .hp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F97316;
    flex-shrink: 0;
}

.horario-pill--lotado {
    opacity: .45;
    cursor: not-allowed;
    border-color: #EF4444;
    color: #EF4444;
    text-decoration: line-through;
}

.horario-pill--lotado .hp-badge {
    font-size: .65rem;
    background: #FEE2E2;
    color: #EF4444;
    padding: 1px 5px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (min-width: 901px) {
    .rest-booking-shell {
        padding: 34px;
        border-radius: 34px;
        background:
            linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 100%),
            radial-gradient(circle at top left, rgba(0,123,255,.08), transparent 32%),
            radial-gradient(circle at bottom right, rgba(147,197,253,.14), transparent 28%);
        border: 1px solid rgba(255,255,255,.7);
        box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .rest-booking-shell .rest-card {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .rest-booking-shell .rest-card:hover {
        box-shadow: none;
    }

    .rest-booking-shell .rest-sidebar,
    .rest-booking-shell .rest-summary-col {
        position: static;
    }

    .rest-booking-shell .rest-summary-col {
        padding-top: 58px;
    }

    .rest-booking-shell .rest-summary {
        padding: 26px 28px;
        border-radius: 28px;
        background: linear-gradient(180deg, rgba(248,250,252,.98) 0%, rgba(255,255,255,.92) 100%);
        border: 1px solid rgba(0,0,0,.06);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 16px 40px rgba(15,23,42,.06);
    }

    .rest-booking-shell .rest-stepper,
    .rest-booking-shell .rest-cal {
        background: rgba(255,255,255,.82);
    }
}

@media (max-width: 1100px) {
    .rest-grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
        gap: 24px;
    }
}

/* ── MOBILE MESA SELECTOR — extra overrides ─ */
.mobile-selector--mesa .ms-header__title i {
    background: #F97316;
}
.mobile-selector--mesa .ms-filter-btn.active,
.mobile-selector--mesa .ms-filter-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 900px) {
    .rest-booking-shell {
        width: 100%;
        margin: 0;
    }

    .rest-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rest-sidebar,
    .rest-summary-col {
        position: static;
    }

    .rest-summary-col {
        padding-top: 0;
    }

    .restaurante-hero {
        min-height: 100vh;
        padding: calc(var(--nav-h) + 40px) 0 60px;
    }

    .restaurante-hero__pricing {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        width: min(100%, 760px);
    }

    .hero-pricing-card {
        padding: 20px 20px 18px;
    }
}

@media (max-width: 600px) {
    .restaurante-hero {
        min-height: 100vh;
        padding: calc(var(--nav-h) + 32px) 0 48px;
    }

    .restaurante-hero__title {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }

    .restaurante-hero__sub {
        margin-bottom: 28px;
    }

    .restaurante-hero__pricing {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 28px;
    }

    .hero-pricing-card {
        padding: 18px;
        border-radius: 20px;
    }

    .hero-pricing-card__head {
        gap: 8px;
        margin-bottom: 14px;
    }

    .hero-pricing-card__title {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        font-size: 1.35rem;
    }

    .hero-pricing-card__row {
        padding: 14px;
        gap: 12px;
    }

    .hero-pricing-card__label {
        font-size: .9rem;
    }

    .hero-pricing-card__meta {
        font-size: .74rem;
    }

    .hero-pricing-card__value {
        font-size: 1.95rem;
    }

    .rest-legend {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-pricing-card,
    .hero-pricing-card__row,
    .restaurante-hero__bg {
        transition: none;
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════
   CARDÁPIO SECTION
   ═══════════════════════════════════════════ */

.cardapio {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.cardapio__card {
    position: relative;
    background: var(--surface);
    border-radius: 20px;
    padding: 32px 26px 28px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    overflow: hidden;
    cursor: default;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1),
                box-shadow .35s ease,
                border-color .35s ease;
}

.cardapio__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #60A5FA);
    opacity: 0;
    transition: opacity .35s ease;
}

.cardapio__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
        rgba(0,123,255,.045) 0%, transparent 65%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
    border-radius: 20px;
}

.cardapio__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    border-color: rgba(0,123,255,.18);
}

.cardapio__card:hover::before { opacity: 1; }
.cardapio__card:hover::after  { opacity: 1; }

/* icon badge */
.cardapio__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
    transition: background .35s, color .35s, transform .35s cubic-bezier(.34,1.56,.64,1);
    flex-shrink: 0;
}

.cardapio__card:hover .cardapio__icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.12) rotate(-4deg);
}

/* card title */
.cardapio__title {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cardapio__title small {
    font-family: var(--sans, Inter, sans-serif);
    font-size: .72rem;
    font-weight: 500;
    color: var(--text-soft);
    background: rgba(0,0,0,.05);
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: .02em;
}

/* list */
.cardapio__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cardapio__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    color: var(--text-soft);
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0,0,0,.06);
    transition: color .2s, padding-left .2s;
}

.cardapio__list li:last-child {
    border-bottom: none;
}

.cardapio__card:hover .cardapio__list li {
    color: var(--text);
}

.cardapio__list li i.fa-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    flex-shrink: 0;
    transition: background .2s, color .2s, transform .2s;
}

.cardapio__card:hover .cardapio__list li i.fa-check {
    background: var(--accent);
    color: #fff;
}

/* stagger animation on hover */
.cardapio__card:hover .cardapio__list li:nth-child(1) { transition-delay: .03s; }
.cardapio__card:hover .cardapio__list li:nth-child(2) { transition-delay: .06s; }
.cardapio__card:hover .cardapio__list li:nth-child(3) { transition-delay: .09s; }
.cardapio__card:hover .cardapio__list li:nth-child(4) { transition-delay: .12s; }
.cardapio__card:hover .cardapio__list li:nth-child(5) { transition-delay: .15s; }
.cardapio__card:hover .cardapio__list li:nth-child(6) { transition-delay: .18s; }

/* per-card accent colours */
.cardapio__card:nth-child(1) { --card-accent: #3B82F6; --card-light: #EFF6FF; }
.cardapio__card:nth-child(2) { --card-accent: #10B981; --card-light: #ECFDF5; }
.cardapio__card:nth-child(3) { --card-accent: #F59E0B; --card-light: #FFFBEB; }
.cardapio__card:nth-child(4) { --card-accent: #8B5CF6; --card-light: #F5F3FF; }
.cardapio__card:nth-child(5) { --card-accent: #EC4899; --card-light: #FDF2F8; }

.cardapio__card:nth-child(1) .cardapio__icon { background: var(--card-light); color: var(--card-accent); }
.cardapio__card:nth-child(2) .cardapio__icon { background: var(--card-light); color: var(--card-accent); }
.cardapio__card:nth-child(3) .cardapio__icon { background: var(--card-light); color: var(--card-accent); }
.cardapio__card:nth-child(4) .cardapio__icon { background: var(--card-light); color: var(--card-accent); }
.cardapio__card:nth-child(5) .cardapio__icon { background: var(--card-light); color: var(--card-accent); }

.cardapio__card:nth-child(1) .cardapio__list li i.fa-check { background: var(--card-light); color: var(--card-accent); }
.cardapio__card:nth-child(2) .cardapio__list li i.fa-check { background: var(--card-light); color: var(--card-accent); }
.cardapio__card:nth-child(3) .cardapio__list li i.fa-check { background: var(--card-light); color: var(--card-accent); }
.cardapio__card:nth-child(4) .cardapio__list li i.fa-check { background: var(--card-light); color: var(--card-accent); }
.cardapio__card:nth-child(5) .cardapio__list li i.fa-check { background: var(--card-light); color: var(--card-accent); }

.cardapio__card:nth-child(1)::before { background: linear-gradient(90deg, var(--card-accent), #60A5FA); }
.cardapio__card:nth-child(2)::before { background: linear-gradient(90deg, var(--card-accent), #34D399); }
.cardapio__card:nth-child(3)::before { background: linear-gradient(90deg, var(--card-accent), #FCD34D); }
.cardapio__card:nth-child(4)::before { background: linear-gradient(90deg, var(--card-accent), #C4B5FD); }
.cardapio__card:nth-child(5)::before { background: linear-gradient(90deg, var(--card-accent), #F9A8D4); }

.cardapio__card:nth-child(1):hover .cardapio__icon { background: var(--card-accent); color: #fff; }
.cardapio__card:nth-child(2):hover .cardapio__icon { background: var(--card-accent); color: #fff; }
.cardapio__card:nth-child(3):hover .cardapio__icon { background: var(--card-accent); color: #fff; }
.cardapio__card:nth-child(4):hover .cardapio__icon { background: var(--card-accent); color: #fff; }
.cardapio__card:nth-child(5):hover .cardapio__icon { background: var(--card-accent); color: #fff; }

.cardapio__card:nth-child(1):hover .cardapio__list li i.fa-check { background: var(--card-accent); color: #fff; }
.cardapio__card:nth-child(2):hover .cardapio__list li i.fa-check { background: var(--card-accent); color: #fff; }
.cardapio__card:nth-child(3):hover .cardapio__list li i.fa-check { background: var(--card-accent); color: #fff; }
.cardapio__card:nth-child(4):hover .cardapio__list li i.fa-check { background: var(--card-accent); color: #fff; }
.cardapio__card:nth-child(5):hover .cardapio__list li i.fa-check { background: var(--card-accent); color: #fff; }

/* entrance animation */
@keyframes cardapioPop {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cardapio__card {
    animation: cardapioPop .5s cubic-bezier(.34,1.56,.64,1) both;
}

.cardapio__card:nth-child(1) { animation-delay: .05s; }
.cardapio__card:nth-child(2) { animation-delay: .12s; }
.cardapio__card:nth-child(3) { animation-delay: .19s; }
.cardapio__card:nth-child(4) { animation-delay: .26s; }
.cardapio__card:nth-child(5) { animation-delay: .33s; }

/* ── CARDÁPIO RESPONSIVE ─────────────────── */
@media (max-width: 900px) {
    .cardapio {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .cardapio {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cardapio__card {
        padding: 24px 20px 20px;
    }
}
