﻿/* ========================================
   HOME CUSTOM - New Property Card Design
   ======================================== */

/* --- Card Base Overrides --- */
.box.box-dream.hv-one.arkad-prop-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    border-radius: 16px;
    overflow: visible; /* allow Promoted ribbon to sit on card corner */
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    background: #fff;
    border: 1px solid #efefef;
    transition: box-shadow 0.25s, transform 0.25s;
    position: relative;
    isolation: isolate;
}
.box.box-dream.hv-one.arkad-prop-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.16);
    transform: translateY(-3px);
}

/* Featured grid: even card sizing */
.flat-featured .wrap-item[data-featured-grid] {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
    align-items: stretch;
    overflow: visible;
    margin-left: 0 !important; /* theme uses -30px with old box margins */
    margin-right: 0 !important;
    width: 100%;
    padding: 8px 12px 4px; /* room for Promoted ribbon + card shadow */
    box-sizing: border-box;
}
.flat-featured .wrap-item[data-featured-grid] .arkad-prop-card {
    flex: 0 1 320px;
    width: auto !important;
    max-width: 340px;
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important; /* override theme .wg-dream .box-dream padding */
}

/* --- Image Group (inset from card edges like padded media) --- */
.arkad-prop-card .image-group {
    position: relative;
    width: calc(100% - 20px);
    height: 230px;
    margin: 10px 10px 0;
    overflow: hidden;
    border-radius: 12px;
    z-index: 1;
    background: #e8eee9;
}
.arkad-prop-card .image-group .swiper-container,
.arkad-prop-card .image-group .carousel-2,
.arkad-prop-card .image-group .prop-card-carousel {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 3;
}
.arkad-prop-card .image-group .swiper-wrapper {
    height: 100%;
}
.arkad-prop-card .image-group .swiper-slide {
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e8eee9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.arkad-prop-card .image-group .carousel-2 {
    min-height: 230px;
}
/* Theme .hv-one .img-style::before adds a dark hover overlay (z-index 99) — disable on cards */
.arkad-prop-card.hv-one .prop-card-carousel::before,
.arkad-prop-card.hv-one:hover .prop-card-carousel::before,
.arkad-prop-card .prop-card-carousel::before {
    display: none !important;
    content: none !important;
}
.arkad-prop-card .prop-card-carousel .swiper-wrapper {
    height: 100%;
}
.arkad-prop-card .prop-card-carousel.swiper-initialized .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    min-height: 230px;
}
.arkad-prop-card .prop-card-carousel .swiper-slide img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    pointer-events: none;
}
.arkad-prop-card .image-group .swiper-slide {
    cursor: grab;
}
.arkad-prop-card .image-group .swiper-slide:active {
    cursor: grabbing;
}
.arkad-prop-card .image-group .swiper-slide > a,
.arkad-prop-card .image-group .prop-cover-video-link {
    display: block;
    width: 100%;
    height: 100%;
}
/* First photo visible before Swiper boots (and for single-image cards). */
.arkad-prop-card .carousel-2:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}
.arkad-prop-card .carousel-2:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}
.arkad-prop-card .image-group img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: auto;
    display: block;
    border-radius: 12px;
}
/* Theme sets aspect-ratio on .wg-dream .box-dream:not(.flex) .image-group img - kill it for our cards. */
.wg-dream .box-dream.arkad-prop-card:not(.flex) .image-group img {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.arkad-prop-card .image-group .prop-cover-video,
.arkad-prop-card .image-group .prop-cover-video-link {
    display: block;
    width: 100%;
    height: 230px;
}
.arkad-prop-card .image-group .prop-cover-video {
    object-fit: cover;
    border-radius: 12px;
    background: #000;
    pointer-events: none;
}
.arkad-prop-card .icon-plus {
    display: none !important;
}
.arkad-prop-card .prop-card-nav {
    position: absolute;
    top: 50%;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: auto;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
}
.arkad-prop-card .prop-card-nav:hover {
    background: transparent;
    color: #fff;
}
.arkad-prop-card .prop-card-nav-prev {
    left: 8px;
}
.arkad-prop-card .prop-card-nav-next {
    right: 8px;
}
.arkad-prop-card .image-group:hover .prop-card-nav,
.arkad-prop-card .image-group:focus-within .prop-card-nav {
    opacity: 1;
}
@media (hover: none) {
    .arkad-prop-card .prop-card-nav {
        opacity: 0.88;
    }
}
.arkad-prop-card .swiper-button-next2,
.arkad-prop-card .swiper-button-prev2 {
    display: none !important;
}

/* Bottom fade for price readability */
.arkad-prop-card .prop-image-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 88px;
    z-index: 6;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
}

/* --- Featured ribbon PNG (default / home cards) --- */
.arkad-prop-card > .prop-promoted-wrap {
    position: absolute;
    top: -11px;
    left: -10px;
    bottom: auto;
    right: auto;
    width: 145px;
    height: 145px;
    z-index: 20;
    pointer-events: none;
    overflow: hidden;
    border-radius: 12px 0 0 0;
}
.arkad-prop-card > .prop-promoted-wrap .prop-promoted-ribbon {
    display: block;
    width: 145px;
    height: 145px;
    margin: 0;
    object-fit: contain;
    object-position: top left;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.28));
}

/* Home featured grids - slightly larger ribbon (home + property detail featured) */
.flat-featured .wrap-item[data-featured-grid] .arkad-prop-card > .prop-promoted-wrap,
.flat-featured.home .arkad-prop-card > .prop-promoted-wrap,
.flat-rent.flat-featured .arkad-prop-card > .prop-promoted-wrap,
.flat-sale-detail.flat-featured .arkad-prop-card > .prop-promoted-wrap {
    top: -10px;
    left: -11px;
    bottom: auto;
    right: auto;
    width: 155px;
    height: 155px;
}
.flat-featured .wrap-item[data-featured-grid] .arkad-prop-card > .prop-promoted-wrap .prop-promoted-ribbon,
.flat-featured.home .arkad-prop-card > .prop-promoted-wrap .prop-promoted-ribbon,
.flat-rent.flat-featured .arkad-prop-card > .prop-promoted-wrap .prop-promoted-ribbon,
.flat-sale-detail.flat-featured .arkad-prop-card > .prop-promoted-wrap .prop-promoted-ribbon {
    width: 155px;
    height: 155px;
}

/* --- Status Badge (top-right) --- */
.arkad-prop-card .prop-status-badge {
    position: absolute;
    top: 12px;
    left: auto;
    right: 12px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px 4px;
    min-height: 24px;
    line-height: 1;
    border-radius: 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: #fff;
    box-sizing: border-box;
}
.prop-status-badge.ready,
.prop-status-badge.for-sale {
    background: #FFA920;
}
.prop-status-badge.ongoing {
    background: #23C1A5;
}
.prop-status-badge.for-rent {
    background: #22C55E;
}
.prop-status-badge.new-project {
    background: #2563EB;
}

/* --- Secondary flag badge (Installments, etc.) --- */
.arkad-prop-card .prop-flag-badge {
    position: absolute;
    top: 42px;
    right: 12px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px 3px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}
.arkad-prop-card .prop-flag-badge.installment {
    background: #0F766E;
}

/* --- Agency label --- */
.arkad-prop-card .prop-by-label {
    position: absolute;
    bottom: 48px;
    left: 12px;
    z-index: 10;
    background: rgba(28, 28, 30, 0.55);
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
}
.arkad-prop-card .prop-by-label i {
    font-size: 10px;
    color: rgba(255,255,255,0.9);
}

/* --- Price overlay --- */
.arkad-prop-card .prop-price-overlay {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 10;
    pointer-events: none;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-shadow: 0 1px 8px rgba(0,0,0,0.45);
    line-height: 1.15;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    max-width: calc(100% - 28px);
}
.arkad-prop-card .prop-price-overlay .prop-price-current {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}
.arkad-prop-card .prop-price-overlay.has-discount .prop-price-original {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.arkad-prop-card .prop-price-overlay.has-discount .prop-price-current {
    font-size: 20px;
    font-weight: 800;
}

/* --- Hide old featured / bookmark --- */
.box.box-dream .image-group > .featured,
.box.box-dream .image-group > .icon-bookmark {
    display: none;
}

/* --- Content --- */
.arkad-prop-card .content {
    padding: 14px 16px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
    border-radius: 0 0 16px 16px;
    position: relative;
    z-index: 1;
}
.arkad-prop-card .content h3.link-style-1 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.35;
}
.arkad-prop-card .content h3.link-style-1 a {
    color: #1a1a2e;
}
.arkad-prop-card .content h3.link-style-1 a:hover {
    color: #FFA920;
}

.arkad-prop-card .prop-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.arkad-prop-card .prop-location {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
    font-size: 12.5px;
    color: #8a8a8a;
    margin-bottom: 0;
}
.arkad-prop-card .prop-location i {
    color: #FFA920;
    font-size: 12px;
    flex-shrink: 0;
}
.arkad-prop-card .prop-condition {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    font-size: 12.5px;
    color: #8a8a8a;
    white-space: nowrap;
}
.arkad-prop-card .prop-condition i {
    color: #A67C52;
    font-size: 12px;
}

/* --- Spec boxes (compact) --- */
.arkad-prop-card .prop-spec-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
    gap: 4px;
    width: 100%;
    margin: 0 0 8px;
    padding: 0 0 8px;
    border-bottom: 1px solid #f0f0f0;
    box-sizing: border-box;
}
.arkad-prop-card .prop-spec-box {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1px;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 5px 3px 4px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
}
.arkad-prop-card .prop-spec-box i {
    display: inline-block;
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 10px;
    line-height: 1;
    color: #A67C52;
    margin: 0;
    align-self: center;
}
.arkad-prop-card .prop-spec-box .lbl {
    display: block;
    width: 100%;
    font-size: 7.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #9a9a9a;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.arkad-prop-card .prop-spec-box .val {
    display: block;
    width: 100%;
    font-size: 11px;
    font-weight: 700;
    color: #120A21;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Author footer (compact) --- */
.arkad-prop-card .prop-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    border-top: none; /* separator lives on .prop-spec-grid */
    padding-top: 0;
}
.arkad-prop-card .prop-author-row .author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.arkad-prop-card .author-av-wrap {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.arkad-prop-card .author-presence-dot {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    box-sizing: border-box;
}
.arkad-prop-card .author-presence-dot.is-online {
    background: #22C55E;
}
.arkad-prop-card .author-presence-dot.is-offline {
    background: #9CA3AF;
}
.arkad-prop-card .author-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.arkad-prop-card .prop-author-row .author-name {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.15;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}
.arkad-prop-card .author-presence-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    flex-shrink: 0;
}
.arkad-prop-card .author-presence-label.is-online {
    color: #22C55E;
}
.arkad-prop-card .author-presence-label.is-offline {
    color: #9CA3AF;
}
.arkad-prop-card .author-tagline {
    font-size: 9.5px;
    color: #9a9a9a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.prop-author-badge {
    --rk: var(--rk-color, #3B82F6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25px;
    flex-shrink: 0;
    line-height: 1;
    text-align: center;
    background: color-mix(in srgb, var(--rk) 16%, #fff);
    color: var(--rk);
    border: 1px solid color-mix(in srgb, var(--rk) 42%, #fff);
}
.prop-author-badge.is-stacked {
    display: inline-grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 3px;
    row-gap: 0;
    max-width: 72px;
    padding: 3px 6px;
    border-radius: 8px;
    font-size: 8px;
    letter-spacing: 0.12px;
    line-height: 1.15;
    text-align: left;
}
.prop-author-badge.is-stacked::before {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
    margin: 0;
    font-size: 7px;
    line-height: 1;
}
.prop-author-badge.is-stacked .badge-line {
    grid-column: 2;
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
}
.prop-author-badge .badge-line {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
}
/* Fallback when --rk-color is missing (older markup) */
.prop-author-badge.top-seller {
    --rk-color: #F59E0B;
    background: var(--rk);
    color: #fff;
    border-color: transparent;
}
.prop-author-badge.top-seller.rk-agent {
    --rk-color: #EF4444;
}
.prop-author-badge.top-seller::before {
    content: "★";
    font-size: 10px;
    color: inherit;
}
.prop-author-badge.level-1 {
    --rk-color: #3B82F6;
}
.prop-author-badge.level-1.rk-agent {
    --rk-color: #0EA5E9;
}
.prop-author-badge.level-1::before {
    content: "◆";
    font-size: 8px;
}
.prop-author-badge.new-member {
    --rk-color: #6B7280;
}
.prop-author-badge.new-member::before {
    content: "●";
    font-size: 8px;
}
.prop-author-badge.level-2 {
    --rk-color: #8B5CF6;
}
.prop-author-badge.level-2.rk-agent {
    --rk-color: #EAB308;
}
.prop-author-badge.level-2::before {
    content: "◆";
    font-size: 8px;
}
/* Rank color from DB wins when set on the element */
.prop-author-badge[style*="--rk-color"] {
    background: color-mix(in srgb, var(--rk-color) 16%, #fff);
    color: var(--rk-color);
    border-color: color-mix(in srgb, var(--rk-color) 42%, #fff);
}
.prop-author-badge.top-seller[style*="--rk-color"] {
    background: var(--rk-color);
    color: #fff;
    border-color: transparent;
}

@media (max-width: 575px) {
    .flat-featured .wrap-item[data-featured-grid] .arkad-prop-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .arkad-prop-card .prop-spec-grid {
        grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
        gap: 3px;
    }
    .arkad-prop-card .prop-spec-box {
        padding: 4px 2px 3px;
    }
    .arkad-prop-card .prop-spec-box .lbl {
        font-size: 7px;
        letter-spacing: 0.15px;
    }
    .arkad-prop-card .prop-spec-box .val {
        font-size: 10px;
    }
}

/* Legacy card base (non-arkad) kept for other sections */

/* --- Agent rank badges (profile & listing cards) --- */
.agent-rank-row {
    margin-top: 8px;
    margin-bottom: 10px;
}
.agent-card-badge {
    display: inline-flex;
    margin-top: 6px;
}
.agent-box-rank {
    display: inline-flex;
    margin: 4px 0 8px;
}
.flat-agent-sidebar .wrap-list .box .content .inner {
    flex: 1;
    min-width: 0;
}

/* --- Move pagination and arrows to top of image --- */
.box.box-dream .image-group .swiper-button-next2,
.box.box-dream .image-group .swiper-button-prev2 {
    bottom: auto;
    top: 14px;
}

.box.box-dream .image-group .pagi2 .swiper-pagination2 {
    bottom: auto;
    top: 18px;
}

/* Property card gallery: pagination + photo count */
.arkad-prop-card .prop-card-pagi {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 14;
    pointer-events: none;
}
.arkad-prop-card .carousel-2 .prop-card-pagi {
    width: auto;
}
.arkad-prop-card .prop-card-pagi .swiper-pagination2 {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    opacity: 1 !important;
    transform: none !important;
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    pointer-events: auto;
    width: max-content !important;
    max-width: calc(100% - 24px);
}
.arkad-prop-card .prop-card-pagi .swiper-pagination-bullet {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin: 0 !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.arkad-prop-card .prop-card-pagi .swiper-pagination-bullet-active {
    background: #fff;
    border: none;
    width: 7px;
    height: 7px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.arkad-prop-card .prop-photo-count {
    position: absolute;
    top: auto;
    bottom: 10px;
    right: 10px;
    left: auto;
    z-index: 14;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
    pointer-events: none;
}
.arkad-prop-card .carousel-2.swiper-initialized,
.arkad-prop-card .prop-card-carousel.swiper-initialized {
    touch-action: pan-x;
}
.arkad-prop-card .carousel-2.swiper-initialized .swiper-wrapper,
.arkad-prop-card .prop-card-carousel.swiper-initialized .swiper-wrapper {
    display: flex;
    height: 100%;
}

/* Custom 3-column grid for Property Listing */
.cards-3-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin: 0 !important;
}
.cards-3-grid .box-dream {
    width: 100% !important;
    margin: 0 !important;
}
@media (max-width: 1200px) {
    .cards-3-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 767px) {
    .cards-3-grid {
        grid-template-columns: 1fr !important;
    }
}
.cards-2-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
}
.cards-2-grid .box-dream {
    width: 100% !important;
    margin: 0 !important;
}
@media (max-width: 767px) {
    .cards-2-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   PROPERTIES-MAP PAGE - Custom Map Pin Icon
   Replaces default purple circle markers with
   assets/images/home/map/mapPoint.png
   ======================================== */

/* Size the marker container to fit the balloon image */
#map .map-marker-container .marker-container {
    width: 54px !important;
    height: 64px !important;
    border-radius: 0 !important;
    top: 0 !important;
    left: 0 !important;
    background: transparent !important;
}

/* Remove purple circle - make face transparent & image-sized */
#map .map-marker-container .face {
    width: 54px !important;
    height: 64px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

/* Kill the ripple/pulse animations */
#map .map-marker-container .face::before,
#map .map-marker-container .face::after {
    display: none !important;
    animation: none !important;
    box-shadow: none !important;
}

/* Show the custom pin image */
#map .map-marker-container .face > div {
    background-image: url('../../../assets/images/home/map/mapPoint.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
}

/* Hide the old text arrow below the circle */
#map .map-marker-container .marker-arrow {
    display: none !important;
}

/* ========================================
   PROPERTIES-MAP PAGE - Compact Card Overrides
   Scoped to .wrap-map so home page cards
   are NOT affected.
   ======================================== */

/* Close the gap between card panel and map.
   responsive.css has a breakpoint that drops content-left to 50%,
   but the fixed map always starts at 55% (100% - 45%).
   Locking width to 55% removes the 5% bare gap. */
.wrap-map .content-left {
    width: 56% !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
}
/* Beat theme .flex { display:flex } so map + list stack on tablet/phone */
@media (max-width: 991px) {
    .wrap-map.flex,
    .wrap-map {
        display: block !important;
    }
    .wrap-map .content-left,
    .wrap-map .content-right {
        width: 100% !important;
        position: relative !important;
        right: auto !important;
        height: auto !important;
    }
    .wrap-map .content-right {
        min-height: 320px;
        margin-top: 16px;
    }
    .wrap-map .content-left {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
    .wrap-map .content-left .category-filter {
        flex-wrap: wrap;
        gap: 12px;
    }
}
@media (max-width: 767px) {
    .wrap-map .content-left {
        width: 100% !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
}

/* Properties listing: 2-up on laptop panels, 3+ on wide monitors (auto-fill) */
.wrap-map .cards-3-grid.arkad-listing-grid,
.wrap-map .arkad-listing-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 18px !important;
    justify-content: stretch;
    align-items: stretch;
    margin: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100%;
    padding: 8px 4px 4px;
    box-sizing: border-box;
    overflow: visible;
}
@media (min-width: 1600px) {
    .wrap-map .cards-3-grid.arkad-listing-grid,
    .wrap-map .arkad-listing-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
        gap: 16px !important;
    }
}
@media (max-width: 991px) {
    .wrap-map .cards-3-grid.arkad-listing-grid,
    .wrap-map .arkad-listing-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
        gap: 16px !important;
    }
}
@media (max-width: 575px) {
    .wrap-map .cards-3-grid.arkad-listing-grid,
    .wrap-map .arkad-listing-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Kill theme .flat-featured .box { width: calc(25% - 30px) }; fill grid cell */
.wrap-map.flat-featured .arkad-listing-grid > .box.arkad-prop-card,
.wrap-map .arkad-listing-grid .arkad-prop-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}
.wrap-map .arkad-prop-card > .prop-promoted-wrap {
    bottom: auto;
    top: -10px;
    left: -10px;
    right: auto;
}

@media (max-width: 575px) {
    .wrap-map .arkad-prop-card .prop-spec-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
    }
}

.arkad-listing-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 16px;
    color: #8E8E93;
}
.arkad-listing-empty .sc-button {
    display: inline-flex;
    margin-top: 12px;
    color: #fff !important;
    background: #FFA920;
    border-color: #FFA920;
}
.arkad-listing-empty .sc-button:hover {
    color: #fff !important;
}
.arkad-map-hint {
    display: inline;
    color: #8E8E93;
    font-size: 13px;
}
.arkad-map-hint::before {
    content: " ";
}

.arkad-filter-tabs.style2 {
    position: relative;
}
.arkad-filter-tabs.style2 .box-tab {
    padding: 0;
    margin-right: 13px;
    flex-shrink: 0;
}
.arkad-filter-tabs.style2 .menu-tab.tab-title {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
.arkad-filter-tabs.style2 .tab-title li {
    position: relative;
    cursor: pointer;
    width: 112px;
    height: 54px;
    background-color: #FFF5E0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 6px;
}
.arkad-filter-tabs.style2 .tab-title li i {
    margin-right: 8px;
    font-size: 16px;
    color: #120A21;
    font-weight: 400;
    line-height: 1;
}
.arkad-filter-tabs.style2 .tab-title li:hover i,
.arkad-filter-tabs.style2 .tab-title li.active i {
    color: #fff;
}
.arkad-filter-tabs.style2 .tab-title li h4 {
    margin: 0;
    transition: all 0.3s ease;
    color: #120A21;
    font-size: 15px;
    font-weight: 700;
}
.arkad-filter-tabs.style2 .tab-title li:hover,
.arkad-filter-tabs.style2 .tab-title li.active {
    background-color: #FFA920;
}
.arkad-filter-tabs.style2 .tab-title li:hover h4,
.arkad-filter-tabs.style2 .tab-title li.active h4 {
    color: #fff;
}
.arkad-filter-tabs.style2 .tab-title li:nth-child(1) {
    margin-right: 5px;
}
.arkad-filter-tabs.style2 .content-tab {
    flex: 1;
    min-width: 0;
}

@media (max-width: 991px) {
    .top-filters {
        padding: 16px 0 18px;
        overflow: visible;
    }
    .top-filters .container6 {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .top-filters .row {
        margin-left: 0;
        margin-right: 0;
    }
    .top-filters [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
    .top-filters .form-sl {
        width: 100%;
        max-width: 100%;
    }
    .top-filters .arkad-property-filter-form {
        width: 100%;
        max-width: 100%;
    }
    .top-filters .arkad-filter-tabs.style2 {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }
    .top-filters .arkad-filter-tabs.style2 .box-tab {
        margin-right: 0;
        width: 100%;
    }
    .top-filters .arkad-filter-tabs.style2 .menu-tab.tab-title {
        width: 100%;
        display: flex;
        gap: 8px;
    }
    .top-filters .arkad-filter-tabs.style2 .tab-title li,
    .top-filters .arkad-filter-tabs.style2 .tab-title li:nth-child(1) {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        height: 48px;
        margin-right: 0;
    }
    .top-filters .arkad-filter-tabs.style2 .content-tab {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    .top-filters .content-tab .content-inner,
    .top-filters .wd-find-select.arkad-filter-fields {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        gap: 10px;
        margin: 0;
    }
    .top-filters .wd-find-select.arkad-filter-fields .form-style,
    .top-filters .content-tab .wd-find-select > *:not(.arkad-filter-actions),
    .top-filters .content-inner .form-style {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    .top-filters .search-form {
        width: 100%;
    }
    .top-filters .search-form .search-field,
    .top-filters .content-tab .wd-find-select .search-form input {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    .top-filters .group-select,
    .top-filters .arkad-sselect-wrap,
    .top-filters .arkad-sselect {
        width: 100%;
        min-width: 0;
    }
    .top-filters .arkad-sselect-btn,
    .top-filters .wd-find-select .group-select .nice-select,
    .top-filters .content-tab .wd-find-select .group-select .nice-select {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    .top-filters .wd-search-form {
        width: 100%;
        margin-left: 0;
        overflow: visible;
    }
    .top-filters .form-wg {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }
    .top-filters .form-wg .form-group,
    .top-filters .form-wg .wg-box3 {
        width: 100% !important;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Searchable filter dropdowns */
.top-filters .arkad-sselect-wrap {
    position: relative;
    width: 100%;
}
.top-filters select.arkad-sselect-native {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.top-filters .arkad-sselect {
    position: relative;
    width: 100%;
}
.top-filters .arkad-sselect-btn {
    width: 100%;
    min-width: 217px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 17px;
    border: 1px solid #E5E5EA;
    border-radius: 10px;
    background: #fff;
    color: #120A21;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    appearance: none;
}
.top-filters .arkad-sselect-btn::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #120A21;
    border-bottom: 1.5px solid #120A21;
    transform: rotate(45deg);
    margin-top: -4px;
    flex-shrink: 0;
}
.top-filters .arkad-sselect.open .arkad-sselect-btn::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}
.top-filters .arkad-sselect-label.is-placeholder {
    color: #8E8E93;
}
.top-filters .arkad-sselect-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    background: #fff;
    border: 1px solid #E5E5EA;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(18, 10, 33, 0.12);
    overflow: hidden;
    text-align: left;
}
.top-filters .arkad-sselect.open .arkad-sselect-panel {
    display: block;
}
.top-filters .arkad-sselect-search {
    padding: 10px 10px 6px;
    border-bottom: 1px solid #F2F2F7;
}
.top-filters .arkad-sselect-search-input {
    width: 100%;
    border: 1px solid #E5E5EA;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    color: #120A21;
    outline: none;
}
.top-filters .arkad-sselect-search-input:focus {
    border-color: #FFA920;
}
.top-filters .arkad-sselect-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    max-height: 220px;
    overflow-y: auto;
    text-align: left;
}
.top-filters .arkad-sselect-item {
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 400;
    color: #120A21;
    cursor: pointer;
    text-align: left;
}
.top-filters .arkad-sselect-item:hover,
.top-filters .arkad-sselect-item.selected {
    background: #FFF5E0;
    color: #FFA920;
}
.top-filters .arkad-sselect-item.is-empty {
    color: #8E8E93;
    cursor: default;
}
.top-filters .arkad-sselect-item.is-empty:hover {
    background: transparent;
    color: #8E8E93;
}

/* Property type → subtype nested panel */
.top-filters .arkad-sselect--typed .arkad-sselect-panel,
.slider.home .arkad-sselect--typed .arkad-sselect-panel {
    overflow: visible;
}
.top-filters .arkad-sselect-item.has-children,
.slider.home .arkad-sselect-item.has-children {
    padding: 0;
}
.top-filters .arkad-sselect-item-row,
.slider.home .arkad-sselect-item-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 38px;
}
.top-filters .arkad-sselect-item-label,
.slider.home .arkad-sselect-item-label {
    flex: 1;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 9px 8px 9px 14px;
    font-size: 14px;
    font-weight: 400;
    font-family: inherit;
    color: inherit;
    cursor: pointer;
}
.top-filters .arkad-sselect-item-arrow,
.slider.home .arkad-sselect-item-arrow {
    flex: 0 0 36px;
    border: 0;
    border-left: 1px solid transparent;
    background: transparent;
    color: #8E8E93;
    font-size: 16px;
    font-weight: 400;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.top-filters .arkad-sselect-item-arrow::before,
.slider.home .arkad-sselect-item-arrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-top: 1.5px solid currentColor;
    transform: rotate(45deg);
    font-weight: 400;
}
.top-filters .arkad-sselect-item.has-children:hover .arkad-sselect-item-arrow,
.top-filters .arkad-sselect-item.has-children.is-expanded .arkad-sselect-item-arrow,
.slider.home .arkad-sselect-item.has-children:hover .arkad-sselect-item-arrow,
.slider.home .arkad-sselect-item.has-children.is-expanded .arkad-sselect-item-arrow {
    color: #FFA920;
    border-left-color: #FFE3B0;
    background: rgba(255, 169, 32, 0.08);
}
.top-filters .arkad-sselect-subpanel,
.slider.home .arkad-sselect-subpanel {
    display: none;
    position: absolute;
    left: calc(100% + 8px);
    top: 0;
    width: min(240px, 70vw);
    background: #fff;
    border: 1px solid #E5E5EA;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(18, 10, 33, 0.12);
    overflow: hidden;
    z-index: 45;
}
.top-filters .arkad-sselect-subpanel.open,
.slider.home .arkad-sselect-subpanel.open {
    display: block;
}
.top-filters .arkad-sselect-subhead,
.slider.home .arkad-sselect-subhead {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 6px;
    border-bottom: 1px solid #F2F2F7;
}
.top-filters .arkad-sselect-subback,
.slider.home .arkad-sselect-subback {
    width: 28px;
    height: 28px;
    border: 1px solid #E5E5EA;
    border-radius: 8px;
    background: #fff;
    color: #120A21;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.top-filters .arkad-sselect-subtitle,
.slider.home .arkad-sselect-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #8E8E93;
}
.top-filters .arkad-sselect-sublist,
.slider.home .arkad-sselect-sublist {
    max-height: 200px;
}

@media (max-width: 767px) {
    .top-filters .arkad-sselect-subpanel,
    .slider.home .arkad-sselect-subpanel {
        left: 8px;
        right: 8px;
        width: auto;
        top: 52px;
    }
}

.top-filters .arkad-filter-extra {
    margin-top: 18px;
}
.top-filters .arkad-filter-extra .form-group {
    margin-bottom: 12px;
}

.top-filters .arkad-filter-actions {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
}
.top-filters .arkad-filter-actions .form-group-4,
.top-filters .arkad-filter-actions .button-search {
    flex: 0 0 auto;
    width: 160px;
    margin: 0;
    display: flex;
}
.top-filters .arkad-filter-actions .icon-filter.button-top,
.top-filters .arkad-filter-actions .sc-button.button-top {
    float: none;
    width: 100%;
    height: 54px;
    min-height: 54px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: #FFF5E0;
    line-height: 1;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.top-filters .arkad-filter-actions .icon-filter.button-top span,
.top-filters .arkad-filter-actions .sc-button.button-top span {
    margin: 0;
    line-height: 1;
    font-size: 15px;
    font-weight: 700;
    color: #120A21;
}
.top-filters .arkad-filter-actions .icon-filter.button-top svg,
.top-filters .arkad-filter-actions .sc-button.button-top i {
    margin: 0;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    font-size: 15px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.top-filters .arkad-filter-actions .icon-filter.button-top path {
    stroke: #120A21;
}
.top-filters .arkad-filter-actions .icon-filter.button-top.click {
    background: #FFF5E0;
}
.top-filters .arkad-filter-actions .icon-filter.button-top.click path {
    stroke: #120A21;
}
.top-filters .arkad-filter-actions .icon-filter.button-top:hover,
.top-filters .arkad-filter-actions .sc-button.button-top:hover {
    background: #FFA920;
}
.top-filters .arkad-filter-actions .icon-filter.button-top:hover span,
.top-filters .arkad-filter-actions .sc-button.button-top:hover span,
.top-filters .arkad-filter-actions .sc-button.button-top:hover i {
    color: #fff;
}
.top-filters .arkad-filter-actions .icon-filter.button-top:hover path {
    stroke: #fff;
}

/* Search Now is a <button>; theme styles targeted <a> */
.top-filters .button-search .sc-button.button-top {
    border: 0;
    outline: 0;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.top-filters .button-search .sc-button.button-top span {
    margin-right: 0;
}
.top-filters .button-search .sc-button.button-top i {
    margin-left: 0;
}

/* Listing filter actions - mobile. Must come after the desktop flex/160px rules. */
@media (max-width: 991px) {
    .top-filters .arkad-filter-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        justify-content: stretch !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 12px;
        overflow: visible;
    }
    .top-filters .arkad-filter-actions .form-group-4,
    .top-filters .arkad-filter-actions .form-style,
    .top-filters .arkad-filter-actions .button-search {
        float: none !important;
        display: flex !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }
    .top-filters .arkad-filter-actions .button-search {
        grid-column: 1 / -1 !important;
    }
    .top-filters .arkad-filter-actions .icon-filter,
    .top-filters .arkad-filter-actions .icon-filter.button-top,
    .top-filters .arkad-filter-actions .sc-button.button-top {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 54px;
        box-sizing: border-box;
    }
}

/* Closed advanced filters must not keep layout height (opacity:0 still occupies space). */
.top-filters .wd-search-form:not(.show) {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 991px) {
    .top-filters .wd-search-form.show {
        display: block !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        opacity: 1;
        visibility: visible;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        margin: 16px 0 0 !important;
        padding: 4px 0 8px !important;
        box-shadow: none;
        overflow: visible;
        background: transparent;
    }
    .top-filters .wd-search-form.show .box1,
    .top-filters .wd-search-form.show .box2,
    .top-filters .wd-search-form.show .form-wg {
        display: flex !important;
        flex-direction: column;
        flex-wrap: nowrap !important;
        align-items: stretch;
        gap: 12px;
        width: 100% !important;
        max-width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    .top-filters .wd-search-form.show .form-group,
    .top-filters .wd-search-form.show .wg-box3,
    .top-filters .wd-search-form.show .box1 .form-group,
    .top-filters .wd-search-form.show .box2 .form-group {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    .top-filters .wd-search-form.show .widget-price,
    .top-filters .wd-search-form.show .caption,
    .top-filters .wd-search-form.show .caption > div {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        overflow: visible;
        box-sizing: border-box;
        white-space: normal;
    }
    .top-filters .wd-search-form.show .noUi-target {
        width: auto;
        margin: 10px 10px 0;
        box-sizing: border-box;
    }
    .top-filters .wd-search-form.show .boder-wg {
        margin: 4px 0 8px;
    }
    .top-filters .wd-search-form.show .tf-amenities {
        width: 100%;
        padding: 0;
    }
    .top-filters .wd-search-form.show .arkad-sselect-wrap,
    .top-filters .wd-search-form.show .group-select,
    .top-filters .wd-search-form.show .arkad-sselect,
    .top-filters .wd-search-form.show .arkad-sselect-btn {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Hero searchable filter dropdowns */
.slider.home .arkad-sselect-wrap {
    position: relative;
    width: 100%;
}
.slider.home select.arkad-sselect-native {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.slider.home .arkad-sselect {
    position: relative;
    width: 100%;
}
.slider.home .arkad-sselect-btn {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 17px;
    border: 1px solid #E5E5EA;
    border-radius: 10px;
    background: #fff;
    color: #120A21;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    appearance: none;
}
.slider.home .arkad-sselect-btn::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #120A21;
    border-bottom: 1.5px solid #120A21;
    transform: rotate(45deg);
    margin-top: -4px;
    flex-shrink: 0;
}
.slider.home .arkad-sselect.open .arkad-sselect-btn::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}
.slider.home .arkad-sselect-label {
    text-align: left;
}
.slider.home .arkad-sselect-label.is-placeholder {
    color: #8E8E93;
}
.slider.home .arkad-sselect-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    background: #fff;
    border: 1px solid #E5E5EA;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(18, 10, 33, 0.12);
    overflow: hidden;
    text-align: left;
}
.slider.home .arkad-sselect.open .arkad-sselect-panel {
    display: block;
}
.slider.home .arkad-sselect-search {
    padding: 10px 10px 6px;
    border-bottom: 1px solid #F2F2F7;
}
.slider.home .arkad-sselect-search-input {
    width: 100%;
    border: 1px solid #E5E5EA;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    color: #120A21;
    outline: none;
}
.slider.home .arkad-sselect-search-input:focus {
    border-color: #FFA920;
}
.slider.home .arkad-sselect-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    max-height: 220px;
    overflow-y: auto;
    text-align: left;
}
.slider.home .arkad-sselect-item {
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 400;
    color: #120A21;
    cursor: pointer;
    text-align: left;
}
.slider.home .arkad-sselect-item:hover,
.slider.home .arkad-sselect-item.selected {
    background: #FFF5E0;
    color: #FFA920;
}
.slider.home .arkad-sselect-item.is-empty {
    color: #8E8E93;
    cursor: default;
}
.slider.home .arkad-sselect-item.is-empty:hover {
    background: transparent;
    color: #8E8E93;
}
.slider.home .arkad-property-filter-form--hero .button-search .sc-button {
    border: none;
    box-shadow: none;
}

/* Hero filter row - horizontal layout (override theme width:100% on .form-style) */
.slider.home .arkad-hero-filter-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
}

.slider.home .arkad-hero-filter-row > .form-group-4,
.slider.home .arkad-hero-filter-row > .button-search {
    flex-shrink: 0;
}

.slider.home .arkad-filter-fields.inner-group {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    margin-left: 0;
    margin-right: 0;
    width: auto;
}

.slider.home .arkad-filter-fields.inner-group .form-style {
    flex: 1;
    min-width: 0;
    width: auto !important;
    margin-left: 0;
    margin-right: 0;
}

/* Keyword search - icon inside field */
.slider.home .arkad-property-filter-form--hero .search-form {
    position: relative;
}

.slider.home .arkad-property-filter-form--hero .search-form i {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: #8E8E93;
    font-size: 15px;
    line-height: 1;
    pointer-events: none;
    z-index: 2;
}

.slider.home .arkad-property-filter-form--hero .search-form .search-field {
    width: 100%;
    min-width: 0;
    height: 54px;
    padding: 14px 15px 14px 43px;
    border: 1px solid #E5E5EA;
    border-radius: 10px;
    line-height: 24px;
    background: #fff;
    box-sizing: border-box;
}

.slider.home .arkad-property-filter-form--hero .search-form .search-field:focus {
    border-color: #FFA920;
    outline: none;
}

.slider.home .arkad-hero-filter-row .arkad-sselect-btn {
    height: 54px;
    min-height: 54px;
    box-sizing: border-box;
}

.slider.home .arkad-hero-filter-row .icon-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 10px;
    background: #FFF5E0;
    border: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.slider.home .arkad-hero-filter-row .icon-filter path {
    stroke: #120A21;
    transition: stroke 0.3s ease;
}

.slider.home .arkad-hero-filter-row .icon-filter:hover,
.slider.home .arkad-hero-filter-row .icon-filter.click {
    background: #FFA920;
}

.slider.home .arkad-hero-filter-row .icon-filter:hover path,
.slider.home .arkad-hero-filter-row .icon-filter.click path {
    stroke: #fff;
}

.slider.home .arkad-hero-filter-row .button-search .sc-button {
    height: 54px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    box-sizing: border-box;
}

.slider.home .arkad-filter-extra {
    margin-top: 18px;
}

@media only screen and (max-width: 991px) {
    .slider.home .form-sl {
        display: block !important;
        overflow: visible !important;
        padding: 16px 14px 14px !important;
    }

    .slider.home .arkad-hero-filter-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 54px;
        gap: 10px;
        width: 100%;
        align-items: stretch;
    }

    .slider.home .arkad-filter-fields.inner-group {
        display: contents !important;
        width: auto !important;
        flex: none !important;
        min-width: 0;
    }

    .slider.home .arkad-filter-fields.inner-group .form-group-1 {
        grid-column: 1;
        grid-row: 1;
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        margin: 0 !important;
    }

    .slider.home .arkad-hero-filter-row > .form-group-4 {
        grid-column: 2;
        grid-row: 1;
        flex: none !important;
        width: 54px !important;
        min-width: 54px;
        margin: 0 !important;
    }

    .slider.home .arkad-filter-fields.inner-group .form-group-2,
    .slider.home .arkad-filter-fields.inner-group .form-group-3,
    .slider.home .arkad-hero-filter-row > .button-search {
        grid-column: 1 / -1;
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        margin: 0 !important;
    }

    .slider.home .arkad-hero-filter-row .button-search .sc-button {
        width: 100%;
    }

    .slider.home .wd-search-form:not(.show) {
        display: none !important;
    }

    .slider.home .form-sl,
    .slider.home .arkad-property-filter-form--hero {
        position: relative;
        z-index: 90;
    }

    .slider.home .wd-search-form.show {
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        top: 100%;
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        max-height: min(58vh, 420px);
        box-sizing: border-box;
        margin: 8px 0 0 !important;
        padding: 16px 14px 12px !important;
        transform: translateX(-50%);
        background: #fff;
        box-shadow: 0 10px 28px rgba(18, 10, 33, 0.16);
        border-radius: 10px;
        border-top: 0;
        opacity: 1;
        visibility: visible;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 200 !important;
        pointer-events: auto;
    }

    .slider.home .wd-search-form.show .box1,
    .slider.home .wd-search-form.show .box2,
    .slider.home .wd-search-form.show .form-wg {
        display: flex !important;
        flex-direction: column;
        flex-wrap: nowrap !important;
        align-items: stretch;
        gap: 12px;
        width: 100% !important;
        max-width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .slider.home .wd-search-form.show .form-group,
    .slider.home .wd-search-form.show .wg-box3,
    .slider.home .wd-search-form.show .box1 .form-group,
    .slider.home .wd-search-form.show .box2 .form-group {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .slider.home .wd-search-form.show .caption,
    .slider.home .wd-search-form.show .caption > div {
        overflow: visible;
        white-space: normal;
    }

    .slider.home .wd-search-form.show .noUi-target {
        width: auto;
        margin: 10px 10px 0;
    }
}

/* Hero filter stacking - fix dropdown / advanced panel overlap (no UI change) */
.slider.home {
    position: relative;
    z-index: 25;
    /* Fill first viewport so hero photo covers the white gap below */
    min-height: calc(100svh - 78px);
    background-color: #1c1c1e;
}

.slider.home .slider-item {
    position: relative;
    min-height: calc(100svh - 78px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider.home .slider-item > .container3 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
}

.slider.home .slider-item > .container3 > .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.slider.home .slider-item > .container3 > .row > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.slider.home .slider-item .content.po-content-two {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 110px !important;
    padding-bottom: 90px !important;
    box-sizing: border-box;
}

.slider.home .hero-text-wrap,
.slider.home .themesflat-tabs,
.slider.home .themes-count.tf-counter {
    margin-left: auto;
    margin-right: auto;
}

.slider.home .themes-count.tf-counter {
    justify-content: center;
}

@media (max-width: 991px) {
    .slider.home,
    .slider.home .slider-item {
        min-height: calc(100svh - 64px);
    }

    .slider.home .slider-item .content.po-content-two {
        padding-top: 90px !important;
        padding-bottom: 70px !important;
    }
}

@media (max-width: 575px) {
    .slider.home,
    .slider.home .slider-item {
        min-height: auto;
    }

    .slider.home .slider-item .content.po-content-two {
        padding-top: 70px !important;
        padding-bottom: 48px !important;
    }
}

.slider.home .slider-item,
.slider.home .slider-item > .container3,
.slider.home .themesflat-tabs,
.slider.home .themesflat-tabs .tab-content,
.slider.home .themesflat-tabs .content-tab,
.slider.home .form-sl,
.slider.home .arkad-property-filter-form--hero {
    overflow: visible;
}

.slider.home .arkad-hero-filter-row {
    position: relative;
    z-index: 120;
}

.slider.home .wd-search-form {
    z-index: 100;
}

.slider.home .wd-search-form:not(.show) {
    z-index: 1;
    pointer-events: none;
}

.slider.home .wd-search-form.show {
    z-index: 100;
    pointer-events: auto;
}

.slider.home .arkad-sselect.open {
    z-index: 130;
}

.slider.home .arkad-sselect-panel {
    z-index: 140;
}

.slider.home .wd-search-form .arkad-sselect.open {
    z-index: 130;
}

.slider.home .wd-search-form .arkad-sselect-panel {
    z-index: 140;
}

#hero-slider-range-value1::after,
#hero-slider-range-value01::after {
    content: " - ";
    margin: 0 2px;
}

/* Below-hero sections stay under expanded hero filters */
.flat-explore.tf-section,
.home-lazy-section {
    position: relative;
    z-index: 1;
}

#arkad-listing-grid.is-loading {
    transition: opacity 0.2s ease;
}

/* Legacy static-card overrides (agents/related pages still using old markup) */
.wrap-map .box.box-dream:not(.arkad-prop-card) .image-group,
.wrap-map .box.box-dream:not(.arkad-prop-card) .image-group .swiper-container,
.wrap-map .box.box-dream:not(.arkad-prop-card) .image-group .carousel-2 {
    height: 160px;
}
.wrap-map .box.box-dream:not(.arkad-prop-card) .image-group img {
    height: 160px;
}

/* Status badge */
.wrap-map .box.box-dream:not(.arkad-prop-card) .prop-status-badge {
    font-size: 9px;
    padding: 3px 9px;
    top: 8px;
    left: 8px;
}

/* By-label */
.wrap-map .box.box-dream:not(.arkad-prop-card) .prop-by-label {
    font-size: 10px;
    padding: 2px 8px 2px 6px;
    bottom: 36px;
    left: 8px;
}

/* Price overlay */
.wrap-map .box.box-dream:not(.arkad-prop-card) .prop-price-overlay {
    font-size: 13px;
    bottom: 8px;
    left: 8px;
}
.wrap-map .prop-price-overlay .price-unit {
    font-size: 10px;
}

/* Card content area */
.wrap-map .box.box-dream:not(.arkad-prop-card) .content {
    padding: 10px 12px 12px;
}

/* Title */
.wrap-map .box.box-dream:not(.arkad-prop-card) .content h3.link-style-1 {
    font-size: 12.5px;
    margin-bottom: 3px;
}

/* Location */
.wrap-map .box.box-dream:not(.arkad-prop-card) .prop-location {
    font-size: 10px;
    margin-bottom: 7px;
    gap: 4px;
}
.wrap-map .prop-location i {
    font-size: 10px;
}

/* Details row */
.wrap-map .prop-details-row {
    gap: 10px;
    padding: 6px 0;
    margin-bottom: 6px;
}
.wrap-map .prop-detail-item {
    font-size: 10.5px;
    gap: 4px;
}
.wrap-map .prop-detail-item i {
    font-size: 11px;
}

/* Extra row */
.wrap-map .prop-extra-row {
    gap: 10px;
    margin-bottom: 8px;
}

/* Author row */
.wrap-map .box.box-dream:not(.arkad-prop-card) .prop-author-row {
    gap: 7px;
    padding-top: 8px;
    margin-top: 4px;
}
.wrap-map .box.box-dream:not(.arkad-prop-card) .prop-author-row .author-img {
    width: 26px;
    height: 26px;
}
.wrap-map .box.box-dream:not(.arkad-prop-card) .prop-author-row .author-name {
    font-size: 10.5px;
}
.wrap-map .box.box-dream:not(.arkad-prop-card) .prop-author-badge {
    font-size: 9px;
    padding: 2px 8px;
}

/* Property detail gallery lightbox */
.flat-property-detail .wrap-img a {
    display: block;
    cursor: pointer;
}

/* Status badge: fit “Ready”, “For Sale”, “New Project”, etc. */
.flat-property-detail .wrap-house .inner .sales {
    width: auto;
    min-width: 62px;
    height: auto;
    min-height: 20px;
    padding: 4px 10px;
    white-space: nowrap;
    line-height: 1.2;
    font-size: 12px;
    color: #fff;
    box-sizing: border-box;
    flex-shrink: 0;
}
.flat-property-detail .wrap-house .inner .sales.prop-hero-flag.installment {
    background: #0F766E;
    margin-left: 0;
}

/* Hero action buttons: coming soon + share */
.flat-property-detail .wrap-house .icon-boxs a.pd-action-soon {
    position: relative;
    color: #C7C7CC;
    opacity: 0.72;
    cursor: not-allowed;
}
.flat-property-detail .wrap-house .icon-boxs a.pd-action-soon svg path {
    stroke: currentColor;
}
.flat-property-detail .wrap-house .icon-boxs a.pd-action-soon:hover,
.flat-property-detail .wrap-house .icon-boxs a.pd-action-soon:focus {
    color: #AEAEB2;
    background-color: #fff !important;
    border-color: #E5E5EA !important;
}
.flat-property-detail .wrap-house .icon-boxs a.pd-action-soon:hover path,
.flat-property-detail .wrap-house .icon-boxs a.pd-action-soon:hover svg,
.flat-property-detail .wrap-house .icon-boxs a.pd-action-soon:focus path,
.flat-property-detail .wrap-house .icon-boxs a.pd-action-soon:focus svg {
    stroke: currentColor !important;
}
.flat-property-detail .wrap-house .icon-boxs a.pd-action-soon .pd-action-soon-tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) translateY(4px);
    padding: 4px 8px;
    border-radius: 6px;
    background: #636366;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 5;
}
.flat-property-detail .wrap-house .icon-boxs a.pd-action-soon:hover .pd-action-soon-tip,
.flat-property-detail .wrap-house .icon-boxs a.pd-action-soon:focus .pd-action-soon-tip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.flat-property-detail .wrap-house .icon-boxs a.pd-action-share {
    color: #8E8E93;
}
.flat-property-detail .wrap-house .icon-boxs a.pd-action-share svg path {
    stroke: currentColor;
}
.flat-property-detail .wrap-house .icon-boxs a.pd-action-share:hover,
.flat-property-detail .wrap-house .icon-boxs a.pd-action-share:focus {
    color: #fff;
    background-color: #FFA920;
    border-color: #FFA920;
}
.flat-property-detail .wrap-house .icon-boxs a.pd-action-share:hover path,
.flat-property-detail .wrap-house .icon-boxs a.pd-action-share:hover svg,
.flat-property-detail .wrap-house .icon-boxs a.pd-action-share:focus path,
.flat-property-detail .wrap-house .icon-boxs a.pd-action-share:focus svg {
    stroke: #fff !important;
}
.pd-action-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(12px);
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 999px;
    background: #636366;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.pd-action-toast.is-ok {
    background: #1C1C1E;
}
.pd-action-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Hero price: strikethrough list + larger current when discounted */
.flat-property-detail .wrap-house .moneys {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    line-height: 1.15;
}
.flat-property-detail .wrap-house .moneys .prop-hero-price-current {
    display: block;
}
.flat-property-detail .wrap-house .moneys.has-discount .prop-hero-price-original {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #8e8e93;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}
.flat-property-detail .wrap-house .moneys.has-discount .prop-hero-price-current {
    font-size: inherit;
    font-weight: inherit;
}

.flat-property-detail .wrap-img .box-1 > a,
.flat-property-detail .wrap-img .box-2 > a {
    height: 100%;
}
.flat-property-detail .wrap-img .gallery-slot-empty {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 120px;
    background: #e8eee9;
    border-radius: 8px;
    overflow: hidden;
}
.flat-property-detail .wrap-img .gallery-slot-empty img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
}
.flat-property-detail .wrap-img .box-1 .gallery-slot-empty {
    min-height: 420px;
}
.flat-property-detail .wrap-img .box-2 > .gallery-slot-empty {
    min-height: 205px;
}
.flat-property-detail .wrap-img .box-2 .img-box .gallery-slot-empty.gallery-thumb {
    flex: 1;
    min-width: 0;
}
.flat-property-detail .wrap-img .gallery-thumb {
    display: block;
    width: 100%;
    height: 100%;
}
.flat-property-detail .wrap-img .gallery-show-all {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.flat-property-detail .wrap-img .gallery-show-all .contents {
    pointer-events: none;
}
.flat-property-detail .wrap-img .box-2 .img-box {
    gap: 10px;
}
.flat-property-detail .wrap-img .box-2 .img-box .gallery-thumb {
    flex: 1;
    min-width: 0;
}
.flat-property-detail .wrap-img .box-2 .img-box .img-3,
.flat-property-detail .wrap-img .box-2 .img-box .img-5 {
    width: 100%;
    height: 100%;
}
.flat-property-detail .wrap-img .box-2 .img-box .image {
    flex: 1;
    min-width: 0;
    margin-left: 0;
    width: auto;
}

/* Property description show more */
.flat-property-detail .wrap-text .text-more {
    display: none;
}
.flat-property-detail .wrap-text.is-expanded .text-more {
    display: block;
}
.flat-property-detail .wrap-text .text-more p {
    margin-bottom: 12px;
}
.flat-property-detail .wrap-text .show-more-link {
    color: #FFA920;
    cursor: pointer;
}

/* Overview + Property details: 4-per-row icon grid (CSS webicons) */
.flat-property-detail .wrap-overview,
.flat-property-detail .wrap-property {
    padding: 20px;
}
.flat-property-detail .wrap-video .post-video .pd-video-poster {
    width: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    background: #000;
    pointer-events: none;
}
.flat-property-detail .wrap-virtual .virtual-box {
    overflow: hidden;
    border-radius: 10px;
}
.flat-property-detail .wrap-virtual .virtual-box .images {
    width: 100%;
}
.flat-property-detail .wrap-virtual .virtual-box .images img,
.flat-property-detail .wrap-virtual .virtual-box .images .pd-video-poster {
    width: 100%;
    display: block;
    object-fit: cover;
}
.flat-property-detail .wrap-virtual .pd-virtual-tour-trigger {
    z-index: 2;
    text-decoration: none;
    background: transparent;
}
.flat-property-detail .wrap-virtual .pd-virtual-tour-trigger .icon {
    pointer-events: none;
}
.flat-property-detail .wrap-img .pd-gallery-cover-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
    pointer-events: none;
}

/* Property gallery lightbox: center MP4 / iframe videos in viewport */
.fancybox-container .fancybox-slide--video {
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 56px 12px 80px;
    box-sizing: border-box;
}
.fancybox-container .fancybox-slide--video::before {
    display: none !important;
}
.fancybox-container .fancybox-slide--video .fancybox-content {
    padding: 0;
    background: #000;
    overflow: hidden;
    max-width: min(96vw, 1280px);
    max-height: calc(100vh - 140px);
}
.fancybox-container .fancybox-slide--video .fancybox-content video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}
.fancybox-container .fancybox-slide--iframe .fancybox-content {
    width: min(96vw, 1280px) !important;
    height: calc(100vh - 140px) !important;
    max-width: min(96vw, 1280px);
    max-height: calc(100vh - 140px);
}
.fancybox-is-open .fancybox-outer,
.fancybox-is-open .fancybox-stage {
    overflow: hidden;
}
.flat-property-detail .pd-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 22px;
}
.flat-property-detail .pd-spec-item {
    display: flex;
    align-items: flex-start;
    min-width: 0;
}
.flat-property-detail .pd-spec-item .icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #E5E5EA;
    margin-right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8E8E93;
    font-size: 15px;
    line-height: 1;
}
.flat-property-detail .pd-spec-item .content {
    min-width: 0;
}
.flat-property-detail .pd-spec-item .content .font-2 {
    line-height: 1.35;
}
.flat-property-detail .pd-spec-sub {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    color: #8E8E93;
}
.flat-property-detail .wrap-house .icon-box .pd-hero-type {
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.flat-property-detail .wrap-house .icon-box .pd-hero-subtype {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    color: #8E8E93;
}

@media (max-width: 991px) {
    .flat-property-detail .pd-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
        row-gap: 18px;
    }
}

@media (max-width: 575px) {
    .flat-property-detail .pd-spec-grid {
        grid-template-columns: 1fr;
    }
}

/* Walk Score section */
.flat-property-detail .wrap-walksore .icon-p::before {
    font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free';
    font-weight: 900;
}
.flat-property-detail .wrap-walksore .progress-box {
    flex-wrap: wrap;
    gap: 0 12px;
}
.flat-property-detail .wrap-walksore .progress-box .progress-walk {
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}
.flat-property-detail .wrap-walksore .progress-box .couter {
    position: relative;
    width: 68px;
    height: 68px;
}
.flat-property-detail .wrap-walksore .progress-box .chart {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    position: relative;
}
.flat-property-detail .wrap-walksore .progress-box .progress-walk svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.flat-property-detail .wrap-walksore .progress-box .chart canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.flat-property-detail .wrap-walksore .progress-box .chart {
    background:
        radial-gradient(closest-side, #fff 74%, transparent 75% 100%),
        conic-gradient(#FFA920 calc(var(--ws-pct, 0) * 1%), #FFF5E0 0);
}
.flat-property-detail .wrap-walksore .progress-box .content {
    flex: 0 0 auto;
    min-width: 110px;
}
.flat-property-detail .wrap-walksore .progress-box .content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1C1C1E;
    margin-bottom: 4px;
}
.flat-property-detail .wrap-walksore .progress-box .content div {
    font-size: 14px;
    color: #8E8E93;
}
.flat-property-detail .wrap-walksore .progress-box .ws-meaning {
    margin-left: auto;
    padding-left: 20px;
    max-width: 280px;
    text-align: right;
}
.flat-property-detail .wrap-walksore .progress-box .ws-meaning-level {
    font-size: 15px;
    font-weight: 600;
    color: #1C1C1E;
    margin-bottom: 4px;
}
.flat-property-detail .wrap-walksore .progress-box .ws-meaning-hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #8E8E93;
}
@media (max-width: 767px) {
    .flat-property-detail .wrap-walksore .progress-box .ws-meaning {
        flex: 1 1 100%;
        max-width: none;
        margin-left: 88px;
        margin-top: 8px;
        padding-left: 0;
        text-align: left;
    }
}

/* What's nearby - advanced grouped list */
.flat-property-detail .wrap-nearby .nearby-hd {
    margin-bottom: 16px;
    gap: 12px;
}
.flat-property-detail .wrap-nearby .nearby-hd .titles {
    margin: 0;
}
.flat-property-detail .wrap-nearby .nearby-count {
    font-size: 13px;
    font-weight: 600;
    color: #8E8E93;
    background: #F2F2F7;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.flat-property-detail .wrap-nearby .box-nearby {
    align-items: flex-start;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #E5E5EA;
}
.flat-property-detail .wrap-nearby .box-nearby.is-last {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 8px;
}
.flat-property-detail .wrap-nearby .icon {
    flex-shrink: 0;
}
.flat-property-detail .wrap-nearby .icon i {
    color: #fff;
    font-size: 22px;
    line-height: 1;
}
.flat-property-detail .wrap-nearby .nearby-group-hd {
    margin-bottom: 10px;
    gap: 8px;
}
.flat-property-detail .wrap-nearby .nearby-group-hd h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1C1C1E;
}
.flat-property-detail .wrap-nearby .nearby-group-count {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 169, 32, 0.14);
    color: #c47d00;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.flat-property-detail .wrap-nearby .nearby-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.flat-property-detail .wrap-nearby .nearby-item {
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #F9F9FB;
    border: 1px solid #F0F0F3;
}
.flat-property-detail .wrap-nearby .nearby-item-main {
    min-width: 0;
    flex: 1;
}
.flat-property-detail .wrap-nearby .nearby-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #1C1C1E;
    line-height: 1.35;
    margin-bottom: 3px;
}
.flat-property-detail .wrap-nearby .nearby-item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    font-size: 13px;
    color: #8E8E93;
    line-height: 1.3;
}
.flat-property-detail .wrap-nearby .nearby-type {
    color: #8E8E93;
}
.flat-property-detail .wrap-nearby .nearby-dot {
    color: #C7C7CC;
}
.flat-property-detail .wrap-nearby .nearby-distance {
    font-weight: 700;
    color: #1C1C1E;
}
.flat-property-detail .wrap-nearby .nearby-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
    background: rgba(142, 142, 147, 0.12);
    color: #8E8E93;
}
.flat-property-detail .wrap-nearby .nearby-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
.flat-property-detail .wrap-nearby .nearby-status--available {
    background: rgba(52, 199, 89, 0.12);
    color: #248a3d;
}
.flat-property-detail .wrap-nearby .nearby-status--moderate {
    background: rgba(255, 169, 32, 0.14);
    color: #c47d00;
}
.flat-property-detail .wrap-nearby .nearby-status--unknown {
    background: rgba(142, 142, 147, 0.12);
    color: #8E8E93;
}
@media (max-width: 575px) {
    .flat-property-detail .wrap-nearby .nearby-item {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .flat-property-detail .wrap-nearby .nearby-status {
        align-self: flex-start;
    }
}

/* Review section thumbnails */
.flat-property-detail .wrap-review .pd-reviews-pagination {
    margin-top: 24px;
    padding-top: 8px;
    clear: both;
}
.flat-property-detail .wrap-review .pd-reviews-pagination ul {
    display: inline-flex !important;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.flat-property-detail .wrap-review .pd-reviews-pagination ul li,
.flat-property-detail .wrap-review .comment-list .pd-reviews-pagination ul li {
    display: flex !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    vertical-align: middle;
}
.flat-property-detail .wrap-review .pd-reviews-pagination ul li .page-numbers {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    line-height: 1 !important;
    box-sizing: border-box;
}
.flat-property-detail .wrap-review .comment-list .content .img-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.flat-property-detail .wrap-review .comment-list .content .img-box .review-photo-link {
    display: inline-block;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
}
.flat-property-detail .wrap-review .comment-list .content .img-box .review-photo-link:focus-visible {
    outline: 2px solid #FFA920;
    outline-offset: 2px;
}
.flat-property-detail .wrap-review .comment-list .content .img-box img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    margin-right: 0;
    border-radius: 8px;
    transition: opacity 0.2s ease;
}
.flat-property-detail .wrap-review .comment-list .content .img-box .review-photo-link:hover img {
    opacity: 0.88;
}
.flat-property-detail .wrap-review .star i {
    color: #FFA920;
    font-size: 12px;
    margin-right: 2px;
}
.flat-property-detail .wrap-review .review-sort-wrap {
    position: relative;
}
.flat-property-detail .wrap-review .review-sort-toggle {
    border: 0;
    background: transparent;
    color: #1C1C1E;
    font-weight: 700;
    cursor: pointer;
    padding: 0 0 0 4px;
}
.flat-property-detail .wrap-review .review-sort-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    min-width: 150px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #E5E5EA;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.flat-property-detail .wrap-review .review-sort-menu a,
.flat-property-detail .wrap-review .review-sort-menu button {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 8px 14px;
    color: #1C1C1E;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.flat-property-detail .wrap-review .review-sort-menu a:hover,
.flat-property-detail .wrap-review .review-sort-menu a.is-active,
.flat-property-detail .wrap-review .review-sort-menu button:hover,
.flat-property-detail .wrap-review .review-sort-menu button.is-active {
    background: rgba(255, 169, 32, 0.12);
    color: #FFA920;
}
.flat-property-detail .wrap-review .comment-list.is-loading {
    opacity: 0.55;
    pointer-events: none;
}
.flat-property-detail .wrap-review .comment-list .images {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}
.flat-property-detail .wrap-review .review-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #F2F2F7;
    color: #8E8E93;
    font-size: 22px;
}
.flat-property-detail .wrap-review .review-react-box,
.flat-property-detail .wrap-review .comment-list .content .icon-box.review-react-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 10px;
}
.flat-property-detail .wrap-review .review-react-btn {
    display: inline-flex !important;
    align-items: center;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    margin: 0;
    gap: 8px;
    color: #8E8E93;
    position: relative;
    z-index: 1;
    min-width: 0;
    width: auto;
    height: auto;
    line-height: 1.2;
    box-shadow: none;
}
.flat-property-detail .wrap-review .review-react-btn i {
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.flat-property-detail .wrap-review .review-react-btn > span {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    white-space: nowrap;
}
.flat-property-detail .wrap-review .review-react-btn.is-active,
.flat-property-detail .wrap-review .review-react-btn:hover {
    color: #FFA920;
}
.flat-property-detail .wrap-review .review-react-count {
    font-weight: 700;
}
.flat-property-detail .wrap-contact .review-flash {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.flat-property-detail .wrap-contact .review-flash.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
}
.flat-property-detail .wrap-contact .review-flash--ok {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}
.flat-property-detail .wrap-contact .review-flash--err {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
}
.flat-property-detail .wrap-contact .review-flash--err ul {
    margin: 0;
    padding-left: 18px;
}
.flat-property-detail .wrap-contact .review-flash-close {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    opacity: 0.7;
}
.flat-property-detail .wrap-contact .review-flash-close:hover {
    opacity: 1;
}
.flat-property-detail .wrap-contact .pd-review-stars {
    gap: 4px;
}
.flat-property-detail .wrap-contact .pd-star-btn {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #D1D1D6;
    line-height: 1;
}
.flat-property-detail .wrap-contact .pd-star-btn.is-active,
.flat-property-detail .wrap-contact .pd-star-btn:hover {
    color: #FFA920;
}
.flat-property-detail .wrap-contact [data-review-submit] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 160px;
}
.flat-property-detail .wrap-contact [data-review-submit] .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pd-review-spin 0.7s linear infinite;
    flex-shrink: 0;
}
.flat-property-detail .wrap-contact [data-review-submit].is-loading {
    pointer-events: none;
    opacity: 0.92;
}
.flat-property-detail .wrap-contact [data-review-submit].is-loading .btn-spinner {
    display: inline-block;
}
.flat-property-detail .wrap-contact [data-review-submit].is-loading .btn-label {
    opacity: 0.85;
}
@keyframes pd-review-spin {
    to { transform: rotate(360deg); }
}

/* Review form image upload */
.flat-property-detail .wrap-contact .review-upload-wrap {
    margin-bottom: 20px;
}
.flat-property-detail .wrap-contact .review-upload-box {
    position: relative;
    border: 1px dashed #E5E5EA;
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}
.flat-property-detail .wrap-contact .review-upload-box:hover {
    border-color: #FFA920;
}
.flat-property-detail .wrap-contact #review-upload-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}
.flat-property-detail .wrap-contact .review-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    position: relative;
    z-index: 0;
}
.flat-property-detail .wrap-contact .review-upload-text {
    font-size: 14px;
    color: #1C1C1E;
    font-weight: 500;
}
.flat-property-detail .wrap-contact .review-upload-hint {
    color: #8E8E93;
}
.flat-property-detail .wrap-contact .review-upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
    position: relative;
    z-index: 3;
}
.flat-property-detail .wrap-contact .review-upload-preview:empty {
    margin-top: 0;
}
.flat-property-detail .wrap-contact .review-upload-thumb {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: visible;
    flex-shrink: 0;
}
.flat-property-detail .wrap-contact .review-upload-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    pointer-events: none;
}
.flat-property-detail .wrap-contact .comments .comment-form .review-upload-remove,
.flat-property-detail .wrap-contact .review-upload-remove {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 5;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #1C1C1E !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    transform: none !important;
}
.flat-property-detail .wrap-contact .comments .comment-form .review-upload-remove:hover,
.flat-property-detail .wrap-contact .review-upload-remove:hover {
    background: #FFA920 !important;
    color: #fff !important;
}
.flat-property-detail .wrap-contact .review-upload-box.has-images .review-upload-placeholder {
    display: none;
}

/* Featured listings sidebar thumbnails */
.flat-property-detail .side-bar .widget-listings .box-listings .img-listings,
.flat-agent-sidebar .side-bar .widget-listings .box-listings .img-listings,
.flat-agent-detail .side-bar .widget-listings .box-listings .img-listings,
.side-bar.side-blog .widget-listings .box-listings .img-listings {
    width: 90px;
    height: 68px;
    flex-shrink: 0;
}
.flat-property-detail .side-bar .widget-listings .box-listings .img-listings img,
.flat-agent-sidebar .side-bar .widget-listings .box-listings .img-listings img,
.flat-agent-detail .side-bar .widget-listings .box-listings .img-listings img,
.side-bar.side-blog .widget-listings .box-listings .img-listings img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Real estate near you cards */
.flat-property-detail .side-bar .widget-estate .box-estate .thumb,
.flat-agent-sidebar .side-bar .widget-estate .box-estate .thumb,
.side-bar.side-blog .widget-estate .box-estate .thumb {
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
}
.flat-property-detail .side-bar .widget-estate .box-estate .thumb img,
.flat-agent-sidebar .side-bar .widget-estate .box-estate .thumb img,
.side-bar.side-blog .widget-estate .box-estate .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar property ad card */
.flat-property-detail .side-bar .box-ads-galle,
.flat-agent-sidebar .side-bar .box-ads-galle {
    background-image: url(../../../assets/images/home/properties/4/2.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Loan calculator - right sidebar bottom */
.flat-property-detail .side-bar .widget-loan-calculator {
    margin-top: 20px;
}
.flat-property-detail .side-bar .widget-loan-calculator .titles {
    margin-bottom: 14px;
}
.flat-property-detail .side-bar .widget-loan-calculator .comments .comment-form fieldset {
    margin-bottom: 14px;
}
.flat-property-detail .side-bar .widget-loan-calculator .comments .comment-form .inner-1 {
    gap: 10px;
}
.flat-property-detail .side-bar .widget-loan-calculator .comments .comment-form .inner-2 {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #E5E5EA;
}
.flat-property-detail .side-bar .widget-loan-calculator .comments .comment-form .inner-2 h3 {
    margin: 0;
    font-size: 18px;
}
.flat-property-detail .side-bar .widget-loan-calculator .loan-help {
    font-weight: 500;
    color: #8e8e93;
}

/* Featured properties on property detail - reuse homepage featured grid + ribbon */
.flat-sale-detail.flat-featured,
.flat-sale-detail.flat-featured .wrap-item[data-featured-grid],
.flat-sale-detail.flat-featured .arkad-prop-card {
    overflow: visible;
}
.flat-sale-detail.flat-featured .wrap-item[data-featured-grid] {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.flat-sale-detail.flat-featured .heading-section {
    text-align: left;
}
.flat-sale-detail.flat-featured .heading-section .title-heading {
    margin-bottom: 6px;
}

/* Fix cards-2-grid inside flat-agent-detail - override old horizontal layout widths */
.flat-agent-detail .wrap-item.cards-2-grid .box .content {
    width: 100% !important;
}
.flat-agent-detail .wrap-item.cards-2-grid {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.flat-agent-detail .wrap-item.cards-2-grid .box-dream {
    margin-bottom: 0 !important;
}

.flat-agent-detail .themesflat-pagination {
    padding-top: 30px;
}

/* Dashboard header - align nav with left sidebar */
.dashboard .main-header .main-menu {
    margin-left: 0 !important;
}
.dashboard .dashboard-header-inner {
    padding-left: 360px;
    min-height: 80px;
}
.show-job .dashboard .dashboard-header-inner {
    padding-left: 140px;
}
@media (max-width: 991px) {
    .dashboard .dashboard-header-inner {
        padding-left: 0;
    }
}

/* ==========================================================================
   Auth UX - standalone /login page layout + shared login/register modal
   form feedback (spinner, themed inline errors, error banner).
   Moved here from inline <style> blocks in:
   - resources/views/layouts/auth.blade.php
   - resources/views/frontend/partials/auth/auth-enhancements.blade.php
   ========================================================================== */

/* Standalone auth page (layouts.auth) card layout */
.auth-page-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f7f7f7;
}

/* Admin login: frontend hero slideshow behind the auth card */
.auth-page-wrap.has-hero-bg {
    position: relative;
    isolation: isolate;
    background: transparent;
    overflow: hidden;
}

.auth-page-wrap.has-hero-bg .auth-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.auth-page-wrap.has-hero-bg .auth-hero-bg .hero-bg-slideshow::after {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.30) 60%,
        rgba(0, 0, 0, 0.50) 100%
    );
    z-index: 2;
}

.auth-page-wrap.has-hero-bg .auth-card {
    position: relative;
    z-index: 1;
}

/* Compact admin login card - narrower + taller */
.auth-card.auth-card--compact {
    max-width: 720px;
    min-height: 560px;
}

.auth-card.auth-card--compact .wrap-modal {
    min-height: 560px;
    align-items: stretch;
}

.auth-card.auth-card--compact .modal-body .content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 24px 20px;
    min-height: 560px;
    background: #fff;
}

.auth-card.auth-card--compact .auth-admin-header {
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid #F0F0F2;
}

.auth-card.auth-card--compact .auth-admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 169, 32, 0.14);
    color: #B86E00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

.auth-card.auth-card--compact .auth-admin-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFA920;
    flex: none;
}

.auth-card.auth-card--compact .modal-body .title-login.auth-admin-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #1C1C1E;
}

.auth-card.auth-card--compact .auth-admin-subtext {
    margin: 0;
    color: #6B7280;
    font-size: 13px;
    line-height: 1.45;
}

.auth-card.auth-card--compact .auth-admin-inline-link {
    color: #FFA920;
    font-weight: 700;
    text-decoration: none;
}

.auth-card.auth-card--compact .auth-admin-inline-link:hover {
    text-decoration: underline;
}

.auth-card.auth-card--compact .modal-body .title-login {
    margin-bottom: 8px;
}

.auth-card.auth-card--compact .modal-body .comments .comment-form fieldset {
    margin-bottom: 14px;
}

.auth-card.auth-card--compact .modal-body .comments .comment-form .style-wrap {
    margin-bottom: 14px;
}

/* Standalone auth forms (admin login, /login page): fixed input row + icon
   alignment. Theme app.css sets .img-email { bottom:19px } which drops the
   envelope icon to the field bottom when combined with .img-icon { top:51px }. */
.auth-card .modal-body .comments .comment-form fieldset {
    position: relative;
}

.auth-card .modal-body .comments .comment-form fieldset label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.2;
}

.auth-card .modal-body .comments .comment-form fieldset input,
.auth-card .modal-body .comments .comment-form fieldset .tb-my-input,
.auth-card .modal-body .comments .comment-form fieldset .input-form,
.auth-card .modal-body .comments .comment-form fieldset .password-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 14px 0 44px !important;
    font-size: 14px !important;
    line-height: 44px !important;
    position: static !important;
}

.auth-card .modal-body .comments .comment-form fieldset input::placeholder {
    line-height: 44px !important;
    font-size: 14px !important;
}

.auth-card .modal-body .comments .comment-form fieldset .img-icon,
.auth-card .modal-body .comments .comment-form fieldset .img-email,
.auth-card .modal-body .comments .comment-form fieldset .img-name,
.auth-card .modal-body .comments .comment-form fieldset .img-password {
    position: absolute !important;
    left: 15px !important;
    right: auto !important;
    top: calc(13px * 1.2 + 6px + (44px - 16px) / 2) !important;
    bottom: auto !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    transform: none !important;
    object-fit: contain;
    pointer-events: none;
    z-index: 2;
}

.auth-card.auth-card--compact .modal-body .title-forgot {
    margin-bottom: 18px;
    text-align: left;
}

.auth-card.auth-card--compact .modal-body .sc-button {
    margin-bottom: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.auth-card.auth-card--compact .modal-body .text-box {
    margin-bottom: 14px;
}

.auth-card.auth-card--compact .modal-body .texts {
    margin-bottom: 14px;
}

.auth-card.auth-card--compact .modal-body .button-box a,
.auth-card.auth-card--compact .modal-body .button-box .auth-social-btn {
    padding: 11px 12px;
}

.auth-card.auth-card--compact .images {
    position: relative;
    overflow: hidden;
    max-width: 260px;
    width: 36%;
    min-height: 560px;
    flex: none;
}

/* Only the side photo - never the mark-logo image */
.auth-card.auth-card--compact .images > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.auth-card.auth-card--compact .mark-logo {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 2;
    max-width: 72%;
    pointer-events: none;
}

.auth-card.auth-card--compact .mark-logo img {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: 48px;
    object-fit: contain;
}

.auth-card.auth-card--compact .auth-close {
    top: 10px;
    right: 14px;
    font-size: 24px;
    z-index: 3;
}

@media (max-width: 767px) {
    .auth-card.auth-card--compact,
    .auth-card.auth-card--compact .wrap-modal,
    .auth-card.auth-card--compact .modal-body .content,
    .auth-card.auth-card--compact .images,
    .auth-card.auth-card--compact .images > img {
        min-height: 0;
    }

    .auth-card.auth-card--compact .images {
        max-width: none;
        width: 100%;
    }
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 960px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(28, 28, 30, 0.08);
}

.auth-card .auth-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 2;
    font-size: 28px;
    line-height: 1;
    color: #1c1c1e;
    text-decoration: none;
}

/* Base alert - applies everywhere, including the home-page login/register
   modals (which have no .auth-card wrapper). */
.auth-alert,
.auth-card .auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

/* Verified / success - amber theme to match the brand. */
.auth-alert.success,
.auth-card .auth-alert.success {
    background: rgba(255, 169, 32, 0.12);
    border: 1px solid #FFA920;
    color: #8a5600;
    font-weight: 500;
}

.auth-alert.error,
.auth-card .auth-alert.error {
    background: #fef3f2;
    border: 1px solid #fda29b;
    color: #b42318;
}

.auth-alert.warning,
.auth-card .auth-alert.warning {
    background: #fffaeb;
    color: #b54708;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
}

.auth-alert .link-button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    font: inherit;
}

.auth-verify-hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255, 169, 32, 0.1);
    border: 1px solid rgba(255, 169, 32, 0.4);
    color: #a86a00;
    font-size: 13px;
    line-height: 1.55;
}

.auth-verify-hint.success {
    background: rgba(255, 169, 32, 0.16);
    border-color: #FFA920;
    color: #8a5600;
    font-weight: 500;
}

.auth-verify-hint svg {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.auth-verify-hint__body {
    flex: 1 1 auto;
    min-width: 0;
}

.auth-verify-hint__body > span {
    display: block;
}

.auth-verify-link-wrap {
    margin-top: 10px;
}

.auth-verify-link-wrap a {
    display: inline-block;
    text-decoration: underline;
}

/* Auth modals - shared size (login + register must look the same family) */
#popup_bid .modal-dialog,
#popup_bid2 .modal-dialog {
    max-width: 640px;
    width: calc(100% - 24px);
    margin: 16px auto;
}

#popup_bid .modal-content,
#popup_bid2 .modal-content {
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px !important;
}

#popup_bid .modal-body.pd-40,
#popup_bid2 .modal-body.pd-40,
#popup_bid .modal-body.style2,
#popup_bid2 .modal-body.style2 {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 !important;
    display: flex;
    overflow: hidden;
}

#popup_bid .wrap-modal,
#popup_bid2 .wrap-modal {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    min-height: 0;
    max-height: calc(100vh - 32px);
    flex: 1 1 auto;
    overflow: hidden;
}

#popup_bid .modal-body .images,
#popup_bid2 .modal-body .images {
    position: relative;
    flex: 0 0 220px;
    width: 220px;
    max-width: 36%;
    min-height: 100%;
    overflow: hidden;
    background: #1c1c1e;
}

#popup_bid .modal-body .images img,
#popup_bid2 .modal-body .images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#popup_bid .modal-body .mark-logo,
#popup_bid2 .modal-body .mark-logo {
    z-index: 2;
    bottom: 14px;
    left: 14px;
}

#popup_bid .modal-body .mark-logo img,
#popup_bid2 .modal-body .mark-logo img {
    max-width: 110px;
    height: auto;
}

#popup_bid .modal-content .close,
#popup_bid2 .modal-content .close {
    right: 16px;
    top: 12px;
}

#popup_bid .modal-content .close span,
#popup_bid2 .modal-content .close span {
    font-size: 26px;
}

#popup_bid .modal-body .content,
#popup_bid2 .modal-body .content {
    /* Override theme width:100% so image + form don't overflow the modal */
    width: auto !important;
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 22px 24px 22px;
    -webkit-overflow-scrolling: touch;
}

#popup_bid .modal-body .content .title-login,
#popup_bid2 .modal-body .content .title-login {
    margin-bottom: 14px;
    font-size: 26px !important;
    line-height: 1.25 !important;
}

#popup_bid .modal-body .comments,
#popup_bid2 .modal-body .comments,
#popup_bid .modal-body .respond-comment,
#popup_bid2 .modal-body .respond-comment,
#popup_bid .modal-body .comment-form,
#popup_bid2 .modal-body .comment-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#popup_bid .modal-body .comments .comment-form fieldset,
#popup_bid2 .modal-body .comments .comment-form fieldset {
    margin-bottom: 11px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

#popup_bid .modal-body .comments .comment-form fieldset label,
#popup_bid2 .modal-body .comments .comment-form fieldset label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.2;
}

#popup_bid .modal-body .comments .comment-form fieldset input,
#popup_bid2 .modal-body .comments .comment-form fieldset input,
#popup_bid .modal-body .comments .comment-form fieldset .tb-my-input,
#popup_bid2 .modal-body .comments .comment-form fieldset .tb-my-input,
#popup_bid .modal-body .comments .comment-form fieldset .input-form,
#popup_bid2 .modal-body .comments .comment-form fieldset .input-form,
#popup_bid .modal-body .comments .comment-form fieldset .password-input,
#popup_bid2 .modal-body .comments .comment-form fieldset .password-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 14px 0 44px !important;
    font-size: 14px !important;
    line-height: 44px !important;
    vertical-align: middle;
}

#popup_bid .modal-body .comments .comment-form fieldset input::placeholder,
#popup_bid2 .modal-body .comments .comment-form fieldset input::placeholder {
    line-height: 44px !important;
    font-size: 14px !important;
    position: relative;
    top: 0;
}

#popup_bid .modal-body .comments .comment-form .img-icon,
#popup_bid2 .modal-body .comments .comment-form .img-icon,
#popup_bid .modal-body .comments .comment-form .img-name,
#popup_bid2 .modal-body .comments .comment-form .img-name,
#popup_bid .modal-body .comments .comment-form .img-email,
#popup_bid2 .modal-body .comments .comment-form .img-email,
.auth-card .modal-body .comments .comment-form .img-icon,
.auth-card .modal-body .comments .comment-form .img-name,
.auth-card .modal-body .comments .comment-form .img-email,
.auth-card .modal-body .comments .comment-form .img-password {
    position: absolute !important;
    left: 15px !important;
    right: auto !important;
    /* Anchor from top (label + half of 44px input) so multi-line errors
       under the field cannot drag the icon to the input bottom edge. */
    top: calc(13px * 1.2 + 6px + (44px - 16px) / 2) !important;
    bottom: auto !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    transform: none !important;
    object-fit: contain;
    pointer-events: none;
    z-index: 2;
}

#popup_bid .modal-body .sc-button,
#popup_bid2 .modal-body .sc-button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    min-height: 44px;
}

#popup_bid .modal-body .sc-button span,
#popup_bid2 .modal-body .sc-button span {
    font-size: 14px;
}

#popup_bid .modal-body .text-box,
#popup_bid2 .modal-body .text-box {
    margin-bottom: 12px;
    font-size: 13px;
}

#popup_bid .modal-body .texts,
#popup_bid2 .modal-body .texts {
    margin-bottom: 10px;
    font-size: 12px;
}

#popup_bid .modal-body .button-box,
#popup_bid2 .modal-body .button-box {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    gap: 10px;
}

#popup_bid .modal-body .button-box a,
#popup_bid2 .modal-body .button-box a,
#popup_bid .modal-body .button-box .auth-social-btn,
#popup_bid2 .modal-body .button-box .auth-social-btn {
    flex: 1 1 0;
    width: auto !important;
    margin-left: 0 !important;
    padding: 11px 12px !important;
    box-sizing: border-box;
    min-width: 0;
}

#popup_bid .modal-body .button-box a span,
#popup_bid2 .modal-body .button-box a span,
#popup_bid .modal-body .button-box .auth-social-btn > .fw-6,
#popup_bid2 .modal-body .button-box .auth-social-btn > .fw-6 {
    font-size: 13px;
}

/* Google / Facebook social auth — locked until OAuth is ready */
.auth-social-btn.is-locked {
    position: relative;
    cursor: not-allowed;
    opacity: 0.55;
    filter: grayscale(0.35);
    user-select: none;
    pointer-events: auto;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}
.auth-social-btn.is-locked:hover,
.auth-social-btn.is-locked:focus {
    opacity: 0.7;
    outline: none;
}
.auth-social-btn.is-locked::after {
    content: attr(data-soon);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) translateY(4px);
    padding: 6px 10px;
    border-radius: 6px;
    background: #1a1a1d;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    z-index: 20;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.auth-social-btn.is-locked:hover::after,
.auth-social-btn.is-locked:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

#popup_bid .modal-body .content.is-auth-success .texts,
#popup_bid .modal-body .content.is-auth-success .button-box,
#popup_bid2 .modal-body .content.is-auth-success .texts,
#popup_bid2 .modal-body .content.is-auth-success .button-box {
    display: none;
}

/* Success state: keep same footprint as login (no wide empty slab) */
#popup_bid2 .wrap-modal:has(.is-auth-success),
#popup_bid .wrap-modal:has(.is-auth-success) {
    min-height: 360px;
}

#popup_bid2 .modal-body .content.is-auth-success,
#popup_bid .modal-body .content.is-auth-success {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
    padding-top: 28px;
    padding-bottom: 28px;
}

#popup_bid2 .modal-body .content.is-auth-success .title-login,
#popup_bid .modal-body .content.is-auth-success .title-login {
    text-align: center;
    margin-bottom: 16px;
}

#popup_bid2 .modal-body .content.is-auth-success .comments,
#popup_bid .modal-body .content.is-auth-success .comments {
    margin-bottom: 0;
}

#popup_bid2 .modal-body .content.is-auth-success .auth-verify-hint,
#popup_bid .modal-body .content.is-auth-success .auth-verify-hint {
    margin: 0 0 18px;
}

#popup_bid .modal-body .content.is-auth-success .text-box,
#popup_bid2 .modal-body .content.is-auth-success .text-box {
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    #popup_bid .modal-body .images,
    #popup_bid2 .modal-body .images {
        display: none;
    }

    #popup_bid .modal-body .content,
    #popup_bid2 .modal-body .content {
        width: 100% !important;
        padding: 20px 18px 22px;
        max-height: calc(100vh - 32px);
    }

    #popup_bid .modal-content .close,
    #popup_bid2 .modal-content .close {
        right: 14px;
        top: 10px;
    }
}

form.inline {
    display: inline;
}

/* Shared form feedback (scoped to .comment-form so it works on the
   standalone page and inside the login/register modals) */
.comment-form .field-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #b42318;
}

.comment-form .tb-my-input.is-invalid,
.comment-form .input-form.is-invalid,
.comment-form .nice-select.is-invalid {
    border-color: #f04438 !important;
    box-shadow: 0 0 0 3px rgba(240, 68, 56, .12) !important;
}

.comment-form .auth-error-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    padding: 13px 15px;
    border-radius: 10px;
    background: #fef3f2;
    border: 1px solid #fda29b;
    color: #b42318;
    animation: auth-banner-in .22s ease;
}

.comment-form .auth-error-banner svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: #f04438;
}

.comment-form .auth-error-banner strong {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 700;
    color: #912018;
}

.comment-form .auth-error-banner span {
    display: block;
    font-size: 12.5px;
    line-height: 1.5;
    color: #b42318;
}

/* Amber (theme) variant: used for the "email not verified" notice. */
.comment-form .auth-error-banner.warning {
    background: rgba(255, 169, 32, 0.12);
    border-color: #FFA920;
    color: #8a5600;
}

.comment-form .auth-error-banner.warning svg {
    color: #FFA920;
}

.comment-form .auth-error-banner.warning strong {
    color: #8a5600;
}

.comment-form .auth-error-banner.warning span {
    color: #a86a00;
}

.comment-form .auth-error-banner .link-button {
    margin-top: 8px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    font: inherit;
    font-size: 12.5px;
    color: #8a5600;
}

.comment-form .auth-error-banner .link-button:disabled {
    opacity: .6;
    cursor: default;
    text-decoration: none;
}

@keyframes auth-banner-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sc-button {
    position: relative;
}

.sc-button .btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin .6s linear infinite;
    vertical-align: middle;
    margin-left: 8px;
}

.sc-button.is-loading {
    pointer-events: none;
    opacity: .85;
    cursor: wait;
}

.sc-button.is-loading .btn-spinner {
    display: inline-block;
}

.flat-contact-page .tour-flash,
.flat-contact .tour-flash {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.flat-contact-page .tour-flash.is-hiding,
.flat-contact .tour-flash.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
}

.flat-contact-page .tour-flash--ok,
.flat-contact .tour-flash--ok {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.flat-contact-page .tour-flash--err,
.flat-contact .tour-flash--err {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
}

.flat-contact-page .tour-flash--err ul,
.flat-contact .tour-flash--err ul {
    margin: 0;
    padding-left: 18px;
}

.flat-contact-page .tour-flash-close,
.flat-contact .tour-flash-close {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}

.flat-contact-page [data-contact-submit] .btn-spinner,
.flat-contact [data-contact-submit] .btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 17px;
    margin-left: 0;
    flex-shrink: 0;
}

.flat-contact-page [data-contact-submit] .btn-spinner::before,
.flat-contact [data-contact-submit] .btn-spinner::before {
    content: none;
}

.flat-contact-page [data-contact-submit].is-loading,
.flat-contact [data-contact-submit].is-loading {
    display: inline-flex;
    align-items: center;
    pointer-events: none;
    opacity: 0.9;
    cursor: wait;
}

.flat-contact-page [data-contact-submit].is-loading svg,
.flat-contact [data-contact-submit].is-loading svg {
    display: none;
}

.flat-contact-page [data-contact-submit].is-loading .btn-spinner,
.flat-contact [data-contact-submit].is-loading .btn-spinner {
    display: inline-block;
}

.flat-contact-page [data-contact-submit].is-loading .btn-label::before,
.flat-contact [data-contact-submit].is-loading .btn-label::before {
    margin-left: -11px;
}

@keyframes auth-spin {
    to { transform: rotate(360deg); }
}

#footer .widget-form .tour-flash {
    margin: 0 0 12px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#footer .widget-form .tour-flash.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
}

#footer .widget-form .tour-flash--ok {
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
}

#footer .widget-form .tour-flash--err {
    background: rgba(239, 68, 68, 0.16);
    color: #fecaca;
}

#footer .widget-form .tour-flash--err ul {
    margin: 0;
    padding-left: 16px;
}

#footer .widget-form .tour-flash > span,
#footer .widget-form .tour-flash > ul {
    flex: 1;
    min-width: 0;
}

#footer .widget-form .tour-flash-close {
    width: auto;
    height: auto;
    min-width: 0;
    margin: 0;
    padding: 0 2px;
    border: 0 !important;
    background: transparent !important;
    color: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
    box-shadow: none;
}

#footer .widget-form .tour-flash-close::after {
    content: none !important;
    display: none !important;
    margin: 0;
}

#footer .widget-form [data-newsletter-submit] {
    position: relative;
}

#footer .widget-form [data-newsletter-submit] .btn-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

#footer .widget-form [data-newsletter-submit].is-loading .btn-spinner {
    display: inline-block;
}

/* --- Explore our listings (district carousel) --- */
.flat-explore .explore-district-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.flat-explore .explore-ads {
    margin-bottom: 4px;
    font-weight: 600;
}

.flat-explore .explore-meta {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: #5a5a5a;
}

.flat-explore .explore-meta--muted {
    margin-top: 2px;
    color: #8a8a8a;
    font-size: 11.5px;
}

.flat-explore .explore-dot {
    margin: 0 3px;
    opacity: .7;
}

.flat-explore .box .images img.img2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Homepage testimonials - avatar placeholder + source flags */
.flat-testimonial .box .author-box .images {
    position: relative;
    width: 80px !important;
    height: 80px !important;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    margin: 0 auto 14px !important;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.flat-testimonial .box .author-box .images img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
    display: block;
}

.flat-testimonial .arkad-testimonial-avatar-placeholder {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #FFF5E0;
    color: #120A21;
    font-size: 28px;
    line-height: 1;
}

.flat-testimonial .arkad-testimonial-avatar-placeholder.is-visible,
.flat-testimonial .box .author-box .images.is-placeholder .arkad-testimonial-avatar-placeholder {
    display: inline-flex;
}

.flat-testimonial .arkad-testimonial-flag--google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 4px;
    vertical-align: text-bottom;
    border-radius: 50%;
    background: #fff;
    color: #4285F4;
    font-size: 12px;
    line-height: 1;
    box-shadow: 0 0 0 1px #E5E5EA;
}

.flat-testimonial .author-box h4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.flat-testimonial .author-box p {
    margin-top: 4px;
}

/* Contact section: gap between copy column and form card */
.flat-contact > .container > .row {
    --bs-gutter-x: 40px;
    row-gap: 28px;
}
.flat-contact > .container > .row > [class*="col-"] {
    padding-left: 20px;
    padding-right: 20px;
}
.flat-contact > .container > .row > .col-lg-6:first-child {
    padding-right: 36px;
}
.flat-contact > .container > .row > .col-lg-6:last-child {
    padding-left: 36px;
}
.flat-contact .wrap-contact {
    margin-left: 0;
}
@media (max-width: 991px) {
    .flat-contact > .container > .row > .col-lg-6:first-child,
    .flat-contact > .container > .row > .col-lg-6:last-child {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* --- Homepage lazy sections (IntersectionObserver shells) --- */
.home-lazy-section {
    min-height: 180px;
    width: 100%;
}
.home-lazy-section.is-loaded {
    min-height: 0;
}
.home-lazy-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 48px 16px;
}
.home-lazy-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.home-lazy-spinner-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid rgba(255, 169, 32, 0.22);
    border-top-color: #FFA920;
    animation: home-lazy-spin 0.75s linear infinite;
}
.home-lazy-error {
    flex-direction: column;
    gap: 10px;
    color: #8a8a8a;
    font-size: 14px;
    text-align: center;
}
.home-lazy-retry {
    appearance: none;
    border: 1px solid #FFA920;
    background: #fff;
    color: #FFA920;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.home-lazy-retry:hover {
    background: #FFA920;
    color: #fff;
}
@keyframes home-lazy-spin {
    to { transform: rotate(360deg); }
}

/* ── Frontend header account (theme-aligned) ── */
.fh-account {
    position: relative;
    margin-right: 18px;
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
}
.fh-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 200px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}
.fh-account-btn:hover .fh-name,
.fh-account.is-open .fh-name {
    color: #FFA920;
}
.fh-account-btn:hover .fh-caret,
.fh-account.is-open .fh-caret {
    color: #FFA920;
}
.fh-av-wrap {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}
.fh-av-wrap.fh-av-lg {
    width: 48px;
    height: 48px;
}
.fh-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(255, 169, 32, 0.85);
}
.fh-presence {
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #A1A1A6;
    box-sizing: border-box;
}
.fh-presence.is-online {
    background: #34C759;
}
.fh-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}
.fh-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #1C1C1E;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 132px;
    transition: color 0.2s ease;
}
.fh-badge {
    display: inline-block;
    max-width: 132px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--fh-rank, #FFA920);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fh-caret {
    flex-shrink: 0;
    color: #8E8E93;
    transition: transform 0.2s ease, color 0.2s ease;
}
.fh-account.is-open .fh-caret {
    transform: rotate(180deg);
}
.fh-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 18px 0px rgba(0, 0, 0, 0.0784313725), 0 12px 28px rgba(28, 28, 30, 0.08);
    z-index: 1200;
    overflow: hidden;
}
.fh-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 22px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.04);
}
.fh-menu-head {
    position: relative;
    padding: 16px 16px 14px;
    border-bottom: 1px solid #EFEFEF;
}
.fh-menu-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.fh-menu-copy {
    min-width: 0;
}
.fh-menu-name {
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #1C1C1E;
}
.fh-menu-mail {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: #8E8E93;
    word-break: break-all;
}
.fh-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.fh-facts li {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 8px;
    align-items: center;
}
.fh-fact-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #A1A1A6;
}
.fh-fact-value {
    font-size: 13px;
    font-weight: 600;
    color: #1C1C1E;
    min-width: 0;
}
.fh-pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 169, 32, 0.12);
    color: var(--fh-rank, #FFA920);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fh-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}
.fh-live i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #A1A1A6;
}
.fh-live.is-online {
    color: #1C1C1E;
}
.fh-live.is-online i {
    background: #34C759;
    box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.18);
}
.fh-live.is-offline {
    color: #8E8E93;
}
.fh-menu-list {
    padding: 8px;
}
.fh-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #1C1C1E;
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
}
.fh-menu-item:hover {
    background: rgba(255, 169, 32, 0.1);
    color: #FFA920;
}
.fh-menu-item.logout {
    color: #E5484D;
}
.fh-menu-item.logout:hover {
    background: rgba(229, 72, 77, 0.08);
    color: #E5484D;
}
.fh-menu-item i {
    width: 16px;
    text-align: center;
    font-size: 13px;
    opacity: 0.9;
}
.fh-menu-sep {
    height: 1px;
    margin: 4px 8px;
    background: #EFEFEF;
}
.fh-login-box .fh-account {
    margin-right: 0;
    width: 100%;
}
.fh-login-box .fh-account-btn {
    max-width: none;
    width: 100%;
}
.fh-login-box .fh-name,
.fh-login-box .fh-badge {
    max-width: none;
}
.fh-login-box .fh-menu {
    right: auto;
    left: 0;
    width: min(300px, calc(100vw - 48px));
}
.fh-login-box .fh-menu::before {
    right: auto;
    left: 22px;
}
.fh-login-box .register {
    width: 100%;
}
@media (max-width: 1199px) {
    .header-account > .fh-account {
        margin-right: 10px;
    }
    .header-account > .fh-account .fh-meta,
    .header-account > .fh-account .fh-caret {
        display: none;
    }
}

/* Frontend listing pagination - themesflat page-numbers (#FFA920 active) */
.themesflat-pagination.arkad-pagination {
    padding-top: 28px;
    padding-bottom: 8px;
}
.themesflat-pagination.arkad-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.themesflat-pagination.arkad-pagination ul li {
    display: inline-block;
    margin: 0;
}
.themesflat-pagination.arkad-pagination ul li .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    line-height: 1;
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #120A21;
    background: #fff;
    border: 1px solid #EFEFEF;
    border-radius: 10px;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.themesflat-pagination.arkad-pagination ul li .page-numbers:hover,
.themesflat-pagination.arkad-pagination ul li .page-numbers.current {
    background-color: #FFA920;
    border-color: #FFA920;
    color: #fff;
}
.themesflat-pagination.arkad-pagination ul li .page-numbers.current {
    cursor: default;
}
.themesflat-pagination.arkad-pagination ul li .page-numbers.style i {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}
.themesflat-pagination.arkad-pagination ul li .page-numbers[aria-disabled="true"] {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}
.themesflat-pagination.arkad-pagination ul li .page-numbers[aria-disabled="true"]:hover {
    background: #fff;
    border-color: #EFEFEF;
    color: #120A21;
}

/* ── Homepage partner brands: full-width row + center color/scale ─────── */
.flat-brand .partner-brands-track {
    width: 100%;
    max-width: 100%;
    padding: 12px 0 24px;
}

.flat-brand .partner-brands-track.is-static,
.flat-brand .partner-brands-row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: clamp(22px, 2.5vw, 36px);
}

.flat-brand .partner-brands-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flat-brand .carousel-5.partner-brands-track {
    overflow: hidden;
}

.flat-brand .carousel-5 .swiper-wrapper {
    width: 100%;
    align-items: center;
}

.flat-brand .carousel-5 .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    box-sizing: border-box;
}

.flat-brand .slogan-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 88px;
    padding: 8px 6px;
    border-radius: 14px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.flat-brand .slogan-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.flat-brand .slogan-logo img {
    display: block;
    width: auto;
    max-width: min(180px, 100%);
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter 0.45s ease,
                opacity 0.45s ease,
                transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Soft neighbors near center */
.flat-brand .partner-brands-item.is-near .slogan-logo img,
.flat-brand .swiper-slide.is-near .slogan-logo img {
    filter: grayscale(45%);
    opacity: 0.85;
    transform: scale(1.06);
}

/* Center logo: full color + scale */
.flat-brand .partner-brands-item.is-center .slogan-logo,
.flat-brand .swiper-slide.is-center .slogan-logo {
    transform: scale(1.12);
}

.flat-brand .partner-brands-item.is-center .slogan-logo img,
.flat-brand .swiper-slide.is-center .slogan-logo img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
    max-height: 88px;
}

@media (max-width: 767px) {
    .flat-brand .partner-brands-track.is-static,
    .flat-brand .partner-brands-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px 16px;
    }

    .flat-brand .partner-brands-item {
        flex: 1 1 calc(33.333% - 16px);
        max-width: calc(33.333% - 12px);
    }

    .flat-brand .slogan-logo {
        min-height: 72px;
    }

    .flat-brand .slogan-logo img {
        max-height: 64px;
        max-width: min(140px, 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .flat-brand .slogan-logo,
    .flat-brand .slogan-logo img {
        transition: none;
    }
}

/* Schedule a Tour - swipeable dates (keep theme .widget-rent styles) */
.side-bar .widget-rent .tour-days-wrap {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin-left: -10px;
    margin-bottom: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}
.side-bar .widget-rent .tour-days-wrap::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.side-bar .widget-rent .tour-days-wrap.is-dragging {
    cursor: grabbing;
    user-select: none;
}
.side-bar .widget-rent .tour-days-wrap .day-box {
    flex: 0 0 calc(25% - 10px);
    width: calc(25% - 10px);
    min-width: 68px;
    margin-left: 10px;
    scroll-snap-align: start;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
    text-align: center;
    line-height: inherit;
}
.side-bar .widget-rent .tour-days-wrap .day-box p {
    margin: 0;
}
.side-bar .widget-rent .tour-days-wrap .day-box.is-active {
    border-color: #FFA920;
}
.side-bar .widget-rent .tour-days-wrap .day-box.is-active .number {
    color: #FFA920;
}
.side-bar .widget-rent .tour-flash {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.side-bar .widget-rent .tour-flash.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
}
.side-bar .widget-rent .tour-flash--ok {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}
.side-bar .widget-rent .tour-flash--err {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
}
.side-bar .widget-rent .tour-flash--err ul {
    margin: 0;
    padding-left: 18px;
}
.side-bar .widget-rent .tour-flash-close {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    opacity: 0.7;
}
.side-bar .widget-rent [data-tour-type-tabs] .item-title {
    cursor: pointer;
}
.side-bar .widget-rent [data-tour-type-tabs] .item-title:not(.active) svg path {
    stroke: #FFA920;
}
.side-bar .widget-rent [data-tour-submit] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}
.side-bar .widget-rent [data-tour-submit] .btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pd-review-spin 0.7s linear infinite;
    flex-shrink: 0;
}
.side-bar .widget-rent [data-tour-submit].is-loading .btn-spinner {
    display: inline-block;
}
.side-bar .widget-rent [data-tour-submit].is-loading .btn-label,
.side-bar .widget-rent [data-tour-submit].is-loading svg {
    opacity: 0.85;
}
.side-bar .widget-rent #property-tour-form select[name="preferred_time"] {
    width: 100%;
    height: 54px;
    margin-bottom: 12px;
    padding: 15px 17px;
    border: 1px solid #E5E5EA;
    border-radius: 8px;
    background-color: #fff;
    color: #1C1C1E;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%233A3A3C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 17px center;
}
.side-bar .widget-rent #property-tour-form .group-select .nice-select {
    height: 54px;
    width: 100%;
    padding: 15px 17px;
    margin-bottom: 12px;
}


.side-bar .widget-rent #property-tour-form .group-select .nice-select {
    height: 54px;
    width: 100%;
    padding: 15px 17px;
    margin-bottom: 12px;
    border: 1px solid #E5E5EA;
    border-radius: 8px;
    float: none;
    line-height: 22px;
}
.side-bar .widget-rent #property-tour-form .group-select .nice-select::after {
    border-bottom: 1px solid #3A3A3C;
    border-right: 1px solid #3A3A3C;
    right: 18px;
}
.side-bar .widget-rent #property-tour-form .group-select .nice-select .list {
    max-height: 260px;
    overflow-y: auto;
    margin-top: 4px;
    border: 1px solid #E5E5EA;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(28, 28, 30, 0.08);
    width: 100%;
}
.side-bar .widget-rent #property-tour-form .group-select .nice-select .option:hover,
.side-bar .widget-rent #property-tour-form .group-select .nice-select .option.focus,
.side-bar .widget-rent #property-tour-form .group-select .nice-select .option.selected.focus {
    background-color: #FFF5E0;
    color: #1C1C1E;
}
.side-bar .widget-rent #property-tour-form .group-select .nice-select .option.selected {
    color: #FFA920;
    font-weight: 600;
}
.side-bar .widget-rent #property-tour-form select[name="preferred_time"].select_js {
    display: none;
}

/* Property detail contact card ? rank + online/offline */
.side-bar .pd-contact-author {
    gap: 14px;
    margin-bottom: 18px;
}
.side-bar .pd-contact-av-wrap {
    position: relative;
    width: 65px;
    height: 65px;
}
.side-bar .pd-contact-av-wrap img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.side-bar .pd-contact-av-wrap .author-presence-dot {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-sizing: border-box;
}
.side-bar .pd-contact-av-wrap .author-presence-dot.is-online {
    background: #22C55E;
}
.side-bar .pd-contact-av-wrap .author-presence-dot.is-offline {
    background: #9CA3AF;
}
.side-bar .pd-contact-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}
.side-bar .pd-contact-name .author-presence-label {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.side-bar .pd-contact-name .author-presence-label.is-online {
    color: #16A34A;
}
.side-bar .pd-contact-name .author-presence-label.is-offline {
    color: #8E8E93;
}
.side-bar #property-contact .prop-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: none;
    width: auto;
    margin-bottom: 8px;
    padding: 4px 10px;
    font-size: 11px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.2;
}
.side-bar #property-contact .prop-author-badge::before {
    flex-shrink: 0;
}
.side-bar #property-contact .pd-contact-channels {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
}
.side-bar #property-contact .pd-contact-channel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1C1C1E;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
    word-break: break-all;
}
.side-bar #property-contact .pd-contact-channel i {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    font-size: 14px;
}
.side-bar #property-contact .pd-contact-channel--call i {
    color: #FFA920;
}
.side-bar #property-contact .pd-contact-channel--wa i {
    color: #25D366;
    font-size: 16px;
}
.side-bar #property-contact .pd-contact-channel--email {
    font-size: 12px;
    color: #3A3A3C;
}
.side-bar #property-contact .pd-contact-channel--email i {
    color: #8E8E93;
}
.side-bar #property-contact .pd-contact-channel:hover {
    color: #FFA920;
}
.side-bar #property-contact .pd-contact-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
}
.side-bar #property-contact .pd-contact-cta.has-side-actions {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
.side-bar #property-contact .pd-contact-cta.has-side-actions .pd-send-btn {
    grid-row: 1 / -1;
    height: 100%;
    min-height: 88px;
}
.side-bar #property-contact .pd-send-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 12px;
    border-radius: 12px;
    background: #FFA920 !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}
.side-bar #property-contact .pd-send-btn:hover {
    background: #e89410 !important;
    color: #fff !important;
}
.side-bar #property-contact .pd-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.side-bar #property-contact .pd-contact-actions .sc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 12px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
}
.side-bar #property-contact .pd-call-btn {
    background: #F5F0E8 !important;
    border: none !important;
    color: #1C1C1E !important;
}
.side-bar #property-contact .pd-call-btn span,
.side-bar #property-contact .pd-call-btn i {
    color: #1C1C1E !important;
}
.side-bar #property-contact .pd-call-btn:hover {
    background: #ebe4d8 !important;
    color: #1C1C1E !important;
}
.side-bar #property-contact .pd-call-btn:hover span,
.side-bar #property-contact .pd-call-btn:hover i {
    color: #1C1C1E !important;
}
.side-bar #property-contact .pd-call-btn i {
    font-size: 15px;
}
.side-bar #property-contact .pd-wa-btn {
    background: #25D366 !important;
    border: none !important;
    color: #fff !important;
}
.side-bar #property-contact .pd-wa-btn span,
.side-bar #property-contact .pd-wa-btn i {
    color: #fff !important;
}
.side-bar #property-contact .pd-wa-btn:hover {
    background: #1ebe57 !important;
    color: #fff !important;
}
.side-bar #property-contact .pd-wa-btn i {
    font-size: 18px;
    line-height: 1;
}
.side-bar #property-contact [data-inquiry-submit] {
    position: relative;
}
.side-bar #property-contact [data-inquiry-submit] .btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pd-review-spin 0.7s linear infinite;
    flex-shrink: 0;
}
.side-bar #property-contact [data-inquiry-submit].is-loading .btn-spinner {
    display: inline-block;
}
.side-bar #property-contact [data-inquiry-submit].is-loading .btn-label {
    opacity: 0.85;
}

/* Floor plans: first panel starts open; images must stay visible after lazy inject */
.flat-property-detail .wrap-floor .flat-accordion .flat-toggle .toggle-title.active + .toggle-content {
    display: block;
}
.flat-property-detail .wrap-floor .flat-accordion .flat-toggle .toggle-content img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Footer brand block above Office Address */
#footer .arkad-footer-brand__logo {
    margin-bottom: 14px;
}

#footer .arkad-footer-brand__logo img {
    display: block;
    max-width: 180px;
    height: auto;
}

#footer .arkad-footer-brand__desc {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
}

#footer .arkad-footer-brand__social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px;
}

#footer .arkad-footer-brand__social a {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    color: #fff;
    line-height: 1;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

#footer .arkad-footer-brand__social a i {
    width: auto !important;
    height: auto !important;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: inherit !important;
    font-size: 15px;
    line-height: 1 !important;
    display: block;
    text-align: center;
}

#footer .arkad-footer-brand__social a:hover,
#footer .arkad-footer-brand__social a:focus-visible {
    border-color: #f59e0b;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
}

#footer .arkad-footer-brand__social a:hover i,
#footer .arkad-footer-brand__social a:focus-visible i {
    background: transparent !important;
    color: inherit !important;
}

/* ── Brand green: navbar + footer (#064025) ── */
:root {
    --arkad-brand-green: #001f10;
}

.main-header,
#header.main-header,
#header.header-sticky,
#header.header-fixed,
.main-header.header-fixed {
    background-color: var(--arkad-brand-green) !important;
    background: var(--arkad-brand-green) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.main-header .main-menu .navigation > li > a,
.main-header .sticky-header .main-menu .navigation > li > a {
    color: rgba(255, 255, 255, 0.92) !important;
    text-transform: uppercase;
}

.main-header .main-menu .navigation > li.current > a,
.main-header .main-menu .navigation > li > a:hover {
    color: #FFA920 !important;
}

.main-header .header-account .header-user-chip,
.main-header .header-account .user-name,
.main-header .header-account .user-role,
.main-header .flat-bt-top .sc-button:not(.btn-icon) {
    color: rgba(255, 255, 255, 0.92);
}

.main-header .fh-account-btn .fh-name,
.main-header .fh-account-btn .fh-caret,
.main-header .fh-login-box .fh-account-btn .fh-name {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Guest Register / Login - primary yellow (structure: .header-account > .register > ul) */
.main-header .header-account .register a,
.main-header .header-account .register li > span,
.main-header .fh-login-box .register a,
.main-header .fh-login-box .register li > span {
    color: #FFA920 !important;
}

.main-header .header-account .register a:hover,
.main-header .fh-login-box .register a:hover {
    color: #ffb84a !important;
}

.main-header .fh-account-btn:hover .fh-name,
.main-header .fh-account.is-open .fh-account-btn .fh-name,
.main-header .fh-account-btn:hover .fh-caret,
.main-header .fh-account.is-open .fh-account-btn .fh-caret {
    color: #FFA920 !important;
}

.main-header .header-account .register svg path[fill="#1C1C1E"],
.main-header .header-account .register svg path[fill="#1c1c1e"],
.main-header .header-account .register svg path[fill="#FFFFFF"],
.main-header .header-account .register svg path[fill="#ffffff"] {
    fill: #ffffff;
}

/* Keep white dropdown readable - do not inherit header light text */
.main-header .fh-menu,
.main-header .fh-menu a,
.main-header .fh-menu span,
.main-header .fh-menu button {
    color: inherit;
}

.main-header .fh-menu-name {
    color: #1C1C1E !important;
}

.main-header .fh-menu-mail {
    color: #8E8E93 !important;
}

.main-header .fh-fact-label {
    color: #A1A1A6 !important;
}

.main-header .fh-fact-value,
.main-header .fh-menu-item:not(.logout) {
    color: #1C1C1E !important;
}

.main-header .fh-pill {
    color: var(--fh-rank, #FFA920) !important;
    background: rgba(255, 169, 32, 0.12) !important;
}

.main-header .fh-live.is-online {
    color: #34C759 !important;
}

.main-header .fh-live.is-offline {
    color: #8E8E93 !important;
}

.main-header .fh-menu-item.logout,
.main-header .fh-menu-item.logout span {
    color: #FF3B30 !important;
}

.main-header .fh-avatar {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 0 0 3px rgba(255, 169, 32, 0.85);
}

.main-header .mobile-nav-toggler span,
.main-header .mobile-nav-toggler span::before,
.main-header .mobile-nav-toggler span::after {
    background-color: #fff;
}

.header-top {
    background-color: #042f1c !important;
}

#footer,
.footer_background,
.widget-bottom-footer,
.bottom {
    background: var(--arkad-brand-green) !important;
    background-color: var(--arkad-brand-green) !important;
}

/* Tighten space above “You need a house / Sell your house” cards */
#footer {
    padding-top: 20px !important;
    padding-bottom: 43px;
}

/* Match navbar width (container6 = 1750px vs default container 1140px) */
#footer .container,
#footer .container6,
.widget-bottom-footer .container,
.widget-bottom-footer .container6 {
    max-width: 1450px;
    width: 100%;
}

#footer .group-icon {
    margin-bottom: 56px;
}

.widget-bottom-footer {
    border-top-color: rgba(255, 255, 255, 0.12) !important;
}

.widget-bottom-footer .title-bottom {
    color: rgba(241, 250, 238, 0.65);
}

/* --------------------------------------------------------------------------
   Frontend typography: Helvetica (regular + bold where needed)
   Loaded last via theme-styles - overrides Poppins / Mulish from theme CSS.
   -------------------------------------------------------------------------- */
:root {
    --arkad-font: Helvetica, "Helvetica Neue", Arial, sans-serif;
}

body,
body *:not(i):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fad):not([class^="icon-"]):not([class*=" icon-"]) {
    font-family: var(--arkad-font) !important;
}

/* Restore icon fonts after the global text override */
.fa,
.fas,
.far,
.fal,
.fad,
.fa:before,
.fas:before,
.far:before,
.fal:before,
.fad:before {
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", FontAwesome !important;
}

/* Brand icons (Facebook, Twitter, etc.) - must use Brands face */
.fab,
.fab:before,
i.fab,
#footer .icon-social .fab,
#footer .icon-social .fab:before,
#footer .arkad-footer-brand__social .fab,
#footer .arkad-footer-brand__social .fab:before {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

[class^="icon-"],
[class*=" icon-"],
[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: "icomoon" !important;
}

/* Regular body weight */
body {
    font-weight: 400;
}

/* Bold / heavy UI - headings, nav, CTAs, emphasis */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading,
.heading-title,
.box-title,
.widget-title,
.flat-title .title,
.navigation > ul > li > a,
.main-menu > ul > li > a,
.header-account ul li,
.header-account ul li a,
.btn,
.tf-btn,
.button,
.fw-7, .fw-8, .fw-9,
.font-weight-bold,
.fw-bold,
strong,
b,
.price,
.price-sale,
.nav-tabs .nav-link.active,
.flat-tabs .tab-title li.active h5,
.flat-tabs .tab-title li:hover h5,
.counter .number,
.counter-number {
    font-family: var(--arkad-font) !important;
    font-weight: 700 !important;
}

.fw-5,
.fw-6 {
    font-family: var(--arkad-font) !important;
    font-weight: 600 !important;
}

/* Blog detail featured media swiper (image / video / YouTube) */
.flat-blog-detail .arkad-blog-media {
    margin: 0 0 18px;
}
.flat-blog-detail .arkad-blog-media-swiper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
}
.flat-blog-detail .arkad-blog-media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}
.flat-blog-detail .arkad-blog-media-frame > img,
.flat-blog-detail .arkad-blog-media-frame > video.pd-video-poster {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
}
.flat-blog-detail .arkad-blog-media .post-video a.lightbox-image {
    z-index: 2;
}
.flat-blog-detail .arkad-blog-media-next,
.flat-blog-detail .arkad-blog-media-prev {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    color: #111;
}
.flat-blog-detail .arkad-blog-media-next::after,
.flat-blog-detail .arkad-blog-media-prev::after {
    font-size: 16px;
    font-weight: 700;
}
.flat-blog-detail .arkad-blog-media-pagi {
    bottom: 12px;
}
.flat-blog-detail .arkad-blog-media-pagi .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.55;
}
.flat-blog-detail .arkad-blog-media-pagi .swiper-pagination-bullet-active {
    opacity: 1;
    background: #ffa920;
}
.flat-blog-detail .arkad-blog-media-meta {
    margin-top: 10px;
}

/* Blog list spotlight hero — same media swiper (images / video / YouTube) */
.flat-blog-list .box-heading .arkad-blog-media--compact {
    margin: 0;
}
.flat-blog-list .box-heading .arkad-blog-media-swiper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #0f172a;
}
.flat-blog-list .box-heading .arkad-blog-media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 731 / 411;
    background: #0f172a;
}
.flat-blog-list .box-heading .arkad-blog-media-frame > a:not(.lightbox-image) {
    display: block;
    width: 100%;
    height: 100%;
}
.flat-blog-list .box-heading .arkad-blog-media-frame > img,
.flat-blog-list .box-heading .arkad-blog-media-frame > a:not(.lightbox-image) > img,
.flat-blog-list .box-heading .arkad-blog-media-frame > video.pd-video-poster {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
}
.flat-blog-list .box-heading .arkad-blog-media .post-video a.lightbox-image {
    z-index: 2;
    width: 60px;
    height: 60px;
    line-height: 60px;
    flex: none;
}
.flat-blog-list .box-heading .arkad-blog-media .post-video .ripple::before,
.flat-blog-list .box-heading .arkad-blog-media .post-video .ripple::after {
    width: 60px;
    height: 60px;
}
.flat-blog-list .box-heading .arkad-blog-media-next,
.flat-blog-list .box-heading .arkad-blog-media-prev {
    width: 36px;
    height: 36px;
    margin-top: -18px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    color: #111;
}
.flat-blog-list .box-heading .arkad-blog-media-next::after,
.flat-blog-list .box-heading .arkad-blog-media-prev::after {
    font-size: 14px;
    font-weight: 700;
}
.flat-blog-list .box-heading .arkad-blog-media-pagi {
    bottom: 14px;
}
.flat-blog-list .box-heading .arkad-blog-media-pagi .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.55;
}
.flat-blog-list .box-heading .arkad-blog-media-pagi .swiper-pagination-bullet-active {
    opacity: 1;
    background: #ffa920;
}
.flat-blog-list .box-heading .image > .sub-box {
    z-index: 3;
}

/* Blog comments reuse property-detail review theme (app.css blog rules zero out padding) */
.flat-blog-detail.flat-property-detail .wrap-review.wrap-style,
.flat-blog-detail.flat-property-detail .wrap-contact.wrap-style {
    background: #fff;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 18px 0px rgba(0, 0, 0, 0.0784313725);
}
.flat-blog-detail.flat-property-detail .wrap-review.wrap-style {
    padding: 20px 20px 18px;
}
.flat-blog-detail.flat-property-detail .wrap-contact.wrap-form.wrap-style {
    padding: 20px;
}
.flat-blog-detail.flat-property-detail .wrap-review .box-title {
    margin-bottom: 12px;
}
.flat-blog-detail.flat-property-detail .wrap-review .comment-list .content {
    padding: 1px 6px 0 21px;
}
.flat-blog-detail.flat-property-detail .wrap-form .titles {
    margin-bottom: 12px;
}
.flat-blog-detail.flat-property-detail .wrap-form .comments .comment-form fieldset {
    margin-bottom: 30px;
}
.flat-blog-detail.flat-property-detail .wrap-form .comments .comment-form fieldset input,
.flat-blog-detail.flat-property-detail .wrap-form .comments .comment-form fieldset textarea {
    width: 100%;
}
.flat-blog-detail.flat-property-detail .wrap-form .comments .comment-form .inner-2 {
    margin-bottom: 30px;
}
.flat-blog-detail.flat-property-detail .wrap-form .comments .comment-form button.sc-button {
    width: 100%;
}

/* Homepage From our blog — same section background as Properties for Sale (.flat-rent) */
.flat-blog.home {
    background-color: transparent;
    background-image: url(../../assets/images/section/bg-rent.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* Homepage From our blog carousel slides keep theme card look */
.flat-blog.home .carousel-6 .swiper-slide {
    height: auto;
}
.flat-blog.home .carousel-6 .box.hover-img {
    margin-bottom: 0;
}
.flat-blog .box.hover-img .images.img-style,
.flat-blog-list .wrap-blog .box .images.img-style,
.flat-blog-grid .box .images.img-style {
    aspect-ratio: 731 / 411;
    background: #0f172a;
}
.flat-blog .box.hover-img .images.img-style > img,
.flat-blog-list .wrap-blog .box .images.img-style > img,
.flat-blog-grid .box .images.img-style > img,
.flat-blog .box.hover-img .images.img-style > a > img,
.flat-blog-list .wrap-blog .box .images.img-style > a > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Blog list page: horizontal rows like theme screenshot */
.flat-blog-list .wrap-blog .box.hover-img {
    align-items: flex-start;
}
.flat-blog-list .wrap-blog .box .images.img-style {
    flex: 0 0 270px;
    width: 270px;
    max-width: 42%;
}
.flat-blog-list .wrap-blog .box .images.img-style > a {
    display: block;
    width: 100%;
    height: 100%;
}
.flat-blog-list .wrap-blog .content {
    min-width: 0;
    flex: 1 1 auto;
}
.flat-blog-list .wrap-blog .content p {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    display: block;
    -webkit-line-clamp: unset;
}

/* Featured list hero (box-heading) */
.flat-blog-list .box-heading .image {
    border-radius: 10px;
    overflow: hidden;
}
.flat-blog-list .box-heading .image > a {
    display: block;
}
.flat-blog-list .box-heading .image img {
    width: 100%;
    display: block;
    aspect-ratio: 731 / 411;
    object-fit: cover;
    object-position: center;
}
.flat-blog-list .box-heading .contents h4 {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    display: block;
    -webkit-line-clamp: unset;
}

/* Month + category pill: grow for long names (theme fixed 152x32 was clipping) */
.flat-blog .sub-box {
    width: auto;
    max-width: calc(100% - 24px);
    height: auto;
    min-height: 32px;
    padding: 6px 12px;
    gap: 10px;
    white-space: nowrap;
    box-sizing: border-box;
}
.flat-blog-list .wrap-blog .sub-box {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}
.flat-blog .sub-box .title-1 {
    margin-right: 0;
    flex-shrink: 0;
}
.flat-blog .sub-box .title-2 {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #FFA920;
}
.flat-blog .sub-box .title-2::before {
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .flat-blog-list .wrap-blog .box .images.img-style {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }
}
