.unit-hero-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 47px;
}

.unit-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.unit-hero-wrapper img{
    width: 100%;
    object-fit: cover;
    object-position: center;
}


.model-unit-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 80px 0;
    margin: 0 160px;
}

.model-unit-header{
    text-align: center;
    width: 1005;
}

.model-unit-header p{
    font-size: var(--blurb-size);
    font-weight: 300;
    font-family: var(--font-henry);
    max-width: 100%;
    width: 100%;
    text-align: center;
}


/* Horizontal scroll container */
.model-unit-scroll{
    display: flex;
    overflow-x: auto;
    gap: 40px;
    width: 1600px;
    max-width: 100%;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 60px;
}

/* Show 3 items — equal width */
.model-unit-item{
    flex: 0 0 calc((100% - 40px) / 3); /* 3 visible w/ gaps */
    height: 560px;
    overflow: hidden;
    border-radius: 8px;
    scroll-snap-align: start;
}

.model-unit-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Scrollbar styling (optional) */
.model-unit-scroll::-webkit-scrollbar {
    height: 8px;
}
.model-unit-scroll::-webkit-scrollbar-track {
    background: var(--color-secondary-blue);
    border-radius: 8px;
}
.model-unit-scroll::-webkit-scrollbar-thumb {
    background: var(--color-primary-blue);
    border-radius: 8px;
}

.unit-layout-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 80px 0;
    margin: 0 160px;
}

.left-layout{
    flex: 1;
    gap: 20px;
    width: 439px;
}

.left-layout p{
    font-size: var(--blurb-size);
    font-weight: 300;
    font-family: var(--font-henry);
}


.right-layout img{
   max-height: 920px;
}

.unit-layout-wrapper { display: flex; gap: 30px; }
.left-layout { flex: 1; position: relative; }
.right-layout { flex: 1; }

.carousel-nav-btn{
    display: flex;
    width: 100%;
    height: 100%;
}

.carousel-nav-btn button{
    display: inline-block;
    margin: 5px 5px 0 0;
    padding: 8px 12px;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-primary-blue);
    border: none;
    background-color: transparent;
}


.carousel-container {
    overflow: hidden;
    width: 100%;
}
.layout-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
}
.slide img {
    width: 100%;
    display: block;
}

.carousel-nav button {
    display: inline-block;
    margin: 5px 5px 0 0;
    padding: 8px 12px;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-primary-blue);
    border: none;
    background-color: transparent;
}

.detail-unit-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding: 80px 0;
    margin: auto;
    width: 100%;
    max-width: 1400px;
}

.detail-wrap img{
    width: 80px;
}

.detail-items{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.unit-detail-header{
    text-align: center;
}

.lts-wrapper p,
.detail-wrap p,
.unit-detail-header p{
    font-size: var(--blurb-size);
    font-weight: 300;
    font-family: var(--font-henry-light);
    width: 100%;
    text-align: center;
}

.detail-wrap{
    display: flex;
    gap: 140px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.lts-title{
    font-weight: 600 !important;
}

.amenities-collage-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
    margin: 0 160px;
}

.amenities-collage-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.amenities-collage-header p{
    font-size: var(--blurb-size);
    font-weight: 300;
    font-family: var(--font-henry);
    max-width: 991px;
    width: 100%;
    text-align: center;
}

/* Prevent stretching issues */
.amenities-collage {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.amenity-item {
    overflow: hidden;
    border-radius: 8px;
}

.amenity-item.small {
    width: 360px;
    height: 334px;
}

.amenity-item.large {
    width: 800px;
    height: 334px;
}

.amenity-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}