/*==============================================================
BUCKETLIST PROPERTIES — PROPERTY CATALOGUE
==============================================================*/

:root {
    --properties-primary: #0f172a;
    --properties-primary-soft: #1e293b;
    --properties-gold: #b38a4a;
    --properties-gold-dark: #8d692f;
    --properties-gold-light: #f5eee3;
    --properties-white: #ffffff;
    --properties-background: #f7f8fa;
    --properties-surface: #ffffff;
    --properties-text: #101828;
    --properties-muted: #667085;
    --properties-border: #e4e7ec;
    --properties-success: #138a5b;
    --properties-radius-sm: 12px;
    --properties-radius-md: 18px;
    --properties-radius-lg: 28px;
    --properties-shadow-sm:
        0 8px 24px rgba(15, 23, 42, 0.07);
    --properties-shadow:
        0 20px 60px rgba(15, 23, 42, 0.11);
}

/*==============================================================
BASE
==============================================================*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--properties-background);
    color: var(--properties-text);
    font-family: "Inter", Arial, sans-serif;
}

body.properties-filter-open {
    overflow: hidden;
}

button,
input,
select {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

.properties-catalogue-page {
    min-height: 100vh;
    overflow: hidden;
}

.properties-catalogue-page .container {
    width: min(1520px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/*==============================================================
CATALOGUE HERO
==============================================================*/

.properties-catalogue-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 125px;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(179, 138, 74, 0.34),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #0b1220 0%,
            #17243a 58%,
            #0e1728 100%
        );
    color: var(--properties-white);
}

.properties-catalogue-hero::before {
    content: "";
    position: absolute;
    top: -290px;
    right: -230px;
    width: 710px;
    height: 710px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 80px rgba(255, 255, 255, 0.022),
        0 0 0 160px rgba(255, 255, 255, 0.015);
}

.properties-catalogue-hero::after {
    content: "";
    position: absolute;
    bottom: -250px;
    left: -210px;
    width: 510px;
    height: 510px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(179, 138, 74, 0.17),
            transparent 67%
        );
}

.properties-catalogue-hero .container {
    position: relative;
    z-index: 2;
}

.properties-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 42px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
}

.properties-breadcrumb a {
    color: rgba(255, 255, 255, 0.73);
    text-decoration: none;
    transition: color 0.2s ease;
}

.properties-breadcrumb a:hover {
    color: #f0dcb6;
}

.properties-breadcrumb i {
    font-size: 17px;
}

.properties-hero-layout {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.properties-hero-copy {
    max-width: 890px;
}

.properties-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #ead5af;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.properties-eyebrow::before {
    content: "";
    width: 44px;
    height: 1px;
    background: currentColor;
}

.properties-hero-copy h1 {
    max-width: 870px;
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(44px, 5.7vw, 80px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.properties-hero-copy p {
    max-width: 720px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    line-height: 1.8;
}

.properties-hero-stat {
    min-width: 205px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(18px);
}

.properties-hero-stat strong {
    display: block;
    font-size: 45px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.properties-hero-stat span {
    display: block;
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/*==============================================================
MOBILE FILTER TOOLBAR
==============================================================*/

.properties-mobile-toolbar {
    display: none;
}

.open-property-filters,
.mobile-sort-control select {
    height: 48px;
    border: 1px solid var(--properties-border);
    border-radius: 12px;
    background: var(--properties-white);
    color: var(--properties-primary);
}

.open-property-filters {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 15px;
    font-weight: 800;
}

.open-property-filters i {
    font-size: 19px;
}

.open-property-filters b {
    min-width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--properties-primary);
    color: var(--properties-white);
    font-size: 11px;
}

.mobile-sort-control {
    flex: 1;
}

.mobile-sort-control select {
    width: 100%;
    padding: 0 38px 0 13px;
    outline: none;
}

/*==============================================================
FILTER OVERLAY
==============================================================*/

.property-filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 890;
    background: rgba(15, 23, 42, 0.56);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(3px);
    transition: opacity 0.25s ease;
}

.property-filter-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/*==============================================================
FILTER SECTION
==============================================================*/

.properties-filter-section {
    position: relative;
    z-index: 20;
}

.properties-filter-card {
    margin-top: -64px;
    padding: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--properties-radius-lg);
    background: var(--properties-white);
    box-shadow: var(--properties-shadow);
}

.properties-filter-mobile-head {
    display: none;
}

.properties-filter-grid {
    display: grid;
    grid-template-columns:
        minmax(310px, 1.6fr)
        repeat(3, minmax(175px, 1fr));
    gap: 16px;
}

.property-filter-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.property-filter-field > span {
    color: var(--properties-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-filter-field input,
.property-filter-field select {
    width: 100%;
    height: 52px;
    border: 1px solid #d6dbe3;
    border-radius: 12px;
    background-color: var(--properties-white);
    color: var(--properties-text);
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.property-filter-field input {
    padding: 0 14px;
}

.property-filter-field select {
    padding: 0 40px 0 14px;
    appearance: none;
    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #667085 50%
        ),
        linear-gradient(
            135deg,
            #667085 50%,
            transparent 50%
        );
    background-position:
        calc(100% - 18px) 22px,
        calc(100% - 13px) 22px;
    background-size: 5px 5px;
    background-repeat: no-repeat;
}

.property-filter-field input:focus,
.property-filter-field select:focus {
    border-color: var(--properties-gold);
    box-shadow:
        0 0 0 4px rgba(179, 138, 74, 0.13);
}

.property-search-field {
    grid-column: span 2;
}

.property-input-icon,
.property-price-input {
    position: relative;
}

.property-input-icon i {
    position: absolute;
    top: 50%;
    left: 16px;
    color: var(--properties-muted);
    font-size: 18px;
    transform: translateY(-50%);
    pointer-events: none;
}

.property-input-icon input {
    padding-left: 46px;
}

.property-price-input b {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--properties-muted);
    font-size: 11px;
    transform: translateY(-50%);
    pointer-events: none;
}

.property-price-input input {
    padding-left: 49px;
}

.properties-filter-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding-top: 21px;
    border-top: 1px solid var(--properties-border);
}

.properties-active-filters {
    min-height: 35px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.no-active-filters {
    color: var(--properties-muted);
    font-size: 13px;
}

.property-filter-chip {
    min-height: 35px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px 0 12px;
    border: 1px solid #e7d7bd;
    border-radius: 999px;
    background: var(--properties-gold-light);
    color: var(--properties-gold-dark);
    font-size: 12px;
    font-weight: 750;
}

.property-filter-chip button {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(141, 105, 47, 0.12);
    color: inherit;
}

.properties-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reset-property-filters,
.apply-property-filters {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.reset-property-filters {
    padding: 0 19px;
    border: 1px solid #d7dce3;
    background: var(--properties-white);
    color: var(--properties-primary-soft);
}

.reset-property-filters:hover {
    border-color: var(--properties-gold);
    color: var(--properties-gold-dark);
}

.apply-property-filters {
    min-width: 184px;
    gap: 10px;
    padding: 0 23px;
    border: 0;
    background: var(--properties-primary);
    color: var(--properties-white);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.apply-property-filters:hover {
    background: var(--properties-gold-dark);
    transform: translateY(-2px);
}

.apply-property-filters:disabled {
    cursor: wait;
    opacity: 0.8;
}

.property-filter-spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.34);
    border-top-color: var(--properties-white);
    border-radius: 50%;
    animation: propertiesSpin 0.8s linear infinite;
}

.apply-property-filters.loading .property-filter-spinner {
    display: inline-block;
}

@keyframes propertiesSpin {
    to {
        transform: rotate(360deg);
    }
}

/*==============================================================
RESULTS SECTION
==============================================================*/

.properties-results-section {
    padding: 58px 0 100px;
}

.properties-results-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 27px;
}

.properties-results-label {
    display: block;
    margin-bottom: 7px;
    color: var(--properties-gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.properties-results-toolbar h2 {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 35px);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.properties-toolbar-actions {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.published-property-note {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--properties-muted);
    font-size: 12px;
}

.published-property-note i {
    color: var(--properties-success);
    font-size: 20px;
}

.properties-sort-field {
    display: grid;
    gap: 7px;
}

.properties-sort-field > span {
    color: var(--properties-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.properties-sort-field select {
    min-width: 190px;
    height: 47px;
    padding: 0 38px 0 13px;
    border: 1px solid #d6dbe3;
    border-radius: 11px;
    background: var(--properties-white);
    color: var(--properties-text);
    outline: none;
}

/*==============================================================
LOADING
==============================================================*/

.properties-results-shell {
    position: relative;
    min-height: 350px;
}

.properties-loading-overlay {
    position: absolute;
    inset: -10px;
    z-index: 80;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 13px;
    border-radius: 24px;
    background: rgba(247, 248, 250, 0.88);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    transition: opacity 0.2s ease;
}

.properties-results-shell.loading .properties-loading-overlay {
    opacity: 1;
    pointer-events: auto;
}

.properties-loader {
    width: 42px;
    height: 42px;
    border: 3px solid #d9dde4;
    border-top-color: var(--properties-gold-dark);
    border-radius: 50%;
    animation: propertiesSpin 0.8s linear infinite;
}

.properties-loading-overlay p {
    margin: 0;
    color: var(--properties-muted);
    font-size: 13px;
    font-weight: 700;
}

/*==============================================================
PROPERTY GRID
==============================================================*/

.properties-catalogue-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

/*==============================================================
PROPERTY CARD
==============================================================*/

.property-catalogue-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--properties-border);
    border-radius: 20px;
    background: var(--properties-surface);
    box-shadow: var(--properties-shadow-sm);
    transition:
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        transform 0.28s ease;
}

.property-catalogue-card:hover {
    border-color: #dec9a8;
    box-shadow: var(--properties-shadow);
    transform: translateY(-6px);
}

.property-card-image {
    position: relative;
    height: 235px;
    overflow: hidden;
    background: #e8ecf1;
}

.property-image-link {
    position: absolute;
    inset: 0;
    display: block;
}

.property-image-link img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.property-catalogue-card:hover .property-image-link img {
    transform: scale(1.05);
}

.property-image-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    background:
        linear-gradient(
            135deg,
            #f9fafb,
            #dfe4ea
        );
    color: #87909e;
}

.property-image-placeholder i {
    font-size: 38px;
}

.property-image-placeholder span {
    font-size: 12px;
    font-weight: 700;
}

.property-card-price {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    min-height: 37px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--properties-gold-dark);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.13);
    backdrop-filter: blur(8px);
    font-size: 12px;
}

.property-card-price span {
    font-weight: 600;
}

.property-card-price strong {
    font-weight: 800;
}

.property-card-badges {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
}

.property-card-badges span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    color: var(--properties-white);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.property-card-badges .verified {
    background: rgba(19, 138, 91, 0.93);
}

.property-card-badges .exclusive {
    background: rgba(141, 105, 47, 0.94);
}

.property-card-badges .new-launch {
    background: rgba(155, 58, 58, 0.92);
}

.property-card-content {
    padding: 20px;
}

.property-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.property-card-type,
.property-card-status {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.property-card-type {
    color: var(--properties-gold-dark);
}

.property-card-status {
    color: var(--properties-muted);
}

.property-card-content h2 {
    min-height: 52px;
    margin: 0;
    font-size: 18px;
    line-height: 1.44;
}

.property-card-content h2 a {
    color: var(--properties-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.property-card-content h2 a:hover {
    color: var(--properties-gold-dark);
}

.property-card-location {
    min-height: 22px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 10px 0 0;
    color: var(--properties-muted);
    font-size: 13px;
    line-height: 1.5;
}

.property-card-location i {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--properties-gold-dark);
    font-size: 16px;
}

.property-card-specifications {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 17px;
}

.property-card-specifications span {
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 5px;
    border: 1px solid var(--properties-border);
    border-radius: 10px;
    color: var(--properties-primary-soft);
    text-align: center;
}

.property-card-specifications i {
    flex-shrink: 0;
    color: var(--properties-gold-dark);
    font-size: 16px;
}

.property-card-specifications strong {
    overflow: hidden;
    font-size: 10px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-card-developer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid var(--properties-border);
    color: var(--properties-muted);
    font-size: 12px;
}

.property-card-developer i {
    color: var(--properties-gold-dark);
    font-size: 16px;
}

.property-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 17px;
}

.property-details-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--properties-primary);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.property-details-button:hover {
    color: var(--properties-gold-dark);
}

.property-card-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.property-action-button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #d6dbe3;
    border-radius: 50%;
    background: var(--properties-white);
    color: var(--properties-primary-soft);
    font-size: 17px;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.property-action-button:hover,
.property-action-button.active {
    border-color: var(--properties-gold);
    background: var(--properties-gold-light);
    color: var(--properties-gold-dark);
    transform: translateY(-2px);
}

.property-action-button.whatsapp:hover {
    border-color: #25d366;
    background: #eafaf0;
    color: #128c4b;
}

/*==============================================================
EMPTY STATE
==============================================================*/

.properties-empty-state {
    grid-column: 1 / -1;
    min-height: 410px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 40px 20px;
    border: 1px dashed #cfd5de;
    border-radius: 22px;
    background: var(--properties-white);
    text-align: center;
}

.properties-empty-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--properties-gold-light);
    color: var(--properties-gold-dark);
    font-size: 37px;
}

.properties-empty-state h3 {
    margin: 5px 0 0;
    font-size: 25px;
}

.properties-empty-state p {
    max-width: 460px;
    margin: 0;
    color: var(--properties-muted);
    line-height: 1.7;
}

.properties-empty-state button {
    min-height: 46px;
    margin-top: 7px;
    padding: 0 20px;
    border: 0;
    border-radius: 11px;
    background: var(--properties-primary);
    color: var(--properties-white);
    font-weight: 800;
}

/*==============================================================
PAGINATION
==============================================================*/

.properties-pagination-wrapper {
    margin-top: 44px;
}

.properties-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.properties-pagination a {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    border: 1px solid #d6dbe3;
    border-radius: 11px;
    background: var(--properties-white);
    color: var(--properties-primary-soft);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.properties-pagination a:hover,
.properties-pagination a.active {
    border-color: var(--properties-primary);
    background: var(--properties-primary);
    color: var(--properties-white);
}

.properties-pagination a.disabled {
    opacity: 0.42;
    pointer-events: none;
}

.pagination-dots {
    color: var(--properties-muted);
}

/*==============================================================
CALL TO ACTION
==============================================================*/

.properties-catalogue-cta {
    padding: 0 0 100px;
}

.properties-cta-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: 55px 60px;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(179, 138, 74, 0.3),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #101827,
            #1b2940
        );
    color: var(--properties-white);
    box-shadow: var(--properties-shadow);
}

.properties-cta-card::after {
    content: "";
    position: absolute;
    right: -95px;
    bottom: -150px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.02),
        0 0 0 110px rgba(255, 255, 255, 0.014);
}

.properties-cta-card > * {
    position: relative;
    z-index: 2;
}

.properties-cta-card > div:first-child {
    max-width: 720px;
}

.properties-cta-card > div:first-child > span {
    color: #ead5af;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.properties-cta-card h2 {
    margin: 13px 0 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(31px, 3.4vw, 50px);
    line-height: 1.14;
}

.properties-cta-card p {
    max-width: 650px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, 0.67);
    line-height: 1.8;
}

.properties-cta-actions {
    display: flex;
    flex-shrink: 0;
    gap: 11px;
}

.properties-cta-primary,
.properties-cta-secondary {
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 21px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.properties-cta-primary {
    background: var(--properties-gold);
    color: var(--properties-white);
}

.properties-cta-secondary {
    border: 1px solid rgba(255, 255, 255, 0.23);
    background: rgba(255, 255, 255, 0.06);
    color: var(--properties-white);
}

/*==============================================================
TOAST
==============================================================*/

.properties-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    z-index: 1300;
    min-width: 230px;
    max-width: calc(100% - 30px);
    padding: 14px 19px;
    border-radius: 12px;
    background: var(--properties-primary);
    color: var(--properties-white);
    box-shadow: var(--properties-shadow);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 18px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.properties-toast.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/*==============================================================
RESPONSIVE — 3 COLUMNS
==============================================================*/

@media (max-width: 1280px) {
    .properties-filter-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .property-search-field {
        grid-column: span 2;
    }

    .properties-catalogue-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

/*==============================================================
RESPONSIVE — TABLET
==============================================================*/

@media (max-width: 980px) {
    .properties-catalogue-page .container {
        width: min(100% - 32px, 1520px);
    }

    .properties-catalogue-hero {
        padding: 65px 0 92px;
    }

    .properties-hero-layout {
        align-items: flex-start;
        flex-direction: column;
    }

    .properties-hero-stat {
        width: 100%;
        display: flex;
        align-items: baseline;
        gap: 11px;
        padding: 20px;
    }

    .properties-hero-stat strong {
        font-size: 36px;
    }

    .properties-mobile-toolbar {
        position: relative;
        z-index: 30;
        display: block;
        margin-top: -27px;
    }

    .properties-mobile-toolbar .container {
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 11px;
        border: 1px solid var(--properties-border);
        border-radius: 16px;
        background: var(--properties-white);
        box-shadow: var(--properties-shadow);
    }

    .properties-filter-section {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 900;
        width: min(520px, 94vw);
        height: 100dvh;
        overflow-y: auto;
        background: var(--properties-white);
        box-shadow: -25px 0 70px rgba(15, 23, 42, 0.21);
        transform: translateX(103%);
        transition: transform 0.3s ease;
    }

    .properties-filter-section.active {
        transform: none;
    }

    .properties-filter-section .container {
        width: 100%;
    }

    .properties-filter-card {
        min-height: 100dvh;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .properties-filter-mobile-head {
        position: sticky;
        top: 0;
        z-index: 4;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 21px;
        border-bottom: 1px solid var(--properties-border);
        background: var(--properties-white);
    }

    .properties-filter-mobile-head span {
        color: var(--properties-muted);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .properties-filter-mobile-head h2 {
        margin: 4px 0 0;
        font-size: 22px;
    }

    .properties-filter-mobile-head button {
        width: 43px;
        height: 43px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--properties-background);
        color: var(--properties-primary);
        font-size: 20px;
    }

    .properties-filter-card form {
        padding: 21px;
    }

    .properties-filter-grid {
        grid-template-columns: 1fr;
    }

    .property-search-field {
        grid-column: auto;
    }

    .properties-filter-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .properties-filter-actions {
        position: sticky;
        bottom: 0;
        z-index: 3;
        padding-top: 13px;
        background: var(--properties-white);
    }

    .reset-property-filters,
    .apply-property-filters {
        flex: 1;
    }

    .properties-results-section {
        padding-top: 40px;
    }

    .properties-results-toolbar {
        align-items: flex-start;
    }

    .published-property-note,
    .properties-sort-field {
        display: none;
    }

    .properties-catalogue-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .properties-cta-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 45px;
    }
}

/*==============================================================
RESPONSIVE — MOBILE
==============================================================*/

@media (max-width: 640px) {
    .properties-catalogue-page .container {
        width: min(100% - 22px, 1520px);
    }

    .properties-catalogue-hero {
        padding: 48px 0 72px;
    }

    .properties-breadcrumb {
        margin-bottom: 30px;
    }

    .properties-hero-copy h1 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .properties-hero-copy p {
        font-size: 15px;
    }

    .properties-mobile-toolbar {
        margin-top: -20px;
    }

    .properties-mobile-toolbar .container {
        gap: 8px;
        padding: 9px;
    }

    .open-property-filters {
        padding: 0 12px;
    }

    .mobile-sort-control select {
        font-size: 12px;
    }

    .properties-results-section {
        padding-bottom: 72px;
    }

    .properties-results-toolbar h2 {
        font-size: 23px;
    }

    .properties-catalogue-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .property-card-image {
        height: 255px;
    }

    .property-card-content h2 {
        min-height: auto;
        font-size: 19px;
    }

    .property-card-specifications strong {
        font-size: 10px;
    }

    .properties-pagination {
        gap: 5px;
    }

    .properties-pagination a {
        min-width: 38px;
        height: 38px;
        padding: 0 8px;
    }

    .properties-catalogue-cta {
        padding-bottom: 72px;
    }

    .properties-cta-card {
        padding: 34px 25px;
        border-radius: 22px;
    }

    .properties-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .properties-cta-primary,
    .properties-cta-secondary {
        width: 100%;
    }
}