#main-image-container {    
    height: 500px;
}

.main-image {
    height: 400px;
    max-width: 100%;
    border-radius: 20px;
}

.thumbnail-images {
    background-color: var(--contrast-item-background);
    overflow: auto;
    scrollbar-width: none;
}
.any-item-details-page {
    margin-top: 80px;
}

.any-item-details-page-content {
    max-width: 1200px;
    width: calc(100% - 40px);
}

.any-item-title h1 {
    font-size: 24px;
    margin-bottom: 0.5rem;
}

.any-item-title p {
    font-size: 1rem;
    color: #555;
    margin-top: 0px;
}


.any-item-info-details {
    padding: 15px;
    background-color: var(--main-content-background);
    color: var(--text-color);
    margin-top: 20px;
    border-radius: 10px;
}

.any-item-name {
    font-size: 19px;
    color: var(--text-color);
    margin: 0;
    font-weight: bold;
}

.any-item-type {
    color: var(--dim-text-color);
    font-size: 0.9em;
    margin: 0;
}

.any-item-area {
    color: var(--dim-text-color);
    font-size: 0.9em;
    margin: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    display: flex;
}

.any-item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dim-text-color);
    font-size: 0.9em;
    margin: 0;
}

.any-item-price {
    font-size: 15px;
    margin: 0;
}


.any-item-booking .booking-button {
    display: flex;
    background-color: #088aff;
    color: white;
    height: 40px;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #088aff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.any-item-booking .booking-button:hover {
    color: #088aff;
    background-color: transparent;
}

.any-item-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    margin-top: 20px;
    font-family: system-ui;
}

.any-item-description h2,
.any-item-description h3 {
    margin: 0;
    border-bottom: 1px solid;
}

.any-item-description ul {
    list-style: inside square;
    padding-left: 0;
}

.any-item-description h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.any-item-info-details {
    padding: 15px;
    background-color: var(--contrast-item-background);
    color: var(--text-color);
    margin-top: 20px;
    border-radius: 10px;
    width: calc(100% - 30px);
}

.any-item-booking {
    width: 100%;
}

.any-item-details-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
}

#real-estate-dynamic-specs {
    display: flex;
	flex-direction: column;
	gap: 10px;
    margin-top: 20px;
}

/* Style for property boxes */
.property-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 300px;
}

.property-list li {
    background-color: var(--contrast-item-background);
    border-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
}

.property-list i {
    margin-right: 10px;
    font-size: 30px;
    color: var(--dim-text-color);
}

.property-list img {
	margin-right: 10px;
	width: 35px;
	height: 35px;
}


/* Style for the "Read More" button */
#read-more-btn {
    background-color: transparent;
    border: none;
    color: #007bff;
    cursor: pointer;
}

#read-more-btn:hover {
    text-decoration: underline;
}


/* Close button styles */
.booking-modal-close {
    position: absolute;
    top: 0;
    right: 5px;
    padding: 0px;
    cursor: pointer;
    font-size: 24px;
}



.booking-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.booking-modal-content {
    display: flex;
    background-color: var(--contrast-item-background);
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #888;
    width: fit-content;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    position: relative;
}

.booking-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.booking-modal-close:hover,
.booking-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.booking-button.whatsapp {
    /* Specific style for WhatsApp button */
    background-color: #25D366;
    color: white;
    padding: 10px;
    margin: 5px;
    text-decoration: none;
    border-radius: 8px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.booking-button.option1 {
    /* Style for Option 2 button */
    background-color: #34b7f1;
    color: white;
    padding: 10px;
    margin: 5px;
    text-decoration: none;
    border-radius: 8px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.booking-button.option2 {
    /* Style for Option 3 button */
    background-color: var(--text-color);
    color: var(--text-color-inverse);
    padding: 10px;
    margin: 5px;
    text-decoration: none;
    border-radius: 8px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 1220px) {
    .any-item-details-page {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .any-item-details-page {
        width: 100%;
        margin: 0;
        margin-top: 70px;
    }
    .any-item-price {
        font-size: 14px;
        margin: 0;
    }
    .any-item-name {
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    .main-image {
        max-height: 290px;
    }
    #main-image-container {
        height: 390px;
    }

    .any-item-details-page-content {
        width: calc(100% - 20px);
    }
    .property-list {
        width: 100%;
    }

    .any-item-details-container {
        width: 100%;
    }
}