/* =====================================================
   Real Estate Projects Plugin — Stylesheet
   ===================================================== */

:root {
    --rep-primary:     #052344;
    --rep-primary-dk:  #052344;
    --rep-primary-light: rgba(5,35,68,.08);
    --rep-accent:      #c98e36;
    --rep-green:       #15803d;
    --rep-red:         #dc2626;
    --rep-text:        #052344;
    --rep-muted:       #052344;
    --rep-border:      rgba(5,35,68,.16);
    --rep-bg:          rgba(5,35,68,.04);
    --rep-white:       #ffffff;
    --rep-radius:      10px;
    --rep-shadow:      0 2px 12px rgba(0,0,0,.08);
    --rep-shadow-hover:0 6px 24px rgba(0,0,0,.14);
    --rep-transition:  0.2s ease;
}

/* ---- Utilities ---- */
.rep-container {
    max-width: 1230px;
    width: calc(100% - 10px);
    margin: 0 auto;
    padding: 0;
}

/* ---- Wrapper ---- */
.rep-wrapper {
    font-family: "Inter", sans-serif;
    color: var(--rep-text);
    font-size: 15px;
    line-height: 1.6;
}

.rep-wrapper h1,
.rep-wrapper h2,
.rep-wrapper h3,
.rep-single h1,
.rep-single h2,
.rep-single h3 {
    font-family: "Montserrat", sans-serif;
}

.rep-wrapper input,
.rep-wrapper select,
.rep-wrapper textarea,
.rep-wrapper button,
.rep-single input,
.rep-single select,
.rep-single textarea,
.rep-single button {
    font-family: "Inter", sans-serif;
}

/* =====================================================
   FILTERS
   ===================================================== */
.rep-filters {
    background: var(--rep-white);
    border: 1px solid var(--rep-border);
    border-radius: var(--rep-radius);
    padding: 20px 24px;
    margin-bottom: 32px;
    box-shadow: var(--rep-shadow);
}

.rep-filters__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-end;
}

.rep-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1 1 160px;
    min-width: 130px;
}

.rep-filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--rep-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rep-filter-actions {
    flex-direction: row;
    gap: 8px;
    flex: 0 0 auto;
}

.rep-input,
.rep-select {
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--rep-border);
    border-radius: 6px;
    font-size: 14px;
    color: var(--rep-text);
    background: var(--rep-bg);
    transition: border-color var(--rep-transition), box-shadow var(--rep-transition);
    width: 100%;
    box-sizing: border-box;
}

.rep-input:focus,
.rep-select:focus {
    outline: none;
    border-color: var(--rep-primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,.15);
}

.rep-price-range {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rep-price-input {
    flex: 1;
    min-width: 0;
}

.rep-price-sep {
    color: var(--rep-muted);
    font-weight: 600;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.rep-btn {
    height: 40px;
    padding: 0 18px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--rep-transition), transform var(--rep-transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rep-btn:active { transform: translateY(1px); }

.rep-btn--primary {
    background: var(--rep-primary);
    color: var(--rep-white);
}
.rep-btn--primary:hover { background: var(--rep-primary-dk); }

.rep-btn--secondary {
    background: var(--rep-bg);
    color: var(--rep-muted);
    border: 1px solid var(--rep-border);
}
.rep-btn--secondary:hover { background: var(--rep-border); color: var(--rep-text); }

.rep-btn--full { width: 100%; justify-content: center; display: flex; align-items: center; }

/* =====================================================
   GRID & CARDS
   ===================================================== */
.rep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.rep-card {
    background: var(--rep-white);
    border-radius: var(--rep-radius);
    border: 1px solid var(--rep-border);
    overflow: hidden;
    box-shadow: var(--rep-shadow);
    transition: transform var(--rep-transition), box-shadow var(--rep-transition);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
}
.rep-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rep-shadow-hover);
}

.rep-card--featured {
    border-color: var(--rep-accent);
    box-shadow: 0 2px 12px rgba(245,158,11,.18);
}

.rep-card__img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-height: 300px;
}

.rep-card__img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center top;
    background-size: cover;
    background-position: center top;
    transition: transform 0.4s ease;
}
.rep-card:hover .rep-card__img { transform: scale(1.04); }

.rep-badge {
    position: absolute;
    top: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.rep-badge--status {
    left: 12px;
    background: var(--rep-primary);
    color: var(--rep-white);
}
.rep-badge--featured {
    right: 12px;
    background: var(--rep-accent);
    color: var(--rep-white);
}

.rep-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    justify-content: flex-start;
    min-height: 0;
}

.rep-card__type {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--rep-primary);
    margin-bottom: 6px;
}

.rep-card__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rep-card__title a {
    color: var(--rep-text);
    text-decoration: none;
    transition: color var(--rep-transition);
}
.rep-card__title a:hover { color: var(--rep-primary); }

.rep-card__address {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--rep-muted);
    margin: 0 0 10px;
}

.rep-card__price {
    font-size: 20px;
    font-weight: 800;
    color: var(--rep-primary);
    margin: 0 0 14px;
}
.rep-card__price-prefix {
    display: inline-block;
    margin-right: 5px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}
.rep-card__price-suffix {
    font-size: 13px;
    font-weight: 500;
    color: var(--rep-muted);
    margin-left: 2px;
}

.rep-card__view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    border-radius: 6px;
    background: var(--rep-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background var(--rep-transition), transform var(--rep-transition);
}

.rep-card__view:hover {
    background: #0f3fa8;
    color: #fff;
    transform: translateY(-1px);
}

/* =====================================================
   LOADING / SPINNER
   ===================================================== */
.rep-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--rep-muted);
}
.rep-spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid var(--rep-border);
    border-top-color: var(--rep-primary);
    border-radius: 50%;
    animation: rep-spin 0.7s linear infinite;
    margin-bottom: 12px;
}
@keyframes rep-spin { to { transform: rotate(360deg); } }

/* =====================================================
   NO RESULTS
   ===================================================== */
.rep-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--rep-muted);
}
.rep-no-results__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    width: 80px;
    height: 80px;
    background: var(--rep-bg);
    border: 1px solid var(--rep-border);
    border-radius: 50%;
    color: #cbd5e1;
}
.rep-no-results__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--rep-text);
    margin: 0 0 6px;
}
.rep-no-results__sub {
    font-size: 14px;
    margin: 0;
}

/* =====================================================
   PAGINATION
   ===================================================== */
.rep-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.rep-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--rep-border);
    background: var(--rep-white);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rep-text);
    cursor: pointer;
    transition: background var(--rep-transition), border-color var(--rep-transition);
}
.rep-page-btn:hover { background: var(--rep-bg); border-color: var(--rep-primary); color: var(--rep-primary); }
.rep-page-btn.is-active { background: var(--rep-primary); border-color: var(--rep-primary); color: var(--rep-white); }

/* =====================================================
   SINGLE PROPERTY
   ===================================================== */
.rep-single {
    font-family: "Inter", sans-serif;
    color: var(--rep-text);
    max-width: 100%;
    overflow: visible !important;
}

.rep-single .rep-container {
    max-width: 1230px;
    width: calc(100% - 10px);
    padding-left: 0;
    padding-right: 0;
}

body.single-rep_property,
body:has(.rep-single) {
    overflow-x: hidden;
}

body.single-rep_property .content-layout-wrapper {
    padding-top: 0 !important;
}

body.single-rep_property .site,
body.single-rep_property .site-content,
body.single-rep_property .content-area,
body.single-rep_property .site-main,
body.single-rep_property article,
body.single-rep_property .entry-content,
body.single-rep_property .elementor,
body.single-rep_property .elementor-section,
body.single-rep_property .elementor-container,
body.single-rep_property .elementor-column-wrap,
body.single-rep_property .elementor-widget-wrap,
body.single-rep_property .elementor-widget-container {
    overflow: visible !important;
}

@media (min-width: 901px) {
    .rep-single .rep-hero .rep-container {
        width: 100% !important;
        max-width: 1230px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.single-rep_property .elementor-section .elementor-container,
    body.single-rep_property .elementor-column,
    body.single-rep_property .elementor-widget-wrap,
    body.single-rep_property .elementor-widget-container:has(.rep-single) {
        max-width: 1230px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.elementor-widget-container:has(.rep-single),
.elementor-element:has(.rep-single),
.elementor-section:has(.rep-single),
.elementor-container:has(.rep-single),
.elementor-column:has(.rep-single),
.elementor-widget-wrap:has(.rep-single) {
    overflow: visible !important;
}

/* ---- Hero ---- */
.rep-hero {
    position: relative;
    height: 520px;
    background-color: #1e2a3b;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    /* full-width bleed — breaks out of any max-width container */
    width: var(--rep-viewport-width, 100vw);
    max-width: var(--rep-viewport-width, 100vw);
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

@supports (margin-left: calc(50% - 50vw)) {
    .rep-hero {
        left: auto;
        right: auto;
        margin-left: calc(50% - (var(--rep-viewport-width, 100vw) / 2));
        margin-right: calc(50% - (var(--rep-viewport-width, 100vw) / 2));
    }
}

.rep-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.80) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.10) 100%);
}

.rep-hero__nav {
    position: relative;
    z-index: 2;
    padding-top: 18px;
    padding-bottom: 10px;
}

.rep-hero__content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding-bottom: 52px;
}

.rep-hero__badges {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.rep-hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}
.rep-hero-badge--status   { background: #059669; }
.rep-hero-badge--featured { background: var(--rep-accent); }
.rep-hero-badge--type     { background: rgba(255,255,255,.20); backdrop-filter: blur(4px); }

.rep-hero__title {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.rep-hero__address {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    margin: 0;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,.15);
    padding-bottom: 0;
}
.rep-hero__address svg { flex-shrink: 0; }

/* breadcrumb light variant */
.rep-breadcrumb--light,
.rep-breadcrumb--light a { color: rgba(255,255,255,.75); }
.rep-breadcrumb--light a { text-decoration: none; }
.rep-breadcrumb--light a:hover { color: #fff; text-decoration: underline; }

.rep-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--rep-muted);
}
.rep-breadcrumb a {
    color: var(--rep-primary);
    text-decoration: none;
}
.rep-breadcrumb a:hover { text-decoration: underline; }

/* ---- 4 Info Boxes ---- */
.rep-info-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: -36px;
    position: relative;
    z-index: 10;
    margin-bottom: 36px;
}

.rep-info-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--rep-radius);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.18);
}
.rep-info-box--blue   { background: var(--rep-primary); }
.rep-info-box--green  { background: #059669; }
.rep-info-box--violet { background: #7c3aed; }
.rep-info-box--amber  { background: #d97706; }

.rep-info-box__icon {
    flex-shrink: 0;
    background: rgba(255,255,255,.20);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rep-info-box__currency {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.rep-info-box__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.rep-info-box__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,.70);
}
.rep-info-box__value {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    text-transform: capitalize;
}
.rep-info-box__sub {
    font-size: 11px;
    color: rgba(255,255,255,.65);
    text-transform: capitalize;
}

.rep-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-bottom: 0;
    align-items: start;
}

.rep-single__main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* =====================================================
   GALLERY SECTION (standalone fifth section)
   ===================================================== */
.rep-gallery-section {
    background: var(--rep-white);
    border: 1px solid var(--rep-border);
    border-radius: var(--rep-radius);
    box-shadow: var(--rep-shadow);
    overflow: hidden;
    margin-bottom: 8px;
}

.rep-gallery-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--rep-border);
}

.rep-gallery-section__header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rep-gallery-section__icon {
    width: 40px;
    height: 40px;
    background: #eef2ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4f46e5;
}

.rep-gallery-section__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--rep-text);
}

.rep-gallery-section__sub {
    font-size: 12px;
    color: var(--rep-muted);
    margin: 0;
}

.rep-gallery-section__counter {
    font-size: 13px;
    font-weight: 600;
    color: #4f46e5;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    padding: 4px 14px;
    border-radius: 999px;
}

.rep-gallery-section__body {
    padding: 28px;
    padding-bottom: 24px;
}

.rep-gallery-section__viewer {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16/9;
}

.rep-gallery-section__viewer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s;
}

.rep-gallery-section__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(5,35,68,0.86);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    opacity: 1;
    z-index: 5;
    transition: opacity 0.2s, background 0.2s;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}
.rep-gallery-section__viewer:hover .rep-gallery-section__nav { opacity: 1; }
.rep-gallery-section__nav:hover { background: #c98e36; }
.rep-gallery-section__nav svg {
    display: block;
    width: 18px;
    height: 18px;
    color: #fff;
    stroke: currentColor;
}
.rep-gallery-section__nav::before {
    display: block;
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    margin-top: -2px;
}
.rep-gallery-section__nav--prev::before { content: "\2039"; }
.rep-gallery-section__nav--next::before { content: "\203A"; }
.rep-gallery-section__nav svg { display: none; }
.rep-gallery-section__nav--prev { left: 14px; }
.rep-gallery-section__nav--next { right: 14px; }

.rep-gallery-section__thumbs {
    display: flex;
    gap: 14px;
    margin-top: 16px;
    overflow-x: auto;
    padding: 4px 4px 10px;
    scrollbar-gutter: stable;
}

.rep-gallery-section__thumb {
    position: relative;
    flex-shrink: 0;
    display: block;
    width: 112px;
    height: 78px;
    border-radius: 10px !important;
    overflow: hidden;
    border: 2px solid var(--rep-border) !important;
    cursor: pointer;
    padding: 0;
    background-color: #f8fafc;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transition: border-color 0.2s, opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    opacity: 0.82;
    box-shadow: 0 8px 18px rgba(15,23,42,0.08);
    appearance: none;
    -webkit-appearance: none;
}
.rep-gallery-section__thumb:hover {
    opacity: 1;
    border-color: var(--rep-accent) !important;
    transform: translateY(-1px);
}
.rep-gallery-section__thumb.is-active {
    border-color: var(--rep-primary) !important;
    opacity: 1;
    transform: none;
    box-shadow: 0 0 0 3px rgba(201,142,54,0.22), 0 10px 24px rgba(5,35,68,0.24);
}
.rep-gallery-section__thumb img {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Description */
.rep-single__description h2,
.rep-single__video h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rep-border);
}
.rep-single__content { line-height: 1.8; color: #374151; }
.rep-single__video { margin-top: 32px; }
.rep-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--rep-radius); }
.rep-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Sidebar */
.rep-single__sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rep-sidebar-card {
    background: var(--rep-white);
    border: 1px solid var(--rep-border);
    border-radius: var(--rep-radius);
    padding: 22px;
    box-shadow: var(--rep-shadow);
}
.rep-sidebar-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--rep-primary);
}

.rep-details-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.rep-details-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--rep-border);
    font-size: 14px;
    gap: 8px;
}
.rep-details-list li:last-child { border-bottom: none; }
.rep-details-list li > span:first-child { color: var(--rep-muted); font-weight: 500; }
.rep-details-list li > span:last-child  { font-weight: 600; text-align: right; }

.rep-status-badge {
    background: var(--rep-primary);
    color: var(--rep-white) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Inquiry Form */
.rep-form { display: flex; flex-direction: column; gap: 14px; }
.rep-form__field { display: flex; flex-direction: column; gap: 5px; }
.rep-form__field label { font-size: 13px; font-weight: 600; color: var(--rep-muted); }
.rep-form textarea.rep-input { height: auto; padding: 10px 12px; resize: vertical; }
.rep-form__result { font-size: 14px; text-align: center; padding: 8px; border-radius: 6px; display: none; }
.rep-form__result.is-success { background: #d1fae5; color: #065f46; display: block; }
.rep-form__result.is-error   { background: #fee2e2; color: #991b1b; display: block; }

.rep-btn--full {
    margin-top: 4px;
}
.rep-btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* =====================================================
   PROJECT OVERVIEW
   ===================================================== */
.rep-overview {
    background: var(--rep-white);
    border: 1px solid var(--rep-border);
    border-radius: var(--rep-radius);
    box-shadow: var(--rep-shadow);
    overflow: hidden;
    margin-top: 36px;
    margin-bottom: 36px;
}

.rep-overview__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--rep-border);
}

.rep-overview__header-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--rep-primary);
}

.rep-overview__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--rep-text);
}

.rep-overview__sub {
    font-size: 12px;
    color: var(--rep-muted);
    margin: 0;
}

.rep-overview__body {
    display: grid;
    grid-template-columns: 1fr 370px;
    divide-x: 1px solid var(--rep-border);
}

.rep-overview__left {
    padding: 28px;
    border-right: 1px solid var(--rep-border);
}

.rep-overview__excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 20px;
}
.rep-overview__excerpt p { margin: 0 0 12px; }
.rep-overview__excerpt p:last-child { margin-bottom: 0; }

.rep-overview__tags-title,
.rep-overview__facts-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rep-muted);
    margin: 0 0 12px;
}

.rep-overview__tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rep-overview__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    background: #eff6ff;
    color: var(--rep-primary);
    border: 1px solid #bfdbfe;
    border-radius: 999px;
}

.rep-overview__right {
    padding: 28px;
}

.rep-overview__facts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rep-overview__facts li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--rep-border);
    font-size: 13px;
    gap: 8px;
}
.rep-overview__facts li:last-child { border-bottom: none; }
.rep-overview__facts li > span:first-child { color: var(--rep-muted); font-weight: 500; }
.rep-overview__facts li > span:last-child  { font-weight: 600; color: var(--rep-text); text-align: right; }

.rep-overview__fact-key {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--rep-muted);
    font-weight: 500;
}
.rep-overview__fact-key svg { flex-shrink: 0; opacity: 0.7; }

.rep-overview__fact-badge {
    background: #d1fae5;
    color: #065f46;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 900px) {
    .rep-overview__body { grid-template-columns: 1fr; }
    .rep-overview__left { border-right: none; border-bottom: 1px solid var(--rep-border); }
    .rep-info-boxes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 16px;
        margin-bottom: 24px;
    }
}

/* =====================================================
   KEY HIGHLIGHTS
   ===================================================== */
.rep-highlights {
    background: var(--rep-white);
    border: 1px solid var(--rep-border);
    border-radius: var(--rep-radius);
    box-shadow: var(--rep-shadow);
    overflow: hidden;
    margin-bottom: 8px;
}

.rep-highlights__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--rep-border);
}

.rep-highlights__header-icon {
    width: 40px;
    height: 40px;
    background: #f0fdf4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #059669;
}

.rep-highlights__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--rep-text);
}

.rep-highlights__sub {
    font-size: 12px;
    color: var(--rep-muted);
    margin: 0;
}

.rep-highlights__body {
    padding: 28px;
}

.rep-highlights__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 18px;
    align-items: stretch;
}

.rep-highlights__item {
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    height: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid #dbe7ff;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 6px 18px rgba(15,23,42,0.04);
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.55;
}
.rep-highlights__item:last-child { border-bottom: 1px solid #dbe7ff; }
.rep-highlights__item > span:last-child {
    display: block;
    min-width: 0;
}

.rep-highlights__bullet {
    flex-shrink: 0;
    margin-top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #059669;
    box-shadow: inset 0 0 0 1px rgba(5,150,105,0.12);
}

.rep-investment .rep-highlights__header-icon,
.rep-investment .rep-highlights__bullet {
    background: #c98e36;
    border-color: #c98e36;
    color: #fff;
}

.rep-investment .rep-highlights__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
}

.rep-investment .rep-highlights__item {
    height: 100%;
}

@media (max-width: 700px) {
    .rep-highlights__list { grid-template-columns: 1fr; }
    .rep-investment .rep-highlights__list { grid-template-columns: 1fr; }
}

/* =====================================================
   AMENITIES
   ===================================================== */
.rep-amenities {
    background: var(--rep-white);
    border: 1px solid var(--rep-border);
    border-radius: var(--rep-radius);
    box-shadow: var(--rep-shadow);
    overflow: hidden;
    margin-bottom: 8px;
}

.rep-amenities__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--rep-border);
}

.rep-amenities__header-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2563eb;
}

.rep-amenities__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--rep-text);
}

.rep-amenities__sub {
    font-size: 12px;
    color: var(--rep-muted);
    margin: 0;
}

.rep-amenities__body {
    padding: 28px;
}

.rep-amenities__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.rep-amenities__item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    height: 72px;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    font-size: 14px;
    font-weight: 700;
    color: #1e3a5f;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    box-shadow: 0 8px 22px rgba(15,23,42,0.05);
}

.rep-amenities__item:hover {
    border-color: #93c5fd;
    box-shadow: 0 12px 28px rgba(37,99,235,0.12);
    transform: translateY(-2px);
}

.rep-amenities__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: #1d4ed8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 8px 18px rgba(37,99,235,0.22);
}

.rep-amenities__icon svg {
    width: 19px;
    height: 19px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rep-amenities__label {
    display: flex;
    align-items: center;
    min-height: 0;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .rep-amenities__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .rep-amenities__grid { grid-template-columns: 1fr; }
    .rep-amenities__item { height: 68px; min-height: 68px; }
}

/* =====================================================
   LOCATION ADVANTAGES
   ===================================================== */
.rep-location {
    background: var(--rep-white);
    border: 1px solid var(--rep-border);
    border-radius: var(--rep-radius);
    box-shadow: var(--rep-shadow);
    overflow: hidden;
    margin-bottom: 8px;
}

.rep-location__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--rep-border);
}

.rep-location__header-icon {
    width: 40px;
    height: 40px;
    background: #fff1f2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #e11d48;
}

.rep-location__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--rep-text);
}

.rep-location__sub {
    font-size: 12px;
    color: var(--rep-muted);
    margin: 0;
}

.rep-location__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 28px;
}

.rep-location__group-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--rep-muted);
    margin-bottom: 14px;
}

.rep-location__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.rep-location__dot--rose  { background: #f43f5e; }
.rep-location__dot--amber { background: #f59e0b; }

.rep-location__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.rep-location__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #ffe4e6;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff 0%, #fff7f8 100%);
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    line-height: 1.45;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    box-shadow: 0 6px 18px rgba(15,23,42,0.04);
}
.rep-location__item:hover {
    background: #fff1f2;
    border-color: #fecdd3;
    box-shadow: 0 10px 24px rgba(244,63,94,0.10);
    transform: translateY(-1px);
}

.rep-location__pin {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: -1px;
    border-radius: 50%;
    background: #ffe4e6;
    line-height: 1;
    color: #f43f5e;
    box-shadow: inset 0 0 0 1px rgba(244,63,94,0.12);
}

.rep-location__pin svg {
    width: 13px;
    height: 13px;
}

.rep-location__right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rep-location__map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--rep-border);
    min-height: 240px;
    flex: 1;
}

.rep-location__map iframe {
    width: 100%;
    height: 100%;
    min-height: 240px;
    display: block;
}

.rep-location__image {
    min-height: 240px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--rep-border);
    background: #f8fafc;
}

.rep-location__image img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    display: block;
    object-fit: cover;
}

.rep-location__map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 6px;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.rep-location__map-link:hover {
    background: #1d4ed8;
    color: #fff;
}

.rep-location__why-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rep-location__why-item {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #fffbeb 100%);
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 11px 12px 11px 34px;
    font-size: 13px;
    font-weight: 700;
    color: #92400e;
    line-height: 1.4;
}

.rep-location__why-item:before {
    content: '';
    position: absolute;
    left: 13px;
    top: 17px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 4px #fef3c7;
}

@media (max-width: 900px) {
    .rep-location__body { grid-template-columns: 1fr; }
    .rep-location__map,
    .rep-location__image,
    .rep-location__image img { min-height: 200px; }
}

@media (max-width: 540px) {
    .rep-location__why-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   ENQUIRY CTA
   ===================================================== */
.rep-cta {
    display: grid;
    grid-template-columns: 1fr 400px;
    border-radius: var(--rep-radius);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(15,23,42,0.35);
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #1e40af 100%);
    position: relative;
    margin-bottom: 8px;
}
.rep-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 1px, transparent 1px),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.rep-cta__left {
    position: relative;
    padding: 40px;
    border-right: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rep-cta__badge {
    display: inline-block;
    background: rgba(59,130,246,0.25);
    border: 1px solid rgba(96,165,250,0.4);
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    width: fit-content;
}

.rep-cta__headline {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 12px;
}
.rep-cta__headline-accent { color: #93c5fd; }

.rep-cta__intro {
    font-size: 14px;
    color: rgba(147,197,253,0.7);
    line-height: 1.6;
    margin: 0 0 28px;
}

.rep-cta__stats {
    display: flex;
    gap: 28px;
    margin-bottom: 32px;
}
.rep-cta__stat-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(147,197,253,0.5);
    margin-bottom: 3px;
}
.rep-cta__stat-val {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.rep-cta__agent {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: auto;
}
.rep-cta__agent-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.rep-cta__agent-info { flex: 1; min-width: 0; }
.rep-cta__agent-name { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 2px; }
.rep-cta__agent-role { font-size: 12px; color: rgba(147,197,253,0.6); margin: 0; }
.rep-cta__agent-call {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}
.rep-cta__agent-call:hover { background: rgba(255,255,255,0.18); }

/* Form side */
.rep-cta__form-wrap {
    position: relative;
    padding: 32px 36px;
    background: rgba(255,255,255,0.05);
}
.rep-cta__form-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
}
.rep-cta__form { display: flex; flex-direction: column; gap: 14px; }
.rep-cta__field { display: flex; flex-direction: column; gap: 6px; }
.rep-cta__field label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(147,197,253,0.75);
}
.rep-cta__field input,
.rep-cta__field textarea {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.15s, background 0.15s;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}
.rep-cta__field input::placeholder,
.rep-cta__field textarea::placeholder { color: rgba(255,255,255,0.25); }
.rep-cta__field input:focus,
.rep-cta__field textarea:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(255,255,255,0.12);
}
.rep-cta__field textarea { resize: none; }

.rep-cta__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 13px;
    cursor: pointer;
    transition: background 0.15s;
    box-shadow: 0 4px 20px rgba(37,99,235,0.5);
    margin-top: 2px;
}
.rep-cta__submit:hover { background: #1d4ed8; }
.rep-cta__submit:disabled { opacity: 0.6; cursor: not-allowed; }

.rep-cta__note {
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    margin: 0;
}
.rep-cta__result {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}
.rep-cta__result.is-success { background: rgba(16,185,129,0.2); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.rep-cta__result.is-error   { background: rgba(239,68,68,0.2);  color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }

@media (max-width: 900px) {
    .rep-cta { grid-template-columns: 1fr; }
    .rep-cta__left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
    .rep-single__layout {
        grid-template-columns: 1fr;
    }
    .rep-single__sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .rep-filters__inner {
        flex-direction: column;
    }
    .rep-filter-group {
        flex: 1 1 100%;
    }
    .rep-filter-actions {
        width: 100%;
    }
    .rep-grid {
        grid-template-columns: 1fr;
    }
    .rep-single__header {
        flex-direction: column;
    }
    .rep-single__specs {
        justify-content: center;
    }
}

/* =====================================================
   FLOOR PLANS GALLERY
   ===================================================== */
.rep-floorplans {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 14px;
    border: 1px solid #dbeafe;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
}
.rep-floorplans__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 32px 24px;
    border-bottom: 1px solid #dbeafe;
    background: #fff;
}
.rep-floorplans__header-icon {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rep-primary);
    flex-shrink: 0;
}
.rep-floorplans__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rep-heading);
    margin: 0 0 2px;
}
.rep-floorplans__sub {
    font-size: 0.875rem;
    color: var(--rep-muted);
    margin: 0;
}
.rep-floorplans__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 24px;
}
.rep-floorplan-card {
    position: relative;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15,23,42,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    min-width: 0;
}
.rep-floorplan-card:hover {
    transform: translateY(-3px);
    border-color: #93c5fd;
    box-shadow: 0 18px 38px rgba(37,99,235,0.15);
}

.rep-floorplan-card__thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #052344;
}
.rep-floorplan-card__thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 44%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 34%, rgba(5,35,68,0) 58%),
        linear-gradient(180deg, rgba(5,35,68,0.36) 0%, rgba(5,35,68,0.72) 100%);
    pointer-events: none;
}
.rep-floorplan-card__img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    padding: 0;
    filter: blur(5px) brightness(0.82) saturate(0.92);
    transform: scale(1.06);
    transition: transform 0.35s ease, filter 0.35s ease;
}
.rep-floorplan-card:hover .rep-floorplan-card__img {
    filter: blur(4px) brightness(0.9) saturate(1);
    transform: scale(1.09);
}
.rep-floorplan-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(5,35,68,0.08) 0%, rgba(5,35,68,0.45) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    padding: 14px;
    transition: opacity 0.25s;
}
.rep-floorplan-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--rep-primary);
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(15,23,42,0.18);
    transition: background 0.15s, transform 0.15s, color 0.15s;
}
.rep-floorplan-card__btn:hover {
    background: var(--rep-primary);
    color: #fff;
    transform: scale(1.04);
}
.rep-floorplan-card__info {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.rep-floorplan-card__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 4px 10px;
    align-self: flex-start;
}
.rep-floorplan-card__name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--rep-heading);
    margin: 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.rep-floorplan-card__area {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
    font-weight: 700;
}
.rep-floorplan-card__area:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

/* ─── Floor Plan Popup ─── */
.rep-floorplan-popup__backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15,23,42,0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
    animation: rep-fade-in 0.2s ease;
}
@keyframes rep-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.rep-floorplan-popup {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 32px 80px rgba(0,0,0,0.3);
    animation: rep-slide-up 0.25s ease;
}
@keyframes rep-slide-up {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.rep-floorplan-popup__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1px solid var(--rep-border);
    gap: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}
.rep-floorplan-popup__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--rep-primary);
    background: var(--rep-primary-light);
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 6px;
}
.rep-floorplan-popup__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--rep-heading);
    margin: 0 0 2px;
}
.rep-floorplan-popup__area {
    font-size: 0.85rem;
    color: var(--rep-muted);
    margin: 0;
}
.rep-floorplan-popup__close {
    position: relative;
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--rep-border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--rep-muted);
    font-size: 0;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.rep-floorplan-popup__close::before {
    content: "X";
    display: block;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    color: currentColor;
}
.rep-floorplan-popup__close svg,
.rep-floorplan-popup__close img {
    display: none;
}
.rep-floorplan-popup__close:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}
.rep-floorplan-popup__body {
    overflow-y: auto;
    flex: 1;
    background: #f8fafc;
    padding: 24px;
}
.rep-floorplan-lead {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}
.rep-floorplan-lead__intro {
    margin-bottom: 18px;
}
.rep-floorplan-lead__intro h3 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    color: var(--rep-heading);
}
.rep-floorplan-lead__intro p {
    margin: 0;
    color: var(--rep-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}
.rep-floorplan-lead__form,
.rep-floorplan-lead__cf7 {
    display: grid;
    gap: 14px;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(15,23,42,0.06);
}
.rep-floorplan-lead__form label {
    display: grid;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #334155;
}
.rep-floorplan-lead__form input,
.rep-floorplan-lead__cf7 input,
.rep-floorplan-lead__cf7 select {
    width: 100%;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 12px;
    font: inherit;
    line-height: 1.2;
    color: var(--rep-text);
    background: #fff;
}
.rep-floorplan-lead__cf7 textarea {
    width: 100%;
    min-height: 90px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    line-height: 1.35;
    color: var(--rep-text);
    background: #fff;
    resize: vertical;
}
.rep-floorplan-lead__form input:focus,
.rep-floorplan-lead__cf7 input:focus,
.rep-floorplan-lead__cf7 textarea:focus,
.rep-floorplan-lead__cf7 select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.14);
}
.rep-floorplan-lead__form button,
.rep-floorplan-lead__cf7 input[type="submit"],
.rep-floorplan-lead__cf7 button {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: #1d4ed8;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    padding: 12px 16px;
    box-shadow: 0 12px 24px rgba(37,99,235,0.22);
}
.rep-floorplan-lead__form button:hover,
.rep-floorplan-lead__cf7 input[type="submit"]:hover,
.rep-floorplan-lead__cf7 button:hover {
    background: #1e40af;
}
.rep-form-result {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.875rem;
    font-weight: 700;
}
.rep-form-result.is-success {
    display: block;
    background: #dcfce7;
    color: #166534;
}
.rep-form-result.is-error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}
.rep-floorplan-popup__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    border-top: 1px solid var(--rep-border);
    flex-shrink: 0;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .rep-floorplans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .rep-floorplans__header { padding: 20px; align-items: flex-start; }
    .rep-floorplans__grid { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
    .rep-floorplan-card__thumb { aspect-ratio: 4/3; }
    .rep-floorplan-card__info { padding: 16px; }
}

/* =====================================================
   HERO STATUS BOX
   ===================================================== */
.rep-hero__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.rep-hero__status-box {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid;
    border-radius: 10px;
    padding: 10px 16px;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}
.rep-hero__status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: rep-pulse 2s infinite;
}
@keyframes rep-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.55; }
}
.rep-hero__status-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,.55);
    line-height: 1;
    margin-bottom: 3px;
}
.rep-hero__status-val {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

/* =====================================================
   UNIT DETAIL TABLES
   ===================================================== */
.rep-unit-tables {
    background: #fff;
    border: 1px solid var(--rep-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.04);
}
.rep-unit-tables__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--rep-border);
    background: linear-gradient(135deg, #f8fafc, #eef6ff);
}
.rep-unit-tables__header-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a56db;
    background: #dbeafe;
    flex-shrink: 0;
}
.rep-unit-tables__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    color: var(--rep-text);
}
.rep-unit-tables__sub {
    margin: 5px 0 0;
    color: var(--rep-muted);
    font-size: 14px;
}
.rep-unit-table-card {
    padding: 20px 24px 24px;
    border-bottom: 1px solid var(--rep-border);
}
.rep-unit-table-card:last-child { border-bottom: none; }
.rep-unit-table-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.rep-unit-table-card__head h3 {
    margin: 0;
    color: var(--rep-text);
    font-size: 18px;
}
.rep-unit-table-card__head span {
    color: #1a56db;
    background: #eff6ff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
}

/* =====================================================
   SINGLE PAGE SECTION SPACING + FINAL CTA
   ===================================================== */
.rep-gallery-section,
.rep-highlights,
.rep-amenities,
.rep-location,
.rep-overview,
.rep-floorplans,
.rep-unit-tables,
.rep-single__video,
.rep-final-cta,
.rep-related-projects {
    margin-top: 0;
    margin-bottom: 32px;
}

.rep-final-cta {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 34px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #059669 100%);
    color: #fff;
    box-shadow: 0 22px 52px rgba(15,23,42,0.18);
}

.rep-final-cta:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.12), transparent 38%);
    pointer-events: none;
}

.rep-final-cta__content,
.rep-final-cta__button {
    position: relative;
    z-index: 1;
}

.rep-final-cta__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rep-final-cta h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 900;
}

.rep-final-cta p {
    max-width: 780px;
    margin: 0;
    color: rgba(255,255,255,0.84);
    font-size: 15px;
    line-height: 1.65;
}

.rep-final-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    background: #fff;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(15,23,42,0.18);
}

.rep-final-cta__button:hover {
    background: #dbeafe;
    color: #1e40af;
}

.rep-related-projects {
    width: 100%;
    background: var(--rep-white);
    border: 1px solid var(--rep-border);
    border-radius: var(--rep-radius);
    box-shadow: var(--rep-shadow);
    overflow: hidden;
}

.rep-related-projects__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    margin: 0;
    text-align: left;
    border-bottom: 1px solid var(--rep-border);
}

.rep-related-projects__header-icon {
    width: 40px;
    height: 40px;
    background: #052344;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.rep-related-projects__head h2 {
    margin: 0 0 2px;
    color: #052344;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;
}

.rep-related-projects__head p {
    margin: 0;
    color: var(--rep-muted);
    font-size: 12px;
    line-height: 1.45;
}

.rep-related-projects__body {
    padding: 28px;
}

.rep-related-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.rep-related-projects__grid .rep-card {
    height: 100%;
}

.rep-single__main > :last-child,
.rep-single__main > section:last-child,
.rep-single__main > div:last-child,
.rep-single .rep-related-projects:last-child,
.rep-single .rep-final-cta:last-child {
    margin-bottom: 0 !important;
}

/* Final alignment guard: hero content and sections share one edge. */
.rep-single {
    --rep-align-width: 1230px;
}

.rep-single .rep-hero {
    border: 0 !important;
}

.rep-single .rep-hero__nav,
.rep-single .rep-hero__content {
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.rep-single .rep-hero__nav > .rep-container,
.rep-single .rep-hero__content > .rep-container {
    width: calc(100% - 10px) !important;
    max-width: var(--rep-align-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.rep-single .rep-hero__badges,
.rep-single .rep-hero__address,
.rep-single .rep-hero__bottom-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.rep-single .rep-hero__address {
    border-top: 0 !important;
}

.rep-single .rep-hero__bottom-row {
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    flex-direction: row !important;
}

.rep-single .rep-hero__bottom-row .rep-hero__title {
    margin-bottom: 0 !important;
    min-width: 0 !important;
}

.rep-single .rep-hero__status-box {
    align-self: center !important;
    flex: 0 0 auto !important;
    margin-top: 0 !important;
}

@media (max-width: 700px) {
    .rep-single .rep-hero__bottom-row {
        align-items: center !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .rep-single .rep-hero__status-box {
        align-self: center !important;
    }
}

@media (max-width: 420px) {
    .rep-single .rep-hero__bottom-row {
        align-items: flex-start !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    .rep-single .rep-hero__status-box {
        align-self: flex-start !important;
    }
}

.rep-single > .rep-container {
    padding-bottom: 0 !important;
}

@media (max-width: 700px) {
    .rep-gallery-section,
    .rep-highlights,
    .rep-amenities,
    .rep-location,
    .rep-overview,
    .rep-floorplans,
    .rep-unit-tables,
    .rep-single__video,
    .rep-final-cta,
    .rep-related-projects {
        margin-top: 0;
        margin-bottom: 24px;
    }

    .rep-single__layout {
        padding-bottom: 0 !important;
    }

    .rep-final-cta {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .rep-final-cta h2 {
        font-size: 23px;
    }

    .rep-final-cta__button {
        width: 100%;
    }

    .rep-related-projects {
        margin-top: 0;
        margin-bottom: 24px;
    }

    .rep-related-projects__head {
        padding: 18px;
        align-items: flex-start;
    }

    .rep-related-projects__body {
        padding: 18px;
    }

    .rep-related-projects__head h2 {
        font-size: 18px;
        line-height: 1.25;
    }

    .rep-related-projects__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.rep-unit-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--rep-border);
    border-radius: 10px;
    line-height: 0;
}
.rep-unit-table {
    width: 100%;
    min-width: 1040px;
    border-collapse: collapse;
    background: #fff;
    margin: 0;
    line-height: normal;
}
.rep-unit-table th {
    text-align: left;
    color: #475569;
    background: #f8fafc;
    font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 14px;
    border-bottom: 1px solid var(--rep-border);
    white-space: nowrap;
}
.rep-unit-table td {
    color: var(--rep-text);
    padding: 13px 14px;
    border-bottom: 1px solid #eef2f7;
    font-size: 14px;
    vertical-align: top;
}
.rep-unit-table tbody tr:last-child td { border-bottom: none; }
.rep-unit-table tbody tr:hover { background: #f8fafc; }
.rep-unit-table strong {
    color: #0f766e;
    font-weight: 800;
    white-space: nowrap;
}
.rep-unit-table__pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 760px) {
    .rep-unit-tables__header,
    .rep-unit-table-card {
        padding-left: 16px;
        padding-right: 16px;
    }
    .rep-unit-table-wrap {
        overflow: visible;
        border: none;
        border-radius: 0;
    }
    .rep-unit-table {
        min-width: 0;
        display: block;
    }
    .rep-unit-table thead {
        display: none;
    }
    .rep-unit-table tbody,
    .rep-unit-table tr,
    .rep-unit-table td {
        display: block;
        width: 100%;
    }
    .rep-unit-table tr {
        border: 1px solid var(--rep-border);
        border-radius: 10px;
        margin-bottom: 12px;
        overflow: hidden;
        background: #fff;
    }
    .rep-unit-table tr:last-child {
        margin-bottom: 0;
    }
    .rep-unit-table td {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: 12px;
        border-bottom: 1px solid #eef2f7;
        padding: 11px 12px;
    }
    .rep-unit-table td:before {
        content: attr(data-label);
        color: var(--rep-muted);
        font-size: 12px;
        font-weight: 700;
    }
    .rep-unit-table td:last-child {
        border-bottom: none;
    }
}

/* =====================================================
   RESPONSIVE POLISH OVERRIDES
   ===================================================== */
.rep-wrapper,
.rep-wrapper *,
.rep-single,
.rep-single *,
.rep-popup-backdrop,
.rep-popup-backdrop *,
.rep-floorplan-popup__backdrop,
.rep-floorplan-popup__backdrop * {
    box-sizing: border-box;
}

.rep-container,
.rep-single__main,
.rep-single__sidebar,
.rep-card,
.rep-sidebar-card,
.rep-cta,
.rep-unit-tables,
.rep-final-cta,
.rep-floorplan-popup,
.rep-floorplan-lead,
.rep-floorplan-lead__form,
.rep-floorplan-lead__cf7 {
    min-width: 0;
}

.rep-input,
.rep-select,
.rep-sidebar-card input,
.rep-sidebar-card textarea,
.rep-sidebar-card select,
.rep-cta input,
.rep-cta textarea,
.rep-cta select,
.rep-floorplan-lead__form input,
.rep-floorplan-lead__cf7 input,
.rep-floorplan-lead__cf7 textarea,
.rep-floorplan-lead__cf7 select {
    max-width: 100%;
    font-family: inherit;
}

.rep-sidebar-card form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rep-sidebar-card textarea.rep-input,
.rep-sidebar-card textarea {
    min-height: 92px;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    resize: vertical;
}

.rep-filter-actions label {
    display: none;
}

.rep-card__title,
.rep-card__address,
.rep-card__price {
    overflow-wrap: anywhere;
}

.rep-info-box__value {
    white-space: normal;
    overflow-wrap: anywhere;
}

.rep-gallery-section,
.rep-highlights,
.rep-amenities,
.rep-floorplans,
.rep-location,
.rep-overview,
.rep-unit-tables,
.rep-cta,
.rep-final-cta {
    max-width: 100%;
}

.rep-cta {
    color: #fff;
}

.rep-cta > * {
    position: relative;
    z-index: 1;
}

.rep-unit-table th,
.rep-unit-table td {
    overflow-wrap: anywhere;
}

.rep-unit-table td:empty:after {
    content: "-";
    color: var(--rep-muted);
}

.rep-popup-backdrop {
    padding: 18px;
}

.rep-enquiry-popup,
.rep-floorplan-popup {
    max-width: min(720px, 100%);
    max-height: calc(100vh - 36px);
}

.rep-floorplan-popup__backdrop {
    padding-left: 16px;
    padding-right: 16px;
}

.rep-floorplan-popup {
    width: min(680px, 100%);
}

.rep-floorplan-popup__header,
.rep-floorplan-popup__body {
    min-width: 0;
}

.rep-floorplan-lead__form label,
.rep-floorplan-lead__cf7 p {
    min-width: 0;
}

@media (max-width: 900px) {
    .rep-container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .rep-single__layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px;
        padding-bottom: 0 !important;
        width: 100%;
        max-width: 100%;
    }

    .rep-single__main,
    .rep-single__sidebar {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        width: 100%;
    }

    .rep-cta {
        grid-template-columns: 1fr;
    }

    .rep-cta__left,
    .rep-cta__form-wrap {
        padding: 28px;
    }

    .rep-cta__stats {
        flex-wrap: wrap;
        gap: 18px 24px;
    }
}

@media (max-width: 700px) {
    .rep-breadcrumb,
    .rep-breadcrumb--light {
        display: none !important;
    }

    .side-menu-toggle,
    .sticky-menu-toggle,
    .floating-menu-toggle,
    .offcanvas-toggle,
    .off-canvas-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.single-rep_property .hfe-nav-menu-icon,
    body.single-rep_property .hfe-flyout-trigger,
    body.single-rep_property .elementskit-menu-hamburger,
    body.single-rep_property .ekit_navSidebar-button,
    body.single-rep_property .uael-nav-menu__toggle,
    body.single-rep_property .premium-mobile-menu-toggle,
    body.single-rep_property .jet-mobile-menu__toggle,
    body.single-rep_property .rmp_menu_trigger,
    body.single-rep_property [id^="rmp_menu_trigger"],
    body.single-rep_property .responsive-menu-button,
    body.single-rep_property .meanmenu-reveal,
    body.single-rep_property .mobmenu-trigger-action,
    body.single-rep_property .mob-menu-toggle,
    body.single-rep_property .mobile-menu-icon,
    body.single-rep_property .dt-mobile-menu-icon,
    body.single-rep_property .aux-burger,
    body.single-rep_property .hamburger,
    body.single-rep_property [class*="hamburger"],
    body.single-rep_property [class*="burger"],
    body.single-rep_property [class*="offcanvas"][class*="toggle"],
    body.single-rep_property [class*="off-canvas"][class*="toggle"],
    body.single-rep_property [class*="side"][class*="menu"][class*="toggle"],
    body.single-rep_property [class*="mobile"][class*="menu"][class*="toggle"],
    body.single-rep_property [class*="mobile"][class*="nav"][class*="toggle"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .rep-filters {
        padding: 14px;
        margin-bottom: 20px;
    }

    .rep-container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .rep-info-boxes {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 12px;
        margin-bottom: 22px;
    }

    .rep-info-box {
        padding: 14px 16px;
    }

    .rep-filters__inner {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rep-filter-group,
    .rep-filter-actions {
        min-width: 0;
        width: 100%;
    }

    .rep-price-range {
        width: 100%;
    }

    .rep-filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .rep-filter-actions .rep-btn {
        justify-content: center;
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .rep-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .rep-card__img-wrap {
        aspect-ratio: 4 / 3;
        min-height: 260px;
    }

    .rep-gallery-section__header,
    .rep-highlights__header,
    .rep-amenities__header,
    .rep-floorplans__header,
    .rep-location__header,
    .rep-unit-tables__header {
        align-items: flex-start;
        padding: 16px;
    }

    .rep-gallery-section__body,
    .rep-highlights__body,
    .rep-amenities__body,
    .rep-location__body {
        padding: 14px;
    }

    .rep-unit-tables__title,
    .rep-floorplans__title,
    .rep-location__title,
    .rep-amenities__title,
    .rep-highlights__title,
    .rep-overview__title {
        font-size: 18px;
        line-height: 1.25;
    }

    .rep-sidebar-card {
        padding: 18px;
    }

    .rep-cta__headline {
        font-size: 22px;
    }

    .rep-cta__agent {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .rep-cta__agent-call {
        width: 100%;
        justify-content: center;
    }

    .rep-unit-table td {
        grid-template-columns: minmax(86px, 34%) minmax(0, 1fr);
        gap: 10px;
    }
}

/* Last alignment guard: desktop first, mobile below. */
@media (min-width: 901px) {
    .rep-single .rep-hero__nav,
    .rep-single .rep-hero__content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .rep-single > .rep-container,
    .rep-single .rep-hero__nav > .rep-container,
    .rep-single .rep-hero__content > .rep-container {
        width: min(1230px, calc(100% - 10px)) !important;
        max-width: 1230px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .rep-single .rep-info-boxes,
    .rep-single .rep-hero__badges,
    .rep-single .rep-hero__bottom-row,
    .rep-single .rep-hero__address {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.single-rep_property .rep-single .rep-hero__nav > .rep-container,
    body.single-rep_property .rep-single .rep-hero__content > .rep-container {
        width: min(1191px, calc(100% - 40px)) !important;
        max-width: 1191px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 900px) {
    .rep-single .rep-hero__nav > .rep-container,
    .rep-single .rep-hero__content > .rep-container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

@media (max-width: 780px) {
    .rep-single .rep-info-boxes {
        grid-template-columns: 1fr !important;
    }
}

/* Align hero text to the visible stat-card face on compact layouts. */
@media (max-width: 900px) {
    .rep-single .rep-hero__badges,
    .rep-single .rep-hero__bottom-row,
    .rep-single .rep-hero__address {
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 420px) {
    .rep-container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .rep-filters,
    .rep-sidebar-card,
    .rep-gallery-section,
    .rep-highlights,
    .rep-amenities,
    .rep-floorplans,
    .rep-location,
    .rep-overview,
    .rep-unit-tables,
    .rep-cta {
        border-radius: 8px;
    }

    .rep-price-range {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
    }

    .rep-filter-actions {
        grid-template-columns: 1fr;
    }

    .rep-btn {
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .rep-unit-table-card__head {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ---- Narayana Estate brand palette ---- */
.rep-btn--primary,
.rep-page-btn.is-active,
.rep-card__view,
.rep-badge--status,
.rep-info-box--blue,
.rep-details-card h3,
.rep-cta__submit,
.rep-floorplan-card__btn,
.rep-location__map-link {
    background: #052344;
    border-color: #052344;
    color: #fff;
}

.rep-btn--primary:hover,
.rep-card__view:hover,
.rep-cta__submit:hover,
.rep-floorplan-card__btn:hover,
.rep-location__map-link:hover {
    background: #c98e36;
    border-color: #c98e36;
    color: #fff;
}

.rep-badge--featured,
.rep-info-box--amber,
.rep-hero-badge--featured,
.rep-location__dot--amber,
.rep-cta__badge,
.rep-floorplan-card__tag {
    background: #c98e36;
    border-color: #c98e36;
    color: #fff;
}

.rep-hero-badge--status,
.rep-info-box--green,
.rep-highlights__bullet,
.rep-unit-table__pill,
.rep-form__result.is-success,
.rep-cta__result.is-success {
    background: #15803d;
    border-color: #15803d;
    color: #fff;
}

.rep-form__result.is-error,
.rep-cta__result.is-error,
.rep-location__dot--rose {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.rep-info-box--violet,
.rep-hero-badge--type,
.rep-overview__header-icon,
.rep-gallery-section__icon,
.rep-amenities__header-icon,
.rep-floorplans__header-icon,
.rep-location__header-icon,
.rep-unit-tables__header-icon,
.rep-highlights__header-icon {
    background: #052344;
    color: #fff;
}

.rep-card--featured,
.rep-card:hover,
.rep-floorplan-card:hover,
.rep-amenities__item:hover,
.rep-highlights__item:hover {
    border-color: #c98e36;
}

.rep-card__type,
.rep-card__price,
.rep-card__title a:hover,
.rep-breadcrumb a,
.rep-overview__fact-key,
.rep-amenities__label,
.rep-location__pin,
.rep-unit-table strong,
.rep-floorplan-card__area,
.rep-related-projects__eyebrow {
    color: #052344;
}

.rep-card__price-prefix,
.rep-card__price-suffix,
.rep-card__address,
.rep-overview__sub,
.rep-gallery-section__sub,
.rep-highlights__sub,
.rep-amenities__sub,
.rep-floorplans__sub,
.rep-location__sub,
.rep-unit-tables__sub {
    color: #052344;
}

.rep-cta,
.rep-related-projects__cta {
    background: #052344;
    color: #fff;
}

.rep-wrapper .rep-card,
.rep-single .rep-card {
    height: auto !important;
    min-height: 0 !important;
}

.rep-wrapper .rep-card__body,
.rep-single .rep-card__body {
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    min-height: 0 !important;
}

.rep-wrapper .rep-card__type,
.rep-single .rep-card__type {
    margin-top: 0 !important;
}

.rep-wrapper .rep-card__img-wrap,
.rep-single .rep-card__img-wrap {
    min-height: 300px !important;
}

.rep-wrapper .rep-card__img-wrap img.rep-card__img,
.rep-wrapper .rep-card__img-wrap .rep-card__img,
.rep-single .rep-card__img-wrap img.rep-card__img,
.rep-single .rep-card__img-wrap .rep-card__img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: inherit !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center top !important;
    background-size: cover !important;
    background-position: center top !important;
}

@media (max-width: 700px) {
    .rep-wrapper .rep-card__img-wrap,
    .rep-single .rep-card__img-wrap {
        min-height: 260px !important;
    }
}

.rep-single .rep-single__layout {
    padding-bottom: 0 !important;
}

.rep-single .rep-single__main > :last-child {
    margin-bottom: 0 !important;
}

.rep-single .rep-related-projects:last-child,
.rep-single .rep-final-cta:last-child {
    margin-bottom: 0 !important;
}
