/* Container principal */
.hotel-rooms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.box_custom_shortcode{
    margin: 20px 0;
}
/* Filtros */
.hotel-rooms-filters {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.hotel-rooms-filter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.filter-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Grid de habitaciones */
.hotel-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Tarjeta de habitación */
.hotel-room-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
}

.hotel-room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.room-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.room-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hotel-room-card:hover .room-image {
    transform: scale(1.05);
}

.room-details {
    padding: 1.5rem;
}

.room-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.room-title a {
    color: #333;
    text-decoration: none;
}

.room-title a:hover {
    color: #007bff;
}

.room-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #666;
}

.room-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.room_facilities_list ul {
    margin: 0 0 25px 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
  .room_facilities_list ul li {    
    width: 100%;
    margin: 0 5px;
    padding: 10px 0;
    border-bottom: 1px solid #ededed;
    display: flex;
    align-items: center;
  }
  .room_facilities_list ul li i {
    font-size: 34px;
    font-size: 2.125rem;
    margin-right: 15px;
    color: #978667!important;
  }

/* SCroll */


.room-pricing {
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.price-original {
    display: block;
    color: #999;
    text-decoration: line-through;
    font-size: 0.875rem;
}

.price-promo {
    display: block;
    color: #ff4444;
    font-size: 1.25rem;
    font-weight: 600;
}

.price-regular {
    display: block;
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
}

.room-actions {
    display: flex;
    gap: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .hotel-rooms-container {
        padding: 1rem;
    }

    .hotel-rooms-filter-form {
        flex-direction: column;
    }

    .filter-group {
        min-width: 100%;
    }

    .hotel-rooms-grid {
        grid-template-columns: 1fr;
    }

    .room_facilities_list ul{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .room_facilities_list ul{
        grid-template-columns: repeat(1, 1fr);
    }
}
/* Estado de carga */
.hotel-rooms-loading {
    position: relative;
    min-height: 200px;
}

.hotel-rooms-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* No hay resultados */
.no-rooms-found {
    text-align: center;
    padding: 3rem;
    background: #f9f9f9;
    border-radius: 8px;
    grid-column: 1 / -1;
}

.no-rooms-found p {
    color: #666;
    margin: 0;
    font-size: 1.1rem;
}



/* Single Cabaña */

.carousel_item_centered {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.carousel_item_centered .item {
    padding: 10px;
}

.carousel_item_centered .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.carousel_item_centered .owl-nav button {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9) !important;
    border-radius: 50%;
}

.carousel_item_centered .owl-nav button.owl-prev {
    left: -20px;
}

.carousel_item_centered .owl-nav button.owl-next {
    right: -20px;
}

.carousel_item_centered .owl-nav button i {
    font-size: 24px;
    color: #333;
}

.kenburns img {
    transition: transform 5s;
}

.kenburns img:hover {
    transform: scale(1.1);
}

.price_base_promotion{
    text-decoration: line-through;
    font-size: 23px;
    color: #ff2525;
}

.iconos_features{
    display: flex;
    gap: 30px;
    align-items: baseline;
    border-bottom: 2px solid #ededed;
    flex-wrap: wrap;
    
}


.kenburns .owl-item.active .item img,
img.jarallax-img.kenburns {
  transform-origin: 50% 50%;
  animation: kenburns 15s linear 0s;
  transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  animation-fill-mode: forwards;
  /* or: backwards, both, none */
}

@keyframes kenburns {
  0% {
    transform: scale3d(1.4, 1.4, 1.4) translate3d(-5%, -2%, 0px);
    transition: transform 7000ms linear 1s;
  }
  100% {
    transform: scale3d(1.25, 1.25, 1.25) translate3d(0px, 0px, 0px);
    transition: transform 7000ms linear 1s;
  }
}
img.jarallax-img.kenburns-2 {
  transform-origin: 50% 50%;
  animation: kenburns 10s linear 0s;
  transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  animation-fill-mode: forwards;
  /* or: backwards, both, none */
}


/* Carousel Centered */
.carousel_item_centered .owl-item,
.carousel_item_centered_rooms .owl-item {
  opacity: 0.5;
  transform: scale(0.85) !important;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(0.85, 0.85) !important;
  transition: all 0.3s ease-in-out 0s;
  overflow: hidden;
}

.carousel_item_centered .owl-item.active.center,
.carousel_item_centered_rooms .owl-item.active.center {
  opacity: 1;
  backface-visibility: hidden;
  transform: scale(1) !important;
}

.btn_1 {
    border: none;
    color: #fff;
    background: #978667;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    text-decoration: none;
    padding: 14px 25px 14px 25px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-top: 30px;
  }

  a.btn_1.outline,
.btn_1.outline {
  background-color: transparent;
  border: 2px solid #24262d;
  color: #24262d;
}
a.btn_1.outline.white,
.btn_1.outline.white {
  border-color: #fff;
  color: #fff;
}
a.btn_1.outline:hover,
.btn_1.outline:hover {
  background-color: #4b514d;
  border: 2px solid transparent;
  color: #fff;
}

/* Single Detail */

/* ======== Sección Principal ======== */
.room-section {
    background-color: #fff;
    padding: 60px 20px;
    position: relative;
    /* overflow: hidden; */
}

/* Los elementos de fondo van primero en el stack */
.room-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #f7f3ed;
    transform: skewY(-12deg);
    opacity: 0.1;
    z-index: 1;
}

.room-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #5C4635;
    transform: skewY(-6deg);
    opacity: 0.05;
    z-index: 1;
}


.scroll-down-btn {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
}

.scroll-down-btn a {
    display: inline-block;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.scroll-down-btn a:hover {
    transform: translateY(5px);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* ======== Diseño Responsive con Grid ======== */
.container-single-room {
    position: relative;    
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    align-items: flex-start;
}

/* SCroll */

.container-single-room {
    display: flex;
    gap: 30px;
    max-width: 1200px;  /* o el ancho que necesites */
    margin: 0 auto;
}

/* .room-content {
    width: 50%;
} */

.room_facilities_list {
    width: 50%;
    position: sticky;
    top: 90px;
    z-index: 2; 
}

@media (max-width: 768px) {
    .container-single-room {
        flex-direction: column;
    }
    
    .room_facilities_list {
        width: 100%;
    }
    .room-content {
        width: 100%;
        padding: 20px!important;
    }
    .features{
        display: none!important;
    }

    .room_facilities_list {
        position: relative;
        top: 0;
    }

    
}

/* ======== Contenido del Cuarto ======== */
/* .room-content {
    max-width: 600px;
} */

.room-category {
    color: #978667;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
}

.room-title {
    font-size: 32px;
    font-weight: bold;
    color: #111;
    line-height: 1.3;
    margin: 10px 0 20px;
}

.room-pricing {
    font-size: 20px;
    color: #444;
    margin: 15px 0;
}

.old-price {
    text-decoration: line-through;
    color: #c00;
    font-size: 18px;
}

.promo-price {
    font-size: 24px;
    font-weight: bold;
    margin-left: 10px;
}

.current-price {
    font-size: 24px;
    font-weight: bold;
}

.promo-date {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* ======== Descripción ======== */
.room-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-top: 20px;
}

/* ======== Características (Mejoradas) ======== */
.room-features {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.room-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Estilo Mejorado de los Íconos */
.room-features li {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #444;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.room-features i {
    font-size: 22px; /* Mejor tamaño */
    color: #978667;
    margin-right: 12px;
    width: 30px; /* Asegura que todos los íconos tengan el mismo tamaño */
    text-align: center;
}





/* ======== Diseño Responsive ======== */
@media (max-width: 1024px) {
    .container-single-room {
        grid-template-columns: 1fr; /* Se convierte en una sola columna */        
    }

    .room-content {
        max-width: 100%;
    }

    .room-features ul {
        grid-template-columns: 1fr; /* En pantallas más pequeñas, las características son una lista vertical */
    }

    .room-features li {
        justify-content: center;
    }
}


/* ======== Contenedor Principal ======== */
.full-screen-tabs {
    width: 100%;
    height: 100vh; /* Ocupa toda la pantalla */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ======== Menú de Tabs (Ahora dentro de la sección) ======== */
.tabs-menu {
    display: flex;
    gap: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tab-link {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.3s;
}

.tab-link.active,
.tab-link:hover {
    color: #c9a86a;
}

/* ======== Contenido de los Tabs ======== */
.tab-content {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out;
}

.tab-content.active {
    display: flex;
    opacity: 1;
}

/* ======== Tour 360° ======== */
#tour360 {
    background: black;
}

#tour360 iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ======== Video con Preview ======== */
#video {
    background: black;
}

.video-preview {
    position: relative;
    width: 100%;
    max-width: 900px;
    cursor: pointer;
}

.video-preview img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 30px;
    border-radius: 50%;
    transition: 0.3s;
}

.video-preview:hover .play-button {
    background: rgba(0, 0, 0, 0.8);
}

#room-video {
    display: none;
    width: 100%;
    max-width: 900px;
    border-radius: 8px;
}

/* ======== Responsive ======== */
@media (max-width: 768px) {
    .tabs-menu {
        padding: 8px 15px;
        gap: 10px;
    }


    .tab-link {
        font-size: 16px;
    }

    .play-button {
        font-size: 40px;
        padding: 15px 20px;
    }
}



/* TABS */

.full-screen-tabs {
    width: 100%;    
    margin: 0 auto;
}

.wvt-panorama{
    width: 100%;
    height: 80vh!important;
}

 /* Estilos para los tabs */
 .luxury-tabs-section {
    background: #f7f3ed;
}

.tab-navigation  .tab-btn {
    position: relative;
    transition: all 0.3s ease;
    background: transparent!important;
    width: 100%;    
    border-right: 2px solid var(--botonbg);
    border-top: 2px solid var(--botonbg);
}

.tab-navigation  .tab-btn:hover{
    border-right: 2px solid var(--botonbg);
    border-top: 2px solid var(--botonbg);
}

.tab-btn.active{
    background: transparent;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #5C4635;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.tab-btn.active {
    color: #978667;
}

.tab-btn.active:after {
    width: 100%;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para las cards de habitaciones similares */
.similar-room-card {
    transition: transform 0.3s ease;
}

.similar-room-card:hover {
    transform: translateY(-5px);
}

.tab-link {
    border-color: transparent;
    transition: all 0.3s;
}

.tab-link.active {
    border-color: #978667;
    color: #978667;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.video-container {
    position: relative;
    padding-top: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



a.box_cat_rooms {
    display: block;
    margin-bottom: 25px;
    height: 500px;
    position: relative;
    overflow: hidden;
    background-color: #ccc;
    border-radius: 10px;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.2);
  }
  @media (max-width: 991px) {
    a.box_cat_rooms {
      height: 400px;
    }
  }
  a.box_cat_rooms .info {
    position: absolute;
    width: 100%;
    z-index: 9;
    display: block;
    padding: 25% 30px 0 30px;
    color: #fff;
    left: 0;
    bottom: -75px;
    padding-bottom: 60px;
    backface-visibility: hidden;
    transform: translate(0, 0);
    transition: all 0.4s ease;
    background: transparent;
    background: linear-gradient(to bottom, transparent, #000);
  }
  a.box_cat_rooms .info small {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    color: #999;
    display: block;
    margin-bottom: 0;
    font-size: 12px;
    font-size: 0.75rem;
    color: #fff;
  }
  a.box_cat_rooms .info h3 {
    color: #fff;
    font-size: 26px;
    font-size: 1.625rem;
    font-weight: 600;
    margin-bottom: 15px;
  }
  a.box_cat_rooms .info span {
    font-size: 15px;
    font-size: 0.9375rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    opacity: 0;
    position: relative;
  }
  a.box_cat_rooms .info span:before {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 10px;
    height: 2px;
    content: "";
    transition: width 500ms ease;
    background-color: #fff;
  }
  a.box_cat_rooms .info span:hover {
    background-color: #24262d;
    border-color: transparent;
  }
  a.box_cat_rooms figure {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
  a.box_cat_rooms:hover .info {
    transform: translate(0, -65px);
  }
  a.box_cat_rooms:hover .info span {
    opacity: 1;
  }
  a.box_cat_rooms:hover .info span:before {
    width: 100%;
  }
  a.box_cat_rooms:hover .background-image {
    transform: scale(1.1);
  }


  /* Style 2 */
    .section_style_2 {
        background-color: #F8F6F3;
    }

    .content_modern {
        margin: 30px 0;
    }

    .modern-hero {
        position: relative;
        height: 100vh;
        overflow: hidden;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-image.kenburns {
        animation: kenburns 20s ease-out both;
    }

    @keyframes kenburns {
        0% {
            transform: scale(1.2);
        }

        100% {
            transform: scale(1);
        }
    }

    .slider-container small{
        font-size: 18px;
    }

    .slider-container .text-360{
        font-size: 20px;
        font-weight: bold;
    }
    .hero-content {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: rgba(0, 0, 0, 0.4);
    }

    .hero-category {
        color: #fff;
        font-size: 1rem;
        letter-spacing: 4px;
        text-transform: uppercase;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        color: #fff;
        font-size: 4rem;
        margin: 0;
        letter-spacing: 2px;
    }

    /* Features Grid */
    .room-features-grid {
        max-width: 1200px;
        margin: -100px auto 0;
        padding: 15px;
        background: #fff;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        position: relative;
        z-index: 2;
    }


    .feature-item {
        text-align: center;
        border-right: 1px solid #eee;
    }

    .feature-item:last-child {
        border-right: none;
    }

    .feature-icon {
        margin-bottom: 1rem;
    }

    .feature-icon i {
        font-size: 2.5rem;
        color: #978667;
    }

    .feature-text {
        font-size: 0.875rem;
    }

    .feature-label {
        color: #666;
        margin-bottom: 0.25rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
    }

    .feature-value {
        color: #333;
        font-weight: 300;
    }


    /* Navegación */
    .room-nav {
        /* position: sticky;
    top: 0; 
    background: #fff;
    */
        z-index: 100;
    }

    .nav-container {
        max-width: 1200px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        margin: 0 auto;
    }

    .tab-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        min-height: 400px;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff;
        /* padding: 10px 20px; */        
        width: 100%;
    }


    .nav-link {
        flex-grow: 1;
        width: 100%;
        /* Hace que cada tab tenga el mismo ancho */
        text-align: center;
        padding: 15px;
        cursor: pointer;
        border-left: 1px solid var(--botonbg);
        border-right: 1px solid var(--botonbg);
        border-bottom: 1px solid var(--botonbg-hover);
        /* border-bottom: 3px solid transparent; */
        transition: all 0.3s ease-in-out;
        color: #333;
        text-decoration: none;
        font-weight: bold;
    }

    .nav-link.active {
        border-bottom: 3px solid #978667;
        color: #fff;
        background-color: #978667;
    }


    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        width: 100%;
        height: 2px;
        background: #978667;
    }



    .tab-content-modern {
        width: 1200px;
        display: none;
        padding: 20px;
        margin-top: 30px;
        background: #fff;
        border-radius: 5px;
        min-height: 300px;
        /* Mantiene una altura uniforme */
        margin: 10px auto;
    }

    .tab-content-modern ul {
        list-style: none;
        padding: 0;
    }

    .tab-content-modern.active {
        display: block;
    }

    .description-grid {
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }

    .description-column,
    .features-column {
        width: 48%;
    }

    .features-column ul {
        list-style: none;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .features-column li {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        width: 90%;
        margin: 0 5px;
        padding: 10px 0;
        border-bottom: 1px solid #ededed;
        display: flex;
        align-items: center;
    }

    .features-column i {
        font-size: 25px;
        margin-right: 15px;
        color: #978667;
    }

    .features-column strong {
        font-size: 16px;
    }

    /* Estilos para las cards de información */
    .info-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }

    .info-card {
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
        gap: 15px;
        transition: transform 0.3s ease;
    }

    .info-card:hover {
        transform: translateY(-5px);
    }

    .info-card i {
        font-size: 30px;
        color: #978667;
    }

    .info-card-content h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .info-card-content p {
        margin: 5px 0 0;
        color: #666;
    }

    .additional-info-content {
        padding: 15px;
        border-top: 2px solid #978667;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .additional-info-content h3 {
        color: #978667;
        margin-bottom: 20px;
    }

    /* Estilos para la galería */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .gallery-item {
        position: relative;
        aspect-ratio: 4/3;
        overflow: hidden;
        border-radius: 10px;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .gallery-link:hover img {
        transform: scale(1.05);
    }

    @media (max-width: 1260px) {

        .content_modern,
        .tab-content-modern {
            width: 100%;
        }

    }


    /* Media Queries */
    @media (max-width: 768px) {

        .content_modern {
            margin-top: 50px;
        }

        .nav-links {
            overflow-x: auto;
            white-space: nowrap;
            display: flex;
            flex-wrap: wrap;
            /* padding: 10px; */
            gap: 10px;
            scrollbar-width: none;
            /* Oculta el scrollbar en Firefox */
        }

        .hero-title {
            font-size: 3rem;
        }

        .tabs_real{
            display: flex;
            flex-direction: column;
        }

        .tab-btn.active{
            background-color: #978667!important;
            color: #fff!important;
        }

        .nav-links::-webkit-scrollbar {
            display: none;
            /* Oculta el scrollbar en Chrome, Safari y Edge */
        }

        .tab-content-modern,
        .tabs-container {
            width: 100%;
        }

        .luxury-tabs-section  .tab-container_360{
            margin: 0 30px;
        }

        .nav-link {
            flex-shrink: 0;
            padding: 10px 15px;
            font-size: 14px;
        }

        .content_modern {
            padding: 0 20px;
        }

        /* Para que la info en dos columnas se apile en pantallas pequeñas */
        .description-grid {
            flex-direction: column;
        }

        .description-column,
        .features-column {
            width: 100%;
        }

        .room-features-grid {
            grid-template-columns: repeat(2, 1fr);
            margin-top: -50px;
        }

        .feature-item {
            border-right: none;
            border-bottom: 1px solid #eee;
        }

        .feature-item:nth-last-child(-n+2) {
            border-bottom: none;
        }

        .info-cards {
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        }

        .gallery-grid {
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        }


    }

    @media (max-width: 500px) {
        .tab-content-modern {
            padding: 10px;
        }

        .luxury-tabs-section  .tab-container_360{
            margin: 0 20px;
        }

        .hero-title {
            font-size: 2rem;
        }

        .features-column ul {
            grid-template-columns: repeat(1, 1fr);
        }

        .features-column i {
            font-size: 30px;
        }

        .nav-links {
            flex-direction: column;
        }

        .room-features-grid {
            grid-template-columns: 1fr;
        }

        .feature-item {
            border-bottom: 1px solid #eee;
        }

        .feature-item:last-child {
            border-bottom: none;
        }

        .info-cards {
            grid-template-columns: 1fr;
        }

        .gallery-grid {
            grid-template-columns: 1fr;
        }
    }

/* ── Booking Form ─────────────────────────────────────────────────────────── */

.hr-booking-section {
    background: #fafafa;
    padding: 60px 24px;
}

.hr-booking-inner {
    max-width: 1600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 0;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.hr-booking-header {
    background: #fff;
    padding: 28px 32px 24px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.hr-booking-header::after {
    content: none;
}

.hr-booking-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 4px;
}

.hr-booking-title-sub {
    font-size: .88rem;
    color: #888;
    margin: 0;
}

.hr-booking-min-notice {
    display: inline-block;
    background: #f0f0f0;
    color: #555;
    font-size: .78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-top: 8px;
}

/* Form wrapper */
.hr-booking-form-wrap {
    padding: 28px 28px 28px;
}

/* Messages */
.hr-booking-message {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 28px;
    font-size: .92rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.hr-booking-message::before {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.hr-msg-success {
    background: #edf7f0;
    color: #1a6b3a;
    border: 1px solid #a8e0bc;
}
.hr-msg-success::before { content: '✓'; }
.hr-msg-error {
    background: #fdf3f4;
    color: #8b1a27;
    border: 1px solid #f0b8be;
}
.hr-msg-error::before { content: '!'; font-weight: 700; }

/* Section divider */
.hr-form-section {
    margin-bottom: 32px;
}

.hr-form-section-label {
    font-size: .75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hr-form-section-label i {
    font-size: 1rem;
}

/* Form layout */
.hr-booking-form .hr-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.hr-booking-form .hr-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hr-booking-form .hr-form-group.hr-full {
    flex: 0 0 100%;
}

.hr-booking-form .hr-guests-group {
    max-width: 200px;
}

.hr-booking-form label {
    font-size: .75rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 6px;
    text-transform: none;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hr-required {
    color: #dc2626;
    font-size: .85em;
}

/* Inputs with icon */
.hr-input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.hr-input-icon > i {
    position: absolute;
    left: 12px;
    color: #aaa;
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.hr-input-icon input {
    width: 100%;
    padding: 10px 12px 10px 36px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: .88rem !important;
    color: #333 !important;
    background: #fff;
    transition: border-color .2s !important;
    box-sizing: border-box;
    line-height: 1.4;
    margin: 0;
}

.hr-input-icon input::placeholder {
    color: #bbb;
}

.hr_notes {
    padding: 10px 12px !important;
}

.hr-input-icon input:focus {
    outline: none;
    border-color: #999 !important;
    background: #fff;
}

.hr-booking-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: .88rem;
    color: #333;
    background: #fff;
    resize: vertical;
    font-family: inherit;
    transition: border-color .2s;
    box-sizing: border-box;
    min-height: 80px;
    line-height: 1.5;
}

.hr-booking-form textarea::placeholder {
    color: #bbb;
}

.hr-booking-form textarea:focus {
    outline: none;
    border-color: #999;
    background: #fff;
}

/* Date picker cards */
.hr-form-dates .hr-form-group {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 14px 10px;
    transition: border-color .2s;
    margin: 0;
}

.hr-form-dates .hr-form-group:focus-within {
    border-color: #999;
}

.hr-form-dates .hr-form-group label {
    margin-bottom: 4px;
    color: #888;
}

.hr-form-dates .hr-input-icon input {
    border: none !important;
    background: transparent;
    padding: 6px 0 6px 28px !important;
    font-size: .92rem !important;
    font-weight: 600;
    color: #333 !important;
    margin: 0;
}

.hr-form-dates .hr-input-icon input:focus {
    border: none !important;
    box-shadow: none;
    background: transparent;
}

.hr-form-dates .hr-input-icon > i {
    left: 0;
    font-size: 1rem;
}

/* Price summary */
.hr-price-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: .84rem;
    color: #555;
    flex-wrap: wrap;
    gap: 8px;
}

.hr-price-nights {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hr-price-nights::before {
    content: '';
}

.hr-price-total {
    font-weight: 700;
    font-size: 1rem;
    color: #111;
}

/* Buttons */
.hr-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hr-submit-btn {
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.hr-submit-btn:hover:not(:disabled) {
    background: #111;
}

.hr-submit-btn:active:not(:disabled) {
    background: #000;
}

.hr-submit-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.hr-submit-btn i {
    font-size: 1.1rem;
}

.hr-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: #25d366;
    color: #fff;
    border-radius: 6px;
    font-size: .84rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
    white-space: nowrap;
}

.hr-whatsapp-btn:hover {
    background: #1da856;
    color: #fff;
}

.hr-whatsapp-btn i {
    font-size: 1.1rem;
}

/* Policy note */
.hr-policy-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .8rem;
    color: #999;
    margin-top: 20px;
    line-height: 1.6;
    padding: 10px 14px;
    background: #faf9f7;
    border-radius: 6px;
    border-left: 3px solid #e0d8cc;
}

.hr-policy-note i {
    flex-shrink: 0;
    color: #978667;
    font-size: 1rem;
    margin-top: 1px;
}

/* Flatpickr overrides */
.flatpickr-calendar {
    font-family: inherit;
    border-radius: 10px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.12) !important;
    border: none !important;
}

.flatpickr-months {
    background: #978667;
    border-radius: 10px 10px 0 0;
    padding: 4px 0;
}

.flatpickr-month,
.flatpickr-prev-month,
.flatpickr-next-month,
.flatpickr-current-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.numInputWrapper span {
    color: #fff !important;
    fill: #fff !important;
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
    fill: rgba(255,255,255,.7) !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #978667 !important;
    border-color: #978667 !important;
    color: #fff !important;
}

.flatpickr-day.inRange {
    background: rgba(151,134,103,.15) !important;
    border-color: transparent !important;
    box-shadow: -5px 0 0 rgba(151,134,103,.15), 5px 0 0 rgba(151,134,103,.15) !important;
}

.flatpickr-day:hover:not(.flatpickr-disabled) {
    background: rgba(151,134,103,.12);
    border-color: transparent;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: #ccc !important;
    background: transparent !important;
    text-decoration: line-through;
}

/* Responsive booking form */
@media (max-width: 680px) {
    .hr-booking-header {
        padding: 20px 16px;
    }

    .hr-booking-form-wrap {
        padding: 20px 16px;
    }

    .hr-booking-form .hr-form-row {
        flex-direction: column;
        gap: 16px;
    }

    .hr-form-dates {
        flex-direction: row !important;
    }

    .hr-booking-form .hr-guests-group {
        max-width: 100%;
    }

    .hr-form-actions {
        flex-direction: column;
        margin-top: 20px;
    }

    .hr-submit-btn,
    .hr-whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Very small phones: stack date inputs vertically */
@media (max-width: 400px) {
    .hr-form-dates {
        flex-direction: column !important;
    }
    .hr-form-dates .hr-form-group {
        width: 100%;
    }
}

/* ==========================================================================
   MODAL DE RESERVA
   ========================================================================== */

/* Overlay / backdrop */
.hr-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(20, 16, 10, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.hr-modal-overlay.hr-modal-open {
    opacity: 1;
}

/* Bloquear scroll del body cuando el modal está abierto */
body.hr-modal-active {
    overflow: hidden;
}

/* Contenedor del modal */
.hr-modal-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.18);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    opacity: 0;
    /* Scroll propio sin barra visible en webkit */
    scrollbar-width: thin;
    scrollbar-color: #d4c9b8 transparent;
}

.hr-modal-overlay.hr-modal-open .hr-modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.hr-modal-container::-webkit-scrollbar {
    width: 5px;
}
.hr-modal-container::-webkit-scrollbar-track {
    background: transparent;
}
.hr-modal-container::-webkit-scrollbar-thumb {
    background: #d4c9b8;
    border-radius: 99px;
}

/* Botón cerrar */
.hr-modal-close {
    position: absolute!important;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 40px;
    height: 30px;
    border-radius: 50% !important;
    border: none;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(4px) !important;
    color: #555 !important;
    font-size: 1.4rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s, transform 0.15s !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.hr-modal-close:hover {
    background: #978667;
    color: #fff;
    transform: scale(1.08);
}

.hr-modal-close i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Cuerpo del modal */
.hr-modal-body {
    padding: 0;
}

/* El formulario dentro del modal no necesita márgenes extra */
.hr-modal-body .hr-booking-section {
    margin: 0;
    padding: 0;
}

.hr-modal-body .hr-booking-inner {    
    overflow: hidden;
}

.hr-modal-body .hr-booking-header {
    border-radius: 0;
}

/* Loading state */
.hr-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    gap: 18px;
    color: #978667;
}

.hr-modal-loading p {
    margin: 0;
    font-size: .95rem;
    color: #999;
}

.hr-modal-spinner {
    display: block;
    width: 40px;
    height: 40px;
    border: 3px solid #e8e3dc;
    border-top-color: #978667;
    border-radius: 50%;
    animation: hr-spin 0.75s linear infinite;
}

@keyframes hr-spin {
    to { transform: rotate(360deg); }
}

/* Error state */
.hr-modal-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    gap: 14px;
    text-align: center;
    color: #8b1a27;
}

.hr-modal-error i {
    font-size: 2.5rem;
    color: #e08090;
}

.hr-modal-error p {
    margin: 0;
    font-size: .95rem;
    color: #555;
}

/* Botón de listado — override para que <button> tenga el mismo look que <a> */
button.btn-outline,
button.btn-fill {
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.4;
    background: none;
}

button.btn-outline {
    padding: 12px 24px;
    border: 1px solid #978667;
    color: #978667;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
}

button.btn-outline:hover {
    background: #978667;
    color: #fff;
}

/* Responsive modal */
@media (max-width: 600px) {
    .hr-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .hr-modal-container {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .hr-modal-overlay.hr-modal-open .hr-modal-container {
        transform: translateY(0);
    }

    .hr-modal-close {
        top: 10px;
        right: 10px;
    }
}
