/* --- Offer / Activity detail (from web.css) ------------------------------ */
div#cardActivity {
    margin-top: 18px
}

div#column-title {
    padding: 0px !important;
    margin: 0px !important;
    font-size: var(--text-lg) !important
}

div#column-text-content {
    min-height: 100%;
    max-width: 100%;
    padding-bottom:25px;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

div#column-text-content>ul>li>span {
    font-size: var(--text-base) !important
}

div#column-text-content * {
    max-width: 100% !important;
    font-size: var(--text-base) !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

div#column-text-content div,
div#column-text-content span,
div#column-text-content p,
div#column-text-content hr {
    width: 100% !important
}

/* El contenido HTML del cms puede traer imágenes/tablas con anchos fijos
   que rompen el viewport en móvil. Forzamos responsive. */
div#column-text-content img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
}

div#column-text-content table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto;
    word-break: break-word;
}

div#column-text-content iframe {
    max-width: 100% !important;
}

div#fila-text-content {
    width: 100%;
    min-height: 100%
}

div#fila-text-content>ul>li>span {
    width: 100%;
    font-size: var(--text-base) !important
}

div#fila-text-content * {
    width: 100%;
    margin-bottom: 0.4rem !important;
    font-size: var(--text-sm) !important
}

div#column-gallery {
    max-width: 430px
}

.iframecontent {
    width: 1080px;
    height: 1092px;
    padding: 0;
    overflow: hidden
}

.iframeoffer {
    width: 1080px;
    height: 100%;
    overflow: hidden;
    border: 0
}

.delay-1s {
    animation-delay: 0.5s
}

.delay-2s {
    animation-delay: 1s
}

.delay-3s {
    animation-delay: 1.5s
}

.delay-4s {
    animation-delay: 2s
}

.page-column-logo {
    width: 100%;
    max-width: 60vw;
    max-height: 200px;
    overflow: hidden;
    object-fit: contain;
}
.tabcontent {
    padding-bottom: 100px;
}

.responsive-fila-tab-column {
    height: 940px;
    background-color: rgba(255, 255, 255, 0.75)
}

.responsive-piscina-datos {
    background-color: rgba(255, 255, 255, 0.75)
}

.responsive-fila-tab-column-full {
    height: 934px !important
}

.responsive-fila-main-text {
    position: relative;
    display: block;
    width: 100%;
    height: 704px;
    padding-top: 0;
    padding-right: 21px;
    padding-bottom: 20px;
    overflow: auto;
    color: var(--color-text-heading);
    scrollbar-width: thin
}

.responsive-fila-main-text-full {
    height: 920px !important
}

.responsive-fila-main-text-full::before {
    bottom: 0 !important;
    content: ""
}

.responsive-fila-main-text::before {
    position: absolute;
    bottom: 0px;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 50px;
    content: "";
    background: linear-gradient(to top, #ffffffad, #80008000)
}

.responsive-fila-tab-gallery {
    position: relative;
    right: 0;
    z-index: 99;
    display: flex;
    width: 100%;
    height: 240px;
    overflow: auto;
    text-align: center;
    scrollbar-width: thin
}

.responsive-fila-tab-gallery::before {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: block;
    width: 80px;
    height: 244px;
    content: "";
    background: linear-gradient(to left, #fff, #80008000);
    border-bottom: 1px solid var(--color-text-muted)
}

.responsive-fila-tab-gallery-photo {
    display: inline-block;
    width: 300px;
    height: 200px;
    margin: 15px 3px;
    background-position: center;
    background-size: cover
}

.responsive-fila-tab-background {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover
}

.classic-photo1 {
    width: 1080px;
    max-height: 435px;
    overflow: hidden
}

.classic-text1 {
    width: 1080px
}

.classic-title1 {
    margin-top: 20px;
    font-size: var(--text-2xl);
    text-align: center
}

.classic-text1>p {
    padding-right: 150px;
    padding-left: 150px;
    font-size: var(--text-lg);
    text-align: justify
}

.classic-theme-black {
    min-height: 875px;
    background: black
}

.classic-theme-black>.classic-text1>.classic-title1 {
    color: white
}

.classic-theme-black>.classic-text1 {
    color: var(--color-border)
}

.mosaico-photo1 {
    float: left;
    display: inline;
    width: 450px;
    max-height: 435px
}

.mosaico-photo2 {
    width: 1080px;
    max-height: 475px
}

.mosaico-text1 {
    float: left;
    display: inline;
    width: 630px;
    max-height: 435px
}

.mosaico-grayslot {
    position: absolute;
    top: 1240px;
    left: 0;
    width: 450px;
    height: 680px
}

.mosaico-title1 {
    margin-top: 20px;
    font-size: var(--text-2xl);
    text-align: center
}

.mosaico-text1>p {
    padding-right: 40px;
    padding-left: 40px;
    font-size: var(--text-lg);
    text-align: justify
}

.mosaico-theme-white {
    color: black;
    background: var(--color-bg-card)
}

.mosaico-theme-white-grayslot {
    background: var(--color-bg-card);
    opacity: 0.5
}

.mosaico-header-theme-white-grayslot {
    background: var(--color-bg-card);
    opacity: 0.5
}

.mosaico-header-logoslot {
    position: absolute;
    top: 55px;
    width: 450px;
    height: 607px
}

.mosaico-header-logo {
    position: absolute;
    top: 310px;
    left: 145px;
    width: 150px;
    height: 150px;
    overflow: hidden
}

.mosaico-title1-theme-white {
    color: var(--color-text-body)
}

.mosaico-text1-theme-white {
    color: var(--color-text-heading)
}

.litera-container {
    min-height: 875px
}

.litera-container-shadows {
    width: 1080px;
    height: 875px;
    background: url("../images/shadows.png") no-repeat transparent 15px 35px
}

.litera-title1 {
    padding-top: 130px;
    font-size: 45px;
    font-weight: bold;
    color: var(--color-text-heading);
    text-align: center;
    opacity: 0.6
}

.litera-photo1 {
    position: absolute;
    max-height: 285px;
    margin-top: 57px;
    margin-left: 40px;
    overflow: hidden;
    border-radius: var(--radius-xs)
}

.litera-text1 {
    position: absolute;
    top: 255px;
    left: 495px;
    float: left;
    display: inline;
    width: 567px;
    max-height: 200px
}

.litera-text1>p {
    padding-right: 40px;
    padding-left: 40px;
    font-size: var(--text-lg);
    text-align: justify
}

.litera-photo2 {
    position: absolute;
    float: left;
    display: inline;
    max-height: 285px;
    margin-top: 359px;
    margin-left: 40px;
    overflow: hidden;
    border-radius: var(--radius-xs)
}

.litera-text2 {
    position: absolute;
    top: 555px;
    left: 495px;
    float: left;
    display: inline;
    width: 567px;
    max-height: 200px
}

.litera-text2>p {
    padding-right: 40px;
    padding-left: 40px;
    font-size: var(--text-lg);
    text-align: justify
}

.litera-header-logo {
    margin-top: -180px;
    margin-left: 40px
}

.litera-header-bar {
    position: absolute;
    top: 574px;
    z-index: 123
}

.litera-fix-0 {
    margin-top: 800px
}

.validate-booking-icon {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999999
}

.responsive-tab-column {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75)
}

.offer_location_button {
    position: absolute;
    top: 25vh;
    right: 18vw;
    z-index: 1000;
    margin-bottom: env(safe-area-inset-bottom);
}

.pdf-viewer {
    height: calc(100vh - 130px)
}

.template9-headerimage {
    z-index: 0;
    width: calc(100% - 32px);
    height: 25vh !important;
    padding: 0;
    margin: 0px 16px 20px 16px;
    overflow: hidden;
    list-style: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 1
}

.pin-virtual {
    min-height: 210px
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 0px;
    margin-bottom: 30px
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    height: 130px !important;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: var(--color-bg-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s
}

.gallery-item:active {
    transform: scale(0.98)
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.gallery-item__zoom {
    position: absolute;
    right: 6px;
    bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--color-text-inverse);
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    backdrop-filter: blur(2px);
}

.gallery-item__zoom i { font-size: 15px; }

/* Gallery lightbox modal */
#offer_gallery_modal .modal-content {
    overflow: hidden;
    background: #000;
    border: none;
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

#offer_gallery_modal .ht-modal-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    color: var(--color-text-inverse);
    background: rgba(0, 0, 0, 0.45);
    border: none;
}

.ht-gallery-modal__image {
    display: block;
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

.ht-hero-status-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 2px 11px;
    font-family: var(--font-family-body);
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-inverse);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

.ht-hero-status-badge .ht-status-dot {
    width: 10px;
    height: 10px
}

.fab-button-sm .fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease !important
}

.fab-button-sm .fab i.material-icons {
    margin: 0 !important;
    font-size: 24px !important;
    color: var(--color-text-heading) !important;
    transition: transform 0.2s ease
}

.fab-button-sm .fab:active {
    background: rgb(0 0 0 / 95%) !important;
    transform: scale(0.92) !important
}

.ht-premium-info-card {
    padding: 16px 20px;
    margin-bottom: 24px;
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-top: 25px;
}

.ht-premium-info-header {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-bg-subtle)
}

.ht-premium-info-header i {
    font-size: 22px;
    color: var(--color-info)
}

.ht-premium-info-header h4 {
    margin: 0;
    font-family: var(--font-family-body);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.ht-premium-time-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-bg-body)
}

.ht-premium-time-info {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.ht-premium-time-title {
    font-family: var(--font-family-body);
    font-size: 0.95rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-heading)
}

.ht-premium-time-days {
    font-family: var(--font-family-body);
    font-size: 0.80rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-subtle)
}

.ht-premium-time-badge {
    padding: 6px 14px;
    font-family: var(--font-family-body);
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-light-text);
    letter-spacing: 0.3px;
    white-space: nowrap;
    background: var(--color-bg-subtle);
    border-radius: var(--radius-pill)
}

.floating-tab-dropdown {
    position: fixed;
    bottom: calc(76px + env(safe-area-inset-bottom));
    left: 50%;
    z-index: 1010;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 90vw;
    transform: translateX(-50%);
}

.floating-tab-dropdown--no-footer {
    bottom: calc(20px + env(safe-area-inset-bottom));
}

.floating-tab-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    display: flex;
    visibility: hidden;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
    max-height: 40vh;
    padding: 8px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transform: translateY(15px) scale(0.95);
    transform-origin: bottom center;
    transition: var(--transition-base)
}

.floating-tab-dropdown.is-open .floating-tab-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1)
}

.floating-tab-item {
    padding: 12px 16px;
    font-family: var(--font-family-body);
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-body);
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background 0.2s
}

.floating-tab-item.active {
    font-weight: 800;
    color: var(--color-text-heading);
    background: var(--color-bg-subtle)
}

.floating-tab-toggle {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 5px 13px;
    font-family: var(--font-family-body);
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-inverse);
    letter-spacing: 0.3px;
    cursor: pointer;
    user-select: none;
    background: var(--color-dark);
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
    transition: var(--transition-fast)
}

.floating-tab-toggle:active {
    transform: scale(0.94)
}

.floating-tab-toggle i {
    font-size: 20px
}

.floating-tab-toggle .chevron {
    transition: transform 0.3s ease
}

.floating-tab-dropdown.is-open .chevron {
    transform: rotate(180deg)
}

@media screen and (max-width: 1280px) {
    .iframecontent {
        position: absolute !important;
        top: 55px !important;
        right: 0 !important;
        bottom: 0 !important;
        left: -10px !important;
        display: block !important;
        width: 105vw !important;
        height: calc(100vh - 55px) !important;
        padding: 0px;
        margin: 0px;
        overflow: hidden
    }
}


.offer_play_media {
    position: absolute;
    top: 25vh;
    right: 6vw;
    z-index: 1000;
    margin-bottom: env(safe-area-inset-bottom);
}

/* Video modal */
#offer_video_modal .modal-content {
    overflow: hidden;
    background: #000;
    border: none;
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#offer_video_modal .ht-modal-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    color: var(--color-text-inverse);
    background: rgba(0, 0, 0, 0.5);
    border: none;
}

#offer_video_container {
    position: relative;
    padding: 0;
    background: #000;
}

.ht-offer-video__player {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

div#tabs-mobile {
    display:none;
}
/* ==========================================================================
   DESKTOP: PANTALLA DIVIDIDA 50/50 (Solo para pantallas > 992px)
   ========================================================================== */

/* ==========================================================================
   DESKTOP: PULIDO FINAL (Líneas extra y agrupación de botones)
   ========================================================================== */

/* ==========================================================================
   DESKTOP: CORRECCIÓN DEFINITIVA DE LA COLUMNA IZQUIERDA
   ========================================================================== */


