/* UYGO — dizaynı tamamlayan əlavə stillər (backend-ə bağlanan hissələr) */

/* Dil menyusu */
.lang-switch { position: relative; }
.lang-btn { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; border-radius: 7px; height: 34px; padding: 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.lang-menu { display: none; position: absolute; right: 0; top: 40px; z-index: 60; min-width: 84px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.16); overflow: hidden; }
.lang-switch.open .lang-menu { display: block; }
.lang-menu a { display: block; padding: 9px 14px; color: #30373d; font-size: 12px; font-weight: 700; }
.lang-menu a:hover { background: #f6f7f8; }
.lang-menu a.current { color: var(--primary); background: #fff5f5; }

/* İstifadəçi menyusu */
.subhero > .nav { z-index: 70; }
.user-menu-wrap { position: relative; z-index: 1; }
.user-menu-wrap .login-button span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu { display: none; position: absolute; right: 0; top: calc(100% - 2px); z-index: 80; min-width: 170px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.16); overflow: hidden; }
.user-menu-wrap:hover .user-menu, .user-menu-wrap:focus-within .user-menu { display: block; }
.user-menu a { display: block; padding: 10px 15px; color: #30373d; font-size: 12px; font-weight: 600; }
.user-menu a:hover { background: #f6f7f8; color: var(--primary); }

/* Elan şəkilləri real <img> kimi */
.listing-photo img, .card-media img, .mini-photo img, .dashboard-photo img, .preview-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.listing-photo, .card-media, .mini-photo, .dashboard-photo, .preview-photo { overflow: hidden; }
.photo-count { position: absolute; right: 8px; bottom: 8px; z-index: 1; background: rgba(10,18,26,.72); color: #fff; border-radius: 5px; padding: 2px 8px; font-size: 10px; font-weight: 700; }

/* Detal qalereyası */
.detail-main-photo { position: relative; overflow: hidden; background: #eef0f2; }
.detail-main-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-counter { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(10,18,26,.72); color: #fff; border-radius: 6px; padding: 4px 10px; font-size: 11px; font-weight: 700; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #222; font-size: 24px; line-height: 1; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.gallery-nav:hover { color: var(--primary); }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-thumb { cursor: pointer; }

/* Flash mesajlar (toast mövcuddur; səhifədaxili bildirişlər üçün) */
.flash { border: 1px solid #cdebd6; background: #f0faf3; color: #1b7a3d; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; font-size: 13px; font-weight: 600; }
.flash.error { border-color: #f3c2c5; background: #fdf1f1; color: #b3272d; }
.form-error { color: #c2262c; font-size: 11px; margin-top: 5px; font-weight: 600; }

/* Auth səhifələri */
.auth-wrap { max-width: 430px; margin: 0 auto; padding: 34px 0 50px; }
.auth-card { padding: 26px; }
.auth-card h1 { margin: 0 0 6px; font-size: 24px; }
.auth-card > p { margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.auth-card .field { margin-bottom: 13px; }
.auth-alt { text-align: center; margin-top: 15px; font-size: 12px; color: var(--muted); }
.auth-card > .auth-alt { margin: 14px 0 0; }
.auth-alt a { color: var(--primary); font-weight: 700; }
.auth-demo { margin-top: 16px; padding: 10px 12px; border-radius: 7px; background: #f6f8f9; color: #5b646b; font-size: 10.5px; text-align: center; }

/* Şəkil meneceri (wizard + edit + admin) */
.photo-manager { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.photo-item { position: relative; height: 110px; border-radius: 8px; overflow: hidden; border: 2px solid var(--line); background: #f2f4f5; cursor: grab; }
.photo-item.dragging { opacity: .45; }
.photo-item.main-photo { border-color: var(--primary); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.photo-item .ph-badge { position: absolute; left: 6px; top: 6px; z-index: 2; background: var(--primary); color: #fff; border-radius: 4px; padding: 2px 7px; font-size: 9px; font-weight: 700; }
.photo-tools { position: absolute; right: 5px; top: 5px; z-index: 2; display: flex; gap: 4px; }
.photo-tools button { width: 26px; height: 26px; border: 0; border-radius: 6px; background: rgba(12,20,28,.72); color: #fff; font-size: 12px; line-height: 1; display: grid; place-items: center; }
.photo-tools button:hover { background: var(--primary); }
.upload-drop { min-height: 110px; display: grid; place-items: center; border: 1px dashed #cbd2d7; border-radius: 8px; color: #727a80; font-size: 11px; text-align: center; cursor: pointer; padding: 10px; background: #fbfcfc; }
.upload-drop.dragover { border-color: var(--primary); background: #fff6f6; color: var(--primary); }
.photo-hint { margin-top: 9px; color: #79828a; font-size: 10px; }

/* Xəritə (Leaflet) */
.real-map { min-height: 815px; border: 1px solid #dfe5e8; border-radius: 10px; overflow: hidden; z-index: 1; }
.map-price-pin { background: #fff; color: var(--primary); border-radius: 16px; min-width: 48px; height: 30px; display: grid; place-items: center; padding: 0 9px; font-size: 10px; font-weight: 800; font-family: "Manrope", Arial, sans-serif; box-shadow: 0 4px 11px rgba(33,44,54,.28); border: 1px solid #f1d3d4; white-space: nowrap; }
.map-price-pin.hl, .map-price-pin:hover { background: var(--primary); color: #fff; }
.map-list-card.hl { border-color: var(--primary); box-shadow: 0 4px 14px rgba(237,28,36,.14); }
.mini-map.real-map { min-height: 190px; height: 190px; }
.form-map.real-map { height: 220px; min-height: 220px; }
.contact-map.real-map { min-height: 420px; }
.catalog-quick { display:flex; align-items:center; justify-content:space-between; padding:0 18px 14px; }

/* Boş vəziyyətlər */
.empty-state { padding: 46px 20px; text-align: center; border: 1px dashed #d7dce0; border-radius: 10px; color: #6a737a; }
.empty-state b { display: block; font-size: 15px; color: #39424a; margin-bottom: 6px; }
.empty-state a { color: var(--primary); font-weight: 700; font-size: 12px; }

/* Elan sətri əməliyyat düymələri (profil) */
.dashboard-actions form { display: contents; }

/* Ana səhifə: premium (2 sıra), son elanlar və sürüşdürülən agentliklər */
.home-listing-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.premium-listing-grid { grid-template-rows:repeat(2,auto); }
.agency-carousel { position:relative; }
.agency-carousel .agency-rail { display:flex; gap:16px; overflow-x:auto; padding:2px; scroll-behavior:smooth; scrollbar-width:none; cursor:grab; touch-action:pan-y; user-select:none; }
.agency-carousel .agency-rail::-webkit-scrollbar { display:none; }
.agency-carousel .agency-card { flex:0 0 calc((100% - 80px)/6); min-width:170px; }
.agency-carousel .agency-rail.is-dragging { cursor:grabbing; scroll-behavior:auto; }
.agency-carousel .rail-arrow { position:absolute; z-index:4; top:50%; width:44px; height:44px; border:1px solid var(--line); border-radius:50%; background:#fff; color:#333; font-size:29px; line-height:1; box-shadow:0 4px 13px rgba(0,0,0,.11); transform:translateY(-50%); transition:transform .2s,color .2s; }
.agency-carousel .rail-arrow:hover { color:var(--primary); transform:translateY(-50%) scale(1.06); }
.agency-carousel .rail-prev { left:-22px; }
.agency-carousel .rail-next { right:-22px; }

@media (max-width:1100px) {
  .home-listing-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .premium-listing-grid { grid-template-rows:none; }
}
@media (max-width:680px) {
  .home-listing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .agency-carousel .rail-arrow { display:none; }
  .agency-carousel .agency-card { flex-basis:72vw; }
}
@media (max-width:440px) {
  .home-listing-grid { grid-template-columns:1fr; }
}

/* Select2 tipli axtarılan rayon seçimi */
.smart-select-native { position:absolute!important; width:1px!important; height:1px!important; opacity:0!important; pointer-events:none!important; }
.smart-select { position:relative; width:100%; min-width:0; }
.smart-select-trigger { width:100%; min-height:44px; padding:0 38px 0 12px; border:1px solid var(--line); border-radius:8px; background:#fff; color:#8a9197; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:pointer; }
.smart-select-trigger.has-value { color:#20272c; font-weight:600; }
.smart-select-trigger::after { content:'⌄'; position:absolute; right:13px; top:50%; transform:translateY(-55%); font-size:18px; }
.smart-select-panel { display:none; position:absolute; z-index:80; left:0; right:0; top:calc(100% + 6px); padding:7px; border:1px solid var(--line); border-radius:10px; background:#fff; box-shadow:0 18px 40px rgba(7,17,26,.16); }
.smart-select.open .smart-select-panel { display:block; }
.smart-select .smart-select-search { width:100%; min-height:40px; height:auto; padding:7px 11px; border:1px solid #cfd5d9; border-radius:7px; font-size:13px; outline:none; }
.smart-select-search:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(237,28,36,.08); }
.smart-select-options { max-height:230px; margin-top:6px; overflow:auto; display:grid; gap:2px; }
.smart-select-option { min-height:38px; padding:7px 10px; border:0; border-radius:6px; background:#fff; text-align:left; cursor:pointer; font-size:13px; }
.smart-select-option:hover, .smart-select-option[aria-selected="true"] { background:#fff0f1; color:var(--primary); }
.smart-select-empty { margin:8px; color:#747c82; font-size:12px; }
.searchable-location .smart-select-trigger { min-height:0; height:100%; padding-left:34px; border:0; border-radius:0; background:transparent; }
.searchable-location .smart-select-panel { left:8px; right:8px; }

/* Balans, limit və müddət məlumatları */
.menu-balance { margin-left:auto; font-size:10px; font-weight:800; color:var(--primary); }
.billing-summary { display:grid; gap:7px; border-color:#c9dcff; background:#f4f8ff; }
.billing-summary h3, .billing-summary p { margin:0; }
.billing-summary strong { color:#145db7; font-size:13px; }
.billing-summary small { color:#667078; font-size:12px; }
.listing-expired-note, .listing-expiry-note { margin:6px 0!important; font-size:12px!important; font-weight:700; }
.listing-expired-note { color:#c2262c!important; }
.listing-expiry-note { color:#3f6d52!important; }
.listing-edit-pending-note { display:flex; align-items:flex-start; gap:6px; margin:7px 0 0!important; padding:8px 10px; border:1px solid #efd49a; border-radius:8px; background:#fff8e9; color:#795000!important; font-size:12px!important; font-weight:650; line-height:1.45; }
.listing-edit-pending-note svg { width:17px; height:17px; flex:0 0 17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.wallet-layout { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.wallet-balance-card { color:#fff; background:linear-gradient(135deg,#173b6c,#2872c8); }
.wallet-balance-card > span { font-size:12px; opacity:.82; }
.wallet-balance-card > strong { display:block; margin:8px 0; font-size:30px; }
.wallet-balance-card > p { font-size:12px; line-height:1.55; opacity:.85; }
.wallet-quota { display:flex; justify-content:space-between; gap:10px; margin-top:20px; padding-top:14px; border-top:1px solid rgba(255,255,255,.2); font-size:12px; }
.wallet-topup-card form { display:grid; gap:13px; }
.payment-methods { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.payment-methods input { position:absolute; opacity:0; }
.payment-methods span { min-height:42px; display:grid; place-items:center; border:1px solid var(--line); border-radius:8px; background:#fff; font-size:12px; font-weight:800; cursor:pointer; }
.payment-methods input:checked + span { border-color:var(--primary); background:#fff3f4; color:var(--primary); }
.wallet-history { grid-column:1/-1; }
.transaction-list { display:grid; }
.transaction-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px 0; border-top:1px solid #edf0f1; }
.transaction-row:first-child { border-top:0; }
.transaction-row b, .transaction-row time { display:block; }
.transaction-row b { font-size:13px; }
.transaction-row time { margin-top:3px; color:#747c82; font-size:11px; }
.wallet-empty { margin: 8px 0 0; color:#687178; font-size:14px; line-height:1.55; }
.transaction-row strong { white-space:nowrap; font-size:14px; }
.transaction-row strong.positive { color:#15964b; }
.transaction-row strong.negative { color:#c2262c; }
.listing-expired-banner { font-size:14px; font-weight:800; }
.expired-contact-lock { padding:14px; border:1px solid #f1b5b8; border-radius:9px; background:#fff4f4; color:#a62329; }
.expired-contact-lock b { font-size:14px; }
.expired-contact-lock p { margin:5px 0 0; font-size:12px; line-height:1.5; }
@media (max-width:680px) {
  .wallet-layout { grid-template-columns:1fr; }
  .wallet-history { grid-column:auto; }
}

/* Cədvəl köməkçiləri */
.badge-status { display: inline-flex; align-items: center; min-height: 22px; border-radius: 4px; padding: 0 8px; font-size: 10px; font-weight: 700; color: #fff; }
.badge-status.st-active { background: #1a9b55; }
.badge-status.st-pending { background: #ffb310; }
.badge-status.st-rejected { background: #d33; }
.badge-status.st-paused { background: #8a929a; }
.badge-status.st-sold { background: #6d7277; }

/* Field daxilindəki checkbox/radio-lar tam en stilini almasın */
.field input[type="checkbox"], .field input[type="radio"],
.radio-row input, .check-grid input { width: 15px; height: 15px; accent-color: var(--primary); flex: 0 0 auto; }
.radio-row label, .check-grid label { display: inline-flex; align-items: center; gap: 7px; }

/* Wizard tipi düymələri (form daxili radio) */
.type-button input { position: absolute; opacity: 0; pointer-events: none; }
.type-button { position: relative; }

/* Sevimli ürək düymələri */
.heart { cursor: pointer; }
.detail-top-actions .saved { color: var(--primary); }

/* Səhifələmə linkləri üçün nöqtələr */
.pagination span.dots { width: 39px; height: 39px; display: grid; place-items: center; color: #9aa1a7; }

/* Ətraflı filter modalı */
body.modal-open { overflow: hidden; }
.filter-dialog { width: min(780px, calc(100% - 28px)); max-height: min(88dvh, 900px); margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 28px 80px rgba(0, 10, 20, .32); }
.filter-dialog::backdrop { background: rgba(4, 14, 22, .58); backdrop-filter: blur(3px); }
.filter-dialog-form { display: flex; max-height: min(88dvh, 900px); flex-direction: column; }
.filter-dialog-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px 17px; border-bottom: 1px solid var(--line); }
.filter-dialog-head h2 { margin: 2px 0 0; font-size: 23px; letter-spacing: -.4px; }
.modal-eyebrow { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; }
.filter-dialog-close { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: #3f474d; }
.filter-dialog-close:hover { border-color: #efb0b3; background: #fff6f6; color: var(--primary); }
.filter-dialog-close svg { width: 21px; height: 21px; }
.filter-dialog-body { min-height: 0; overflow-y: auto; padding: 20px 24px 24px; }
.modal-section { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.modal-section legend { width: 100%; margin-bottom: 10px; color: #30373d; font-size: 13px; font-weight: 750; }
.compact-section { margin-bottom: 0; }
.modal-grid { display: grid; gap: 14px; margin-bottom: 20px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.segmented-options { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented-options label { cursor: pointer; }
.segmented-options input { position: absolute; opacity: 0; pointer-events: none; }
.segmented-options span { min-width: 110px; min-height: 43px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dce1e4; border-radius: 8px; background: #fff; color: #454d53; font-size: 13px; font-weight: 650; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.segmented-options input:checked + span { border-color: var(--primary); background: #fff4f4; color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.segmented-options input:focus-visible + span { outline: 3px solid rgba(237,28,36,.26); outline-offset: 2px; }
.room-options span { min-width: 62px; }
.district-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.district-options label, .modal-check { min-height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid #e3e6e8; border-radius: 8px; color: #41494f; font-size: 12px; cursor: pointer; }
.district-options label:hover, .modal-check:hover { border-color: #efb0b3; background: #fffafa; }
.district-options input, .modal-check input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--primary); }
.modal-section .range-fields input { height: 44px; font-size: 13px; }
.modal-check { width: fit-content; padding-right: 16px; font-weight: 650; }
.filter-dialog-actions { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 24px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -8px 24px rgba(9,20,30,.04); }
.filter-dialog-actions > a { color: var(--primary); font-size: 13px; font-weight: 700; }
.filter-dialog-actions .btn { min-width: 210px; }

/* Qiymət aralığı popover-i və valyuta seçimi */
.price-popover { position: relative; min-width: 0; z-index: 18; }
.price-popover > summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 0 13px; border: 1px solid #dfe3e6; border-radius: 10px; background: #fff; color: #242b31; font-size: 14px; font-weight: 650; cursor: pointer; list-style: none; }
.price-popover > summary::-webkit-details-marker { display: none; }
.price-popover > summary svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .2s ease; }
.price-popover[open] > summary { border-color: #ef7277; box-shadow: 0 0 0 3px rgba(237,28,36,.09); }
.price-popover[open] > summary svg { transform: rotate(180deg); }
.price-popover-panel { width: min(340px, calc(100vw - 28px)); position: absolute; top: calc(100% + 9px); right: 0; z-index: 50; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 18px 48px rgba(8,20,30,.18); }
.price-popover-panel > strong { display: block; margin-bottom: 11px; font-size: 14px; }
.price-range-fields input { height: 44px; font-size: 13px; }
.currency-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 11px; }
.currency-options label { min-width: 0; cursor: pointer; }
.currency-options input { position: absolute; opacity: 0; pointer-events: none; }
.currency-options span { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 10px; border: 1px solid #dde2e5; border-radius: 8px; color: #4b545b; font-size: 12px; font-weight: 700; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.currency-options b { min-width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #f1f3f5; color: #20272d; font-size: 12px; line-height: 1; }
.currency-options input:checked + span { border-color: #ef777c; background: #fff5f5; color: var(--primary); box-shadow: inset 0 0 0 1px #ef777c; }
.currency-options input:focus-visible + span { outline: 3px solid rgba(237,28,36,.25); outline-offset: 2px; }
.price-popover-done { width: 100%; margin-top: 12px; }
.catalog-price-popover > summary { min-height: 46px; display: grid; grid-template-columns: 1fr auto; align-content: center; }
.catalog-price-popover > summary small { grid-column: 1; color: #6d757b; font-size: 11px; line-height: 1.1; }
.catalog-price-popover > summary span { grid-column: 1; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-price-popover > summary svg { grid-column: 2; grid-row: 1 / span 2; }
.modal-currency-options, .sidebar-currency-options { margin-top: 9px; }
[data-rent-period][hidden] { display: none !important; }
.rent-period-section { padding: 14px; border: 1px solid #f0d3d5; border-radius: 10px; background: #fffafa; }
.two-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.listing-rent-period { max-width: 420px; margin-top: 14px; }
.field-label, .currency-field legend { display: block; margin-bottom: 7px; color: #596168; font-size: 12px; font-weight: 700; }
.currency-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.currency-field small { display: block; margin-top: 7px; color: #6d757b; font-size: 11px; line-height: 1.45; }
.listing-currency-options { margin-top: 0; }
.detail-price-converted { margin: 5px 0 0; color: #59636b; font-size: 14px; font-weight: 700; }
.rent-period-tag { border-color: #c9dcff; background: #eef5ff; color: #1f61b4; }

/* Siyahı görünüşü və ikonlu sıralama menyusu */
.sort-picker { position: relative; z-index: 12; }
.sort-picker summary { min-width: 205px; min-height: 46px; padding: 0 12px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; list-style: none; transition: border-color .2s ease, box-shadow .2s ease; }
.sort-picker summary::-webkit-details-marker { display: none; }
.sort-picker summary:hover, .sort-picker[open] summary { border-color: #ef9ca0; box-shadow: 0 0 0 3px rgba(237,28,36,.07); }
.sort-picker summary > svg:first-child { width: 21px; height: 21px; color: var(--primary); }
.sort-picker summary span { min-width: 0; display: grid; font-size: 12px; font-weight: 700; }
.sort-picker summary small { color: #7a8288; font-size: 9px; font-weight: 600; }
.sort-chevron { width: 17px; height: 17px; margin-left: auto; transition: transform .2s ease; }
.sort-picker[open] .sort-chevron { transform: rotate(180deg); }
.sort-menu { position: absolute; top: calc(100% + 7px); right: 0; min-width: 225px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 18px 40px rgba(7,17,26,.16); }
.sort-menu a { min-height: 43px; display: flex; align-items: center; gap: 10px; padding: 0 11px; border-radius: 7px; color: #434b51; font-size: 12px; font-weight: 650; }
.sort-menu a:hover, .sort-menu a.selected { background: #fff4f4; color: var(--primary); }
.sort-menu svg { width: 19px; height: 19px; }

/* Kataloq filterinin vizual iyerarxiyası */
.filter-panel-title h3, .filter-heading { display: flex; align-items: center; gap: 8px; }
.filter-panel-title h3 svg { width: 21px; height: 21px; color: var(--primary); }
.filter-heading svg { width: 18px; height: 18px; color: var(--primary); }
.filter-sidebar { padding: 19px; }
.filter-block { padding: 16px 0; }
.filter-block h3 { font-size: 14px; }
.check-list { gap: 10px; }
.check-list label { align-items: center; font-size: 13px; line-height: 1.45; }
.check-list input { width: 17px; height: 17px; }
.room-grid button { min-height: 38px; font-size: 12px; font-weight: 650; }
.filter-sidebar .range-fields input { height: 41px; font-size: 12px; }

/* Xəritə pinləri və şəkilli popup */
.map-price-pin { min-width: max-content; height: 32px; padding: 0 10px; display: grid; place-items: center; border: 1px solid #f1d3d4; border-radius: 16px; background: #fff; color: var(--primary); font-family: "Manrope", Arial, sans-serif; font-size: 11px; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 11px rgba(33,44,54,.28); }
.map-price-pin.hl, .map-price-pin:hover { background: var(--primary); color: #fff; }
.listing-popup-shell .leaflet-popup-content-wrapper { padding: 0; overflow: hidden; border-radius: 11px; }
.listing-popup-shell .leaflet-popup-content { width: 270px !important; margin: 0; }
.map-listing-popup { display: grid; grid-template-columns: 104px 1fr; min-height: 96px; color: var(--ink); }
.map-listing-popup img { width: 104px; height: 96px; display: block; object-fit: cover; background: #edf0f2; }
.map-listing-popup > span { min-width: 0; padding: 10px; display: flex; flex-direction: column; }
.map-listing-popup b { overflow: hidden; font-size: 12px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.map-listing-popup small { margin-top: 4px; color: #70787e; font-size: 10px; }
.map-listing-popup strong { margin-top: auto; color: var(--primary); font-size: 14px; }

/* Qalereya keçidi və toxunma davranışı */
.detail-main-photo { touch-action: pan-y; user-select:none; cursor:zoom-in; }
.detail-main-photo.is-dragging { cursor:grabbing; }
.detail-main-photo > img { will-change: transform, opacity; }
.detail-main-photo > img, .gallery-lightbox-stage img { -webkit-user-drag:none; }
.gallery-transition-image { z-index: 1; }
.gallery-counter, .gallery-nav { z-index: 3; }
.gallery-lightbox { width:100vw; max-width:none; height:100vh; max-height:none; margin:0; padding:0; border:0; background:rgba(5,9,14,.96); color:#fff; }
.gallery-lightbox::backdrop { background:rgba(5,9,14,.96); }
.gallery-lightbox[open] { display:grid; place-items:center; }
.gallery-lightbox-stage { width:min(88vw,1400px); height:88vh; display:grid; place-items:center; touch-action:pan-y; cursor:grab; }
.gallery-lightbox-stage:active { cursor:grabbing; }
.gallery-lightbox-stage img { max-width:100%; max-height:100%; object-fit:contain; user-select:none; }
.gallery-lightbox-close, .gallery-lightbox-nav { position:fixed; z-index:2; display:grid; place-items:center; border:0; border-radius:50%; background:rgba(255,255,255,.14); color:#fff; cursor:pointer; }
.gallery-lightbox-close { top:22px; right:24px; width:48px; height:48px; font-size:32px; }
.gallery-lightbox-nav { top:50%; width:54px; height:54px; transform:translateY(-50%); font-size:38px; }
.gallery-lightbox-nav.prev { left:24px; }
.gallery-lightbox-nav.next { right:24px; }
.gallery-lightbox-close:hover, .gallery-lightbox-nav:hover { background:#fff; color:#161b20; }
.gallery-lightbox-counter { position:fixed; bottom:22px; left:50%; transform:translateX(-50%); padding:7px 13px; border-radius:18px; background:rgba(255,255,255,.14); font-size:13px; font-weight:800; }
.seller-stat-row { display:grid!important; grid-template-columns:22px minmax(0,1fr) auto; align-items:center; gap:8px; }
.seller-stat-row svg { width:19px; height:19px; fill:none; stroke:#687178; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.seller-stat-row b { font-size:13px; }
.safe-deal-title { display:flex; align-items:center; gap:8px; color:#b17608!important; }
.safe-deal-title svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
@media (max-width:680px) {
  .gallery-lightbox-stage { width:100vw; height:82vh; }
  .gallery-lightbox-nav { width:44px; height:44px; font-size:30px; }
  .gallery-lightbox-nav.prev { left:10px; }
  .gallery-lightbox-nav.next { right:10px; }
  .gallery-lightbox-close { top:12px; right:12px; }
}

/* Sayt üzrə çox xırda mətnlərin oxunaqlılığı */
.crumbs, .red-link { font-size: 13px; }
.field > span { font-size: 13px; }
.field input, .field select, .field textarea { font-size: 14px; }
.listing-copy h3 { font-size: 15px; }
.listing-copy p, .listing-meta { font-size: 12px; line-height: 1.5; }
.map-list-card h3 { font-size: 14px; }
.map-list-card p { font-size: 12px; }
.map-list-card strong { font-size: 16px; }
.agency-top p, .agency-stats, .benefit p, .team-copy p, .info-list, .rating-line,
.about-agency p, .about-agency li { font-size: 12px; line-height: 1.5; }
.compact-listing .listing-copy h3, .team-copy h3 { font-size: 13px; }
.detail-title-row p { font-size: 13px; }
.detail-location-line { display: flex; align-items: flex-start; gap: 7px; }
.detail-location-line svg { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 1px; fill: none; stroke: var(--primary); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.detail-location-line span { line-height: 1.55; }
.detail-operation-note { margin: 10px 0 0; color: #636b71; font-size: 13px; line-height: 1.5; }
.feature span { font-size: 12px; }
.feature b { font-size: 14px; }
.seller-kind { margin: 0; color: #697178; font-size: 12px; line-height: 1.45; }
.seller-listing-count { margin: 4px 0 0; font-size: 13px; line-height: 1.45; }
.seller-stats { gap: 13px; font-size: 13px; line-height: 1.45; }
.description-panel p { font-size: 13px; line-height: 1.65; }
.location-address { margin-bottom: 0; overflow-wrap: anywhere; font-size: 13px; line-height: 1.55; }
.map-expand-button { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid #f0c0c2; border-radius: 8px; background: #fff8f8; color: var(--primary); font-size: 13px; font-weight: 750; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.map-expand-button:hover { border-color: var(--primary); background: #fff0f1; }
.map-expand-button:focus-visible { outline: 3px solid rgba(237,28,36,.18); outline-offset: 2px; }
.map-expand-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.listing-map-dialog { width: calc(100vw - 32px); max-width: none; height: calc(100dvh - 32px); max-height: none; margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 28px 90px rgba(4,14,22,.38); }
.listing-map-dialog::backdrop { background: rgba(4,14,22,.64); backdrop-filter: blur(3px); }
.listing-map-dialog[open] { display: block; }
.listing-map-dialog-shell { height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr); }
.listing-map-dialog-head { position: relative; z-index: 2; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px 14px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.listing-map-dialog-head h2 { margin: 0; font-size: 20px; letter-spacing: -.25px; }
.listing-map-dialog-head p { margin: 3px 0 0; color: #626b72; font-size: 13px; }
.listing-map-dialog-head button { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: #3f474d; cursor: pointer; }
.listing-map-dialog-head button:hover { border-color: #efb0b3; background: #fff6f6; color: var(--primary); }
.listing-map-dialog-head button:focus-visible { outline: 3px solid rgba(22,114,235,.24); outline-offset: 2px; }
.listing-map-dialog-head button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.listing-map-full { width: 100%; height: 100%; min-height: 0; z-index: 1; background: #edf2e9; }
.step, .type-button, .radio-row label, .check-grid label { font-size: 13px; }
.preview-card p, .tariff-option p, .notice-card p { font-size: 12px; line-height: 1.5; }
.contact-card p, .contact-card small, .office-bubble p, .support-card p, .support-card a,
.faq-button, .faq-answer, .profile-user p, .verified span, .profile-menu a, .stat-card p,
.dashboard-copy p, .dashboard-meta, .message b, .message p, .message time, .saved-search b, .saved-search p { font-size: 12px; line-height: 1.5; }

/* Agentlik kataloqu */
.premium-agency, .directory-agency { padding: 18px; }
.agency-top h3 { font-size: 15px; line-height: 1.35; }
.agency-top p { margin-top: 3px; }
.agency-stats { margin-top: 14px; padding-top: 12px; }
.agency-tags .tag { min-height: 28px; padding-inline: 9px; font-size: 12px; }
.agency-actions .btn { min-height: 39px; font-size: 12px; }
.agency-cta-sub { margin: 5px 0; color: #555f66; font-size: 13px; line-height: 1.5; }
.benefit b { font-size: 14px; }

/* Agentlik profilinin oxunaqlığı, sosial əlaqələri və Yandex xəritəsi */
.agency-profile-copy p { font-size: 14px; line-height: 1.6; }
.hero-facts { font-size: 14px; }
.team-copy h3 { font-size: 14px; }
.team-copy p, .agency-side-card p, .agency-side-card small, .agency-location-address { font-size: 13px; line-height: 1.55; }
.agency-side-card .info-list { gap: 10px; font-size: 13px; }
.agency-safe-copy { margin: 0; color: #59636b; }
.agency-location-address { margin: 11px 0 8px; overflow-wrap: anywhere; color: #4f585f; }
.about-agency p, .about-agency li { font-size: 13px; line-height: 1.6; }
.agency-social-profile { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 4px; }
.agency-social-profile a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #dce1e4; border-radius: 50%; background: #fff; color: #303840; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.agency-social-profile a:hover { border-color: #ef8d91; background: #fff6f6; color: var(--primary); transform: translateY(-2px); }
.agency-social-profile svg { width: 21px; height: 21px; }
.agency-yandex-map { height: 230px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #edf2e9; }
.agency-yandex-map iframe { width: 100%; height: 100%; border: 0; }
.photo-count.view-count { display: inline-flex; align-items: center; gap: 5px; }
.photo-count.view-count svg { width: 15px; height: 15px; }

/* Agentlik qeydiyyatı və kabinetdə profil redaktəsi */
.agency-register-card { max-width: 920px; margin: 0 auto; padding: 28px; }
.agency-register-heading span { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; }
.agency-register-heading h1 { margin: 5px 0; font-size: 28px; }
.agency-register-heading p { margin: 0 0 22px; color: #5f686f; font-size: 14px; }
.agency-register-form { display: grid; gap: 18px; }
.form-grid-2, .social-profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.agency-map-picker { width: 100%; height: 360px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #edf2e9; }
.map-picker-hint { margin: -10px 0 0; color: #687178; font-size: 12px; }
.agency-profile-settings { padding: 22px; }
.agency-profile-settings .panel-title { align-items: flex-start; margin-bottom: 18px; }
.agency-profile-settings .panel-title p { margin: 4px 0 0; color: #626b72; font-size: 13px; }
.agency-profile-settings form { display: grid; gap: 15px; }
.social-profile-fields { margin-top: 2px; }

/* Ümumi son tipoqrafiya auditi */
.status { font-size: 10px; }
.price span, .map-listing-popup small { font-size: 11px; }
.agency-card p, .photo-hint, .profile-title small, .completion p { font-size: 12px !important; line-height: 1.5; }
.completion b { font-size: 13px !important; }
.region-grid a { font-size: 13px; }
.section-heading a { font-size: 12px; }
.upload-drop { font-size: 13px; }
.form-error { font-size: 12px; }

/* Əlaqə səhifəsi */
.contact-card { min-height: 116px; }
.contact-card > div:last-child { min-width: 0; }
.contact-icon svg { width: 23px; height: 23px; }
.contact-card h3 { font-size: 14px; }
.contact-card p { overflow-wrap: anywhere; font-size: 13px; line-height: 1.4; }
.contact-card small { display: inline-block; margin-top: 3px; font-size: 12px; line-height: 1.4; }
.contact-form h2, .support-section h2, .faq-section h2 { font-size: 20px; }
.contact-privacy-note { margin: 15px 0 0; color: #687179; text-align: center; font-size: 12px; line-height: 1.5; }
.contact-map.yandex-map { position: relative; min-height: 470px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #edf2e9; }
.contact-map.yandex-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-map.yandex-map .office-bubble { z-index: 2; }
.office-bubble h3 { font-size: 16px; }
.office-bubble p { font-size: 12px; line-height: 1.5; }
.support-card { padding: 18px; }
.support-card h3 { font-size: 14px; }
.support-card p { min-height: 0; font-size: 12px; line-height: 1.55; }
.support-card strong { font-size: 16px; }
.support-card a { font-size: 12px; }
.faq-button { min-height: 54px; font-size: 13px; }
.faq-answer { padding-bottom: 16px; font-size: 12px; line-height: 1.6; }

/* Kabinet naviqasiyası və elan əməliyyatları */
.profile-menu a { min-height: 52px; padding-inline: 16px; gap: 11px; font-size: 14px; font-weight: 650; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.profile-menu a > svg { flex: 0 0 auto; width: 20px; height: 20px; stroke-width: 1.9; }
.profile-menu a:hover { color: var(--primary); background: #fff6f6; }
.profile-menu a > span:not(.tag):not(.menu-balance) { min-width: 0; }
.profile-menu .menu-balance { font-size: 11px; }
.profile-user p { font-size: 13px; line-height: 1.5; }
.avatar-form { margin-bottom: 10px; }
.avatar-form .avatar { display: block; overflow: visible; cursor: pointer; background: #eef1f3; outline: 3px solid #fff; box-shadow: 0 0 0 1px #dce1e4, 0 7px 18px rgba(24, 35, 43, .12); }
.avatar-form .avatar img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; }
.avatar-form .avatar input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.avatar-form .avatar > span { position: absolute; right: -4px; bottom: 1px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(198, 27, 36, .3); transition: transform .18s ease, background .18s ease; }
.avatar-form .avatar > span svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.avatar-form .avatar:hover > span { transform: scale(1.08); background: #ae171e; }
.avatar-form .avatar:focus-within { box-shadow: 0 0 0 3px rgba(210, 25, 34, .2); }
.avatar-form > small { display: block; color: #687178; font-size: 11px; font-weight: 650; }
.dashboard-highlights { margin: 0 0 24px; }
.favorites-preview { grid-column: span 2; }
.icon-heading { display: flex; align-items: center; gap: 9px; }
.panel-heading-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: #eaf8ef; color: #159b4b; }
.panel-heading-icon.heart { background: #fff0f1; color: var(--primary); }
.panel-heading-icon.listings { background: #edf5ff; color: #176dd0; }
.panel-heading-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stat-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dash-panel h3.icon-heading, .panel-title h2.icon-heading { margin: 0; font-size: 18px; }
.profile-verification-list { margin-top: 14px; }
.profile-verification-list span { color: #179c4b; font-size: 12px; }
.completion-settings { margin-top: 13px; }
.favorites-empty { color: #6a737a; font-size: 13px; }
.agency-register-embedded { max-width: none; min-height: 0; }
.agency-register-embedded .agency-wide-field { grid-column: 1 / -1; }
.listing-action-btn { justify-content: flex-start; gap: 7px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease; }
.listing-action-btn svg { width: 17px; height: 17px; }
.listing-action-btn:hover { transform: translateY(-1px); border-color: #ef9296; box-shadow: 0 5px 14px rgba(27, 37, 45, .1); }
.listing-action-btn.danger:hover { background: #fff1f1; color: #c91a22; }
.listing-action-btn.premium-action { border-color: #efbe45; color: #9b6800; background: #fffaf0; }
.listing-action-btn.premium-action:hover { border-color: #e1a817; background: #fff4d6; color: #7a5100; }
.listing-action-btn.renew-action { border-color: #9dd9bb; background: #effaf4; color: #147a47; white-space: nowrap; }
.listing-action-btn.renew-action svg { width: 19px; height: 19px; }
.listing-action-btn.renew-action:hover { border-color: #65bd91; background: #e3f7ed; color: #0d683a; }
.dashboard-highlights .dash-panel > h3.icon-heading { margin-bottom: 15px; }
.settings-verified-label { display: inline-flex; align-items: center; gap: 6px; }
.settings-verified-label svg { width: 18px; height: 18px; fill: none; stroke: #159b4b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.action-dialog { width: min(520px, calc(100% - 28px)); max-width: none; border: 0; padding: 0; border-radius: 16px; background: transparent; color: var(--ink); box-shadow: 0 24px 70px rgba(5, 17, 27, .28); }
.action-dialog::backdrop { background: rgba(4, 15, 24, .66); backdrop-filter: blur(3px); }
.action-dialog-card { position: relative; padding: 28px; border-radius: 16px; background: #fff; text-align: center; }
.action-dialog-card h2 { margin: 12px 0 7px; font-size: 22px; }
.action-dialog-card > p { margin: 0; color: #626b72; font-size: 14px; line-height: 1.55; }
.action-dialog-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto; border-radius: 50%; }
.action-dialog-icon svg { width: 27px; height: 27px; }
.action-dialog-icon.danger { background: #fff0f1; color: #d51d25; }
.action-dialog-icon.premium { background: #fff5d9; color: #bd7b00; }
.action-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.dialog-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f3f5f6; color: #4f575d; font-size: 24px; line-height: 1; }
.dialog-x:hover { background: #e9ecee; color: #111; }
.premium-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 20px; }
.premium-plan-grid label { cursor: pointer; }
.premium-plan-grid input { position: absolute; opacity: 0; pointer-events: none; }
.premium-plan-grid span { min-height: 96px; display: flex; flex-direction: column; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.premium-plan-grid b { font-size: 13px; }
.premium-plan-grid strong { color: #9b6800; font-size: 14px; }
.premium-plan-grid input:checked + span { border-color: #e2aa24; background: #fff8e6; box-shadow: 0 0 0 3px rgba(226, 170, 36, .12); transform: translateY(-2px); }

/* Elan növü kartları */
.property-types { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.type-button { min-height: 98px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; color: #4f5961; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 8px rgba(12, 22, 34, .035); transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease; }
.type-button b { width: 42px; height: 42px; display: grid; place-items: center; margin: 0; border-radius: 11px; background: #f4f6f7; color: #626d75; transition: color .2s ease, background .2s ease; }
.type-button b svg { width: 24px; height: 24px; }
.type-button:hover { transform: translateY(-2px); border-color: #efaaad; color: var(--primary); box-shadow: 0 8px 20px rgba(19, 29, 38, .08); }
.type-button:hover b, .type-button.selected b { background: #ffecee; color: var(--primary); }
.type-button.selected { border-width: 2px; background: #fff8f8; box-shadow: 0 0 0 3px rgba(237, 28, 36, .07); }
.type-button.selected::after { content: '✓'; position: absolute; top: 8px; right: 9px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; }
.field[hidden] { display: none !important; }
.field.is-required > span::after { content: ' *'; color: var(--primary); }

@media (max-width: 680px) {
  .premium-plan-grid { grid-template-columns: 1fr; }
  .premium-plan-grid span { min-height: 64px; }
  .action-dialog-card { padding: 24px 18px; }
  .property-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .favorites-preview { grid-column: auto; }
  .listing-map-dialog { width: 100vw; height: 100dvh; border-radius: 0; }
  .listing-map-dialog-head { min-height: 72px; padding: 12px 12px 12px 16px; }
  .listing-map-dialog-head h2 { font-size: 17px; }
  .listing-map-dialog-head p { max-width: 72vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .map-expand-button { min-height: 44px; }
}

/* Daxili səhifələr üçün vahid və yığcam hero */
.subhero.page-header { min-height: 116px; }
.subhero.page-header.has-copy { min-height: 238px; }
.subhero.page-header.has-search { min-height: 218px; }
.subhero.page-header.has-copy.has-search { min-height: 330px; }
.subhero.page-header .inner-hero-copy { padding-top: 30px; }
.subhero.page-header .inner-hero-copy h1 { font-size: 30px; }
.subhero.page-header .inner-hero-copy p { font-size: 15px; }
.subhero.page-header .hero-facts { margin-top: 14px; font-size: 13px; }
.subhero.page-header .rating-fact { color: #ffb100; }

/* Kataloq rayonları səhifəni uzatmır, öz daxilində scroll olur */
.district-filter-list { height: 252px; overflow-y: auto; overscroll-behavior: contain; padding: 2px 7px 2px 1px; scrollbar-gutter: stable; }
.district-filter-list::-webkit-scrollbar { width: 7px; }
.district-filter-list::-webkit-scrollbar-thumb { border-radius: 8px; background: #c8cdd1; }

/* Xəritənin sol siyahısında şəkillər sabit 4:3 nisbətindədir */
.map-list { align-content: start; grid-auto-rows: max-content; }
.map-list-card { grid-template-columns: 136px minmax(0, 1fr); min-height: 102px; align-items: start; }
.map-list-card .mini-photo { width: 100%; aspect-ratio: 4 / 3; align-self: start; }
.map-list-card .mini-copy { min-width: 0; padding: 7px 10px; }
.map-list-card .mini-copy h3 { margin-bottom: 2px; line-height: 1.3; }
.map-list-card .mini-copy p { margin-bottom: 3px; line-height: 1.35; }
.map-list-card .mini-copy strong { line-height: 1.25; }
.map-list-card .mini-copy h3 a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.map-list-card .listing-meta { flex-wrap: wrap; margin-top: 5px; padding-top: 5px; }
body[data-page="anns-map"] .result-bar .chip { min-height: 34px; padding-inline: 12px; font-size: 13px; font-weight: 650; }

@media (max-width: 900px) {
  .subhero.page-header.has-search { min-height: 400px; }
  .subhero.page-header.has-copy.has-search { min-height: 510px; }
}
@media (max-width: 680px) {
  .subhero.page-header { min-height: 92px; }
  .subhero.page-header.has-copy { min-height: 220px; }
  .subhero.page-header.has-search { min-height: 430px; }
  .subhero.page-header.has-copy.has-search { min-height: 540px; }
  .subhero.page-header .inner-hero-copy { padding-top: 25px; }
  .subhero.page-header .catalog-filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subhero.page-header .catalog-search-actions { grid-column: 1 / -1; }
  .map-list-card { grid-template-columns: 124px minmax(0, 1fr); }
}

/* Mobil incəlikləri */
@media (max-width: 720px) {
  .lang-btn { height: 30px; padding: 0 7px; font-size: 11px; }
  .photo-manager { grid-template-columns: repeat(2, 1fr); }
  .real-map { min-height: 420px; }
  .filter-dialog { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .filter-dialog-form { max-height: 92dvh; }
  .filter-dialog-head, .filter-dialog-body, .filter-dialog-actions { padding-left: 16px; padding-right: 16px; }
  .two-columns { grid-template-columns: 1fr; }
  .district-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-dialog-actions .btn { min-width: 0; flex: 1; }
  .sort-picker summary { min-width: 185px; }
  .form-grid-2, .social-profile-fields { grid-template-columns: 1fr; }
  .agency-register-card { padding: 20px 16px; }
  .agency-map-picker { height: 300px; }
}

@media (max-width: 420px) {
  .district-options { grid-template-columns: 1fr; }
  .segmented-options span { min-width: 92px; }
  .room-options span { min-width: 50px; padding-inline: 12px; }
  .filter-dialog-actions { align-items: stretch; }
}
