/*
 * Property Listing Plugin v2.3.0 — Frontend Styles
 *
 * ALL rules prefixed with .pl-wrapper or #pl-modal-overlay so nothing
 * leaks into Elementor widgets or Hub Theme elements on the same page.
 */

/* ── Scoped box-model reset ── */
.pl-wrapper *,
.pl-wrapper *::before,
.pl-wrapper *::after,
#pl-modal-overlay *,
#pl-modal-overlay *::before,
#pl-modal-overlay *::after {
    box-sizing: border-box;
}

/* ================================================================
   CARD STACK
   ================================================================ */

.pl-wrapper .pl-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

/* ----------------------------------------------------------------
   Single card
   ---------------------------------------------------------------- */
.pl-wrapper .pl-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}
.pl-wrapper .pl-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.pl-wrapper .pl-card-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    min-height: 300px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* Both columns must not escape the grid */
.pl-wrapper .pl-card-media,
.pl-wrapper .pl-card-info {
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

/* ================================================================
   LEFT COLUMN — MEDIA
   ================================================================ */

.pl-wrapper .pl-card-media {
    display: flex;
    flex-direction: column;
    background: #f3f4f6;
    border-right: 1px solid #e5e7eb;
}

.pl-wrapper .pl-main-image-wrap {
    flex: 1;
    overflow: hidden;
    min-height: 240px;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ── Status badge (For Sale / Sold Out) ── */
.pl-wrapper .pl-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.5;
    pointer-events: none;
    z-index: 2;
}
.pl-wrapper .pl-status-badge--current-project {
    background: linear-gradient(135deg, #fdf3e3 0%, #e8c07a 100%);
    color: #3d2400;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.pl-wrapper .pl-status-badge--past-project {
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
}
.pl-wrapper .pl-main-image-wrap img.pl-main-img {
    width: 100%;
    flex: 1;              /* fills the wrap — eliminates white gap above gallery strip */
    min-height: 220px;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.pl-wrapper .pl-no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 260px;
    gap: 10px;
    color: #9ca3af;
    font-size: 13px;
}

/* ---- Gallery strip ---- */
.pl-wrapper .pl-gallery-strip {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #BE965C 0%, #f0d49a 50%, #BE965C 100%);
    padding: 6px 4px;
    gap: 4px;
    flex-shrink: 0;
}

.pl-wrapper .pl-gal-arrow {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: rgba(0,0,0,0.55);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: background 0.15s, color 0.15s;
    line-height: 0;
}
.pl-wrapper .pl-gal-arrow:hover { background: rgba(0,0,0,0.1); color: #020D33; }
.pl-wrapper .pl-gal-arrow:disabled { opacity: 0.3; cursor: default; }

.pl-wrapper .pl-gal-track-wrap { flex: 1; overflow: hidden; }

.pl-wrapper .pl-gal-track {
    display: flex;
    gap: 4px;
    transform: translateX(0);
    transition: transform 0.25s ease;
    will-change: transform;
}

.pl-wrapper .pl-gal-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    padding: 0;
    margin: 0;
    background: none;
    border: 2px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s;
}
.pl-wrapper .pl-gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.pl-wrapper .pl-gal-thumb.is-active,
.pl-wrapper .pl-gal-thumb:hover { border-color: #020D33; }

/* ================================================================
   RIGHT COLUMN — INFO
   ================================================================ */

.pl-wrapper .pl-card-info {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0; /* prevents grid blowout on mobile */
    overflow: hidden;
}

/* Hide jQuery UI selectmenu buttons inside pl-wrapper (Hub Theme injects these) */
.pl-wrapper .ui-selectmenu-button {
    display: none !important;
}

/* Card header: name left, price right */
.pl-wrapper .pl-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
}

/* Title */
.pl-wrapper .pl-prop-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #020D33 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    padding: 0 !important;
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

/* Price */
.pl-wrapper .pl-price {
    font-size: 18px;
    font-weight: 700;
    color: #BE965C;
    margin: 0;
    line-height: 1.3;
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
}

/* Location */
.pl-wrapper .pl-location {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 12px;
    word-break: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

/* Description */
.pl-wrapper .pl-prop-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.pl-wrapper .pl-prop-desc p { margin: 0 0 6px; }
.pl-wrapper .pl-prop-desc p:last-child { margin-bottom: 0; }

/* Specs */
.pl-wrapper .pl-specs {
    list-style: none !important;
    margin: 0 0 16px !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.pl-wrapper .pl-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin: 0 !important;
    padding: 0 !important;
}
.pl-wrapper .pl-spec::before { display: none !important; }
.pl-wrapper .pl-icon { color: #6b7280; flex-shrink: 0; display: inline-flex; vertical-align: middle; }

/* Card action buttons row */
.pl-wrapper .pl-card-actions {
    margin-top: auto;
    padding-top: 4px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ================================================================
   BUTTONS
   ================================================================ */

.pl-wrapper .pl-btn,
#pl-modal-overlay .pl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-decoration: none !important;
    border: 2px solid transparent;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    font-family: inherit;
}
.pl-wrapper .pl-btn--primary,
#pl-modal-overlay .pl-btn--primary {
    background: #020D33; color: #fff !important; border-color: #020D33;
}
.pl-wrapper .pl-btn--primary:hover,
#pl-modal-overlay .pl-btn--primary:hover {
    background: #0a1f5c; border-color: #0a1f5c; color: #fff !important;
}
.pl-wrapper .pl-btn--outline,
#pl-modal-overlay .pl-btn--outline {
    background: transparent; color: #374151 !important; border-color: #d1d5db;
}
.pl-wrapper .pl-btn--outline:hover,
#pl-modal-overlay .pl-btn--outline:hover {
    background: #f3f4f6; color: #111827 !important;
}
.pl-wrapper .pl-btn--whatsapp {
    background: #25D366; color: #fff !important; border-color: #25D366;
}
.pl-wrapper .pl-btn--whatsapp:hover {
    background: #1ebe5d; border-color: #1ebe5d; color: #fff !important;
}
.pl-wrapper .pl-btn--whatsapp svg,
.pl-wrapper .pl-btn--whatsapp svg path { fill: #ffffff !important; }

/* ================================================================
   FILTER BAR
   ================================================================ */

.pl-wrapper.pl-listing--filter .pl-filter-form {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pl-wrapper .pl-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

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

.pl-wrapper .pl-filter-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
}

.pl-wrapper .pl-select,
.pl-wrapper .pl-input {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    padding: 9px 11px !important;
    font-size: 14px !important;
    color: #111827 !important;
    background: #fff !important;
    line-height: 1.4 !important;
    width: 100% !important;
    font-family: inherit !important;
    height: auto !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
}
.pl-wrapper .pl-select { cursor: pointer; }
.pl-wrapper .pl-select:focus,
.pl-wrapper .pl-input:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 1px;
    border-color: #3b82f6;
}

/* Mobile filter expand/collapse toggle */
.pl-wrapper .pl-filter-more-btn {
    display: none; /* shown only on mobile via media query */
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    font-family: inherit;
    margin-top: 2px;
}
.pl-wrapper .pl-filter-more-btn .pl-more-chevron {
    transition: transform 0.2s ease;
}
.pl-wrapper .pl-filter-more-btn.is-open .pl-more-chevron {
    transform: rotate(180deg);
}

/* Price range */
.pl-wrapper .pl-price-range {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pl-wrapper .pl-price-input { min-width: 90px; width: 90px; }
.pl-wrapper .pl-price-sep { color: #9ca3af; font-size: 13px; flex-shrink: 0; }

.pl-wrapper .pl-filter-actions {
    flex-direction: row;
    align-items: flex-end;
    gap: 8px;
    min-width: auto;
}

/* Results meta */
.pl-wrapper .pl-results-meta {
    margin-bottom: 16px;
    font-size: 13px;
    color: #6b7280;
}

/* Loading overlay over results */
.pl-wrapper .pl-results {
    position: relative;
    min-height: 100px;
}
.pl-wrapper .pl-results.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    z-index: 10;
}
.pl-wrapper .pl-results.is-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 11;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: pl-spin 0.7s linear infinite;
}

/* ================================================================
   PAGINATION
   ================================================================ */

.pl-wrapper .pl-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 40px;
}
.pl-wrapper .pl-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    color: #374151 !important;
    text-decoration: none !important;
    background: #fff;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    line-height: 1;
}
.pl-wrapper .pl-pagination .page-numbers:hover { background: #f3f4f6; border-color: #9ca3af; }
.pl-wrapper .pl-pagination .page-numbers.current { background: #020D33; border-color: #020D33; color: #fff !important; font-weight: 700; }
.pl-wrapper .pl-pagination .page-numbers.dots { border-color: transparent; background: transparent; pointer-events: none; color: #9ca3af !important; }

/* ================================================================
   NO RESULTS
   ================================================================ */

.pl-wrapper .pl-no-results {
    text-align: center;
    color: #9ca3af;
    font-size: 15px;
    padding: 56px 20px;
    margin: 0;
}
.pl-wrapper .pl-no-results a { color: #2563eb; text-decoration: underline; }

/* ================================================================
   CAROUSEL  ([property_listing] shortcode)
   ================================================================ */

.pl-wrapper .pl-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pl-wrapper .pl-carousel-viewport {
    overflow: hidden;
    flex: 1;
    min-width: 0;
    /* Fade the peek edges so adjacent cards appear softly */
    -webkit-mask-image: linear-gradient(to right, transparent 0px, black 52px, black calc(100% - 52px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0px, black 52px, black calc(100% - 52px), transparent 100%);
}
.pl-wrapper .pl-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}
.pl-wrapper .pl-carousel-slide {
    transition: opacity 0.35s ease;
    opacity: 0.5;
}
.pl-wrapper .pl-carousel-slide.is-active {
    opacity: 1;
}
.pl-wrapper .pl-carousel-slide {
    flex-shrink: 0;
    /* width set by JS */
}

/* Carousel card: single-column (image top, info bottom) */
.pl-wrapper .pl-card--carousel .pl-card-inner {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    min-height: auto;
}
.pl-wrapper .pl-card--carousel .pl-card-media {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
}
.pl-wrapper .pl-card--carousel .pl-card-info {
    padding: 18px 20px;
}
.pl-wrapper .pl-card--carousel .pl-main-image-wrap img.pl-main-img {
    height: 260px;
    flex: none;       /* override flex:1 so it doesn't grow too tall */
    width: 100%;
    object-fit: cover;
}

/* Carousel arrow buttons */
.pl-wrapper .pl-car-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #020D33;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    line-height: 0;
    padding: 0;
}
.pl-wrapper .pl-car-arrow:hover:not(:disabled) { background: #BE965C; }
.pl-wrapper .pl-car-arrow:disabled { opacity: 0.25; cursor: default; }

/* "See All Projects" compact button (inside carousel cards) */
.pl-wrapper .pl-btn--see-all-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: transparent;
    color: #020D33;
    border: 2px solid #020D33;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
}
.pl-wrapper .pl-btn--see-all-sm:hover {
    background: #020D33;
    color: #ffffff;
    text-decoration: none;
}

/* ── Status sections (Current / Past Projects) ── */
.pl-wrapper .pl-status-section {
    margin-bottom: 48px;
}
.pl-wrapper .pl-status-section--past-project {
    margin-top: 60px;
}
.pl-wrapper .pl-status-section:last-child {
    margin-bottom: 0;
}
.pl-wrapper .pl-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #020D33;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #020D33;
    line-height: 1.3;
}

/* ── See All Projects button ── */
.pl-wrapper .pl-see-all-wrap {
    text-align: center;
    margin-top: 32px;
}
.pl-wrapper .pl-btn--see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: transparent;
    color: #020D33;
    border: 2px solid #020D33;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
}
.pl-wrapper .pl-btn--see-all:hover {
    background: #020D33;
    color: #ffffff;
    text-decoration: none;
}
.pl-wrapper .pl-btn--see-all svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.pl-wrapper .pl-btn--see-all:hover svg {
    transform: translateX(3px);
}

/* ================================================================
   ENQUIRY MODAL
   ================================================================ */

/*
 * Modal is built and injected by JS on first Enquire click.
 * display is controlled ONLY via JS inline style — never by CSS —
 * so no theme or plugin can override it.
 */
#pl-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    /* NO display here — JS sets display:none/flex via inline style */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
#pl-modal-overlay.pl-open {
    opacity: 1;
}

#pl-modal-overlay .pl-modal-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 36px 40px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(16px);
    transition: transform 0.2s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
#pl-modal-overlay.pl-open .pl-modal-box {
    transform: translateY(0);
}

#pl-modal-overlay .pl-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}
#pl-modal-overlay .pl-modal-close:hover { color: #111827; background: #f3f4f6; }

#pl-modal-overlay .pl-modal-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

#pl-modal-overlay .pl-modal-prop-name {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px;
}

/* Form fields */
#pl-modal-overlay .pl-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
#pl-modal-overlay .pl-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}
#pl-modal-overlay .pl-field-row .pl-field { margin-bottom: 0; }

#pl-modal-overlay .pl-field label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
#pl-modal-overlay .pl-field label span { color: #ef4444; }

#pl-modal-overlay .pl-field input,
#pl-modal-overlay .pl-field textarea {
    border: 1px solid #d1d5db;
    border-radius: 7px;
    padding: 10px 13px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    width: 100%;
    font-family: inherit;
    transition: border-color 0.15s;
    -webkit-appearance: none;
}
#pl-modal-overlay .pl-field input:focus,
#pl-modal-overlay .pl-field textarea:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 1px;
    border-color: #3b82f6;
}
#pl-modal-overlay .pl-field textarea { resize: vertical; min-height: 100px; }

#pl-modal-overlay .pl-form-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

#pl-modal-overlay .pl-submit-btn { min-width: 140px; justify-content: center; }

#pl-modal-overlay .pl-field select {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    padding: 10px 13px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 7px !important;
    font-size: 14px !important;
    color: #111827 !important;
    background: #fff !important;
    font-family: inherit !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
}

#pl-modal-overlay .pl-form-notice {
    font-size: 14px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 7px;
    flex: 1;
}
#pl-modal-overlay .pl-form-notice.is-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
#pl-modal-overlay .pl-form-notice.is-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Spinner animation */
@keyframes pl-spin {
    to { transform: rotate(360deg); }
}
.pl-spin { animation: pl-spin 0.8s linear infinite; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 900px) {
    .pl-wrapper .pl-card-inner { grid-template-columns: 300px 1fr; }
}

@media (max-width: 720px) {
    /* Card layout */
    .pl-wrapper .pl-card { overflow: hidden; max-width: 100%; }
    .pl-wrapper .pl-card-inner { grid-template-columns: 1fr; width: 100%; overflow: hidden; }
    .pl-wrapper .pl-card-media { border-right: none; border-bottom: 1px solid #e5e7eb; width: 100%; overflow: hidden; }
    .pl-wrapper .pl-main-image-wrap { min-height: 140px; }
    .pl-wrapper .pl-main-image-wrap img.pl-main-img { min-height: 200px; height: 200px; flex: none; }
    .pl-wrapper .pl-card-info { padding: 16px 18px; overflow: hidden; width: 100%; max-width: 100%; }
    .pl-wrapper .pl-card-header { flex-direction: column; gap: 2px; align-items: flex-start; width: 100%; overflow: hidden; }
    .pl-wrapper .pl-prop-title { font-size: 18px !important; width: 100%; }
    .pl-wrapper .pl-price { font-size: 16px; white-space: normal; text-align: left; }
    .pl-wrapper .pl-location { max-width: 100%; overflow: hidden; }
    .pl-wrapper .pl-prop-desc { word-break: break-word; overflow-wrap: break-word; max-width: 100%; }
    .pl-wrapper .pl-specs { gap: 12px; max-width: 100%; }
    .pl-wrapper .pl-card-actions { flex-wrap: wrap; }
    .pl-wrapper .pl-card-actions .pl-btn { flex: 1; justify-content: center; min-width: 120px; }

    /* Filter — mobile collapse */
    .pl-wrapper .pl-filter-more-btn { display: flex; }
    .pl-wrapper .pl-filter-advanced { display: none !important; }
    .pl-wrapper .pl-filter-advanced.is-open { display: flex !important; flex-direction: column; gap: 10px; }
    .pl-wrapper .pl-filter-row { flex-direction: column; gap: 10px; }
    .pl-wrapper .pl-filter-row--main .pl-filter-actions { flex-direction: row; }
    .pl-wrapper .pl-filter-row--main .pl-filter-actions .pl-btn { flex: 1; justify-content: center; }
    .pl-wrapper .pl-filter-group,
    .pl-wrapper .pl-fg--grow { width: 100%; min-width: 0; }
    .pl-wrapper .pl-select,
    .pl-wrapper .pl-input { width: 100% !important; }
    .pl-wrapper .pl-price-range { width: 100%; }
    .pl-wrapper .pl-price-input { width: 50% !important; min-width: 0; }

    /* Carousel — mobile: full width, no peek/fade, arrows top-right */
    .pl-wrapper .pl-carousel {
        flex-direction: column;
        position: relative;
        padding-top: 52px;
        gap: 0;
    }
    .pl-wrapper .pl-carousel-viewport {
        flex: none;
        width: 100%;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }
    .pl-wrapper .pl-carousel-slide,
    .pl-wrapper .pl-carousel-slide.is-active { opacity: 1; }
    .pl-wrapper .pl-car-arrow {
        position: absolute;
        top: 0;
        flex-shrink: 0;
    }
    .pl-wrapper .pl-car-prev { left: 0; right: auto; }
    .pl-wrapper .pl-car-next { right: 0; left: auto; }

    /* Modal */
    #pl-modal-overlay .pl-modal-box { padding: 24px 18px; }
    #pl-modal-overlay .pl-field-row { grid-template-columns: 1fr; }
}
