/* Hotel details page styles */

.hotel-details-breadcrumb {
    padding: var(--spacing-6) var(--spacing-12);
    padding-top: calc(72px + var(--spacing-6));
    background: var(--gray-50);
}

.hotel-back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 500px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hotel-back-button:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.hotel-details-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: var(--spacing-6);
    max-width: 1190px;
    margin: 0 auto;
    padding: var(--spacing-6) var(--spacing-12);
}

.hotel-details-header {
    width: 100%;
    gap: var(--spacing-16);
}

.hotel-details-content {
    width: 100%;
}

/* Gallery styles */
.hotel-gallery {
    width: 702px;
}

.hotel-gallery-main {
    width: 100%;
    height: 433px;
    overflow: hidden;
    border-radius: 16px;
}

.hotel-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.hotel-gallery-thumbnails {
    gap: 13px;
}

.hotel-gallery-thumbnail {
    width: 130px;
    height: 121px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.hotel-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.hotel-gallery-more {
    position: relative;
}

.hotel-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-gallery-overlay span {
    color: var(--white);
}

/* Map and info card */
.hotel-info-card {
    width: 457px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
}

.hotel-map-placeholder {
    width: 100%;
    height: 433px;
    border-radius: 16px;
    overflow: hidden;
}

/* Sections layout */
.hotel-sections {
    width: 100%;
}

.hotel-left-section {
    flex: 1;
    max-width: 745px;
}

.hotel-right-section {
    width: 385px;
}

.hotel-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

/* Services grid */
.hotel-services-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    padding: 0;
    gap: var(--spacing-2);
}

.hotel-service-badge {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 16px 32px 16px 24px;
    transition: all 0.2s ease;
}

.hotel-service-badge:hover {
    background: var(--gray-25);
    border-color: var(--green-300);
}

/* Accommodation details card */
.hotel-accommodation-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
}

.hotel-details-list {
    gap: var(--spacing-6);
}

.hotel-detail-row {
    justify-content: space-between;
}

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

/* Gallery interactions */
.hotel-gallery-thumbnail {
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hotel-gallery-thumbnail:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.hotel-gallery-more {
    cursor: pointer;
}

.hotel-gallery-main {
    position: relative;
}

.hotel-gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.hotel-gallery-main-img:first-child {
    position: relative;
}

.hotel-gallery-main-img.active {
    opacity: 1;
    z-index: 2;
}

/* GLightbox - décaler le bouton close vers la gauche pour éviter superposition avec déconnexion */
.gclose {
    right: 60px !important;
}

/* Selection button animations for hotel details page */
.hotel-details-container .selection_button.add {
    width: 270px;
}

.hotel-details-container .selection_button.add.animate {
    animation: expandToFixed 0.2s ease;
}

.hotel-details-container .selection_button.remove.animate {
    animation: shrinkFromFixed 0.2s ease;
}
