@keyframes fadeIn {
    from { opacity: 0; transform: scale(1.1); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.alert-info {
    background-color: rgb(239 233 221);
    border: rgb(239 233 221);
    color: var(--base-txt-orange);
    border-radius: 8px;
    width: 100%;
}
.alert-info i {
    color: #667eea;
}
.availability-message {
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 14px;
}
.availability-message.available {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.availability-message.unavailable {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
button#btnReserve {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    background-color: var(--bg-dark-blue);
    border-color: var(--bg-dark-blue);
}
.btn-reserve:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}
.btn-success {
    background: #28a745;
}
.btn-success:hover {
    background: #218838;
}
.btn-full-width {
    width: 100%;
}
.availability-calendar {
    margin: 1rem 0;
}
.calendar-day {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 2px;
    border-radius: 4px;
    font-size: 0.8rem;
}
.calendar-day.available {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.calendar-day.blocked {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    text-decoration: line-through;
}
.calendar-day.today {
    border: 2px solid var(--primary-color);
}
.flatpickr-day.blocked {
    background: #f8d7da !important;
    color: #721c24 !important;
    cursor: not-allowed !important;
}
.flatpickr-day.blocked:hover {
    background: #f5c6cb !important;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    background: #f8d7da !important;
    color: #721c24 !important;
    cursor: not-allowed !important;
    text-decoration: line-through;
}
.carousel-inner {
    overflow: visible;
}
.carousel-item {
    height: 70vh;
    position: relative;
    padding: 0rem 1rem;
}
.contact-host-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
    text-align: center;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}
.contact-method:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}
.contact-method i {
    font-size: 1.1rem;
}
.detail-section {
    padding: 20px 0;
}
.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: #ecf0f1;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.feature-badge i {
    color: var(--primary-color);
}
.grid-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    min-height: 0;
}
.grid-section {
    height: 70vh;
    padding: 0rem 0rem 0rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.4rem;
    height: calc(70vh - 0rem);
    max-height: calc(70vh - 0rem);
}
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: var(--text-light);
}
.main-gallery {
    padding: 0;
}
.main-image-link {
    position: relative;
    display: block;
    overflow: hidden;
}
.main-image-link:hover .fancybox-overlay {
    opacity: 1;
}
.main-image-section {
    position: relative;
    height: 70vh;
    overflow: hidden;
    border-radius: 10px;
}
.grid-image-container-extras {
    position: absolute;
    bottom: 10px;
    right: 30px;
    background: #fff;
    padding: .5rem 1rem;
    border-radius: 20px;
    z-index: 999;
}
.grid-image-container-extras:hover {
    cursor: pointer;
}
.modal-body {
    padding: 2rem;
}
.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
}
.modal-title {
    color: var(--primary-color);
    font-weight: 600;
}
.property-details-section {
    padding: 4rem 0;
}
.property-header-info {
    padding: 3rem 0 2rem;
    background: var(--white);
    border-bottom: 1px solid #e9ecef;
}
.property-hero-gallery {
    padding-top: 110px; 
    position: relative;
}
.property-location-map {
    margin-bottom: 3rem;
}
.property-location-map h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}
.property-main-swiper {
    height: 500px;
}
.property-main-swiper .swiper-button-next,
.property-main-swiper .swiper-button-prev {
    color: var(--white);
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: var(--transition);
}
.property-main-swiper .swiper-button-next:hover,
.property-main-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
}
.property-main-swiper .swiper-button-next::after,
.property-main-swiper .swiper-button-prev::after {
    font-size: 1.5rem;
}
.property-main-swiper .swiper-slide {
    overflow: hidden;
}
.property-main-swiper .swiper-slide-active img {
    animation: fadeIn 0.5s ease-out;
}
.property-main-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.property-price-box {
    background: var(--bg-lighter-orage);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: row;      
    justify-content: center;  
    align-items: center; 
}
.property-price-section {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
}
.property-reviews h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}
.property-rules {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
}
.property-rules h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.property-thumb-swiper {
    height: 500px;
}
.property-thumb-swiper .swiper-slide {
    height: 120px;
    opacity: 0.6;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
}
.property-thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 3px solid var(--primary-color);
}
.property-thumb-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.property-thumb-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.real-booking-form {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid #28a745;
    margin-top: 1.5rem;
}
.breadcrumb.mb-0 a {
   color: var(--azul-marino-color);
    font-weight: 500;
}
.real-booking-form h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}
.section-content {
    line-height: 1.8;
    color: #555;
}
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}
.similar-properties-section {
    padding: 4rem 0;
    background: var(--background-light);
}
.slide-content {
    height: 100%;
    display: flex;
    align-items: stretch;
}
.slide-description {
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.9;
    color: #ebf2f9;
}
.property-info-badge {
    color: var(--bg-lighter-orage);
}
.slide-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);*/
    line-height: 1.2;
    color: var(--bg-lighter-orage);
}
.stars {
    color: #ffc107;
    font-size: 1rem;
}
.rating-text {
    color: var(--bg-lighter-orage);
    font-weight: 500;
    font-size: 0.9rem;
}
.thumb-gallery {
    padding: 0;
    background: var(--white);
}
form#bookingForm {
    display: flex;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.booking-form-sidebar .form-group {
    margin-bottom: 1.5rem;
}
.booking-form-sidebar label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}
.booking-form-sidebar .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}
.booking-form-sidebar .form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.1);
}
.booking-widget {
    max-width: 416px;
    background: white;
    padding: 15px;
}
@media (min-width: 992px) {
    /* Estado inicial: posición relativa */
    .property-details .booking-widget {
        position: relative;
        transition: all 0.3s ease;
    }
    
    /* Estado fixed durante scroll */
    .property-details .booking-widget.is-fixed {
        position: fixed;
        top: 100px;
        width: 417px;
        z-index: 100;
    }
    
    /* Estado absolute al llegar al footer */
    .property-details .booking-widget.is-bottom {
        position: absolute;
        bottom: 0;
        top: auto;
        max-width: 416px;
    }
    
    .property-details {
        position: relative;
    }
    
    .property-details .row {
        align-items: flex-start;
    }
}
.booking-widget-sidebar {
    position: sticky;
    top: 100px;
}
.booking-widget h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}
.flatpickr-calendar {
    min-width: 380px !important;
    width: auto !important;
}
.flatpickr-innerContainer {
    width: 100%!important;
}
/* calendario */
.flatpickr-days {
    width: 380.875px!important;
}
.dayContainer {
    width: 380.875px!important;
    min-width: 380.875px!important;
    max-width: 380.875px!important;
}
.flatpickr-day {
    width: 16.285714%!important;
    -webkit-flex-basis: 16.285714%!important;
    -ms-flex-preferred-size: 16.285714%!important;
    flex-basis: 16.285714%;
    max-width: 50px!important;
    height: 45px!important;
    line-height: 45px!important;
}
.flatpickr-months .flatpickr-month,
.flatpickr-weekday,
.flatpickr-weekdays {
    background: var(--bg-light-gray)!important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: var(--bg-header-dark)!important;
    border-radius: 12px !important;
    font-size: 1.2rem !important;
    color: var(--bg-dark-blue)!important;
}
.numInputWrapper {
    color: var(--bg-dark-blue) !important;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: var(--bg-dark-blue) !important;
    fill: var(--bg-dark-blue) !important;
}


/* fin  */
input#checkin {
    border: 2px solid #eee;
    /* display: flex; */
    /* flex-direction: row; */
    /* justify-content: center; */
    /* align-items: center; */
}
.date-input-group {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
}
.date-input-group input {
    padding-right: 40px;
}
.date-inputs {
    display: flex;
    gap: 0.5rem;

}
.date-inputs .form-control {
    flex: 1;
}
.date-input-group {
    position: relative;
    margin-bottom: 15px;
}
.date-input-group input {
    padding-left: 10px; 
    padding-right: 15px; 
}
.date-input-group i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-1%);
    color: #667eea;
    pointer-events: none;
    font-size: 40px;
    /*height: 52px;*/
}
.guests-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}
.guests-btn {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    border: 2px solid var(--swal2-progress-step-background);
    background: white;
    color: var(--bg-dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.guests-btn:hover {
    background: var(--bg-light-blue);
    color: white;
}
.guests-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.guests-count {
    font-size: 18px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}
.guests-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
}
.d-flex.adults, .d-flex.children {
    flex: 1;  
    margin: 0 10px;  
}
.btn-autoincrement {

}
.btn-contact-outline{
    border: 2px solid #efe9dd;
    background-color: #fffdf5;
    color: #794d00;
    font-weight: 500;
    font-size: 1.2rem;
}
.btn-contact-outline:hover {
    border: 2px solid #efe9dd;
    background-color: #f5f1ea;
    color: #794d00;
    font-weight: 500;
    font-size: 1.2rem;
}
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 10;
}
.loading-overlay.show {
    display: flex;
}
.price-breakdown {
   background: #fffdf5;
    border: 0px solid #e5e7eb;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    display: none;
    width: 100%;
}
.price-breakdown.show {
    display: block;
}
.price-breakdown .price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 17px;
}
.price-breakdown .price-row.total {
    border-top: 2px solid #ddd;
    margin-top: 10px;
    padding-top: 10px;
    font-weight: 700;
    font-size: 16px;
}
.price-display {
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-light);
}
.price-item.total {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
    border-top: 1px solid #e9ecef;
    margin-top: 0.5rem;
    padding-top: 1rem;
}
.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}
.price-row.total {
    border-top: 2px solid #ddd;
    margin-top: 10px;
    padding-top: 10px;
    font-weight: 700;
    font-size: 16px;
}
.fancybox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}
.fancybox-overlay i {
    font-size: 2rem;
    margin-bottom: 10px;
}
.fancybox-overlay span {
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 4px;
}
.grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}
.grid-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    height: 100%;
}
.grid-image-link:hover .grid-image {
    transform: scale(1.05);
}
.grid-image-link:hover .grid-image-overlay {
    opacity: 1;
}
.grid-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.grid-image-overlay i {
    font-size: 1.2rem;
}
.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.property-main-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.property-thumb-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.similar-property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f58249;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.box-info-tour {
    display: flex;
}
.box-info-tour {}
.tour-info-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-right: 1.5rem;
}
.icon-item {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    background-color: #F3F4F6;
}
.date-input-group .ph-duotone:after,
.property-location .ph-duotone:after,
.icon-item .ph-duotone:after {
color: #69614e;
}
.date-input-group .ph-duotone:before,
.property-location .ph-duotone:before,
.icon-item .ph-duotone:before {
color: #715d25;
}
.info-item p {
    margin: 0;
}
.neutral-600 {
    color: var(--neutral-600);
} 
 
.amenity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}
.amenity-item i {
    color: var(--primary-color);
    width: 20px;
    font-size: 1.1rem;
}
.amenity-item span {
    color: var(--text-dark);
}
.amenity-item:hover {
    background: #ecf0f1;
    transform: translateX(5px);
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0rem 0;
}
.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #ecf0f1;
}
.feature-list li:last-child {
    border-bottom: none;
}
.feature-list i {
    color: var(--primary-color);
    width: 20px;
}

.feature-list i.ph-duotone {
    font-size: 1.8rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 20px;
}
.feature-list i.ph-duotone:after{
color: var(--primary-color);
}
.feature-list i.ph-duotone:before{
    color: #866107;
}
.location-distances {
    list-style: none;
    padding: 0;
    margin: 0;
}
.location-distances li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}
.location-distances i {
    color: var(--primary-color);
    width: 20px;
}
.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rules-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
    border-bottom: 1px solid #e9ecef;
}
.rules-list li:last-child {
    border-bottom: none;
}
.rules-list i {
    color: var(--primary-color);
    width: 20px;
}
.price-amount {
   font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1rem;
}
.price-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.price-note {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.price-period {
    font-size: 16px;
    color: #7f8c8d;
}
.price-period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}
.similar-property-price {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1rem;
    padding-left: .5rem;
}
.similar-property-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}
.property-amenities {
    margin-bottom: 3rem;
}
.property-amenities h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}
.property-breadcrumb {
    margin-bottom: 1rem;
    color: var(--text-light);
}
.property-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}
.property-breadcrumb a:hover {
    color: var(--primary-color);
}
.property-breadcrumb span {
    color: var(--primary-color);
    font-weight: 500;
}
.property-description {
    margin-bottom: 3rem;
}
.property-description h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}
.property-description h3 {
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}
.property-description p {
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
}
.property-features-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.property-location i {
    color: var(--primary-color);
}
.property-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.review-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
}
.review-rating {
    color: var(--accent-color);
}
.review-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.review-text {
    color: var(--text-light);
    line-height: 1.6;
}
.reviews-summary {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    text-align: center;
}
.similar-property-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}
.similar-property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.similar-property-info {
    padding: 1.5rem;
}
.similar-property-info h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.location-details h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.modal-title {
    color: var(--primary-color);
    font-weight: 600;
}
.price-note {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.rating-container {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}
.rating-count {
    color: var(--text-light);
}
.rating-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}
.rating-stars {
    color: var(--accent-color);
    font-size: 1.2rem;
}
.group-collapse-expand {
    margin-bottom: 1rem;
}
.btn-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: .5rem 1.25rem;
    background: var(--bg-lighter-orage);
    border: 1px solid #ededed;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 0;
    border-radius: 8px 8px 0px 0px;
}
.btn-collapse .collapse-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #835d00;
    transition: transform 0.3s ease, color 0.3s ease;
}
span.collapse-icon .ph-duotone:before {
    color: #835d00;
}
span.collapse-icon .ph-duotone:after {
    color: #835d00;
}
.btn-collapse:hover {
    background: rgb(239 233 221);
    border-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 8px 8px 0px 0px;
}
.btn-collapse[aria-expanded="true"] .collapse-icon {
    transform: rotate(180deg);
    color: #835d00;
}
.btn-collapse h6 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 500;
    color: #69614e;
    font-family: var(--font-roboto);
}
.box-section .card-body {
    padding: 1.25rem;
    background: #fffdf5;
    border: 1px solid #ededed;
    border-top: none;
    border-radius: 0 0 8px 8px;
    font-size: 1.1rem;
}
.card.card-body {
    padding: 1.25rem;
    background: #fffdf5;
    border: 0px solid #ededed;
    border-top: none;
    border-radius: 0 0 8px 8px;
    font-size: 1.1rem;
}
.card.card-body .ul-list{
    min-height: 280px;
}
.features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: left;
    align-items: center;
}
.mil-iconbox {
    display: flex;
    align-items: center;
    z-index: 1;
    overflow: hidden;
    background-color: #fffdf5;
    border-radius: 8px;
    transition: .6scubic-bezier(0, 0, .3642, 1);
    text-align: center;
    margin-bottom: 0px;
    padding: 2px 5px;
    min-width: 152px;
}
.mil-icon {
    font-size: 24px;
    color: var(--bg-header-dark);
    margin-bottom: 0px;
}
.mil-iconbox .mil-icon {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    margin-bottom: 0px;
    background-color: #e7dec5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0px;
}
.mil-iconbox .mil-icon .ph-duotone {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.mil-icon .ph-duotone:after {
color: #69614e;
}
.mil-icon .ph-duotone:before {
color: #715d25;
}
.mil-iconbox h5 {
    font-size: 0.85rem;
    color: #495057;
    margin: 0;
    font-weight: 500;
    font-family: var(--font-roboto);
}
.property-map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.1);
    margin: 30px 10px 0px;
    background-color: var(--bg-lighter-orage);
}

.property-map {
    width: 100%;
    height: 450px;
}

.map-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.map-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.map-header p {
    margin: 8px 0 0 0;
    opacity: 0.9;
    font-size: 14px;
}

.map-info {
    padding: 15px 20px;
    background-color: rgb(245 241 234 / 52%);
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    border-radius: 15px;
}

.map-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    width: 380px !important;
}

.map-info-item:last-child {
    margin-bottom: 0;
}

.map-info-item i {
    color: #667eea;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Personalizar popup de Mapbox */
.mapboxgl-popup-content {
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.map-info-item a {
    color: var(--bs-danger-text-emphasis);
}
.popup-title {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 5px;
}

.popup-address {
    font-size: 13px;
    color: #6c757d;
}
@media (min-width: 980px) {
    .div-left {
        padding-right: 1rem !important;
    }
    .div-right {
        padding-left: 1rem !important;
    }
}
@media (max-width: 992px) {
    .booking-widget-sidebar {
        position: static;
        margin-top: 3rem;
    }
    .property-main-swiper {
        height: 50vh;
        min-height: 400px;
    }
    .property-thumb-swiper {
        height: 150px;
        min-height: auto;
        padding: 10px;
    }
    .property-thumb-swiper .swiper-slide {
        height: 120px;
    }
    .property-title {
        font-size: 2rem;
    }
}
@media (max-width: 768px) {

    .carousel-item {
        height: 52vh;
        padding: 0rem 1rem;
    }
    .date-inputs {
        flex-direction: column;
        gap: 1rem;
    }
    .property-details-section {
        padding: 2rem 0;
    }
    .property-hero-gallery {
        padding-top: 0px;
    }
    .property-main-swiper {
        height: 40vh;
        min-height: 300px;
    }
    .property-title {
        font-size: 1.8rem;
    }
    .property-features-badges {
        gap: 0.5rem;
    }
    .feature-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    .price-main {
        font-size: 2rem;
    }
    .similar-properties-section {
        padding: 2rem 0;
    }
}
@media (max-width: 576px) {
    .booking-widget,
    .contact-host-widget,
    .property-rules {
        padding: 1.5rem;
    }
    .contact-method {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    .contact-methods {
        gap: 0.5rem;
    }
    .property-header-info {
        padding: 0.8rem 0 1rem!important
    }
    .property-location {
        font-size: 1rem;
    }
    .property-price-section {
        padding: 1.5rem;
    }
    .property-title {
        font-size: 1.5rem;
    }
}

/* Configuración base */
.slide-content {
    display: flex;
    width: 100%;
    min-height: 550px;
    gap: 1rem;
    align-items: stretch;
}

.main-image-section {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.grid-section {
    padding: 0;
    transition: all 0.3s ease;
}

/* Estructura del grid de imágenes */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    height: 100%;
}

.grid-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1; /* Mantiene proporción cuadrada */
    height: 100%;
    width: 100%;
}

.grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1729px) and (min-width: 1650px) {
    .main-image-section {
        flex: 0 0 59%; /* Imagen principal - casi 60% */
    }
    .grid-section {
        flex: 0 0 40%; /* Grid - 40% */
        margin-left: 0rem;
    }
    .image-grid {
        gap: 0.9rem;
    }
}

@media (max-width: 1649px) and (min-width: 1550px) {
    .main-image-section {
        flex: 0 0 64%; /* Aumenta a 64% */
    }
    .grid-section {
        flex: 0 0 35%; /* Reduce a 35% */
        margin-left: 1rem;
    }
    .image-grid {
        gap: 0.8rem;
    }
}

@media (max-width: 1549px) and (min-width: 1450px) {
    .main-image-section {
        flex: 0 0 68%; /* Aumenta a 68% */
    }
    .grid-section {
        flex: 0 0 31%; /* Reduce a 31% */
        margin-left: 1rem;
    }
    .image-grid {
        gap: 0.7rem;
    }
}

@media (max-width: 1449px) and (min-width: 1300px) {
    .main-image-section {
        flex: 0 0 72%; /* Aumenta a 72% */
    }
    .grid-section {
        flex: 0 0 27%; /* Reduce a 27% */
        margin-left: 1rem;
    }
    .image-grid {
        gap: 0.6rem;
    }
    .slide-title {
        font-size: 1.7rem !important;
    }
    .slide-description {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 1299px) and (min-width: 1100px) {
    .main-image-section {
        flex: 0 0 78%; /* Aumenta significativamente */
    }
    .grid-section {
        flex: 0 0 21%; /* Se reduce más */
        margin-left: 0rem;
    }
    .image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .grid-image-container:nth-child(3),
    .grid-image-container:nth-child(4) {
        display: none;
    }
    .grid-image-container-extras {
        grid-column: 1;
        grid-row: 2;
    }
}

@media (max-width: 1099px) and (min-width: 980px) {
    .slide-content {
        flex-direction: column;
        min-height: auto;
        gap: 1.5rem;
    }
    
    .main-image-section {
        flex: 0 0 485px; /* Altura fija */
        width: 100%;
    }
    
    .grid-section {
        flex: 0 0 auto;
        width: 100%;
        margin-left: 0;
        height: 120px;
    }
    .carousel-control-next {
        right: 0;
        top: 0%;
        height: 78%;
    }
    .carousel-control-prev {
        left: 0;
        top: 0%;
        height: 78%;
    }
    .image-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        gap: 1rem;
        height: 120px;
    }
    .grid-image-container {
        display: block;
        aspect-ratio: 1;
    }
     .image-overlay {
        padding: 25px 20px 15px;
    }
}

@media (max-width: 979px) and (min-width: 768px) {
    .slide-content {
        flex-direction: column;
        min-height: auto;
    }
    .main-image-section {
        flex: 0 0 610px;
        width: 100%;
    }
    .grid-section {
        display: none; /* Ocultamos completamente el grid */
    }
    .image-overlay {
        padding: 20px 15px 10px;
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 50%);
    }
    .slide-title {
        font-size: 1.5rem !important;
    }
    .slide-description {
        font-size: 0.9rem !important;
        -webkit-line-clamp: 2;
    }
}
@media (min-width: 767px) {
    .navbar-brand .logo-img {
        transition: transform 0.3s ease;
       /* width: 80%;*/
    }
}
@media (max-width: 767px) {
    .navbar-brand .logo-img {
        transition: transform 0.3s ease;
        width: 85%;
    }
    .fixed-top.scrolled .container {
        display: flex;
        height: 90px;
    }
    .slide-content {
        flex-direction: column;
        min-height: auto;
        gap: 1rem;
    }
    .main-image-section {
        flex: 0 0 455px;
        width: 100%;
        border-radius: 8px;
    }
    .grid-section {
        display: none;
    }
    .image-overlay {
        padding: 15px 12px 8px;
    }
    .slide-title {
        font-size: 1.3rem !important;
        font-family: var(--font-roboto);
        text-shadow: unset !important;
    }
    .slide-description {
       font-size: 0.85rem !important;
        -webkit-line-clamp: 3;
        display: block;
        height: 41px;
        width: 100%;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .property-info-badge {
        font-size: 0.8rem;
        padding: 5px 10px;
        display: none;
    }
    .rating-container{
        display: none;
    }
}
@media (max-width: 480px) {
    .navbar-brand .logo-img {
        transition: transform 0.3s ease;
       width: 60%;
    }
}
.main-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;}
.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;}
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    color: white;
    padding: 30px 25px 15px;
    transition: all 0.3s ease;}
.slide-title {
    margin-bottom: 25px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    transition: font-size 0.3s ease;}
.slide-description {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    transition: font-size 0.3s ease;}
.grid-image-container.placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;}
.placeholder-content {
    text-align: center;
    color: #666;
    padding: 1rem;}
.placeholder-content i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;}
.placeholder-content span {
    font-size: 0.8rem;
    display: block;}

/* ========================================
   MOBILE BOOKING WIDGET - STICKY FOOTER
   ======================================== */
div#bookingWidget form {
    padding:0px 20px;
    background: white;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.btn-autoincrement {
    /* padding: 8px 20px; */
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    background: #fffdf5;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    justify-content: flex-start;
}
@media (max-width: 991px) {
    /* Widget fijo en la parte inferior */
    .property-details .booking-widget {
        position: fixed;
        bottom: 0;
        top: unset;
        left: 0;
        right: 0;
        z-index: 1000;
        max-height: 85vh;
        max-width: 100%;
        overflow-y: auto;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
        border-radius: 20px 20px 0 0;
        transform: translateY(calc(100% - 90px));
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: white;
        margin: 0 !important;
    }
    .date-input-group {
        margin-bottom: 0px;
    }
    .guests{
        margin: 0 !important;
    }
    .availability-message {
        padding: 10px;
        margin: 2px 0;
        font-size: 16px;
    }
    .price-breakdown {
        padding: 10px;
        margin: 5px 0;
    }
    .price-breakdown .price-row {
        padding: 8px 0;
        font-size: 18px;
        line-height: .8rem;
    }
    /* Estado expandido */
    .booking-widget.expanded {
        transform: translateY(0);
    }

    /* Indicador visual de arrastre */
    .booking-widget::before {
        content: '';
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 5px;
        background: #ddd;
        border-radius: 10px;
        z-index: 11;
    }

    /* Header del widget móvil */
    .booking-widget-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 20px 20px 15px;
        background: linear-gradient(91deg, #003362 0%, #218fab 100%);
        color: white;
        border-radius: 20px 20px 0 0;
        cursor: pointer;
        position: sticky;
        top: 0;
        z-index: 10;
        user-select: none;
    }

    .booking-widget-header:active {
        opacity: 0.9;
    }

    .booking-widget-header h6 {
       margin: 0;
        font-weight: 700;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--font-roboto);
    }

    .booking-widget-header .price-mobile {
        font-size: 1.3rem;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .booking-widget-header .toggle-icon {
        font-size: 0.8rem;
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .booking-widget.expanded .toggle-icon {
        transform: rotate(180deg);
    }

    /* Contenido del formulario */
    .booking-widget form {
        padding: 20px;
        background: white;
        display: flex;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .booking-widget .form-group {
        margin-bottom: 15px;
    }

    .booking-widget label {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .booking-widget input,
    .booking-widget select,
    .booking-widget textarea {
        font-size: 1rem;
    }

    /* Ajuste de botón de submit */
    .booking-widget button[type="submit"] {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 12px;
        margin-top: 10px;
    }

    /* Padding adicional al contenido para que no quede oculto */
    .property-details .col-lg-8 {
        padding-bottom: 0px;
    }

    /* Ocultar título original del widget en móvil */
    .booking-widget > h6:first-child,
    .booking-widget > h5:first-child {
        display: none;
    }

    /* Scroll suave dentro del widget */
    .booking-widget {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}

/* Ocultar header en desktop */
@media (min-width: 992px) {
    .booking-widget-header {
        display: none !important;
    }
}