/* ── Detail Grid Layout ── */
.accommodation-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 960px) {
    .accommodation-detail-grid {
        grid-template-columns: 1fr;
        min-width: 0;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .accommodation-left,
    .accommodation-right {
        min-width: 0;
    }
}

/* ── Gallery ── */
.room-gallery {
    display: flex;
    gap: .75rem;
    margin-bottom: 1.75rem;
    height: 380px;
}

/* Thumbnail column — LEFT */
.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    flex-shrink: 0;
    width: 110px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.gallery-thumbs::-webkit-scrollbar {
    width: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.gallery-thumb {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .25s;
    flex-shrink: 0;
}

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

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: #2d6a2d;
}

/* Main image — RIGHT */
.gallery-main {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    min-width: 0;
}

.gallery-main__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.gallery-main__img:hover {
    transform: scale(1.03);
}

@media (max-width: 600px) {
    .room-gallery {
        height: auto;
        flex-direction: column-reverse;
    }

    .gallery-thumbs {
        flex-direction: row;
        width: 100%;
        height: 70px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .gallery-thumb {
        width: 80px;
        height: 60px;
        flex-shrink: 0;
    }

    .gallery-main {
        height: 240px;
    }
}

.room-gallery-placeholder {
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 12px;
    margin-bottom: 1.75rem;
}

/* ── Room Info Card ── */
.room-info-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    max-width: 100%;
    box-sizing: border-box;
}

.room-info-card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.room-info-card__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #1a3a1a;
    margin: 0;
}

.room-info-card__price {
    color: #c9882a;
    font-weight: 700;
    font-size: 1.1rem;
}

.room-info-card__price small {
    font-weight: 400;
    font-size: .85rem;
    color: #888;
    margin-left: 2px;
}

.room-info-card__specs {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: #444;
    font-size: .95rem;
}

.spec-icon {
    width: 20px;
    height: 20px;
    color: #2d6a2d;
    flex-shrink: 0;
}

/* ── Section Blocks ── */
.room-section-block {
    margin-bottom: 2rem;
}

.room-section-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #2d6a2d;
    margin-bottom: .75rem;
    position: relative;
    padding-bottom: .4rem;
}

.room-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #2d6a2d;
    border-radius: 2px;
}

.room-section-text {
    color: #555;
    line-height: 1.75;
    font-size: .97rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ── Amenities Grid ── */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem 1.5rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #333;
    font-size: .93rem;
}

.amenity-icon {
    font-size: 1.1rem;
    color: #2d6a2d;
    flex-shrink: 0;
    line-height: 1;
}

/* ── Booking Rules ── */
.booking-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .booking-rules-grid {
        grid-template-columns: 1fr;
    }
}

.booking-rules-col h5 {
    font-size: .95rem;
    font-weight: 700;
    color: #1a3a1a;
    margin-bottom: .5rem;
}

.booking-rules-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.booking-rules-col ul li {
    display: flex;
    align-items: flex-start;
    gap: .4rem;
    color: #555;
    font-size: .9rem;
    margin-bottom: .35rem;
    line-height: 1.5;
}

.booking-rules-col ul li::before {
    content: '▪';
    color: #2d6a2d;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Booking Card ── */
.booking-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    position: sticky;
    top: 100px;
}

.booking-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #1a3a1a;
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid #f0f0f0;
}

/* ── Room Booking Form Fields ── */
.room-booking-form {
    display: block;
}

.room-field {
    margin-bottom: .9rem;
    display: block;
}

.room-field label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: #333;
    margin-bottom: .3rem;
}

.room-field .required {
    color: #e74c3c;
}

.room-booking-form .required {
    color: #e74c3c;
}

.room-field input,
.room-field select,
.room-field textarea {
    display: block;
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: .9rem;
    color: #333;
    background: #fafafa;
    transition: border-color .25s, box-shadow .25s;
    box-sizing: border-box;
    font-family: var(--font-body);
    max-width: 100%;
}

.room-field input:focus,
.room-field select:focus,
.room-field textarea:focus {
    outline: none;
    border-color: #2d6a2d;
    box-shadow: 0 0 0 3px rgba(45, 106, 45, .1);
    background: #fff;
}

.room-field input::placeholder,
.room-field textarea::placeholder {
    color: #bbb;
}

.room-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-bottom: .9rem;
}

.room-field-row .room-field {
    margin-bottom: 0;
}

.booking-total {
    font-size: .93rem;
    color: #444;
    margin: .75rem 0 1rem;
}

.booking-total span {
    font-weight: 700;
    color: #1a3a1a;
}

.booking-submit-btn {
    width: 100%;
    padding: .75rem 1.5rem;
    background: #1a3a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .5px;
    transition: background .25s, transform .15s;
}

.booking-submit-btn:hover {
    background: #2d6a2d;
    transform: translateY(-1px);
}