﻿/* ============================================================================
   РљР›РђРЎРўР•Р  2.0 вЂ” РўР•РЎРўРћР’Р«Р™ РњРРќРРњРђР›РРЎРўРР§РќР«Р™ Р”РР—РђР™Рќ (iTab Style)
   Р”РѕСЂР°Р±РѕС‚Р°РЅРЅР°СЏ РІРµСЂСЃРёСЏ (v1.2):
   - Р•РґРёРЅР°СЏ СЃРµС‚РєР° 1280px РґР»СЏ РІСЃРµР№ РІРµСЂС‚РёРєР°Р»Рё СЃС‚СЂР°РЅРёС†С‹.
   - 4 РєСЂСѓРїРЅС‹Рµ РєРѕР»РѕРЅРєРё РЅР° РґРµСЃРєС‚РѕРїРµ (~300px) Рё 2 Р°РґР°РїС‚РёРІРЅС‹Рµ РєРѕР»РѕРЅРєРё РЅР° СЃРјР°СЂС‚С„РѕРЅР°С….
   - Р—Р°РєСЂСѓРіР»РµРЅРёСЏ С„РѕС‚Рѕ РїРѕР»РЅРѕСЃС‚СЊСЋ Р»РёРєРІРёРґРёСЂРѕРІР°РЅС‹ (border-radius: 0 РЅР° С„РѕС‚Рѕ Рё РѕР±С‘СЂС‚РєРµ).
   - Р’РµСЂС… Рё РЅРёР· РєР°СЂС‚РѕС‡РєРё РёРјРµСЋС‚ СЃС‚СЂРѕРіРѕ РѕРґРёРЅР°РєРѕРІС‹Р№ СЂР°РґРёСѓСЃ 10px (overflow: hidden).
   - РђРґСЂРµСЃ РЎРўР РћР“Рћ РІ РґРІРµ СЃС‚СЂРѕРєРё (РЅР°СЃРµР»РµРЅРЅС‹Р№ РїСѓРЅРєС‚ + СЂР°Р№РѕРЅ), РІС‹СЃРѕС‚Р° СЃС‚СЂРѕРіРѕ 40px Р±РµР· РїСѓСЃС‚С‹С… РґС‹СЂ.
   - РљРЅРѕРїРєР° РєР°СЂС‚С‹ [ рџ—єпёЏ ] РїРµСЂРµРјРµС‰РµРЅР° РІР»РµРІРѕ РІ РЅРёР¶РЅРµРј СЂСЏРґСѓ, Р° [ Р—Р°Р±СЂР°С‚СЊ Р»РѕС‚ ] вЂ” СЃРїСЂР°РІР°.
   - РџР°СЂСЏС‰Р°СЏ РєРЅРѕРїРєР° РґРѕР±Р°РІР»РµРЅРёСЏ РїСЂРёРІРµРґРµРЅР° Рє РјРёРЅРёРјР°Р»РёСЃС‚РёС‡РЅРѕРјСѓ СЃС‚Р°РЅРґР°СЂС‚Сѓ (СЂР°РґРёСѓСЃ 10px, Р±РµР· 9999px).
   ============================================================================ */

/* 1. Р‘РђР—РћР’РђРЇ РџРђР›РРўР Рђ Р РЎР‘Р РћРЎ РўР•РќР•Р™ */
body.mode-variant-1,
body.mode-variant-itab {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

/* 2. РЁРђРџРљРђ: Р§РРЎРўРђРЇ, РЎРўР РћР“Рћ Р’ РЎР•РўРљР• 1280px */
#header {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #eef2f6 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
  border-radius: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 4000 !important;
  padding-top: max(8px, env(safe-area-inset-top)) !important;
  padding-bottom: 8px !important;
  padding-left: max(16px, calc((100% - 1280px) / 2 + 16px)) !important;
  padding-right: max(16px, calc((100% - 1280px) / 2 + 16px)) !important;
}

/* РљРќРћРџРљРђ В«Р”РћР‘РђР’РРўР¬ РћР‘РЄРЇР’Р›Р•РќРР•В» Р’ РЁРђРџРљР• РЎРђР™РўРђ (iTab Modern v1.8) */
.btn-header-add-lot {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  background: #10b981 !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.28) !important;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease !important;
  flex-shrink: 0 !important;
  order: -1 !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.btn-header-add-lot:hover {
  background: #059669 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.38) !important;
  color: #ffffff !important;
}

.btn-header-add-lot:active {
  transform: translateY(0) scale(0.96) !important;
}

.btn-header-add-lot svg {
  flex-shrink: 0 !important;
  stroke: #ffffff !important;
}

.btn-header-add-text {
  display: inline !important;
}

/* Р Р°Р·РґРµР»С‹: РІРµС‰Рё, С‚СЂР°РЅСЃРїРѕСЂС‚, РјР°СЃС‚РµСЂР° */
.btn-header-add-lot.btn-add-items {
  background: #10b981 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.28) !important;
}
.btn-header-add-lot.btn-add-items:hover {
  background: #059669 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.38) !important;
}

.btn-header-add-lot.btn-add-transport {
  background: #f59e0b !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.28) !important;
}
.btn-header-add-lot.btn-add-transport:hover {
  background: #d97706 !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.38) !important;
}

.btn-header-add-lot.btn-add-masters {
  background: #0ea5e9 !important;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.28) !important;
}
.btn-header-add-lot.btn-add-masters:hover {
  background: #0284c7 !important;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.38) !important;
}

/* 3. РћР‘РЄР•Р”РРќР•РќРќРђРЇ РќРђР’РР“РђР¦РРћРќРќРђРЇ РџРћР›РљРђ (РўРђР‘Р« + РЎРњРђР Рў-РџРћРРЎРљ Р’ 1 РЎРўР РћРљРЈ РќРђ Р”Р•РЎРљРўРћРџР•) */
.unified-nav-shelf {
  max-width: 1280px !important;
  margin: 10px auto 14px !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.unified-nav-shelf .hub-mode-switcher-shelf {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
  display: flex !important;
}

.hub-mode-switcher-shelf {
  margin: 0 !important;
  padding: 0 !important;
}

.unified-nav-shelf .hub-mode-segmented-control,
.hub-mode-segmented-control {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 4px !important;
  gap: 4px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.unified-nav-shelf .hub-mode-btn,
.hub-mode-btn {
  border-radius: 6px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  padding: 0 14px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.15s ease !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

.unified-nav-shelf .hub-mode-btn:hover,
.hub-mode-btn:hover {
  color: #0f172a !important;
  background: #f8fafc !important;
}

.unified-nav-shelf .hub-mode-btn.active,
.hub-mode-btn.active {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
  font-weight: 700 !important;
}

/* 4. Р•Р”РРќРђРЇ РЎРњРђР Рў-РџРђРќР•Р›Р¬ РџРћРРЎРљРђ (SMART HUD) */
.unified-nav-shelf .smart-hud-shelf {
  position: relative !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 0% !important;
  min-width: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

.smart-hud-shelf {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.unified-nav-shelf .smart-hud-bar,
.smart-hud-bar {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  height: 48px !important;
  padding: 0 10px 0 14px !important;
  box-sizing: border-box !important;
}

.smart-hud-bar:focus-within {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.12) !important;
}

/* Элементы внутри поисковой смарт-панели (Десктоп) */
.smart-hud-search-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 100% !important;
}

.smart-hud-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  color: #10b981 !important;
}

.smart-hud-icon svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #10b981 !important;
}

.smart-hud-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 100% !important;
  font-size: 14px !important;
  color: #0f172a !important;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: inherit !important;
}

.smart-hud-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

.smart-hud-divider {
  width: 1px !important;
  height: 24px !important;
  background: #e2e8f0 !important;
  flex-shrink: 0 !important;
  margin: 0 4px !important;
}

.smart-hud-sub-controls {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.smart-hud-sub-divider {
  display: none !important;
}

.smart-hud-location-btn,
.smart-hud-map-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  height: 36px !important;
  border-radius: 6px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 0 12px !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
}

.smart-hud-map-btn svg {
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
}

.smart-hud-loc-dot {
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  margin-right: 6px !important;
  flex-shrink: 0 !important;
}

.smart-hud-location-btn:hover,
.smart-hud-map-btn:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.smart-hud-map-btn.map-active {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

/* ==========================================================================
   10. ПРЕМИАЛЬНЫЙ СТЕКЛЯННЫЙ ПОПОВЕР ВЫБОРА РАДИУСА В SMART HUD (AIRBNB STYLE)
   ========================================================================== */
.smart-hud-shelf,
.unified-nav-shelf .smart-hud-shelf {
  position: relative !important;
}

.radius-popover-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 76px !important;
  left: auto !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  box-shadow: 0 16px 40px -4px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  z-index: 10000 !important;
  width: 270px !important;
  box-sizing: border-box !important;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.radius-popover-header {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  display: block !important;
  line-height: 1 !important;
  font-family: inherit !important;
}

.radius-popover-chips {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
  margin-bottom: 12px !important;
  padding: 0 !important;
}

.popover-chip {
  padding: 7px 4px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: all 0.15s ease !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  line-height: 1.2 !important;
}

.popover-chip:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.popover-chip.active {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35) !important;
}

.radius-popover-footer {
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 10px !important;
  margin-top: 0 !important;
}

.popover-change-city-btn {
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  background: #f0fdf4 !important;
  border: 1px solid #dcfce7 !important;
  color: #059669 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  cursor: pointer !important;
  border-radius: 8px !important;
  transition: all 0.15s ease !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
}

.popover-change-city-btn svg {
  stroke: #059669 !important;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
}

.popover-change-city-btn:hover {
  background: #dcfce7 !important;
  border-color: #bbf7d0 !important;
  color: #047857 !important;
}

.categories-bar-wrapper {
  max-width: 1280px !important;
  margin: 0 auto 12px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

.categories-bar .category-chip {
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 7px 14px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02) !important;
  transition: all 0.15s ease !important;
}

.categories-bar .category-chip:hover {
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  transform: none !important;
}

.categories-bar .category-chip.active {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.categories-bar .category-chip.active .chip-icon svg {
  stroke: #ffffff !important;
}

/* ПОДКАТЕГОРИИ 2-ГО УРОВНЯ (СТРОГО В СЕТКЕ 1280px) */
.subcategories-bar-wrapper {
  max-width: 1280px !important;
  margin: -4px auto 14px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  position: relative !important;
}

.subcategories-bar {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  background: #f8fafc !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
}

.subcategories-bar::-webkit-scrollbar {
  display: none !important;
}

.subcategories-bar .subcategory-chip {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.subcategories-bar .subcategory-chip:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.subcategories-bar .subcategory-chip.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15) !important;
}


.category-chip .chip-badge-counter {
  border-radius: 4px !important;
  font-size: 10.5px !important;
  padding: 1px 5px !important;
  background: rgba(15, 23, 42, 0.08) !important;
}

.category-chip.active .chip-badge-counter {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* 6. РЎР•РўРљРђ РћР‘РЄРЇР’Р›Р•РќРР™ (4 РљР РЈРџРќР«Р• РљРћР›РћРќРљР РќРђ Р”Р•РЎРљРўРћРџР•, 2 РќРђ РњРћР‘РР›Р¬РќР«РҐ) */
#lots-container {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 16px 60px !important;
  box-sizing: border-box !important;
}

#lots-list {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin-top: 0 !important;
  padding-bottom: 40px !important;
}

@media (max-width: 1180px) {
  #lots-list {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 768px) {

  .radius-popover-menu {
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.2) !important;
  }


  #lots-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 0 !important;
  }
}

/* 7. РљРђР РўРћР§РљРђ Р›РћРўРђ: Р•Р”РРќР«Р™ Р РђР”РРЈРЎ 10px РЎР’Р•Р РҐРЈ Р РЎРќРР—РЈ */
body.mode-variant-1 .lot-card,
body.mode-variant-itab .lot-card,
.lot-card,
.lot-card.itab-card {
  background: #ffffff !important;
  border: 1px solid #eef2f6 !important;
  border-radius: 10px !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
  box-sizing: border-box !important;
}

.lot-card:hover,
.lot-card.itab-card:hover {
  transform: translateY(-2px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08) !important;
}

/* Р¤РћРўРћ-РљРћРќРўР•Р™РќР•Р : РЎРўР РћР“Рћ Р‘Р•Р— Р—РђРљР РЈР“Р›Р•РќРР™ (РћР‘Р Р•Р—РђР•РўРЎРЇ РљРђР РўРћР§РљРћР™) */
body.mode-variant-1 .lot-img-wrap,
body.mode-variant-1 .itab-img-wrap,
body.mode-variant-itab .lot-img-wrap,
body.mode-variant-itab .itab-img-wrap,
.lot-card .lot-img-wrap,
.lot-card .itab-img-wrap,
.lot-img-wrap,
.itab-img-wrap {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  background: #f1f5f9 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

body.mode-variant-1 .lot-img,
body.mode-variant-1 .itab-img,
.lot-card .lot-img,
.lot-card .itab-img,
.lot-img,
.itab-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  border: none !important;
  outline: none !important;
  display: block !important;
  transition: transform 0.25s ease !important;
}

.lot-card:hover .lot-img,
.lot-card:hover .itab-img {
  transform: scale(1.025) !important;
}

/* Р—РђР“Р›РЈРЁРљРђ Р‘Р•Р— Р¤РћРўРћ */
.itab-no-photo .lot-no-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

/* Р‘Р•Р™Р”Р–Р Р РђРЎРЎРўРћРЇРќРРЇ Р Р’РђРЁ Р›РћРў */
.lot-distance-badge,
.lot-photo-badge,
.lot-owner-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 5 !important;
  background: rgba(15, 23, 42, 0.82) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

.lot-owner-badge {
  background: rgba(30, 64, 175, 0.9) !important;
}

/* РР—Р‘Р РђРќРќРћР• Р’ РџР РђР’РћРњ РЈР“Р›РЈ Р¤РћРўРћ */
.btn-lot-favorite,
.itab-fav-btn {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 6 !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.15s ease !important;
  padding: 0 !important;
}

.btn-lot-favorite:hover,
.itab-fav-btn:hover {
  background: #ffffff !important;
  color: #ef4444 !important;
  transform: scale(1.08) !important;
}

.btn-lot-favorite.active {
  background: #ffffff !important;
  color: #ef4444 !important;
}

.btn-lot-favorite.active svg {
  fill: #ef4444 !important;
  stroke: #ef4444 !important;
}

/* РњРЈР›Р¬РўРР¤РћРўРћ-РҐРћР’Р•Р  Р—РћРќР« Р РўРћР§РљР */
.lot-photo-hover-zones {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  z-index: 3 !important;
}

.lot-photo-hover-zone {
  flex: 1 !important;
  height: 100% !important;
}

.lot-photo-dots,
.vehicle-photo-dots {
  position: absolute !important;
  bottom: 8px !important;
  left: 8px !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 6px !important;
  border-radius: 9999px !important;
  background: rgba(15, 23, 42, 0.55) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
  z-index: 4 !important;
  pointer-events: none !important;
  max-width: calc(100% - 64px) !important;
  box-sizing: border-box !important;
}

.lot-photo-dot,
.vehicle-photo-dot {
  width: 5px !important;
  height: 5px !important;
  min-width: 5px !important;
  min-height: 5px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
}

.lot-photo-dot.active,
.vehicle-photo-dot.active {
  width: 14px !important;
  min-width: 14px !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.btn-quick-view-glass {
  position: absolute !important;
  bottom: 8px !important;
  right: 8px !important;
  z-index: 5 !important;
  background: rgba(15, 23, 42, 0.8) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 3px 7px !important;
  border-radius: 5px !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

/* РўР•Р›Рћ РљРђР РўРћР§РљР (iTab Anatomy) */
.itab-card-body {
  padding: 12px 14px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  gap: 5px !important;
  background: #ffffff !important;
  border-radius: 0 0 9px 9px !important;
}

/* Р‘Р›РћРљ Р¦Р•РќР« Р РљРђРўР•Р“РћР РР Р’ 1 РЎРўР РћРљРЈ (iTab Modern v1.6: Р¦РµРЅР° СЃР»РµРІР°, РљР°С‚РµРіРѕСЂРёСЏ СЃРїСЂР°РІР°) */
.itab-price-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  margin-bottom: 5px !important;
}

.itab-price-primary {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.itab-price-primary.is-free {
  color: #059669 !important;
}

.itab-price-cat {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  overflow: hidden !important;
  max-width: 60% !important;
}

.itab-price-cat .category-badge {
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  border: 1px solid #e2e8f0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}

/* Р—РђР“РћР›РћР’РћРљ РљРђР РўРћР§РљР Р’ 2 РЎРўР РћРљР */
.itab-card-title {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 38px !important;
  transition: color 0.15s ease !important;
}

.lot-card:hover .itab-card-title {
  color: #059669 !important;
}

/* Р“Р•Рћ-Р›РћРљРђР¦РРЇ: РЎРўР РћР“Рћ 2 РЎРўР РћРљР РЎ Р¤РРљРЎРР РћР’РђРќРќРћР™ Р’Р«РЎРћРўРћР™ (РќРРљРђРљРРҐ РџРЈРЎРўР«РҐ РЎРўР РћРљ) */
.itab-location-row {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 40px !important;
  max-height: 40px !important;
  gap: 2px !important;
  margin-top: 2px !important;
  width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.itab-loc-primary {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.25 !important;
}

.itab-pin-icon {
  width: 12px !important;
  height: 12px !important;
  color: #10b981 !important;
  flex-shrink: 0 !important;
}

.itab-loc-settlement {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.itab-loc-secondary {
  display: block !important;
  width: 100% !important;
  font-size: 11.5px !important;
  color: #64748b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.25 !important;
  padding-left: 16px !important;
}

/* 8. РќРР–РќРР™ Р РЇР” Р”Р•Р™РЎРўР’РР™:
   [ рџ—єпёЏ ] (СЃР»РµРІР° РєР°Рє РІСЃРїРѕРјРѕРіР°С‚РµР»СЊРЅС‹Р№ РёРЅСЃС‚СЂСѓРјРµРЅС‚) + [ Р—Р°Р±СЂР°С‚СЊ Р»РѕС‚ ] (СЃРїСЂР°РІР° РєР°Рє РѕСЃРЅРѕРІРЅРѕРµ РґРµР№СЃС‚РІРёРµ).
   Р›РёРєРІРёРґРёСЂРѕРІР°РЅ СЌС„С„РµРєС‚ РїСЂРёР±РёС‚РѕСЃС‚Рё РєРЅРѕРїРєРё РєР°СЂС‚С‹ Рє РїСЂР°РІРѕРјСѓ РєСЂР°СЋ! */
.itab-actions-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: auto !important;
  padding-top: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.itab-map-action-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.itab-map-action-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

.itab-map-action-btn:active {
  transform: scale(0.96) !important;
}

.itab-cta-btn {
  flex: 1 !important;
  height: 38px !important;
  border-radius: 8px !important;
  background: #10b981 !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.15s ease !important;
  box-shadow: none !important;
  padding: 0 10px !important;
  font-family: inherit !important;
}

.itab-cta-btn:hover {
  background: #059669 !important;
}

.itab-cta-btn:active {
  transform: scale(0.98) !important;
}

.itab-cta-btn.is-owner-btn {
  background: #f1f5f9 !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
}

.itab-cta-btn.is-owner-btn:hover {
  background: #e2e8f0 !important;
}

.itab-cta-btn.is-free-btn {
  background: #059669 !important;
}

.itab-cta-btn.is-free-btn:hover {
  background: #047857 !important;
}

/* 9. Р‘РђР›РЈРќР« РќРђ РљРђР РўР• (LEAFLET MAP POPUP) вЂ” РЎР’Р•РўР›Р«Р™ РЎРўРР›Р¬ Р’ Р”РР—РђР™РќР• РЎРђР™РўРђ (LIGHT ITAB STYLE) */
.custom-map-popup .leaflet-popup-content-wrapper,
.transport-glass-popup .leaflet-popup-content-wrapper,
.master-glass-popup .leaflet-popup-content-wrapper {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.custom-map-popup .leaflet-popup-tip,
.transport-glass-popup .leaflet-popup-tip,
.master-glass-popup .leaflet-popup-tip {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-top: none !important;
  border-left: none !important;
  box-shadow: none !important;
  border-radius: 2px !important;
}

.custom-map-popup .leaflet-popup-content,
.transport-glass-popup .leaflet-popup-content,
.master-glass-popup .leaflet-popup-content {
  margin: 12px !important;
  color: #0f172a !important;
  font-family: inherit !important;
  max-width: calc(100vw - 36px) !important;
}

/* РљРЅРѕРїРєР° Р·Р°РєСЂС‹С‚РёСЏ Р±Р°Р»СѓРЅР° (Р°РєРєСѓСЂР°С‚РЅС‹Р№ СЃРІРµС‚Р»С‹Р№ РєСЂСѓР¶РѕРє) */
.custom-map-popup .leaflet-popup-close-button,
.transport-glass-popup .leaflet-popup-close-button,
.master-glass-popup .leaflet-popup-close-button {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  top: 9px !important;
  right: 9px !important;
  width: 26px !important;
  height: 26px !important;
}

.custom-map-popup .leaflet-popup-close-button:hover,
.transport-glass-popup .leaflet-popup-close-button:hover,
.master-glass-popup .leaflet-popup-close-button:hover {
  background: #fee2e2 !important;
  color: #ef4444 !important;
  border-color: #fca5a5 !important;
  transform: scale(1.08) !important;
}

/* Р¤РѕС‚Рѕ РІ Р±Р°Р»СѓРЅРµ: СЃС‚СЂРѕРіРѕ 6px, relative РґР»СЏ Р±РµР№РґР¶Р° */
.custom-map-popup .map-popup-photo-wrap,
.transport-glass-popup .map-popup-photo-wrap,
.custom-map-popup div[style*="width: 56px"],
.custom-map-popup div[style*="width:56px"],
.custom-map-popup div:has(> img),
.custom-map-popup img,
.transport-glass-popup img {
  border-radius: 6px !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  object-fit: cover !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Р‘РµР№РґР¶ В«Р’Р°С€ Р»РѕС‚В» / В«Р’Р°С€ Р±РѕСЂС‚В» РєРѕРјРїР°РєС‚РЅРѕ РїРѕРІРµСЂС… С„РѕС‚Рѕ РјРёРЅРёР°С‚СЋСЂС‹ РІ Р±Р°Р»СѓРЅРµ */
.custom-map-popup .map-popup-owner-badge,
.transport-glass-popup .map-popup-owner-badge {
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  padding: 1px 4.5px !important;
  border-radius: 4px !important;
  background: rgba(126, 34, 206, 0.92) !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
  z-index: 5 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

/* РЎС‚СЂРѕРєР° С†РµРЅС‹ Рё СЂР°СЃСЃС‚РѕСЏРЅРёСЏ РІ Р±Р°Р»СѓРЅРµ: СЃС‚СЂРѕРіРѕ РІ РѕРґРЅСѓ Р»РёРЅРёСЋ space-between */
.custom-map-popup .map-popup-price-row,
.transport-glass-popup .map-popup-price-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.custom-map-popup .map-popup-price-row > span:first-child,
.transport-glass-popup .map-popup-price-row > span:first-child {
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.custom-map-popup .map-popup-price-row span[style*="inline-flex"],
.transport-glass-popup .map-popup-price-row span[style*="inline-flex"] {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* Р—Р°РіРѕР»РѕРІРєРё РєР°СЂС‚РѕС‡РєРё РІ Р±Р°Р»СѓРЅРµ (С‚РµРјРЅС‹Рµ, С‡РµС‚РєРёРµ) */
.custom-map-popup span[style*="color: #ffffff"],
.custom-map-popup span[style*="color:#ffffff"],
.custom-map-popup div[style*="color: #ffffff"],
.custom-map-popup div[style*="color:#ffffff"],
.transport-glass-popup span[style*="color: #ffffff"],
.transport-glass-popup span[style*="color:#ffffff"],
.transport-glass-popup div[style*="color: #ffffff"],
.transport-glass-popup div[style*="color:#ffffff"],
.master-glass-popup div[style*="color: #ffffff"],
.master-glass-popup div[style*="color:#ffffff"] {
  color: #0f172a !important;
}

/* Р¦РµРЅС‹ РІ Р±Р°Р»СѓРЅРµ */
.custom-map-popup span[style*="#818cf8"],
.custom-map-popup span[style*="rgb(129, 140, 248)"],
.transport-glass-popup span[style*="#818cf8"],
.transport-glass-popup span[style*="rgb(129, 140, 248)"] {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.custom-map-popup span[style*="#34d399"],
.custom-map-popup span[style*="rgb(52, 211, 153)"],
.transport-glass-popup span[style*="#34d399"],
.transport-glass-popup span[style*="rgb(52, 211, 153)"] {
  color: #059669 !important;
  font-weight: 800 !important;
}

/* РџР»Р°С€РєР° СЂР°СЃСЃС‚РѕСЏРЅРёСЏ (~ 128.6 РєРј) */
.custom-map-popup span[style*="inline-flex"],
.transport-glass-popup span[style*="inline-flex"],
.master-glass-popup span[style*="inline-flex"] {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}

.custom-map-popup span[style*="inline-flex"] svg,
.transport-glass-popup span[style*="inline-flex"] svg,
.master-glass-popup span[style*="inline-flex"] svg {
  stroke: #64748b !important;
}

/* Р‘РµР№РґР¶ В«Р’Р°С€ Р»РѕС‚В» / В«Р’Р°С€ С‚СЂР°РЅСЃРїРѕСЂС‚В» */
.custom-map-popup span[style*="rgba(168, 85, 247"],
.transport-glass-popup span[style*="rgba(168, 85, 247"] {
  background: #f3e8ff !important;
  color: #7e22ce !important;
  border: 1px solid #d8b4fe !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}

/* Р’РЅСѓС‚СЂРµРЅРЅРёР№ Р±Р»РѕРє Р»РѕРєР°С†РёРё: 6px, СЃРІРµС‚Р»Рѕ-СЃРµСЂС‹Р№ С„РѕРЅ */
.custom-map-popup .map-popup-loc-wrap,
.transport-glass-popup .map-popup-loc-wrap,
.custom-map-popup div[style*="padding: 8px 11px"],
.transport-glass-popup div[style*="padding: 8px 11px"] {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.custom-map-popup .map-popup-loc-wrap div,
.transport-glass-popup .map-popup-loc-wrap div,
.custom-map-popup div[style*="padding: 8px 11px"] div,
.transport-glass-popup div[style*="padding: 8px 11px"] div {
  color: #0f172a !important;
}

.custom-map-popup .map-popup-loc-wrap svg[stroke="#38bdf8"],
.transport-glass-popup .map-popup-loc-wrap svg[stroke="#38bdf8"],
.custom-map-popup div[style*="padding: 8px 11px"] svg[stroke="#38bdf8"],
.transport-glass-popup div[style*="padding: 8px 11px"] svg[stroke="#38bdf8"] {
  stroke: #10b981 !important;
  filter: none !important;
}

.custom-map-popup .geo-hier-text,
.custom-map-popup span[style*="color: #93c5fd"],
.custom-map-popup span[style*="color:#93c5fd"],
.transport-glass-popup span[style*="color: #93c5fd"],
.transport-glass-popup span[style*="color:#93c5fd"] {
  color: #64748b !important;
}

.custom-map-popup div[style*="color: #94a3b8"],
.transport-glass-popup div[style*="color: #94a3b8"],
.custom-map-popup span[style*="РћСЂРёРµРЅС‚РёСЂ"],
.transport-glass-popup span[style*="РћСЂРёРµРЅС‚РёСЂ"] {
  color: #94a3b8 !important;
}

/* РљРЅРѕРїРєР° В«РџРѕРґСЂРѕР±РЅРµРµ Рѕ Р»РѕС‚РµВ» РІ Р±Р°Р»СѓРЅРµ: 8px, РёР·СѓРјСЂСѓРґРЅР°СЏ */
.custom-map-popup .map-popup-action-btn,
.custom-map-popup a.map-popup-action-btn {
  background: #10b981 !important;
  color: #ffffff !important;
  border: 1px solid #10b981 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25) !important;
  font-weight: 700 !important;
}

.custom-map-popup .map-popup-action-btn:hover,
.custom-map-popup a.map-popup-action-btn:hover {
  background: #059669 !important;
  border-color: #059669 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}

/* РљРЅРѕРїРєР° РІ Р±Р°Р»СѓРЅРµ С‚СЂР°РЅСЃРїРѕСЂС‚Р° */
.transport-glass-popup .map-popup-action-btn,
.transport-glass-popup a.map-popup-action-btn {
  background: #f59e0b !important;
  border: 1px solid #f59e0b !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25) !important;
  font-weight: 700 !important;
}

.transport-glass-popup .map-popup-action-btn:hover,
.transport-glass-popup a.map-popup-action-btn:hover {
  background: #d97706 !important;
  border-color: #d97706 !important;
}

/* Р‘Р°Р»СѓРЅ РјР°СЃС‚РµСЂР° */
.master-glass-popup span[style*="color: #38bdf8"],
.master-glass-popup span[style*="color:#38bdf8"] {
  color: #0284c7 !important;
}

.master-glass-popup div[style*="color: #94a3b8"],
.master-glass-popup div[style*="color:#94a3b8"] {
  color: #64748b !important;
}

.master-glass-popup div[style*="color: #cbd5e1"],
.master-glass-popup div[style*="color:#cbd5e1"] {
  color: #64748b !important;
}

.master-glass-popup .btn-primary,
.master-glass-popup button {
  background: #0ea5e9 !important;
  border: 1px solid #0ea5e9 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25) !important;
  font-weight: 700 !important;
}

.master-glass-popup .btn-primary:hover,
.master-glass-popup button:hover {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
}

/* РРЅС‚РµСЂР°РєС‚РёРІРЅР°СЏ РєР°СЂС‚Р° Рё С€РµР»СЊС„ */
.map-wrapper-shelf {
  max-width: 1280px !important;
  margin: 0 auto 12px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}

.map-wrapper-shelf.shelf-collapsed,
.map-wrapper-shelf:has(.map-collapsed) {
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  border: none !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.mode-variant-1 #main-map-container {
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.06) !important;
  overflow: hidden !important;
}

.mode-variant-1 #main-map-container #map {
  border-radius: 10px !important;
}

.map-floating-close-chip {
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
  font-weight: 600 !important;
}

/* 9. РџРћР›РќРћР• РРЎРљР›Р®Р§Р•РќРР• РџР›РђР’РђР®Р©Р•Р“Рћ Р”РћРљРђ (РљРЅРѕРїРєР° С‚РµРїРµСЂСЊ РІ С€Р°РїРєРµ СЃР°Р№С‚Р°) */
.mode-variant-1 .floating-nav-dock,
.mode-variant-1 #floating-nav-dock {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 10. РњРћР‘РР›Р¬РќРђРЇ РђР”РђРџРўРђР¦РРЇ (< 768px Р < 380px) */
@media (max-width: 768px) {
  #header {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: max(6px, env(safe-area-inset-top)) !important;
    padding-bottom: 6px !important;
  }
  .btn-header-add-lot {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border-radius: 9px !important;
    gap: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
  .btn-header-add-lot .btn-header-add-text {
    display: none !important;
  }
  .btn-header-add-lot:active {
    transform: scale(0.92) !important;
  }
  .btn-header-add-lot svg {
    width: 16px !important;
    height: 16px !important;
  }
  .unified-nav-shelf {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin: 8px auto 10px !important;
    padding: 0 12px !important;
  }
  .unified-nav-shelf .hub-mode-switcher-shelf,
  .hub-mode-switcher-shelf {
    width: 100% !important;
    padding: 0 !important;
  }
  .unified-nav-shelf .hub-mode-segmented-control,
  .hub-mode-segmented-control {
    width: 100% !important;
    height: 42px !important;
    padding: 3px !important;
    gap: 3px !important;
  }
  .unified-nav-shelf .hub-mode-btn,
  .hub-mode-btn {
    flex: 1 !important;
    height: 36px !important;
    padding: 0 6px !important;
    font-size: 12.5px !important;
  }
  .unified-nav-shelf .smart-hud-shelf,
  .smart-hud-shelf {
    width: 100% !important;
    padding: 0 !important;
  }
  .categories-bar-wrapper,
  .subcategories-bar-wrapper,
  .map-wrapper-shelf,
  #lots-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .subcategories-bar-wrapper {
    margin: -2px auto 10px !important;
  }
  .subcategories-bar {
    padding: 5px 8px !important;
    border-radius: 10px !important;
  }
  .categories-bar-wrapper {
    margin: 10px auto 12px !important;
  }

  /* --------------------------------------------------------------------------
     РњРћР‘РР›Р¬РќРђРЇ РЎРњРђР Рў-РџРђРќР•Р›Р¬ РџРћРРЎРљРђ (SMART HUD) вЂ” РР”Р•РђР›Р¬РќРђРЇ Р“Р•РћРњР•РўР РРЇ v1.7
     -------------------------------------------------------------------------- */
  .unified-nav-shelf .smart-hud-bar,
  .smart-hud-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 10px 10px 10px !important;
    gap: 8px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  /* РЎС‚СЂРѕРєР° 1: РРЅРїСѓС‚ РїРѕРёСЃРєР° (СЂРѕРІРЅРѕ С†РµРЅС‚СЂРёСЂРѕРІР°РЅ) */
  .unified-nav-shelf .smart-hud-search-group,
  .smart-hud-search-group {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 36px !important;
    gap: 8px !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
  }

  .smart-hud-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    color: #10b981 !important;
  }

  .smart-hud-icon svg {
    width: 17px !important;
    height: 17px !important;
    stroke: #10b981 !important;
  }

  .smart-hud-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-sizing: border-box !important;
  }

  .smart-hud-input::placeholder {
    color: #94a3b8 !important;
    font-size: 13px !important;
  }

  .smart-hud-divider {
    display: none !important;
  }

  /* РЎС‚СЂРѕРєР° 2: РќРёР¶РЅРёР№ СЂСЏРґ (Р›РѕРєР°С†РёСЏ СЃР»РµРІР° + РљР°СЂС‚Р° СЃРїСЂР°РІР°) */
  .unified-nav-shelf .smart-hud-sub-controls,
  .smart-hud-sub-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-top: 8px !important;
    border-top: 1px solid #f1f5f9 !important;
    gap: 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Р›РѕРєР°С†РёСЏ: РїСЂРёР±РёС‚Р° Рє Р»РµРІРѕРјСѓ РєСЂР°СЋ, С‡РёСЃС‚С‹Р№ Р°РєРєСѓСЂР°С‚РЅС‹Р№ РІРёРґ */
  .unified-nav-shelf .smart-hud-location-btn,
  .smart-hud-location-btn {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    padding: 0 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    color: #1e293b !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    text-align: left !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .smart-hud-loc-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    flex-shrink: 0 !important;
  }

  .smart-hud-location-btn #filter-loc-city {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 120px !important;
    flex-shrink: 1 !important;
  }

  .smart-hud-location-btn #filter-radius-val {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    color: #64748b !important;
    font-weight: 500 !important;
    font-size: 11.5px !important;
  }

  .smart-hud-location-btn svg {
    flex-shrink: 0 !important;
    margin-left: auto !important;
    opacity: 0.6 !important;
  }

  .smart-hud-sub-divider {
    display: none !important;
  }

  /* РљР°СЂС‚Р°: РїСЂРёР±РёС‚Р° СЃС‚СЂРѕРіРѕ Рє РїСЂР°РІРѕРјСѓ РєСЂР°СЋ, РІС‹СЃРѕС‚Р° 36px РІСЂРѕРІРµРЅСЊ СЃ Р»РѕРєР°С†РёРµР№ */
  .unified-nav-shelf .smart-hud-map-btn,
  .smart-hud-map-btn {
    flex: 0 0 auto !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 0 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    color: #1e293b !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    margin-left: auto !important;
  }

  .smart-hud-map-btn svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
  }

  .smart-hud-map-btn.map-active {
    background: #10b981 !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
  }

  .smart-hud-map-btn.map-active svg {
    stroke: #ffffff !important;
  }
  #lots-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 0 !important;
  }
  .itab-card-body {
    padding: 8px 10px 10px !important;
    gap: 4px !important;
  }
  .itab-price-primary {
    font-size: 15.5px !important;
  }
  .itab-price-cat .category-badge {
    font-size: 10px !important;
    padding: 1px 5px !important;
  }
  .itab-card-title {
    font-size: 13px !important;
    min-height: 34px !important;
    line-height: 1.3 !important;
  }
  .itab-location-row {
    min-height: 36px !important;
    max-height: 36px !important;
    gap: 1px !important;
  }
  .itab-loc-primary {
    font-size: 11.5px !important;
  }
  .itab-loc-secondary {
    font-size: 10.5px !important;
    padding-left: 14px !important;
  }
  .itab-actions-row {
    gap: 6px !important;
    padding-top: 8px !important;
  }
  .itab-cta-btn {
    height: 34px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
  }
  .itab-map-action-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 6px !important;
  }
  .btn-quick-view-glass {
    font-size: 10px !important;
    padding: 2px 5px !important;
  }
  .lot-distance-badge,
  .lot-photo-badge,
  .lot-owner-badge {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
}

@media (max-width: 380px) {

  .unified-nav-shelf,
  .hub-mode-switcher-shelf,
  .smart-hud-shelf,
  .categories-bar-wrapper,
  .subcategories-bar-wrapper,
  .map-wrapper-shelf,
  #lots-container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .subcategories-bar {
    padding: 4px 6px !important;
    gap: 4px !important;
  }
  .subcategories-bar .subcategory-chip {
    padding: 4px 10px !important;
    font-size: 11.5px !important;
  }
  .smart-hud-bar {
    padding: 8px 8px !important;
  }
  .smart-hud-sub-controls {
    gap: 6px !important;
  }
  .smart-hud-location-btn #filter-loc-city {
    max-width: 85px !important;
  }
  .smart-hud-map-btn {
    padding: 0 9px !important;
  }
  #lots-list {
    gap: 8px !important;
  }
  .itab-card-body {
    padding: 8px 6px 8px !important;
  }
  .itab-actions-row {
    gap: 4px !important;
  }
  .itab-map-action-btn {
    width: 30px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }
  .itab-cta-btn {
    height: 32px !important;
    font-size: 11px !important;
    padding: 0 4px !important;
  }
  .lot-photo-dots,
  .vehicle-photo-dots {
    bottom: 6px !important;
    left: 6px !important;
    transform: none !important;
    padding: 2px 5px !important;
    gap: 3px !important;
  }
  .lot-photo-dot,
  .vehicle-photo-dot {
    width: 4px !important;
    height: 4px !important;
    min-width: 4px !important;
    min-height: 4px !important;
  }
  .lot-photo-dot.active,
  .vehicle-photo-dot.active {
    width: 11px !important;
    min-width: 11px !important;
  }
}

/* 11. РђР”РђРџРўРђР¦РРЇ РўР РђРќРЎРџРћР РўРђ Р РњРђРЎРўР•Р РћР’ */
.veh-glass-card,
.master-glass-card {
  border-radius: 10px !important;
  border: 1px solid #eef2f6 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.veh-glass-card:hover,
.master-glass-card:hover {
  transform: translateY(-2px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08) !important;
}

.btn-book-vehicle,
.btn-contact-master,
.btn-master-contact,
.btn-submit-transport,
.btn-submit-master {
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

/* РћС‚РєР»СЋС‡РµРЅРёРµ СЃС‚Р°СЂС‹С… СЂР°Р·РґСѓС‚С‹С… СЂР°РјРѕРє Рё С„РёРѕР»РµС‚РѕРІС‹С… С‚РµРЅРµР№ */
.lot-card.is-my-lot::before {
  display: none !important;
}

.lot-action-arrow {
  display: none !important;
}

.lot-action-map {
  border-radius: 6px !important;
}


/* ==========================================================================
   12. ГЛОБАЛЬНЫЙ СТАНДАРТ ITAB MODERN v2.0 ДЛЯ ВСЕХ СТРАНИЦ
   (СТРАНИЦЫ ДОБАВЛЕНИЯ, ДЕТАЛИ, ПРОФИЛЬ, О ПЛАТФОРМЕ)
   ========================================================================== */

/* 1. ПОЛНОЕ ИСКОРЕНЕНИЕ СТАРЫХ КАПСУЛ 9999px НА ВСЕХ СТРАНИЦАХ */
:root {
  --radius-full: 8px !important;
}

.add-back-btn,
.item-back-btn,
.veh-back-btn,
.master-back-btn,
.profile-back-btn,
.about-subnav-btn,
.about-subnav-pill,
a.add-back-btn,
a.item-back-btn,
a.veh-back-btn,
.btn-subcat-spoiler {
  border-radius: 8px !important;
}

.add-community-badge,
.quality-badge,
.item-badge,
.veh-badge,
.master-badge,
.quality-bar-track,
.quality-bar-fill,
.category-chip,
.popover-chip,
.deal-badge,
.lot-owner-badge,
.lot-distance-badge,
.lot-photo-badge {
  border-radius: 6px !important;
}

/* 2. СТРОГИЕ КАРТОЧКИ ФОРМ И КОНТЕНТА (ВМЕСТО 20-24px ПУЗЫРЕЙ) */
.form-glass-card,
.master-quality-card,
.veh-glass-card,
.profile-glass-card,
.about-card,
.item-glass-card,
.item-spec-box,
.veh-spec-box {
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px -4px rgba(15, 23, 42, 0.06) !important;
}

/* 3. ИНПУТЫ, СЕЛЕКТЫ, ТЕКСТОВЫЕ ПОЛЯ И ДРОПЗОНЫ ФОТО */
.form-input,
.form-select,
.form-textarea,
.tag-input,
.add-dropzone,
.btn-submit,
.btn-publish-emerald,
.btn-publish-amber,
.btn-publish-sapphire,
.deal-type-btn,
.radio-chip,
.type-card-opt {
  border-radius: 8px !important;
}

/* 4. СКРЫТИЕ ДУБЛИРУЮЩЕЙ КНОПКИ В ШАПКЕ НА СТРАНИЦАХ ДОБАВЛЕНИЯ */
body.page-add #header-add-lot-btn,
body:has(.add-page-wrapper) #header-add-lot-btn,
body:has(#add-lot-form) #header-add-lot-btn,
body:has(#add-vehicle-form) #header-add-lot-btn,
body:has(#master-form) #header-add-lot-btn {
  display: none !important;
}

/* 5. ПОЛНОЕ И БЕЗУСЛОВНОЕ ПОДАВЛЕНИЕ СТАРОГО ПЛАВАЮЩЕГО ДОКА ВЕЗДЕ */
.floating-nav-dock,
#floating-nav-dock,
.dock-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 6. АДАПТИВНОСТЬ СТРАНИЦ ДОБАВЛЕНИЯ ПОД МОБИЛЬНЫЕ */
@media (max-width: 640px) {
  .add-page-wrapper {
    margin: 12px auto 40px !important;
    padding: 0 12px !important;
  }
  .add-page-nav {
    margin-bottom: 14px !important;
    gap: 8px !important;
  }
  .add-hero-title {
    font-size: 24px !important;
    letter-spacing: -0.02em !important;
  }
  .form-glass-card {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }
}
