/* ==========================================================================
   Ravli · Pantallas replicadas desde la app Flutter
   - .rvx-*  Explorar (explore_chefs_screen.dart)
   - .rvd-*  Detalle del chef (chef_detail_screen.dart)
   CSS propio (sin utilidades Tailwind) para no depender del build de output.css
   ========================================================================== */

:root {
    --rv-bg: #08080A;
    --rv-bg-deep: #050505;
    --rv-surface: #111111;
    --rv-surface-2: #16161B;
    --rv-border: rgba(255, 255, 255, 0.08);
    --rv-border-soft: rgba(255, 255, 255, 0.06);
    --rv-red: #FF383C;
    --rv-red-dark: #E0282C;
    --rv-green: #4CAF50;
    --rv-gold: #FFB800;
    --rv-ease: cubic-bezier(0.65, 0, 0.35, 1);
}

.rvx, .rvd { font-family: 'Outfit', sans-serif; color: #fff; }
.rvx *, .rvd * { box-sizing: border-box; }
.rvx a, .rvd a { text-decoration: none; color: inherit; }
.rvx button, .rvd button { font-family: inherit; cursor: pointer; }
.rvx svg, .rvd svg { flex-shrink: 0; }
.rv-noscroll::-webkit-scrollbar { display: none; }
.rv-noscroll { -ms-overflow-style: none; scrollbar-width: none; }

/* ==========================================================================
   EXPLORAR
   ========================================================================== */
.rvx { padding: 0 0 32px; }

/* --- Chips de categorías --- */
.rvx-chips {
    display: flex; gap: 8px; overflow-x: auto;
    padding: 6px 20px 14px; margin: 0 -8px;
}
.rvx-chip {
    display: inline-flex; align-items: center; gap: 6px;
    height: 34px; padding: 0 14px; flex-shrink: 0;
    border-radius: 100px; border: 1px solid var(--rv-border);
    background: #141416; color: rgba(255, 255, 255, 0.7);
    font-size: 12px; font-weight: 600; white-space: nowrap;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.rvx-chip svg { width: 14px; height: 14px; color: rgba(255, 255, 255, 0.6); }
.rvx-chip:hover { border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.rvx-chip.is-active {
    background: var(--rv-red); border-color: var(--rv-red);
    color: #fff; font-weight: 800;
}
.rvx-chip.is-active svg { color: #fff; }

.rvx-context {
    padding: 0 20px 12px; font-size: 13px; font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}
.rvx-context strong { color: var(--rv-red); font-weight: 800; text-transform: capitalize; }

/* --- Feed --- */
.rvx-feed { display: flex; flex-direction: column; gap: 14px; padding: 0 8px; }
.rvx-card {
    position: relative; overflow: hidden;
    height: calc(100svh - 250px); min-height: 440px; max-height: 760px;
    border-radius: 26px; background: #000;
    scroll-snap-align: start; scroll-margin-top: 108px;
}
.rvx-track {
    display: flex; height: 100%; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
}
.rvx-slide {
    position: relative; flex: 0 0 100%; height: 100%;
    scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden;
}

/* Slide 1: hero del chef */
.rvx-hero-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
}
.rvx-hero-shade {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.70) 75%, rgba(0, 0, 0, 0.96) 100%);
}
.rvx-top {
    position: absolute; top: 16px; left: 16px; right: 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.rvx-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 10px; border-radius: 100px;
    background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 56, 60, 0.6);
    font-size: 10px; font-weight: 900; letter-spacing: 0.6px;
    text-transform: uppercase; color: #fff;
    max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rvx-badge svg { width: 13px; height: 13px; color: var(--rv-red); }
.rvx-fav {
    width: 38px; height: 38px; border-radius: 50%; margin-left: auto;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.55); border: 1.2px solid rgba(255, 255, 255, 0.22);
}
.rvx-fav svg { width: 20px; height: 20px; }

.rvx-info { position: absolute; left: 18px; right: 18px; bottom: 20px; }
.rvx-name {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
    font-size: 25px; font-weight: 900; letter-spacing: -0.6px; line-height: 1.15;
}
.rvx-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rvx-name svg { width: 14px; height: 14px; color: rgba(255, 255, 255, 0.65); }
.rvx-sub {
    margin: 3px 0 0; font-size: 13px; font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rvx-meta {
    display: flex; align-items: center; gap: 8px; margin-top: 6px;
    font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.85);
}
.rvx-meta svg { width: 15px; height: 15px; color: #FFC107; }
.rvx-meta b { font-size: 12px; font-weight: 800; color: #fff; }
.rvx-meta .rvx-muted { color: rgba(255, 255, 255, 0.6); }
.rvx-meta .rvx-rating { display: inline-flex; align-items: center; gap: 3px; }
.rvx-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.rvx-live { display: inline-flex; align-items: center; gap: 5px; }
.rvx-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--rv-green); }

.rvx-cta-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 12px; }
.rvx-price-label {
    font-size: 9px; font-weight: 800; letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.45); text-transform: uppercase;
}
.rvx-price { margin-top: 2px; font-size: 17px; font-weight: 900; }
.rvx-cta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 20px; border: 0; border-radius: 100px;
    background: linear-gradient(90deg, var(--rv-red), var(--rv-red-dark));
    box-shadow: 0 3px 12px rgba(255, 56, 60, 0.45);
    color: #fff; font-size: 12px; font-weight: 900; letter-spacing: 0.8px;
    text-transform: uppercase; white-space: nowrap;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.rvx-cta svg { width: 14px; height: 14px; }
.rvx-cta:hover { box-shadow: 0 6px 18px rgba(255, 56, 60, 0.55); }
.rvx-cta:active { transform: scale(0.96); }

/* Slide 2: menú del chef */
.rvx-menu { background: #0E0E12; display: flex; flex-direction: column; }
.rvx-menu-top {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 14px 6px;
}
.rvx-back {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border: 0; border-radius: 100px;
    background: rgba(255, 255, 255, 0.08); color: #fff;
    font-size: 11px; font-weight: 700;
}
.rvx-back svg { width: 14px; height: 14px; }
.rvx-profile-chip {
    display: inline-flex; align-items: center; gap: 6px; min-width: 0;
    padding: 4px 10px 4px 4px; border-radius: 100px;
    background: rgba(255, 56, 60, 0.12); border: 1px solid rgba(255, 56, 60, 0.4);
    font-size: 11px; font-weight: 800;
}
.rvx-profile-chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.rvx-profile-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rvx-menu-title {
    display: flex; align-items: center; gap: 6px; padding: 4px 16px 8px;
    font-size: 14px; font-weight: 900;
}
.rvx-menu-title svg { width: 16px; height: 16px; color: var(--rv-red); }
.rvx-menu-title small {
    margin-left: auto; font-size: 10px; font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
}
.rvx-dishes {
    flex: 1; overflow-y: auto; padding: 4px 16px 16px;
    display: flex; flex-direction: column; gap: 10px;
}
.rvx-dish {
    display: flex; align-items: stretch; width: 100%; padding: 0; text-align: left;
    background: var(--rv-surface-2); border: 1px solid var(--rv-border);
    border-radius: 16px; overflow: hidden; color: #fff;
    transition: border-color 200ms ease, transform 200ms ease;
}
.rvx-dish:hover { border-color: rgba(255, 255, 255, 0.2); }
.rvx-dish:active { transform: scale(0.99); }
.rvx-dish-img {
    position: relative; flex: 0 0 90px; height: 90px; background: #1E1E24;
    display: flex; align-items: center; justify-content: center;
}
.rvx-dish-img img { width: 100%; height: 100%; object-fit: cover; }
.rvx-dish-img > svg { width: 28px; height: 28px; color: var(--rv-red); }
.rvx-dish-body { flex: 1; min-width: 0; padding: 8px 12px; }
.rvx-dish-cat {
    display: block; font-size: 9px; font-weight: 900; letter-spacing: 0.6px;
    color: var(--rv-red); text-transform: uppercase;
}
.rvx-dish-name {
    margin-top: 2px; font-size: 12px; font-weight: 800;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rvx-dish-desc {
    margin-top: 2px; font-size: 10px; line-height: 1.2; color: rgba(255, 255, 255, 0.55);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rvx-dish-foot {
    display: flex; align-items: center; justify-content: space-between; margin-top: 4px;
    font-size: 12px; font-weight: 900;
}
.rvx-dish-foot em {
    display: inline-flex; align-items: center; font-style: normal;
    font-size: 9px; font-weight: 700; color: var(--rv-red);
}
.rvx-dish-foot em svg { width: 12px; height: 12px; }

.rvx-empty {
    padding: 72px 24px; text-align: center; font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Bottom sheet: detalle del menú --- */
.rvx-backdrop {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(2px);
}
.rvx-sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9001;
    width: 100%; max-width: 560px; margin: 0 auto;
    height: 76vh; max-height: 720px;
    display: flex; flex-direction: column;
    background: #101014; border-radius: 32px 32px 0 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.7);
}
.rvx-grab { width: 44px; height: 4px; margin: 12px auto; border-radius: 2px; background: rgba(255, 255, 255, 0.24); }
.rvx-sheet-body { flex: 1; overflow-y: auto; padding: 0 20px 24px; }
.rvx-sheet-photo {
    position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden;
    background: #1C1C22; display: flex; align-items: center; justify-content: center;
}
.rvx-sheet-photo img { width: 100%; height: 100%; object-fit: cover; }
.rvx-sheet-photo > svg { width: 40px; height: 40px; color: var(--rv-red); }
.rvx-sheet-tag {
    position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 100px;
    background: rgba(0, 0, 0, 0.65); border: 1px solid rgba(255, 56, 60, 0.5);
    font-size: 10px; font-weight: 900; letter-spacing: 0.6px;
    color: var(--rv-red); text-transform: uppercase;
}
.rvx-sheet-head { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; }
.rvx-sheet-head h3 { flex: 1; margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -0.4px; line-height: 1.2; }
.rvx-sheet-head strong { font-size: 20px; font-weight: 900; letter-spacing: -0.5px; color: var(--rv-red); white-space: nowrap; }
.rvx-sheet-meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px;
    font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.6);
}
.rvx-sheet-meta .rvx-prep { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--rv-green); }
.rvx-sheet-meta svg { width: 14px; height: 14px; }
.rvx-sheet-label {
    margin: 18px 0 8px; font-size: 11px; font-weight: 900; letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.45); text-transform: uppercase;
}
.rvx-sheet-desc { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.rvx-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rvx-pill {
    display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px;
    border-radius: 100px; background: #1A1A22; border: 1px solid var(--rv-border);
    font-size: 11px; font-weight: 600;
}
.rvx-pill svg { width: 12px; height: 12px; color: var(--rv-red); }
.rvx-sheet-foot {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px calc(18px + env(safe-area-inset-bottom));
    background: #141418; border-top: 1px solid var(--rv-border-soft);
}
.rvx-sheet-profile {
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255, 255, 255, 0.7); transition: background 200ms ease;
}
.rvx-sheet-profile:hover { background: rgba(255, 255, 255, 0.08); }
.rvx-sheet-profile svg { width: 26px; height: 26px; }
.rvx-sheet-cta {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px; border-radius: 100px; background: var(--rv-red); color: #fff;
    font-size: 13px; font-weight: 900; letter-spacing: 0.8px; text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(255, 56, 60, 0.35);
    transition: transform 200ms ease, background 200ms ease;
}
.rvx-sheet-cta:hover { background: var(--rv-red-dark); }
.rvx-sheet-cta:active { transform: scale(0.98); }
.rvx-sheet-cta svg { width: 16px; height: 16px; }

.rvx-fade-enter { transition: opacity 220ms ease; }
.rvx-fade-start { opacity: 0; }
.rvx-slide-enter { transition: transform 320ms var(--rv-ease); }
.rvx-slide-start { transform: translateY(100%); }

@media (max-width: 767px) {
    html.rvx-snap { scroll-snap-type: y proximity; }
}
@media (min-width: 768px) {
    .rvx-chips { padding: 6px 24px 20px; margin: 0; }
    .rvx-context { padding: 0 24px 16px; }
    .rvx-feed {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px; padding: 0 24px;
    }
    .rvx-card { height: 540px; min-height: 0; scroll-snap-align: none; transition: transform 300ms ease, box-shadow 300ms ease; }
    .rvx-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7); }
    .rvx-sheet { bottom: 24px; border-radius: 32px; overflow: hidden; }
}

/* ==========================================================================
   DETALLE DEL CHEF
   ========================================================================== */
.rvd { background: var(--rv-bg-deep); min-height: 100vh; padding: 96px 0 150px; }
.rvd-col { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* --- Portada --- */
.rvd-hero {
    position: relative; height: 300px; margin: 0 -20px; overflow: hidden; background: #000;
}
.rvd-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.rvd-hero-shade {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%, #050505 100%);
}
.rvd-hero-top {
    position: absolute; top: 12px; left: 12px; right: 12px;
    display: flex; justify-content: space-between; align-items: center;
}
.rvd-round {
    width: 40px; height: 40px; border-radius: 50%; border: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.6); color: #fff; transition: background 200ms ease;
}
.rvd-round:hover { background: rgba(0, 0, 0, 0.8); }
.rvd-round svg { width: 18px; height: 18px; }
.rvd-hero-info { position: absolute; left: 20px; right: 20px; bottom: 16px; }
.rvd-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.rvd-badge {
    padding: 4px 10px; border-radius: 100px; background: var(--rv-red);
    font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.3px;
}
.rvd-badge-verified {
    display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 100px;
    background: rgba(0, 0, 0, 0.7); border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 11px; font-weight: 800;
}
.rvd-badge-verified svg { width: 14px; height: 14px; color: var(--rv-green); }
.rvd-name { margin: 8px 0 0; font-size: 26px; font-weight: 900; letter-spacing: -0.5px; line-height: 1.15; }
.rvd-title { margin: 2px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.85); }

/* --- Tarjetas --- */
.rvd-stack { display: flex; flex-direction: column; gap: 14px; padding-top: 12px; }
.rvd-card {
    padding: 16px; background: var(--rv-surface);
    border: 1px solid var(--rv-border); border-radius: 20px;
}
.rvd-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rvd-ico {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 56, 60, 0.15); color: var(--rv-red);
}
.rvd-ico svg { width: 18px; height: 18px; }
.rvd-ico.is-green { background: rgba(76, 175, 80, 0.15); color: var(--rv-green); }
.rvd-eyebrow {
    margin: 0; font-size: 11px; font-weight: 900; letter-spacing: 1px;
    color: var(--rv-red); text-transform: uppercase;
}
.rvd-eyebrow.is-green { color: var(--rv-green); }

.rvd-bio { display: flex; flex-direction: column; gap: 10px; }
.rvd-bio-item { display: flex; gap: 10px; align-items: flex-start; }
.rvd-bio-item > svg { width: 16px; height: 16px; margin-top: 1px; color: var(--rv-red); }
.rvd-bio-item dt { font-size: 11px; font-weight: 800; color: rgba(255, 255, 255, 0.5); }
.rvd-bio-item dd { margin: 2px 0 0; font-size: 12px; font-weight: 600; line-height: 1.4; }
.rvd-link {
    display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 0;
    background: none; border: 0; color: var(--rv-red); font-size: 11px; font-weight: 800;
}
.rvd-timeline {
    margin: 12px 0 0; padding: 12px 0 0 14px; list-style: none;
    border-top: 1px solid var(--rv-border-soft);
    display: flex; flex-direction: column; gap: 10px;
}
.rvd-timeline li { position: relative; padding-left: 12px; border-left: 2px solid rgba(255, 56, 60, 0.4); }
.rvd-timeline small { display: block; font-size: 10px; font-weight: 900; letter-spacing: 0.6px; color: var(--rv-red); }
.rvd-timeline b { display: block; font-size: 12px; font-weight: 800; }
.rvd-timeline span { font-size: 11px; color: rgba(255, 255, 255, 0.55); line-height: 1.4; }

.rvd-fees { display: flex; align-items: center; }
.rvd-fee { flex: 1; text-align: center; padding: 0 6px; }
.rvd-fee small { display: block; font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, 0.5); }
.rvd-fee b { display: block; margin-top: 2px; font-size: 12px; font-weight: 900; color: var(--rv-red); }
.rvd-fee span { display: block; font-size: 9px; color: rgba(255, 255, 255, 0.4); }
.rvd-vline { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.1); }
.rvd-note {
    display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 7px 10px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--rv-border-soft); border-radius: 8px;
    font-size: 10px; line-height: 1.3; color: rgba(255, 255, 255, 0.65);
}
.rvd-note svg { width: 14px; height: 14px; color: var(--rv-red); }

.rvd-stats { display: flex; align-items: center; justify-content: space-around; padding: 14px 16px; border-color: var(--rv-border-soft); }
.rvd-stat { text-align: center; }
.rvd-stat b { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; }
.rvd-stat b svg { width: 14px; height: 14px; color: var(--rv-red); }
.rvd-stat b svg.is-gold { color: var(--rv-gold); }
.rvd-stat span { display: block; margin-top: 2px; font-size: 10px; color: rgba(255, 255, 255, 0.5); }

/* --- Pestañas --- */
.rvd-tabs {
    display: flex; padding: 0; background: var(--rv-surface);
    border: 1px solid var(--rv-border); border-radius: 100px; margin-top: 2px;
}
.rvd-tab {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 10px; border: 0; border-radius: 100px; background: transparent;
    color: rgba(255, 255, 255, 0.5); font-size: 13px; font-weight: 800;
    transition: background 250ms ease, color 250ms ease;
}
.rvd-tab svg { width: 16px; height: 16px; }
.rvd-tab.is-active { background: var(--rv-red); color: #fff; }

.rvd-section { padding-top: 16px; }
.rvd-banner {
    display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 12px 14px;
    background: var(--rv-surface); border: 1px solid var(--rv-border-soft); border-radius: 14px;
}
.rvd-banner .rvd-ico { width: 28px; height: 28px; }
.rvd-banner .rvd-ico svg { width: 16px; height: 16px; }
.rvd-banner b { display: block; font-size: 12px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; }
.rvd-banner span { display: block; font-size: 10px; color: rgba(255, 255, 255, 0.54); }
.rvd-banner .rvd-btn-sm { margin-left: auto; }
.rvd-btn-sm {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0;
    border-radius: 100px; background: var(--rv-red); color: #fff;
    font-size: 11px; font-weight: 800; white-space: nowrap;
}
.rvd-btn-sm svg { width: 14px; height: 14px; }

/* --- Acordeón de menús --- */
.rvd-menu {
    margin-bottom: 16px; background: var(--rv-surface);
    border: 1px solid var(--rv-border); border-radius: 20px;
    transition: border-color 250ms ease, box-shadow 250ms ease;
}
.rvd-menu.is-selected { border-color: var(--rv-red); box-shadow: 0 0 0 1px var(--rv-red); }
.rvd-menu-head {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px;
    background: transparent; border: 0; border-radius: 18px; color: #fff; text-align: left;
    transition: background 250ms ease;
}
.rvd-menu.is-selected .rvd-menu-head { background: rgba(255, 56, 60, 0.08); }
.rvd-menu-thumb {
    width: 54px; height: 54px; border-radius: 12px; overflow: hidden; background: #1E1E24;
    display: flex; align-items: center; justify-content: center; color: var(--rv-red);
}
.rvd-menu-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rvd-menu-thumb svg { width: 24px; height: 24px; }
.rvd-menu-text { flex: 1; min-width: 0; }
.rvd-menu-tags { display: flex; align-items: center; gap: 8px; }
.rvd-menu-pop {
    padding: 3px 8px; border-radius: 6px; background: var(--rv-red);
    font-size: 8px; font-weight: 900; text-transform: uppercase;
}
.rvd-menu-type { font-size: 9px; font-weight: 800; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; }
.rvd-menu-name { margin: 4px 0 0; font-size: 16px; font-weight: 800; line-height: 1.25; }
.rvd-menu-price { margin-top: 2px; font-size: 12px; font-weight: 900; color: var(--rv-red); }
.rvd-chevron { width: 24px; height: 24px; color: rgba(255, 255, 255, 0.54); transition: transform 250ms ease, color 250ms ease; }
.rvd-menu.is-selected .rvd-chevron { color: var(--rv-red); }
.rvd-chevron.is-open { transform: rotate(180deg); }
.rvd-menu-body { padding: 4px 16px 16px; }
.rvd-menu-body hr { margin: 0 0 10px; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.rvd-menu-desc { margin: 0 0 10px; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, 0.65); }
.rvd-techs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rvd-tech {
    display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px;
    background: rgba(255, 255, 255, 0.04); font-size: 10px; color: rgba(255, 255, 255, 0.7);
}
.rvd-tech svg { width: 12px; height: 12px; color: rgba(255, 255, 255, 0.54); }
.rvd-course {
    display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; padding: 10px;
    background: rgba(255, 255, 255, 0.03); border-radius: 12px;
}
.rvd-course > svg { width: 16px; height: 16px; margin-top: 1px; color: var(--rv-red); }
.rvd-course b { display: block; font-size: 12px; font-weight: 800; }
.rvd-course span { display: block; font-size: 10px; color: rgba(255, 255, 255, 0.5); line-height: 1.35; }
.rvd-course i { display: block; margin-top: 2px; font-size: 9px; color: rgba(255, 255, 255, 0.4); }
.rvd-course em { display: block; margin-top: 2px; font-size: 10px; font-style: normal; font-weight: 800; color: var(--rv-green); }
.rvd-select {
    width: 100%; margin-top: 2px; padding: 11px; border-radius: 100px;
    background: transparent; border: 1px solid rgba(255, 255, 255, 0.24); color: #fff;
    font-size: 11px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase;
    transition: background 250ms ease, border-color 250ms ease;
}
.rvd-select.is-selected { background: var(--rv-red); border-color: var(--rv-red); }
.rvd-menu-links {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px;
    font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.6);
}
.rvd-menu-links a:hover, .rvd-menu-links button:hover { color: #fff; }
.rvd-menu-links form { display: inline; margin: 0; }
.rvd-menu-links button { padding: 0; background: none; border: 0; color: inherit; font-size: inherit; font-weight: inherit; }
.rvd-menu-links .is-danger { color: #f87171; }
.rvd-owner-actions { display: inline-flex; gap: 16px; }

.rvd-empty {
    padding: 36px 24px; text-align: center; background: var(--rv-surface);
    border: 1px dashed rgba(255, 255, 255, 0.12); border-radius: 20px;
}
.rvd-empty b { display: block; font-size: 14px; font-weight: 800; }
.rvd-empty span { display: block; margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }

/* --- Reseñas --- */
.rvd-rating { display: flex; align-items: center; gap: 14px; }
.rvd-rating-box { padding: 12px 14px; border-radius: 16px; background: rgba(255, 184, 0, 0.15); text-align: center; color: var(--rv-gold); }
.rvd-rating-box b { display: block; font-size: 24px; font-weight: 900; line-height: 1.1; }
.rvd-rating-box span { font-size: 9px; font-weight: 800; }
.rvd-stars { display: flex; gap: 1px; color: var(--rv-gold); }
.rvd-stars svg { width: 18px; height: 18px; }
.rvd-stars svg.is-off { color: rgba(255, 255, 255, 0.15); }
.rvd-rating p { margin: 4px 0 0; font-size: 13px; font-weight: 800; }
.rvd-rating small { font-size: 11px; color: rgba(255, 255, 255, 0.5); }
.rvd-h3 { margin: 18px 0 10px; font-size: 15px; font-weight: 800; }
.rvd-review {
    margin-bottom: 10px; padding: 14px; background: var(--rv-surface);
    border: 1px solid var(--rv-border-soft); border-radius: 16px;
}
.rvd-review-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rvd-review-head b { font-size: 13px; font-weight: 800; }
.rvd-review .rvd-stars svg { width: 12px; height: 12px; }
.rvd-review small { display: block; font-size: 10px; color: rgba(255, 255, 255, 0.4); }
.rvd-review p { margin: 6px 0 0; font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, 0.7); }

/* --- Garantía --- */
.rvd-trust { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 0; padding: 0; list-style: none; }
.rvd-trust li { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; }
.rvd-trust svg { width: 16px; height: 16px; color: var(--rv-red); }

.rvd-alert {
    display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; padding: 14px 16px;
    background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); border-radius: 16px;
}
.rvd-alert svg { width: 22px; height: 22px; color: #fbbf24; }
.rvd-alert b { display: block; font-size: 13px; font-weight: 800; }
.rvd-alert span { display: block; margin: 2px 0 8px; font-size: 12px; color: rgba(255, 255, 255, 0.7); }

.rvd-report {
    display: block; margin-top: 24px; text-align: center;
    font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.3); transition: color 200ms ease;
}
.rvd-report:hover { color: rgba(255, 255, 255, 0.7); }

/* --- Barra flotante de reserva --- */
.rvd-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: #0A0A0A; border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.8);
    padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
}
.rvd-bar-in { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.rvd-bar-price { flex: 4; min-width: 0; }
.rvd-bar-price small {
    display: block; font-size: 9px; font-weight: 800; letter-spacing: 0.5px;
    color: var(--rv-red); text-transform: uppercase;
}
.rvd-bar-price b { font-size: 19px; font-weight: 900; }
.rvd-bar-price span { margin-left: 4px; font-size: 11px; color: rgba(255, 255, 255, 0.5); }
.rvd-bar-cta {
    flex: 6; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 14px 12px; border-radius: 100px; background: var(--rv-red); color: #fff;
    font-size: 12px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(255, 56, 60, 0.4);
    transition: transform 200ms ease, background 200ms ease;
}
.rvd-bar-cta:hover { background: var(--rv-red-dark); }
.rvd-bar-cta:active { transform: scale(0.98); }
.rvd-bar-cta svg { width: 14px; height: 14px; }
.rvd-bar-cta.is-ghost { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: none; }

@media (min-width: 768px) {
    .rvd { padding-top: 112px; }
    .rvd-hero { height: 380px; margin: 0; border-radius: 28px; }
    .rvd-name { font-size: 34px; }
    .rvd-title { font-size: 15px; }
    .rvd-bio-item dd { font-size: 13px; }
    .rvd-fee b { font-size: 14px; }
    .rvd-fee small { font-size: 11px; }
}

/* Ajustes de íconos envueltos */
.rvd-stat b .is-gold svg { color: var(--rv-gold); }
.rvd-chevron { display: inline-flex; }
.rvd-chevron svg { width: 24px; height: 24px; }

/* Colores explícitos: base.html define colores globales para títulos y párrafos */
.rvx-sheet-head h3, .rvd-name, .rvd-h3, .rvd-rating p, .rvd-bio-item dd,
.rvd-menu-name, .rvd-review-head b, .rvd-empty b, .rvd-alert b { color: #fff; }

/* Ajustes tras revisión visual */
.rvd { padding-top: 48px; }
.rvd-ico { flex-shrink: 0; }
.rvd-bar-price { flex: 0 1 auto; white-space: nowrap; }
.rvd-bar-cta { flex: 1; }
@media (min-width: 768px) {
    .rvd { padding-top: 104px; }
}

/* ==========================================================================
   ESCRITORIO (>= 1024px) — mismo lenguaje visual, composición propia
   ========================================================================== */

/* --- Detalle del chef: orden móvil con contenedores transparentes --- */
.rvd-layout { display: flex; flex-direction: column; gap: 14px; padding-top: 12px; }
.rvd-main, .rvd-side { display: contents; }
.rvd-alert { order: 0; }
.rvd-main > .rvd-card { order: 1; }
.rvd-fee-card { order: 2; }
.rvd-stats { order: 3; }
.rvd-tabs { order: 4; }
.rvd-section { order: 5; padding-top: 2px; }
.rvd-trust-card { order: 6; padding: 18px; }
.rvd-report { order: 7; margin-top: 10px; }
.rvd-book { display: none; }

/* --- Explorar: elementos exclusivos de cada composición --- */
.rvx-intro { display: none; }
.rvx-split-only { display: none !important; }
.rvx-about { padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.rvx-about p { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.rvx-about small { font-size: 11px; line-height: 1.4; color: rgba(255, 255, 255, 0.45); }

@media (min-width: 1024px) {
    /* ---------- EXPLORAR: tarjeta partida (chef | menús) ---------- */
    .rvx { max-width: 1440px; margin: 0 auto; padding-bottom: 64px; }
    .rvx-intro { display: block; padding: 20px 24px 14px; }
    .rvx-intro h1 { margin: 0; font-size: 34px; font-weight: 900; letter-spacing: -0.8px; color: #fff; }
    .rvx-intro p { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.65); }
    .rvx-chips { padding-bottom: 24px; }
    .rvx-chip { height: 38px; padding: 0 18px; font-size: 13px; }
    .rvx-feed { grid-template-columns: repeat(auto-fill, minmax(560px, 1fr)); gap: 28px; }
    .rvx-card { height: 440px; border: 1px solid var(--rv-border); background: #0E0E12; }
    .rvx-track { overflow: hidden; }
    .rvx-slide { flex: 0 0 50%; }
    .rvx-menu { border-left: 1px solid var(--rv-border); }
    .rvx-slide-only, .rvx-back { display: none !important; }
    a.rvx-split-only { display: inline-flex !important; }
    .rvx-slide.rvx-split-only { display: flex !important; }
    .rvx-menu-top { justify-content: flex-end; padding: 16px 16px 8px; }
    .rvx-menu-title { padding: 8px 18px 10px; font-size: 15px; }
    .rvx-slide.rvx-split-only .rvx-menu-title { padding-top: 22px; }
    .rvx-dishes { padding: 4px 18px 18px; }
    .rvx-about { padding: 8px 18px 18px; }
    .rvx-dish-name { font-size: 13px; }
    .rvx-dish-desc { font-size: 11px; }
    .rvx-name { font-size: 26px; }

    /* Detalle del menú como diálogo centrado */
    .rvx-sheet { top: 0; bottom: 0; margin: auto; height: min(720px, 86vh); border-radius: 28px; }
    .rvx-grab { visibility: hidden; margin: 8px auto; }

    /* ---------- DETALLE DEL CHEF: contenido + columna de reserva ---------- */
    .rvd { padding-bottom: 80px; }
    .rvd-col { max-width: 1180px; padding: 0 24px; }
    .rvd-hero { height: 440px; border-radius: 32px; }
    .rvd-hero-top { top: 20px; left: 20px; right: 20px; }
    .rvd-hero-info { left: 36px; right: 36px; bottom: 32px; }
    .rvd-name { margin-top: 12px; font-size: 44px; letter-spacing: -1px; }
    .rvd-title { margin-top: 4px; font-size: 16px; }
    .rvd-badge { padding: 6px 14px; font-size: 11px; }
    .rvd-badge-verified { padding: 6px 14px; font-size: 12px; }

    .rvd-layout {
        display: grid; grid-template-columns: minmax(0, 1fr) 380px;
        gap: 28px; align-items: start; padding-top: 28px;
    }
    .rvd-main, .rvd-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
    .rvd-side {
        position: sticky; top: 104px;
        max-height: calc(100vh - 124px); overflow-y: auto;
        -ms-overflow-style: none; scrollbar-width: none;
    }
    .rvd-side::-webkit-scrollbar { display: none; }
    .rvd-card { padding: 22px; border-radius: 24px; }
    .rvd-main > .rvd-card { padding: 26px; }
    .rvd-bio { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
    .rvd-bio-item dt { font-size: 12px; }
    .rvd-bio-item dd { font-size: 14px; }
    .rvd-eyebrow { font-size: 12px; }
    .rvd-tabs { max-width: 460px; }
    .rvd-section { padding-top: 4px; }
    .rvd-menu-head { padding: 20px; gap: 18px; }
    .rvd-menu-thumb { width: 72px; height: 72px; border-radius: 16px; }
    .rvd-menu-name { font-size: 18px; }
    .rvd-menu-price { font-size: 13px; }
    .rvd-menu-body { padding: 4px 20px 20px; }
    .rvd-menu-desc { font-size: 13px; }
    .rvd-course b { font-size: 13px; }
    .rvd-course span { font-size: 12px; }
    .rvd-course i { font-size: 11px; }
    .rvd-select { max-width: 320px; }
    .rvd-review p { font-size: 13px; }
    .rvd-report { text-align: left; }
    .rvd-fee b { font-size: 12px; }
    .rvd-fee small { font-size: 10px; }

    /* Tarjeta de reserva */
    .rvd-bar { display: none; }
    .rvd-book { display: block; order: -1; border-color: rgba(255, 56, 60, 0.35); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
    .rvd-book small {
        display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.8px;
        color: var(--rv-red); text-transform: uppercase;
    }
    .rvd-book-price { margin-top: 4px; }
    .rvd-book-price b { font-size: 30px; font-weight: 900; letter-spacing: -0.6px; color: #fff; }
    .rvd-book-price span { margin-left: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
    .rvd-book-hint { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, 0.6); }
    .rvd-book .rvd-bar-cta { display: flex; width: 100%; margin-top: 18px; padding: 16px; font-size: 13px; }
    .rvd-book-note {
        display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0;
        font-size: 11px; color: rgba(255, 255, 255, 0.5);
    }
    .rvd-book-note svg { width: 13px; height: 13px; color: var(--rv-green); }
}

@media (min-width: 1024px) {
    .rvx-menu-title { white-space: nowrap; }
    .rvx-menu-title small { display: none; }
    .rvx-profile-chip { max-width: 100%; }
}
