/* Hero search and advanced filters (includes/filter-section.php) */
.hero-section {
    position: relative;
    display: flex;
    min-height: 620px;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 64px 0 140px 0;
    background: var(--ink);
}
.hero-section__pattern {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: var(--ink);
    background-image: radial-gradient(var(--brand-600) .75px, transparent .75px), radial-gradient(var(--brand-600) .75px, var(--ink) .75px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: .95;
}
.hero-section__glow {
    position: absolute;
    z-index: 0;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
    overflow: hidden;
}
.hero-section__glow--top {
    top: -160px;
    left: -160px;
    background: rgb(225 29 72 / .3);
}
.hero-section__glow--bottom {
    right: -160px;
    bottom: -160px;
    background: rgb(244 63 94 / .2);
}
.hero-section__inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
}
.hero-copy {
    max-width: 768px;
    margin: 0 auto 32px;
    text-align: center;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 14px;
    border: 1px solid rgb(244 63 94 / .3);
    border-radius: 999px;
    background: rgb(136 19 55 / .6);
    color: var(--brand-300);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}
.hero-kicker__dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--brand-500);
    animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}
.hero-title {
    color: white;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1;
}
.hero-title__accent {
    background: linear-gradient(to right, var(--brand-400), var(--brand-400), var(--brand-600));
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-title__break {
    display: none;
}
.hero-description {
    max-width: 672px;
    margin: 16px auto 0;
    color: #d1d5db;
    font-size: 16px;
    line-height: 24px;
}
.search-panel {
    padding: 16px;
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow-2xl);
    backdrop-filter: blur(24px);
}
.search-panel__form {
    display: contents;
}
.intent-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
    scrollbar-width: none;
}
.intent-tabs::-webkit-scrollbar {
    display: none;
}
.intent-tab {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    transition: all .2s;
}
.intent-tab:hover {
    background: var(--gray-100);
    color: var(--brand-600);
}
.intent-tab.is-active {
    background: var(--brand-600);
    color: white;
    box-shadow: 0 4px 6px -1px rgb(225 29 72 / .2);
}
.search-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}
.search-field {
    padding: 12px;
    border: 1px solid rgb(229 231 235 / .8);
    border-radius: 12px;
    background: var(--gray-50);
    transition: all .2s;
}
.search-field:hover {
    background: rgb(243 244 246 / .8);
}
.search-field:focus-within {
    border-color: var(--brand-600);
    background: white;
    box-shadow: 0 0 0 2px var(--brand-600);
}
.search-field__label {
    display: block;
    margin-bottom: 4px;
    color: var(--gray-400);
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.search-field__body {
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-field__icon {
    color: var(--brand-600);
    font-size: 16px;
}
.search-field__icon--large {
    font-size: 18px;
}
.search-field__control {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--gray-800);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}
.search-field__control::placeholder {
    color: var(--gray-400);
    opacity: 1;
}
.search-field__control:focus {
    outline: 0;
    box-shadow: none;
}
.search-field select {
    padding-right: 16px;
    cursor: pointer;
}
.search-submit-wrap {
    min-width: 0;
}
.button--search {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(to right, var(--brand-600), var(--brand-700));
    color: white;
    box-shadow: 0 10px 15px -3px rgb(225 29 72 / .3);
    font-weight: 700;
    transition: all .2s;
}
.button--search:hover {
    background: linear-gradient(to right, var(--brand-700), var(--brand-800));
}
.button--search:active {
    transform: scale(.98);
}
.advanced-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}
.advanced-filters__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--brand-600);
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    transition: color .2s, background-color .2s;
}
.advanced-filters__toggle:hover {
    background: var(--brand-50);
    color: var(--brand-800);
}
.advanced-filters__chevron {
    font-size: 10px;
    transition: transform .2s;
}
.advanced-filters__chevron.is-rotated {
    transform: rotate(180deg);
}
.advanced-filters__panel {
    display: none;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 16px;
    padding: 20px;
    border: 1px solid rgb(229 231 235 / .7);
    border-radius: 16px;
    background: var(--gray-50);
}
.advanced-filters__panel.is-expanded {
    display: grid;
}
.advanced-filter__label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-700);
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
}
.advanced-filter__select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: white;
    color: var(--gray-700);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    cursor: pointer;
}
.advanced-filter__select:focus {
    outline: 2px solid var(--brand-600);
    outline-offset: 0;
}
.choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.choice-chip {
    padding: 6px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: white;
    color: var(--gray-700);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    transition: color .2s, border-color .2s;
}
.choice-chip:hover {
    border-color: var(--brand-600);
    color: var(--brand-600);
}
.choice-chip.is-selected {
    border-color: var(--brand-600);
    background: var(--brand-600);
    color: white;
    box-shadow: var(--shadow-sm);
}
.amenities-list {
    max-height: 96px;
    overflow-y: auto;
    padding-right: 4px;
}
.amenity-option {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    cursor: pointer;
}
.amenity-option + .amenity-option {
    margin-top: 6px;
}
.amenity-option__checkbox {
    margin: 0;
    accent-color: var(--brand-600);
}
.amenity-option__checkbox:focus {
    outline: 2px solid var(--brand-600);
    outline-offset: 1px;
}
@keyframes pulse {
    50% {
        opacity: .5;
    }
}
/* Property listings and reusable property cards (includes/property-cards.php) */
.property-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.property-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow-md);
    transition: all .3s;
}
.property-card:hover {
    box-shadow: var(--shadow-2xl);
}
.property-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.property-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s;
}
.property-card:hover .property-card__image {
    transform: scale(1.05);
}
.property-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--brand-600);
    color: white;
    box-shadow: var(--shadow-md);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.property-card__badge--rent {
    background: #059669;
}
.property-card__badge--lease {
    background: #d97706;
}
.wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(12px);
    color: var(--gray-600);
    box-shadow: var(--shadow-md);
    transition: all .2s;
}
.wishlist-btn:hover {
    background: white;
    color: var(--brand-600);
}
.wishlist-btn.is-selected {
    transform: scale(1.1);
    color: var(--brand-600);
}
.property-card__type {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgb(17 24 39/.8);
    backdrop-filter: blur(12px);
    color: white;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}
.property-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}
.property-card__price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
}
.property-card__price {
    color: var(--brand-600);
    font-size: 24px;
    line-height: 32px;
    font-weight: 900;
}
.property-card__meta {
    color: var(--gray-400);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
}
.property-card__title {
    display: -webkit-box;
    line-height: 28px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    color: var(--gray-900);
    font-size: 18px;
    font-weight: 700;
    transition: color .2s;
}
.property-card:hover .property-card__title {
    color: var(--brand-600);
}
/* Shared property card typography, metadata, and footer */
.property-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0;
    color: var(--gray-500);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
}
.property-card__location i, .property-card__date i {
    color: var(--brand-600);
}
.property-card__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0;
    padding: 10px 8px;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    background: var(--gray-50);
    text-align: center;
}
.property-card__spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    min-width: 0;
    padding: 2px 4px;
}
.property-card__spec-num {
    color: var(--gray-900);
    font-size: 14.5px;
    line-height: 1.15;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.property-card__spec-lbl {
    color: var(--gray-500);
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.property-card__feature-icon {
    display: none;
}
.property-card__feature-label {
    display: none;
}
.property-card__feature-road {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.property-card__feature-road-num {
    color: var(--gray-900);
    font-size: 14.5px;
    line-height: 1.15;
    font-weight: 800;
}
.property-card__feature-road-lbl {
    color: var(--gray-500);
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-top: 3px;
}
.property-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}
.property-card__date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
}
.button--details {
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 12px;
    line-height: 16px;
}
.button--details:hover {
    background: var(--brand-600);
    color: white;
}

/* In-Feed Sponsored Card Styling */
.property-card--sponsored {
    border: 1px solid rgba(225, 29, 72, 0.22);
    box-shadow: 0 4px 20px -2px rgba(225, 29, 72, 0.08);
}
.property-card--sponsored:hover {
    border-color: var(--brand-500);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(225, 29, 72, 0.16);
}
.property-card__badge--sponsored {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #fff !important;
    font-weight: 800;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.property-card__sponsored-desc {
    margin: 12px 0 14px 0;
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.sponsored-promoted-pill {
    display: inline-block;
    padding: 2px 6px;
    background: var(--gray-200);
    color: var(--gray-700);
    font-size: 10px;
    font-weight: 800;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.button--sponsored-cta {
    background: var(--brand-600) !important;
    color: #fff !important;
}
.button--sponsored-cta:hover {
    background: var(--brand-700) !important;
}

/* Variation 2: Full Image Poster In-Feed Card */
.property-card--sponsored-poster {
    padding: 0;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}
.sponsored-poster-link {
    display: block;
    width: 100%;
    height: 100%;
    flex: 1;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.sponsored-poster-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
}
.sponsored-poster-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.property-card--sponsored-poster:hover .sponsored-poster-img {
    transform: scale(1.05);
}
.sponsored-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.4) 40%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}
.property-card--sponsored-poster .property-card__badge--sponsored {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}
.sponsored-poster-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sponsored-poster-brand {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fecdd3;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sponsored-poster-price {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}
.sponsored-poster-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.sponsored-poster-location {
    font-size: 13px;
    color: #e2e8f0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sponsored-poster-btn {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: #e11d48;
    color: #ffffff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
}
.property-card--sponsored-poster:hover .sponsored-poster-btn {
    background: #be123c;
    transform: translateY(-2px);
}

/* Variation 3: Text & Editorial Native Banner In-Feed Card */
.property-card--sponsored-text {
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
    border: 1px solid rgba(225, 29, 72, 0.3);
}
.sponsored-text-inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.sponsored-text-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

/* ==========================================================================
   VARIATION 4: HOME CONSTRUCTION / IMPROVEMENT PRODUCT (TILES, PAINT, SOLAR)
   ========================================================================== */
.property-card--product {
    border: 1px solid #fed7aa;
    background: #fff;
}
.property-card--product:hover {
    border-color: #f97316;
    box-shadow: 0 12px 24px -4px rgba(249, 115, 22, 0.2);
}
.property-card__badge--product {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    color: #fff !important;
    font-weight: 800;
}
.ad-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}
.ad-price-current {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}
.ad-price-original {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}
.ad-discount-tag {
    font-size: 11px;
    font-weight: 700;
    color: #ea580c;
    background: #ffedd5;
    padding: 2px 6px;
    border-radius: 4px;
}
.ad-perks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    font-size: 12px;
    color: #475569;
    font-weight: 600;
}
.ad-perks-list span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ad-perks-list i {
    color: #ea580c;
}

/* ==========================================================================
   VARIATION 5: BRAND / CORPORATE SPOTLIGHT (TATA, ASIAN PAINTS, HAVELLS)
   ========================================================================== */
.property-card--brand-spotlight {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.brand-spotlight-inner {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.brand-spotlight-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.brand-avatar-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fb7185;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.brand-top-meta {
    display: flex;
    flex-direction: column;
}
.brand-tag-pill {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e11d48;
}
.brand-company-name {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}
.brand-banner-frame {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}
.brand-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.brand-banner-frame:hover .brand-banner-img {
    transform: scale(1.04);
}
.brand-content-box {
    margin: 14px 0;
}
.brand-campaign-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
}
.brand-campaign-title a {
    color: #0f172a;
    text-decoration: none;
}
.brand-campaign-title a:hover {
    color: #e11d48;
}
.brand-campaign-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.brand-footer-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}
.brand-trust-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.button--brand-cta {
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease;
}
.button--brand-cta:hover {
    background: #e11d48 !important;
}

/* ==========================================================================
   VARIATION 6: E-COMMERCE / HOUSEHOLD PRODUCT (AMAZON / FLIPKART / D2C)
   ========================================================================== */
.property-card--ecommerce {
    border: 1px solid #bfdbfe;
    background: #ffffff;
}
.property-card--ecommerce:hover {
    border-color: #3b82f6;
    box-shadow: 0 12px 24px -4px rgba(59, 130, 246, 0.2);
}
.property-card__badge--deal {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #fff !important;
    font-weight: 800;
}
.ecom-store-badge {
    color: #1e293b;
    font-weight: 700;
}
.ecom-product-img {
    background: #f8fafc;
    object-fit: contain !important;
    padding: 12px;
}
.ecom-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.ecom-stars {
    color: #f59e0b;
    font-size: 11px;
}
.ecom-rating-val {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
}
.ecom-rating-count {
    font-size: 11px;
    color: #64748b;
}
.ecom-title {
    font-size: 15px !important;
    font-weight: 700;
}
.ad-discount-badge {
    background: #fee2e2;
    color: #dc2626;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}
.ecom-desc {
    margin: 8px 0 !important;
}
.ecom-pill {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}
.button--ecom-cta {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}
.button--ecom-cta:hover {
    background: #d97706 !important;
    color: #ffffff !important;
}
.property-grid__more {
    margin-top: 48px;
    text-align: center;
}
.property-grid__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px 20px;
    border: 1px dashed var(--gray-300);
    border-radius: 14px;
    background: #fff;
    color: var(--gray-600);
    text-align: center;
}
.button--explore {
    padding: 14px 32px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: white;
    color: var(--gray-800);
    box-shadow: var(--shadow-sm);
}
.button--explore:hover {
    border-color: var(--brand-600);
    background: var(--brand-50);
    color: var(--brand-600);
}
.filter-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar {
    display: none;
}
.filter-chip {
    flex: none;
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: white;
    color: var(--gray-600);
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    white-space: nowrap;
    transition: all .2s;
}
.filter-chip:hover {
    background: var(--gray-100);
}
.filter-chip.is-active {
    border-color: var(--brand-600);
    background: var(--brand-600);
    color: white;
    box-shadow: var(--shadow-sm);
}
/* Trust and service feature cards (includes/why-choose-us.php) */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.feature-card {
    padding: 24px;
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    background: var(--gray-50);
    transition: all .2s;
}
.feature-card:hover {
    background: rgba(255, 241, 242, .5);
    transform: translateY(-4px);
}
.feature-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: var(--brand-100);
    color: var(--brand-600);
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}
.feature-card__title {
    margin: 0 0 8px;
    color: var(--gray-900);
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}
.feature-card__description {
    margin: 0;
    color: var(--gray-500);
    font-size: 12px;
    line-height: 16px;
}
/* Popular city cards (includes/city-wise-properties.php) */
.city-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.city-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}
.city-card--theme-1 { background: linear-gradient(145deg, #0f766e, #164e63 55%, #172554); }
.city-card--theme-2 { background: linear-gradient(145deg, #7c3aed, #4338ca 55%, #1e3a8a); }
.city-card--theme-3 { background: linear-gradient(145deg, #ea580c, #be123c 55%, #581c87); }
.city-card--theme-4 { background: linear-gradient(145deg, #0284c7, #0f766e 55%, #14532d); }
.city-card__backdrop {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: rgba(255, 255, 255, .22);
}
.city-card__backdrop::before,
.city-card__backdrop::after {
    position: absolute;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    content: "";
}
.city-card__backdrop::before { transform: translate(-35%, -28%); }
.city-card__backdrop::after { width: 310px; height: 310px; transform: translate(28%, 32%); }
.city-card__backdrop span {
    font-size: clamp(120px, 16vw, 220px);
    line-height: 1;
    font-weight: 800;
}
.city-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s;
}
.city-card:hover .city-card__image {
    transform: scale(1.1);
}
.city-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 7, 18, .9), rgba(3, 7, 18, .2), transparent);
}
.city-card__caption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    color: white;
}
.city-card__count {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(225, 29, 72, .9);
    font-size: 10px;
    line-height: 15px;
    font-weight: 700;
    text-transform: uppercase;
}
.city-card__title {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}
@media (min-width: 640px) {
    .section { padding-block: 64px; }
    .section-title--large {
        font-size: 36px;
        line-height: 40px;
    }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .section { padding-block: 96px; }
    .section-heading--split {
        flex-direction: row;
        align-items: flex-end;
        gap: 24px;
    }
    .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .city-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Responsive hero and search-panel sizing */
@media (min-width: 640px) {
    .hero-section__inner {
        padding-inline: 24px;
    }
    .hero-title {
        font-size: 48px;
    }
    .hero-description {
        font-size: 18px;
        line-height: 28px;
    }
    .hero-title__break {
        display: inline;
    }
    .search-panel {
        padding: 24px;
        border-radius: 24px;
    }
    .advanced-filters__panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 768px) {
    .hero-section {
        padding-block: 96px;
    }
    .hero-section__inner {
        padding-inline: 24px;
    }
    .hero-copy {
        margin-bottom: 48px;
    }
    .hero-title {
        font-size: 60px;
    }
    .search-panel {
        padding: 32px;
        border-radius: 24px;
    }
    .search-controls {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .search-field--location, .search-field--type {
        grid-column: span 5;
    }
    .search-submit-wrap {
        grid-column: span 2;
    }
    .advanced-filters__panel {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .hero-section__inner {
        padding-inline: 32px;
    }
}




/**************************************************************
--Filter CSS Starts--
***************************************************************/
  /* ==========================================================================
       1. CSS CUSTOM VARIABLES (CONFIGURABLE COLOR THEME)
       ========================================================================== */
    :root {
      /* Backgrounds */
      --bg-dark: #0b0f19;
      --bg-dot-color: rgba(239, 68, 68, 0.25);
      --card-bg: #ffffff;
      --dropdown-bg: #ffffff;

      /* Primary Brand / Action Colors */
      --primary-color: var(--brand-600);
      --primary-hover: #1d4ed8;
      --primary-text: #ffffff;

      /* Typography & Borders */
      --text-color: #1e293b;
      --text-muted: #64748b;
      --border-color: #e2e8f0;
      --separator-color: #cbd5e1;

      /* Focus / Highlight States */
      --focus-ring: rgba(37, 99, 235, 0.2);
      --hover-bg: #f8fafc;

      /* Metrics */
      --radius: 50px; /* Pill radius for desktop bar */
      --inner-radius: 12px;
      --card-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.3), 0 10px 15px -5px rgba(0, 0, 0, 0.2);
      --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    }

    /* Reset & Base Styles */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

  

    /* Container for demo layout */
    .page-wrapper {
      width: 100%;
      max-width: 1100px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 32px;
    }

    /* ==========================================================================
       2. PROPERTY SEARCH CARD (MAIN WIDGET)
       ========================================================================== */
    .search-card {
      width: 100%;
      background-color: var(--card-bg);
      border-radius: var(--radius);
      box-shadow: var(--card-shadow);
      padding: 8px;
      display: flex;
      align-items: center;
      transition: all 0.3s ease;
      position: relative;
    }

    .search-form {
      width: 100%;
      display: flex;
      align-items: center;
    }

    /* Form Fields Grid / Flex Layout */
    .field-group {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 10px 20px;
      position: relative;
      min-width: 0; /* Prevents overflow in flexbox */
    }

    .field-label {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    /* Vertical Separators || */
    .field-separator {
      width: 1px;
      height: 38px;
      background-color: var(--separator-color);
      flex-shrink: 0;
      opacity: 0.8;
    }

    /* Inputs and Select Elements Styling */
    .control-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      width: 100%;
    }

    /* Custom Dropdown Trigger Display */
    .custom-select-trigger {
      width: 100%;
      background: transparent;
      border: none;
      outline: none;
      font-family: inherit;
      font-size: 1rem;
      font-weight: 600;
      color: var(--text-color);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-right: 4px;
      user-select: none;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .custom-select-trigger .chevron {
      width: 16px;
      height: 16px;
      stroke: var(--text-muted);
      transition: transform 0.2s ease;
      flex-shrink: 0;
      margin-left: 8px;
    }

    .custom-select.open .chevron {
      transform: rotate(180deg);
      stroke: var(--primary-color);
    }

    input.search-control {
      width: 100%;
      border: none;
      outline: none;
      background: transparent;
      font-family: inherit;
      font-size: 1rem;
      font-weight: 600;
      color: var(--text-color);
      cursor: text;
    }

    input.search-control::placeholder {
      color: var(--text-muted);
      font-weight: 400;
    }

    /* Custom Dropdown Option List & Autocomplete List */
    .dropdown-menu,
    .autocomplete-list {
      position: absolute;
      top: calc(100% + 14px);
      left: 0;
      right: 0;
      min-width: 180px;
      background: var(--dropdown-bg);
      border: 1px solid var(--border-color);
      border-radius: var(--inner-radius);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
      max-height: 280px;
      overflow-y: auto;
      z-index: 1000;
      display: none;
      padding: 6px;
      opacity: 0;
      transform: translateY(-8px);
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .dropdown-menu.active,
    .autocomplete-list.active {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

    .dropdown-option,
    .autocomplete-item {
      padding: 10px 14px;
      font-size: 0.92rem;
      font-weight: 500;
      color: var(--text-color);
      border-radius: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: background 0.15s ease, color 0.15s ease;
    }

    /* Wrap autocomplete text in an inline container so flex layout doesn't break character flow */
    .autocomplete-text {
      display: inline;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .dropdown-option:hover,
    .dropdown-option.selected,
    .autocomplete-item:hover,
    .autocomplete-item.selected {
      background-color: var(--hover-bg);
      color: var(--primary-color);
      font-weight: 600;
    }

    .dropdown-option .check-icon {
      width: 14px;
      height: 14px;
      stroke: var(--primary-color);
      opacity: 0;
      transition: opacity 0.15s ease;
      margin-left: auto;
    }

    .dropdown-option.selected .check-icon {
      opacity: 1;
    }

    .autocomplete-item strong {
      color: var(--primary-color);
      font-weight: 700;
      margin: 0;
      padding: 0;
      display: inline;
    }

    .no-results {
      padding: 12px;
      font-size: 0.88rem;
      color: var(--text-muted);
      text-align: center;
    }

    /* Search Action Button */
    .btn-search {
      background-color: var(--primary-color);
      color: var(--primary-text);
      border: none;
      border-radius: calc(var(--radius) - 4px);
      padding: 14px 28px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s ease;
      flex-shrink: 0;
      margin-left: 6px;
    }

    .btn-search:hover {
      background-color: var(--primary-hover);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .btn-search:active {
      transform: translateY(0);
    }

    .btn-search svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
    }

    /* ==========================================================================
       3. RESPONSIVE LAYOUT BREAKPOINTS
       ========================================================================== */
    @media (max-width: 868px) {
      .search-card {
        border-radius: 20px;
        padding: 16px;
      }

      .search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
      }

      .field-separator {
        display: none; /* Hide vertical lines on mobile/tablet */
      }

      .field-group {
        padding: 10px 14px;
        background-color: var(--hover-bg);
        border: 1px solid var(--border-color);
        border-radius: var(--inner-radius);
      }

      .btn-search {
        margin-left: 0;
        margin-top: 6px;
        border-radius: var(--inner-radius);
        padding: 16px;
        width: 100%;
      }
    }

    /* ==========================================================================
       4. THEME CUSTOMIZER TOOLBAR & TOAST MODAL
       ========================================================================== */
    .customizer {
      background: rgba(15, 23, 42, 0.75);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 16px 24px;
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
      color: #fff;
    }

    .customizer-title {
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #94a3b8;
    }

    .color-presets {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .preset-btn {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 2px solid transparent;
      cursor: pointer;
      transition: transform 0.2s ease, border-color 0.2s ease;
    }

    .preset-btn:hover {
      transform: scale(1.15);
    }

    .preset-btn.active {
      border-color: #ffffff;
    }

    /* Toast Notification */
    .toast {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(100px);
      background-color: #1e293b;
      color: #fff;
      padding: 16px 24px;
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
      display: flex;
      align-items: center;
      gap: 12px;
      opacity: 0;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      z-index: 1000;
      border: 1px solid rgba(255, 255, 255, 0.1);
      max-width: 90vw;
    }

    .toast.show {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
    }

    .toast-icon {
      background: var(--primary-color);
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .toast-content p {
      font-size: 0.85rem;
      color: #94a3b8;
    }

    .toast-content h4 {
      font-size: 0.95rem;
      font-weight: 600;
      color: #f8fafc;
    }




/**************************************************************
--Filter CSS Ends--
***************************************************************/

/* Sort By Control matching search section dropdown style */
.sort-control {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.sort-control__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sort-control__icon {
    color: #e11d48;
    font-size: 14px;
}

.sort-select-box {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 14px;
    min-width: 200px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    cursor: pointer;
}

.sort-select-box:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.sort-select-box.open {
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.sort-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    width: 100%;
}

.sort-select-trigger span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sort-select-trigger .chevron {
    width: 16px;
    height: 16px;
    stroke: #94a3b8;
    margin-left: 10px;
    flex-shrink: 0;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.sort-select-box.open .chevron {
    transform: rotate(180deg);
    stroke: #e11d48;
}

.sort-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 210px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    z-index: 100;
    padding: 6px;
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sort-dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.sort-dropdown-menu .dropdown-option {
    padding: 9px 12px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #1e293b;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.15s ease, color 0.15s ease;
}

.sort-dropdown-menu .dropdown-option:hover,
.sort-dropdown-menu .dropdown-option.selected {
    background-color: #fff1f2;
    color: #e11d48;
    font-weight: 600;
}

.sort-dropdown-menu .dropdown-option .check-icon {
    width: 14px;
    height: 14px;
    stroke: #e11d48;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.sort-dropdown-menu .dropdown-option.selected .check-icon {
    opacity: 1;
}

@media (max-width: 640px) {
    .sort-control {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        margin-top: 14px;
    }
    .sort-select-box {
        width: 100%;
    }
    .sort-dropdown-menu {
        left: 0;
        right: 0;
        width: 100%;
    }
}

/* Screen size adaptive rules: hide or display sponsored ads matching target device */
@media (max-width: 767px) {
    [data-ad-device="desktop"],
    [data-ad-device="tablet"] {
        display: none !important;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    [data-ad-device="mobile"],
    [data-ad-device="desktop"] {
        display: none !important;
    }
}
@media (min-width: 1024px) {
    [data-ad-device="mobile"],
    [data-ad-device="tablet"] {
        display: none !important;
    }
}



  