/* eYumba home sections: zameen-style property cards and round-logo Top Agencies */
.ey-pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 16px 0 6px; }

.ey-pcard { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
    transition: box-shadow .2s, transform .2s; }
.ey-pcard:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .10); transform: translateY(-2px); }

.ey-pcard-img { position: relative; aspect-ratio: 4 / 3; background: #f3f4f6; overflow: hidden; }
.ey-pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ey-pcard-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.ey-pcard-img-foot { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.ey-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .3px; line-height: 1; color: #fff; }
.ey-badge i { font-size: 13px; line-height: 1; }
.ey-badge-featured { background: #6b3a1a; color: #f6d48a; }
.ey-badge-hot { background: #d6332b; }
.ey-badge-verified { background: rgba(255, 255, 255, .95); color: #1f7a3a; }
.ey-pcard-tools { display: inline-flex; align-items: center; gap: 6px; }
.ey-pcard-photos { display: inline-flex; align-items: center; gap: 4px; background: rgba(0, 0, 0, .6); color: #fff; padding: 4px 8px; border-radius: 6px;
    font-size: 12px; font-weight: 700; line-height: 1; }
.ey-pcard-heart { width: 30px; height: 30px; border: 0; border-radius: 50% !important; background: rgba(0, 0, 0, .55); color: #fff; display: inline-flex;
    align-items: center; justify-content: center; font-size: 16px; cursor: pointer; padding: 0; }
.ey-pcard-heart.saved { background: #d6332b; }

.ey-pcard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.ey-pcard-added { font-size: 12px; color: #6b7280; }
.ey-pcard-price { font-size: 20px; font-weight: 800; color: #1f2933; line-height: 1.2; }
.ey-pcard-price small { font-size: 12px; font-weight: 700; color: #6b7280; margin-right: 2px; }
.ey-pcard-title { font-size: 14px; font-weight: 600; color: #1f2933; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ey-pcard-location { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #4b5563; }
.ey-pcard-location i { font-size: 14px; color: #6b3a1a; }
.ey-pcard-facts { display: flex; gap: 14px; font-size: 13px; color: #374151; }
.ey-pcard-facts span { display: inline-flex; align-items: center; gap: 4px; }
.ey-pcard-facts i { font-size: 16px; color: #6b7280; }

.ey-pcard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 8px; }
.ey-pcard-email, .ey-pcard-call { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 9px !important;
    font-size: 13px; font-weight: 800; letter-spacing: .3px; cursor: pointer; text-decoration: none !important; }
.ey-pcard-email i, .ey-pcard-call i { font-size: 16px; line-height: 1; }
.ey-pcard-email { background: #fff; color: #6b3a1a !important; border: 1.5px solid #6b3a1a; }
.ey-pcard-email:hover { background: #faf5f0; }
.ey-pcard .ey-pcard-call { background: #6b3a1a !important; color: #fff !important; border: 1.5px solid #6b3a1a !important; }
.ey-pcard .ey-pcard-call i { color: #fff !important; }
.ey-pcard .ey-pcard-call:hover { background: #4e2a12 !important; }

/* Top Agencies */
.ey-agency-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 16px 0 6px; }
.ey-agency { display: flex; align-items: center; gap: 14px; padding: 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; cursor: pointer; }
.ey-agency:hover { border-color: #6b3a1a; box-shadow: 0 8px 22px rgba(0, 0, 0, .08); }
.ey-agency-logo { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; overflow: hidden; background: #faf1e2; border: 2px solid #e0a526;
    display: flex; align-items: center; justify-content: center; }
.ey-agency-logo img { width: 100%; height: 100%; object-fit: cover; }
.ey-agency-logo span { font-size: 20px; font-weight: 800; color: #6b3a1a; }
.ey-agency-info { min-width: 0; }
.ey-agency-name { font-size: 15px; font-weight: 700; color: #1f2933; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 4px; }
.ey-agency-name i { color: #1f7a3a; font-size: 16px; flex-shrink: 0; }
.ey-agency-meta { font-size: 13px; color: #6b7280; margin-top: 2px; }

@media (max-width: 1100px) {
    .ey-pgrid, .ey-agency-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .ey-pgrid, .ey-agency-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 480px) {
    .ey-pgrid { grid-template-columns: 1fr; }
    .ey-agency-grid { grid-template-columns: 1fr; }
}

/* Breathing room inside each section, and a solid brown View More */
.ey-pgrid, .ey-agency-grid { padding-left: 20px; padding-right: 20px; padding-bottom: 14px; }
.ey-pshowcase .kb-showcase-cta, .ey-agencies .kb-showcase-cta {
    background: #6b3a1a !important; color: #fff !important; border: 1.5px solid #6b3a1a !important;
    border-radius: 999px !important; padding: 7px 18px !important; font-weight: 700;
}
.ey-pshowcase .kb-showcase-cta:hover, .ey-agencies .kb-showcase-cta:hover { background: #4e2a12 !important; border-color: #4e2a12 !important; }
@media (max-width: 480px) {
    .ey-pgrid, .ey-agency-grid { padding-left: 12px; padding-right: 12px; }
}

/* Popular Locations (vivanuncios style) */
.ey-locations .kb-showcase-head { align-items: center; }
.ey-loc-tabs { display: inline-flex; gap: 4px; background: #f5efe8; border-radius: 999px; padding: 4px; }
.ey-loc-tab { border: 0; background: none; padding: 7px 18px; border-radius: 999px !important; font-size: 14px; font-weight: 700; color: #6b7280; cursor: pointer; }
.ey-loc-tab.active { background: #6b3a1a; color: #fff; }
.ey-loc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 18px 20px 20px; }
.ey-locations .ey-loc-region { font-family: "Plus Jakarta Sans", Poppins, sans-serif !important; font-size: 16px !important; font-weight: 700 !important; color: #1f2933 !important; margin: 0 0 10px !important; line-height: 1.3; }
.ey-loc-list { list-style: none; margin: 0; padding: 0; }
.ey-loc-list li { margin: 0 0 7px; }
.ey-loc-list li.ey-loc-extra { display: none; }
.ey-loc-col.open .ey-loc-list li.ey-loc-extra { display: list-item; }
.ey-loc-link { font-size: 14px; color: #4b5563 !important; text-decoration: none !important; }
.ey-loc-link:hover { color: #6b3a1a !important; text-decoration: underline !important; }
.ey-loc-more { border: 0; background: none; padding: 2px 0; font-size: 14px; font-weight: 700; color: #6b3a1a; cursor: pointer; }
.ey-loc-more:hover { text-decoration: underline; }
@media (max-width: 1100px) { .ey-loc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .ey-loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 14px 12px 16px; }
    .ey-locations .kb-showcase-head { flex-wrap: wrap; gap: 10px; }
}

/* ---------- Cards: extra badges, rent period, list layout ---------- */
.ey-badge-sample { background: #1f2933; color: #fff; }
.ey-badge-project { background: #e0a526; color: #3d2410; }
.ey-pcard-period { font-size: 13px; font-weight: 600; color: #6b7280; margin-left: 2px; }
.ey-pcard-agent { font-size: 12px; color: #6b7280; }
.ey-pcard-list { flex-direction: row; }
.ey-pcard-list .ey-pcard-img { flex: 0 0 300px; aspect-ratio: auto; min-height: 210px; }
.ey-pcard-list .ey-pcard-body { padding: 14px 18px; }
.ey-pcard-list .ey-pcard-actions { max-width: 320px; }

/* ---------- Buy / Rent / Projects page ---------- */
.ey-search-page { background: #f5f5f4; }
.ey-filters { background: #fff; border-bottom: 1px solid #e5e7eb; }
.ey-filters-inner { max-width: 1280px; margin: 0 auto; padding: 16px 24px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 12px; align-items: end; }
.ey-filter { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 0; }
.ey-filter span { font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #6b7280; }
.ey-filter select, .ey-filter input { height: 44px; border: 1px solid #e5e7eb; border-radius: 9px !important; padding: 0 12px; font-size: 14px; color: #1f2933; background: #fff; outline: none; width: 100%; }
.ey-filter select { -webkit-appearance: none; appearance: none; padding-right: 32px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231f2933' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.ey-filter select:focus, .ey-filter input:focus { border-color: #6b3a1a; box-shadow: 0 0 0 3px rgba(107, 58, 26, .12); }
.ey-filter-wide { grid-column: span 2; }
.ey-filter-actions { display: flex; gap: 8px; grid-column: span 2; }
.ey-filter-reset, .ey-filter-search { height: 44px; border-radius: 9px !important; font-size: 14px; font-weight: 700; cursor: pointer; padding: 0 16px; }
.ey-filter-reset { background: #fff; color: #6b3a1a; border: 1.5px solid #e5e7eb; }
.ey-filter-search { flex: 1; background: #6b3a1a; color: #fff; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ey-filter-search:hover { background: #4e2a12; }

.ey-search-body { max-width: 1280px; margin: 0 auto; padding: 20px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.ey-search-title { font-family: "Plus Jakarta Sans", Poppins, sans-serif !important; font-size: 24px !important; font-weight: 800 !important; color: #1f2933 !important; margin: 0 0 10px !important; }
.ey-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ey-results-summary { font-size: 14px; color: #4b5563; }
.ey-results-tools { display: flex; align-items: center; gap: 10px; }
.ey-sort { display: inline-flex; align-items: center; gap: 6px; margin: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 9px; padding: 0 10px; height: 38px; }
.ey-sort select { -webkit-appearance: none; appearance: none; border: 0 !important; box-shadow: none !important; height: 36px !important; min-height: 0 !important; line-height: 36px !important; margin: 0 !important; padding: 0 26px 0 4px !important; font-size: 14px; font-weight: 600; color: #1f2933; outline: none; cursor: pointer;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231f2933' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 6px center !important; }
.ey-view-toggle { display: inline-flex; background: #fff; border: 1px solid #e5e7eb; border-radius: 9px; overflow: hidden; }
.ey-view-btn { width: 40px; height: 36px; border: 0; background: none; color: #6b7280; font-size: 19px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ey-view-btn.active { background: #6b3a1a; color: #fff; }
.ey-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ey-results.ey-results-list { grid-template-columns: 1fr; }
.ey-results-empty { grid-column: 1 / -1; background: #fff; border: 1px dashed #d6d3d1; border-radius: 12px; padding: 40px 20px; text-align: center; color: #6b7280; }
.ey-results-empty i { font-size: 44px; color: #c8a97e; }
.ey-results-empty h3 { font-size: 18px !important; color: #1f2933 !important; margin: 10px 0 6px !important; }

.ey-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 24px 0 6px; flex-wrap: wrap; }
.ey-page { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid #e5e7eb; border-radius: 9px !important; background: #fff; color: #1f2933; font-size: 15px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ey-page:hover { border-color: #6b3a1a; color: #6b3a1a; }
.ey-page.active { background: #6b3a1a; border-color: #6b3a1a; color: #fff; }
.ey-page-gap { padding: 0 4px; color: #9ca3af; }

.ey-search-side { position: sticky; top: 16px; }
.ey-ad-slot { background: #6b3a1a; color: #fff; border-radius: 14px; padding: 22px 20px; text-align: center; cursor: pointer; min-height: 420px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.ey-ad-label { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; opacity: .7; }
.ey-ad-slot > i { font-size: 46px; color: #e0a526; }
.ey-ad-title { font-family: "Plus Jakarta Sans", sans-serif; font-size: 22px; font-weight: 800; }
.ey-ad-slot p { font-size: 14px; opacity: .9; margin: 0; }
.ey-ad-cta { margin-top: 6px; background: #e0a526; color: #3d2410; font-weight: 800; padding: 9px 18px; border-radius: 999px; font-size: 14px; }

.ey-area-counts { width: auto !important; max-width: 1232px; margin: 4px 24px 20px !important; }
@media (min-width: 1281px) { .ey-area-counts { margin: 4px auto 20px !important; } }
.ey-area-list { list-style: none; margin: 0; padding: 16px 20px 20px; columns: 4; column-gap: 24px; }
.ey-area-list li { margin: 0 0 8px; break-inside: avoid; }
.ey-area-list a { font-size: 14px; color: #4b5563 !important; text-decoration: none !important; }
.ey-area-list a:hover { color: #6b3a1a !important; text-decoration: underline !important; }
.ey-area-list a span { color: #9ca3af; }

/* ---------- Property page ---------- */
.ey-prop-page { background: #f5f5f4; }
.ey-prop { max-width: 1280px; margin: 0 auto; padding: 14px 24px 24px; }
.ey-prop-loading, .ey-prop-missing { max-width: 640px; margin: 60px auto; text-align: center; color: #6b7280; }
.ey-prop-missing i { font-size: 48px; color: #c8a97e; }
.ey-crumbs { font-size: 13px; color: #6b7280; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.ey-crumbs a { color: #6b3a1a !important; text-decoration: none !important; }
.ey-crumbs i { font-size: 11px; }
.ey-prop-top { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.ey-prop-main { position: relative; border-radius: 14px; overflow: hidden; background: #e7e5e4; aspect-ratio: 16 / 10; cursor: zoom-in; }
.ey-prop-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ey-prop-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .6); color: #fff; border-radius: 8px; padding: 5px 10px; font-size: 13px; font-weight: 700; display: inline-flex; gap: 5px; align-items: center; }
.ey-prop-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.ey-prop-thumb { flex: 0 0 96px; height: 68px; border: 2px solid transparent; border-radius: 8px !important; padding: 0; overflow: hidden; cursor: pointer; background: none; }
.ey-prop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ey-prop-thumb.active { border-color: #6b3a1a; }

.ey-prop-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px; margin-bottom: 14px; }
.ey-prop-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.ey-tag { font-size: 12px; font-weight: 700; background: #f5efe8; color: #6b3a1a; border-radius: 999px; padding: 4px 10px; }
.ey-tag-purpose { background: #6b3a1a; color: #fff; }
.ey-prop-price { font-family: "Plus Jakarta Sans", sans-serif; font-size: 28px; font-weight: 800; color: #1f2933; }
.ey-prop-price small { font-size: 14px; color: #6b7280; margin-right: 4px; }
.ey-prop-price span { font-size: 15px; color: #6b7280; font-weight: 600; }
.ey-prop-title { font-family: "Plus Jakarta Sans", sans-serif !important; font-size: 18px !important; font-weight: 700 !important; color: #1f2933 !important; margin: 6px 0 !important; line-height: 1.35; }
.ey-prop-loc { font-size: 14px; color: #4b5563; display: flex; gap: 5px; align-items: center; }
.ey-prop-loc i { color: #6b3a1a; }
.ey-prop-quick { display: flex; gap: 16px; flex-wrap: wrap; margin: 12px 0 8px; font-size: 14px; color: #1f2933; font-weight: 600; }
.ey-prop-quick span { display: inline-flex; gap: 5px; align-items: center; }
.ey-prop-quick i { font-size: 18px; color: #6b7280; }
.ey-prop-added { font-size: 12px; color: #9ca3af; }
.ey-agent-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.ey-agent-logo { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #e0a526; overflow: hidden; background: #faf1e2; display: flex; align-items: center; justify-content: center; color: #6b3a1a; font-size: 22px; flex-shrink: 0; }
.ey-agent-logo img { width: 100%; height: 100%; object-fit: cover; }
.ey-agent-name { font-weight: 700; color: #1f2933; display: flex; gap: 4px; align-items: center; }
.ey-agent-name i { color: #1f7a3a; }
.ey-agent-sub, .ey-agent-none { font-size: 13px; color: #6b7280; }
.ey-prop-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 10px !important; background: #6b3a1a; color: #fff !important;
    font-weight: 700; font-size: 15px; text-decoration: none !important; margin-bottom: 8px; }
.ey-prop-btn:hover { background: #4e2a12; }
.ey-prop-btn-outline { background: #fff; color: #1f7a3a !important; border: 1.5px solid #1f7a3a; }
.ey-prop-btn-outline:hover { background: #f0faf3; }
.ey-prop-link { display: block; text-align: center; font-size: 13px; color: #6b3a1a !important; margin-top: 4px; }
.ey-prop-missing .ey-prop-btn { display: inline-flex; padding: 0 20px; margin-top: 10px; }

.ey-prop-sections { max-width: calc(100% - 380px); }
.ey-prop-section { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px 20px; margin-top: 16px; }
.ey-prop-section h2 { font-family: "Plus Jakarta Sans", Poppins, sans-serif !important; font-size: 18px !important; font-weight: 800 !important; color: #1f2933 !important; margin: 0 0 12px !important; }
.ey-prop-lead { font-size: 15px; color: #374151; margin: 0; line-height: 1.6; }
.ey-prop-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ey-prop-table th, .ey-prop-table td { padding: 10px 4px; border-bottom: 1px solid #f1f1f0; text-align: left; vertical-align: top; }
.ey-prop-table th { width: 38%; color: #6b7280; font-weight: 600; }
.ey-prop-table td { color: #1f2933; font-weight: 600; }
.ey-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ey-fact { display: flex; gap: 10px; align-items: center; background: #faf7f3; border-radius: 10px; padding: 12px; }
.ey-fact i { font-size: 24px; color: #6b3a1a; }
.ey-fact span { display: block; font-size: 12px; color: #6b7280; }
.ey-fact strong { font-size: 15px; color: #1f2933; }
.ey-amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; }
.ey-amenities li { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #1f2933; }
.ey-amenities i { font-size: 20px; color: #1f7a3a; }
.ey-prop-desc { font-size: 15px; color: #374151; line-height: 1.65; }
.ey-nearby { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.ey-nearby-list { display: flex; flex-direction: column; gap: 12px; }
.ey-nearby-head { font-weight: 700; color: #1f2933; display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.ey-nearby-head i { color: #6b3a1a; font-size: 18px; }
.ey-nearby-item { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: #4b5563; padding: 4px 0 4px 24px; border-bottom: 1px dashed #eee; }
.ey-nearby-item em { font-style: normal; color: #6b3a1a; font-weight: 700; white-space: nowrap; }
.ey-map { width: 100%; min-height: 260px; height: 100%; border: 0; border-radius: 12px; }
.ey-similar { margin: 20px 0 0 !important; width: auto !important; max-width: calc(100% - 380px); } /* same column as the sections above */
@media (min-width: 1101px) { .ey-similar .ey-pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (max-width: 1100px) {
    .ey-filters-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ey-search-body { grid-template-columns: 1fr; }
    .ey-search-side { position: static; }
    .ey-ad-slot { min-height: 0; }
    .ey-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ey-area-list { columns: 3; }
    .ey-prop-top { grid-template-columns: 1fr; }
    .ey-prop-sections { max-width: none; }
    .ey-similar { max-width: none; }
}
@media (max-width: 640px) {
    .ey-filters-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }
    .ey-search-body, .ey-prop { padding: 14px 12px; }
    .ey-results { grid-template-columns: 1fr; }
    .ey-pcard-list { flex-direction: column; }
    .ey-pcard-list .ey-pcard-img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
    .ey-area-list { columns: 2; }
    .ey-facts, .ey-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ey-nearby { grid-template-columns: 1fr; }
    .ey-prop-price { font-size: 24px; }
}

/* Section page dots in eYumba brown (Kobadu's were green) */
.ey-pshowcase .kb-showcase-dot { background: #e5ddd3 !important; border: 0 !important; }
.ey-pshowcase .kb-showcase-dot.active { background: #6b3a1a !important; }
.ey-pshowcase .kb-showcase-dot:hover { background: #c8a97e !important; }

/* ---------- Add Property form (seller) ---------- */
.ey-property-form .ey-pf-head { font-family: "Plus Jakarta Sans", Poppins, sans-serif; font-size: 15px; font-weight: 800; color: #6b3a1a; margin: 18px 0 8px; padding-bottom: 6px; border-bottom: 1px solid #f0e8de; }
.ey-property-form .ey-pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ey-property-form .ey-pf-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.ey-property-form .ey-pf-field { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; width: 100%; }
.ey-property-form .ey-pf-field > span { font-size: 12px; font-weight: 600; color: #6b7280; }
.ey-property-form .ey-pf-field .form-control { height: 42px; border-radius: 9px !important; border: 1px solid #e5e7eb; font-size: 14px; }
.ey-property-form textarea.form-control { height: auto; min-height: 60px; padding: 8px 12px; }
.ey-property-form .ey-pf-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #1f2933; margin: 0 0 6px; cursor: pointer; }
.ey-property-form .ey-pf-check input { width: 16px; height: 16px; accent-color: #6b3a1a; }
.ey-property-form .ey-pf-amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; margin-bottom: 8px; }
.ey-property-form .ey-pf-hint { font-size: 12px; color: #6b7280; margin: 0 0 8px; }
@media (max-width: 640px) {
    .ey-property-form .ey-pf-row, .ey-property-form .ey-pf-row-3 { grid-template-columns: 1fr; }
}

/* Phone home top, IndiaMART style (MobileHome.component.js): replaces the hero below 641px */
/* PageLess drops the custom tag, so target the classes */
.ey-mobile-home { display: none; }
@media (max-width: 640px) {
    .ey-hero .ey-hero-banner { display: none !important; }
    .ey-mobile-home { display: block; }
}
.ey-mobile-home { padding: 12px 12px 4px; font-family: "Plus Jakarta Sans", sans-serif; }
.ey-mh-search-box { background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 12px; }
.ey-mh-pills { display: flex; gap: 6px; margin-bottom: 8px; }
.ey-mh-pill { flex: 1; height: 34px; border: 1px solid #e5e7eb; background: #fff; border-radius: 999px !important; font-size: 13px; font-weight: 600; color: #4b5563; }
.ey-mh-pill.active { background: #6b3a1a; border-color: #6b3a1a; color: #fff; }
.ey-mh-search { display: flex; align-items: center; gap: 8px; border: 1px solid #e5e7eb; border-radius: 999px; padding: 0 4px 0 14px; height: 46px; }
.ey-mh-search i { color: #6b7280; font-size: 18px; }
.ey-mh-search input { flex: 1; min-width: 0; border: 0 !important; outline: none; box-shadow: none !important; font-size: 14px; background: transparent; height: 100%; padding: 0 !important; margin: 0 !important; }
.ey-mh-search button { height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: #6b3a1a; color: #fff; font-size: 14px; font-weight: 600; }
.ey-mh-looking { background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 12px; }
.ey-mh-looking-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ey-mh-looking-img { flex: 0 0 120px; height: 96px; border-radius: 10px; overflow: hidden; background: #f3f4f6; }
.ey-mh-looking-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ey-mh-looking-text { flex: 1; min-width: 0; text-align: center; }
.ey-mh-looking-title { font-size: 18px; font-weight: 700; color: #1f2933; line-height: 1.3; margin-bottom: 14px; }
.ey-mh-looking-sub { font-size: 14px; color: #6b7280; }
.ey-mh-looking-btn { width: 100%; height: 48px; border: 0; border-radius: 10px; background: #6b3a1a; color: #fff !important; font-size: 17px !important; font-weight: 600 !important; display: flex; align-items: center; justify-content: center; gap: 10px; }
.ey-mh-trending { background: #f7f8fa; border-radius: 14px; padding: 14px 0 4px; }
.ey-mh-trending-title { font-family: "Plus Jakarta Sans", sans-serif; font-size: 19px; font-weight: 700; color: #1f2933; margin: 0 0 12px; padding: 0 2px; }
.ey-mh-chev { font-size: 24px; line-height: 1; margin-top: -3px; }
.ey-mh-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ey-mh-tile { background: #fff; border: 0; border-radius: 12px; padding: 12px 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.ey-mh-tile-img { width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; display: block; }
.ey-mh-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ey-mh-tile-name { font-size: 15px; font-weight: 700; color: #1f2933; text-align: center; }

/* ---------- Phones: zameen app layout for Buy / Rent / Projects ---------- */
.ey-m-top, .ey-filters-m-head, .ey-pcard-kind, .ey-pcard-wa, .ey-stories-slot { display: none; }
@media (max-width: 640px) {
    .ey-m-top { display: block; position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #e5e7eb; }
    .ey-m-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px 4px; }
    .ey-m-back { width: 36px; height: 36px; border: 0; background: none; font-size: 22px; color: #1f2933; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
    .ey-m-head { min-width: 0; }
    .ey-m-title { font-family: "Plus Jakarta Sans", sans-serif; font-size: 17px; font-weight: 700; color: #1f2933; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ey-m-count { font-size: 13px; color: #6b7280; }
    .ey-m-chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px 10px; scrollbar-width: none; }
    .ey-m-chips::-webkit-scrollbar { display: none; }
    .ey-chip { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; margin: 0; border: 1px solid #e5e7eb;
        border-radius: 8px !important; background: #fff; color: #1f2933; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; }
    .ey-chip > i { font-size: 16px; color: #4b5563; }
    .ey-chip { display: inline-flex !important; align-items: center !important; line-height: 1 !important; padding-top: 0 !important; padding-bottom: 0 !important; font-family: "Plus Jakarta Sans", sans-serif; }
    .ey-chip-caret { display: inline-block; flex: 0 0 auto; }
    .ey-filters-m-head strong { color: #1f2933 !important; font-weight: 700; }
    .ey-chip-caret { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor; margin-left: 2px; }
    .ey-stories-slot:empty { display: none; }
    .ey-chip.active { border-color: #6b3a1a; background: #faf5f0; color: #6b3a1a; font-weight: 700; }
    .ey-chip select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }

    /* the full filter form opens as a sheet from the Filters chip */
    .ey-search-page .ey-filters { display: none; }
    .ey-search-page.ey-filters-open .ey-filters { display: block; position: fixed; inset: 0; z-index: 1000; overflow-y: auto; border: 0; }
    .ey-filters-open .ey-filters-m-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #e5e7eb;
        font-family: "Plus Jakarta Sans", sans-serif; font-size: 17px; position: sticky; top: 0; background: #fff; z-index: 1; }
    .ey-filters-close { width: 36px; height: 36px; border: 0; background: #f3f4f6; border-radius: 50% !important; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
    .ey-search-page .ey-search-title, .ey-search-page .ey-results-bar, .ey-search-page .ey-search-side { display: none; }
    .ey-search-page .ey-search-body { padding: 0; }
    .ey-search-page .ey-results { gap: 0; grid-template-columns: minmax(0, 1fr); }
    .ey-search-page .ey-search-main { min-width: 0; }

    /* list cards: photo left, details right, Email / Call / WhatsApp */
    .ey-search-page .ey-pcard-list { flex-direction: row; border-radius: 0; border: 0; border-bottom: 1px solid #e5e7eb; padding: 12px; gap: 12px; }
    .ey-search-page .ey-pcard-list:hover { transform: none; box-shadow: none; }
    .ey-search-page .ey-pcard-list .ey-pcard-img { flex: 0 0 38%; aspect-ratio: auto; min-height: 0; height: 168px; border-radius: 6px; }
    .ey-search-page .ey-pcard-list .ey-pcard-body { padding: 0; gap: 3px; min-width: 0; }
    .ey-search-page .ey-pcard-list .ey-pcard-added { font-size: 11px; }
    .ey-search-page .ey-pcard-list .ey-pcard-price { font-size: 19px; }
    .ey-search-page .ey-pcard-list .ey-pcard-location, .ey-search-page .ey-pcard-list .ey-pcard-agent { display: none; }
    .ey-search-page .ey-pcard-list .ey-pcard-kind { display: block; font-size: 13px; color: #9ca3af; }
    .ey-search-page .ey-pcard-list .ey-pcard-facts { gap: 10px; font-size: 13px; }
    .ey-search-page .ey-pcard-list .ey-pcard-actions { max-width: none; grid-template-columns: 1fr 1.6fr 0.9fr; gap: 6px; padding-top: 6px; }
    .ey-search-page .ey-pcard-list .ey-pcard-email, .ey-search-page .ey-pcard-list .ey-pcard-call, .ey-search-page .ey-pcard-list .ey-pcard-wa { height: 34px; font-size: 12px; gap: 4px; padding: 0; }
    .ey-search-page .ey-pcard-list .ey-pcard-email i { display: none; }
    .ey-search-page .ey-pcard-list .ey-pcard-wa { display: inline-flex; align-items: center; justify-content: center; border-radius: 9px !important; background: #fff; border: 1.5px solid #6b3a1a;
        color: #6b3a1a !important; font-size: 19px !important; cursor: pointer; text-decoration: none !important; }
    .ey-search-page .ey-pcard-list .ey-pcard-badges { top: 6px; left: 6px; }
    .ey-search-page .ey-pcard-list .ey-badge { font-size: 9px; padding: 3px 5px; }
    .ey-search-page .ey-pcard-list .ey-pcard-img-foot { left: 6px; right: 6px; bottom: 6px; }

    /* Featured strip after the third card */
    .ey-stories-slot { display: block; grid-column: 1 / -1; min-width: 0; overflow: hidden; background: #fff; border-bottom: 1px solid #e5e7eb; }
    .ey-stories { padding: 14px 0 16px; }
    .ey-stories-title { font-family: "Plus Jakarta Sans", sans-serif; font-size: 18px; font-weight: 700; color: #1f2933; padding: 0 12px 10px; }
    .ey-stories-row { display: flex; gap: 10px; overflow-x: auto; padding: 0 12px; scrollbar-width: none; }
    .ey-stories-row::-webkit-scrollbar { display: none; }
    .ey-story { flex: 0 0 132px; display: flex; flex-direction: column; text-decoration: none !important; color: #1f2933 !important; }
    .ey-story-img { position: relative; height: 180px; border-radius: 8px; overflow: hidden; display: block; background: #f3f4f6; }
    .ey-story-img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .ey-story-logo { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%; overflow: hidden;
        border: 3px solid #e0a526; background: #fff; }
    .ey-story-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .ey-story-price { margin-top: 8px; font-size: 16px; font-weight: 700; text-align: center; }
    .ey-story-price small { font-size: 11px; color: #6b7280; margin-right: 2px; font-weight: 600; }
    .ey-story-label { font-size: 13px; color: #6b7280; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Phones: property page contact bar pinned to the bottom (zameen style) */
.ey-prop-mbar { display: none; }
@media (max-width: 640px) {
    .ey-prop { padding-bottom: 84px !important; }
    .ey-prop-mbar { display: grid; grid-template-columns: 1fr 1.6fr 0.8fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e5e7eb; box-shadow: 0 -4px 14px rgba(0,0,0,.06); }
    .ey-prop-mbar > * { height: 44px; border-radius: 10px !important; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
        font-size: 15px; font-weight: 700; text-decoration: none !important; cursor: pointer; }
    .ey-prop-mbar i { font-size: 18px; }
    .ey-prop-mbar-email, .ey-prop-mbar-wa { background: #fff; color: #6b3a1a !important; border: 1.5px solid #6b3a1a; }
    .ey-prop-mbar-wa i { font-size: 22px; }
    .ey-prop-mbar-call { background: #6b3a1a; color: #fff !important; border: 1.5px solid #6b3a1a; }
}

/* ---------- Login modal (Modal.login, widthClasses ey-auth-modal) ---------- */
.ey-auth-modal { border-radius: 16px !important; overflow: hidden; max-width: 440px; font-family: "Plus Jakarta Sans", sans-serif; }
.ey-auth-modal .modal-header-container { border-bottom: 0 !important; padding: 22px 24px 0 !important; margin: 0 !important; }
.ey-auth-modal .custom-modal-header { justify-content: space-between; padding: 0 !important; }
.ey-auth-modal .custom-modal-header .h6 { font-size: 22px !important; font-weight: 800 !important; color: #1f2933 !important; margin: 0; }
.ey-auth-modal .custom-modal-header .h6 > .fal { display: none; }
.ey-auth-modal .custom-modal-header .h6 { margin-left: -1em !important; } /* the framework puts an &emsp; after the hidden icon */
.ey-auth-modal .modal-header-container, .ey-auth-modal .modal-header-container *, .ey-auth-modal .custom-modal-header { border: 0 !important; box-shadow: none !important; }
.ey-auth-modal .ey-auth-x { border-radius: 50% !important; }
.ey-auth-modal .custom-modal-body { padding: 0 !important; margin: 0 !important; }
.ey-auth-modal .custom-modal-body > div { padding: 4px 24px 22px !important; }
.ey-auth-modal .custom-modal-body > div > div { padding: 0 !important; }
.ey-auth-modal .custom-modal-footer { display: none !important; }
.ey-auth-x { width: 36px; height: 36px; border: 0; border-radius: 50% !important; background: #f3f4f6; color: #4b5563; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ey-auth-x:hover { background: #e5e7eb; }
.ey-auth-sub { font-size: 14px; color: #6b7280; margin: 4px 0 18px !important; }
.ey-auth-field { font-size: 13px; font-weight: 700; color: #374151; margin: 0 0 6px; display: block; }
.ey-auth-row { display: flex; align-items: baseline; justify-content: space-between; }
.ey-auth-gap { height: 14px; }
.ey-auth-input { width: 100%; height: 48px; border: 1.5px solid #e5e7eb !important; border-radius: 10px !important; padding: 0 14px !important; font-size: 15px; color: #1f2933;
    background: #fff !important; outline: none; box-shadow: none; }
.ey-auth-input:focus { border-color: #6b3a1a !important; box-shadow: 0 0 0 3px rgba(107, 58, 26, .12) !important; }
.ey-auth-pw { position: relative; }
.ey-auth-pw .ey-auth-input { padding-right: 46px !important; }
.ey-auth-eye { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; background: none; color: #6b7280; font-size: 16px; cursor: pointer; }
.ey-auth-link { border: 0; background: none; padding: 0; color: #6b3a1a !important; font-size: 13px; font-weight: 700; cursor: pointer; }
.ey-auth-link:hover { text-decoration: underline; }
.ey-auth-submit { width: 100%; height: 48px; margin-top: 20px; border: 0; border-radius: 10px !important; background: #6b3a1a !important; color: #fff !important;
    font-size: 16px; font-weight: 700; cursor: pointer; }
.ey-auth-submit:hover { background: #4e2a12 !important; }
.ey-auth-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #9ca3af; font-size: 13px; }
.ey-auth-or::before, .ey-auth-or::after { content: ""; flex: 1; height: 1px; background: #e5e7eb; }
.ey-auth-google { width: 100%; height: 48px; border: 1.5px solid #e5e7eb; border-radius: 10px !important; background: #fff; color: #1f2933; font-size: 15px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.ey-auth-google:hover { background: #f9fafb; }
.ey-auth-foot { text-align: center; font-size: 14px; color: #6b7280; margin: 18px 0 0 !important; }
.ey-auth-hint { font-size: 12px; color: #6b7280; margin: 6px 0 14px !important; }
.ey-auth-sub strong { color: #1f2933; }
/* Buyer / seller cards */
.ey-auth-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.ey-auth-choice { position: relative; margin: 0; cursor: pointer; }
.ey-auth-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ey-auth-choice span { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; height: 100%; padding: 12px; border: 1.5px solid #e5e7eb; border-radius: 12px; }
.ey-auth-choice span i { font-size: 20px; color: #6b3a1a; margin-bottom: 4px; }
.ey-auth-choice strong { font-size: 14px; color: #1f2933; }
.ey-auth-choice small { font-size: 12px; color: #6b7280; }
.ey-auth-choice input:checked + span { border-color: #6b3a1a; background: #faf5f0; box-shadow: 0 0 0 3px rgba(107, 58, 26, .12); }
.ey-auth-choice input:focus-visible + span { outline: 2px solid #6b3a1a; outline-offset: 2px; }
/* phone-number component: country code + number side by side */
.ey-auth-phone { margin-bottom: 14px; }
.ey-auth-phone .form-content-row { display: flex !important; flex-wrap: nowrap; gap: 8px; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; }
.ey-auth-phone .input-icon, .ey-auth-phone .input-label, .ey-auth-phone .country-name { display: none !important; }
.ey-auth-phone .form-content-row > .form-input-container:nth-child(2) { display: none !important; }
.ey-auth-phone .form-input-container { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.ey-auth-phone .form-content-row > .form-input-container:nth-child(3) { flex: 0 0 44% !important; width: 44% !important; min-width: 0; }
.ey-auth-phone .form-content-row > .form-input-container:last-child { flex: 1 1 auto !important; min-width: 0; }
.ey-auth-phone select, .ey-auth-phone input { width: 100% !important; height: 48px !important; border: 1.5px solid #e5e7eb !important; border-radius: 10px !important;
    padding: 0 12px !important; font-size: 15px !important; color: #1f2933; background-color: #fff !important; outline: none; box-shadow: none !important; margin: 0 !important; }
.ey-auth-phone select { -webkit-appearance: none; appearance: none; padding-right: 30px !important; text-overflow: ellipsis;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231f2933' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center !important; }
.ey-auth-phone select:focus, .ey-auth-phone input:focus { border-color: #6b3a1a !important; box-shadow: 0 0 0 3px rgba(107, 58, 26, .12) !important; }
.ey-auth-modal .custom-modal-body { max-height: calc(100vh - 120px); }
