/* Main stylesheet for rolixy theme
   Paste exported Webflow CSS here.
*/

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* Property categories block — Clean Professional */
.property-categories-block {
    margin: 30px 0 80px;
    padding: 0;
}

.property-categories {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.property-category-card {
    flex: 0 0 calc(25% - 12px);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    border-radius: 16px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.property-category-card:hover {
    transform: translateY(-0px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.property-category-card.active .property-category-img-wrap {
    box-shadow: 0 16px 40px rgba(59, 17, 7, 0.25);
    outline: 3px solid #3b1107;
}

.property-category-card.active .property-category-label {
    color: #3b1107;
    font-weight: 700;
}

.property-category-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: #f5f0ee;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.4s ease;
}

.property-category-card:hover .property-category-img-wrap {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.property-category-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.property-category-card:hover .property-category-img {
    transform: scale(1.02);
}

.property-category-label {
    margin-top: 14px;
    margin-bottom: 4px;
    font-size: 19.5px;
    color: #222;
    text-align: center;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.property-category-card:hover .property-category-label {
    color: #3b1107;
}

/* ===== RESPONSIVE — 2 Smart Blocks ===== */

/* 📱 Mobile — 375px to 767px */
@media (max-width: 767px) {
    .property-categories-block {
        margin: 20px 0 60px;
        padding: 0 12px;
    }

    .property-categories {
        gap: 10px;
        max-width: 100%;
    }

    .property-category-card {
        flex: 0 0 calc(50% - 5px);
        min-width: auto;
        max-width: none;
        border-radius: 12px;
    }

    .property-category-img {
        height: 145px;
        border-radius: 12px;
    }

    .property-category-img-wrap {
        border-radius: 12px;
    }

    .property-category-img-wrap::after {
        border-radius: 0 0 12px 12px;
    }

    .property-category-label {
        font-size: 13.5px;
        margin-top: 8px;
    }

    .property-category-card:hover {
        transform: translateY(-4px);
    }

    .mobile-property-categories {
        margin-top: 10px;
    }

    .property-status-text {
        color: var(--colors--white);
        font-size: 12px;
        text-decoration: none;
    }

    .propertis-growth-text {
        color: var(--colors--primary);
        font-size: 12px;
    }
}

/* 📟 Tablet — 768px to 995px */
@media (min-width: 768px) and (max-width: 995px) {
    .property-categories-block {
        margin: 20px 0 70px;
        padding: 0 20px;
    }

    .property-categories {
        gap: 16px;
        max-width: 720px;
    }

    .property-category-card {
        flex: 0 0 calc(50% - 8px);
        min-width: auto;
        max-width: none;
        border-radius: 16px;
    }

    .property-category-img {
        height: 200px;
        border-radius: 16px;
    }

    .property-category-img-wrap {
        border-radius: 16px;
    }

    .property-category-img-wrap::after {
        border-radius: 0 0 16px 16px;
    }

    .property-category-label {
        font-size: 15px;
        margin-top: 10px;
    }

    .property-category-card:hover {
        transform: translateY(-6px);
    }
}

/* Property Image Fix: Ensures all images have the same size and aspect ratio */
.properties-image {
    width: 100% !important;
    aspect-ratio: 6 / 4 !important;
    /* Fixed aspect ratio to match Kessaku image */
    object-fit: cover !important;
    display: block !important;
}

.properties-image-block {
    overflow: hidden;
    border-top-left-radius: 12px;
    /* Adjust based on original design */
    border-top-right-radius: 12px;
}

/* Desktop Mega Menu Styles */
@media (min-width: 992px) {
    .nav-dropdown-list {
        top: 52px !important;
        left: -60px !important;
        border-radius: 8px !important;
        overflow: hidden;
        border: 1px solid #b9a9a5 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
        background-color: #fff !important;
    }

    .nav-dropdown-flex {
        min-width: 316px;
        padding: 30px !important;
        display: flex !important;
        justify-content: space-between !important;
        gap: 40px !important;
        background-color: #fff;
    }

    .mobile-logo {
        display: none !important;
    }
}

/* Mobile Menu Fixes */
@media (max-width: 991px) {
    .nav-dropdown-list {
        position: static !important;
        display: none;
        /* Webflow handles toggle */
        width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        background-color: transparent !important;
    }

    .nav-dropdown-list.w--open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-dropdown-flex {
        min-width: auto !important;
        /* Fix for horizontal scroll */
        width: 218px !important;
        display: block !important;
        padding: 15px !important;
        position: relative !important;
    }

    .nav-dropdown-column {
        margin-bottom: 20px;
    }

    .nav-dropdown-link-block {
        padding: 8px 0 !important;
    }

    .nav-heading {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }

    .nav-menu-wrapper {
        background-color: #fff !important;
        padding: 20px !important;
    }

    /* Ensure logo in mobile menu is styled correctly */
    .list-item.mobile-logo {
        display: block !important;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
}

.nav-dropdown-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-dropdown-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-dropdown-link-block {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 5px 0 5px 23px !important;
}

.dropdown-border-line {
    width: 8px !important;
    height: 8px !important;
    background-color: #3b1107 !important;
    transition: opacity 0.3s ease;
    position: absolute;
    left: 0;
    opacity: 0;
}

.nav-dropdown-link-block:hover .dropdown-border-line,
.nav-dropdown-link-block.active .dropdown-border-line {
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-dropdown-link-block:hover .nav-dropdown-link,
.nav-dropdown-link-block.active .nav-dropdown-link {
    color: #3b1107 !important;
    text-decoration: underline !important;
    transform: translateX(16px) !important;
}

/* Heading styling - EXACT SYNC */
.nav-heading {
    margin: 0 0 15px 0 !important;
    font-weight: 600 !important;
    color: #3b1107 !important;
    font-size: 24px !important;
    text-transform: none !important;
    line-height: 1.2 !important;
}

.margin-top-30px {
    margin-top: 25px !important;
}

/* Link styling - EXACT SYNC */
.nav-dropdown-link {
    padding: 0 !important;
    color: #0a0a0a !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    display: inline-block !important;
    /* Required for transform */
    transition: all 0.3s ease !important;
}

/* 2-Project grid layout */
.properties-cms-list-block {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
}

/* Equal height cards */
.properties-cms-list-block .properties-list-items {
    height: 100% !important;
    display: flex !important;
}

/* Vertical card layout (image top, content bottom) */
.properties-cms-list-block .properties-single-item-block,
.properties-cms-list-block .properties-single-item-block-v2 {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    min-height: auto !important;
}

/* Image container */
.properties-cms-list-block .properties-image-block {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    overflow: hidden !important;
}

.properties-cms-list-block .properties-image-link {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
}

/* Smooth image hover — same feel as original */
.properties-cms-list-block .properties-image {
    transition: transform 0.5s ease !important;
}

.properties-cms-list-block .properties-single-item-block:hover .properties-image,
.properties-cms-list-block .properties-single-item-block-v2:hover .properties-image {
    transform: scale(1.05) !important;
}

/* Content block — uniform padding */
.properties-cms-list-block .properties-content-block {
    padding: 30px !important;
    padding-left: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-grow: 1 !important;
}

/* Responsive */
@media (max-width: 767px) {
    .properties-cms-list-block {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* ==========================================
   Hero Search Filter - Responsive & Bug Fixes
   ========================================== */

/* Fix Chrome native select dropdown displacement bug on all screen sizes */
.hero-filter-block {
    transform: none !important;
    will-change: auto !important;
}

/* Tablet & Mobile Screens (Responsive Layout) */
@media (max-width: 991px) {
    .hero-filter-block {
        width: 100% !important;
        max-width: 550px !important;
        margin: 24px auto 0 auto !important;
        padding: 0 16px !important;
    }

    .hero-filter-inner-block {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        background-color: #ffffff !important;
        border-radius: 16px !important;
        padding: 20px !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
    }

    /* Hide the vertical divider lines on mobile/tablet */
    .hero-filter-inner-block .filter-option-devider {
        display: none !important;
    }

    /* Beautiful stacked select inputs */
    .hero-filter-inner-block .filter-select-option {
        width: 100% !important;
        height: 52px !important;
        margin: 0 !important;
        background-color: #fcfbfa !important;
        border: 1px solid #e2dad6 !important;
        border-radius: 10px !important;
        color: #3b1107 !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        padding: 0 16px !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        /* Elegant custom arrow icon */
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233B1107' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 16px center !important;
        background-size: 16px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }

    .hero-filter-inner-block .filter-select-option:hover {
        background-color: #f7f5f4 !important;
        border-color: #c5b8b4 !important;
    }

    .hero-filter-inner-block .filter-select-option:focus {
        background-color: #ffffff !important;
        border-color: #3b1107 !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(59, 17, 7, 0.08) !important;
    }

    /* Beautiful full-width search button */
    .hero-filter-inner-block .filter-search-button {
        width: 100% !important;
        height: 52px !important;
        margin: 0 !important;
        background-color: #3b1107 !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 10px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        text-transform: none !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-filter-inner-block .filter-search-button:hover {
        background-color: #52190b !important;
        box-shadow: 0 6px 16px rgba(59, 17, 7, 0.2) !important;
    }

    .hero-filter-inner-block .filter-search-button:active {
        transform: scale(0.98) !important;
    }
}

/* ==========================================
   Premium Mobile/Tablet Custom Dropdown Overrides
   (Always Downwards + Smart Scroll + Juni Style)
   ========================================== */

/* Add spacing below filter on mobile so dropdown has generous space to open downwards */
@media (max-width: 991px) {
    .hero-video-block {
        padding-bottom: 70px !important;
    }
}

/* Prevent clipping of custom dropdown list outside parent containers */
.hero-filter-block,
.hero-filter-inner-block,
#wf-form-Email-Form {
    overflow: visible !important;
}


.custom-dropdown-container {
    position: relative !important;
    width: 100% !important;
    user-select: none !important;
    text-align: left !important;
}

.custom-dropdown-trigger {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    /* Reset bottom margin to match flex layout gap */
    margin-bottom: 0 !important;
}

.custom-dropdown-text {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
}

/* Options List - ALWAYS OPENS DOWNWARDS with Smart Scroll */
.custom-dropdown-list {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    width: 100% !important;
    max-height: 200px !important;
    /* Smart Scroll limit */
    overflow-y: auto !important;
    /* Enable scrollbar */
    background-color: #ffffff !important;
    border: 1px solid #e2dad6 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(59, 17, 7, 0.12) !important;
    z-index: 999999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.custom-dropdown-container.is-open .custom-dropdown-list {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Dropdown list items styling */
.custom-dropdown-item {
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #3b1107 !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
    cursor: pointer !important;
}

.custom-dropdown-item:hover {
    background-color: #f7f5f4 !important;
    color: #52190b !important;
}

.custom-dropdown-item.is-selected {
    background-color: #3b1107 !important;
    color: #ffffff !important;
}

/* Webkit Scrollbar customized for a premium feel */
.custom-dropdown-list::-webkit-scrollbar {
    width: 6px !important;
}

.custom-dropdown-list::-webkit-scrollbar-track {
    background: transparent !important;
}

.custom-dropdown-list::-webkit-scrollbar-thumb {
    background-color: #c5b8b4 !important;
    border-radius: 10px !important;
}

/* Responsive Nav Text */
.nav-menu-text {
    font-size: 24px;
    font-weight: 600;
    color: #3b1107;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .nav-menu-text {
        font-size: 18px;
        text-align: center;
        margin-bottom: 12px;
    }
}

/* Custom CSS for 4 details cards (Unit Configuration, Total Units, Land Area, Structure) */
.properties-room-details-block {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    /* 2x2 grid on desktop is much more spacious and elegant */
    grid-gap: 12px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

/* Custom CSS for 4 details cards (Unit Configuration, Total Units, Land Area, Structure) */
.properties-room-details-block {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    /* 2x2 grid on desktop is much more spacious and elegant */
    grid-gap: 12px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.properties-room-details-card {
    background-color: #ffffff !important;
    border: 1px solid #f2ebe9 !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 88px !important;
    box-shadow: 0 4px 12px rgba(59, 17, 7, 0.02) !important;
}

.properties-icon-and-text-block {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    /* Perfect gap for visual hierarchy */
    margin-bottom: 4px !important;
}

.room-details-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Ensure custom SVG icons in details align and color correctly */
.properties-icon-and-text-block svg.room-details-icon {
    stroke: #3b1107 !important;
    width: 18px !important;
    height: 18px !important;
    fill: none !important;
}

.properties-icon-and-text-block svg.room-details-icon path {
    stroke: #3b1107 !important;
    stroke-width: 1.5 !important;
}

.properties-room-details-text {
    font-size: 16px !important;
    /* Increased font size for desktop readability */
    font-weight: 500 !important;
    color: #7c6a65 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.properties-room-info-text {
    font-size: 21px !important;
    /* Increased metric font size for high impact */
    font-weight: 700 !important;
    color: #3b1107 !important;
    margin: 0 !important;
    margin-top: 4px !important;
    /* Breathing room below the label */
    line-height: 1.2 !important;
}

/* Responsive layout overrides */
@media (max-width: 991px) {
    .properties-room-details-block {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 10px !important;
    }

    .properties-room-details-card {
        padding: 12px 16px !important;
        min-height: 80px !important;
    }

    .properties-room-details-text {
        font-size: 13px !important;
    }

    .properties-room-info-text {
        font-size: 18px !important;
    }

    .room-details-icon,
    .properties-icon-and-text-block svg.room-details-icon {
        width: 16px !important;
        height: 16px !important;
    }
}

@media (max-width: 479px) {
    .properties-room-details-block {
        grid-template-columns: repeat(2, 1fr) !important;
        /* 2x2 on phone screens */
        grid-gap: 8px !important;
    }

    .properties-room-details-card {
        padding: 10px 12px !important;
        min-height: 70px !important;
        border-radius: 10px !important;
    }

    .properties-room-details-text {
        font-size: 13px !important;
    }

    .properties-room-info-text {
        font-size: 16px !important;
    }

    .room-details-icon,
    .properties-icon-and-text-block svg.room-details-icon {
        width: 14px !important;
        height: 14px !important;
    }
}

/* ==========================================
   Fully Responsive Buttons Group (All Screens)
   ========================================== */
.properties-button-group,
.properties-section .properties-button-group {
    display: flex !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.properties-button-group .primary-button-wrapper,
.properties-button-group .secondary-button-wrapper,
.properties-section .properties-button-group .primary-button-wrapper,
.properties-section .properties-button-group .secondary-button-wrapper {
    box-sizing: border-box !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
}

/* On larger mobile screens, tablets, and desktops (width >= 480px), keep buttons side-by-side */
@media (min-width: 480px) {

    .properties-button-group,
    .properties-section .properties-button-group {
        flex-direction: row !important;
    }

    .properties-button-group .primary-button-wrapper,
    .properties-button-group .secondary-button-wrapper,
    .properties-section .properties-button-group .primary-button-wrapper,
    .properties-section .properties-button-group .secondary-button-wrapper {
        flex: 1 !important;
        width: auto !important;
    }
}

/* On small phone screens (width < 480px), stack buttons vertically to prevent text overlap */
@media (max-width: 479px) {

    .properties-button-group,
    .properties-section .properties-button-group {
        flex-direction: column !important;
    }

    .properties-button-group .primary-button-wrapper,
    .properties-button-group .secondary-button-wrapper,
    .properties-section .properties-button-group .primary-button-wrapper,
    .properties-section .properties-button-group .secondary-button-wrapper {
        width: 100% !important;
    }
}

/* Tablet layout fix for property grid */
@media (min-width: 700px) and (max-width: 995px) {
    .properties-cms-list-block {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .properties-cms-list-block .properties-single-item-block,
    .properties-cms-list-block .properties-single-item-block-v2 {
        grid-column: span 1 !important;
    }
}

/* Desktop styling for the front page properties section (width >= 996px) to match user screenshot */
@media (min-width: 996px) {

    /* 2-column layout for the properties section grid on desktop */
    .properties-section .properties-cms-list-block {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }

    /* Force the cards to be vertical (image top, content bottom) */
    .properties-section .properties-single-item-block {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Keep side-by-side equal-width buttons on desktop */
    .properties-section .properties-button-group {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .properties-section .properties-button-group .primary-button-wrapper,
    .properties-section .properties-button-group .secondary-button-wrapper {
        flex: 1 !important;
        width: auto !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* Mobile Screens (300px to 595px) */
@media only screen and (min-width: 300px) and (max-width: 595px) {
    .gallery-single-image-block {
        border-radius: 4px;
        overflow: hidden;
        height: 193px !important;
    }
}

/* Tablet Screens (700px to 995px) */
@media only screen and (min-width: 700px) and (max-width: 995px) {
    .gallery-single-image-block {
        border-radius: 4px;
        overflow: hidden;
        height: 393px !important;
    }
}

/* Desktop Screens */
@media only screen and (min-width: 996px) {
    .gallery-single-image-block {
        border-radius: 4px;
        overflow: hidden;
        height: 480px !important;
    }
}

.location-content-block {
    margin-top: var(--sizes--content-gap);
    grid-column-gap: var(--sizes--gap-30px);
    grid-row-gap: var(--sizes--gap-30px);
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    display: block !important;
}

/* ==========================================
   Custom Styles for Search Input (Fully Responsive)
   ========================================== */
.hero-filter-inner-block input.filter-select-option {
    background-image: none !important;
    cursor: text !important;
    box-sizing: border-box !important;
}

.hero-filter-inner-block {
    box-sizing: border-box !important;
}

.hero-filter-inner-block .filter-search-button {
    box-sizing: border-box !important;
}

/* On tablets and desktops (width >= 600px), align horizontally as a row */
@media (min-width: 600px) {
    .hero-filter-inner-block {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 16px 20px !important;
    }

    .hero-filter-inner-block input.filter-select-option {
        flex: 1 !important;
        margin: 0 !important;
        width: auto !important;
    }

    .hero-filter-inner-block .filter-search-button {
        margin: 0 !important;
        width: auto !important;
        min-width: 140px !important;
        flex-shrink: 0 !important;
    }
}

/* On mobile phones (width < 600px), stack vertically */
@media (max-width: 599px) {
    .hero-filter-inner-block {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 16px !important;
    }

    .hero-filter-inner-block input.filter-select-option {
        width: 100% !important;
        margin: 0 !important;
    }

    .hero-filter-inner-block .filter-search-button {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* Property Zone Filters styling */
.property-zones-block {
    margin: -20px 0 60px;
    text-align: center;
}

.property-zones-inner {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    background: #fdfaf9;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #f2ebe9;
    box-shadow: 0 4px 15px rgba(59, 17, 7, 0.03);
}

.property-zone-pill {
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-zone-pill:hover {
    background-color: #f2ebe9;
    color: #3b1107;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .property-zones-block {
        margin: -10px 0 40px;
        padding: 0 12px;
    }

    .property-zones-inner {
        border-radius: 20px !important;
        padding: 8px 10px !important;
        width: 100%;
        box-sizing: border-box;
    }

    .property-zone-pill {
        padding: 8px 14px !important;
        font-size: 13px !important;
        flex: 1 1 auto;
        text-align: center;
    }
}

/* Premium Footer Mobile and Tablet Overrides */
@media (max-width: 991px) {

    /* Hide absolute positioned background grids to prevent white gaps */
    .footer-bg-grid {
        display: none !important;
    }

    /* Make the footer container full-bleed and remove white gaps */
    .footer {
        background-color: transparent !important;
        padding: 0 !important;
    }

    .footer .w-layout-blockcontainer.main-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .footer-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        /* Zero gap between left (cream) and right (brown) column */
        align-items: stretch !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    /* Premium full-bleed styling for the top (left) column */
    .footer-left-column {
        background-color: #f5f0ee !important;
        /* Premium warm cream theme color */
        padding: 50px 24px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Premium full-bleed styling for the bottom (right) column */
    .footer-right-column {
        background-color: #3b1107 !important;
        /* Premium warm dark brown theme color */
        padding: 50px 24px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .footer-grid-block {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
        width: 100% !important;
        margin-bottom: 30px !important;
    }

    .footer-menu-single-column {
        width: 100% !important;
        margin: 0 !important;
    }

    .footer-menu-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #b9a9a5 !important;
        /* Premium rose gold/beige accent */
        margin-bottom: 20px !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        border-bottom: 1px solid rgba(185, 169, 165, 0.2) !important;
        padding-bottom: 8px !important;
    }

    .footer-menu-block {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .footer-menu-link {
        font-size: 15px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        /* Slightly lighter white for premium look */
        text-decoration: none !important;
        padding: 4px 0 !important;
        display: inline-block !important;
        transition: all 0.3s ease !important;
        text-align: left !important;
    }

    .footer-menu-link:hover,
    .footer-menu-link.active,
    .footer-menu-link.w--current {
        color: #ffffff !important;
        padding-left: 6px !important;
        /* Clean micro-animation */
    }

    .footer-devider {
        margin: 30px 0 20px !important;
        opacity: 0.15 !important;
    }

    .footer-lower-text-block {
        text-align: center !important;
    }

    .footer-lower-text {
        font-size: 13.5px !important;
        color: rgba(255, 255, 255, 0.6) !important;
        line-height: 1.6 !important;
    }
}

/* Center and polish footer menu on screens between 700px and 995px */
@media (min-width: 700px) and (max-width: 995px) {

    /* Style the right column wrapper padding */
    .footer-right-column {
        padding-top: 60px !important;
        padding-bottom: 50px !important;
        background-color: #3b1107 !important;
    }

    /* Grid alignment */
    .footer-grid-block {
        margin-left: 165px !important;
        margin-right: auto !important;
        max-width: 550px !important;
        width: 100% !important;
        margin-bottom: 30px !important;
    }

    /* Professional headings */
    .footer-menu-title {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #b9a9a5 !important;
        /* Rose gold accent */
        letter-spacing: 1.2px !important;
        text-transform: uppercase !important;
        border-bottom: 1px solid rgba(185, 169, 165, 0.2) !important;
        padding-bottom: 10px !important;
        margin-bottom: 24px !important;
    }

    /* Menu links spacing and transitions */
    .footer-menu-block {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    .footer-menu-link {
        font-size: 15px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
    }

    .footer-menu-link:hover,
    .footer-menu-link.active,
    .footer-menu-link.w--current {
        color: #ffffff !important;
        padding-left: 6px !important;
    }

    /* Divider and lower block centering and styling */
    .footer-devider {
        margin: 40px auto 25px !important;
        opacity: 0.12 !important;
        width: 100% !important;
        max-width: 550px !important;
    }

    .footer-lower-text-block {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 550px !important;
    }

    .footer-lower-text {
        font-size: 13.5px !important;
        color: rgba(255, 255, 255, 0.6) !important;
        line-height: 1.6 !important;
        display: block !important;
        width: 100% !important;
        margin-left: -64px;
    }
}