/* ==================== Property Details Redesign ==================== */

.pd-section {
    padding: 60px 0 100px;
}

/* ---------- Gallery ---------- */
.pd-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
    height: 420px;
    margin-bottom: 32px;
}

.pd-gallery__main {
    position: relative;
    display: block;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.pd-gallery__main > a {
    display: block;
    height: 100%;
}

.pd-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.pd-gallery__main:hover img {
    transform: scale(1.04);
}

.pd-gallery__tag {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--background-gradient);
    box-shadow: var(--shadow-soft);
}

.pd-gallery__tag h6 {
    margin: 0;
    color: hsl(var(--white));
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

.pd-gallery__thumbs {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}

.pd-gallery__thumbs a {
    position: relative;
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.pd-gallery__thumbs img {
    width: 100%;
    height: 100%;
    min-height: 153px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.pd-gallery__thumbs a:hover img {
    transform: scale(1.06);
}

@media (max-width: 767.98px) {
    .pd-gallery {
        grid-template-columns: 1fr;
    }

    .pd-gallery__thumbs {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }
}

/* ---------- Header ---------- */
.pd-header {
    margin-bottom: 32px;
}

.pd-header h1 {
    font-family: var(--heading-font);
    font-size: var(--heading-two);
    font-weight: 600;
    color: hsl(var(--heading-color));
    margin-bottom: 10px;
}

.pd-header__location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: hsl(var(--body-text) / 0.65);
    font-size: 15px;
}

.pd-header__location i {
    color: hsl(var(--base));
    font-size: 18px;
}

/* ---------- Section Card ---------- */
.pd-card {
    background: hsl(var(--white));
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 30px 30px 34px;
    margin-bottom: 24px;
}

.pd-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.pd-card__title span.pd-card__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: hsl(var(--base) / 0.1);
    color: hsl(var(--base));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.pd-card__title h5 {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    color: hsl(var(--heading-color));
    margin: 0;
}

.pd-card__body p {
    color: hsl(var(--body-text) / 0.75);
    line-height: 1.8;
    margin: 0;
}

/* ---------- Details grid ---------- */
.pd-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pd-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: hsl(var(--body-color) / 0.6);
}

.pd-stat__icon {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: hsl(var(--white));
    color: hsl(var(--base));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow: var(--shadow-soft);
}

.pd-stat__label {
    display: block;
    font-size: 12.5px;
    color: hsl(var(--body-text) / 0.55);
    margin-bottom: 2px;
}

.pd-stat__value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: hsl(var(--heading-color));
}

@media (max-width: 575.98px) {
    .pd-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Nearby / Amenities chips ---------- */
.pd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pd-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: hsl(var(--base) / 0.08);
    color: hsl(var(--heading-color));
    font-size: 14px;
    font-weight: 500;
}

.pd-chip i {
    color: hsl(var(--base));
    font-size: 16px;
}

/* ---------- Floor plans ---------- */
.pd-floor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.pd-floor-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.pd-floor-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.pd-floor-card h6 {
    margin: 0;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: hsl(var(--heading-color));
}

@media (max-width: 575.98px) {
    .pd-floor-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Video / Map ---------- */
.pd-media {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.pd-media iframe {
    border: 0;
    width: 100%;
}

/* ---------- Sidebar ---------- */
.pd-sidebar {
    position: sticky;
    top: 24px;
}

.pd-price-card {
    border-radius: var(--radius-md);
    background: var(--background-gradient);
    padding: 26px 26px 22px;
    color: hsl(var(--white));
    box-shadow: var(--shadow-hover);
    margin-bottom: 24px;
}

.pd-price-card h5 {
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 6px;
}

.pd-price-card__price {
    font-family: var(--heading-font);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 18px;
}

.pd-price-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid hsl(var(--white) / 0.18);
    font-size: 14px;
}

.pd-price-card__row p {
    margin: 0;
    opacity: 0.85;
}

.pd-price-card__row h6 {
    margin: 0;
    font-weight: 600;
}

.pd-agent-card {
    border-radius: var(--radius-md);
    background: hsl(var(--white));
    box-shadow: var(--shadow-soft);
    padding: 26px;
}

.pd-agent-card h5 {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    color: hsl(var(--heading-color));
}

.pd-agent-card__profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.pd-agent-card__profile img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.pd-agent-card__profile h6 {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 600;
}

.pd-agent-card__profile h6 a {
    color: hsl(var(--heading-color));
}

.pd-agent-card__profile h6 a:hover {
    color: hsl(var(--base));
}

.pd-agent-card__profile span {
    font-size: 13px;
    color: hsl(var(--body-text) / 0.6);
}

.pd-agent-card__meta {
    font-size: 13.5px;
    color: hsl(var(--body-text) / 0.75);
    margin-bottom: 4px;
}

.pd-agent-card p.pd-agent-card__desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: hsl(var(--body-text) / 0.7);
    margin-bottom: 18px;
}

.pd-agent-card .btn.button {
    border-radius: var(--radius-sm);
}
