/* APTC Property Listing - Frontend Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --noir: #1A1915;
    --ivory: #F5F0E8;
    --ivory-dark: #EDE8DE;
    --biscuit: #C9A76A;
    --biscuit-light: #E8D4AC;
    --flat-earth: #7A5C35;
    --dusty: #242420;
    --silver: #C8CAC1;
    --gray: #8A8A82;
    --white: #FFFFFF;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --r-sm: 10px;
    --r-md: 18px;
    --r-lg: 28px;
}

.aptc-properties-wrapper,
.aptc-single-property-shortcode {
    font-family: 'Poppins', sans-serif;
    color: var(--noir);
}
.aptc-properties-wrapper h1,
.aptc-properties-wrapper h2,
.aptc-properties-wrapper h3,
.aptc-properties-wrapper h4,
.aptc-single-property-shortcode h1,
.aptc-single-property-shortcode h2,
.aptc-single-property-shortcode h3,
.aptc-single-property-shortcode h4 {
    font-family: Helvetica, Arial, sans-serif;
}

/* PAGE BANNER */
.page-banner {
    padding: 130px 80px 50px;
    background: var(--dusty);
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,25,21,0.95), rgba(122,92,53,0.15));
    pointer-events: none;
}
.page-banner * { position: relative; z-index: 1; }
.page-banner h1 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}
.page-banner h1 em { font-style: italic; font-weight: 300; color: var(--biscuit); }
.page-banner p { font-size: 14px; font-weight: 300; color: var(--silver); max-width: 500px; }

/* LAYOUT */
.props-layout {
    display: flex !important;
    gap: 24px;
    padding: 32px 24px 56px;
    max-width: 1320px;
    margin: 0 auto;
    align-items: flex-start;
}

/* SIDEBAR FILTERS */
.filter-sidebar {
    width: 280px;
    flex-shrink: 0;
    display: block !important;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}
.filter-sidebar::-webkit-scrollbar { width: 4px; }
.filter-sidebar::-webkit-scrollbar-thumb { background: var(--biscuit-light); border-radius: 4px; }
.filter-section {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 8px;
    padding: 20px 18px;
    margin-bottom: 12px;
}
.filter-section-title {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.filter-section-title .toggle-icon {
    font-size: 18px;
    color: var(--gray);
    cursor: pointer;
    transition: transform .3s;
}
.filter-section-title .toggle-icon.collapsed { transform: rotate(-90deg); }
.filter-group { margin-bottom: 14px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group-purpose {
    margin-bottom: 16px;
}
.filter-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 8px;
    display: block;
}
.filter-select, .filter-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--noir);
    background: var(--ivory);
    transition: border-color .3s, box-shadow .3s;
    outline: none;
}
.filter-select:focus, .filter-input:focus {
    border-color: var(--biscuit);
    box-shadow: 0 0 0 3px rgba(201,167,106,0.1);
}
.purpose-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: var(--ivory);
}
.purpose-tab {
    flex: 1 1 auto;
    min-width: 72px;
    min-height: 34px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--gray);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: background .2s, color .2s, box-shadow .2s;
}
.purpose-tab:hover,
.purpose-tab.is-active {
    background: var(--flat-earth);
    color: var(--white);
    box-shadow: 0 6px 14px rgba(55, 48, 40, 0.12);
}
.filter-range { display: flex; gap: 8px; align-items: center; }
.filter-range span { font-size: 11px; color: var(--gray); }
.filter-range .filter-input { width: calc(50% - 12px); }
.advanced-filter-toggle {
    width: 100%;
    margin: 2px 0 14px;
    padding: 10px 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    color: var(--flat-earth);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.advanced-filter-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ivory);
    color: var(--flat-earth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}
.advanced-filter-panel {
    padding-top: 2px;
}
.filter-btn {
    width: 100%;
    padding: 13px;
    background: var(--biscuit);
    color: var(--noir);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background .3s, transform .3s var(--ease-spring), box-shadow .3s;
    margin-top: 8px;
}
.filter-btn:hover {
    background: var(--flat-earth);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(122,92,53,0.3);
}
.filter-reset {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: var(--gray);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    margin-top: 8px;
    cursor: pointer;
    transition: border-color .3s, color .3s;
}
.filter-reset:hover { border-color: var(--biscuit); color: var(--biscuit); }

/* PROPERTY GRID */
.props-grid {
    flex: 1;
    min-width: 0;
}
#aptc-cards-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px;
    align-items: start;
}
.aptc-columns-2 #aptc-cards-container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.aptc-columns-3 #aptc-cards-container,
.aptc-columns-4 #aptc-cards-container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.aptc-layout-list #aptc-cards-container { grid-template-columns: 1fr !important; }
.prop-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-out);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block !important;
    box-shadow: 0 12px 34px rgba(26,25,21,0.08);
}
.prop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(26,25,21,0.12);
}
.prop-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--ivory-dark);
}
.prop-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ease-out);
}
.prop-card:hover .prop-card-img img { transform: scale(1.05); }
.prop-card-badge {
    position: absolute; top: 14px; left: 14px;
    font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 100px;
    background: rgba(245,240,232,0.15); backdrop-filter: blur(8px);
    border: 1px solid rgba(245,240,232,0.25); color: var(--white);
}
.prop-card-body { padding: 22px 20px; }
.prop-card-title {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 20px; font-weight: 700; color: var(--noir);
    line-height: 1.2; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prop-card-location {
    font-size: 12px; font-weight: 400; color: var(--gray);
    margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}
.prop-card-location svg { width: 14px; height: 14px; stroke: var(--biscuit); fill: none; stroke-width: 1.5; }
.prop-card-specs {
    display: flex; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 14px;
    padding-bottom: 14px; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.prop-card-spec {
    font-size: 12px; font-weight: 400; color: var(--noir);
    display: flex; align-items: center; gap: 5px;
}
.prop-card-spec svg { width: 15px; height: 15px; stroke: var(--flat-earth); fill: none; stroke-width: 1.5; }
.prop-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prop-card-price {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 22px; font-weight: 700; color: var(--biscuit);
    line-height: 1.1;
}
.prop-card-type {
    font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--flat-earth); background: var(--ivory); padding: 5px 10px; border-radius: 4px;
    white-space: nowrap;
}

/* RESULTS BAR */
.results-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px;
}
.results-count { font-size: 13px; font-weight: 400; color: var(--gray); }
.results-count strong { color: var(--noir); font-weight: 600; }
.results-sort { display: flex; align-items: center; gap: 10px; }
.results-sort label { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.results-sort select {
    padding: 8px 12px; border: 1px solid rgba(0,0,0,0.1); border-radius: 6px;
    font-family: 'Poppins', sans-serif; font-size: 12px; background: var(--white); color: var(--noir); outline: none;
}

/* PAGINATION */
.aptc-pagination { grid-column: 1/-1; text-align: center; padding: 32px 0; }
.aptc-pagination .page-numbers {
    display: inline-block; padding: 8px 14px; margin: 0 4px;
    border: 1px solid rgba(0,0,0,0.1); border-radius: 6px;
    font-size: 13px; color: var(--noir); text-decoration: none;
    transition: all .3s;
}
.aptc-pagination .page-numbers.current,
.aptc-pagination .page-numbers:hover {
    background: var(--biscuit); color: var(--white); border-color: var(--biscuit);
}
.aptc-load-more {
    padding: 14px 40px; background: var(--biscuit); color: var(--noir);
    font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    border: none; border-radius: 4px; cursor: pointer;
    transition: background .3s, transform .3s var(--ease-spring);
}
.aptc-load-more:hover {
    background: var(--flat-earth); color: var(--white); transform: translateY(-2px);
}

/* NO RESULTS */
.aptc-no-results { grid-column: 1/-1; text-align: center; padding: 60px 20px; }
.aptc-no-results p { font-size: 16px; color: var(--gray); }

/* LOADING */
.aptc-loading { opacity: 0.5; pointer-events: none; }

/* SINGLE PROPERTY STYLES */
.prop-hero {
    position: relative; min-height: 75vh; background: var(--dusty);
    overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
}
.prop-hero-bg { position: absolute; inset: 0; }
.prop-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.prop-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26,25,21,0.5) 0%, rgba(26,25,21,0.3) 40%, rgba(26,25,21,0.8) 100%);
    z-index: 2; pointer-events: none;
}
.hero-overlay-content { position: relative; z-index: 3; padding: 0 80px 52px; }
.hero-prop-ref {
    font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
    color: var(--biscuit); margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.hero-prop-ref::before { content: ''; width: 20px; height: 1px; background: var(--biscuit); }
.hero-prop-title {
    font-family: Helvetica, Arial, sans-serif;
    font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; color: var(--white);
    line-height: 1.1; margin-bottom: 14px; max-width: 750px;
}
.hero-prop-meta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.hero-meta-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 400; color: rgba(200,202,193,0.85);
}
.hero-meta-item svg { width: 18px; height: 18px; stroke: var(--biscuit); fill: none; stroke-width: 1.5; }
.hero-price { font-family: Helvetica, Arial, sans-serif; font-size: 32px; font-weight: 700; color: var(--biscuit); margin-left: auto; }

/* GALLERY */
.gallery-section { padding: 40px 80px 0; max-width: 1320px; margin: 0 auto; }
.gallery-section-title {
    font-family: Helvetica, Arial, sans-serif; font-size: 22px; font-weight: 700;
    color: var(--noir); margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between;
}
.gallery-view-all {
    font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--biscuit); cursor: pointer; transition: color .3s;
}
.gallery-view-all:hover { color: var(--flat-earth); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; border-radius: var(--r-md); overflow: hidden; }
.gallery-grid-item { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer; border-radius: var(--r-sm); }
.gallery-grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery-grid-item:hover img { transform: scale(1.05); }
.gallery-grid-item .gallery-expand {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.8);
    width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.9);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s, transform .3s var(--ease-spring); z-index: 2;
}
.gallery-grid-item:hover .gallery-expand { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.gallery-expand svg { width: 18px; height: 18px; stroke: var(--noir); fill: none; stroke-width: 2; }
.gallery-grid-more {
    position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer; border-radius: var(--r-sm);
    background: var(--dusty); display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 6px; transition: background .3s;
}
.gallery-grid-more:hover { background: var(--noir); }
.gallery-grid-more span { font-size: 24px; font-weight: 700; color: var(--biscuit); font-family: Helvetica, Arial, sans-serif; }
.gallery-grid-more small { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); }

/* LIGHTBOX */
.lightbox {
    position: fixed; inset: 0; z-index: 9000; background: rgba(10,10,8,0.96);
    display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity .4s var(--ease-out);
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox-img-wrap { position: relative; max-width: 85vw; max-height: 85vh; display: flex; align-items: center; justify-content: center; }
.lightbox-img-wrap img { max-width: 85vw; max-height: 85vh; object-fit: contain; border-radius: 8px; width: auto; height: auto; }
.lightbox-close {
    position: absolute; top: 24px; right: 32px; width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background .3s, transform .3s var(--ease-spring); z-index: 9001;
}
.lightbox-close:hover { background: rgba(201,167,106,0.2); transform: scale(1.1); }
.lightbox-close svg { width: 20px; height: 20px; stroke: var(--white); fill: none; stroke-width: 2; }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background .3s, transform .3s var(--ease-spring);
}
.lightbox-nav:hover { background: rgba(201,167,106,0.25); transform: translateY(-50%) scale(1.1); }
.lightbox-nav svg { width: 22px; height: 22px; stroke: var(--white); fill: none; stroke-width: 2; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 400; color: rgba(200,202,193,0.6); }

/* PROPERTY CONTENT */
.prop-content {
    max-width: 1320px; margin: 0 auto; padding: 56px 80px 80px;
    display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start;
}
.aptc-shortcode-prop-content {
    max-width: 100%;
    padding: 40px 0;
}
.section-title {
    font-family: Helvetica, Arial, sans-serif; font-size: 24px; font-weight: 700;
    color: var(--noir); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,0.07);
}
.price-bar {
    background: var(--white); border: 1px solid rgba(0,0,0,0.07); border-radius: var(--r-md);
    padding: 28px 32px; margin-bottom: 36px; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.price-main { font-family: Helvetica, Arial, sans-serif; font-size: 36px; font-weight: 700; color: var(--biscuit); }
.price-meta { display: flex; gap: 24px; }
.price-meta-item { text-align: center; }
.price-meta-item .val { font-family: Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 700; color: var(--noir); }
.price-meta-item .lbl { font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }

/* SPECS */
.specs-section { margin-bottom: 40px; }
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec-box {
    background: var(--white); border: 1px solid rgba(0,0,0,0.07); border-radius: var(--r-sm);
    padding: 20px 16px; text-align: center; transition: transform .4s var(--ease-spring), box-shadow .4s;
}
.spec-box:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,25,21,0.08); }
.spec-box svg { width: 24px; height: 24px; stroke: var(--biscuit); fill: none; stroke-width: 1.5; margin: 0 auto 10px; display: block; }
.spec-box .spec-val { font-family: Helvetica, Arial, sans-serif; font-size: 22px; font-weight: 700; color: var(--noir); margin-bottom: 4px; }
.spec-box .spec-lbl { font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }

/* DESCRIPTION */
.desc-section { margin-bottom: 40px; }
.desc-text { font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--gray); }
.desc-text ul { margin: 12px 0; padding-left: 20px; }
.desc-text li { margin-bottom: 6px; }

/* FEATURES */
.features-section { margin-bottom: 40px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feature-item {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px;
    background: var(--white); border: 1px solid rgba(0,0,0,0.06); border-radius: 8px;
    font-size: 13px; font-weight: 400; color: var(--noir);
    transition: border-color .3s, transform .3s var(--ease-spring);
}
.feature-item:hover { border-color: var(--biscuit); transform: translateY(-2px); }
.feature-item svg { width: 16px; height: 16px; stroke: var(--biscuit); fill: none; stroke-width: 2; flex-shrink: 0; }

/* DETAILS TABLE */
.details-section { margin-bottom: 40px; }
.details-table { width: 100%; border-collapse: collapse; }
.details-table tr { border-bottom: 1px solid rgba(0,0,0,0.06); }
.details-table td { padding: 14px 16px; font-size: 13px; }
.details-table td:first-child { font-weight: 500; color: var(--noir); width: 40%; }
.details-table td:last-child { font-weight: 300; color: var(--gray); }

/* SIDEBAR */
.prop-sidebar { position: sticky; top: 100px; }
.agent-card {
    background: var(--white); border: 1px solid rgba(0,0,0,0.07); border-radius: var(--r-md);
    padding: 32px 28px; margin-bottom: 20px;
}
.agent-card-header { text-align: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.agent-avatar {
    width: 72px; height: 72px; border-radius: 50%; background: var(--ivory-dark);
    margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
    font-family: Helvetica, Arial, sans-serif; font-size: 24px; font-weight: 700; color: var(--flat-earth);
}
.agent-name { font-family: Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 700; color: var(--noir); margin-bottom: 4px; }
.agent-role { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }
.agent-contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.agent-contact-item { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 400; color: var(--noir); }
.agent-contact-item svg { width: 18px; height: 18px; stroke: var(--biscuit); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.agent-btn {
    width: 100%; padding: 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; border-radius: 4px; transition: background .3s, transform .3s var(--ease-spring), box-shadow .3s;
    margin-bottom: 10px; text-align: center; display: block; text-decoration: none;
}
.agent-btn.primary { background: var(--biscuit); color: var(--noir); }
.agent-btn.primary:hover { background: var(--flat-earth); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(122,92,53,0.3); }
.agent-btn.secondary { background: transparent; color: var(--noir); border: 1.5px solid rgba(0,0,0,0.15); }
.agent-btn.secondary:hover { border-color: var(--biscuit); color: var(--biscuit); transform: translateY(-2px); }

/* QUICK INFO */
.quick-info { background: var(--white); border: 1px solid rgba(0,0,0,0.07); border-radius: var(--r-md); padding: 24px 28px; }
.quick-info-title { font-family: Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 700; color: var(--noir); margin-bottom: 16px; }
.quick-info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 12px; }
.quick-info-row:last-child { border-bottom: none; }
.quick-info-row .qi-label { font-weight: 500; color: var(--noir); }
.quick-info-row .qi-value { font-weight: 300; color: var(--gray); }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .props-layout { padding: 32px 20px 56px; }
    #aptc-cards-container,
    .aptc-columns-3 #aptc-cards-container,
    .aptc-columns-4 #aptc-cards-container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .prop-content { grid-template-columns: 1fr 340px; gap: 36px; }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .filter-sidebar { width: 260px; }
    .page-banner { padding: 120px 36px 40px; }
    .prop-content { grid-template-columns: 1fr; padding: 36px 36px 60px; }
    .prop-sidebar { position: static; }
    .hero-overlay-content { padding: 0 36px 40px; }
    .hero-price { margin-left: 0; margin-top: 8px; }
    .gallery-section { padding: 32px 36px 0; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .props-layout { flex-direction: column; padding: 24px 16px 48px; }
    .filter-sidebar {
        width: 100%;
        position: static;
        max-height: none;
        background: var(--white);
        border: 1px solid rgba(0, 0, 0, 0.07);
        border-radius: 10px;
        padding: 14px;
        box-shadow: 0 10px 28px rgba(26, 25, 21, 0.07);
    }
    .filter-section {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0;
        border: 0;
        margin-bottom: 12px;
        background: transparent;
    }
    .filter-section-title,
    .advanced-filter-toggle,
    .advanced-filter-panel {
        grid-column: 1 / -1;
    }
    .filter-section-title {
        margin-bottom: 0;
        font-size: 16px;
        line-height: 1.25;
    }
    .filter-group {
        min-width: 0;
        margin-bottom: 0;
    }
    .filter-group-purpose {
        grid-column: 1 / -1;
    }
    .filter-label {
        margin-bottom: 6px;
        font-size: 10px;
    }
    .purpose-tabs {
        gap: 5px;
    }
    .purpose-tab {
        min-width: 64px;
        min-height: 36px;
        padding: 8px;
        font-size: 11px;
    }
    .filter-select,
    .filter-input {
        min-height: 42px;
        padding: 8px 10px;
        font-size: 12px;
    }
    .filter-range {
        gap: 6px;
    }
    .filter-range .filter-input {
        width: calc(50% - 10px);
    }
    .advanced-filter-toggle {
        margin: 0;
        padding: 10px 0;
    }
    .filter-sidebar .filter-btn,
    .filter-sidebar .filter-reset {
        display: inline-block;
        width: calc(50% - 6px);
        margin-top: 0;
        vertical-align: top;
    }
    .filter-sidebar .filter-reset {
        margin-left: 8px;
    }
    #aptc-cards-container,
    .aptc-columns-2 #aptc-cards-container,
    .aptc-columns-3 #aptc-cards-container,
    .aptc-columns-4 #aptc-cards-container { grid-template-columns: 1fr !important; }
    .results-bar { align-items: flex-start; flex-direction: column; gap: 10px; }
    .page-banner { padding: 110px 22px 36px; }
    .prop-hero { min-height: 60vh; }
    .hero-overlay-content { padding: 0 22px 32px; }
    .hero-prop-title { font-size: 32px; max-width: 100%; }
    .hero-prop-meta { flex-direction: row; gap: 10px 14px; align-items: center; }
    .hero-meta-item { font-size: 12px; }
    .hero-price { font-size: 26px; }
    .prop-content { padding: 28px 22px 48px; }
    .aptc-shortcode-prop-content { padding: 28px 0 40px; }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .price-bar { flex-direction: column; align-items: flex-start; }
    .gallery-section { padding: 24px 22px 0; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .props-layout { padding: 20px 12px 40px; }
    .filter-sidebar {
        padding: 12px;
        border-radius: 8px;
    }
    .filter-section {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .filter-section-title {
        font-size: 15px;
    }
    .filter-range .filter-input {
        width: calc(50% - 9px);
    }
    .filter-sidebar .filter-btn,
    .filter-sidebar .filter-reset {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
    }
    .prop-card-img { height: 200px; }
    .prop-card-body { padding: 18px 16px; }
    .prop-card-title { font-size: 19px; }
    .prop-card-specs { gap: 10px 12px; }
    .prop-card-spec { font-size: 11px; }
    .prop-card-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
    .prop-card-price { font-size: 21px; }
    .prop-hero { min-height: 56vh; }
    .hero-overlay-content { padding: 0 16px 26px; }
    .hero-prop-title { font-size: 28px; line-height: 1.12; margin-bottom: 12px; }
    .hero-prop-meta { gap: 8px 12px; }
    .hero-price { width: 100%; font-size: 24px; margin-top: 2px; }
    .prop-content { padding: 24px 16px 40px; }
    .price-main { font-size: 28px; }
    .specs-grid { gap: 10px; }
    .spec-box { padding: 16px 12px; }
    .spec-box .spec-val { font-size: 18px; }
    .features-grid { gap: 8px; }
    .gallery-section { padding: 20px 16px 0; }
    .gallery-grid { gap: 8px; }
    .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-nav { width: 40px; height: 40px; }
    .lightbox-img-wrap img { max-width: 94vw; }
}
