/* CSS for the new Minisite design - UPDATED V7 */

/* Reset and Global Full Width */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
}

.grid-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}

#FondoWeb {
    width: 100% !important;
    max-width: 100% !important;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
}

/* Header & Hero Section */
.new-header-container {
    position: relative;
    width: 100% !important;
    min-height: 650px;
    background: url('../img/minisites/fondos/fondos_minisites_9.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.new-header-overlay {
    background: rgba(0, 0, 0, 50%);
    width: 100%;
    min-height: 650px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    background: transparent;
}

.logo-info {
    display: flex;
    align-items: center;
}

.logo-info img {
    height: 85px;
    margin-right: 25px;
}

.hotel-details {
    display: flex;
    flex-direction: column;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hotel-details h1 {
    font-size: 34px;
    margin: 0;
    font-weight: 400;
    color: white;
    line-height: 1.2;
    text-transform: none;
    white-space: nowrap;
}

.hotel-details .stars {
    color: #ffcc00;
    font-size: 20px;
    display: flex;
    gap: 5px;
}

.hotel-details .city-stars-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.hotel-details .city {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 0;
    color: white;
}

.nav-and-langs {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1;
}


.languages {
    margin-bottom: 25px;
    display: flex;
    gap: 8px;
}

.languages img {
    height: 22px;
    width: auto;
    cursor: pointer;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.languages img.active {
    filter: grayscale(0%);
    opacity: 1;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav ul li {
    margin: 0 12px;
}

.main-nav ul li a {
    color: white !important;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    display: block;
    background: none !important;
}

.main-nav ul li a:hover,
.main-nav ul li.boton_on a {
    color: #ffcc00 !important;
}

.main-nav ul li.boton_on a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffcc00;
}

.main-nav ul li a.btn-gestion {
    background-color: #dcd6b8 !important;
    color: #333 !important;
    padding: 12px 25px !important;
    border-radius: 4px;
    font-weight: 400 !important;
    margin-left: 15px !important;
    text-transform: uppercase !important;
    text-align: center;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: none !important;
    height: auto !important;
    white-space: nowrap;
    vertical-align: middle;
}

/* Hero Content */
.hero-content {
    display: flex;
    justify-content: space-between;
    padding: 60px 10%;
    align-items: center;
    min-height: 400px;
}

.hero-left {
    max-width: 50%;
    text-align: left;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-left .subtitle {
    font-size: 32px;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 10px;
    font-weight: 400;
    color: white;
}

.hero-left h2 {
    font-size: 86px;
    margin: 0;
    line-height: 1.0;
    font-weight: 700;
    color: white;
}

.hero-left .price-line {
    font-size: 86px;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
    line-height: 1.1;
}

.btn-reserva-ahora {
    background-color: #ffcc00;
    color: black;
    padding: 18px 50px;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

/* Booking Card */
.booking-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 40px;
    width: 520px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.booking-card h3 {
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 700;
}

.booking-form label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
}

.booking-form .form-row {
    display: flex;
    align-items: flex-end;
    margin-bottom: 25px;
    gap: 15px !important;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #778;
    border-radius: 4px;
    font-size: 15px;
    background-color: white;
    height: 50px;
    box-sizing: border-box;
    margin: 0 !important;
}

.booking-form input[type="number"] {
    width: 80px;
    appearance: auto;
}

/* Force show arrows for number input */
.booking-form input[type=number]::-webkit-inner-spin-button,
.booking-form input[type=number]::-webkit-outer-spin-button {
    opacity: 1 !important;
}

/* Form groups */
.form-group-connected {
    flex: 1;
}

.form-group-connected.smaller {
    flex: 0 0 auto;
}

/* Calendar Icon */
.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-right: 40px;
}

.input-with-icon::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-calendar" viewBox="0 0 16 16"><path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    pointer-events: none;
}

.btn-buscar {
    width: 100%;
    background-color: #dcd6b8;
    color: #333;
    padding: 18px;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 10px;
}

.booking-extras {
    margin-top: 30px;
    font-size: 15px;
    color: #333;
}

.booking-extras p {
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.booking-extras p svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #111;
}

/* Welcome Section - NEW V7 */
.welcome-section {
    padding: 40px 5%;
    /* Reduced vertical and horizontal padding */
    background: white;
}

.welcome-container {
    display: flex;
    gap: 40px;
    /* Reduced gap between carousel and text */
    align-items: flex-start;
}

.welcome-carousel {
    flex: 1.1;
    /* Adjusted ratios */
    max-width: 55%;
}

.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-images img.active {
    opacity: 1;
    position: relative;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 60px;
    height: 80px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    z-index: 10;
    color: transparent;
    /* Hide text if present */
}

.carousel-prev:hover,
.carousel-next:hover {
    opacity: 0.7;
}

.carousel-prev {
    left: 10px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M70 10 L30 50 L70 90" fill="none" stroke="%23ddd" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center;
}

.carousel-next {
    right: 10px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30 10 L70 50 L30 90" fill="none" stroke="%23ddd" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.thumb-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
}

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

.thumb-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.45);
    /* Capa transparente gris */
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.thumb-item:hover::after {
    background-color: rgba(0, 0, 0, 0.2);
    /* Aclara un poco la capa transparente gris */
}

.thumb-item.active::after {
    background-color: transparent;
    /* Sin capa para la activa */
}

.welcome-info {
    flex: 1;
    /* More space for text */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.welcome-text {
    font-size: 16px;
    /* Slightly smaller text as per modern designs */
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
    /* Reduced from 40px */
    text-align: left;
}

.btn-reserva-info {
    background-color: #ffcc00;
    color: black;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    align-self: flex-start;
    transition: transform 0.3s;
}

.btn-reserva-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 1200px) {
    .top-bar {
        padding: 20px 40px;
    }

    .welcome-container {
        flex-direction: column;
    }

    .welcome-carousel {
        max-width: 100%;
    }
}

/* Encuentranos Section */
.encuentranos-section {
    padding: 60px 10%;
    background-color: #fafafa;
}

.encuentranos-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.encuentranos-info {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
}

.encuentranos-info h2 {
    font-size: 34px;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
    color: #111;
}

.encuentranos-info .subtitle {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
    font-weight: normal !important;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    font-size: 14px;
    color: #111;
}

.pois-list {
    margin-top: 25px;
    font-size: 11px;
    color: #666;
    line-height: 1.6;
}

.pois-list strong {
    font-weight: bold;
    color: #333;
}

.pois-list a {
    color: #666 !important;
    font-size: 11px !important;
    text-decoration: underline !important;
}

.pois-list a:hover {
    color: #111 !important;
}

.pois-list em {
    font-style: italic;
}

.rating-badge-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

.rating-badge {
    display: inline-flex;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    align-items: stretch;
}

.badge-score-image {
    background-color: #3b6da2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-score-image img {
    height: 85px;
    width: auto;
    display: block;
}

.badge-text {
    padding: 10px 15px;
    font-size: 12px;
    line-height: 1.3;
    max-width: 200px;
    color: #111;
    display: flex;
    align-items: center;
    font-weight: normal !important;
}


.btn-llamanos {
    background-color: #ffcc00;
    color: #111;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 3px;
    align-self: flex-start;
    display: inline-block;
    font-size: 15px;
}

.encuentranos-map {
    flex: 1;
    min-height: 350px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1200px) {
    .encuentranos-container {
        flex-direction: column;
    }

    .encuentranos-info {
        flex: auto;
    }

    .encuentranos-map {
        min-height: 400px;
        width: 100%;
    }
}

/* New Footer Section - Exact Capture Match */
.new-footer-container {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 10%;
    font-size: 13px;
    font-family: 'Inter', 'Roboto', sans-serif;
}

/* Force all text in footer to not be bold */
.new-footer-container * {
    font-weight: normal !important;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0;
}

.footer-col {
    box-sizing: border-box;
}

.footer-col.left-col {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 40px;
}

.footer-col.mid-col {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 20px;
    display: flex;
    justify-content: center;
}

.footer-col.right-col {
    flex: 0 0 25%;
    max-width: 25%;
    position: relative;
}

/* Left Column Styles */
.footer-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.footer-logo {
    margin-right: 15px;
}

.footer-logo img {
    height: 45px;
}

.footer-title-wrap {
    display: flex;
    flex-direction: column;
}

.title-stars {
    display: flex;
    align-items: center;
}

.footer-title {
    margin: 0;
    font-size: 22px;
    font-weight: normal;
    color: #ffffff;
}

.footer-subtitle {
    font-size: 13px;
    color: #a0a0a0;
    margin-top: 2px;
}

.footer-desc {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 13px;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-social .social-icon {
    width: 28px;
    height: 28px;
    transition: opacity 0.2s;
}

.footer-social a:hover .social-icon {
    opacity: 0.7;
}

/* Middle Column Styles */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list a {
    color: #dddddd;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    text-transform: uppercase;
}

.footer-nav-list a:hover {
    color: #ffffff;
}

/* Right Column Styles */
.footer-promo {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 13px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #dddddd;
    font-size: 13px;
}

.footer-contact-item a,
.footer-contact-item .__cf_email__ {
    color: #ffffff !important;
}

.footer-contact-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    margin-top: 2px;
}

.footer-links-right {
    margin-top: 40px;
}

.footer-links-right a {
    color: #dddddd;
    text-decoration: underline;
    font-size: 12px;
    transition: color 0.2s;
}

.footer-links-right a:hover {
    color: #ffffff;
}

@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-col.left-col,
    .footer-col.mid-col,
    .footer-col.right-col {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .footer-col.mid-col {
        justify-content: flex-start;
    }
}

/* Modify Dates Bar */
.modify-dates-wrapper {
    background-color: white;
    width: 100%;
    padding: 50px 0;
    display: flex;
    justify-content: center;
}

.modify-dates-bar {
    background-color: #dcd6b8;
    width: 80%;
    max-width: none;
    padding: 30px 40px;
    box-sizing: border-box;
}

.modify-dates-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modify-groups-left {
    display: flex;
    gap: 40px;
}

.modify-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modify-group label {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.modify-group .input-with-icon input {
    width: 180px;
    padding: 12px;
    border: 1px solid #778;
    border-radius: 4px;
    font-size: 15px;
    background-color: white;
    height: 45px;
    box-sizing: border-box;
    margin: 0;
}

.btn-modificar {
    background-color: white;
    color: #111;
    padding: 0 40px;
    height: 45px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-modificar:hover {
    background-color: #f0f0f0;
}

@media (max-width: 900px) {

    .modify-dates-form,
    .modify-groups-left {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .modify-group {
        justify-content: space-between;
        width: 100%;
    }

    .btn-modificar {
        width: 100%;
    }

    .modify-dates-bar {
        width: 90%;
    }
}

/* Rooms List Section */
.rooms-list-wrapper {
    background-color: white;
    padding: 20px 0 60px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.rooms-list-container {
    width: 80%;
    max-width: none;
}

.room-card {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    border-bottom: 2px solid #dcd6b8;
}

.room-images {
    width: 38%;
}

.room-main-image img {
    width: 100%;
    display: block;
}

.room-thumbnails {
    display: flex;
    gap: 2%;
    margin-top: 2%;
}

.room-thumbnails img {
    width: 23.5%;
    display: block;
    cursor: pointer;
}

.room-info {
    width: 58%;
}

.room-title {
    font-size: 26px;
    font-weight: 600;
    color: #111;
    margin-top: 0;
    margin-bottom: 20px;
}

.room-rates-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.room-rates-table th {
    font-size: 13px;
    color: #333;
    font-weight: normal;
    text-align: left;
    padding: 10px 15px;
    border-bottom: 1px solid #dcd6b8;
}

.room-rates-table th.rate-price {
    text-align: right;
}

.room-rates-table th.rate-select {
    text-align: center;
}

.room-rates-table td {
    padding: 15px;
    vertical-align: middle;
}

.rate-par {
    background-color: #f5f4ef;
}

.rate-impar {
    background-color: white;
}

.rate-regimen {
    font-weight: 600;
    font-size: 15px;
    color: #111;
}

.tag-red {
    color: #d93829;
    font-size: 13px;
}

.tag-green {
    color: #43b02a;
    font-size: 13px;
    font-weight: normal !important;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip {
    display: none;
    position: absolute;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #dcd6b8;
    padding: 12px;
    z-index: 1000;
    width: 250px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    font-size: 12px;
    font-weight: normal;
    color: #333;
    text-align: left;
    white-space: normal;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.tooltip::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -7px;
    border-width: 7px;
    border-style: solid;
    border-color: #dcd6b8 transparent transparent transparent;
    z-index: -1;
}

.rate-price {
    text-align: right;
    white-space: nowrap;
}

.rate-price del {
    color: #777;
    font-size: 14px;
    margin-right: 5px;
}

.rate-price strong {
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.rate-select {
    text-align: center;
    width: 130px;
}

.rate-selectbox {
    width: 100%;
    padding: 8px;
    border: 1px solid #888;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
}

.room-note {
    font-size: 12px;
    font-style: italic;
    color: #444;
    line-height: 1.4;
    margin-top: 15px;
}

@media (max-width: 900px) {
    .room-card {
        flex-direction: column;
    }

    .room-images,
    .room-info {
        width: 100%;
    }

    .room-info {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .room-rates-table {
        display: block;
    }

    .room-rates-table thead {
        display: none;
    }

    .room-rates-table tbody,
    .room-rates-table tr,
    .room-rates-table td {
        display: block;
        width: 100%;
    }

    .room-rates-table tr {
        border-bottom: 2px solid #eee;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .room-rates-table td {
        border-bottom: none;
        padding: 10px 15px;
        text-align: right;
        box-sizing: border-box;
    }

    .room-rates-table td:first-child {
        text-align: left;
    }

    .room-rates-table td.rate-price,
    .room-rates-table td.rate-select {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .room-rates-table td.rate-price::before {
        content: "Precio:";
        font-weight: 600;
        color: #333;
    }

    .room-rates-table td.rate-select::before {
        content: "Habitaciones:";
        font-weight: 600;
        color: #333;
    }

    .rate-selectbox {
        width: 100px;
        margin-left: auto;
    }
}

/* Reviews Section - NEW */
.reviews-page-wrapper {
    background-color: #ffffff;
    padding: 60px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.reviews-page-container {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

/* Top Section (Categories & Score) */
.reviews-top-section {
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.reviews-categories-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
    column-gap: 40px;
}

.category-rating-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-rating-label {
    font-size: 14px;
    color: #111;
    font-weight: 600;
}

.category-rating-bar-bg {
    background-color: #f2f0e6;
    height: 18px;
    width: 100%;
    overflow: hidden;
}

.category-rating-bar-fill {
    background-color: #cfc7a7;
    height: 100%;
}

.reviews-global-score {
    flex: 0 0 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.global-score-badge {
    background-color: #28a745;
    color: white;
    font-size: 42px;
    font-weight: 700;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-bottom: 8px;
}

.global-score-label {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-align: center;
}

.global-score-count {
    font-size: 11px;
    color: #666;
    text-align: center;
    margin-top: 4px;
}

/* Disclaimer text */
.reviews-disclaimer {
    width: 100%;
    margin-top: -10px;
    margin-bottom: 10px;
}

.reviews-disclaimer p {
    font-size: 12px;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

/* Review cards list */
.review-cards-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item-card {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.review-item-card:nth-child(odd) {
    background-color: #f3f2eb;
}

.review-item-card:nth-child(even) {
    background-color: #ffffff;
}

.review-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-author {
    font-size: 18px;
    color: #cfc7a7;
    margin: 0;
    font-weight: 400;
}

.review-text {
    font-size: 16px;
    color: #111;
    line-height: 1.5;
    margin: 0;
}

.review-agency-tag {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.review-agency-tag a {
    color: #888 !important;
    text-decoration: underline;
}

.review-score-badge-col {
    flex: 0 0 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-score-badge {
    background-color: #28a745;
    color: white;
    font-size: 32px;
    font-weight: 700;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-bottom: 8px;
}

.review-score-label {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    text-align: center;
}

/* Pagination */
.reviews-pagination,
.pois-pagination {
    display: flex;
    list-style: none;
    gap: 15px;
    justify-content: center;
    width: 100%;
    align-items: center;
}

.reviews-pagination li a,
.pois-pagination li a {
    color: #888 !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.reviews-pagination li.active a,
.pois-pagination li.active a {
    color: #111 !important;
    font-weight: 700;
}

.reviews-pagination li a:hover,
.pois-pagination li a:hover {
    color: #111 !important;
}

@media (max-width: 900px) {
    .reviews-page-container {
        width: 90%;
    }

    .reviews-top-section {
        flex-direction: column;
        align-items: center;
    }

    .reviews-categories-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .review-item-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-score-badge-col {
        align-items: flex-start;
        flex-direction: row;
        gap: 15px;
        margin-top: 10px;
    }

    .review-score-badge {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 0;
    }
}

/* Points of Interest (POIs) Section - NEW */
.pois-page-wrapper {
    background-color: #ffffff;
    padding: 60px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.pois-page-container {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pois-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #cfc7a7;
    padding-bottom: 15px;
}

.pois-section-title {
    font-size: 26px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.pois-select-wrapper select {
    padding: 10px 20px;
    font-size: 15px;
    border: 1px solid #cfc7a7;
    border-radius: 4px;
    background-color: #fcfbfa;
    color: #333;
    outline: none;
    cursor: pointer;
}

.pois-list-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.poi-card {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 30px 0;
}

.poi-card:last-child {
    border-bottom: none;
}

.poi-image-col {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.poi-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.btn-como-llegar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #dcd6b8;
    color: #333 !important;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
    text-align: center;
}

.btn-como-llegar:hover {
    background-color: #cfc7a7;
}

.map-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.poi-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.poi-category-badge {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: #cfc7a7;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.poi-title {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.poi-stars {
    color: #ffcc00;
    font-size: 18px;
    letter-spacing: 2px;
}

.poi-reviews-count {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

.poi-description {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0 0 20px 0;
}

.btn-seguir-leyendo {
    color: #000 !important;
    font-weight: 400;
    text-decoration: underline;
    font-size: 15px;
    transition: color 0.2s;
    margin-top: 15px;
}

.btn-seguir-leyendo:hover {
    color: #333 !important;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .pois-filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .poi-card {
        flex-direction: column;
        gap: 20px;
    }

    .poi-image-col {
        width: 100%;
    }

    .btn-como-llegar-new {
        margin-top: 25px;
        margin-bottom: 10px;
    }
}

/* Horizontal Categories List Styles */
.pois-categories-container {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 20px;
    line-height: 2.2;
    text-align: left;
    border-bottom: 1px solid #dcd6b8;
    padding-bottom: 25px;
}

.pois-categories-list {
    font-size: 13.5px;
    color: #444;
    font-family: 'Inter', sans-serif;
}

.poi-cat-link {
    color: #333 !important;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s, font-weight 0.2s;
    white-space: nowrap;
}

.poi-cat-link:hover {
    color: #000 !important;
    text-decoration: underline;
}

.poi-cat-link.active {
    font-weight: 700;
    text-decoration: underline;
    color: #000 !important;
}

.poi-cat-separator {
    color: #999;
    margin: 0 8px;
    font-weight: 300;
}

/* POI Meta Line & Ratings Styles */
.poi-meta-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.poi-meta-line .poi-category-badge {
    margin-bottom: 0;
    color: #999999;
    font-weight: 500;
    font-size: 13px;
}

.poi-meta-separator {
    color: #ccc;
    font-size: 13px;
    font-weight: 300;
}

.poi-meta-line .poi-stars {
    color: #ffcc00;
    font-size: 15px;
    letter-spacing: 1px;
}

.poi-meta-line .poi-reviews-count {
    font-size: 13px;
    color: #777;
    margin-bottom: 0;
}

.btn-como-llegar-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    margin-top: 45px;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-como-llegar-new:hover {
    color: #dcd6b8 !important;
}

.btn-como-llegar-new .map-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Full Width Map Style */
.poi-map-container {
    width: 100%;
    margin-top: 0;
    height: 400px;
}

.poi-map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Mobile Menu Toggle Base */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    background: transparent;
    padding: 10px;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffcc00;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Open state for hamburger */
.mobile-menu-toggle.open .hamburger span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.mobile-menu-toggle.open .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open .hamburger span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Fix for Hero Content Order on Mobile */
@media (max-width: 991px) {

    /* Logo and Header Adjustments */
    .logo-info img {
        height: 50px;
        margin-right: 15px;
    }

    .hotel-details h1 {
        font-size: 20px;
        white-space: normal;
    }

    .hotel-details .stars {
        font-size: 14px;
    }

    .hotel-details .city {
        font-size: 14px;
    }

    /* Hero Text Adjustments */
    .hero-content {
        flex-direction: column;
        text-align: left;
        padding: 30px 5%;
        gap: 30px;
    }

    .hero-left {
        max-width: 100%;
        order: 1;
        text-align: center;
    }

    .hero-right {
        max-width: 100%;
        width: 100%;
        order: 2;
        display: flex;
        justify-content: center;
    }

    .hero-left h2 {
        font-size: 32px;
    }

    .hero-left .price-line {
        font-size: 32px;
    }

    .hero-left .subtitle {
        font-size: 20px;
    }

    .booking-card {
        width: 100%;
        max-width: 520px;
        padding: 20px;
        box-sizing: border-box;
    }

    .booking-card h3 {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }

    .booking-extras {
        text-align: left;
    }

    /* Fix header top-bar display */
    .top-bar {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px 5%;
    }

    .nav-and-langs {
        align-items: center;
        width: 100%;
        margin-top: 15px;
    }

    /* Align all other sections to 5% lateral padding */
    .encuentranos-section,
    .new-footer-container {
        padding-left: 5%;
        padding-right: 5%;
    }

    .rooms-list-container,
    .modify-dates-bar,
    .pois-page-container,
    .reviews-page-container {
        width: 90%;
    }

    /* Mobile Menu */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 25px;
        right: 5%;
        z-index: 100;
    }

    .mobile-menu-toggle.open {
        position: fixed;
    }

    .mobile-menu-toggle.open .hamburger span {
        background-color: #111;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background: white;
        z-index: 90;
        transition: right 0.4s ease-in-out;
        padding: 20px;
        box-sizing: border-box;
        margin: 0;
    }

    .main-nav ul.show-mobile {
        right: 0;
    }

    .main-nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a {
        color: #111 !important;
        font-size: 22px;
        font-weight: 500;
        display: block;
        padding: 10px;
    }

    .main-nav ul li a.btn-gestion {
        margin-left: 0 !important;
        width: 100%;
        box-sizing: border-box;
    }

    .booking-form .form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .form-group-connected.smaller {
        align-self: flex-start;
    }
}

/* Fix for map iframe breaking */
.encuentranos-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* Booking Summary Section */
.booking-summary-section {
    width: 100%;
    margin: 40px 0;
    font-family: inherit;
    color: #333;
}

.summary-details {
    width: 50%;
    margin-left: auto;
    /* Aligns to right */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-dates {
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
}

.summary-rooms-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-room-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #333;
}

.summary-divider {
    border: none;
    border-top: 1px solid #dcd6b8;
    margin: 15px 0;
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
}

.total-row.total-final {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.summary-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.btn-reservar-ahora {
    background-color: #ffd000;
    color: #000;
    padding: 12px 40px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-reservar-ahora:hover {
    background-color: #e6bc00;
}

.section-divider {
    border: none;
    border-top: 1px solid #dcd6b8;
    margin: 40px 0;
}

.hotel-facilities,
.hotel-conditions {
    margin-bottom: 40px;
}

.hotel-facilities h3,
.hotel-conditions h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #000;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 10px;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #000;
    font-weight: 600;
}

.facility-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.conditions-text {
    font-size: 13px;
    color: #333;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .booking-summary-section {
        width: 100%;
    }

    .summary-details {
        width: 100%;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.additional-info-section {
    width: 100%;
    margin: 40px 0;
    font-family: inherit;
    color: #333;
}

.hotel-cards {
    margin-bottom: 40px;
}

.hotel-cards h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.cards-text {
    font-size: 14px;
    color: #333;
}

/* Individual POI Page - New Design */
.poi-individual-page-wrapper {
    background-color: #ffffff;
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.poi-individual-page-container {
    width: 80%;
    margin: 0 auto;
    border: none;
    padding-bottom: 20px;
}

.poi-main-image-banner {
    width: 100%;
}

.poi-main-image-banner img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 40px;
}

.poi-individual-title {
    font-size: 42px;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px 0;
}

.poi-individual-category {
    font-size: 13px;
    color: #888;
    margin: 0 0 30px 0;
    letter-spacing: 1px;
}

.poi-individual-description {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 40px 0;
}

.poi-individual-description img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
}

.poi-map-wrapper {
    margin: 0 40px 40px 40px;
}

.poi-map-wrapper iframe,
.poi-map-wrapper img {
    width: 100%;
    border-radius: 4px;
}

.poi-back-button-container {
    text-align: center;
    margin: 50px 0 20px 0;
}

.btn-volver-guia-yellow {
    background-color: #ffcc00;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-volver-guia-yellow:hover {
    background-color: #e6b800;
}

/* Weather Widget Customizations */
#weather-widget-container {
    max-width: 50%;
    flex: 0 0 50% !important;
}

@media (max-width: 1200px) {
    .languages-wrapper {
        justify-content: center !important;
    }

    #weather-widget-container {
        max-width: 100%;
        flex: 1 !important;
    }
    
    .languages-wrapper #weather-widget-container {
        display: none !important;
    }

    #weather-mobile-li #weather-widget-container {
        display: flex !important;
    }

    #weather-mobile-li #weather-widget-container,
    #weather-mobile-li #weather-widget-container *,
    #weather-widget-container,
    #weather-widget-container * {
        color: #000000 !important;
        text-shadow: none !important;
    }
}