main {
	z-index: 2;
}

@media (max-width: 1920px) {
    #main-images-container, #main-images-container img {
        height: 500px;
    }
}

.office-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 50px;
	width: 100%;
}

.office-images-container {
    display: grid;
	grid-template-columns: 1fr 1fr;
	position: relative;
	gap: 10px;
    cursor: pointer;
}
.office-images-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
    aspect-ratio: 16 / 9;
}
.image-container-view-all {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-light-color);
    padding: 10px 15px;
    border-radius: 90px;
    font-weight: 400;
    color: #d5d5d5;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.image-container-view-all:hover {
    color: white;
}

.office-details-container {
	width: calc(100% - 40px);
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 20px;
	max-width: 1350px;
}
.office-details-left,
.office-details-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.office-details-left {
	position: relative;
}
.office-details-right {
	justify-content: center;
	align-items: end;
	position: sticky;
	top: var(--header-height);
}
.office-name {
	margin: 0;
	margin-top: 40px;
	font-size: 60px;
	font-family: var(--secondary-font);
	font-weight: 500;
}
.office-specs-container {
	display: flex;
	align-items: center;
	gap: 15px;
}
.office-spec-item {
	display: flex;
	align-items: center;
	gap: 5px;
    font-family: var(--primary-font);
}
.office-spec-item img {
	height: 20px;
    opacity: 0.7;
}
.office-description {
    font-weight: 300;
    line-height: 1.7;
    font-size: 17px;
    color: #bababa;
    white-space: pre-line;
    text-align: justify;
}
.about-stay-container p {
	line-height: 1.6;
	opacity: 0.75;
	font-size: 0.9rem;
}
.about-stay-container {
    display: flex;
	flex-direction: column;
	gap: 20px;
    margin-top: 20px;
}
.about-stay-title {
    font-size: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}
.amenities-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--primary-font);
}
#amenities-container {
    max-height: 260px;
    overflow: hidden;
    transition: max-height 1.2s ease;
}

#amenities-container.expanded {
    max-height: 2000px;
}

#amenities-view-all button {
	cursor: pointer;
	background: none;
	border: none;
	color: var(--accent-color);
	font-size: 16px;
	transition: opacity 0.3s ease;
	font-weight: 400;
	font-family: var(--primary-font);
}

#amenities-view-all.fade-out {
    opacity: 0;
    pointer-events: none;
}

.amenities-container.additional {
	margin-top: 20px;
}
.amenities-title {
    font-size: 19px;
}
.amenities-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.amenities-grid.additional {
	grid-template-columns: 1fr;
}
.amenity-item {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0;
	font-size: 0.9rem;
}
.amenity-item svg {
	flex-shrink: 0;
	opacity: 0.8;
}

.office-book-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 40px);
    max-width: 560px;
    margin-top: 20px;
    padding: 20px;
    border-radius: 30px;
    background-color: var(--primary-light-color);
}
.office-book-container span {
	font-size: 22px;
}

.booking-buttons-container {
	display: flex;
	gap: 10px;
}
.booking-button {
    height: 50px;
    border-radius: 25px;
    border: 1px solid #505050;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 10px;
    justify-content: center;
    width: calc(100% - 30px);
    cursor: pointer;
    transition: opacity 0.3s;
}
.booking-button:hover {
	opacity: 0.7;
}
.pay-button {
    margin-bottom: 1rem;
    background-color: var(--accent-color);
}
.pay-button.disabled {
    filter: saturate(0);
    opacity: .4;
    cursor: not-allowed;
}
#close-reservation-period {
    margin-left: auto;
    font-size: .9rem;
    color: var(--accent-color);
    cursor: pointer;
    margin-top: 10px;
}

#not-logged-in-text {
    font-size: .9rem !important;
}
.not-logged-in-section {
    font-size: .9rem !important;
    margin-left: auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    color: #d5d5d5;
    flex-direction: column;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.not-logged-in-section a,
#not-logged-in-text a {
    color: var(--accent-color);
    text-decoration: underline;
}
#not-logged-in-text button {
    color: var(--accent-color);
    margin-left: 6px;
    text-decoration: underline;
    background-color: transparent;
    border: none;
    padding: 0;
    font-family: system-ui;
    cursor: pointer;
}

.booking-button.check-availability {
    background-color: var(--accent-color);
    color: white;
    border: none;
    margin-top: 10px;
}
.booking-button svg {
	fill: var(--accent-color);
	width: 20px;
	height: 20px;
}
.booking-button.check-availability svg {
	fill: white;
}
.office-book-container {
    overflow: hidden;
}

.booking-options {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: -10px;
    transition:
        grid-template-rows 0.4s ease,
        opacity 0.3s ease,
        margin-top 0.4s ease;
}

.booking-options > * {
    min-height: 0;
}

.office-book-container.booking-open .booking-options {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 0;
}

.booking-options-inner {
    overflow: hidden;
}

.booking-type {
    display: flex;
    gap: 8px;
    padding: 4px;
    margin-bottom: 15px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.06);
}

.booking-type-button {
    flex: 1;
    height: 42px;
    border: none;
    border-radius: 11px;
    background: transparent;
    cursor: pointer;
    font: inherit;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.booking-type-button.active {
    background: white;
    color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.booking-fields {
    display: flex;
    flex-direction: row;
	width: 100%;
    gap: 1rem;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-field label {
    font-size: 13px;
    opacity: 0.7;
}

.booking-field input {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid #505050;
    border-radius: 14px;
    background: white;
    font: inherit;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.booking-field input:focus {
    border-color: var(--accent-color);
}

.booking-date-range {
    display: none;
}

.booking-options.multiple .booking-date-range {
    display: flex;
}

.booking-options.multiple .booking-fields {
    grid-template-columns: 1fr 1fr;
}

.booking-continue {
    width: 100%;
    height: 48px;
    margin-top: 15px;
    border: none;
    border-radius: 24px;
    background: var(--accent-color);
    color: white;
    font: inherit;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.booking-continue:hover {
    opacity: 0.8;
}

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

    .booking-buttons-container {
        flex-direction: column;
    }
}

.office-video-container {
	width: 100%;
	max-width: 600px;
}
.office-video-container video {
	width: 100%;
	border-radius: 30px;
}

.top-view-container {
	width: 100%;
}
.top-view-container img {
	width: 100%;
}


.office-map-container {
	z-index: 0;
	aspect-ratio: 1.38;
}
.office-map {
	height: 100%;
	width: 100%;
	border-radius: 20px;
	background-color: #ffffff;
	overflow: hidden;
	box-shadow: 0 0 1px #000000;
	position: relative;
}

.get-directions {
	position: absolute;
	padding: 15px;
	background-color: var(--accent-color);
	color: white;
	border-radius: 20px 0;
	z-index: 2;
	font-family: var(--primary-font);
	cursor: pointer;
}

@media (max-width: 1200px) {
	.services-list {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 1000px) {
	.office-name {
		font-size: 28px;
	}
	.office-spec-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.office-spec-item img {
		height: 17px;
	}
}


@media (max-width: 768px) {
	.office-description {
		font-size: 16px;
	}
    .office-details-container {
        flex-direction: column;
    }
	.office-video-container {
		z-index: 1;
	}

	.office-video-container video {
		border-radius: 15px;
	}

	.office-book-container {
		z-index: 2;
		position: fixed;
		bottom: 0;
		max-width: unset;
		left: 0;
		padding: 15px;
		border-radius: 30px 30px 0 0;
		box-shadow: 0 0 10px #00000059;
		padding-bottom: 5px;
		gap: 10px;
		width: calc(100% - 30px);
	}

    .booking-button.check-availability {
        margin-top: 0;
    }
}

@media (max-width: 500px) {
	.service-item {
		gap: 15px;
		font-size: 16px;
	}
	.service-item img {
		width: 35px;
		height: 50px;
	}
}

/* ~~~~~~~~ */

#booking-options-section {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	max-width: 600px;
	gap: 1rem;
	flex-direction: column;
}

#guest-count-select {
	height: 36px;
	border-radius: 18px;
	width: 70px;
	text-indent: 5px;
	font-size: 1rem;
	
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

#price-per-night,
#total-price {
	font-size: 1.2rem;
	font-weight: 600;
	display: flex;
	flex-direction: column;
}

#price-per-night-section {
	margin-top: 12px;
	min-height: 24px;
}

#discount-code-container {
	display: flex;
	gap: 5px;
	width: 100%;
}
#discount-code {
	border-radius: 20px;
}

.apply-btn {
	border: none;
	color: #000;
	aspect-ratio: 1;
	height: 40px;
	width: 40px;
	border-radius: 20px;
	cursor: pointer;
	border: 1px solid #dddddd;
	display: flex;
	align-items: center;
	background-color: transparent;
	justify-content: center;
	flex-shrink: 0;
}

.apply-btn svg {
    transition: transform 0.2s ease;
}

.apply-btn.animate svg {
    animation: tickPop 0.4s ease;
}

@keyframes tickPop {
    0% { transform: scale(1) rotate(0deg); }
    40% { transform: scale(1.4) rotate(10deg); }
    70% { transform: scale(0.9) rotate(-5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.price-skeleton {
	width: 60px;
	height: 30px;
	border-radius: 8px;
	background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
	background-size: 200% 100%;
	animation: priceSkeletonPulse 1.2s ease-in-out infinite;
}

@keyframes priceSkeletonPulse {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

.per-night-text {
	font-size: .8rem !important;
	white-space: nowrap;
}

#selected-date-range {
	color: #444;
	letter-spacing: .01em;
	font-weight: 600;
	text-align: justify;
	max-width: 200px;
	font-size: 1rem;
	display: flex;
	align-items: center;
	font-size: .9rem !important;
}

.note-text {
	font-size: .9rem !important;
	color: #555;
}

.bck-to-home {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: var(--primary-light-color);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 100;
    transition: gap .3s;
    position: fixed;
    left: 0;
    z-index: 1;
    top: var(--header-height);
    border-bottom-right-radius: 10px;
    box-shadow: 0px 0px 0px 1px #3e3e3e;
}

.booking-summary {
    margin-top: 1.25rem;
    padding: 1.25rem;
    border: 1px solid rgb(92 92 92);
    border-radius: 16px;
    background: #2d394d;
}

.booking-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.booking-summary-eyebrow {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e3e3e3;
}

.booking-summary-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.booking-summary-price {
    text-align: right;
    white-space: nowrap;
}

.booking-summary-price span {
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.booking-summary-divider {
    height: 1px;
    margin: 1rem 0;
    background: rgb(92 92 92);
}

.booking-summary-duration-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.booking-summary-duration-header > span:first-child {
    font-size: 0.85rem;
    font-weight: 700;
    color: #dedede;
}


.booking-summary .floating-label input:focus~label,
.booking-summary .floating-label textarea:focus~.textarea-label,
.booking-summary .floating-label select:focus ~ label,
.booking-summary .floating-label select:required:valid ~ label,
.booking-summary .floating-label textarea:not(:placeholder-shown)~.textarea-label,
.booking-summary .floating-label input:not(:placeholder-shown)~label {
    background-color: #2d394d;
}

#booking-duration-label {
    font-size: 0.8rem;
    color: #888;
}

.booking-duration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.booking-duration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 0.65rem 0.35rem;
    border-radius: 10px;
    background: #f7f7f7;
}

.booking-duration-value {
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 750;
    color: #222;
}

.booking-duration-label {
    margin-top: 0.2rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: #888;
}

.booking-summary-footer {
    margin-top: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgb(255 255 255 / 6%);
}

.booking-summary-footer span {
    font-size: 0.7rem;
    line-height: 1.4;
    color: #999;
}

@media (max-width: 480px) {
    .booking-summary {
        padding: 1rem;
        border-radius: 14px;
    }

    .booking-summary-price span {
        font-size: 1.45rem;
    }

    .booking-duration-grid {
        gap: 0.35rem;
    }

    .booking-duration-item {
        min-height: 65px;
    }

    .booking-duration-value {
        font-size: 1.1rem;
    }

    .booking-duration-label {
        font-size: 0.62rem;
    }
}