.alta-negocio [hidden],
.ficha-negocio [hidden],
.negocio-mapa [hidden] {
    display: none !important;
}
.alta-ficha svg,
.negocio-archivo svg,
.platillo-agregar svg,
.ficha-acciones .btn svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.alta-ficha,
.alta-ficha:link,
.alta-ficha:visited {
    margin-top: 14px;
}
.alta-aviso {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-left: 4px solid var(--rv-verde);
    border-radius: 10px;
    background: #fff;
    color: var(--rv-verde);
    font-weight: 600;
}
.alta-ayuda {
    margin: 0 0 12px;
    color: var(--rv-texto-suave);
    font-size: 0.85rem;
    line-height: 1.4;
}
.negocio-form .alta-bloque > :not(legend) {
    clear: both;
}
.negocio-form textarea {
    min-height: 88px;
    max-height: 280px;
    field-sizing: content;
}
.negocio-form [aria-invalid="true"] {
    border-color: var(--rv-error) !important;
    box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.12) !important;
}

.alta-acceso {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 30px 22px;
    text-align: center;
}
.alta-acceso-icono {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--rv-primario-suave);
    color: var(--rv-verde);
}
.alta-acceso-icono svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}
.alta-acceso h2 {
    margin: 4px 0 0;
    color: var(--rv-texto);
    font-size: 1.25rem;
    font-weight: 700;
}
.alta-acceso p {
    max-width: 44ch;
    margin: 0;
    color: var(--rv-texto-suave);
}
.alta-acceso-acciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}
.alta-acceso-acciones .btn {
    min-width: 150px;
}

.negocio-identidad {
    position: relative;
}
.negocio-portada {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    background: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.45), transparent 42%), var(--rv-gradiente-salmon);
}
.negocio-portada img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.negocio-portada-vacia {
    display: grid;
    justify-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}
.negocio-portada-vacia svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linejoin: round;
}
.negocio-avatar {
    position: absolute;
    bottom: -46px;
    left: 18px;
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--rv-primario-suave);
    box-shadow: 0 8px 22px rgba(31, 77, 56, 0.18);
    color: var(--rv-verde);
    font-size: 2.4rem;
    font-weight: 700;
}
.negocio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.negocio-fotos-acciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    min-height: 46px;
    margin: 12px 0 10px;
    padding-left: 134px;
}
.negocio-archivo {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.negocio-archivo input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}
.negocio-archivo:focus-within {
    box-shadow: 0 0 0 3px rgba(224, 122, 104, 0.35);
}

.selector-cocina-lista {
    z-index: 20;
}
.selector-cocina-boton {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23666' d='m5 7 5 6 5-6z'/%3E%3C/svg%3E") right 10px center / 16px no-repeat, var(--rv-gradiente-superficie);
}
.selector-cocina-actual {
    flex: 1;
    min-width: 0;
    font-weight: 600;
}
.selector-cocina-boton:not(:has(.selector-cocina-icono)) .selector-cocina-actual {
    color: #757575;
    font-weight: 400;
}
.selector-cocina-icono .icono-filtro {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
}

.interruptor {
    position: relative;
    display: inline-block;
    flex: 0 0 48px;
    width: 48px;
    height: 28px;
}
.negocio-form .interruptor input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
}
.interruptor span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #cfd9d3;
    cursor: pointer;
    transition: background 0.2s ease;
}
.interruptor span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease;
}
.interruptor input:checked + span {
    background: var(--rv-verde);
}
.interruptor input:checked + span::after {
    transform: translateX(20px);
}
.interruptor input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(224, 122, 104, 0.35);
}
.negocio-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    background: var(--rv-gradiente-superficie);
    font-weight: 600;
    cursor: pointer;
}

.horario-lista,
.platillo-lista {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}
.horario-lista:empty,
.platillo-lista:empty {
    display: none;
}
.horario-fila {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 6px 14px;
    border: 1px solid var(--rv-borde);
    border-radius: 12px;
    background: #fff;
}
.horario-dia {
    color: var(--rv-verde);
    font-weight: 700;
}
.horario-detalle {
    color: var(--rv-texto-suave);
    font-weight: 500;
}
.horario-campos {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    padding: 12px;
    border: 1px dashed #e8cfc5;
    border-radius: 12px;
    background: #fffaf8;
}
.horario-campo-dia {
    display: grid;
    flex: 1 1 150px;
    gap: 5px;
    max-width: 200px;
}
.horario-etiqueta {
    color: #444;
    font-size: 0.8rem;
    font-weight: 600;
}
.negocio-form select,
.negocio-form .reloj-boton {
    width: 100%;
    min-height: 44px;
    margin: 0;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    background-color: #fff;
    color: var(--rv-texto);
    font: inherit;
    font-size: 15px;
}
.negocio-form select {
    padding: 0 34px 0 12px;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23666' d='m5 7 5 6 5-6z'/%3E%3C/svg%3E") right 10px center / 16px no-repeat;
    cursor: pointer;
}
.negocio-form select:focus,
.negocio-form .reloj-boton[aria-expanded="true"] {
    outline: 0;
    border-color: var(--rv-primario);
    box-shadow: 0 0 0 3px rgba(255, 66, 14, 0.15);
}
.horario-estado {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-weight: 600;
    cursor: pointer;
}
.horario-tiempos {
    display: flex;
    flex: 1 1 320px;
    align-items: flex-end;
    gap: 8px;
}
.reloj-campo {
    display: grid;
    flex: 1 1 140px;
    gap: 5px;
    min-width: 0;
}
.horario-guion {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--rv-texto-suave);
    font-weight: 700;
}
.negocio-horario.horario-sin-horas .reloj-campo,
.negocio-horario.horario-sin-horas .horario-guion {
    display: none;
}
.reloj {
    position: relative;
    display: block;
}
.negocio-form .reloj-boton {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.reloj-texto {
    min-width: 0;
    overflow: hidden;
    color: var(--rv-texto-suave);
    text-overflow: ellipsis;
}
.reloj-listo .reloj-texto {
    color: var(--rv-texto);
}
.reloj-flecha {
    flex: 0 0 12px;
    width: 12px;
    height: 8px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}
.reloj-boton[aria-expanded="true"] .reloj-flecha {
    transform: rotate(180deg);
}
.reloj-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    display: grid;
    gap: 10px;
    width: min(300px, calc(100vw - 40px));
    padding: 12px;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(31, 77, 56, 0.18);
}
.reloj-campo:last-of-type .reloj-panel {
    right: 0;
    left: auto;
}
.reloj-columnas {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}
.reloj-col {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}
.reloj-leyenda {
    color: var(--rv-texto-suave);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
}
.reloj-lista {
    display: grid;
    align-content: start;
    gap: 2px;
    max-height: 176px;
    padding: 4px;
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 10px;
    background: #f8f3f0;
}
.reloj-lista button {
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--rv-texto);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.reloj-lista button:hover {
    background: #fff;
}
.reloj-lista button.activo {
    background: var(--rv-verde);
    color: #fff;
}
.reloj-aplicar {
    width: 100%;
}
.negocio-form .horario-agregar {
    flex: 0 0 44px;
    gap: 8px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
}
.negocio-form .btn-icono svg,
.negocio-mapa .btn-icono svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.horario-agregar-texto {
    display: none;
    font-size: 0.95rem;
    font-weight: 600;
}

.negocio-mapa {
    position: relative;
    margin-bottom: 4px;
}
.negocio-mapa > .mapa-marco,
.negocio-mapa > .negocio-lugar {
    margin-top: 10px;
}
.negocio-buscar {
    margin-top: 0;
}
.negocio-resultados {
    position: absolute;
    z-index: 20;
    right: 0;
    left: 0;
    display: grid;
    gap: 2px;
    max-height: 260px;
    margin-top: 4px;
    padding: 6px;
    overflow: auto;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(31, 77, 56, 0.16);
}
.negocio-resultados button {
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--rv-texto);
    font: inherit;
    font-size: 0.9rem;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}
.negocio-resultados button:hover,
.negocio-resultados button:focus-visible {
    outline: 0;
    background: #fff1eb;
}
.mapa-marco {
    position: relative;
    isolation: isolate;
}
.negocio-mapa-lienzo {
    height: 300px;
    overflow: hidden;
    border: 1px solid #e3d6d0;
    border-radius: 14px;
    background: #f1ece8;
}
.mapa-acciones {
    position: absolute;
    z-index: 1001;
    top: 10px;
    right: 10px;
    display: flex;
}
.negocio-mapa .btn-icono {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
    color: var(--rv-verde);
}
.negocio-mapa .btn-icono:hover {
    background: var(--rv-primario-suave);
}
.negocio-lugar {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8f3f0;
    color: var(--rv-texto-suave);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
}
.negocio-lugar svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}
.negocio-lugar-listo {
    background: #eef6f1;
    color: var(--rv-verde);
}
body.mapa-abierto {
    overflow: hidden;
}
.negocio-mapa.mapa-grande {
    position: fixed;
    inset: 0;
    z-index: 800;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 14px 16px 16px;
    background: var(--rv-gradiente-suave);
}
.negocio-mapa.mapa-grande .mapa-marco {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    margin-top: 0;
}
.negocio-mapa.mapa-grande .negocio-lugar {
    margin-top: 0;
}
.negocio-mapa.mapa-grande .negocio-mapa-lienzo {
    flex: 1;
    height: auto;
}
.negocio-mapa.mapa-grande .negocio-resultados {
    top: 88px;
    right: 16px;
    left: 16px;
}

.platillo-fila {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border: 1px solid var(--rv-borde);
    border-radius: 14px;
    background: #fff;
}
.platillo-tarjeta-foto {
    display: grid;
    flex: 0 0 60px;
    place-items: center;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 10px;
    background: #f7ece7;
}
.platillo-tarjeta-foto img,
.platillo-foto-vista img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.platillo-sin-foto {
    margin: 0;
    padding: 4px;
    color: #a08b82;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}
.platillo-tarjeta-texto {
    display: grid;
    flex: 1;
    gap: 2px;
    min-width: 0;
}
.platillo-tarjeta-nombre {
    overflow: hidden;
    font-size: 0.98rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.platillo-tarjeta-precio {
    color: var(--rv-verde);
    font-size: 0.88rem;
    font-weight: 700;
}
.platillo-tarjeta-precio:empty::before {
    content: "Sin precio";
    color: var(--rv-texto-suave);
    font-weight: 500;
}
.platillo-archivo {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}
.platillo-editar {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: var(--rv-primario-suave);
    color: var(--rv-verde);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--rv-transicion);
}
.platillo-editar:hover,
.platillo-editar:focus-visible {
    outline: 0;
    background: #f9dcd1;
}
.negocio-quitar {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--rv-texto-suave);
    cursor: pointer;
    transition: background var(--rv-transicion), color var(--rv-transicion);
}
.negocio-quitar:hover,
.negocio-quitar:focus-visible {
    outline: 0;
    background: var(--rv-error-suave);
    color: var(--rv-error);
}
.negocio-quitar svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}
.platillo-agregar,
.platillo-agregar:link {
    width: 100%;
    min-height: 48px;
    border-style: dashed;
}

body:has(.platillo-modal:not([hidden])),
body:has(.recorte:not([hidden])) {
    overflow: hidden;
}
.platillo-modal,
.recorte {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(20, 38, 29, 0.55);
    backdrop-filter: blur(3px);
}
.platillo-modal {
    z-index: 900;
}
.recorte {
    z-index: 950;
}
.platillo-modal-caja,
.recorte-caja {
    display: grid;
    width: min(520px, 100%);
    max-height: min(92vh, 780px);
    overflow: auto;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(20, 38, 29, 0.28);
}
.platillo-modal-caja {
    gap: 2px;
    padding: 22px 22px 18px;
}
.platillo-modal-caja h2 {
    margin: 0 0 4px;
    color: var(--rv-texto);
    font-size: 1.2rem;
    font-weight: 700;
}
.platillo-foto {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 6px 14px;
    margin-top: 12px;
}
.platillo-foto-titulo {
    grid-column: 1 / -1;
    color: #444;
    font-size: 0.85rem;
    font-weight: 600;
}
.platillo-foto-vista {
    display: grid;
    place-items: center;
    width: 120px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 14px;
    background: #f7ece7;
}
.platillo-foto .negocio-archivo {
    justify-self: start;
}
.platillo-modal-acciones {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}
.platillo-modal-acciones .btn {
    min-width: 120px;
}

.recorte-caja {
    gap: 12px;
    width: min(560px, 100%);
    padding: 20px;
}
.recorte-titulo {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
}
.recorte-ayuda {
    margin: 0;
    color: var(--rv-texto-suave);
    font-size: 0.88rem;
    line-height: 1.4;
    text-align: center;
}
.recorte-escenario {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    background: #1d2b24;
    touch-action: none;
}
.recorte-escenario.recorte-banda {
    height: 280px;
}
.recorte-escenario img {
    position: absolute;
    max-width: none;
    user-select: none;
    pointer-events: none;
}
.recorte-marco {
    position: absolute;
    border: 2px solid #fff;
    border-radius: 14px;
    box-shadow: 0 0 0 999px rgba(20, 38, 29, 0.6);
    pointer-events: none;
}
.recorte-marco::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, transparent calc(33.33% - 1px), rgba(255, 255, 255, 0.7) calc(33.33% - 1px), rgba(255, 255, 255, 0.7) calc(33.33% + 1px), transparent calc(33.33% + 1px), transparent calc(66.66% - 1px), rgba(255, 255, 255, 0.7) calc(66.66% - 1px), rgba(255, 255, 255, 0.7) calc(66.66% + 1px), transparent calc(66.66% + 1px)),
        linear-gradient(to bottom, transparent calc(33.33% - 1px), rgba(255, 255, 255, 0.7) calc(33.33% - 1px), rgba(255, 255, 255, 0.7) calc(33.33% + 1px), transparent calc(33.33% + 1px), transparent calc(66.66% - 1px), rgba(255, 255, 255, 0.7) calc(66.66% - 1px), rgba(255, 255, 255, 0.7) calc(66.66% + 1px), transparent calc(66.66% + 1px));
}
.recorte-mover {
    position: absolute;
    z-index: 1;
    inset: 16px;
    cursor: move;
    pointer-events: auto;
}
.recorte-borde {
    position: absolute;
    z-index: 2;
    pointer-events: auto;
    touch-action: none;
}
.recorte-borde[data-borde="n"],
.recorte-borde[data-borde="s"] {
    right: 22px;
    left: 22px;
    height: 18px;
    cursor: ns-resize;
}
.recorte-borde[data-borde="n"] {
    top: -9px;
}
.recorte-borde[data-borde="s"] {
    bottom: -9px;
}
.recorte-borde[data-borde="e"],
.recorte-borde[data-borde="w"] {
    top: 22px;
    bottom: 22px;
    width: 18px;
    cursor: ew-resize;
}
.recorte-borde[data-borde="e"] {
    right: -9px;
}
.recorte-borde[data-borde="w"] {
    left: -9px;
}
.recorte-borde[data-borde="n"]::after,
.recorte-borde[data-borde="s"]::after,
.recorte-borde[data-borde="e"]::after,
.recorte-borde[data-borde="w"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 99px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(20, 38, 29, 0.25);
    transform: translate(-50%, -50%);
}
.recorte-borde[data-borde="n"]::after,
.recorte-borde[data-borde="s"]::after {
    width: 36px;
    height: 5px;
}
.recorte-borde[data-borde="e"]::after,
.recorte-borde[data-borde="w"]::after {
    width: 5px;
    height: 36px;
}
.recorte-borde[data-borde="nw"],
.recorte-borde[data-borde="ne"],
.recorte-borde[data-borde="se"],
.recorte-borde[data-borde="sw"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(20, 38, 29, 0.25);
}
.recorte-borde[data-borde="nw"] {
    top: -8px;
    left: -8px;
    cursor: nwse-resize;
}
.recorte-borde[data-borde="ne"] {
    top: -8px;
    right: -8px;
    cursor: nesw-resize;
}
.recorte-borde[data-borde="se"] {
    right: -8px;
    bottom: -8px;
    cursor: nwse-resize;
}
.recorte-borde[data-borde="sw"] {
    bottom: -8px;
    left: -8px;
    cursor: nesw-resize;
}
.recorte-acciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.recorte-acciones .btn {
    flex: 1 1 130px;
}
.negocio-enviar {
    margin-top: 4px;
}

@media (max-width: 560px) {
    .negocio-avatar {
        bottom: -40px;
        left: 12px;
        width: 86px;
        height: 86px;
        border-width: 3px;
        font-size: 2rem;
    }
    .negocio-fotos-acciones {
        padding-left: 108px;
    }
    .negocio-fotos-acciones .negocio-archivo {
        flex: 1 1 auto;
    }
    .horario-fila {
        grid-template-columns: 88px minmax(0, 1fr) auto;
        padding-left: 12px;
        font-size: 0.92rem;
    }
    .horario-campos {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 10px;
    }
    .horario-campo-dia {
        max-width: none;
    }
    .horario-tiempos {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr);
        gap: 8px 6px;
    }
    .negocio-form .reloj-boton {
        padding: 0 10px;
        font-size: 14px;
    }
    .negocio-form .horario-agregar {
        grid-column: 1 / -1;
        width: 100%;
    }
    .negocio-horario.horario-sin-horas .horario-tiempos {
        grid-template-columns: 1fr;
    }
    .horario-agregar-texto {
        display: inline;
    }
    .negocio-mapa-lienzo {
        height: 260px;
    }
    .platillo-fila {
        gap: 10px;
    }
    .platillo-tarjeta-foto {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }
    .platillo-editar {
        padding: 0 12px;
    }
    .platillo-modal {
        align-items: end;
        padding: 0;
    }
    .platillo-modal-caja {
        width: 100%;
        max-height: 92vh;
        padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
        border-radius: 20px 20px 0 0;
    }
    .platillo-modal-acciones .btn {
        flex: 1;
        min-width: 0;
    }
    .platillo-foto {
        grid-template-columns: 96px minmax(0, 1fr);
    }
    .platillo-foto-vista {
        width: 96px;
    }
    .recorte {
        padding: 10px;
    }
    .recorte-caja {
        padding: 16px;
    }
    .recorte-escenario {
        height: 320px;
    }
    .recorte-escenario.recorte-banda {
        height: 220px;
    }
}
@media (max-width: 400px) {
    .negocio-fotos-acciones {
        margin-top: 52px;
        padding-left: 0;
    }
    .negocio-fotos-acciones .negocio-archivo {
        flex: 1 1 0;
        padding: 0 10px;
    }
}

.ficha-negocio {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 20px 16px 36px;
}
.ficha-vacia {
    width: min(520px, 100%);
    margin: 40px auto;
    padding: 32px 24px;
    border: 1px solid var(--rv-borde);
    border-radius: 22px;
    background: #fff;
    text-align: center;
}
.ficha-vacia h1 {
    margin: 0 0 8px;
}
.ficha-vacia p {
    margin: 0 0 18px;
    color: var(--rv-texto-suave);
}
.ficha-cabecera {
    overflow: hidden;
    border: 1px solid var(--rv-borde);
    border-radius: 22px;
    background: var(--rv-gradiente-superficie);
    box-shadow: 0 10px 28px rgba(80, 40, 30, 0.08);
}
.ficha-portada {
    width: 100%;
    max-height: 360px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 24%, rgba(244, 162, 140, 0.45), transparent 38%),
        radial-gradient(circle at 86% 78%, rgba(255, 255, 255, 0.14), transparent 42%),
        var(--rv-gradiente);
}
.ficha-portada img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ficha-portada-vacia {
    display: grid;
    place-items: center;
    max-height: 200px;
}
.ficha-portada img.sin-foto,
.ficha-platillo-foto img.sin-foto {
    width: 84px;
    height: 84px;
    object-fit: contain;
}
.ficha-identidad {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 18px;
    min-height: 96px;
    padding: 18px 24px 18px 184px;
}
.ficha-avatar {
    position: absolute;
    top: -68px;
    left: 24px;
    display: grid;
    place-items: center;
    width: 140px;
    height: 140px;
    overflow: hidden;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--rv-primario-suave);
    box-shadow: 0 10px 26px rgba(31, 77, 56, 0.2);
    color: var(--rv-verde);
    font-size: 3.2rem;
    font-weight: 700;
}
.ficha-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ficha-titulos {
    flex: 1 1 280px;
    min-width: 0;
}
.ficha-cocina {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef6f1;
    color: var(--rv-verde);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ficha-cocina .icono-filtro {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
}
.ficha-titulos h1 {
    margin: 0;
    color: #1c1c1c;
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.ficha-lugar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    color: var(--rv-texto-suave);
    font-size: 0.95rem;
    font-weight: 600;
}
.ficha-lugar svg,
.ficha-datos svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--rv-verde);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ficha-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ficha-acciones .llamar {
    margin-top: 0;
}
.ficha-etiquetas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 14px 24px 18px;
    border-top: 1px solid #f3e4de;
    list-style: none;
}
.ficha-etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f7e4dc;
    color: var(--rv-verde);
    font-size: 0.85rem;
    font-weight: 700;
}
.ficha-etiqueta .icono-filtro {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
}
.ficha-abierto {
    background: #e2f3e9;
    color: #1d6a43;
}
.ficha-cerrado {
    background: var(--rv-error-suave);
    color: var(--rv-error);
}
.ficha-punto {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7);
}
.ficha-abierto .ficha-punto {
    animation: ficha-pulso 2s ease-in-out infinite;
}
@keyframes ficha-pulso {
    50% {
        opacity: 0.45;
    }
}
.ficha-cuerpo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 18px;
    margin-top: 18px;
}
.ficha-principal,
.ficha-lateral {
    display: grid;
    gap: 18px;
    min-width: 0;
}
.ficha-bloque {
    padding: 20px 22px;
    border: 1px solid var(--rv-borde);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(80, 40, 30, 0.05);
}
.ficha-bloque h2 {
    margin: 0 0 12px;
    color: #1c1c1c;
    font-size: 1.12rem;
    font-weight: 700;
}
.ficha-descripcion {
    margin: 0;
    color: var(--rv-texto);
    line-height: 1.6;
    white-space: pre-line;
}
.ficha-bloque-cabeza {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.ficha-bloque-cabeza h2 {
    margin: 0;
}
.ficha-buscar {
    position: relative;
    display: block;
    flex: 0 1 260px;
}
.ficha-buscar svg {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--rv-texto-suave);
    stroke-width: 2;
    stroke-linecap: round;
    transform: translateY(-50%);
    pointer-events: none;
}
.ficha-buscar input {
    width: 100%;
    min-height: 40px;
    padding: 0 14px 0 38px;
    border: 1px solid #e3d6d0;
    border-radius: 999px;
    background: #fbf7f5;
    color: var(--rv-texto);
    font: inherit;
    font-size: 15px;
}
.ficha-buscar input:focus {
    outline: 0;
    border-color: var(--rv-primario);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 66, 14, 0.15);
}
.menu-carta {
    margin: 0;
    padding: 0;
    list-style: none;
}
.menu-plato {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px 2px;
    border-bottom: 1px solid #f3e4de;
}
.menu-plato:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}
.menu-plato-foto {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border-radius: 50%;
    background: #f7ece7;
}
.menu-plato-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.menu-plato-foto img.sin-foto {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.menu-plato-linea {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.menu-plato-nombre,
.menu-plato-nombre:link,
.menu-plato-nombre:visited {
    color: #1c1c1c;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}
.menu-plato-nombre:hover,
.menu-plato-nombre:focus-visible {
    color: var(--rv-verde-subido);
}
.menu-plato-puntos {
    flex: 1;
    border-bottom: 1px dotted #e4cfc6;
    transform: translateY(-3px);
}
.menu-plato-precio {
    color: var(--rv-salmon-fuerte, #ff5c3d);
    font-weight: 700;
    white-space: nowrap;
}
.menu-plato-desc {
    margin: 4px 0 0;
    color: #5d6b63;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.45;
}
.ficha-platillo,
.ficha-platillo:link,
.ficha-platillo:visited {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #f1e3dd;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ficha-platillo:hover,
.ficha-platillo:focus-visible {
    outline: 0;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(80, 40, 30, 0.12);
    transform: translateY(-2px);
}
.ficha-platillo-foto {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f7ece7;
}
.ficha-platillo-foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.ficha-platillo:hover .ficha-platillo-foto img {
    transform: scale(1.04);
}
.ficha-platillo-vacia .icono-filtro {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    color: #c9a99c;
}
.ficha-platillo-likes {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--rv-verde);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}
.ficha-platillo-likes svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}
.ficha-platillo-cuerpo {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
}
.ficha-platillo-nombre {
    color: #1c1c1c;
    font-size: 1rem;
    line-height: 1.25;
}
.ficha-platillo-descripcion {
    display: -webkit-box;
    overflow: hidden;
    color: #5d6b63;
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ficha-platillo-pie {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}
.ficha-platillo-precio {
    color: var(--rv-verde);
    font-size: 1rem;
    font-weight: 700;
}
.ficha-platillo-ir {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--rv-verde);
    color: #fff;
}
.ficha-platillo-ir svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}
.ficha-platillo:hover .ficha-platillo-ir svg {
    transform: translateX(3px);
}
.ficha-sin {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin: 0;
    padding: 22px 16px;
    border: 1px dashed var(--rv-borde);
    border-radius: 14px;
    color: var(--rv-texto-suave);
    text-align: center;
}
.ficha-sin p {
    margin: 0;
}
p.ficha-sin {
    margin-top: 14px;
}
.ficha-horario {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ficha-horario li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.92rem;
}
.ficha-horario li span:first-child {
    color: var(--rv-verde);
    font-weight: 700;
}
.ficha-horario li span:last-child {
    color: var(--rv-texto-suave);
    text-align: right;
}
.ficha-hoy {
    background: #eef6f1;
}
.ficha-hoy small {
    margin-left: 4px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--rv-verde);
    color: #fff;
    font-size: 0.66rem;
    vertical-align: 1px;
}
.ficha-mapa {
    height: 220px;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid #eadcd6;
    border-radius: 14px;
    isolation: isolate;
}
.ficha-ruta {
    display: block;
    width: 100%;
    height: 360px;
    margin-bottom: 14px;
    border: 1px solid #eadcd6;
    border-radius: 14px;
}
.ficha-ruta[hidden],
.ficha-ruta-nota[hidden] {
    display: none;
}
.ficha-ruta-nota {
    margin: 0 0 10px;
    color: var(--rv-texto-suave);
    font-size: 0.88rem;
}
.ficha-datos {
    display: grid;
    gap: 12px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}
.ficha-datos li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.45;
}
.ficha-datos .icono-filtro {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}
.ficha-datos small {
    color: var(--rv-texto-suave);
    font-size: 0.85rem;
}
.llamar-texto,
.llamar-texto:link,
.llamar-texto:visited {
    font-weight: 700;
}

@media (max-width: 900px) {
    .ficha-cuerpo {
        grid-template-columns: 1fr;
    }
    .ficha-lateral {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        align-items: start;
    }
}
@media (max-width: 700px) {
    .ficha-negocio {
        padding: 10px 10px 28px;
    }
    .ficha-cabecera {
        border-radius: 18px;
    }
    .ficha-portada-vacia {
        aspect-ratio: 16 / 7;
    }
    .ficha-identidad {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 60px 16px 16px;
        text-align: center;
    }
    .ficha-avatar {
        top: -56px;
        left: 50%;
        width: 108px;
        height: 108px;
        border-width: 4px;
        font-size: 2.5rem;
        transform: translateX(-50%);
    }
    .ficha-titulos {
        flex: 0 0 auto;
    }
    .ficha-lugar {
        justify-content: center;
    }
    .ficha-acciones {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ficha-acciones .btn {
        gap: 5px;
        min-width: 0;
        padding: 0 8px;
        font-size: 0.88rem;
    }
    .ficha-acciones .btn:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    .ficha-etiquetas {
        justify-content: center;
        gap: 6px;
        padding: 12px 12px 16px;
    }
    .ficha-etiqueta {
        gap: 6px;
        min-height: 30px;
        padding: 0 10px;
        font-size: 0.8rem;
    }
    .ficha-cuerpo {
        gap: 12px;
        margin-top: 12px;
    }
    .ficha-principal,
    .ficha-lateral {
        gap: 12px;
    }
    .ficha-bloque {
        padding: 16px;
        border-radius: 16px;
    }
    .ficha-bloque-cabeza {
        align-items: stretch;
        flex-direction: column;
    }
    .ficha-buscar {
        flex-basis: auto;
    }
    .menu-plato {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 0;
    }
    .menu-plato-foto {
        width: 56px;
        height: 56px;
    }
    .menu-plato .votar {
        grid-column: 2;
        justify-self: start;
    }
    .menu-plato-nombre,
    .menu-plato-nombre:link,
    .menu-plato-nombre:visited {
        font-size: 0.98rem;
    }
    .menu-plato-desc {
        font-size: 0.84rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ficha-platillo,
    .ficha-platillo-foto img,
    .ficha-abierto .ficha-punto {
        transition: none;
        animation: none;
    }
}
