/* ==== Detalle Establecimiento - Viaje Informado ==== */

/* ==== 1. Base general ==== */

.detalle-establecimiento-pagina {
    background-color: var(--est-fondo-suave);
    color: var(--est-texto-titulo);
}

.detalle-establecimiento-pagina .container {
    position: relative;
}

.detalle-hero-info h1,
.detalle-mobile-info h1,
.detalle-sobre-encabezado h2,
.detalle-bloque-encabezado h2,
.detalle-panel-contacto h2,
.detalle-gallery-header strong,
.detalle-recomendacion-item h3,
.detalle-habitacion-card h3 {
    font-family: "Playfair Display", serif;
}

.detalle-bloque,
.detalle-panel-contacto {
    background: #ffffff;
    border: 1px solid rgba(0, 45, 137, 0.11);
    border-radius: 28px;
    box-shadow: 0 18px 46px rgba(0, 45, 137, 0.08);
}

.detalle-bloque {
    padding: 36px;
}

/* La sección de reseñas es compartida con turismo.css: al usarla como
   detalle-bloque acá, se pisa su padding/borde propios (pensados para vivir
   sueltos en la página) por los del card. */
.vi-resenas.detalle-bloque {
    padding: 36px;
    border-top: none;
}

.detalle-bloque p {
    margin: 0;
    color: var(--est-texto-suave);
    font-size: 1rem;
    line-height: 1.78;
}

.detalle-bloque-encabezado {
    margin-bottom: 24px;
}

.detalle-bloque-encabezado span,
.detalle-panel-small {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--est-azul-oscuro);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.detalle-bloque-encabezado h2,
.detalle-panel-contacto h2 {
    margin: 0;
    color: var(--est-texto-titulo);
    font-size: clamp(2rem, 3vw, 2.55rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

/* ==== 2. Hero escritorio ==== */

.detalle-hero {
    position: relative;
    padding: 152px 0 0;
    overflow: visible;
    background:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.58), transparent 34%),
        radial-gradient(circle at 86% 12%, rgba(83, 61, 35, 0.16), transparent 32%),
        linear-gradient(135deg, #e8dabe 0%, #ceb98f 48%, #b99d70 100%);
}

.detalle-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 44%),
        radial-gradient(circle at 75% 74%, rgba(255, 255, 255, 0.18), transparent 30%);
}

.detalle-restaurante .detalle-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 8% 14%, rgba(0, 127, 255, 0.28), transparent 32%),
        radial-gradient(circle at 86% 6%, rgba(248, 248, 255, 0.12), transparent 28%),
        linear-gradient(135deg, #101010 0%, #181818 46%, #050505 100%);
}

.detalle-restaurante .detalle-hero::before {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.07), transparent 32%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 45%);
}

.detalle-hero-container {
    position: relative;
    z-index: 2;
    width: min(1400px, calc(100% - 96px));
    margin: 0 auto;
}

.detalle-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 760px);
    gap: 64px;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 72px;
}

.detalle-hero-info {
    min-width: 0;
}

.detalle-hero-info h1 {
    max-width: 560px;
    margin: 0;
    color: #4b3824;
    font-size: clamp(4.6rem, 6.1vw, 7.2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 0.9;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.detalle-restaurante .detalle-hero-info h1 {
    color: #ffffff;
}

.detalle-hero-subtitulo {
    max-width: 620px;
    margin: 30px 0 0;
    color: rgba(75, 56, 36, 0.86);
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.62;
}

.detalle-restaurante .detalle-hero-subtitulo {
    color: rgba(255, 255, 255, 0.86);
}

/* ==== 3. Breadcrumb escritorio ==== */

.detalle-breadcrumb {
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
    padding: 10px 18px;
    border-radius: 999px;
    background-color: rgba(75, 56, 36, 0.12);
    border: 1px solid rgba(75, 56, 36, 0.14);
    color: rgba(75, 56, 36, 0.74);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.detalle-breadcrumb a {
    color: rgba(75, 56, 36, 0.72);
    text-decoration: none;
}

.detalle-breadcrumb a:hover,
.detalle-breadcrumb strong {
    color: #4b3824;
}

.detalle-breadcrumb span {
    color: rgba(75, 56, 36, 0.45);
}

.detalle-breadcrumb strong {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 900;
}

.detalle-restaurante .detalle-breadcrumb {
    background-color: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.78);
}

.detalle-restaurante .detalle-breadcrumb a,
.detalle-restaurante .detalle-breadcrumb span {
    color: rgba(255, 255, 255, 0.68);
}

.detalle-restaurante .detalle-breadcrumb strong,
.detalle-restaurante .detalle-breadcrumb a:hover {
    color: #ffffff;
}

/* ====   4. Meta del hero y dirección animada ==== */

.detalle-hero-meta {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.detalle-hero-meta-line {
    width: min(100%, 620px);
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
    row-gap: 12px;
}

.detalle-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: rgba(75, 56, 36, 0.88);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.35;
}

.detalle-meta-item i {
    flex: 0 0 auto;
    color: rgba(75, 56, 36, 0.72);
    font-size: 1.1rem;
}

.detalle-restaurante .detalle-meta-item,
.detalle-restaurante .detalle-meta-item i,
.detalle-restaurante .detalle-meta-rating-preview,
.detalle-restaurante .detalle-meta-rating-preview i {
    color: rgba(255, 255, 255, 0.88);
}

.detalle-meta-precio {
    min-width: max-content;
    max-width: 100%;
    white-space: nowrap;
}

.detalle-meta-direccion {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.detalle-marquee {
    --detalle-marquee-gap: 46px;
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    -webkit-mask-image: none;
    mask-image: none;
}

.detalle-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: var(--detalle-marquee-gap);
    min-width: max-content;
    white-space: nowrap;
    will-change: transform;
    contain: paint;
}

.detalle-marquee-track>span {
    flex: 0 0 auto;
}

.detalle-marquee-item .detalle-marquee-track span[aria-hidden="true"] {
    display: none;
}

.detalle-marquee-item.is-overflowing .detalle-marquee-track span[aria-hidden="true"],
.detalle-marquee-item.is-long .detalle-marquee-track span[aria-hidden="true"] {
    display: inline;
}

.detalle-marquee-item.is-overflowing .detalle-marquee-track,
.detalle-marquee-item.is-long .detalle-marquee-track {
    animation: detalleDireccionMarquee 16s linear infinite;
}

.detalle-marquee-item.is-overflowing:hover .detalle-marquee-track,
.detalle-marquee-item.is-long:hover .detalle-marquee-track {
    animation-play-state: paused;
}

@keyframes detalleDireccionMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 23px));
    }
}

@keyframes detalleDireccionMarqueeMobileStable {
    from {
        margin-left: 0;
    }

    to {
        margin-left: calc(-50% - 23px);
    }
}

/* ==== 5. Carrusel hero escritorio ==== */

.detalle-hero-media,
.detalle-swiper,
.detalle-imagen-estatica,
.detalle-media-vacia {
    width: 100%;
    height: 470px;
    border-radius: 28px;
}

.detalle-hero-media,
.detalle-swiper,
.detalle-imagen-estatica {
    position: relative;
}

.detalle-hero-media,
.detalle-swiper {
    overflow: hidden;
    background: transparent;
}

.detalle-hero-media {
    justify-self: end;
    max-width: 760px;
}

.detalle-swiper .swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: 28px;
}

.detalle-swiper .swiper-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.detalle-swiper-slide,
.detalle-imagen-estatica {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 34px 90px rgba(75, 56, 36, 0.24);
}

.detalle-restaurante .detalle-swiper-slide,
.detalle-restaurante .detalle-imagen-estatica {
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.detalle-swiper-slide img,
.detalle-imagen-estatica img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.detalle-swiper-slide::after,
.detalle-imagen-estatica::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.15) 100%);
}

.detalle-media-vacia,
.detalle-mobile-media-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.detalle-media-vacia {
    overflow: hidden;
    background: var(--est-acento-gradiente);
    color: #ffffff;
    font-size: 4rem;
}

/* ==== 6. Botones y controles de carrusel ==== */

.detalle-gallery-expand,
.detalle-mobile-gallery-expand {
    position: absolute;
    z-index: 12;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
    -webkit-tap-highlight-color: transparent;
}

.detalle-gallery-expand {
    top: 18px;
    right: 18px;
}

.detalle-mobile-gallery-expand {
    top: 14px;
    left: 14px;
}

.detalle-gallery-expand:hover,
.detalle-mobile-gallery-expand:hover {
    transform: scale(1.06);
    background-color: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.60);
}

.detalle-gallery-expand:focus,
.detalle-mobile-gallery-expand:focus,
.detalle-gallery-close:focus {
    outline: none;
}

.detalle-gallery-expand:focus-visible,
.detalle-mobile-gallery-expand:focus-visible,
.detalle-gallery-close:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 4px;
}

.detalle-gallery-expand i,
.detalle-mobile-gallery-expand i {
    font-size: 1.15rem;
    line-height: 1;
}

.detalle-swiper-controls,
.detalle-mobile-swiper-controls {
    position: absolute;
    left: 50%;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transform: translateX(-50%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.detalle-swiper-controls {
    bottom: 18px;
    gap: 14px;
    padding: 10px 18px;
    background-color: rgba(75, 56, 36, 0.18);
    border: 1px solid rgba(75, 56, 36, 0.14);
}

.detalle-restaurante .detalle-swiper-controls {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
}

.detalle-swiper-play,
.detalle-mobile-swiper-play {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.detalle-swiper-play {
    background-color: rgba(75, 56, 36, 0.86);
    color: #ffffff;
}

.detalle-restaurante .detalle-swiper-play {
    background-color: rgba(255, 255, 255, 0.92);
    color: #111111;
}

.detalle-swiper-play:hover {
    transform: scale(1.06);
    background-color: rgba(75, 56, 36, 1);
}

.detalle-swiper-play.is-paused {
    background-color: rgba(255, 255, 255, 0.92);
    color: #4b3824;
}

.detalle-swiper-pagination,
.detalle-mobile-pagination {
    position: static !important;
    z-index: 8;
    width: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0;
    background-color: transparent;
}

.detalle-swiper-pagination {
    gap: 10px;
}

.detalle-mobile-pagination {
    gap: 7px;
}

.detalle-swiper-pagination .swiper-pagination-bullet,
.detalle-mobile-pagination .swiper-pagination-bullet {
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    border: 0;
    border-radius: 999px;
    opacity: 1;
    transition: width 0.28s ease, background-color 0.28s ease;
}

.detalle-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.48);
}

.detalle-mobile-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.45);
}

.detalle-swiper-pagination .swiper-pagination-bullet-active {
    width: 48px;
    background-color: rgba(255, 255, 255, 0.34);
}

.detalle-mobile-pagination .swiper-pagination-bullet-active {
    width: 38px;
    background-color: rgba(255, 255, 255, 0.28);
}

.detalle-restaurante .detalle-swiper-pagination .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.38);
}

.detalle-restaurante .detalle-swiper-pagination .swiper-pagination-bullet-active {
    background-color: rgba(255, 255, 255, 0.22);
}

.detalle-bullet-progress {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background-color: #ffffff;
}

.detalle-swiper-arrows {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detalle-swiper-arrow {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.detalle-swiper-arrow:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.30);
}

.detalle-swiper-arrow i {
    font-size: 1.12rem;
}

/* ==== 7. Barra flotante escritorio ==== */

.detalle-hero-barra-wrap {
    position: relative;
    z-index: 20;
    margin-top: -38px;
    margin-bottom: 0;
}

.detalle-hero-barra {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 96px));
    min-height: 76px;
    margin: 0 auto;
    padding: 14px 20px;
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(0, 45, 137, 0.09);
    box-shadow: 0 24px 58px rgba(0, 45, 137, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.detalle-hero-acciones {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    flex-shrink: 0;
}

.detalle-hero-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.detalle-accion-icono,
.detalle-accion-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(0, 45, 137, 0.12);
    background-color: #ffffff;
    color: var(--est-azul-oscuro);
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.detalle-accion-icono {
    width: 48px;
    padding: 0;
    font-size: 1.15rem;
}

.detalle-accion-boton {
    gap: 9px;
    padding: 0 20px;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
}

.detalle-accion-icono:hover,
.detalle-accion-boton:hover {
    transform: translateY(-2px);
    background-color: #F8F8FF;
    box-shadow: 0 10px 26px rgba(0, 45, 137, 0.10);
}

/* Separador vertical entre grupo izquierdo y tag de categoría */
.detalle-hero-acciones::after {
    content: "";
    display: block;
    width: 1px;
    height: 28px;
    background: rgba(0, 45, 137, 0.12);
    margin-left: 4px;
    flex-shrink: 0;
}

.detalle-hero-tags span,
.detalle-mobile-tags span,
.detalle-mobile-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background-color: rgba(0, 127, 255, 0.09);
    color: var(--est-azul-oscuro);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detalle-hero-tags span {
    min-height: 44px;
    padding: 0 22px;
    font-size: 0.82rem;
}

/* ==== 8. Hero tablet / móvil ==== */

.detalle-mobile-hero {
    display: none;
}

.detalle-mobile-wrap {
    width: min(100%, 960px);
    margin: 0 auto;
}

.detalle-mobile-breadcrumb,
.detalle-mobile-media,
.detalle-mobile-info {
    box-sizing: border-box;
}

.detalle-mobile-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 12px 18px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.detalle-mobile-breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.detalle-mobile-breadcrumb span {
    color: rgba(255, 255, 255, 0.42);
}

.detalle-mobile-breadcrumb strong {
    min-width: 0;
    overflow: hidden;
    color: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detalle-mobile-media {
    position: relative;
    width: 100%;
    height: clamp(260px, 44vw, 420px);
    overflow: hidden;
    border-radius: 22px;
    background-color: #eef4ff;
}

.detalle-mobile-swiper,
.detalle-mobile-media-empty,
.detalle-mobile-swiper .swiper-wrapper,
.detalle-mobile-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.detalle-mobile-swiper {
    position: relative;
    overflow: hidden;
}

.detalle-mobile-slide {
    position: relative;
    overflow: hidden;
}

.detalle-mobile-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.detalle-mobile-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, transparent 42%),
        linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.32) 100%);
}

.detalle-mobile-counter {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.68);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.detalle-mobile-swiper-controls {
    bottom: 14px;
    gap: 12px;
    padding: 9px 14px;
    background-color: rgba(35, 27, 19, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.detalle-mobile-swiper-play {
    background-color: rgba(255, 255, 255, 0.94);
    color: #2e241b;
}

.detalle-mobile-swiper-play.is-paused {
    background-color: rgba(0, 45, 137, 0.92);
    color: #ffffff;
}

.detalle-mobile-media-empty {
    color: var(--est-azul-oscuro);
    font-size: 3rem;
    background-color: rgba(0, 127, 255, 0.08);
}

.detalle-mobile-info {
    padding: 24px;
    background-color: #ffffff;
    border-radius: 0 0 22px 22px;
}

.detalle-mobile-tags,
.detalle-mobile-actions,
.detalle-mobile-tabs {
    display: flex;
    align-items: center;
}

.detalle-mobile-tags {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.detalle-mobile-tags span {
    min-height: 30px;
    padding: 0 13px;
    font-size: 0.7rem;
}

.detalle-mobile-info h1 {
    margin: 0;
    color: var(--est-azul-oscuro);
    font-size: clamp(2.6rem, 8vw, 5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 0.94;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.detalle-mobile-info p {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--est-texto-secundario);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.detalle-mobile-meta {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.detalle-mobile-meta>div,
.detalle-mobile-rating-preview,
.detalle-mobile-direccion {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--est-azul-oscuro);
    font-size: 0.9rem;
    font-weight: 900;
}

.detalle-mobile-whatsapp {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #23d769, #11c85b);
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(17, 200, 91, 0.28);
}

.detalle-mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.detalle-mobile-actions a,
.detalle-mobile-actions button {
    min-height: 58px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 12px;
    border: 1px solid rgba(0, 45, 137, 0.12);
    background-color: #ffffff;
    color: var(--est-azul-oscuro);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 900;
}

.detalle-mobile-actions button {
    cursor: pointer;
}

.detalle-mobile-actions i {
    font-size: 1.15rem;
}

.detalle-mobile-tabs {
    gap: 8px;
    margin-top: 18px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.detalle-mobile-tabs::-webkit-scrollbar {
    display: none;
}

.detalle-mobile-tabs a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 15px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-decoration: none;
}

/* ==== 9. Layout de contenido ==== */

.detalle-contenido {
    background-color: var(--est-fondo-suave);
    padding: 72px 0 120px;
}

.detalle-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 42px;
    align-items: start;
}

.detalle-principal {
    display: grid;
    gap: 28px;
}

.detalle-lateral {
    min-width: 0;
}

/* ==== 10. Sobre el establecimiento ==== */

.detalle-sobre-card--nuevo {
    position: relative;
    overflow: hidden;
    padding: 40px 42px 42px;
    border-radius: 28px;
    background: #ffffff;
}

.detalle-sobre-encabezado {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
}

.detalle-sobre-encabezado span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #002d89;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    line-height: 1.1;
    text-transform: uppercase;
}

.detalle-sobre-encabezado h2 {
    max-width: 720px;
    margin: 0;
    color: #07101e;
    font-size: clamp(2rem, 3vw, 2.55rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.detalle-sobre-descripcion--nuevo {
    max-width: 960px;
    margin: 8px 0 26px;
}

.detalle-sobre-descripcion--nuevo p {
    color: #596a7f;
    font-size: 0.98rem;
    line-height: 1.62;
}

.detalle-sobre-carta-btn,
.detalle-sobre-carta-btn:link,
.detalle-sobre-carta-btn:visited,
.detalle-sobre-carta-btn:hover,
.detalle-sobre-carta-btn:focus {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid rgba(0, 45, 137, 0.42);
    background: #F8F8FF;
    color: #002d89;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(0, 45, 137, 0.06);
}

.detalle-sobre-carta-btn i,
.detalle-sobre-carta-btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    color: inherit;
    line-height: 1;
    text-decoration: none;
    transform: none;
}

.detalle-sobre-carta-btn i {
    width: 1.15em;
    height: 1.15em;
    font-size: 1.08rem;
}

.detalle-sobre-carta-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 45, 137, 0.58);
    box-shadow: 0 16px 34px rgba(0, 45, 137, 0.10);
}

.detalle-sobre-carta-btn--disabled {
    color: rgba(0, 45, 137, 0.52);
    border-color: rgba(0, 45, 137, 0.18);
    cursor: not-allowed;
}

/* ==== 11. Recomendaciones ==== */

.detalle-recomendaciones-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(0, 45, 137, 0.12);
    background: #F8F8FF;
    box-shadow: none;
}

.detalle-recomendaciones-header {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.detalle-recomendaciones-icono {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #ffffff;
    color: #002d89;
    border: 1px solid rgba(0, 45, 137, 0.14);
    box-shadow: 0 10px 22px rgba(0, 45, 137, 0.05);
    font-size: 1.15rem;
}

.detalle-recomendaciones-header span {
    display: block;
    margin: 0 0 6px;
    color: #002d89;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.detalle-recomendaciones-header p {
    margin: 0;
    color: #667589;
    font-size: 0.94rem;
    line-height: 1.42;
}

/* Restaurante */
.detalle-recomendaciones-lista {
    display: grid;
    gap: 11px;
}

.detalle-recomendacion-item {
    display: grid;
    grid-template-columns: 70px 132px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 88px;
    padding: 10px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 45, 137, 0.10);
    box-shadow: none;
}

.detalle-recomendacion-item--principal {
    border-color: rgba(0, 45, 137, 0.42);
    background: #F8F8FF;
}

.detalle-recomendacion-rank {
    min-height: 64px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 14px;
    border: 1px solid rgba(0, 45, 137, 0.12);
    background-color: #ffffff;
    color: #002d89;
    text-align: center;
}

.detalle-recomendacion-rank strong {
    display: block;
    color: #002d89;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
}

.detalle-recomendacion-rank i {
    color: #002d89;
    font-size: 0.82rem;
}

.detalle-recomendacion-thumb {
    width: 100%;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #ffffff;
    color: #002d89;
    border: 1px solid rgba(0, 45, 137, 0.11);
}

.detalle-recomendacion-thumb--imagen {
    overflow: hidden;
    padding: 3px;
}

.detalle-recomendacion-thumb--imagen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

.detalle-recomendacion-thumb--empty {
    flex-direction: column;
    gap: 5px;
    border-style: dashed;
    color: #002d89;
    text-align: center;
}

.detalle-recomendacion-thumb--empty i {
    color: #002d89;
    font-size: 1.14rem;
}

.detalle-recomendacion-thumb--empty small {
    max-width: 110px;
    color: #002d89;
    font-size: 0.5rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.detalle-recomendacion-item h3 {
    margin: 0;
    color: #07101e;
    font-size: clamp(1.12rem, 1.55vw, 1.45rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.018em;
    overflow-wrap: normal;
    word-break: normal;
}

/* Alojamiento */
.detalle-habitaciones-preview {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.08fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 26px;
    max-width: 760px;
    margin: 34px auto 0;
    overflow: visible;
}

.detalle-habitaciones-preview .detalle-habitacion-card:nth-child(1) {
    order: 2;
}

.detalle-habitaciones-preview .detalle-habitacion-card:nth-child(2) {
    order: 1;
}

.detalle-habitaciones-preview .detalle-habitacion-card:nth-child(3) {
    order: 3;
}

.detalle-habitacion-card,
.detalle-habitacion-card--secundaria {
    min-height: 215px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 22px 16px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(0, 45, 137, 0.10);
    text-align: center;
    box-shadow: 0 14px 30px rgba(0, 45, 137, 0.04);
    overflow: hidden;
}

.detalle-habitacion-card--principal {
    min-height: 255px;
    gap: 12px;
    padding: 24px 18px;
    border-color: rgba(0, 45, 137, 0.24);
    box-shadow: 0 18px 38px rgba(0, 45, 137, 0.08);
}

.detalle-habitacion-rank,
.detalle-habitacion-card--principal .detalle-habitacion-rank {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #002d89;
    border: 1px solid rgba(0, 45, 137, 0.12);
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: none;
}

.detalle-habitacion-card--principal .detalle-habitacion-rank {
    width: 62px;
    height: 62px;
    background: #002d89;
    color: #ffffff;
}

.detalle-habitacion-icono-wrap {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    max-width: 38px;
    max-height: 38px;
    display: grid;
    place-items: center;
    margin: 10px auto 12px;
    padding: 0;
    overflow: hidden;
    line-height: 1;
}

.detalle-habitacion-card--principal .detalle-habitacion-icono-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
}

.detalle-habitacion-icono-wrap>i {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #002d89;
    font-size: 1.45rem;
    line-height: 1;
}

.detalle-habitacion-card--principal .detalle-habitacion-icono-wrap>i {
    font-size: 1.7rem;
}

.detalle-habitacion-icono-img,
.detalle-habitacion-icono-wrap>img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.detalle-habitacion-card h3 {
    max-width: 180px;
    margin: 0;
    color: #002d89;
    font-size: clamp(0.98rem, 1.55vw, 1.22rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: 0;
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

/* ==== 12. Servicios / amenidades ==== */

.detalle-servicios-card {
    background: #ffffff;
}

.detalle-servicios-encabezado {
    margin-bottom: 24px;
}

.detalle-servicios-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.detalle-servicio-card {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(0, 45, 137, 0.06);
    background: #e9edf7;
    color: #002d89;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.detalle-servicio-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 45, 137, 0.16);
    box-shadow: 0 14px 28px rgba(0, 45, 137, 0.07);
}

.detalle-servicio-icono {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    color: #002d89;
}

.detalle-servicio-icono i {
    font-size: 1.15rem;
    line-height: 1;
}

.detalle-servicio-icono img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.detalle-servicio-card h3 {
    margin: 0;
    color: #002d89;
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.25;
}

/* Tablet */
@media (max-width: 991.98px) {
    .detalle-servicios-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Móvil: 3 columnas compactas */
@media (max-width: 767.98px) {
    .detalle-servicios-card {
        padding: 22px 16px;
    }

    .detalle-servicios-encabezado {
        margin-bottom: 18px;
    }

    .detalle-servicios-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .detalle-servicio-card {
        min-height: 104px;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 12px 8px;
        border-radius: 12px;
        text-align: center;
        background: #e9edf7;
    }

    .detalle-servicio-icono {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 10px;
        background: #ffffff;
        box-shadow: 0 8px 18px rgba(0, 45, 137, 0.04);
    }

    .detalle-servicio-icono i {
        font-size: 1rem;
    }

    .detalle-servicio-icono img {
        width: 22px;
        height: 22px;
    }

    .detalle-servicio-card h3 {
        font-size: 0.72rem;
        line-height: 1.18;
        letter-spacing: -0.01em;
    }
}

/* Móviles muy angostos */
@media (max-width: 380px) {
    .detalle-servicio-card {
        min-height: 96px;
        padding: 10px 6px;
    }

    .detalle-servicio-card h3 {
        font-size: 0.68rem;
    }

    .detalle-servicio-icono {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
}

/* ==== 13. Tarifas / rango de precios ==== */

.detalle-tarifas-card {
    --tarifa-azul: #002d89;
    --tarifa-azul-vivo: #0755d8;
    --tarifa-texto: #07101e;
    --tarifa-muted: #596a7f;
    --tarifa-borde: rgba(0, 45, 137, 0.13);
    --tarifa-fondo: #FFFFFF;
    overflow: hidden;
    padding: 48px 40px 44px;
    background: var(--tarifa-fondo);
}

.detalle-tarifas-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 24px;
    margin-bottom: 34px;
}

.detalle-tarifas-heading {
    min-width: 0;
}

.detalle-tarifas-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--tarifa-azul);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    line-height: 1.2;
    text-transform: uppercase;
}

.detalle-tarifas-heading h2 {
    max-width: 720px;
    margin: 0;
    color: var(--tarifa-texto);
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3vw, 2.55rem);
    font-weight: 550;
    line-height: 1;
    letter-spacing: -0.045em;
}

.detalle-tarifas-moneda {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 0 18px;
    border: 1px solid rgba(0, 45, 137, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: var(--tarifa-azul);
    box-shadow: 0 12px 28px rgba(0, 45, 137, 0.055);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.10em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.detalle-tarifas-moneda-icon {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(0, 45, 137, 0.09);
    color: var(--tarifa-azul);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.detalle-tarifas-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 28px;
}

.detalle-tarifas-pen-card,
.detalle-tarifas-usd-card,
.detalle-tarifas-info-card {
    border: 1px solid var(--tarifa-borde);
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(0, 45, 137, 0.055);
}

/* Card PEN - SOLES */
.detalle-tarifas-pen-card {
    min-height: 288px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 34px;
    background: linear-gradient(135deg, var(--tarifa-azul) 0%, var(--tarifa-azul-vivo) 100%);
    color: #ffffff;
}

.detalle-tarifas-card-head {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    margin-bottom: 10px;
}

.detalle-tarifas-pen-icon,
.detalle-tarifas-usd-icon,
.detalle-tarifas-info-icon {
    display: grid;
    place-items: center;
    border-radius: 999px;
}

.detalle-tarifas-pen-icon {
    width: 76px;
    height: 76px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.detalle-tarifas-pen-icon svg {
    width: 38px;
    height: 38px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.detalle-tarifas-card-label {
    display: block;
    color: inherit;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.10em;
    line-height: 1.28;
    text-transform: uppercase;
}

.detalle-tarifas-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.detalle-tarifas-price-item {
    min-width: 0;
    text-align: center;
}

.detalle-tarifas-price-item--single {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
}

.detalle-tarifas-price-item strong {
    display: block;
    color: inherit;
    font-family: "PT Serif", serif;
    font-size: clamp(2.35rem, 3.35vw, 3.25rem);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: -0.06em;
    white-space: nowrap;
}

.detalle-tarifas-price-item small {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--tarifa-azul);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.detalle-tarifas-price-separator {
    width: clamp(28px, 3.4vw, 50px);
    height: 2px;
    align-self: start;
    margin-top: clamp(1.08rem, 1.55vw, 1.38rem);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
}

.detalle-tarifas-pen-card p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
}

/* Card USD - DOLARES */
.detalle-tarifas-usd-card {
    min-height: 288px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 32px 30px;
    background: #ffffff;
    color: var(--tarifa-azul);
}

.detalle-tarifas-usd-topline {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.detalle-tarifas-usd-icon {
    width: 72px;
    height: 72px;
    background: rgba(0, 45, 137, 0.08);
    color: var(--tarifa-azul);
    font-family: "Playfair Display", serif;
    font-size: 2.55rem;
    line-height: 1;
}

.detalle-tarifas-usd-topline .detalle-tarifas-card-label {
    margin: 0;
    color: var(--tarifa-azul);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.18;
    text-transform: none;
}

.detalle-tarifas-usd-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    min-width: 0;
    text-align: center;
}

.detalle-tarifas-usd-conversion {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 18px;
    min-width: 0;
}

.detalle-tarifas-usd-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 7px;
    width: 100%;
    min-width: 0;
    color: #071344;
    font-family: "PT Serif", serif;
    font-size: clamp(1.98rem, 2.45vw, 2.36rem);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: -0.058em;
    white-space: nowrap;
}

.detalle-tarifas-usd-aprox {
    margin-right: -2px;
}

.detalle-tarifas-usd-separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    color: rgba(0, 45, 137, 0.62);
    letter-spacing: -0.02em;
}

.detalle-tarifas-usd-labels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 320px);
    margin: 14px auto 0;
}

.detalle-tarifas-usd-labels--single {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 170px);
}

.detalle-tarifas-usd-labels small {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--tarifa-azul);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.detalle-tarifas-usd-body > strong {
    display: block;
    margin: 0 0 14px;
    color: var(--tarifa-azul);
    font-family: "Playfair Display", serif;
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.detalle-tarifas-usd-body p {
    margin: 0;
    color: var(--tarifa-muted);
    font-size: 0.84rem;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}

.detalle-tarifas-tc-value {
    color: var(--tarifa-azul);
    font-weight: 900;
    white-space: nowrap;
}

.detalle-tarifas-api-pill {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: 18px auto 0;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 45, 137, 0.14);
    background: rgba(0, 45, 137, 0.055);
    color: var(--tarifa-azul);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-align: center;
    text-transform: none;
}

.detalle-tarifas-api-pill span {
    display: block;
}

.detalle-tarifas-api-pill i {
    flex: 0 0 auto;
    font-size: 0.9rem;
    line-height: 1;
}

.detalle-tarifas-api-pill--ok {
    border-color: rgba(16, 185, 129, 0.24);
    background: rgba(16, 185, 129, 0.12);
    color: #087a55;
}

.detalle-tarifas-usd-card--pendiente .detalle-tarifas-usd-body {
    align-items: flex-start;
    text-align: left;
}

.detalle-tarifas-usd-card--pendiente .detalle-tarifas-api-pill {
    margin-left: 0;
    margin-right: auto;
}

/* Card informativa */
.detalle-tarifas-info-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 22px 28px;
    background: #ffffff;
}

.detalle-tarifas-info-icon {
    width: 58px;
    height: 58px;
    background: rgba(0, 45, 137, 0.08);
    color: var(--tarifa-azul);
    font-size: 1.45rem;
}

.detalle-tarifas-info-icon img {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.detalle-tarifas-info-card strong {
    display: block;
    margin: 0 0 6px;
    color: var(--tarifa-azul);
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.2;
}

.detalle-tarifas-info-card p {
    margin: 0;
    color: var(--tarifa-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Tablet */
@media (max-width: 991.98px) {
    .detalle-tarifas-card {
        padding: 36px 30px;
    }

    .detalle-tarifas-main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detalle-tarifas-pen-card,
    .detalle-tarifas-usd-card {
        min-height: auto;
        padding: 28px;
    }

    .detalle-tarifas-card-head,
    .detalle-tarifas-usd-topline {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 18px;
    }

    .detalle-tarifas-pen-icon,
    .detalle-tarifas-usd-icon {
        width: 68px;
        height: 68px;
    }

    .detalle-tarifas-pen-icon svg {
        width: 33px;
        height: 33px;
    }

    .detalle-tarifas-usd-icon {
        font-size: 2.38rem;
    }

    .detalle-tarifas-price-item strong {
        font-size: clamp(2rem, 4.6vw, 2.8rem);
    }

    .detalle-tarifas-price-item small {
        padding: 0 12px;
        font-size: 0.72rem;
    }

    .detalle-tarifas-usd-amount {
        font-size: clamp(2rem, 5vw, 2.55rem);
    }
}

/* Móvil */
@media (max-width: 767.98px) {
    .detalle-tarifas-card {
        padding: 28px 18px;
        border-radius: 22px;
    }

    /* Mantener eyebrow + pill lado a lado como en el mockup */
    .detalle-tarifas-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 12px;
        margin-bottom: 26px;
    }

    .detalle-tarifas-eyebrow {
        margin-bottom: 14px;
        font-size: 0.74rem;
        letter-spacing: 0.20em;
    }

    .detalle-tarifas-heading h2 {
        max-width: 100%;
        font-size: clamp(2.05rem, 9.4vw, 2.85rem);
        line-height: 1;
        letter-spacing: -0.045em;
    }

    .detalle-tarifas-moneda {
        min-height: 42px;
        margin-top: 0;
        padding: 0 14px;
        font-size: 0.72rem;
    }

    .detalle-tarifas-main-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .detalle-tarifas-pen-card {
        min-width: 0;
        overflow: hidden;
        padding: 26px 24px;
        border-radius: 22px;
    }

    .detalle-tarifas-card-head {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 18px;
        margin-bottom: 26px;
    }

    .detalle-tarifas-pen-icon {
        width: 70px;
        height: 70px;
    }

    .detalle-tarifas-pen-icon svg {
        width: 34px;
        height: 34px;
    }

    .detalle-tarifas-card-label {
        font-size: 0.82rem;
        letter-spacing: 0.13em;
    }

    .detalle-tarifas-price-row {
        gap: 8px;
    }

    .detalle-tarifas-price-item strong {
        font-size: clamp(2rem, 9.5vw, 2.8rem);
        letter-spacing: -0.06em;
    }

    .detalle-tarifas-price-item small {
        min-height: 29px;
        margin-top: 10px;
        padding: 0 13px;
        font-size: 0.72rem;
    }

    .detalle-tarifas-price-separator {
        width: 28px;
        height: 2px;
        margin-top: clamp(1.18rem, 5.1vw, 1.45rem);
    }

    .detalle-tarifas-pen-card p {
        margin-top: 22px;
        font-size: 0.96rem;
        line-height: 1.45;
    }

    .detalle-tarifas-usd-card {
        min-width: 0;
        overflow: hidden;
        gap: 0;
        padding: 26px 24px;
        border-radius: 22px;
    }

    .detalle-tarifas-usd-topline {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 18px;
        margin-bottom: 8px;
    }

    .detalle-tarifas-usd-icon {
        width: 70px;
        height: 70px;
        font-size: 2.55rem;
    }

    .detalle-tarifas-usd-topline .detalle-tarifas-card-label {
        font-size: 0.84rem;
        letter-spacing: 0.01em;
    }

    .detalle-tarifas-usd-conversion {
        width: 100%;
        margin-bottom: 18px;
    }

    .detalle-tarifas-usd-amount {
        gap: 5px;
        font-size: clamp(1.85rem, 7.4vw, 2.35rem);
        letter-spacing: -0.06em;
    }

    .detalle-tarifas-usd-separator {
        min-width: 22px;
    }

    .detalle-tarifas-usd-labels {
        width: min(100%, 100%);
        gap: 8px;
        margin-top: 10px;
    }

    .detalle-tarifas-usd-labels small {
        justify-self: center;
        width: min(132px, 100%);
        min-height: 29px;
        padding: 0 13px;
        font-size: 0.72rem;
    }

    .detalle-tarifas-usd-body p {
        font-size: 0.68rem;
        line-height: 1.38;
    }

    .detalle-tarifas-api-pill {
        min-height: 36px;
        padding: 8px 12px;
        font-size: 0.67rem;
        line-height: 1.25;
    }

    .detalle-tarifas-info-card {
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: start;
        gap: 14px;
        margin-top: 18px;
        padding: 20px 18px;
        border-radius: 22px;
        text-align: left;
    }

    .detalle-tarifas-info-icon {
        width: 52px;
        height: 52px;
        font-size: 1.22rem;
    }

    .detalle-tarifas-info-card strong {
        font-size: 1.04rem;
    }

    .detalle-tarifas-info-card p {
        font-size: 0.86rem;
        line-height: 1.45;
    }
}

/* Móvil angosto */
@media (max-width: 420px) {
    .detalle-tarifas-card {
        padding: 24px 14px;
    }

    .detalle-tarifas-heading h2 {
        font-size: clamp(1.95rem, 8.8vw, 2.6rem);
    }

    .detalle-tarifas-pen-card,
    .detalle-tarifas-usd-card {
        padding: 22px 18px;
    }

    .detalle-tarifas-card-head,
    .detalle-tarifas-usd-topline {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 14px;
    }

    .detalle-tarifas-pen-icon,
    .detalle-tarifas-usd-icon {
        width: 60px;
        height: 60px;
    }

    .detalle-tarifas-pen-icon svg {
        width: 29px;
        height: 29px;
    }

    .detalle-tarifas-usd-icon {
        font-size: 2.18rem;
    }

    .detalle-tarifas-price-item strong {
        font-size: clamp(1.85rem, 9vw, 2.55rem);
    }

    .detalle-tarifas-price-item small {
        min-height: 27px;
        padding: 0 10px;
        font-size: 0.66rem;
    }

    .detalle-tarifas-price-separator {
        width: 22px;
        margin-top: clamp(1.12rem, 4.8vw, 1.35rem);
    }

    .detalle-tarifas-pen-card p {
        font-size: 0.88rem;
    }

    .detalle-tarifas-usd-amount {
    gap: 4px;
    font-size: clamp(1.62rem, 6.9vw, 2rem);
    }

    .detalle-tarifas-usd-separator {
        min-width: 14px;
    }

    .detalle-tarifas-usd-body p {
        font-size: 0.63rem;
    }

    .detalle-tarifas-usd-labels {
        gap: 8px;
    }

    .detalle-tarifas-usd-labels small {
        justify-self: center;
        width: min(116px, 100%);
        min-height: 27px;
        padding: 0 10px;
        font-size: 0.66rem;
    }

    .detalle-tarifas-api-pill {
        font-size: 0.61rem;
        padding-left: 10px;
        padding-right: 10px;
    }
}


/* ==== 14. Cómo llegar - Ubicación y mapa  ==== */

.du-card {
    --du-ink: #002d89;
    --du-ink-soft: #314e93;
    --du-ink-mute: #6b7ba8;
    --du-line: #e3e8f5;
    --du-line-soft: #eef1fa;
    --du-white: #ffffff;
    --du-bg: #FFFFFF;
    --du-pill-bg: #e9eefb;
    --du-grad: linear-gradient(135deg, #007FFF 0%, #000080 100%);
    --du-shadow-sm: 0 1px 2px rgba(0, 45, 137, 0.04), 0 0 0 1px rgba(0, 45, 137, 0.04);
    --du-shadow-md: 0 4px 16px rgba(0, 45, 137, 0.08), 0 0 0 1px rgba(0, 45, 137, 0.05);
    --du-shadow-lg: 0 16px 40px rgba(0, 45, 137, 0.12), 0 0 0 1px rgba(0, 45, 137, 0.05);
    --du-serif: "Playfair Display", Georgia, serif;
    --du-sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

.detalle-bloque.du-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 28px 32px 32px;
    background: #FFFFFF;
    font-family: var(--du-sans);
    color: var(--du-ink);
}

.du-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    min-width: 0;
}

.du-kicker {
    margin-bottom: 6px;
    color: var(--du-ink-mute);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    line-height: 1.2;
    text-transform: uppercase;
}

.du-title {
    margin: 0;
    color: var(--du-ink);
    font-family: var(--du-serif);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.du-pill-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--du-grad);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Tabs de sucursales */
.du-branch-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.du-branch-tabs::-webkit-scrollbar {
    display: none;
}

.du-branch-tab {
    max-width: min(420px, 78vw);
    min-width: 0;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border: 1px solid var(--du-line);
    border-radius: 999px;
    background: var(--du-white);
    color: var(--du-ink);
    font-family: var(--du-sans);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.du-branch-tab span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.du-branch-tab:hover {
    background: var(--du-pill-bg);
    border-color: var(--du-ink-mute);
}

.du-branch-tab.is-active {
    background: var(--du-grad);
    border-color: transparent;
    color: #ffffff;
}

.du-branch-tab svg,
.du-tab-badge {
    flex: 0 0 auto;
}

.du-tab-badge {
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.du-branch-tab:not(.is-active) .du-tab-badge {
    background: var(--du-pill-bg);
    color: var(--du-ink);
}

/* Desktop: sucursales en varias filas sin cortar textos ni desbordar */
@media (min-width: 992px) {
    .du-branch-tabs {
        flex-wrap: wrap;
        overflow: visible;
        gap: 10px;
    }

    .du-branch-tab {
        flex: 1 1 260px;
        max-width: calc(33.333% - 7px);
        justify-content: center;
    }

    .du-branch-tab span {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Mapa */
.du-map-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--du-pill-bg);
}

.du-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    border-radius: inherit;
}

/* Acciones debajo del mapa */
.du-route-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin-top: 14px;
}

.du-route-actions[hidden] {
    display: none !important;
}

.du-action {
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--du-line);
    border-radius: 999px;
    background: var(--du-white);
    color: var(--du-ink);
    font-family: var(--du-sans);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.du-action:hover {
    background: var(--du-pill-bg);
    border-color: var(--du-ink-soft);
    color: var(--du-ink);
    text-decoration: none;
}

.du-action.primary {
    border: 0;
    background: var(--du-grad);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 45, 137, 0.22);
}

.du-action.primary:hover {
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

.du-action-full {
    width: 100%;
    margin-top: 4px;
}

/* Panel desplegable interno */
.du-directions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--du-line-soft);
    border-radius: 18px;
    background: var(--du-white);
    box-shadow: var(--du-shadow-lg);
}

.du-directions[hidden] {
    display: none !important;
}

.du-directions-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.du-directions-hd h5 {
    margin: 0;
    color: var(--du-ink);
    font-family: var(--du-serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.du-directions-close {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: var(--du-pill-bg);
    color: var(--du-ink-mute);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.du-directions-close:hover {
    background: var(--du-line);
    color: var(--du-ink);
}

.du-directions-label {
    margin: 12px 0 6px;
    color: var(--du-ink-mute);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1;
    text-transform: uppercase;
}

.du-direction-input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: block;
    margin-bottom: 8px;
    padding: 12px 14px;
    border: 1px solid var(--du-line);
    border-radius: 12px;
    background: var(--du-white);
    color: var(--du-ink);
    font-family: var(--du-sans);
    font-size: 13px;
    font-weight: 600;
    outline: none;
}

.du-direction-input[readonly] {
    background: var(--du-pill-bg);
}

.du-direction-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.du-mode {
    min-width: 0;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 8px;
    border: 1px solid var(--du-line);
    border-radius: 12px;
    background: var(--du-white);
    color: var(--du-ink);
    font-family: var(--du-sans);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.du-mode:hover {
    background: var(--du-pill-bg);
}

.du-mode.is-active {
    border-color: transparent;
    background: var(--du-grad);
    color: #ffffff;
}

/* Datos de la sucursal */
.du-branch {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid var(--du-line-soft);
    border-radius: 16px;
    background: var(--du-bg);
}

.du-branch-hd {
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.du-branch-name {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: var(--du-ink);
    font-family: var(--du-serif);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: normal;
}

.du-branch-row {
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 7px 0;
    color: var(--du-ink-soft);
    font-size: 13px;
    line-height: 1.45;
}

.du-branch-row.is-empty {
    display: none;
}

.du-branch-row strong,
.du-branch-row span:not(.du-branch-ico) {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.du-branch-ico {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--du-white);
    color: var(--du-ink);
}

/* Tablet */
@media (max-width: 991.98px) {
    .detalle-bloque.du-card {
        padding: 24px 22px 26px;
    }

    .du-map-wrap {
        height: 300px;
    }

    .du-branch-tabs {
        padding-bottom: 2px;
    }

    .du-branch-tab {
        max-width: min(420px, 78vw);
    }
}

/* Móvil */
@media (max-width: 767.98px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .detalle-establecimiento-pagina,
    .detalle-contenido,
    .detalle-contenido .container,
    .detalle-layout,
    .detalle-principal {
        min-width: 0;
        max-width: 100%;
        overflow-x: hidden;
    }

    .detalle-bloque.du-card {
        padding: 20px 16px 22px;
        border-radius: 22px;
    }

    .du-hd {
        align-items: flex-start;
    }

    .du-title {
        font-size: 22px;
    }

    .du-branch-tabs {
        padding-bottom: 4px;
    }

    .du-branch-tab {
        max-width: min(78vw, 360px);
    }

    .du-map-wrap {
        height: 260px;
        border-radius: 14px;
    }

    .du-route-actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .du-action {
        min-height: 46px;
        padding: 10px 12px;
        font-size: 12px;
    }

    .du-directions {
        padding: 16px;
        border-radius: 18px;
        box-shadow: var(--du-shadow-md);
    }

    .du-directions-hd h5 {
        font-size: 19px;
    }

    .du-direction-modes {
        gap: 8px;
    }

    .du-mode {
        min-height: 60px;
    }

    .du-branch {
        padding: 14px;
    }

    .du-branch-name {
        font-size: 15px;
    }

    .du-branch-row {
        align-items: flex-start;
    }

    .du-branch-ico {
        margin-top: 1px;
    }
}

/* Móvil angosto */
@media (max-width: 420px) {
    .du-map-wrap {
        height: 230px;
    }

    .du-route-actions {
        grid-template-columns: 1fr;
    }

    .du-action {
        width: 100%;
    }

    .du-mode {
        font-size: 11px;
    }
}


/* ==== 15. Panel de contacto ==== */

.detalle-panel-contacto {
    position: sticky;
    top: 104px;
    width: 100%;
    max-width: 100%;
    padding: 30px 26px;
    overflow: hidden;
    box-sizing: border-box;
}

.detalle-panel-contacto h2 {
    margin-bottom: 22px;
    font-size: clamp(1.9rem, 2.8vw, 2.45rem);
}

/* ── Grid de botones de contacto ── */
.dpc-botones {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
}

/* ── Botón base ── */
.dpc-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 14px;
    border: none;
    text-decoration: none;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    /* Animación de entrada escalonada vía JS */
    opacity: 0;
    transform: translateX(-14px);
    transition:
        opacity 0.38s ease,
        transform 0.38s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease;
}

.dpc-btn.dpc-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Efecto shimmer al hover */
.dpc-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.42s ease;
    pointer-events: none;
}

.dpc-btn:hover::after {
    transform: translateX(100%);
}

.dpc-btn:hover {
    text-decoration: none;
    transform: translateY(-2px) translateX(0);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    filter: brightness(1.06);
}

.dpc-btn:active {
    transform: translateY(0) translateX(0);
    filter: brightness(0.96);
}

/* Ícono circular */
.dpc-btn-ico {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.22s ease;
}

.dpc-btn:hover .dpc-btn-ico {
    transform: scale(1.12) rotate(-6deg);
}

/* Texto del botón */
.dpc-btn-txt {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* ── Colores por red / canal ── */

/* WhatsApp */
.dpc-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C5E 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

/* Facebook */
.dpc-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0a5abf 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.28);
}

/* Instagram */
.dpc-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(220, 39, 67, 0.28);
}

/* Sitio web */
.dpc-web {
    background: linear-gradient(135deg, #002d89 0%, #007FFF 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 45, 137, 0.22);
}

/* Teléfono / celular */
.dpc-telefono {
    background: #ffffff;
    color: #002d89;
    border: 1.5px solid rgba(0, 45, 137, 0.16);
    box-shadow: 0 4px 14px rgba(0, 45, 137, 0.07);
}

.dpc-telefono .dpc-btn-ico {
    background: rgba(0, 45, 137, 0.08);
    color: #002d89;
}

.dpc-telefono:hover {
    color: #002d89;
    border-color: rgba(0, 45, 137, 0.32);
}

/* Correo */
.dpc-correo {
    background: #ffffff;
    color: #002d89;
    border: 1.5px solid rgba(0, 45, 137, 0.16);
    box-shadow: 0 4px 14px rgba(0, 45, 137, 0.07);
}

.dpc-correo .dpc-btn-ico {
    background: rgba(0, 45, 137, 0.08);
    color: #002d89;
}

.dpc-correo:hover {
    color: #002d89;
    border-color: rgba(0, 45, 137, 0.32);
}

.dpc-correo .dpc-btn-txt {
    font-size: 0.82rem;
}

/* ==== 17. Modal galería ampliada ==== */
.detalle-gallery-modal {
    --bs-modal-bg: transparent;
}

.detalle-gallery-content {
    min-height: 100vh;
    border: 0;
    background:
        radial-gradient(circle at 18% 10%, rgba(0, 127, 255, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(2, 8, 16, 0.96), rgba(0, 0, 0, 0.96));
    color: #ffffff;
}

.detalle-gallery-header {
    position: absolute;
    top: 22px;
    left: 50%;
    z-index: 20;
    width: min(1180px, calc(100% - 40px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transform: translateX(-50%);
    pointer-events: none;
}

.detalle-gallery-header>div,
.detalle-gallery-close {
    pointer-events: auto;
}

.detalle-gallery-header span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.detalle-gallery-header strong {
    display: block;
    color: #ffffff;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1;
}

.detalle-gallery-close {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    -webkit-tap-highlight-color: transparent;
}

.detalle-gallery-body {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 34px 72px;
}

.detalle-gallery-swiper {
    width: min(1280px, 100%);
    height: min(76vh, 760px);
    overflow: visible;
}

.detalle-gallery-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.detalle-gallery-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.detalle-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 12;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.30);
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.detalle-gallery-prev {
    left: -70px;
}

.detalle-gallery-next {
    right: -70px;
}

.detalle-gallery-pagination {
    position: absolute;
    left: 50% !important;
    bottom: -42px !important;
    width: auto !important;
    display: inline-flex;
    gap: 9px;
    transform: translateX(-50%);
}

.detalle-gallery-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 !important;
    background-color: rgba(255, 255, 255, 0.48);
    opacity: 1;
}

.detalle-gallery-pagination .swiper-pagination-bullet-active {
    width: 34px;
    border-radius: 999px;
    background-color: #ffffff;
}

body.detalle-gallery-locked {
    position: fixed;
    width: 100%;
    overflow: hidden;
    touch-action: none;
}

.detalle-gallery-modal,
.detalle-gallery-content,
.detalle-gallery-body,
.detalle-gallery-swiper,
.detalle-gallery-slide {
    overscroll-behavior: contain;
}

.detalle-gallery-content,
.detalle-gallery-body,
.detalle-gallery-swiper {
    touch-action: none;
}

/* ==== 18. Responsive desktop medio ==== */

@media (max-width: 1399.98px) {
    .detalle-hero-container {
        width: min(1240px, calc(100% - 72px));
    }

    .detalle-hero-grid {
        grid-template-columns: minmax(0, 460px) minmax(0, 700px);
        gap: 48px;
    }

    .detalle-hero-info h1 {
        font-size: clamp(4rem, 5.6vw, 6rem);
    }

    .detalle-hero-media,
    .detalle-swiper,
    .detalle-imagen-estatica,
    .detalle-media-vacia {
        height: 430px;
    }

    .detalle-hero-media {
        max-width: 700px;
    }

    .detalle-hero-meta-line {
        width: min(100%, 560px);
        column-gap: 22px;
    }

    .detalle-sobre-card--nuevo {
        padding: 38px 40px 40px;
    }

    .detalle-sobre-encabezado h2 {
        font-size: clamp(2.2rem, 3vw, 3.05rem);
    }

    .detalle-recomendacion-item {
        grid-template-columns: 64px 118px minmax(0, 1fr);
        gap: 14px;
    }

    .detalle-recomendacion-item h3 {
        font-size: clamp(1.04rem, 1.45vw, 1.28rem);
    }

    .detalle-habitacion-card h3 {
        font-size: clamp(0.9rem, 1.4vw, 1.08rem);
    }
}

/* ==== 19. Responsive tablet ==== */

@media (max-width: 1199.98px) {
    .detalle-hero-desktop {
        display: none;
    }

    .detalle-hero-barra-wrap {
        display: none;
    }

    .detalle-mobile-hero {
        display: block;
        padding: 0;
        background:
            radial-gradient(circle at 10% 14%, rgba(0, 127, 255, 0.20), transparent 30%),
            linear-gradient(135deg, #132536 0%, #181818 54%, #050505 100%);
    }

    .detalle-alojamiento .detalle-mobile-hero {
        background:
            radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.56), transparent 34%),
            linear-gradient(135deg, #eadfc8 0%, #d2be95 58%, #b99d70 100%);
    }

    .detalle-mobile-wrap {
        width: min(1000px, calc(100% - 64px));
        padding-top: calc(var(--vi-header-height-mobile, 68px) + 16px);
        padding-bottom: 0;
    }

    .detalle-mobile-media {
        border-radius: 22px 22px 0 0;
    }

    .detalle-mobile-info {
        border-radius: 0 0 22px 22px;
    }

    .detalle-layout {
        grid-template-columns: 1fr;
    }

    .detalle-panel-contacto {
        position: static;
    }
}

@media (max-width: 1199.98px) and (max-height: 720px) {
    .detalle-mobile-wrap {
        padding-top: calc(var(--vi-header-height-mobile, 68px) + 8px);
    }

    .detalle-mobile-media {
        height: min(320px, 48vh);
    }

    .detalle-mobile-info {
        padding: 20px 24px;
    }

    .detalle-mobile-info h1 {
        font-size: clamp(2.4rem, 6vw, 4.4rem);
    }

    .detalle-mobile-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 991.98px) {
    .detalle-mobile-wrap {
        width: min(820px, calc(100% - 48px));
    }

    .detalle-contenido {
        padding-top: 42px;
    }

    .detalle-sobre-card--nuevo {
        padding: 32px 28px;
    }

    .detalle-sobre-encabezado {
        flex-direction: column;
    }

    .detalle-sobre-encabezado h2 {
        max-width: 100%;
        font-size: clamp(2rem, 5.7vw, 2.8rem);
    }

    .detalle-recomendacion-item {
        grid-template-columns: 62px 104px minmax(0, 1fr);
    }

    .detalle-habitaciones-preview {
        gap: 12px;
    }
}

/* ==== 20. Responsive móvil ==== */

@media (max-width: 767.98px) {
    .detalle-mobile-hero {
        background: #ffffff;
    }

    .detalle-mobile-wrap {
        width: 100%;
        padding-top: var(--vi-header-height-mobile, 68px);
    }

    .detalle-mobile-breadcrumb {
        margin: 0;
        padding: 13px 16px;
        border-radius: 0;
        background-color: #ffffff;
        border: 0;
        border-top: 1px solid rgba(0, 45, 137, 0.06);
        border-bottom: 1px solid rgba(0, 45, 137, 0.08);
    }

    .detalle-mobile-breadcrumb a {
        color: rgba(0, 45, 137, 0.72);
    }

    .detalle-mobile-breadcrumb span {
        color: rgba(0, 45, 137, 0.38);
    }

    .detalle-mobile-breadcrumb strong {
        color: var(--est-azul-oscuro);
    }

    .detalle-mobile-media {
        height: 315px;
        border-radius: 0;
    }

    .detalle-mobile-info {
        overflow: hidden;
        border-radius: 0;
        padding: 18px 16px 20px;
    }

    .detalle-mobile-info h1 {
        font-size: clamp(2.5rem, 12vw, 4.2rem);
    }

    .detalle-mobile-meta {
        width: 100%;
        overflow: hidden;
        gap: 13px;
    }

    .detalle-mobile-meta>div,
    .detalle-mobile-rating-preview,
    .detalle-mobile-direccion {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        align-items: center;
        column-gap: 8px;
        row-gap: 0;
        width: 100%;
        min-width: 0;
        overflow: hidden;
        flex-wrap: nowrap;
    }

    .detalle-mobile-meta>div>i,
    .detalle-mobile-rating-preview>i,
    .detalle-mobile-direccion>i {
        grid-column: 1;
        justify-self: start;
        align-self: center;
        margin: 0;
    }

    .detalle-mobile-meta>div>span:not(.detalle-marquee),
    .detalle-mobile-rating-preview>span,
    .detalle-mobile-direccion>.detalle-marquee {
        grid-column: 2;
        min-width: 0;
    }

    .detalle-mobile-direccion .detalle-marquee {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        white-space: nowrap;
        transform: none;
        -webkit-transform: none;
    }

    .detalle-mobile-direccion .detalle-marquee-track {
        max-width: none;
        transform: none;
        -webkit-transform: none;
        will-change: margin-left;
        backface-visibility: visible;
        -webkit-backface-visibility: visible;
    }

    .detalle-mobile-direccion.is-overflowing .detalle-marquee-track,
    .detalle-mobile-direccion.is-long .detalle-marquee-track {
        animation-name: detalleDireccionMarqueeMobileStable;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }

    .detalle-mobile-direccion.is-overflowing:hover .detalle-marquee-track,
    .detalle-mobile-direccion.is-long:hover .detalle-marquee-track {
        animation-play-state: running;
    }

    .detalle-mobile-direccion:not(.is-overflowing):not(.is-long) .detalle-marquee-track {
        transform: none;
        animation: none;
    }

    .detalle-contenido {
        position: relative;
        z-index: 1;
        padding: 18px 0 90px;
    }

    .detalle-layout {
        display: block;
    }

    .detalle-principal {
        gap: 18px;
    }

    .detalle-bloque,
    .detalle-panel-contacto {
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        border-radius: 18px;
    }

    .detalle-bloque,
    .detalle-panel-contacto {
        padding: 22px;
    }

    .vi-resenas.detalle-bloque {
        padding: 22px;
    }

    .detalle-bloque-encabezado h2,
    .detalle-panel-contacto h2 {
        font-size: clamp(1.75rem, 8vw, 2.2rem);
    }

    .detalle-bloque p {
        font-size: 0.96rem;
        line-height: 1.68;
    }



    .detalle-lateral {
        margin-top: 18px;
    }

    .detalle-panel-contacto {
        position: static;
        padding: 24px 18px;
    }

    .detalle-panel-contacto h2 {
        font-size: clamp(1.75rem, 8vw, 2.2rem);
    }

    /* Sobre */
    .detalle-sobre-card--nuevo {
        padding: 22px 16px;
        border-radius: 22px;
        background: #F8F8FF;
    }

    .detalle-sobre-encabezado {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 18px;
    }

    .detalle-sobre-encabezado span {
        font-size: 0.66rem;
        letter-spacing: 0.16em;
    }

    .detalle-sobre-encabezado h2 {
        font-size: clamp(1.82rem, 7.4vw, 2.34rem);
        line-height: 1.05;
        letter-spacing: -0.028em;
    }

    .detalle-sobre-descripcion--nuevo {
        margin-top: 8px;
        margin-bottom: 22px;
    }

    .detalle-sobre-descripcion--nuevo p {
        font-size: 0.88rem;
        line-height: 1.58;
    }

    .detalle-sobre-carta-btn {
        min-height: 42px;
        gap: 10px;
        padding: 0 19px;
        font-size: 0.72rem;
        letter-spacing: 0.15em;
    }

    .detalle-sobre-carta-btn i {
        font-size: 1rem;
    }

    /* Recomendaciones */
    .detalle-recomendaciones-card {
        padding: 16px;
        border-radius: 20px;
    }

    .detalle-recomendaciones-header {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 16px;
    }

    .detalle-recomendaciones-icono {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 1rem;
    }

    .detalle-recomendaciones-header span {
        font-size: 0.70rem;
        letter-spacing: 0.14em;
    }

    .detalle-recomendaciones-header p {
        font-size: 0.84rem;
        line-height: 1.36;
    }

    .detalle-recomendaciones-restaurante .detalle-recomendacion-item {
        grid-template-columns: 48px 76px minmax(0, 1fr);
        min-height: 72px;
        gap: 8px;
        padding: 8px;
        border-radius: 16px;
    }

    .detalle-recomendacion-rank {
        min-height: 50px;
        border-radius: 13px;
    }

    .detalle-recomendacion-rank strong {
        font-size: 1.22rem;
    }

    .detalle-recomendacion-rank i {
        font-size: 0.72rem;
    }

    .detalle-recomendaciones-restaurante .detalle-recomendacion-thumb {
        display: inline-flex;
        height: 50px;
        border-radius: 13px;
    }

    .detalle-recomendaciones-restaurante .detalle-recomendacion-item h3 {
        font-size: clamp(0.82rem, 3.55vw, 1rem);
        line-height: 1.07;
    }

    .detalle-recomendacion-thumb--empty small {
        display: none;
    }

    .detalle-recomendaciones-alojamiento {
        padding: 14px;
        border-radius: 20px;
        overflow: hidden;
    }

    .detalle-recomendaciones-alojamiento .detalle-recomendaciones-header {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 11px;
        align-items: center;
        margin-bottom: 14px;
    }

    .detalle-recomendaciones-alojamiento .detalle-recomendaciones-icono {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        font-size: 0.96rem;
    }

    .detalle-recomendaciones-alojamiento .detalle-recomendaciones-header span {
        font-size: 0.66rem;
        letter-spacing: 0.13em;
        line-height: 1.1;
    }

    .detalle-recomendaciones-alojamiento .detalle-recomendaciones-header p {
        font-size: 0.78rem;
        line-height: 1.32;
    }

    .detalle-recomendaciones-alojamiento .detalle-habitaciones-preview {
        display: grid;
        grid-template-columns: 1.08fr 0.96fr 0.96fr;
        align-items: stretch;
        gap: 9px;
        max-width: 100%;
        margin: 14px 0 0;
        overflow: visible;
    }

    .detalle-recomendaciones-alojamiento .detalle-habitaciones-preview .detalle-habitacion-card:nth-child(1),
    .detalle-recomendaciones-alojamiento .detalle-habitaciones-preview .detalle-habitacion-card:nth-child(2),
    .detalle-recomendaciones-alojamiento .detalle-habitaciones-preview .detalle-habitacion-card:nth-child(3) {
        order: initial;
    }

    .detalle-recomendaciones-alojamiento .detalle-habitacion-card,
    .detalle-recomendaciones-alojamiento .detalle-habitacion-card--principal,
    .detalle-recomendaciones-alojamiento .detalle-habitacion-card--secundaria {
        min-width: 0;
        width: 100%;
        min-height: 132px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 6px;
        border-radius: 16px;
        overflow: hidden;
        text-align: center;
    }

    .detalle-recomendaciones-alojamiento .detalle-habitacion-rank,
    .detalle-recomendaciones-alojamiento .detalle-habitacion-card--principal .detalle-habitacion-rank {
        flex: 0 0 auto;
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        margin: 0 auto;
        font-size: 0.72rem;
    }

    .detalle-recomendaciones-alojamiento .detalle-habitacion-icono-wrap,
    .detalle-recomendaciones-alojamiento .detalle-habitacion-card--principal .detalle-habitacion-icono-wrap {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        max-width: 28px;
        max-height: 28px;
        margin: 0 auto;
    }

    .detalle-recomendaciones-alojamiento .detalle-habitacion-icono-wrap>i,
    .detalle-recomendaciones-alojamiento .detalle-habitacion-card--principal .detalle-habitacion-icono-wrap>i {
        font-size: 1.12rem;
    }

    .detalle-recomendaciones-alojamiento .detalle-habitacion-card h3 {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        color: #002d89;
        font-size: clamp(0.62rem, 2.55vw, 0.76rem);
        line-height: 1.08;
        letter-spacing: 0;
        text-align: center;
        white-space: normal;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    /* Galería modal móvil */
    .detalle-gallery-nav {
        display: none !important;
    }

    .detalle-gallery-body {
        height: 100svh;
        min-height: 100svh;
        padding: 78px 12px 58px;
    }

    .detalle-gallery-content {
        min-height: 100svh;
    }

    .detalle-gallery-swiper {
        height: min(72svh, 680px);
    }

    .detalle-gallery-slide img {
        border-radius: 16px;
    }
}

@media (max-width: 420px) {
    .detalle-mobile-media {
        height: 290px;
    }

    .detalle-mobile-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detalle-mobile-actions a,
    .detalle-mobile-actions button {
        min-height: 54px;
        font-size: 0.72rem;
    }

    .detalle-sobre-card--nuevo {
        padding: 22px 16px;
    }

    .detalle-recomendaciones-alojamiento .detalle-habitaciones-preview {
        gap: 7px;
    }

    .detalle-recomendaciones-alojamiento .detalle-habitacion-card,
    .detalle-recomendaciones-alojamiento .detalle-habitacion-card--principal,
    .detalle-recomendaciones-alojamiento .detalle-habitacion-card--secundaria {
        min-height: 122px;
        padding: 10px 5px;
        gap: 7px;
        border-radius: 14px;
    }

    .detalle-recomendaciones-alojamiento .detalle-habitacion-rank,
    .detalle-recomendaciones-alojamiento .detalle-habitacion-card--principal .detalle-habitacion-rank {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        font-size: 0.66rem;
    }

    .detalle-recomendaciones-alojamiento .detalle-habitacion-icono-wrap,
    .detalle-recomendaciones-alojamiento .detalle-habitacion-card--principal .detalle-habitacion-icono-wrap {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        max-width: 24px;
        max-height: 24px;
    }

    .detalle-recomendaciones-alojamiento .detalle-habitacion-card h3 {
        font-size: clamp(0.55rem, 2.65vw, 0.68rem);
    }
}
