:root {
    --bg-light: #ffffff;
    --border-color: #eeeeee;
    --text-main: #222222;
    --text-muted: #717171;
    --accent-red: #ff385c
}

body.house-detail-page,
main.detail-main {
    background-color: #fff !important;
    color: #222
}

.house-detail-page .detail-section h3,
.house-detail-page .highlight-item-pro svg,
.house-detail-page .host-info h2,
.house-detail-page .property-header h1,
.house-detail-page .sleep-section h4 {
    color: #222
}

.amenity-row svg,
.house-detail-page .detail-desc {
    color: #444
}

.house-detail-page .share-btn,
.house-detail-page .sleep-card {
    background: #fdfdfd;
    border-color: #eee;
    color: #222
}

.house-detail-page .booking-card-pro {
    background: #fff;
    border-color: #ddd;
    color: #222
}

.category-detail {
    border-bottom: 2px solid #f0f0f0;
    display: block;
    min-height: auto;
    height: auto;
    background: #fff;
    color: #222
}

.amenity-group ul li:last-child,
.category-detail:last-of-type,
.review-card-full:last-child {
    border-bottom: none
}

.house-detail-hero {
    height: 50vh;
    min-height: 350px;
    background: linear-gradient(rgb(10 48 46 / 72%), rgb(10 48 46 / 68%)) fixed, url(../images/condos-detail-hero.webp) center center/cover no-repeat fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 0
}

.house-detail-hero h1 {
    color: var(--bg-light)
}

.house-detail-hero .container {
    padding-top: 60px
}

.property-wrap {
    padding-top: 2rem
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem
}

.property-header h1 {
    font-size: 1.7rem;
    font-weight: 700
}

.share-btn {
    padding: .65rem 1.25rem;
    border: 1px solid #222;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    font-size: .9rem;
    transition: background .2s, color .2s
}

.share-btn:hover {
    background: #222;
    color: #fff
}

.gallery-1-4 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 8px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 3rem;
    position: relative
}

.gallery-1-4 a {
    display: block;
    width: 100%;
    height: 100%
}

.gallery-1-4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .3s, transform .5s;
    display: block
}

.gallery-1-4 img:hover {
    filter: brightness(.8);
    transform: scale(1.02)
}

.gal-main {
    grid-column: 1/2;
    grid-row: 1/3
}

.show-all-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: .5rem 1rem;
    background: #fff;
    border: 1px solid #222;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer
}

.about-section,
.highlights-list,
.host-info,
.sleep-section {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem
}

.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    position: relative
}

.about-section,
.host-info,
.sleep-section {
    padding-bottom: 2rem
}

.host-info h2 {
    font-size: 1.4rem;
    margin-bottom: .5rem
}

.host-meta {
    color: var(--text-muted)
}

.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0
}

.highlight-item-pro {
    display: flex;
    gap: 1rem
}

.amenities-list,
.sleep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr))
}

.highlight-item-pro svg {
    color: #222;
    flex-shrink: 0
}

.highlight-item-pro h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .2rem
}

.highlight-item-pro p,
.sleep-card p {
    font-size: .9rem;
    color: var(--text-muted)
}

.sleep-grid {
    gap: 1.5rem;
    margin-top: 1.5rem
}

.sleep-card {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px
}

.sleep-card h4 {
    margin-bottom: .5rem
}

.amenities-section {
    padding-bottom: 3rem
}

.amenities-list {
    gap: 1rem;
    margin: 1.5rem 0
}

.amenity-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem
}

.booking-card-pro {
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    background: #fff
}

.price-row {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem
}

.price-row span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted)
}

.booking-selectors {
    border: 1px solid #888;
    border-radius: 8px;
    margin-bottom: 1.5rem
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #ddd
}

@media (max-width:480px) {
    .date-inputs {
        grid-template-columns: 1fr
    }

    .date-box:first-child {
        border-right: none;
        border-bottom: 1px solid #ddd
    }
}

.date-box,
.guest-selector {
    padding: .8rem;
    font-size: .7rem;
    font-weight: 700
}

.date-box:first-child {
    border-right: 1px solid #888
}

.date-box input,
.guest-selector select {
    border: none;
    width: 100%;
    font-size: .9rem;
    margin-top: 4px
}

.reserve-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-red);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: .8rem
}

.booking-disclaimer {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted)
}

.detail-main {
    padding: 0;
    font-family: var(--font-third)
}

.reviews-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color)
}

.review-stats {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem
}

.rev-info h4,
.review-text {
    font-size: 1rem
}

.review-card,
.reviewer {
    margin-bottom: 1rem
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 5rem
}

.reviewer {
    display: flex;
    gap: 1rem
}

.rev-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f0f0;
    border: 1px solid #eee
}

.rev-info span {
    color: var(--text-muted);
    font-size: .85rem
}

.review-text {
    line-height: 1.6
}

.map-section {
    padding: 4rem 0
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #e5e3df;
    border-radius: 12px;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .8
}

@media (max-width:992px) {
    .condos-detail-hero {
        height: auto;
        padding: 180px 0 100px !important
    }

    .condos-detail-hero h1 {
        font-size: 2.2rem;
        line-height: 1.2
    }

    .main-grid {
        grid-template-columns: 1fr;
        gap: 3rem
    }

    .gallery-1-4 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto
    }

    .gal-main {
        grid-column: 1/3
    }

    .gallery-1-4 div:not(.gal-main) {
        display: none
    }

    .gallery-1-4 div:nth-child(2),
    .gallery-1-4 div:nth-child(3) {
        display: block
    }

    .booking-card-pro {
        position: static;
        margin-top: 2rem
    }

    .detail-meta {
        margin-top: .5rem;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        font-size: .9rem;
        color: var(--text-muted)
    }
}

@media (max-width:640px) {

    .gallery-1-4,
    .review-grid {
        grid-template-columns: 1fr
    }

    .property-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem
    }

    .gallery-1-4 {
        grid-template-rows: 250px
    }

    .gal-main {
        grid-column: 1
    }

    .gallery-1-4 div:not(.gal-main) {
        display: none
    }
}

.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .45);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s;
    backdrop-filter: blur(4px)
}

.offcanvas-backdrop.active {
    opacity: 1;
    visibility: visible
}

.offcanvas-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 700px;
    height: 100%;
    background: #fff;
    z-index: 2001;
    transition: right .4s cubic-bezier(.2, 0, 0, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column
}

.offcanvas-drawer.active {
    right: 0
}

.offcanvas-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2
}

.offcanvas-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    flex-grow: 1
}

.offcanvas-close {
    background: 0 0;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: .5rem;
    margin-right: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s
}

.offcanvas-close:hover {
    background: #f7f7f7
}

.offcanvas-body {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1
}

.amenity-group {
    margin-bottom: 2.5rem
}

.amenity-group h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main)
}

.amenity-group ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.amenity-group ul li {
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0
}

@media (max-width:768px) {
    .offcanvas-drawer {
        width: 100%;
        max-width: 100%
    }
}

.reviews-full-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem
}

.review-card-full {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 2rem
}

.offcanvas-title-wrap h2 {
    font-size: 1.5rem;
    font-weight: 700
}