section#room { display: none; }
section#room.selected { display: block; }
section#room .room-wrapper { display: flex; align-items: center; justify-content: flex-start; }
section#room .images { width: 45%; padding-right: 5%; }
section#room .contents { width: 55%; text-align: left; }
section#room h2 { text-align: left; }
section#room .cta-box { padding: 40px 0 0; text-align: center; }
section#room .owl-carousel img { width: 100%; object-fit: cover; object-position: center center; margin: auto; border-radius: 16px; cursor: pointer; }
section#room .owl-carousel .owl-stage { display: flex; align-items: center; padding: 20px 0; }
section#room .owl-carousel .owl-item { transform: scale(0.8); z-index: 1; transition: 0.7s; transform-origin: center center; }
section#room .owl-carousel .owl-item.active { transform: scale(1); z-index: 2; }
section#room .details { display: flex; align-items: center; justify-content: flex-start; }
section#room .details p { font-weight: 500; color: white; }
section#room .category { margin: 0 auto 0 25%; text-transform: capitalize; display: flex; align-items: center; }
section#room .category[data-id="1"]:before { content: url('/modules/rooms/images/categories/action.png'); margin-right: 10px; }
section#room .category[data-id="2"]:before { content: url('/modules/rooms/images/categories/detective.png'); margin-right: 10px; }
section#room .category[data-id="3"]:before { content: url('/modules/rooms/images/categories/fantasy.png'); margin-right: 10px; }
section#room .category[data-id="4"]:before { content: url('/modules/rooms/images/categories/western.png'); margin-right: 10px; }

section#room .difficulty { display: flex; align-items: center; justify-content: flex-start; }
section#room .difficulty img { margin-right: 16px; }

.gallery-wrapper { position: fixed; width: 100%; height: 88%; top: 6%; left: 0; display: flex; align-items: center; justify-content: center; }
.gallery-wrapper .prev { width: 5%; height: 100px; position: relative; cursor: pointer; transition: 0.4s; }
.gallery-wrapper .next { width: 5%; height: 100px; position: relative; cursor: pointer; transition: 0.4s; }
.gallery-wrapper .prev:before { content: " "; -webkit-mask: url('/libraries/Feather/chevron-left.svg'); -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; -webkit-mask-position: center center; display: block; position: absolute; top: 0; right: 0px; width: 100%; height: 100%; background: #ddd; }
.gallery-wrapper .next:before { content: " "; -webkit-mask: url('/libraries/Feather/chevron-right.svg'); -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; -webkit-mask-position: center center; display: block; position: absolute; top: 0; right: 0px; width: 100%; height: 100%; background: #ddd; }
.gallery-wrapper .prev:active, .gallery-wrapper .next:active { transform: scale(0.8); }
.gallery-wrapper .close { position: fixed; top: 10px; right: 10px; width: 2vw; height: 2vw; padding: 2vw; background: rgba(0,0,0,0.8); z-index: 999; cursor: pointer; }
.gallery-wrapper .close:before { content: " "; -webkit-mask: url('/libraries/Feather/x.svg'); -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; -webkit-mask-position: center center; display: block; position: absolute; top: 0; right: 0px; width: 100%; height: 100%; background: #ddd; }
.gallery-wrapper .close:hover:before, .gallery-wrapper .prev:hover:before, .gallery-wrapper .next:hover:before { background: white; }

.gallery-wrapper .carousel-wrapper { width: 90%; }
.gallery-wrapper .owl-carousel img { width: initial !important; max-width: 100%; max-height: 88vh; margin: auto; border-radius: 16px; cursor: pointer; box-shadow: 0 0 30px rgba(0,0,0,0.8); object-fit: cover; object-position: center center; }
.gallery-wrapper .owl-carousel .owl-stage { display: flex; align-items: center; padding: 20px 0; }
.gallery-wrapper .owl-carousel .owl-item { transform: scale(0.8); z-index: 1; transition: 0.7s; transform-origin: center center; }
.gallery-wrapper .owl-carousel .owl-item.active { transform: scale(1); z-index: 2; }

.location-wrapper { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 16px; padding: 80px 0; }
.location-wrapper .location { padding: 0 20px; flex: 1 1 calc(33.333% - 16px); min-width: 400px; max-width: 500px; height: 100px; display: flex; align-items: center; justify-content: flex-start; background: rgba(255,255,255,0.1); backdrop-filter: blur(2px); box-shadow: 0 0 10px rgba(0,0,0,0.6); border-radius: 10px; overflow: hidden; font-size: 24px; cursor: pointer; transition: 0.25s; text-align: left; }
.location-wrapper .location h3 { font-size: 24px; }
.location-wrapper .location p { margin: 0; font-size: 16px; }
.location-wrapper .location .chevron { width: 60px; height: 60px; border-radius: 100%; background: white; display: flex; align-items: center; justify-content: center; margin: 0 20px 0 auto; }
.location-wrapper .location .chevron:before { content: " "; -webkit-mask: url('/libraries/Feather/chevron-right.svg'); -webkit-mask-repeat: no-repeat; -webkit-mask-size: 44px 44px; background: gray; width: 44px; height: 44px; }
.location-wrapper .location:hover { box-shadow: 0 0 15px rgba(0,0,0,0.8); background: rgba(255,255,255,0.2); }
.location-wrapper .location.selected { background: var(--purple); }



@media (max-width: 1440px) {
section#room { padding: 60px 0; }
section#room .room-wrapper { padding: 0px 60px; }
section#room .owl-carousel img { }
}

@media (max-width: 1280px) {
section#room { padding: 40px 0; }
section#room .room-wrapper { display: block; }
section#room .room-wrapper { padding: 0px; }
section#room .owl-carousel img { }
section#room .images { width: 100%; padding: 0 0 40px; max-width: 400px; margin: auto; }
section#room .contents { width: 100%; max-width: 600px; margin: auto; padding: 0 20px; }
.location-wrapper .location h3 { font-size: 20px; }
.location-wrapper .location p { font-size: 14px; margin: 0; padding: 0; }
.location-wrapper .location { height: 80px; min-width: 100%; max-width: 100%; }
}

@media (max-width: 1024px) {
.gallery-wrapper .close { position: fixed; top: 0px; right: 0px; width: 4vh; height: 4vh; padding: 4vh; background: rgba(0,0,0,0.8); z-index: 999; cursor: pointer; }
.gallery-wrapper .prev { width: 10vw; }
.gallery-wrapper .next { width: 10vw; }
.gallery-wrapper .carousel-wrapper { width: 80vw; }
}