:root {
    --lux-plum: #220F38;
    --lux-cream: #F7F5E9;
    --lux-coral: #EF6959;
    --lux-peach: #FAD8B9;
}

.premium-listing-site {
    color: var(--lux-plum);
    background: var(--lux-cream);
}

.premium-listing-site .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom-color: rgba(255, 255, 255, .12);
    background: var(--lux-plum);
}

.premium-listing-site .brand,
.premium-listing-site .nav-link {
    color: #fff !important;
}

.premium-listing-site .nav-link:hover {
    color: var(--lux-peach) !important;
}

.premium-listing-site .brand-mark {
    color: #fff;
    background: var(--lux-coral);
}

.premium-listing-site .navbar-toggler {
    border-color: rgba(255, 255, 255, .35);
}

.premium-listing-site .navbar-toggler-icon {
    filter: invert(1);
}

.premium-listing-site .theme-toggle {
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}

.premium-listing-site .theme-toggle:hover {
    color: var(--lux-plum);
    background: var(--lux-peach);
}

.premium-listing-site .site-footer {
    background: var(--lux-plum);
}

.premium-listing-site .footer-link {
    color: var(--lux-peach) !important;
}

.premium-listing-page {
    min-height: 70vh;
    overflow: hidden;
    background: var(--lux-cream);
}

.listing-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--lux-plum);
}

.listing-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 57px;
    padding-bottom: 63px;
}

.listing-eyebrow,
.results-eyebrow {
    margin: 0 0 13px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
}

.listing-eyebrow {
    color: var(--lux-peach);
}

.listing-eyebrow span:first-child {
    display: inline-block;
    width: 25px;
    height: 1px;
    margin: 0 9px 3px 0;
    background: var(--lux-coral);
}

.eyebrow-divider {
    margin: 0 7px;
    color: rgba(255, 255, 255, .4);
}

.listing-hero-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.listing-hero h1,
.listing-results-heading h2,
.premium-empty-state h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: -.035em;
}

.listing-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.13;
}

.listing-hero-row>div:first-child>p {
    max-width: 660px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .67);
    font-size: 15px;
}

.hero-stamp {
    display: grid;
    width: 110px;
    height: 110px;
    flex: 0 0 110px;
    align-content: center;
    justify-items: center;
    border: 1px solid rgba(250, 216, 185, .55);
    border-radius: 50%;
    color: var(--lux-peach);
    transform: rotate(9deg);
}

.hero-stamp span,
.hero-stamp b {
    font-size: 10px;
    letter-spacing: .17em;
}

.hero-stamp i {
    margin-top: 2px;
    color: var(--lux-coral);
    font-size: 18px;
    font-style: normal;
}

.hero-orbit {
    position: absolute;
    right: -106px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 50%;
    pointer-events: none;
}

.hero-orbit-one {
    top: -190px;
    width: 430px;
    height: 430px;
}

.hero-orbit-two {
    top: -130px;
    right: -48px;
    width: 310px;
    height: 310px;
}

.premium-results {
    padding-top: 36px;
    padding-bottom: 68px;
}

.listing-mobile-toolbar {
    display: none;
}

.property-listing-layout {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    align-items: start;
    gap: 31px;
}

.property-filter-panel {
    position: sticky;
    top: 98px;
    padding: 23px;
    border: 1px solid rgba(34, 15, 56, .14);
    border-radius: 19px;
    background: #927300;
    box-shadow: 0 16px 50px rgba(34, 15, 56, .08);
}

.filter-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 19px;
}

.filter-panel-heading p {
    margin: 0 0 4px;
    color: rgba(255, 255, 255, .78);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
}

.filter-panel-heading h2 {
    margin: 0;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 600;
}

.filter-panel-heading button {
    display: none;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: var(--lux-plum);
    background: rgba(255, 255, 255, .6);
    font-size: 25px;
    line-height: 1;
}

.property-filter-form {
    display: grid;
    gap: 18px;
}

.property-filter-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.property-filter-form legend,
.filter-field>label {
    display: block;
    margin: 0 0 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.filter-field>label span {
    color: rgba(255, 255, 255, .78);
    font-weight: 400;
}

.segmented-control {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 4px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .5);
}

.segmented-control label,
.room-options label {
    position: relative;
    cursor: pointer;
}

.segmented-control input,
.room-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.segmented-control span {
    display: block;
    padding: 8px 3px;
    border-radius: 8px;
    color: rgba(34, 15, 56, .65);
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    transition: color .2s ease, background .2s ease;
}

.segmented-control input:checked+span {
    color: #fff;
    background: var(--lux-plum);
}

.filter-field select,
.filter-range input {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 10px 11px;
    border: 1px solid rgba(34, 15, 56, .1);
    border-radius: 10px;
    color: var(--lux-plum);
    background-color: rgba(255, 255, 255, .68);
    font: inherit;
    font-size: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.filter-field select:focus,
.filter-range input:focus {
    border-color: var(--lux-coral);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(250, 216, 185, .9);
}

.filter-field select {
    appearance: auto;
}

.filter-range,
.room-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.filter-range input::placeholder {
    color: rgba(34, 15, 56, .43);
}

.location-fields {
    display: grid;
    gap: 8px;
}

.room-options span {
    display: block;
    padding: 9px;
    border: 1px solid rgba(34, 15, 56, .11);
    border-radius: 9px;
    color: rgba(34, 15, 56, .75);
    background: rgba(255, 255, 255, .45);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.room-options input:checked+span {
    border-color: var(--lux-plum);
    color: #fff;
    background: var(--lux-plum);
}

.room-options input:focus-visible+span,
.segmented-control input:focus-visible+span {
    outline: 2px solid var(--lux-coral);
    outline-offset: 2px;
}

.filter-actions {
    display: grid;
    gap: 11px;
    justify-items: center;
    margin-top: 1px;
}

.search-listings-button {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: var(--lux-coral);
    box-shadow: 0 7px 17px rgba(239, 105, 89, .2);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease;
}

.search-listings-button:hover {
    transform: translateY(-1px);
    background: #e85e4e;
}

.search-listings-button span {
    font-size: 19px;
    line-height: 1;
}

.filter-actions>a {
    color: rgba(255, 255, 255, .9);
    font-size: 10px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.listing-results {
    min-width: 0;
}

.listing-results-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 19px;
    padding-bottom: 19px;
    border-bottom: 1px solid rgba(34, 15, 56, .12);
}

.results-eyebrow {
    margin-bottom: 6px;
    color: var(--lux-coral);
}

.listing-results-heading h2 {
    margin: 0;
    color: var(--lux-plum);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
}

.results-count {
    margin: 7px 0 0;
    color: rgba(34, 15, 56, .55);
    font-size: 12px;
}

.results-count strong {
    color: var(--lux-plum);
}

.sort-form {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
}

.sort-form label {
    color: rgba(34, 15, 56, .58);
    font-size: 10px;
}

.sort-form select {
    max-width: 180px;
    min-height: 39px;
    padding: 8px 11px;
    border: 1px solid rgba(34, 15, 56, .13);
    border-radius: 9px;
    color: var(--lux-plum);
    background: var(--lux-cream);
    font: inherit;
    font-size: 11px;
    font-weight: 600;
}

.sort-form select:focus {
    border-color: var(--lux-coral);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(250, 216, 185, .8);
}

.premium-property-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px;
}

.premium-property-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(34, 15, 56, .07);
    border-radius: 17px;
    background: var(--lux-cream);
    box-shadow: 0 12px 35px rgba(34, 15, 56, .07);
    transition: transform .25s ease, box-shadow .25s ease;
    animation: premium-card-in .35s ease both;
}

.premium-property-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 43px rgba(34, 15, 56, .13);
}

.premium-property-image {
    position: relative;
    height: clamp(190px, 22vw, 255px);
    overflow: hidden;
    background: var(--lux-peach);
}

.premium-property-image>a,
.premium-property-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.premium-property-image img {
    object-fit: cover;
    transition: transform .5s ease;
}

.premium-property-card:hover .premium-property-image img {
    transform: scale(1.035);
}

.premium-transaction-tag,
.premium-featured-tag,
.premium-image-caption {
    position: absolute;
    z-index: 1;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.premium-transaction-tag {
    top: 13px;
    left: 13px;
    padding: 7px 10px;
    border-radius: 30px;
    background: var(--lux-coral);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.premium-featured-tag {
    top: 13px;
    right: 57px;
    padding: 7px 9px;
    border-radius: 20px;
    color: var(--lux-plum);
    background: var(--lux-peach);
    font-size: 8px;
    letter-spacing: .08em;
}

.premium-favorite-button {
    position: absolute;
    top: 10px;
    right: 11px;
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: rgba(34, 15, 56, .7);
    background: rgba(255, 255, 255, .92);
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.premium-favorite-button:hover {
    transform: scale(1.05);
}

.premium-favorite-button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.premium-favorite-button.is-favorite {
    color: var(--lux-coral);
}

.premium-favorite-button.is-favorite svg {
    fill: currentColor;
}

.premium-image-caption {
    right: 11px;
    bottom: 11px;
    padding: 5px 8px;
    border-radius: 5px;
    background: rgba(34, 15, 56, .72);
}

.premium-property-body {
    padding: 17px 19px 19px;
}

.premium-property-kicker {
    margin-bottom: 7px;
    color: rgba(34, 15, 56, .48);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

.premium-property-kicker span {
    padding: 0 3px;
    color: var(--lux-coral);
}

.premium-property-body h3 {
    min-height: 45px;
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.27;
}

.premium-property-body h3 a {
    color: var(--lux-plum);
    text-decoration: none;
}

.premium-property-body h3 a:hover {
    color: var(--lux-coral);
}

.premium-property-location {
    display: flex;
    min-height: 19px;
    align-items: center;
    gap: 5px;
    margin: 8px 0 13px;
    color: rgba(34, 15, 56, .58);
    font-size: 10px;
}

.premium-property-location svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: none;
    stroke: var(--lux-coral);
    stroke-width: 1.5;
}

.premium-property-meta {
    display: flex;
    min-height: 31px;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 13px;
    padding: 10px 0;
    border-top: 1px solid rgba(34, 15, 56, .1);
    color: rgba(34, 15, 56, .67);
    font-size: 10px;
}

.premium-property-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.premium-property-meta svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: rgba(34, 15, 56, .45);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.35;
}

.premium-property-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(34, 15, 56, .1);
}

.premium-property-bottom>strong {
    color: var(--lux-plum);
    font-size: clamp(17px, 1.7vw, 22px);
    font-weight: 700;
    letter-spacing: -.03em;
}

.premium-property-bottom>strong small {
    color: rgba(34, 15, 56, .52);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
}

.premium-card-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
}

.premium-whatsapp-link {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid rgba(34, 15, 56, .12);
    border-radius: 10px;
    color: rgba(34, 15, 56, .7);
    transition: border-color .2s ease, color .2s ease;
}

.premium-whatsapp-link:hover {
    border-color: #25D366;
    color: #128C7E;
}

.premium-whatsapp-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.premium-detail-link {
    display: inline-flex;
    min-height: 35px;
    align-items: center;
    gap: 9px;
    padding: 0 11px;
    border-radius: 10px;
    color: #fff;
    background: var(--lux-coral);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease;
}

.premium-detail-link:hover {
    color: #fff;
    background: #e85e4e;
}

.premium-detail-link span {
    font-size: 15px;
}

.premium-empty-state {
    grid-column: 1 / -1;
    padding: 48px 20px;
    border: 1px solid rgba(34, 15, 56, .08);
    border-radius: 17px;
    background: rgba(255, 255, 255, .38);
    text-align: center;
}

.premium-empty-state>span {
    display: grid;
    width: 45px;
    height: 45px;
    margin: 0 auto 13px;
    place-items: center;
    border-radius: 50%;
    color: var(--lux-plum);
    background: var(--lux-peach);
    font-size: 25px;
}

.premium-empty-state h3 {
    margin: 0;
    font-size: 22px;
}

.premium-empty-state p {
    margin: 7px 0 15px;
    color: rgba(34, 15, 56, .6);
    font-size: 12px;
}

.premium-empty-state a {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 9px;
    color: #fff;
    background: var(--lux-plum);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.premium-listing-page .pagination .page-link {
    border-color: rgba(34, 15, 56, .13);
    color: var(--lux-plum);
    background: var(--lux-cream);
}

.premium-listing-page .pagination .page-item.active .page-link {
    border-color: var(--lux-plum);
    color: #fff;
    background: var(--lux-plum);
}

.premium-listing-page .pagination .page-item.disabled .page-link {
    color: rgba(34, 15, 56, .45);
    background: rgba(255, 255, 255, .45);
}

@keyframes premium-card-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
    .listing-hero-inner {
        padding-top: 45px;
        padding-bottom: 48px;
    }

    .premium-results {
        padding-top: 23px;
    }

    .listing-mobile-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 17px;
    }

    .listing-mobile-toolbar p {
        margin: 0;
        color: rgba(34, 15, 56, .62);
        font-size: 12px;
    }

    .listing-mobile-toolbar strong {
        color: var(--lux-plum);
    }

    .listing-mobile-toolbar button {
        display: inline-flex;
        min-height: 41px;
        align-items: center;
        gap: 7px;
        padding: 0 14px;
        border: 0;
        border-radius: 10px;
        color: #fff;
        background: var(--lux-plum);
        font-size: 11px;
        font-weight: 700;
    }

    .listing-mobile-toolbar svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-width: 1.6;
    }

    .property-listing-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .property-filter-panel {
        position: fixed;
        z-index: 1001;
        inset: 0 auto 0 0;
        width: min(88vw, 360px);
        max-height: 100dvh;
        overflow-y: auto;
        padding: 22px;
        border: 0;
        border-radius: 0 18px 18px 0;
        transform: translateX(-105%);
        transition: transform .28s ease;
    }

    .property-filter-panel.is-open {
        transform: translateX(0);
    }

    .filter-panel-heading button {
        display: block;
    }

    .filter-backdrop {
        position: fixed;
        z-index: 1000;
        inset: 0;
        visibility: hidden;
        background: rgba(34, 15, 56, .5);
        opacity: 0;
        backdrop-filter: blur(2px);
        transition: opacity .25s ease, visibility .25s ease;
    }

    .filter-backdrop.is-visible {
        visibility: visible;
        opacity: 1;
    }

    .filter-drawer-open {
        overflow: hidden;
    }
}

@media (max-width: 767.98px) {
    .listing-hero-inner {
        padding-top: 37px;
        padding-bottom: 41px;
    }

    .listing-eyebrow {
        font-size: 8px;
        letter-spacing: .14em;
    }

    .listing-hero h1 {
        max-width: 470px;
        font-size: clamp(32px, 8vw, 43px);
    }

    .listing-hero-row>div:first-child>p {
        max-width: 440px;
        font-size: 13px;
    }

    .hero-stamp {
        width: 75px;
        height: 75px;
        flex-basis: 75px;
    }

    .hero-stamp span,
    .hero-stamp b {
        font-size: 7px;
    }

    .hero-stamp i {
        font-size: 14px;
    }

    .listing-results-heading {
        align-items: start;
    }

    .listing-results-heading h2 {
        font-size: 27px;
    }

    .results-eyebrow {
        font-size: 8px;
    }

    .sort-form {
        align-items: end;
        flex-direction: column;
        gap: 4px;
    }

    .sort-form select {
        max-width: 145px;
        min-height: 37px;
        font-size: 10px;
    }

    .premium-property-grid {
        gap: 13px;
    }

    .premium-property-image {
        height: clamp(155px, 28vw, 210px);
    }

    .premium-property-body {
        padding: 14px 14px 15px;
    }

    .premium-property-body h3 {
        min-height: 0;
        font-size: 17px;
    }

    .premium-property-meta {
        gap: 6px 9px;
        font-size: 9px;
    }

    .premium-property-bottom {
        align-items: start;
        flex-direction: column;
    }

    .premium-card-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 520px) {
    .premium-listing-site .navbar {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .premium-listing-site .brand {
        font-size: 16px;
    }

    .premium-listing-site .brand-mark {
        width: 36px;
        height: 36px;
        font-size: 23px;
    }

    .listing-hero-row {
        align-items: center;
        gap: 8px;
    }

    .hero-stamp {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
    }

    .hero-stamp span,
    .hero-stamp b {
        font-size: 6px;
    }

    .listing-results-heading {
        flex-direction: column;
        gap: 12px;
    }

    .sort-form {
        align-items: center;
        flex-direction: row;
        align-self: stretch;
    }

    .sort-form select {
        max-width: none;
        flex: 1;
    }

    .premium-property-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .premium-property-image {
        height: 220px;
    }

    .premium-property-body {
        padding: 16px 17px 17px;
    }

    .premium-property-bottom {
        align-items: center;
        flex-direction: row;
    }

    .premium-card-actions {
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-listing-page *,
    .premium-listing-page *::before,
    .premium-listing-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
