/* ============================================================
   Property Listings & Detail Styles
   All selectors prefixed with .prop- to avoid Bootstrap collision
   ============================================================ */

:root {
    /* Aliases → tokens.css (edit tokens.css to change these globally) */
    --prop-green-primary:     var(--brand-green-dark);
    --prop-green-secondary:   var(--brand-green-mid);
    --prop-green-tertiary:    var(--brand-green-light);
    --prop-accent:            var(--brand-accent);
    --prop-body:              var(--neutral-400);
    --prop-dark:              var(--neutral-700);
    --prop-light-bg:          var(--neutral-50);
    --prop-border:            var(--border-color);
    --prop-card-shadow:       var(--shadow-card);
    --prop-card-shadow-hover: var(--shadow-card-hover);
}

/* ---- Listings Page ---- */

.prop-page {
    max-width: 1420px;
    margin: 40px auto 0;
    padding: 0 16px;
}

/* Filter Bar */
.prop-filter-bar {
    background: #A9B0A4;
    border: 1px solid var(--prop-border);
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.prop-filter-bar__row {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px 16px;
    align-items: flex-end;
}

.prop-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.prop-filter-group--keyword {
    flex: 0 1 160px;
    min-width: 100px;
}

.prop-filter-group--vacancy {
    flex-shrink: 0;
}

.prop-filter-group--results {
    margin-left: auto;
    flex-shrink: 0;
}

.prop-filter-results {
    display: inline-flex;
    align-items: center;
    height: 36px;
    font-size: 1rem;
    font-weight: 700;
    color: #1c1c1c;
    white-space: nowrap;
}

.prop-filter-group--clear {
    flex-shrink: 0;
}

.prop-filter-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--prop-body);
    letter-spacing: 0.5px;
}

.prop-filter-select,
.prop-filter-input {
    height: 36px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 0.85rem;
    color: var(--prop-dark);
    background: #fff;
    min-width: 120px;
}

.prop-filter-input {
    min-width: 0;
    width: 100%;
}

.prop-filter-select:focus,
.prop-filter-input:focus {
    outline: none;
    border-color: var(--prop-green-secondary);
    box-shadow: 0 0 0 2px rgba(95,138,46,0.15);
}

.prop-filter-vacancy-label {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--prop-body);
    cursor: pointer;
    white-space: nowrap;
}

.prop-filter-vacancy-cb {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    cursor: pointer;
}

.prop-filter-clear-btn {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #fff;
    background: var(--brand-slate-gray);
    border: none;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.prop-filter-clear-btn:hover {
    background: var(--brand-black-olive);
    text-decoration: none;
    color: #fff;
}

@media (max-width: 900px) {
    .prop-filter-bar__row { flex-wrap: wrap; }
    .prop-filter-group--keyword { flex: 1 1 140px; }
    .prop-filter-group--clear { margin-left: 0; }
}

/* Bedroom Pills */
.prop-bed-pills {
    display: flex;
    gap: 0;
}

.prop-bed-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #ccc;
    background: #fff;
    color: var(--prop-dark);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    margin-left: -1px;
    user-select: none;
}

.prop-bed-pill:first-child {
    border-radius: 4px 0 0 4px;
    margin-left: 0;
}

.prop-bed-pill:last-child {
    border-radius: 0 4px 4px 0;
}

.prop-bed-pill input[type="radio"] {
    display: none;
}

.prop-bed-pill--active {
    background: var(--prop-green-primary);
    color: #fff;
    border-color: var(--prop-green-primary);
    z-index: 1;
}

.prop-bed-pill:hover:not(.prop-bed-pill--active) {
    background: #f0f0f0;
}

/* Card Grid */
.prop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
    /* Rows need gap too but cards have padding-bottom for info panel,
       so we manage vertical spacing via margin on the card */
}

@media (max-width: 768px) {
    .prop-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Property Card ---- */

.prop-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    background: transparent; /* invisible card boundary */
    /* Reserve space below the media for the white unit-body portion of the info panel.
       Reducing this moves the panel further up into the photo. */
    padding-bottom: 58px;
    margin-bottom: 32px;
    box-shadow: none;
    transition: none;
}

.prop-card:hover,
.prop-card:hover * {
    text-decoration: none;
}

/* Promo badge - top right, above everything */
.prop-card__promo {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    background: var(--prop-accent);
    color: var(--prop-dark);
    font-weight: 700;
    font-size: 0.65rem;
    padding: 5px 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ---- Name header (above photo, dark text, no background) ---- */
.prop-card__name-header {
    padding: 10px 0 0 30px; /* 30px left indent, floating look */
    background: transparent;
    font-size: 1.95rem;
    font-weight: 900;
    color: #1c1c1c;
    line-height: 1.0;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-height: 12px;
}

/* ---- Photo area ---- */
.prop-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    background-color: #444;
    /* Inset shadow from TOP (default state) */
    box-shadow: inset 0 90px 80px -30px rgba(0,0,0,0.65);
    transition: box-shadow 0.4s ease;
}

/* On hover: inset shadow flips to BOTTOM */
.prop-card:hover .prop-card__media {
    box-shadow: inset 0 -90px 80px -30px rgba(0,0,0,0.65);
}

/* Last word of name overlaid on photo top (white) — aligns with name-header above */
.prop-card__name-on-photo {
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px 0 0 30px; /* match 30px left indent of name-header */
    font-size: 1.95rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.0;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
    z-index: 4;
    pointer-events: none;
}

/* Dark overlay on hover */
.prop-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.35s ease;
    z-index: 2;
}

.prop-card:hover .prop-card__overlay {
    background: rgba(0, 0, 0, 0.38);
}

/* Arrow - appears bottom-right on hover */
.prop-card__arrow {
    position: absolute;
    bottom: 12px;
    right: 14px;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.prop-card:hover .prop-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Info panel: overlaps bottom of photo ---- */
/* .prop-card__info is the positioning context.
   .prop-card__unit-body is the white box (normal flow, defines height).
   .prop-card__price-badge floats above it via position: absolute + negative top. */
.prop-card__info {
    position: absolute;
    bottom: 0;
    left: 30px;
    z-index: 6;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 8px;
}

/* Each unit gets its own combo (floating badge + white body).
   Width matches the original single-unit box — proportions are identical
   whether there is one combo or several side by side. */
.prop-card__unit-combo {
    position: relative;
    width: 195px;
    flex-shrink: 0;
}

/* Blue floating badge — centered above its own white unit body */
.prop-card__price-badge {
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
    background: linear-gradient(135deg, #68717A 0%, #878F82 100%);
    color: #fff;
    padding: 8px 20px 10px;
    border-radius: 5px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    z-index: 7;
}

.prop-card__price-label {
    font-size: 0.62rem;
    opacity: 0.85;
    letter-spacing: 0.3px;
    line-height: 1;
}

.prop-card__price-amount {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.25;
}

/* White unit body — main visible box */
.prop-card__unit-body {
    background: #ffffff;
    padding: 22px 14px 14px;
    display: flex;
    border-radius: 5px;
    flex-direction: column;
    gap: 3px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.prop-card__unit-type {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--prop-dark);
    letter-spacing: 0.3px;
    display: block;
    text-align: center;
}

.prop-card__unit-meta {
    font-size: 0.77rem;
    color: var(--prop-body);
    text-align: center;
    display: block;
}

/* Stack suite cards vertically on narrow screens */
@media (max-width: 500px) {
    /* Remove the reserved space — cards are now in normal flow below the image */
    .prop-card {
        padding-bottom: 0;
    }
    /* Switch from absolute (anchored at card bottom, grows upward) to static flow */
    .prop-card__info {
        position: static;
        padding: 48px 30px 0; /* 48px top: room for the floating price badge */
        flex-wrap: wrap;
        row-gap: 48px;        /* clearance between stacked card/badge pairs */
    }
    .prop-card__unit-combo {
        width: 100%;
        flex-shrink: 1;
    }
}

/* Pagination */
.prop-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 32px;
    padding-bottom: 32px;
}

.prop-pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--prop-border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--prop-dark);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.15s;
}

.prop-pagination__link:hover {
    background: #f0f0f0;
    text-decoration: none;
    color: var(--prop-dark);
}

.prop-pagination__link--active {
    background: var(--prop-green-primary);
    color: #fff;
    border-color: var(--prop-green-primary);
}

.prop-pagination__link--active:hover {
    background: var(--prop-green-secondary);
    color: #fff;
}


/* ============================================================
   Detail Page
   ============================================================ */

.prop-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.prop-detail__top {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .prop-detail__top {
        grid-template-columns: 1fr;
    }
}

/* Description */
.prop-detail__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--prop-dark);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--prop-green-primary);
}

.prop-detail__heading-icon {
    color: var(--prop-green-secondary);
}

.prop-detail__promo-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--prop-accent);
    color: var(--prop-dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.prop-detail__address {
    color: var(--prop-body);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.prop-detail__units-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px 0;
    border-top: 1px solid var(--prop-border);
    border-bottom: 1px solid var(--prop-border);
}

.prop-detail__unit-info {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    align-items: baseline;
}

.prop-detail__unit-price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--prop-dark);
}

.prop-detail__unit-meta {
    color: var(--prop-body);
    font-size: 0.85rem;
}

.prop-detail__text {
    color: var(--prop-body);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Sidebar */
.prop-detail__sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Manager Card */
.prop-manager-card {
    background: #fff;
    border: 1px solid var(--prop-border);
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
}

.prop-manager-card__photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.prop-manager-card__name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--prop-dark);
    margin: 0 0 4px;
}

.prop-manager-card__phone {
    color: var(--prop-body);
    font-size: 0.9rem;
    margin: 0 0 14px;
}

/* Key Details */
.prop-key-details {
    background: #fff;
    border: 1px solid var(--prop-border);
    border-radius: 8px;
    padding: 20px;
}

.prop-key-details__heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--prop-dark);
    letter-spacing: 1.5px;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--prop-green-primary);
}

.prop-key-details__list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.prop-key-details__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
    color: var(--prop-body);
}

.prop-key-details__list li:last-child {
    border-bottom: none;
}

.prop-key-details__list li svg {
    color: var(--prop-green-secondary);
    flex-shrink: 0;
}

.prop-key-details__label {
    font-weight: 600;
    color: var(--prop-dark);
    min-width: 80px;
}

.prop-key-details__value {
    margin-left: auto;
    text-align: right;
}

/* What's Nearby */
.prop-nearby {
    background: #fff;
    border: 1px solid var(--prop-border);
    border-radius: 8px;
    padding: 20px;
}

.prop-nearby__heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--prop-dark);
    letter-spacing: 1.5px;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--prop-green-primary);
}

.prop-nearby__map-placeholder {
    height: 160px;
    background: #eee;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.prop-nearby__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.prop-nearby__cat {
    font-size: 0.75rem;
    color: var(--prop-green-secondary);
    font-weight: 600;
    cursor: pointer;
}

.prop-nearby__cat:hover {
    text-decoration: underline;
}

/* Buttons */
.prop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    width: 100%;
}

.prop-btn--green {
    background: var(--prop-green-primary);
    color: #fff;
}

.prop-btn--green:hover {
    background: var(--prop-green-secondary);
    color: #fff;
    text-decoration: none;
}

.prop-btn--small {
    font-size: 0.8rem;
    padding: 8px 16px;
}

.prop-btn--cta {
    background: var(--prop-green-secondary);
    color: #fff;
    font-size: 1rem;
    padding: 12px 24px;
    width: auto;
}

.prop-btn--cta:hover {
    background: var(--prop-green-primary);
    color: #fff;
    text-decoration: none;
}

/* Sections */
.prop-detail__section {
    margin-bottom: 40px;
}

.prop-detail__section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--prop-dark);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--prop-green-primary);
}

.prop-detail__section-heading svg {
    color: var(--prop-green-secondary);
}

/* Amenity Grid */
.prop-amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 32px;
}

@media (max-width: 768px) {
    .prop-amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .prop-amenity-grid {
        grid-template-columns: 1fr;
    }
}

.prop-amenity-group h4 {
    color: var(--prop-dark);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.prop-amenity-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prop-amenity-group ul li {
    position: relative;
    padding: 3px 0 3px 16px;
    font-size: 0.85rem;
    color: var(--prop-body);
    line-height: 1.5;
}

.prop-amenity-group ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--prop-green-secondary);
    border-radius: 50%;
}

/* Gallery */
.prop-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    position: relative;
}

.prop-gallery__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.prop-gallery__img:hover {
    opacity: 0.85;
}

.prop-gallery__nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.prop-gallery__arrow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--prop-border);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--prop-dark);
}

.prop-gallery__arrow:hover {
    background: var(--prop-green-primary);
    color: #fff;
    border-color: var(--prop-green-primary);
}

/* Community Resources */
.prop-detail__community {
    background: var(--prop-light-bg);
    padding: 40px;
    margin: 40px -16px;
    text-align: center;
}

.prop-detail__community-heading {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--prop-dark);
    letter-spacing: 2px;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.prop-detail__community-heading::before,
.prop-detail__community-heading::after {
    content: "";
    height: 2px;
    width: 40px;
    background: var(--prop-border);
}

.prop-community-map {
    background: #fff;
    border: 1px solid var(--prop-border);
    border-radius: 8px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #999;
    min-height: 240px;
    justify-content: center;
}

.prop-community-map p {
    margin: 0;
    color: var(--prop-body);
    font-size: 0.9rem;
}

/* CTA Banner */
.prop-cta-banner {
    background: #f5f5e8;
    padding: 48px 32px;
    margin: 40px -16px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.prop-cta-banner::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, transparent 30%, rgba(49,87,44,0.05));
    pointer-events: none;
}

.prop-cta-banner__content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--prop-dark);
    letter-spacing: 2px;
    margin: 0 0 20px;
}

/* Utility: override Bootstrap container padding on detail page */
.prop-detail .prop-detail__community,
.prop-detail .prop-cta-banner {
    margin-left: -16px;
    margin-right: -16px;
}

/* ── DB-backed detail page additions ─────────────────────── */
.prop-detail__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.prop-detail__price-row {
    display: flex;
    align-items: center;
    margin: 12px 0 20px;
}

.prop-detail__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--prop-green-primary, #31572C);
}

.prop-suite-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.prop-suite-table th {
    background: #f4f4f4;
    padding: 8px 12px;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    border-bottom: 2px solid #e0e0e0;
}

.prop-suite-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.prop-suite-table tr:last-child td {
    border-bottom: none;
}

.prop-detail__amenities ul {
    padding-left: 20px;
}

.prop-detail__amenities li {
    margin-bottom: 4px;
}

.prop-manager-card__label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 4px;
}

/* ── Index card updates ───────────────────────────────────── */
.prop-card__header {
    padding: 16px 20px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.prop-card__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
}

.prop-card__location {
    font-size: 0.8rem;
    color: #888;
}

.prop-card__body {
    padding: 14px 20px 16px;
}

.prop-card__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--prop-green-primary, #31572C);
    margin-bottom: 10px;
}

.prop-card__suites {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.prop-suite-pill {
    font-size: 0.7rem;
    background: #f0f4f0;
    color: #31572C;
    border: 1px solid #c8dcc8;
    border-radius: 3px;
    padding: 2px 8px;
    font-weight: 500;
}

.prop-card__vacancy {
    margin-top: 8px;
}


/* ============================================================
   Property Detail — Redesigned  (pd- prefix)
   ============================================================ */

/* Full-bleed: page is already full-width, these just span 100% */
.pd-fullbleed {
    width: 100%;
}

.pd-page {
    width: 100%;
    background: #A9B0A4;
}

/* ── Hero ──────────────────────────────────────────────────── */
.pd-hero {
    position: relative;
    min-height: 56vh;
    background: #1a2a0e center / cover no-repeat;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    overflow: visible;
}

.pd-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.32) 0%,
        rgba(0,0,0,0.15) 45%,
        rgba(0,0,0,0.72) 100%
    );
}

.pd-hero__inner {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 18px 28px 0;
    box-sizing: border-box;
}

/* Title block: fixed offset places it above the midpoint of the hero */
.pd-hero__title-block {
    margin-top: 8vh;
    padding-bottom: 20px;
}

.pd-hero__top-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.pd-hero__action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: none;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 3px;
    padding: 5px 12px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.pd-hero__action-link:hover {
    background: rgba(255,255,255,0.18);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

.pd-hero__title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.85), 0 4px 24px rgba(0,0,0,0.7);
    max-width: 720px;
}

.pd-hero__address {
    color: rgba(255,255,255,0.82);
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.85), 0 2px 14px rgba(0,0,0,0.6);
}

/* ── In-hero Available Suites ───────────────────────────────── */
/* Absolutely positioned so suite cards hang below the hero boundary */
.pd-hero__suites {
    position: absolute;
    bottom: -88px;
    left: 0;
    right: 0;
    padding: 0 28px;
}

.pd-hero__suites-label {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 0;
}

/* Extra top padding makes room for the floating badge */
.pd-hero__suite-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 46px;
    align-items: flex-end;
}

.pd-hero__suite-combo {
    position: relative;
    width: 240px;
    flex-shrink: 0;
}

.pd-hero__suite-badge {
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
    background: linear-gradient(135deg, #68717A 0%, #878F82 100%);
    color: #fff;
    padding: 7px 20px 9px;
    border-radius: 5px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    z-index: 7;
}

.pd-hero__suite-badge-from {
    font-size: 0.72rem;
    opacity: 0.85;
    line-height: 1;
    letter-spacing: 0.3px;
}

.pd-hero__suite-badge-price {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.25;
}

.pd-hero__suite-body {
    background: #DEE0E2;
    padding: 30px 18px 18px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.pd-hero__suite-type {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 0.3px;
    display: block;
}

.pd-hero__suite-meta {
    font-size: 0.88rem;
    color: #666;
    display: block;
}

/* ── Main Body: 2 columns ───────────────────────────────────── */
.pd-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 44px;
    align-items: start;
    margin-top: 170px;
    margin-bottom: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 28px;
    box-sizing: border-box;
}

@media (max-width: 920px) {
    .pd-body { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    /* Clip any child overflow so no element escapes the hero horizontally */
    .pd-hero {
        overflow-x: hidden;
    }
    /* Flow Available Suites inside the hero below the title instead of
       overlaying it from bottom:-88px (which grows upward and covers everything) */
    .pd-hero__suites {
        position: static;
        padding: 0 0 28px; /* bottom gap; horizontal padding comes from pd-hero__inner */
        width: 100%;
    }
    .pd-hero__suite-row {
        row-gap: 48px; /* replaces 10px — gives each badge room above its card */
        max-width: 100%;
    }
    .pd-hero__suite-combo {
        width: 100%;
        min-width: 0;   /* override flex auto min-size that can push items past container */
        flex-shrink: 1;
        box-sizing: border-box;
    }
    .pd-hero__suite-body {
        box-sizing: border-box;
    }
    /* Suites are now inside the hero, not hanging 88px below it */
    .pd-body {
        margin-top: 24px;
    }
}

/* ── Section Headings ───────────────────────────────────────── */
.pd-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.pd-heading__icon {
    display: inline-block;
    width: 0; height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #68717A;
    flex-shrink: 0;
}

.pd-heading--no-icon {
    margin-top: 36px;
}

/* ── Description ─────────────────────────────────────────────── */
.pd-description {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.78;
    margin-bottom: 8px;
}

.pd-description p  { margin-bottom: 10px; }
.pd-description ul,
.pd-description ol { padding-left: 18px; margin-bottom: 10px; }
.pd-description li { margin-bottom: 3px; }

/* ── Suite Pricing Table ─────────────────────────────────────── */
.pd-suite-table-wrap {
    overflow-x: auto;
    width: 100%;
}

.pd-suite-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.pd-suite-table th {
    background: #68717A;
    padding: 9px 12px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    border-bottom: 2px solid #e0e0e0;
}

.pd-suite-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

.pd-suite-table tr:last-child td { border-bottom: none; }

/* ── Amenities Grid ──────────────────────────────────────────── */
.pd-amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 44px;
    margin-bottom: 8px;
}

@media (max-width: 600px) {
    .pd-amenities-grid { grid-template-columns: 1fr; }
}

.pd-amenity-col__heading {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.pd-amenity-content {
    font-size: 1rem;
    color: #555;
    line-height: 1.65;
}

.pd-amenity-content ul {
    list-style: none;
    padding: 0; margin: 0;
}

.pd-amenity-content li {
    padding: 2px 0 2px 14px;
    position: relative;
}

.pd-amenity-content li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #aaa;
}

/* ── Back button ─────────────────────────────────────────────── */
.pd-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ccc;
    color: #555;
    font-size: 0.82rem;
    padding: 7px 16px;
    border-radius: 3px;
    text-decoration: none;
    margin-top: 28px;
    transition: all 0.2s;
}

.pd-back-btn:hover {
    background: #f4f4f4;
    border-color: #999;
    color: #333;
    text-decoration: none;
}

/* ── Main Column ─────────────────────────────────────────────── */
.pd-body__main {
    background: #DEE0E2;
    border-radius: 10px;
    padding: 28px;
    box-sizing: border-box;
    min-width: 0;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.pd-body__sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* ── Info Card ───────────────────────────────────────────────── */
.pd-info-card {
    background: #DEE0E2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.pd-info-card__header {
    background: #68717A;
    padding: 20px 20px 18px;
    color: #fff;
    box-sizing: border-box;
}

.pd-info-card__from-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0.85;
    margin: 0 0 4px;
}

.pd-info-card__price {
    margin: 0 0 10px;
    line-height: 1;
}

.pd-info-card__price-amount {
    font-size: 2rem;
    font-weight: 800;
}

.pd-info-card__price-period {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

.pd-info-card__vacancy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
}

.pd-info-card__section {
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
}

.pd-info-card__section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #666;
    margin: 0 0 12px;
}

.pd-info-card__utilities {
    display: flex;
    gap: 10px;
}

.pd-util-tile {
    flex: 1;
    background: #f2f4f6;
    border-radius: 8px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #4a5c6a;
}

.pd-util-tile span {
    color: #4a5c6a;
}

.pd-util-tile--inactive {
    opacity: 0.35;
}

.pd-info-card__row {
    padding: 14px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.pd-info-card__row:last-of-type {
    border-bottom: none;
}

.pd-info-card__row-header {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    color: #5B7A8D;
}

.pd-info-card__row-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #5B7A8D;
}

.pd-info-card__row-text {
    font-size: 0.88rem;
    color: #333;
    margin: 0 0 4px;
    line-height: 1.5;
}

.pd-info-card__phone-link {
    font-size: 0.88rem;
    color: #5B7A8D;
    text-decoration: none;
}

.pd-info-card__phone-link:hover {
    text-decoration: underline;
}

.pd-info-card__actions {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-info-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1.5px solid transparent;
}

.pd-info-card__btn--primary {
    background: #68717A;
    color: #fff;
    border-color: #5B7A8D;
}

.pd-info-card__btn--primary:hover {
    background: #4a6878;
    border-color: #4a6878;
    color: #fff;
    text-decoration: none;
}

.pd-info-card__btn--secondary {
    background: #fff;
    color: #333;
    border-color: #e0e0e0;
}

.pd-info-card__btn--secondary:hover {
    border-color: #5B7A8D;
    color: #5B7A8D;
    text-decoration: none;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.3px;
    width: 100%;
}

.pd-btn--green {
    background: var(--prop-green-primary, #31572c);
    color: #fff;
}

.pd-btn--green:hover {
    background: var(--prop-green-secondary, #5f8a2e);
    color: #fff;
    text-decoration: none;
}

.pd-btn--cta {
    background: var(--prop-green-secondary, #5f8a2e);
    color: #fff;
    font-size: 1rem;
    padding: 13px 36px;
    width: auto;
    border-radius: 3px;
}

.pd-btn--cta:hover {
    background: var(--prop-green-primary, #31572c);
    color: #fff;
    text-decoration: none;
}


/* ── Photos Section ──────────────────────────────────────────── */
.pd-photos-section {
    width: 100%;
    background: #ffffff;
    padding: 28px 0 40px;
}

.pd-photos-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 28px;
}

.pd-photos-section__title {
    font-size: 1.3rem;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

/* Carousel: clips to show 3 at a time */
.pd-photos-strip-outer {
    overflow: hidden;
    position: relative;
}

.pd-photos-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.50);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.22s, transform 0.22s, border-color 0.22s, box-shadow 0.22s;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}

.pd-photos-arrow svg {
    width: 22px;
    height: 22px;
    display: block;
}

.pd-photos-arrow--prev { left: 18px; }
.pd-photos-arrow--next { right: 18px; }

.pd-photos-arrow:hover {
    background: rgba(10, 10, 10, 0.82);
    border-color: rgba(255, 255, 255, 0.50);
    transform: translateY(-50%) scale(1.10);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.50), inset 0 1px 0 rgba(255,255,255,0.12);
}

.pd-photos-arrow:active {
    transform: translateY(-50%) scale(0.97);
}

.pd-photos-strip {
    display: flex;
    gap: 12px;
    transition: transform 0.4s ease;
}

.pd-photos-strip__thumb {
    flex: 0 0 calc((100% - 24px) / 3);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.pd-photos-strip__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.pd-photos-strip__thumb:hover img {
    transform: scale(1.04);
}

.pd-photos-strip__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 14px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.pd-photos-strip__thumb:hover .pd-photos-strip__overlay {
    opacity: 1;
}

.pd-photos-strip__overlay span {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.pd-cta {
    background: var(--prop-green-primary, #31572c);
    padding: 52px 20px;
    text-align: center;
    margin-bottom: 0;
}

.pd-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}

.pd-cta__heading {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    margin: 0 0 22px;
}

/* ── Map ─────────────────────────────────────────────────────── */
.pd-map-section {
    width: 100%;
    height: 420px;
    display: block;
    background: #fff;
}

.pd-map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .pd-map-section {
        height: 300px;
    }
}
