/* =========================================================
   HOUSE DESIGN CATALOGUE
   COMPLETE FRONTEND CSS
========================================================= */


/* =========================================================
   GLOBAL RESET
========================================================= */

.hdc-catalogue,
.hdc-catalogue *,
.hdc-archive-page,
.hdc-archive-page *,
.hdc-single-house,
.hdc-single-house * {
    box-sizing: border-box;
}

.hdc-catalogue,
.hdc-archive-page,
.hdc-single-house {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
    color: #171717;
}

.hdc-catalogue a,
.hdc-archive-page a,
.hdc-single-house a {
    text-decoration: none;
}

.hdc-catalogue img,
.hdc-archive-page img,
.hdc-single-house img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   CATALOGUE CONTAINER
========================================================= */

.hdc-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================================
   CATALOGUE HEADER
========================================================= */

.hdc-catalogue-header {
    width: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 28px;
}

.hdc-catalogue-heading {
    min-width: 0;
}

.hdc-catalogue-title {
    margin: 0 0 7px;
    padding: 0;

    font-size: 28px;
    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -0.5px;

    color: #151515;
}

.hdc-catalogue-description {
    margin: 0;
    padding: 0;

    font-size: 14px;
    line-height: 1.55;

    color: #777;
}

.hdc-result-count {
    flex: 0 0 auto;

    white-space: nowrap;

    padding-bottom: 3px;

    font-size: 12px;

    color: #777;
}


/* =========================================================
   FILTER BAR
========================================================= */

.hdc-filters {
    width: 100%;

    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;

    gap: 12px;

    padding: 16px;

    margin: 0 0 28px;

    border: 1px solid #e4ebe7;
    border-radius: 12px;

    background: #f7faf8;
}

.hdc-filter-group {
    flex: 1 1 145px;

    min-width: 130px;
}

.hdc-filter-group label {
    display: block;

    margin: 0 0 6px;

    font-size: 11px;
    line-height: 1;

    font-weight: 600;

    color: #555;
}

.hdc-filter-group select {
    width: 100%;
    height: 40px;

    padding: 0 34px 0 12px;

    border: 1px solid #d7dfdb;
    border-radius: 7px;

    background: #fff;

    color: #333;

    font-family: inherit;
    font-size: 13px;

    outline: none;

    cursor: pointer;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.hdc-filter-group select:hover {
    border-color: #b8c4be;
}

.hdc-filter-group select:focus {
    border-color: #147b4b;

    box-shadow:
        0 0 0 3px rgba(20, 123, 75, .09);
}


/* =========================================================
   FILTER ACTIONS
========================================================= */

.hdc-filter-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    flex: 0 0 auto;
}

.hdc-filter-button {
    height: 40px;

    padding: 0 18px;

    border: 0;
    border-radius: 7px;

    background: #147b4b;

    color: #fff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.hdc-filter-button:hover {
    background: #0f663e;

    box-shadow:
        0 5px 14px rgba(20, 123, 75, .15);
}

.hdc-filter-button:active {
    transform: translateY(1px);
}

.hdc-clear-filters {
    font-size: 12px;
    font-weight: 500;

    color: #666;

    white-space: nowrap;
}

.hdc-clear-filters:hover {
    color: #147b4b;
}


/* =========================================================
   HOUSE GRID
========================================================= */

.hdc-house-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;

    align-items: stretch;
}


/* =========================================================
   HOUSE CARD
========================================================= */

.hdc-house-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border: 1px solid #e3e8e5;
    border-radius: 14px;

    background: #fff;

    box-shadow:
        0 7px 25px rgba(0, 0, 0, .06);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.hdc-house-card:hover {
    transform: translateY(-4px);

    border-color: #d8e1dc;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .10);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.hdc-house-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #edf1ef;
}

.hdc-house-image > a {
    display: block;

    width: 100%;
    height: 100%;
}

.hdc-house-thumbnail {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s ease;
}

.hdc-house-card:hover .hdc-house-thumbnail {
    transform: scale(1.035);
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.hdc-placeholder-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef2ef;

    color: #999;

    font-size: 13px;
}


/* =========================================================
   BUDGET BADGE
========================================================= */

.hdc-house-budget {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 3;

    display: inline-flex;
    align-items: center;

    min-height: 30px;

    padding: 5px 10px;

    border-radius: 6px;

    background: #147b4b;

    color: #fff;

    font-size: 11px;
    line-height: 1;

    font-weight: 700;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .14);
}


/* =========================================================
   CATEGORY BADGE
========================================================= */

.hdc-house-category {
    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 3;

    max-width: calc(100% - 115px);

    padding: 6px 10px;

    border-radius: 20px;

    background: rgba(255, 255, 255, .95);

    color: #333;

    font-size: 10px;
    line-height: 1.2;

    font-weight: 600;

    white-space: nowrap;

    overflow: hidden;
    text-overflow: ellipsis;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, .10);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.hdc-house-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 18px;
}


/* =========================================================
   CARD TITLE
========================================================= */

.hdc-house-title {
    margin: 0 0 7px;
    padding: 0;

    font-size: 18px;
    line-height: 1.3;

    font-weight: 700;

    letter-spacing: -.25px;

    color: #171717;
}

.hdc-house-title a {
    color: inherit;

    transition: color .2s ease;
}

.hdc-house-title a:hover {
    color: #147b4b;
}


/* =========================================================
   CARD DESCRIPTION
========================================================= */

.hdc-house-description {
    margin: 0;

    min-height: 38px;

    font-size: 12px;
    line-height: 1.55;

    color: #777;
}


/* =========================================================
   CARD STATS
========================================================= */

.hdc-house-stats {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    margin-top: 15px;
    padding-top: 15px;

    border-top: 1px solid #e8ecea;
}

.hdc-stat {
    display: flex;
    align-items: center;

    gap: 7px;

    min-width: 0;
}

.hdc-stat-icon {
    flex: 0 0 24px;

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;

    background: #edf5f1;

    color: #147b4b;

    font-size: 11px;

    font-weight: 700;
}

.hdc-stat > div {
    min-width: 0;
}

.hdc-stat-label {
    display: block;

    margin-bottom: 2px;

    font-size: 8px;
    line-height: 1.2;

    text-transform: uppercase;

    letter-spacing: .35px;

    color: #999;
}

.hdc-stat-value {
    display: block;

    font-size: 11px;
    line-height: 1.3;

    font-weight: 600;

    color: #333;

    white-space: nowrap;
}


/* =========================================================
   VIEW HOUSE BUTTON
========================================================= */

.hdc-house-action {
    margin-top: auto;

    padding-top: 17px;
}

.hdc-view-house {
    width: 100%;

    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 13px;

    border-radius: 7px;

    background: #eef5f2;

    color: #202522;

    font-size: 12px;

    font-weight: 600;

    transition:
        background .2s ease,
        color .2s ease;
}

.hdc-view-house-arrow {
    font-size: 17px;
    line-height: 1;

    transition:
        transform .2s ease;
}

.hdc-view-house:hover {
    background: #147b4b;

    color: #fff;
}

.hdc-view-house:hover .hdc-view-house-arrow {
    transform: translateX(3px);
}


/* =========================================================
   PAGINATION
========================================================= */

.hdc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 38px;
}

.hdc-pagination .page-numbers {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0 3px;

    border: 1px solid #dde4e0;
    border-radius: 7px;

    background: #fff;

    color: #555;

    font-size: 12px;
    font-weight: 600;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.hdc-pagination .page-numbers:hover {
    border-color: #147b4b;

    color: #147b4b;
}

.hdc-pagination .page-numbers.current {
    border-color: #147b4b;

    background: #147b4b;

    color: #fff;
}

.hdc-pagination .page-numbers.prev,
.hdc-pagination .page-numbers.next {
    font-size: 15px;
}


/* =========================================================
   NO RESULTS
========================================================= */

.hdc-no-results {
    width: 100%;

    padding: 60px 20px;

    text-align: center;

    border: 1px solid #e3e9e6;
    border-radius: 12px;

    background: #fafcfb;
}

.hdc-no-results h3 {
    margin: 0 0 8px;

    font-size: 21px;

    color: #222;
}

.hdc-no-results p {
    margin: 0 0 20px;

    font-size: 14px;

    color: #777;
}

.hdc-no-results a {
    display: inline-flex;

    min-height: 40px;

    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border-radius: 7px;

    background: #147b4b;

    color: #fff;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   ARCHIVE PAGE
========================================================= */

.hdc-archive-page {
    width: 100%;

    padding: 55px 20px 80px;

    background: #fff;
}

.hdc-archive-container {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;
}

.hdc-archive-header {
    margin-bottom: 42px;

    text-align: center;
}

.hdc-archive-title {
    margin: 0 0 10px;

    font-size: 40px;
    line-height: 1.15;

    font-weight: 700;

    letter-spacing: -.7px;

    color: #111;
}

.hdc-archive-description {
    max-width: 680px;

    margin: 0 auto;

    font-size: 15px;
    line-height: 1.6;

    color: #777;
}

.hdc-archive-page .hdc-catalogue-header {
    display: none;
}

.hdc-archive-page .hdc-catalogue {
    padding: 0;
}


/* =========================================================
   SINGLE HOUSE PAGE
========================================================= */

.hdc-single-house {
    width: 100%;

    padding: 25px 20px 80px;

    background: #f7faf8;
}

.hdc-single-container {
    width: 100%;

    max-width: 1180px;

    margin: 0 auto;
}


/* =========================================================
   SINGLE BREADCRUMB
========================================================= */

.hdc-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 18px;

    font-size: 12px;
    line-height: 1.5;

    color: #8a928e;
}

.hdc-breadcrumb a {
    color: #777;

    transition: color .2s ease;
}

.hdc-breadcrumb a:hover {
    color: #147b4b;
}

.hdc-breadcrumb span:last-child {
    color: #333;

    font-weight: 500;
}


/* =========================================================
   SINGLE HERO
========================================================= */

.hdc-single-hero {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 7;

    overflow: hidden;

    border-radius: 16px;

    background: #e9efec;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .07);
}

.hdc-single-main-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hdc-single-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #999;

    font-size: 14px;
}


/* =========================================================
   HOUSE OVERVIEW
========================================================= */

.hdc-house-overview {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    gap: 35px;

    margin-top: 27px;
}


/* =========================================================
   HOUSE INTRO
========================================================= */

.hdc-house-intro {
    padding: 4px 0;
}

.hdc-single-category {
    display: inline-flex;
    align-items: center;

    min-height: 28px;

    padding: 5px 11px;

    margin-bottom: 12px;

    border-radius: 20px;

    background: #e8f4ed;

    color: #147b4b;

    font-size: 11px;
    line-height: 1;

    font-weight: 700;
}

.hdc-single-title {
    margin: 0 0 9px;
    padding: 0;

    font-size: 36px;
    line-height: 1.18;

    font-weight: 750;

    letter-spacing: -.8px;

    color: #151515;
}

.hdc-single-description {
    max-width: 680px;

    margin: 0;

    font-size: 15px;
    line-height: 1.65;

    color: #777;
}

.hdc-overview-divider {
    width: 100%;
    height: 1px;

    margin: 23px 0;

    background: #e0e7e3;
}


/* =========================================================
   OVERVIEW INFORMATION
========================================================= */

.hdc-overview-meta {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.hdc-overview-meta-item {
    min-width: 0;
}

.hdc-meta-label {
    display: block;

    margin-bottom: 6px;

    font-size: 10px;
    line-height: 1.2;

    text-transform: uppercase;

    letter-spacing: .6px;

    color: #999;
}

.hdc-overview-meta-item strong {
    display: block;

    font-size: 14px;
    line-height: 1.4;

    font-weight: 700;

    color: #222;
}


/* =========================================================
   ESTIMATED BUDGET CARD
========================================================= */

.hdc-house-contact-card {
    align-self: start;

    padding: 25px;

    border: 1px solid #dfe7e3;

    border-radius: 14px;

    background: #fff;

    box-shadow:
        0 8px 28px rgba(30, 70, 50, .06);
}

.hdc-price-label {
    margin-bottom: 6px;

    font-size: 10px;
    line-height: 1.3;

    text-transform: uppercase;

    letter-spacing: .7px;

    color: #999;
}

.hdc-price {
    margin-bottom: 10px;

    font-size: 29px;
    line-height: 1.2;

    font-weight: 750;

    color: #147b4b;
}

.hdc-house-contact-card p {
    margin: 0 0 20px;

    font-size: 12px;
    line-height: 1.6;

    color: #777;
}


/* =========================================================
   ENQUIRY BUTTON
========================================================= */

.hdc-enquiry-button {
    width: 100%;

    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 15px;

    border-radius: 8px;

    background: #147b4b;

    color: #fff;

    font-size: 12px;

    font-weight: 600;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.hdc-enquiry-button:hover {
    background: #0f673f;

    color: #fff;

    transform: translateY(-1px);

    box-shadow:
        0 6px 16px rgba(20, 123, 75, .16);
}

.hdc-button-arrow {
    font-size: 18px;
    line-height: 1;

    transition:
        transform .2s ease;
}

.hdc-enquiry-button:hover .hdc-button-arrow {
    transform: translateX(3px);
}


/* =========================================================
   SINGLE SECTIONS
========================================================= */

.hdc-single-section {
    margin-top: 65px;
}

.hdc-section-heading {
    margin-bottom: 25px;
}

.hdc-section-heading > span {
    display: block;

    margin-bottom: 8px;

    font-size: 10px;
    line-height: 1.2;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: #147b4b;
}

.hdc-section-heading h2 {
    margin: 0;
    padding: 0;

    font-size: 28px;
    line-height: 1.25;

    font-weight: 700;

    letter-spacing: -.4px;

    color: #151515;
}


/* =========================================================
   DETAILS GRID
========================================================= */

.hdc-details-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}

.hdc-detail-card {
    display: flex;
    align-items: center;

    gap: 13px;

    min-height: 88px;

    padding: 17px;

    border: 1px solid #e1e8e4;

    border-radius: 11px;

    background: #fff;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.hdc-detail-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, .05);
}

.hdc-detail-icon {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #edf6f1;

    color: #147b4b;

    font-size: 14px;

    font-weight: 700;
}

.hdc-detail-card span {
    display: block;

    margin-bottom: 4px;

    font-size: 10px;

    color: #999;
}

.hdc-detail-card strong {
    display: block;

    font-size: 13px;

    color: #222;
}


/* =========================================================
   ABOUT HOUSE CONTENT
========================================================= */

.hdc-house-content {
    max-width: 900px;

    padding: 30px;

    border: 1px solid #e1e8e4;

    border-radius: 13px;

    background: #fff;

    color: #555;

    font-size: 14px;

    line-height: 1.8;
}

.hdc-house-content > *:first-child {
    margin-top: 0;
}

.hdc-house-content > *:last-child {
    margin-bottom: 0;
}

.hdc-house-content h2,
.hdc-house-content h3,
.hdc-house-content h4 {
    margin-top: 25px;

    color: #222;
}

.hdc-house-content p {
    margin: 0 0 17px;
}

.hdc-house-content ul,
.hdc-house-content ol {
    margin: 15px 0;

    padding-left: 22px;
}

.hdc-house-content li {
    margin-bottom: 7px;
}


/* =========================================================
   ENQUIRY CTA
   LIGHT PREMIUM DESIGN
========================================================= */

.hdc-enquiry-section {
    position: relative;

    margin-top: 70px;

    padding: 48px 50px;

    overflow: hidden;

    border: 1px solid #dce9e2;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #eef7f2 0%,
            #f7faf8 55%,
            #edf5f1 100%
        );

    color: #17211c;

    box-shadow:
        0 8px 30px rgba(31, 74, 54, .06);
}


/* Decorative circle */

.hdc-enquiry-section::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -90px;
    top: -110px;

    border-radius: 50%;

    background: rgba(20, 123, 75, .07);

    pointer-events: none;
}


/* Enquiry content */

.hdc-enquiry-content {
    position: relative;

    z-index: 2;

    max-width: 720px;
}


/* Label */

.hdc-enquiry-label {
    display: block;

    margin-bottom: 10px;

    font-size: 10px;
    line-height: 1.2;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: #147b4b;
}


/* Heading */

.hdc-enquiry-section h2 {
    margin: 0 0 10px;

    font-size: 30px;
    line-height: 1.25;

    font-weight: 700;

    letter-spacing: -.4px;

    color: #17211c;
}


/* Text */

.hdc-enquiry-section p {
    max-width: 600px;

    margin: 0 0 24px;

    font-size: 13px;
    line-height: 1.65;

    color: #69756f;
}


/* CTA */

.hdc-enquiry-cta {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    min-height: 44px;

    padding: 0 18px;

    border: 1px solid #147b4b;

    border-radius: 7px;

    background: #147b4b;

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.hdc-enquiry-cta span {
    font-size: 17px;

    line-height: 1;

    transition:
        transform .2s ease;
}

.hdc-enquiry-cta:hover {
    background: #0f673f;

    border-color: #0f673f;

    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 6px 18px rgba(20, 123, 75, .18);
}

.hdc-enquiry-cta:hover span {
    transform: translateX(3px);
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1100px) {

    .hdc-house-grid {
        gap: 22px;
    }

    .hdc-house-content {
        padding: 18px;
    }

}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1000px) {

    .hdc-house-grid {
        gap: 16px;
    }

    .hdc-house-content {
        padding: 15px;
    }

    .hdc-house-title {
        font-size: 17px;
    }

    .hdc-house-description {
        font-size: 11px;
    }

    .hdc-house-overview {
        grid-template-columns:
            minmax(0, 1fr)
            300px;

        gap: 25px;
    }

    .hdc-single-title {
        font-size: 32px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .hdc-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hdc-catalogue-header {
        align-items: flex-start;
    }

    .hdc-catalogue-title {
        font-size: 25px;
    }

    .hdc-house-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

    .hdc-house-content {
        padding: 16px;
    }

    .hdc-house-title {
        font-size: 17px;
    }

    .hdc-stat-icon {
        width: 22px;
        height: 22px;

        flex-basis: 22px;
    }

    .hdc-stat-value {
        font-size: 10px;
    }


    /* Single page */

    .hdc-single-house {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hdc-house-overview {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .hdc-house-contact-card {
        max-width: 450px;
    }

    .hdc-overview-meta {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .hdc-details-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET SMALL
========================================================= */

@media (max-width: 760px) {

    .hdc-filters {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .hdc-filter-group {
        min-width: 0;
    }

    .hdc-filter-actions {
        grid-column: 1 / -1;

        justify-content: flex-start;
    }

    .hdc-filter-button {
        min-width: 130px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    /* ---------------------------------------------
       Catalogue
    --------------------------------------------- */

    .hdc-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hdc-catalogue-header {
        display: block;

        margin-bottom: 22px;
    }

    .hdc-catalogue-title {
        font-size: 24px;
    }

    .hdc-catalogue-description {
        font-size: 13px;
    }

    .hdc-result-count {
        margin-top: 8px;

        font-size: 11px;
    }

    .hdc-filters {
        grid-template-columns: 1fr;

        padding: 13px;

        margin-bottom: 22px;
    }

    .hdc-filter-actions {
        grid-column: auto;

        width: 100%;
    }

    .hdc-filter-button {
        flex: 1;
    }

    .hdc-house-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .hdc-house-image {
        aspect-ratio: 16 / 10;
    }

    .hdc-house-content {
        padding: 17px;
    }

    .hdc-house-title {
        font-size: 18px;
    }

    .hdc-house-description {
        min-height: auto;

        font-size: 12px;
    }

    .hdc-house-stats {
        gap: 14px;
    }

    .hdc-stat-value {
        font-size: 11px;
    }


    /* ---------------------------------------------
       Archive
    --------------------------------------------- */

    .hdc-archive-page {
        padding: 35px 14px 60px;
    }

    .hdc-archive-title {
        font-size: 32px;
    }

    .hdc-archive-description {
        font-size: 14px;
    }


    /* ---------------------------------------------
       Single house
    --------------------------------------------- */

    .hdc-single-house {
        padding: 18px 14px 55px;
    }

    .hdc-breadcrumb {
        margin-bottom: 14px;

        font-size: 10px;
    }

    .hdc-single-hero {
        aspect-ratio: 4 / 3;

        border-radius: 11px;
    }

    .hdc-house-overview {
        margin-top: 20px;
    }

    .hdc-single-title {
        font-size: 28px;

        letter-spacing: -.5px;
    }

    .hdc-single-description {
        font-size: 13px;
    }

    .hdc-overview-meta {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 17px;
    }

    .hdc-house-contact-card {
        max-width: none;

        padding: 20px;
    }

    .hdc-price {
        font-size: 25px;
    }

    .hdc-single-section {
        margin-top: 48px;
    }

    .hdc-section-heading {
        margin-bottom: 20px;
    }

    .hdc-section-heading h2 {
        font-size: 23px;
    }

    .hdc-details-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .hdc-detail-card {
        min-height: 76px;
    }

    .hdc-house-content {
        padding: 20px;

        font-size: 13px;
    }


    /* ---------------------------------------------
       Light enquiry section
    --------------------------------------------- */

    .hdc-enquiry-section {
        margin-top: 50px;

        padding: 34px 24px;

        border-radius: 12px;
    }

    .hdc-enquiry-section::after {
        width: 180px;
        height: 180px;

        right: -80px;
        top: -80px;
    }

    .hdc-enquiry-section h2 {
        font-size: 24px;
    }

    .hdc-enquiry-section p {
        font-size: 12px;
    }

    .hdc-enquiry-cta {
        min-height: 43px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .hdc-catalogue-title {
        font-size: 22px;
    }

    .hdc-house-content {
        padding: 14px;
    }

    .hdc-house-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .hdc-house-title {
        font-size: 17px;
    }

    .hdc-single-title {
        font-size: 25px;
    }

    .hdc-overview-meta {
        gap: 14px;
    }

    .hdc-overview-meta-item strong {
        font-size: 13px;
    }

    .hdc-enquiry-section {
        padding: 30px 20px;
    }

}

/* =========================================================
   DOWNLOAD HOUSE PLAN
========================================================= */

.hdc-download-plan {
    background: #147b4b;
    border: 1px solid #147b4b;

    color: #fff;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.hdc-download-plan:hover {
    background: #0f673f;
    border-color: #0f673f;

    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(20, 123, 75, .18);
}

.hdc-download-plan .hdc-button-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .15);

    font-size: 14px;

    transition:
        transform .2s ease,
        background .2s ease;
}

.hdc-download-plan:hover .hdc-button-arrow {
    transform: translateY(2px);

    background: rgba(255, 255, 255, .22);
}


/* No plan message */

.hdc-no-plan {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #e4ebe7;

    border-radius: 7px;

    background: #f7faf8;

    color: #777;

    font-size: 11px;

    line-height: 1.5;

    text-align: center;
}

/* =========================================================
   HDC BUTTON TEXT - WHITE
========================================================= */

/* Main buttons */
.hdc-enquiry-button,
.hdc-enquiry-button span,
.hdc-download-plan,
.hdc-download-plan span,
.hdc-enquiry-cta,
.hdc-enquiry-cta span,
.hdc-view-house,
.hdc-view-house span,
.hdc-filter-button,
.hdc-filter-button span {
    color: #ffffff !important;
}


/* Button links */
.hdc-enquiry-button:hover,
.hdc-enquiry-button:hover span,
.hdc-download-plan:hover,
.hdc-download-plan:hover span,
.hdc-enquiry-cta:hover,
.hdc-enquiry-cta:hover span,
.hdc-view-house:hover,
.hdc-view-house:hover span,
.hdc-filter-button:hover,
.hdc-filter-button:hover span {
    color: #ffffff !important;
}


/* Download button */
.hdc-download-plan {
    color: #ffffff !important;
}


/* Download button arrow */
.hdc-download-plan .hdc-button-arrow {
    color: #ffffff !important;
}


/* CTA arrow */
.hdc-enquiry-cta > span:last-child {
    color: #ffffff !important;
}


/* View Details arrow */
.hdc-view-house-arrow {
    color: #ffffff !important;
}

/* =========================================================
   HDC CATALOGUE BUTTONS
========================================================= */

/* View House button */
.hdc-catalogue .hdc-view-house {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 44px;

    padding: 0 16px;

    background: #087f5b !important;
    border: 1px solid #087f5b !important;
    border-radius: 7px;

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 13px;
    font-weight: 600;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* Text inside View House */
.hdc-catalogue .hdc-view-house span {
    color: #ffffff !important;
}


/* Arrow */
.hdc-catalogue .hdc-view-house-arrow {
    color: #ffffff !important;
    font-size: 17px;
    line-height: 1;
}


/* Hover */
.hdc-catalogue .hdc-view-house:hover {
    background: #066b4d !important;
    border-color: #066b4d !important;
    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow: 0 5px 14px rgba(8, 127, 91, 0.18);
}


.hdc-catalogue .hdc-view-house:hover span,
.hdc-catalogue .hdc-view-house:hover .hdc-view-house-arrow {
    color: #ffffff !important;
}


/* =========================================================
   APPLY FILTERS BUTTON
========================================================= */

.hdc-catalogue .hdc-filter-button {
    color: #ffffff !important;
    background: #087f5b !important;
    border: 1px solid #087f5b !important;
    font-weight: 600;
}

.hdc-catalogue .hdc-filter-button:hover {
    color: #ffffff !important;
    background: #066b4d !important;
    border-color: #066b4d !important;
}


/* =========================================================
   SINGLE HOUSE DOWNLOAD BUTTON
========================================================= */

.hdc-single-house .hdc-download-plan,
.hdc-single-house .hdc-download-plan span {
    color: #ffffff !important;
}

.hdc-single-house .hdc-download-plan {
    background: #087f5b !important;
    border-color: #087f5b !important;
}

.hdc-single-house .hdc-download-plan:hover {
    color: #ffffff !important;
    background: #066b4d !important;
    border-color: #066b4d !important;
}

.hdc-single-house .hdc-download-plan:hover span {
    color: #ffffff !important;
}


/* =========================================================
   SINGLE HOUSE CTA
========================================================= */

.hdc-single-house .hdc-enquiry-cta,
.hdc-single-house .hdc-enquiry-cta span {
    color: #ffffff !important;
}

.hdc-single-house .hdc-enquiry-cta {
    background: #087f5b !important;
    border-color: #087f5b !important;
}

.hdc-single-house .hdc-enquiry-cta:hover {
    background: #066b4d !important;
    border-color: #066b4d !important;
}

.hdc-single-house .hdc-enquiry-cta:hover span {
    color: #ffffff !important;
}
/* =========================================================
   MOBILE FILTER LAYOUT
========================================================= */

@media (max-width: 767px) {

    /* -----------------------------------------
       CATALOGUE CONTAINER
    ----------------------------------------- */

    .hdc-catalogue {
        width: 100%;
        padding: 0 14px 40px;
    }

    .hdc-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }


    /* -----------------------------------------
       HEADER
    ----------------------------------------- */

    .hdc-catalogue-header {
        text-align: center;
        margin-bottom: 24px;
    }

    .hdc-catalogue-title {
        font-size: 32px !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
    }

    .hdc-catalogue-description {
        font-size: 15px !important;
        line-height: 1.55 !important;
        max-width: 340px;
        margin: 0 auto;
    }

    .hdc-result-count {
        margin-top: 14px;
        font-size: 13px;
    }


    /* -----------------------------------------
       FILTER BOX
    ----------------------------------------- */

    .hdc-filters {
        display: grid !important;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 14px;

        padding: 18px !important;

        margin-bottom: 28px;

        border-radius: 16px !important;
    }


    /* -----------------------------------------
       FILTER GROUP
    ----------------------------------------- */

    .hdc-filter-group {
        width: 100%;
        min-width: 0;
    }

    .hdc-filter-group label {
        display: block;

        margin-bottom: 7px;

        font-size: 12px !important;
        line-height: 1.2;

        font-weight: 600;
    }


    /* -----------------------------------------
       SELECT
    ----------------------------------------- */

    .hdc-filter-group select {
        width: 100% !important;

        height: 42px !important;

        padding: 0 11px !important;

        font-size: 13px !important;

        border-radius: 7px !important;

        box-sizing: border-box;
    }


    /* -----------------------------------------
       SORT
       Full width
    ----------------------------------------- */

    .hdc-filter-group:nth-child(5) {
        grid-column: 1 / -1;
    }


    /* -----------------------------------------
       FILTER ACTIONS
    ----------------------------------------- */

    .hdc-filter-actions {
        grid-column: 1 / -1;

        display: flex;

        align-items: center;

        gap: 12px;

        width: 100%;

        margin-top: 2px;
    }


    /* Apply button */

    .hdc-filter-button {
        flex: 1;

        width: auto !important;

        min-height: 44px;

        padding: 0 16px !important;

        border-radius: 8px !important;

        font-size: 13px !important;

        font-weight: 600;

        color: #fff !important;
    }


    /* Clear */

    .hdc-clear-filters {
        flex: 0 0 auto;

        padding: 0 4px;

        font-size: 13px !important;

        white-space: nowrap;
    }


    /* -----------------------------------------
       HOUSE GRID
    ----------------------------------------- */

    .hdc-house-grid {
        display: grid !important;

        grid-template-columns: 1fr !important;

        gap: 20px !important;

        width: 100%;
    }


    /* -----------------------------------------
       HOUSE CARD
    ----------------------------------------- */

    .hdc-house-card {
        width: 100% !important;

        max-width: 100% !important;

        margin: 0 !important;
    }


    /* -----------------------------------------
       HOUSE IMAGE
    ----------------------------------------- */

    .hdc-house-image {
        width: 100%;

        aspect-ratio: 16 / 10;

        overflow: hidden;
    }

    .hdc-house-thumbnail {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /* -----------------------------------------
       CARD CONTENT
    ----------------------------------------- */

    .hdc-house-content {
        padding: 18px !important;
    }

    .hdc-house-title {
        font-size: 22px !important;

        line-height: 1.25 !important;

        margin-bottom: 8px !important;
    }

    .hdc-house-description {
        font-size: 13px !important;

        line-height: 1.5 !important;
    }


    /* -----------------------------------------
       CARD STATS
    ----------------------------------------- */

    .hdc-house-stats {
        display: grid !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 8px !important;

        margin-top: 18px;
    }

    .hdc-stat {
        min-width: 0;
    }

    .hdc-stat-label {
        font-size: 9px !important;
    }

    .hdc-stat-value {
        font-size: 11px !important;
    }


    /* -----------------------------------------
       VIEW HOUSE BUTTON
    ----------------------------------------- */

    .hdc-house-action {
        margin-top: 18px;
    }

    .hdc-catalogue .hdc-view-house {
        min-height: 44px;

        padding: 0 14px;

        font-size: 13px;
    }


    /* -----------------------------------------
       PAGINATION
    ----------------------------------------- */

    .hdc-pagination {
        margin-top: 28px;

        display: flex;

        justify-content: center;

        flex-wrap: wrap;
    }
}

/* =========================================================
   MOBILE FILTER TOGGLE
========================================================= */

/* Hidden on desktop */
.hdc-mobile-filter-toggle {
    display: none;
}


@media (max-width: 767px) {

    /* -----------------------------------------
       MOBILE FILTER BUTTON
    ----------------------------------------- */

    .hdc-mobile-filter-toggle {
        width: 100%;

        min-height: 52px;

        display: flex;

        align-items: center;

        justify-content: space-between;

        padding: 0 18px;

        margin: 0 0 18px;

        background: #f5f9f7;

        border: 1px solid #dce7e2;

        border-radius: 12px;

        color: #111827 !important;

        font-size: 14px;

        font-weight: 600;

        cursor: pointer;

        text-align: left;

        transition:
            background-color 0.2s ease,
            border-color 0.2s ease;
    }


    /* Left side */

    .hdc-filter-toggle-left {
        display: flex;

        align-items: center;

        gap: 10px;

        color: #111827 !important;
    }


    /* Icon */

    .hdc-filter-toggle-icon {
        width: 30px;

        height: 30px;

        display: flex;

        align-items: center;

        justify-content: center;

        border-radius: 8px;

        background: #087f5b;

        color: #ffffff !important;

        font-size: 13px;

        line-height: 1;
    }


    /* Arrow */

    .hdc-filter-toggle-arrow {
        display: flex;

        align-items: center;

        justify-content: center;

        width: 28px;

        height: 28px;

        color: #087f5b !important;

        font-size: 18px;

        transition: transform 0.25s ease;
    }


    /* -----------------------------------------
       OPEN STATE
    ----------------------------------------- */

    .hdc-mobile-filter-toggle.is-open {
        background: #eef7f3;

        border-color: #c9ddd5;
    }


    .hdc-mobile-filter-toggle.is-open
    .hdc-filter-toggle-arrow {
        transform: rotate(180deg);
    }


    /* -----------------------------------------
       FILTER PANEL
    ----------------------------------------- */

    .hdc-filters {
        display: none !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;

        width: 100%;

        box-sizing: border-box;

        margin-bottom: 26px;
    }


    /* Open */

    .hdc-filters.hdc-filters-open {
        display: grid !important;
    }


    /* -----------------------------------------
       FILTER GROUPS
    ----------------------------------------- */

    .hdc-filter-group {
        width: 100%;

        min-width: 0;
    }


    .hdc-filter-group label {
        display: block;

        margin-bottom: 7px;

        font-size: 12px !important;

        line-height: 1.2;

        font-weight: 600;
    }


    /* -----------------------------------------
       SELECT BOXES
    ----------------------------------------- */

    .hdc-filter-group select {
        width: 100% !important;

        height: 44px !important;

        padding: 0 12px !important;

        font-size: 13px !important;

        border-radius: 8px !important;

        box-sizing: border-box;
    }


    /* -----------------------------------------
       SORT - FULL WIDTH
    ----------------------------------------- */

    .hdc-filter-group:nth-child(5) {
        grid-column: 1 / -1;
    }


    /* -----------------------------------------
       ACTIONS - FULL WIDTH
    ----------------------------------------- */

    .hdc-filter-actions {
        grid-column: 1 / -1;

        display: flex;

        align-items: center;

        gap: 12px;

        width: 100%;

        margin-top: 2px;
    }


    /* -----------------------------------------
       APPLY BUTTON
    ----------------------------------------- */

    .hdc-catalogue .hdc-filter-button {
        flex: 1;

        width: auto !important;

        min-height: 44px;

        padding: 0 16px !important;

        border-radius: 8px !important;

        background: #087f5b !important;

        border: 1px solid #087f5b !important;

        color: #ffffff !important;

        font-size: 13px !important;

        font-weight: 600;
    }


    .hdc-catalogue .hdc-filter-button:hover {
        background: #066b4d !important;

        border-color: #066b4d !important;

        color: #ffffff !important;
    }


    /* -----------------------------------------
       CLEAR
    ----------------------------------------- */

    .hdc-clear-filters {
        flex: 0 0 auto;

        padding: 0 4px;

        color: #4b5563 !important;

        font-size: 13px !important;

        white-space: nowrap;
    }


    .hdc-clear-filters:hover {
        color: #087f5b !important;
    }


    /* -----------------------------------------
       HOUSE GRID
    ----------------------------------------- */

    .hdc-house-grid {
        display: grid !important;

        grid-template-columns: 1fr !important;

        gap: 20px !important;

        width: 100%;
    }


    /* -----------------------------------------
       HOUSE CARD
    ----------------------------------------- */

    .hdc-house-card {
        width: 100% !important;

        max-width: 100% !important;

        margin: 0 !important;
    }

}