:root{
  --green: rgb(255, 79, 8);
  --green-dark: rgb(217, 62, 0);
  --green-light: rgb(255, 238, 230);
  --panel-blue: rgb(66, 100, 253);
  --panel-blue-dark: rgb(48, 78, 224);
  --panel-blue-light: rgb(232, 237, 255);
  --keep-green: #14b24b;
  --keep-green-dark: #0a8034;
  --text-dark: #0b1220;
  --text-mid: #2f3a44;
  --text-light: #55606b;
  --border: #dde1e5;
  --bg: #ffffff;
  --surface: #f5f6f7;
  --white: #ffffff;
  --gold: #f59e0b;
  --blue: #2f6fed;
  --authblue: #5b67f0;
  --authblue-dark: #4451e0;
  --authblue-light: #b7bdf8;
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-card: 0 1px 3px rgba(20,30,35,.06), 0 1px 2px rgba(20,30,35,.04);
  --shadow-hover: 0 8px 20px rgba(20,30,35,.10);
  font-size: 16px;
}

*, *::before, *::after{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
}

body{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  -webkit-font-smoothing: auto;
  text-rendering: optimizeLegibility;
}

a{ text-decoration: none; color: inherit; }
button{ font-family: inherit; cursor: pointer; }
ul{ list-style: none; margin: 0; padding: 0; }
img{ max-width: 100%; display: block; }

.container{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.btn-primary{
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover{ background: var(--green-dark); }
.btn-outline{
  background: var(--white);
  border-color: var(--border);
  color: var(--text-dark);
}
.btn-outline:hover{ border-color: var(--text-light); }
.btn-ghost{
  background: var(--white);
  border-color: var(--border);
  color: var(--text-mid);
}
.btn-ghost:hover{ border-color: var(--text-light); }

.icon-btn{
  background: none;
  border: none;
  color: var(--text-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.icon-btn:hover{ background: var(--surface); color: var(--text-dark); }

.site-header{
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner{
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.menu-toggle{ display: none; }

.logo{
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .3px;
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
}
.logo-mark{ color: var(--text-dark); }
.logo-dot{ color: var(--green); }

.main-nav{
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar{ display: none; }

.nav-link{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover{ color: var(--text-dark); }
.nav-link.active{
  color: var(--text-dark);
  font-weight: 700;
}
.nav-link.active::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -21px;
  height: 3px;
  background: var(--green);
  border-radius: 3px 3px 0 0;
}
.nav-link.partner{ color: var(--green-dark); font-weight: 600; }

.header-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lang-btn{
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  padding: 6px 8px;
}
.lang-btn:hover{ color: var(--text-dark); }
.new-ad-btn{ padding: 9px 16px; }
.login-btn{ padding: 9px 18px; }

.search-bar{
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.search-inner{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: stretch;
}
.select-field, .text-field{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  height: 42px;
}
.select-field{
  flex: 1 1 140px;
  min-width: 120px;
  position: relative;
}
.select-field select{
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 30px 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  appearance: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.select-field::after{
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.text-field{
  flex: 2 1 260px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.text-field input{
  border: none;
  outline: none;
  font-size: 14px;
  flex: 1;
  min-width: 0;
  color: var(--text-dark);
  background: transparent;
}
.text-field input::placeholder{ color: var(--text-light); }
.field-suffix{
  color: var(--text-light);
  font-size: 13px;
  border-left: 1px solid var(--border);
  padding-left: 10px;
  white-space: nowrap;
}
.filter-btn{
  height: 42px;
  flex: 0 0 auto;
}
.search-btn{
  height: 42px;
  flex: 0 0 auto;
  padding: 0 28px;
  background: var(--text-dark);
}
.search-btn:hover{ background: #0f1a20; }

.category-tabs{
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.tabs-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
}
.tabs-scroll{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.tabs-scroll::-webkit-scrollbar{ display: none; }

.tab-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .15s ease;
}
.tab-item:hover{ border-color: var(--text-light); color: var(--text-dark); }
.tab-item.is-active{
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green-dark);
  font-weight: 700;
}
.today-count{
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: underline;
  white-space: nowrap;
  flex-shrink: 0;
}

.section{
  padding: 32px 0 8px;
}
.section-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-head h2{
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}
.section-head-right{
  display: flex;
  align-items: center;
  gap: 10px;
}
.see-all{
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: underline;
}
.arrow-btn{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.arrow-btn:hover{ border-color: var(--text-light); color: var(--text-dark); }

.complex-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.complex-card{
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s ease, transform .2s ease;
}
.complex-card:hover{
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.complex-img{
  height: 150px;
  background-size: cover;
  background-position: center;
  background-color: #d8dde0;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 12px;
}
a.complex-img{ text-decoration: none; }
a.listing-img{ text-decoration: none; }
.complex-link{ color: inherit; }
.complex-link:hover{ text-decoration: underline; }
.complex-badge{
  background: rgba(20,30,35,.55);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: 4px;
}
.complex-body{
  padding: 14px 16px 18px;
}
.complex-price{
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 4px;
}
.complex-name{
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 8px;
  min-height: 36px;
}
.complex-meta{
  font-size: 12.5px;
  color: var(--text-mid);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.complex-meta svg{ flex-shrink: 0; color: var(--text-light); }

.listing-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.listing-card{
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: none;
  position: relative;
}
.listing-card:hover{
  box-shadow: none;
  transform: none;
}
.fav-icon{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.fav-icon:hover{ color: #e0396c; }

.listing-img{
  height: 176px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-color: #dfe3e5;
  position: relative;
  display: block;
}
.listing-tag{
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
  color: var(--white);
}
.tag-agency{ background: var(--blue); }
.tag-credit{ background: var(--white); color: var(--text-dark); border: 1px solid var(--border); }
.tag-complex{ background: var(--gold); }
.bottom-tag{ top: auto; bottom: 10px; }

.verified-icon{
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.edit-icon{
  position: absolute;
  bottom: 10px;
  left: 36px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing-watermark{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  background: rgba(20,30,35,.28);
  text-align: center;
  padding: 0 10px;
}

.listing-body{ padding: 12px 14px 16px; }
.listing-price{
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.verified-icon-inline, .edit-icon-inline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 10px;
  color: var(--white);
}
.verified-icon-inline{ background: var(--green); }
.edit-icon-inline{ background: var(--blue); }

.listing-title{
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text-dark);
}
.listing-meta{
  font-size: 12.5px;
  color: var(--text-mid);
  margin: 0 0 6px;
}
.listing-date{
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.crown{ color: var(--gold); font-size: 13px; }

.listing-card.skeleton .listing-img{
  background: linear-gradient(90deg, #eceff1 25%, #f5f7f8 37%, #eceff1 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer{
  0%{ background-position: 100% 0; }
  100%{ background-position: 0 0; }
}

.popular-section{ padding-top: 40px; }
.pill-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.pill{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  transition: border-color .15s ease, background .15s ease;
}
.pill:hover{
  border-color: var(--green);
  background: var(--green-light);
}

.site-footer{
  background: var(--white);
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 36px;
}
.footer-top{
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer-label{
  font-size: 12.5px;
  color: var(--text-light);
  margin: 0 0 4px;
}
.footer-value{
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}
.footer-app{ margin-left: auto; text-align: right; }
.footer-app-title{ font-weight: 700; font-size: 14px; margin: 0 0 2px; }
.footer-app-desc{ font-size: 12.5px; color: var(--text-light); margin: 0; }

.footer-districts{ padding: 28px 24px; }
.footer-districts-title{
  font-weight: 700;
  font-size: 13px;
  color: var(--text-light);
  margin: 0 0 16px;
}
.districts-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.district-col{
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.district-col a{ color: var(--text-mid); }
.district-col a:hover{ color: var(--green-dark); }
.district-sub{
  font-weight: 700;
  color: var(--text-dark);
  margin: 4px 0 0;
  font-size: 12.5px;
}

.footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-mid);
}
.footer-links a:hover{ color: var(--text-dark); }

.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px 28px;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}
.footer-social{
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-social a{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-mid);
}
.lang-switch{ font-size: 12.5px; color: var(--text-mid); }

.scroll-top{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--text-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 200;
}
.scroll-top.visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover{ background: var(--green-dark); }

@media (max-width: 1024px){
  .complex-grid,
  .listing-grid{
    grid-template-columns: repeat(3, 1fr);
  }
  .main-nav{ gap: 16px; }
  .districts-grid{ grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px){
  .header-actions .lang-btn{ display: none; }
}

@media (max-width: 768px){
  .container{ padding: 0 16px; }

  .header-inner{ height: 58px; gap: 12px; }
  .menu-toggle{ display: inline-flex; order: -1; }
  .main-nav{ display: none; }
  .logo{ font-size: 18px; }
  .new-ad-btn span{ display: none; }
  .login-btn{ padding: 9px 14px; }

  .search-bar{ padding: 12px 0; }
  .search-inner{ flex-direction: column; }
  .select-field, .text-field, .filter-btn, .search-btn{
    width: 100%;
    flex: 1 1 auto;
  }

  .tabs-inner{ padding: 10px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .today-count{ align-self: flex-start; }

  .complex-grid,
  .listing-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head h2{ font-size: 18px; }

  .footer-app{ margin-left: 0; text-align: left; }
  .districts-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px){
  .complex-grid,
  .listing-grid{
    grid-template-columns: 1fr;
  }
  .complex-img{ height: 180px; }
  .listing-img{ height: 150px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
  .districts-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-districts-title{ margin-bottom: 10px; }
}

.detail-page{ padding-bottom: 20px; }

.breadcrumb{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0 10px;
  font-size: 13.5px;
  color: var(--text-mid);
}
.breadcrumb a{ color: var(--text-mid); }
.breadcrumb a:hover{ color: var(--green-dark); text-decoration: underline; }
.crumb-sep{ color: var(--text-light); }
.view-count{
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
  font-size: 13px;
}

.detail-title{
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--text-dark);
}

.gallery{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.gallery-main{
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  background-color: #dfe3e5;
  min-height: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}
.gallery-pills{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill-info{
  background: rgba(20,30,35,.6);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.gallery-actions{
  display: flex;
  gap: 10px;
}
.gallery-actions .btn{ padding: 11px 22px; font-size: 14px; }
.btn-info{ background: var(--blue); color: var(--white); }
.btn-info:hover{ background: #1f57c9; }

.gallery-side{
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.gallery-thumb{
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  background-color: #dfe3e5;
  position: relative;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
}
.all-photos-btn{
  background: rgba(20,30,35,.65);
  color: var(--white);
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}
.all-photos-btn:hover{ background: rgba(20,30,35,.85); }

.price-strip{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 40px;
  padding: 18px 24px;
  margin-bottom: 20px;
}
.ps-label{ font-size: 12.5px; color: var(--text-light); margin: 0 0 4px; }
.ps-value{ font-size: 15px; font-weight: 700; margin: 0; color: var(--text-dark); }

.info-grid{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
  align-items: start;
}
.info-main{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
}
.info-heading{
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-dark);
}
.credit-banner{
  display: flex;
  gap: 12px;
  background: #fff7e8;
  border: 1px solid #f4dfa8;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 22px;
}
.credit-icon{ font-size: 18px; }
.credit-title{ font-weight: 700; font-size: 14px; margin: 0 0 3px; }
.credit-desc{ font-size: 12.5px; color: var(--text-mid); margin: 0; }

.params-heading, .extra-heading{
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text-dark);
}
.params-row{ margin-bottom: 14px; }
.param-box{
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
}
.param-label{ font-size: 11.5px; color: var(--text-light); margin: 0; }
.param-value{ font-size: 13.5px; font-weight: 700; margin: 2px 0 0; }
.all-params-btn{ margin-bottom: 24px; }

.extra-text{
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0 0 8px;
}
.collapsed-hint{ margin-bottom: 4px; }
.read-more-btn{
  background: none;
  border: none;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13.5px;
  padding: 0;
  text-decoration: underline;
}

.sidebar-card{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px;
}
.sidebar-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sidebar-name{ font-weight: 700; font-size: 15px; margin: 0; }
.sidebar-logo{
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.sidebar-facts{ margin: 0 0 16px; }
.fact-row{
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13.5px;
}
.fact-row dt{ color: var(--text-light); font-weight: 400; }
.fact-row dd{ margin: 0; font-weight: 700; color: var(--text-dark); text-align: right; }

.sidebar-hours, .sidebar-address{
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 12px;
}
.sidebar-hours svg, .sidebar-address svg{ flex-shrink: 0; margin-top: 2px; color: var(--text-light); }

.show-phone-btn{
  width: 100%;
  justify-content: center;
  flex-direction: column;
  padding: 10px;
  line-height: 1.5;
  margin-top: 6px;
}
.phone-num{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
}

.location-pills{
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.loc-pill{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.map-box{
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}
.map-fake{
  height: 380px;
  background:
    linear-gradient(0deg, rgba(180,205,190,.5), rgba(180,205,190,.5)),
    repeating-linear-gradient(45deg, #eef1e4 0 40px, #e6ebd f 40px 41px),
    #e9edf0;
  background-color: #e6ecec;
  position: relative;
}
.map-pin{
  position: absolute;
  top: 46%;
  left: 48%;
  font-size: 28px;
  transform: translate(-50%, -100%);
}
.map-tag{
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  white-space: nowrap;
}
.t1{ top: 20%; left: 8%; }
.t2{ top: 12%; left: 45%; }
.t3{ top: 30%; left: 33%; }
.t4{ top: 55%; left: 70%; }
.t5{ top: 68%; left: 78%; }
.t6{ top: 74%; left: 42%; }
.map-google{
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 11px;
  color: var(--text-light);
  background: rgba(255,255,255,.8);
  padding: 2px 6px;
  border-radius: 3px;
}

.plan-tabs{
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.plan-tab{
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 18px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
}
.plan-tab:hover{ border-color: var(--text-light); }
.plan-tab.is-active{
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green-dark);
}

.plans-table{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 16px;
}
.plan-row{
  display: grid;
  grid-template-columns: 60px 1.4fr 1.6fr 1.6fr 1.2fr 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-dark);
}
.plan-row:last-child{ border-bottom: none; }
.plan-head{
  background: var(--surface);
  color: var(--text-light);
  font-weight: 600;
  font-size: 12px;
  padding: 10px 20px;
}
.plan-thumb{
  width: 40px; height: 40px;
  border-radius: 6px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.plan-row .dim{ color: var(--text-mid); }

.pagination{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.page-arrow, .page-num{
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.page-num.is-active{
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  font-weight: 700;
}
.page-arrow:hover, .page-num:hover{ border-color: var(--text-light); }

.listings-head{ align-items: flex-start; }
.listings-count{ font-size: 13px; color: var(--text-light); margin: 4px 0 0; }
.sort-select{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: var(--text-mid);
  font-size: 13.5px;
}
.sort-select select{
  border: none;
  background: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.mp-watermark{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .5px;
  background: rgba(20,30,35,.32);
  text-align: center;
}

@media (max-width: 900px){
  .info-grid{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: 1fr; }
  .gallery-main{ min-height: 280px; }
  .gallery-side{ grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .gallery-thumb{ min-height: 140px; }
}

@media (max-width: 768px){
  .detail-title{ font-size: 24px; }
  .price-strip{ flex-direction: column; gap: 14px; }
  .plan-row{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "thumb rooms"
      "price price"
      "repair repair"
      "sanitary balcony";
  }
  .plan-head{ display: none; }
  .plan-row span:nth-child(1){ grid-area: thumb; }
  .plan-row span:nth-child(2){ grid-area: rooms; }
  .plan-row span:nth-child(3){ grid-area: price; }
  .plan-row span:nth-child(4){ grid-area: repair; }
  .plan-row span:nth-child(5){ grid-area: sanitary; }
  .plan-row span:nth-child(6){ grid-area: balcony; }
}

@media (max-width: 480px){
  .gallery-side{ grid-template-columns: 1fr; }
  .gallery-actions{ flex-direction: column; }
  .map-fake{ height: 280px; }
}

.agencies-page{ padding: 28px 0 20px; }

.agencies-title{
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--text-dark);
}

.agency-search{
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  max-width: 420px;
  margin-bottom: 24px;
  color: var(--text-light);
}
.agency-search input{
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  background: transparent;
  color: var(--text-dark);
}
.agency-search input::placeholder{ color: var(--text-light); }
.agency-search:focus-within{ border-color: var(--green); }

.agency-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.agency-card{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 18px;
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
}
.agency-card:hover{
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.agency-card.hidden{ display: none; }

.agency-top{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  text-decoration: none;
  color: inherit;
}
.agency-logo{
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  text-transform: uppercase;
}
.agency-name{
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--text-dark);
}
.agency-offers{
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
}
.agency-desc{
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.no-results{
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  padding: 40px 0;
  grid-column: 1 / -1;
  display: none;
}
.no-results.visible{ display: block; }

@media (max-width: 1024px){
  .agency-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px){
  .agency-grid{ grid-template-columns: repeat(2, 1fr); }
  .agencies-title{ font-size: 20px; }
}
@media (max-width: 480px){
  .agency-grid{ grid-template-columns: 1fr; }
  .agency-search{ max-width: none; }
}

.form-page{
  max-width: 860px;
  padding: 32px 24px 60px;
}

.form-title{
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-dark);
}
.form-subtitle{
  font-size: 14.5px;
  color: var(--text-mid);
  margin: 0 0 24px;
}

.is-current{ box-shadow: 0 0 0 2px var(--green-light); }

.form-progress{
  display: flex;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  gap: 4px;
  overflow-x: auto;
}
.progress-step{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  padding: 8px 12px 8px 8px;
  border-radius: 20px;
  transition: color .2s ease;
}
.step-num{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border);
  color: var(--white);
  font-size: 11.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.progress-step.is-active{ color: var(--text-dark); }
.progress-step.is-active .step-num{ background: var(--green); }
.progress-step.is-done .step-num{ background: var(--green-dark); }
.progress-step.is-done{ color: var(--text-dark); }

.form-card{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 26px 28px;
  margin-bottom: 18px;
}
.fc-heading{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text-dark);
}
.fc-num{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fc-subheading{
  font-size: 14.5px;
  font-weight: 700;
  margin: 22px 0 14px;
  color: var(--text-dark);
}
.fc-hint{
  font-size: 13px;
  color: var(--text-light);
  margin: -8px 0 18px;
}

.field-group{
  margin-bottom: 18px;
}
.field-group:last-child{ margin-bottom: 0; }
.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-label{
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.field-input{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  font-family: inherit;
  transition: border-color .15s ease;
}
.field-input:focus{
  outline: none;
  border-color: var(--green);
}
.field-textarea{ resize: vertical; min-height: 110px; }

.choice-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice-btn{
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 20px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
  transition: all .15s ease;
}
.choice-btn:hover{ border-color: var(--text-light); }
.choice-btn.is-active{
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.type-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.type-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  text-align: center;
  transition: all .15s ease;
}
.type-card:hover{ border-color: var(--text-light); }
.type-card.is-active{
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green-dark);
}
.type-card svg{ flex-shrink: 0; }

.map-picker{
  height: 220px;
  border-radius: var(--radius-sm);
  background: repeating-linear-gradient(45deg, #eef1e4 0 40px, #e9edf0 40px 80px);
  border: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: crosshair;
  position: relative;
}
.map-picker-pin{ font-size: 28px; }
.map-picker-hint{ font-size: 12.5px; color: var(--text-mid); background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 12px; }

.checkbox-group{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.checkbox-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
}
.checkbox-item input{
  width: 17px;
  height: 17px;
  accent-color: var(--green);
  cursor: pointer;
}
.checkbox-item.standalone{ margin-top: 12px; }

.upload-zone{
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  color: var(--text-mid);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.upload-zone:hover, .upload-zone.drag-over{
  border-color: var(--green);
  background: var(--green-light);
}
.upload-zone svg{ margin-bottom: 10px; color: var(--text-light); }
.upload-zone p{ margin: 0 0 4px; font-size: 14px; }
.upload-formats{ font-size: 12px; color: var(--text-light); }

.photo-preview-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.photo-preview-grid:empty{ margin-top: 0; }
.photo-thumb{
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--surface);
}
.photo-thumb .remove-photo{
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(20,30,35,.7);
  color: var(--white);
  border: none;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.photo-thumb .cover-badge{
  position: absolute;
  bottom: 4px; left: 4px;
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.price-input-wrap{
  display: flex;
}
.price-input-wrap .field-input{
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border-right: none;
}
.currency-select{
  border: 1px solid var(--border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  background: var(--surface);
  color: var(--text-dark);
}

.form-submit-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px 28px;
}
.submit-note{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-light);
  margin: 0;
}
.submit-note a{ color: var(--green-dark); text-decoration: underline; }
.submit-btn{ padding: 12px 32px; font-size: 15px; flex-shrink: 0; }

.success-banner{
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}
.success-banner.visible{ display: flex; }

@media (max-width: 768px){
  .form-page{ padding: 24px 16px 48px; }
  .field-row{ grid-template-columns: 1fr; }
  .type-grid{ grid-template-columns: repeat(3, 1fr); }
  .form-submit-bar{ flex-direction: column; align-items: stretch; text-align: center; }
  .photo-preview-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px){
  .type-grid{ grid-template-columns: repeat(2, 1fr); }
  .form-card{ padding: 20px 18px; }
  .photo-preview-grid{ grid-template-columns: repeat(2, 1fr); }
}

.form-wrap{ display: none; }
.form-wrap.visible{ display: block; }

.wizard-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 260px);
  padding: 40px 0;
}
.wizard-wrap.hidden{ display: none; }

.wizard-screen{ display: none; width: 100%; justify-content: center; }
.wizard-screen.is-active{ display: flex; }

.wizard-card{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 40px 48px 48px;
  width: 100%;
  max-width: 620px;
  text-align: center;
}
.wizard-card-wide{ max-width: 720px; text-align: left; }

.wizard-title{
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--text-dark);
  text-align: center;
}

.wizard-options{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wizard-option{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  transition: all .15s ease;
}
.wizard-option:hover{
  border-color: var(--green);
  background: var(--green-light);
}
.wizard-icon{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}
.wizard-option:hover .wizard-icon{
  border-color: var(--green-dark);
  color: var(--green-dark);
}

.wizard-tabs{
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 28px;
}
.wizard-tab{
  flex: 1;
  background: var(--white);
  border: none;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-mid);
}
.wizard-tab.is-active{
  background: var(--blue);
  color: var(--white);
}

.wizard-type-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.wizard-type{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  transition: all .15s ease;
}
.wizard-type:hover{
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green-dark);
}

.category-summary{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.summary-chip{
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 16px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
}
.summary-change-btn{
  background: none;
  border: none;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  margin-left: auto;
  padding: 6px 0;
}

#agencyFieldGroup{ display: none; }
#agencyFieldGroup.visible{ display: block; }

@media (max-width: 768px){
  .wizard-card{ padding: 32px 24px 36px; }
  .wizard-type-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .wizard-options{ grid-template-columns: 1fr; }
  .wizard-type-grid{ grid-template-columns: repeat(2, 1fr); }
}

.agency-detail-page{ padding: 28px 0 20px; }

.agency-cover{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  background: linear-gradient(135deg, #1c2b33 0%, #0f1a20 100%);
  background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1400&q=60');
  background-size: cover;
  background-position: center;
  margin-bottom: 18px;
}
.agency-cover::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,15,18,.15) 0%, rgba(10,15,18,.75) 55%, rgba(10,15,18,.9) 100%);
}
.agency-cover-brand{
  position: absolute;
  top: 24px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  z-index: 2;
}
.agency-cover-logo{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.agency-cover-name{
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .5px;
}
.agency-cover-actions{
  position: absolute;
  left: 32px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  z-index: 2;
}
.cover-action-btn{
  background: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  transition: background .15s ease;
}
.cover-action-btn:hover{ background: var(--green-light); color: var(--green-dark); }

.agency-info-card{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 20px;
}
.agency-info-left{
  display: flex;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.agency-info-logo{
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--text-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agency-info-name{
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-dark);
}
.agency-info-stats{
  font-size: 13px;
  color: var(--text-light);
  margin: 0 0 10px;
}
.agency-info-desc{
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0;
  max-width: 640px;
}
.agency-info-right{
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 260px;
}
.agency-info-address, .agency-info-hours{
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-mid);
  margin: 0;
  text-align: right;
  line-height: 1.5;
}
.agency-info-address a{ color: var(--blue); }
.agency-info-address a:hover{ text-decoration: underline; }
.agency-info-address svg, .agency-info-hours svg{ flex-shrink: 0; margin-top: 2px; color: var(--text-light); }
.agency-phone-btn{
  padding: 10px 20px;
  line-height: 1.5;
  flex-direction: column;
  margin-top: 4px;
  width: 100%;
}

.agency-listings-card{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 28px 32px;
}

.agency-filter-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.filter-pill{
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 20px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
  transition: all .15s ease;
}
.filter-pill:hover{ border-color: var(--text-light); }
.filter-pill.is-active{
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.agency-section{ margin-bottom: 32px; }
.agency-section:last-child{ margin-bottom: 0; }
.agency-section.is-hidden{ display: none; }
.agency-section-title{
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-dark);
}
.agency-section-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.agency-section-head .agency-section-title{ margin: 0; }

.listing-grid.five-col{ grid-template-columns: repeat(5, 1fr); }
.agency-empty-note{
  display: none;
  font-size: 13.5px;
  color: var(--text-light);
  margin: 0;
}
.agency-empty-note.visible{ display: block; }

@media (max-width: 1024px){
  .listing-grid.five-col{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px){
  .agency-info-card{ flex-direction: column; }
  .agency-info-right{ align-items: flex-start; text-align: left; }
  .agency-info-address, .agency-info-hours{ text-align: left; }
  .agency-cover{ height: auto; padding-bottom: 40%; }
}
@media (max-width: 768px){
  .agency-cover-actions{
    grid-template-columns: 1fr;
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  .agency-cover-brand{ top: 16px; right: 20px; }
  .agency-cover{ padding-bottom: 60%; }
  .listing-grid.five-col{ grid-template-columns: repeat(2, 1fr); }
  .agency-listings-card{ padding: 20px 18px 26px; }
}
@media (max-width: 480px){
  .listing-grid.five-col{ grid-template-columns: 1fr; }
  .agency-info-logo{ width: 48px; height: 48px; }
}

.lightbox-trigger{ cursor: zoom-in; }

.lightbox-overlay{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,18,.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.visible{ display: flex; }
.lightbox-image{
  max-width: 88vw;
  max-height: 84vh;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.lightbox-close{
  position: absolute;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover{ background: rgba(255,255,255,.22); }
.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav:hover{ background: rgba(255,255,255,.22); }
.lightbox-prev{ left: 24px; }
.lightbox-next{ right: 24px; }
.lightbox-counter{
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,.12);
  padding: 6px 14px;
  border-radius: 14px;
}

@media (max-width: 600px){
  .lightbox-nav{ width: 38px; height: 38px; font-size: 22px; }
  .lightbox-prev{ left: 10px; }
  .lightbox-next{ right: 10px; }
  .lightbox-close{ top: 12px; right: 12px; }
}

.listing-detail-page{ padding: 22px 0 20px; }

.listing-title-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.listing-detail-title{
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
  max-width: 720px;
}
.listing-title-actions{
  display: flex;
  gap: 18px;
  flex-shrink: 0;
  padding-top: 4px;
}
.title-action-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 600;
}
.title-action-btn:hover{ color: var(--text-dark); }

.listing-detail-grid{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.ld-gallery-main{
  height: 420px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  background-color: #dfe3e5;
  margin-bottom: 10px;
}
.ld-thumb-strip{
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.ld-thumb{
  width: 84px;
  height: 60px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: #dfe3e5;
  flex-shrink: 0;
  border: 2px solid transparent;
  position: relative;
}
.ld-thumb.is-active{ border-color: var(--green); }
.ld-thumb-more{ position: relative; }
.ld-thumb-more-label{
  position: absolute;
  inset: 0;
  background: rgba(10,15,18,.6);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.ld-view-meta{
  font-size: 12.5px;
  color: var(--text-light);
  margin: 16px 0 20px;
}

.ld-info-table{
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}
.ld-info-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.ld-info-cell{
  display: flex;
  justify-content: space-between;
  padding: 12px 4px;
  font-size: 13.5px;
}
.ld-info-cell:first-child{ padding-right: 20px; }
.ld-info-label{ color: var(--text-light); }
.ld-info-value{ color: var(--text-dark); font-weight: 600; }

.ld-description{
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0 0 24px;
}

.ld-location{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ld-location-left{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.ld-location-pin{ font-size: 18px; }
.ld-location-link{
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
}

.ld-district-pills{
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.ld-listing-id{
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

.ld-price-card{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px;
}
.ld-price{
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--text-dark);
}
.ld-price-sqm{
  font-size: 13px;
  color: var(--text-light);
  margin: 0 0 18px;
}
.ld-seller{
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.ld-seller-avatar{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ld-seller-name{ font-size: 14px; font-weight: 700; margin: 0; color: var(--text-dark); }
.ld-seller-role{ font-size: 12px; color: var(--text-light); margin: 2px 0 0; }

.ld-phone-btn{
  width: 100%;
  padding: 12px;
  line-height: 1.5;
  flex-direction: column;
  margin-bottom: 18px;
}

.ld-promo-row{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ld-promo-btn{
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
}
.ld-promo-btn:hover{ border-color: var(--text-light); }
.ld-promo-icon{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--white);
  flex-shrink: 0;
}
.promo-green{ background: var(--green); }
.promo-red{ background: #e0396c; }
.promo-gold{ background: var(--gold); }
.ld-promo-price{
  margin-left: auto;
  color: var(--text-light);
  font-weight: 500;
  font-size: 11.5px;
}

.similar-section{ padding-top: 12px; }
.similar-heading{
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text-dark);
  margin: 0;
}

.listing-badge-row{
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
  z-index: 2;
}
.listing-badge{
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
}
.badge-bump{ background: var(--green); }
.badge-discount{ background: var(--gold); border-radius: 50%; }
.badge-updated{ background: var(--blue); border-radius: 50%; }

.listing-corner-badges{
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 2;
}
.corner-badge{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.corner-badge.badge-premium{ color: var(--gold); }
.corner-badge.badge-vip{ color: #e0396c; }

.page-next{
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 16px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-left: 6px;
}
.page-next:hover{ border-color: var(--text-light); }

@media (max-width: 900px){
  .listing-detail-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 768px){
  .listing-title-row{ flex-direction: column; gap: 10px; }
  .ld-gallery-main{ height: 260px; }
  .ld-info-row{ grid-template-columns: 1fr; }
  .ld-info-cell:first-child{ padding-right: 4px; border-bottom: 1px dashed var(--border); }
}

.fav-btn{ position: relative; }
.fav-count-badge{
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #e0396c;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.bookmarks-page{ padding: 28px 0 20px; }
.bookmarks-title{
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text-dark);
}

.bookmarks-empty{
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 100px;
}
.bookmarks-empty.visible{ display: flex; }
.bookmarks-empty svg{ margin-bottom: 24px; }
.bookmarks-empty-text{
  font-size: 15px;
  color: var(--text-mid);
  margin: 0;
}

.bookmarks-grid{
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.bookmarks-grid.visible{ display: grid; }

@media (max-width: 1024px){
  .bookmarks-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px){
  .bookmarks-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .bookmarks-grid{ grid-template-columns: 1fr; }
}

.auth-page{
  min-height: 100vh;
  background: var(--white);
}

.auth-close{
  position: absolute;
  top: 24px;
  right: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--text-light);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.auth-close:hover{ background: var(--surface); color: var(--text-dark); }

.auth-screen{ display: none; min-height: 100vh; }
.auth-screen.is-active{ display: flex; }

.auth-choice{
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 24px;
}
.auth-choice-inner{ width: 100%; max-width: 340px; }
.auth-logo{
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 16px;
}
.auth-choice-subtitle{
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0 0 28px;
}
.auth-btn{
  width: 100%;
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: background .15s ease, opacity .15s ease;
}
.auth-btn-filled{
  background: var(--authblue);
  border: 1px solid var(--authblue);
  color: var(--white);
}
.auth-btn-filled:hover{ background: var(--authblue-dark); }
.auth-btn-filled.is-disabled{
  background: var(--authblue-light);
  border-color: var(--authblue-light);
  cursor: default;
  pointer-events: none;
}
.auth-btn-outline{
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--authblue);
  color: var(--authblue);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 0;
}
.auth-btn-outline:hover{ background: #f3f4ff; }

.auth-agreement{
  position: absolute;
  bottom: 32px;
  left: 24px;
  right: 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.6;
}
.auth-agreement a{ color: var(--text-mid); text-decoration: underline; }

.auth-phone-bg{
  align-items: center;
  justify-content: center;
  background: var(--surface);
  position: relative;
}
.auth-phone-card{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
}
.auth-phone-title{
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 28px;
  text-align: center;
}
.auth-field-label{
  display: block;
  font-size: 12.5px;
  color: var(--authblue);
  font-weight: 600;
  margin-bottom: 4px;
}
.auth-underline-input{
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 6px 0 10px;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 26px;
  background: transparent;
}
.auth-underline-input:focus{ outline: none; border-bottom-color: var(--authblue); }
.auth-note{
  font-size: 12.5px;
  color: var(--green-dark);
  text-align: center;
  margin: 14px 0 0;
  display: none;
}
.auth-note.visible{ display: block; }

.auth-split{ align-items: stretch; }
.auth-split-image{
  flex: 0 0 42%;
  background-size: cover;
  background-position: center;
  background-color: #dfe3e5;
}
.auth-split-panel{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 24px;
}
.auth-split-logo{
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: 700;
  color: #ff4f08;
}
.auth-panel-inner{ width: 100%; max-width: 360px; }
.auth-panel-title{
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 22px;
}
.auth-panel-desc{
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin: -10px 0 24px;
}
.auth-panel-input{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.auth-panel-input:focus{ outline: none; border-color: var(--authblue); }
.auth-forgot-link{
  display: block;
  text-align: right;
  font-size: 12.5px;
  color: var(--text-dark);
  text-decoration: underline;
  margin-bottom: 20px;
}
.auth-panel-submit{ margin-bottom: 18px; }
.auth-switch-link{
  display: block;
  text-align: center;
  font-size: 13.5px;
  color: var(--authblue);
  font-weight: 600;
}
.auth-back-link{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  width: 100%;
  font-size: 13.5px;
  color: var(--authblue);
  font-weight: 600;
}
.auth-split-agreement{
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  padding: 0 24px;
}
.auth-split-agreement a{ color: var(--text-mid); text-decoration: underline; }

@media (max-width: 860px){
  .auth-split-image{ display: none; }
  .auth-split-panel{ flex: 1; }
}
@media (max-width: 480px){
  .auth-phone-card{ padding: 30px 22px; }
  .auth-close{ top: 14px; right: 14px; }
  .auth-split-logo{ top: 18px; }
}

.about-page{ max-width: 900px; padding: 28px 24px 48px; }
.about-title{
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 22px;
  color: var(--text-dark);
  text-transform: uppercase;
}
.about-subheading{
  font-size: 16px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text-dark);
}
.about-text{
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0 0 16px;
}
.about-text a{ color: var(--blue); text-decoration: underline; }

@media (max-width: 768px){
  .about-title{ font-size: 20px; }
}

.site-main{ padding-bottom: 8px; min-height: 50vh; }
.logo-dot:empty{ display: none; }
.header-actions .logout-form{ display: inline-flex; margin: 0; }
.header-actions .btn{ cursor: pointer; }
.nav-mobile-only{ display: none; }
.btn-block{ width: 100%; justify-content: center; }
.btn-sm{ padding: 6px 12px; font-size: 13px; }
.btn-text-danger{ background: none; border: none; color: #c0392b; font-size: 12.5px; font-weight: 700; padding: 0; cursor: pointer; }
.link-btn{ background: none; border: none; color: var(--text-mid); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.link-btn:hover{ color: var(--text-dark); }
.search-filters{ display: contents; }
.filter-btn{ display: none; position: relative; }
.filter-count{ position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--green); color: var(--white); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.search-btn{ cursor: pointer; border: 1px solid transparent; }
.tab-item{ cursor: pointer; }
.tab-item svg{ width: 18px; height: 18px; }
.page-title{ font-size: 24px; font-weight: 700; margin: 26px 0 4px; color: var(--text-dark); }
.page-sub{ font-size: 14px; color: var(--text-light); margin: 0 0 22px; }
.section-title{ font-size: 20px; font-weight: 700; margin: 0; color: var(--text-dark); }
.empty-state{ background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 48px 20px; text-align: center; color: var(--text-mid); font-size: 14.5px; margin-bottom: 20px; }
.empty-state a{ color: var(--green-dark); font-weight: 700; }
.pagination{ flex-wrap: wrap; margin-top: 12px; }
a.page-num{ text-decoration: none; }
a.page-num:hover{ border-color: var(--text-light); }
.listing-title{ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-card .fav-icon{ cursor: pointer; }
.fav-icon.is-fav{ color: #e0396c; }
.fav-icon.is-fav svg path{ fill: #e0396c; }
.listing-badge-row{ flex-wrap: wrap; }
.listing-badge-row .listing-tag{ position: static; }
.tag-premium{ background: var(--gold); }
.tag-vip{ background: #e0396c; }
.listing-img img{ width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.listing-img-empty{ display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 12.5px; }
.agency-card{ color: inherit; }
.agency-card .agency-top{ margin-bottom: 10px; }
.agency-logo{ overflow: hidden; }
.agency-logo img{ width: 100%; height: 100%; object-fit: cover; }
.agency-verified{ display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 9px; margin-left: 5px; vertical-align: middle; }
.notice{ border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px; margin-bottom: 18px; border: 1px solid transparent; }
.notice-success{ background: rgb(255, 238, 230); border-color: rgb(255, 196, 168); color: rgb(168, 48, 0); }
.notice-error{ background: #fdecec; border-color: #f3b9b9; color: #a13030; }
.notice-info{ background: #fff7e8; border-color: #f4dfa8; color: #7a5c00; }
.notice strong{ font-weight: 700; }
.field-group label:not(.checkbox-item):not(.choice-btn):not(.type-card):not(.upload-zone){ display: block; font-size: 13px; font-weight: 600; color: var(--text-mid); margin-bottom: 8px; }
.field-group input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), .field-group select, .field-group textarea{ width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; font-size: 14px; color: var(--text-dark); background: var(--white); font-family: inherit; transition: border-color .15s ease; }
.field-group input:focus, .field-group select:focus, .field-group textarea:focus{ outline: none; border-color: var(--green); }
.field-group input:disabled{ background: var(--surface); color: var(--text-light); }
.field-group textarea{ resize: vertical; }
.field-group input[type=file]{ font-size: 13px; color: var(--text-mid); }
.form-card h2:not(.fc-heading){ font-size: 17px; font-weight: 700; margin: 0 0 18px; color: var(--text-dark); }
.form-actions{ text-align: right; }
.auth-alert{ background: #fdecec; border: 1px solid #f3b9b9; color: #a13030; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px; }
.auth-demo-banner{ background: #fff7e8; border: 1px solid #f4dfa8; color: #7a5c00; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 18px; text-align: left; }
.auth-demo-banner strong{ font-size: 20px; letter-spacing: 3px; display: block; margin-top: 4px; }
.auth-foot{ text-align: center; font-size: 13px; color: var(--text-mid); margin: 18px 0 0; }
.auth-foot a{ color: var(--authblue); font-weight: 700; }
.auth-page .auth-close{ text-decoration: none; }
.auth-phone-card .auth-btn, .auth-panel-inner .auth-btn{ cursor: pointer; display: block; text-align: center; }
.auth-phone-card .auth-foot{ margin-top: 16px; }
.auth-tabs{ display: flex; gap: 6px; margin: 0 0 20px; border-bottom: 1px solid var(--border); }
.auth-tab{ padding: 8px 14px; font-size: 13.5px; font-weight: 600; color: var(--text-mid); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tab.is-active{ color: var(--authblue); border-bottom-color: var(--authblue); }
.auth-sub{ font-size: 13.5px; color: var(--text-mid); line-height: 1.6; margin: 0 0 22px; text-align: center; }
.auth-panel-inner .auth-sub{ text-align: left; margin: -10px 0 22px; }
.auth-split-image{ background-image: linear-gradient(135deg, rgb(255, 79, 8) 0%, rgb(217, 62, 0) 45%, #0b1220 100%); }
.otp-input{ letter-spacing: 8px; font-size: 22px; text-align: center; font-weight: 700; }
.resend-form{ text-align: center; margin-top: 4px; }
.resend-form button{ background: none; border: none; color: var(--authblue); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.auth-agreement a, .auth-split-agreement a{ text-decoration: underline; }
.auth-phone-bg .auth-field-label + .auth-underline-input{ display: block; }
.about-text.pre{ white-space: pre-line; }
.error-page{ min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; background: var(--surface); }
.error-code{ font-size: 72px; font-weight: 700; margin: 0; color: var(--text-dark); line-height: 1; }
.error-code span{ color: var(--green); }
.error-text{ font-size: 15.5px; color: var(--text-mid); margin: 14px 0 24px; max-width: 420px; line-height: 1.6; }
.site-footer .footer-social a{ text-decoration: none; }
.footer-links a{ color: var(--text-mid); }
.lang-switch:empty{ display: none; }
.kabinet-shell{ display: flex; gap: 24px; align-items: flex-start; padding-top: 26px; }
.kabinet-sidebar{ width: 240px; flex-shrink: 0; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 18px 14px; position: sticky; top: 84px; }
.kabinet-user{ display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.kabinet-avatar{ width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.kabinet-user-name{ font-weight: 700; font-size: 14px; word-break: break-word; }
.kabinet-user-phone{ font-size: 12px; color: var(--text-light); }
.kabinet-nav a{ display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--text-mid); margin-bottom: 2px; }
.kabinet-nav a:hover{ background: var(--surface); color: var(--text-dark); }
.kabinet-nav a.active{ background: var(--green-light); color: var(--green-dark); }
.kabinet-badge{ background: var(--green); color: var(--white); font-size: 11px; font-weight: 700; border-radius: 20px; padding: 1px 8px; }
.kabinet-content{ flex: 1; min-width: 0; }
.kabinet-content .page-title{ margin-top: 0; }
.kabinet-heading{ font-size: 17px; font-weight: 700; margin: 26px 0 14px; color: var(--text-dark); }
.stat-cards{ display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 8px; }
.stat-card{ background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 18px; }
.stat-card .num{ font-size: 26px; font-weight: 700; color: var(--green-dark); }
.stat-card .lbl{ font-size: 12.5px; color: var(--text-light); margin-top: 2px; }
.table-scroll{ width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.table-list{ width: 100%; border-collapse: collapse; min-width: 560px; }
.table-list th, .table-list td{ padding: 12px 14px; text-align: left; font-size: 13.5px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table-list th{ background: var(--surface); font-weight: 700; color: var(--text-light); font-size: 12px; text-transform: uppercase; letter-spacing: .3px; }
.table-list tr:last-child td{ border-bottom: none; }
.status-pill{ font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; display: inline-block; }
.status-pill.active{ background: rgb(255, 238, 230); color: rgb(168, 48, 0); }
.status-pill.pending{ background: #fff7e8; color: #8a6d00; }
.status-pill.blocked{ background: #fdecec; color: #a13030; }
.status-pill.expired{ background: #eceff0; color: #5b6a72; }
.status-pill.rejected{ background: #fdecec; color: #a13030; }
.mini-thumb{ width: 52px; height: 40px; object-fit: cover; border-radius: 6px; background: var(--surface); display: block; }
.feature-badge{ display: inline-block; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 2px 7px; margin-right: 4px; }
.feature-premium{ background: #fff3cd; color: #8a6d00; }
.feature-vip{ background: #e6f0ff; color: #1a4fb4; }
.row-actions-cell{ display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.row-actions-cell form{ margin: 0; }
.notif-item{ background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 14px 18px; margin-bottom: 10px; }
.notif-item.unread{ border-left: 3px solid var(--green); }
.notif-title{ font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.notif-body{ font-size: 13px; color: var(--text-mid); }
.notif-time{ font-size: 11.5px; color: var(--text-light); margin-top: 6px; }
.balance-box{ background: linear-gradient(135deg, var(--green), var(--green-dark)); color: var(--white); border-radius: var(--radius-md); padding: 28px; margin-bottom: 20px; }
.balance-box .amt{ font-size: 32px; font-weight: 700; }
.balance-box .lbl{ font-size: 13px; opacity: .92; }
.security-row{ display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.security-row:last-child{ border-bottom: none; }
.security-row-title{ font-weight: 700; font-size: 14px; }
.security-row-sub{ font-size: 12.5px; color: var(--text-light); }
.package-modal-overlay{ display: none; position: fixed; inset: 0; background: rgba(10,15,18,.55); z-index: 500; align-items: center; justify-content: center; padding: 16px; }
.package-modal-overlay.is-open{ display: flex; }
.package-modal{ background: var(--white); border-radius: var(--radius-md); padding: 22px; max-width: 440px; width: 100%; max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow-hover); }
.package-modal-header{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.package-modal-header h2{ margin: 0; font-size: 18px; font-weight: 700; }
.package-option-list{ display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.package-option{ display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; gap: 2px 10px; border: 1.5px solid var(--border); background: var(--white); border-radius: var(--radius-md); padding: 12px 14px; cursor: pointer; align-items: center; }
.package-option:has(input:checked){ border-color: var(--green); background: var(--green-light); }
.package-option input{ grid-row: 1 / 3; accent-color: var(--green); }
.package-option-name{ font-weight: 700; font-size: 14px; }
.package-option-price{ font-weight: 700; color: var(--green-dark); grid-row: 1; grid-column: 3; }
.package-option-duration{ font-size: 12px; color: var(--text-light); grid-column: 2; }
.package-option-row{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 14px 18px; }
.package-option-row .package-option-name{ flex: 1; }
.package-option-row .package-option-duration{ grid-column: auto; }
.package-option-row .package-option-price{ grid-column: auto; grid-row: auto; }
.video-strip-wrap{ padding-top: 28px; }
.video-strip{ display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: thin; }
.video-thumb{ position: relative; flex: 0 0 150px; aspect-ratio: 3 / 4; border-radius: var(--radius-md); overflow: hidden; background: #dfe3e5; display: block; color: var(--white); box-shadow: var(--shadow-card); transition: box-shadow .2s ease, transform .2s ease; }
.video-thumb:hover{ box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.video-thumb video{ width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; background: #dfe3e5; }
.video-thumb-play{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(20,30,35,.55); display: flex; align-items: center; justify-content: center; font-size: 14px; padding-left: 3px; }
.video-thumb-title{ position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 12.5px; font-weight: 600; background: linear-gradient(transparent, rgba(10,15,18,.78)); text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.video-feed-page{ max-width: 420px; margin: 0 auto 24px; height: calc(100vh - 230px); min-height: 480px; overflow-y: scroll; scroll-snap-type: y mandatory; border-radius: var(--radius-md); background: #000; box-shadow: var(--shadow-card); }
.video-feed-item{ position: relative; height: 100%; scroll-snap-align: start; display: flex; align-items: flex-end; }
.video-feed-item video{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-feed-info{ position: relative; z-index: 2; color: var(--white); padding: 18px 70px 24px 18px; background: linear-gradient(transparent, rgba(10,15,18,.8)); width: 100%; }
.video-feed-price{ font-weight: 700; font-size: 17px; }
.video-feed-title{ font-size: 14px; margin: 4px 0; opacity: .92; }
.video-feed-link{ color: var(--white); font-weight: 700; text-decoration: underline; font-size: 13px; }
.video-actions{ position: absolute; right: 10px; bottom: 100px; z-index: 3; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.video-action-btn{ background: rgba(20,30,35,.45); border: none; color: var(--white); border-radius: 50%; width: 52px; height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; gap: 1px; }
.video-action-btn span:last-child{ font-size: 11px; font-weight: 600; }
.video-action-btn.is-liked{ color: #ff4d67; }
.video-comments-panel{ position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; max-height: 65%; background: var(--white); border-radius: 16px 16px 0 0; padding: 14px 16px; display: none; flex-direction: column; box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
.video-comments-panel.is-open{ display: flex; }
.video-comments-header{ display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 8px; }
.video-comments-list{ overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; margin-bottom: 10px; }
.video-comment-item strong{ margin-right: 4px; }
.video-comment-form{ display: flex; gap: 8px; }
.video-comment-form input{ flex: 1; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 9px 12px; font-size: 13.5px; font-family: inherit; }
.video-comment-form input:focus{ outline: none; border-color: var(--green); }
.video-comment-form button{ border: none; background: var(--green); color: var(--white); border-radius: var(--radius-sm); padding: 9px 16px; font-weight: 700; cursor: pointer; }
.listing-detail-page{ padding-top: 6px; }
.ld-gallery-main{ position: relative; overflow: hidden; background-image: none; }
.ld-slide{ position: absolute; inset: 0; display: none; }
.ld-slide.is-active{ display: block; }
.ld-slide img, .ld-slide video{ width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.ld-slide img{ cursor: zoom-in; }
.ld-nav{ position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(20,30,35,.55); color: var(--white); font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.ld-nav:hover{ background: rgba(20,30,35,.8); }
.ld-prev{ left: 12px; }
.ld-next{ right: 12px; }
.ld-counter{ position: absolute; right: 12px; bottom: 12px; background: rgba(20,30,35,.65); color: var(--white); font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 20px; z-index: 2; }
.ld-gallery-empty{ display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 14px; }
.ld-thumb{ padding: 0; cursor: pointer; overflow: hidden; background-color: #dfe3e5; }
.ld-thumb img, .ld-thumb video{ width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ld-thumb-play{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 14px; background: rgba(20,30,35,.35); z-index: 1; }
.ld-flags{ display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ld-flag{ font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 16px; background: var(--green-light); color: var(--green-dark); }
.ld-owner-link{ display: block; font-size: 12.5px; color: var(--green-dark); font-weight: 600; margin: -10px 0 16px; }
.ld-owner-link:hover{ text-decoration: underline; }
.ld-fav-btn{ width: 100%; justify-content: center; cursor: pointer; }
.ld-fav-btn.is-favorited{ border-color: #e0396c; color: #e0396c; background: #fdecf2; }
.title-action-btn{ cursor: pointer; }
.title-action-btn.is-favorited{ color: #e0396c; }
.title-action-btn.is-favorited svg path{ fill: #e0396c; }
.ld-description{ white-space: pre-line; }
.ld-info-row .ld-info-cell:only-child{ grid-column: 1 / -1; }
.ld-phone-btn{ cursor: pointer; }
.ld-phone-btn .phone-num{ justify-content: center; }
.similar-heading{ text-transform: uppercase; }
.agency-cover{ background-image: none; }
.agency-cover-logo{ overflow: hidden; }
.agency-cover-logo img, .agency-info-logo img{ width: 100%; height: 100%; object-fit: cover; }
.agency-info-logo{ overflow: hidden; }
.cover-action-btn{ cursor: pointer; text-align: center; display: block; }
.agency-info-desc{ white-space: pre-line; }
.agency-phone-btn{ cursor: pointer; }
.agency-edit-link{ font-size: 13px; color: var(--green-dark); font-weight: 700; text-decoration: underline; }
.agency-owner-note{ text-align: center; font-size: 13px; color: var(--text-mid); margin: 18px 0 0; }
.agency-owner-note a{ color: var(--green-dark); font-weight: 700; text-decoration: underline; }
.filter-pill{ cursor: pointer; display: inline-block; }
.agency-search-form{ max-width: 420px; margin-bottom: 24px; }
.agency-search-form .agency-search{ margin-bottom: 0; max-width: none; }
.agency-page-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.form-page.standalone{ margin: 0 auto; }
.form-progress{ position: sticky; top: 64px; background: var(--surface); z-index: 20; padding: 8px 0; margin-bottom: 18px; }
.form-progress .progress-step{ cursor: pointer; }
.choice-btn{ cursor: pointer; display: inline-block; }
.choice-btn input, .type-card input{ position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.type-card{ cursor: pointer; position: relative; }
.type-card svg{ width: 26px; height: 26px; }
.type-grid{ grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.upload-zone{ display: block; }
.upload-zone svg{ margin-left: auto; margin-right: auto; }
.photo-thumb img{ width: 100%; height: 100%; object-fit: cover; }
.photo-thumb .remove-photo{ cursor: pointer; }
.video-preview-row video{ max-width: 280px; width: 100%; border-radius: var(--radius-sm); margin-top: 14px; display: block; }
.loc-row{ margin-bottom: 18px; }
.loc-row .btn{ cursor: pointer; }
.loc-status{ font-size: 12.5px; margin-left: 10px; color: var(--text-mid); }
.loc-hint{ font-size: 12.5px; color: var(--text-light); margin-top: 8px; }
.form-submit-bar .btn{ cursor: pointer; }
.checkbox-row{ display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.checkbox-row input{ width: 16px; height: 16px; accent-color: var(--green); }
.scroll-top{ cursor: pointer; }
@media (max-width: 900px){
  .kabinet-shell{ flex-direction: column; }
  .kabinet-sidebar{ width: 100%; position: static; }
  .kabinet-nav{ display: flex; flex-wrap: wrap; gap: 4px; }
  .kabinet-nav a{ margin-bottom: 0; }
}
@media (max-width: 768px){
  .site-header{ position: sticky; }
  .main-nav{ display: none; }
  .main-nav.mobile-open{ display: flex; position: absolute; top: 58px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 8px 16px 14px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 16px rgba(20,30,35,.08); overflow: visible; }
  .main-nav.mobile-open .nav-link{ padding: 13px 4px; border-bottom: 1px solid var(--border); }
  .main-nav.mobile-open .nav-link.active::after{ display: none; }
  .main-nav.mobile-open .nav-mobile-only{ display: flex; }
  .nav-mobile-only{ gap: 10px; padding-top: 14px; align-items: center; flex-wrap: wrap; }
  .nav-mobile-only form{ margin: 0; }
  .header-actions .reg-btn, .header-actions .logout-form{ display: none; }
  .header-inner .logo{ margin: 0; }
  .filter-btn{ display: inline-flex; justify-content: center; }
  .search-filters{ display: none; }
  .search-filters.is-open{ display: flex; flex-direction: column; gap: 8px; width: 100%; }
  .search-filters.is-open .select-field{ flex: 1 1 auto; width: 100%; }
  .page-title{ font-size: 21px; margin-top: 20px; }
  .video-feed-page{ max-width: 100%; height: calc(100vh - 190px); }
  .table-list th, .table-list td{ padding: 10px 10px; }
  .form-progress{ top: 58px; }
  .ld-nav{ width: 34px; height: 34px; font-size: 20px; }
}
@media (max-width: 480px){
  .stat-cards{ grid-template-columns: repeat(2, 1fr); }
  .video-thumb{ flex-basis: 130px; }
  .error-code{ font-size: 56px; }
}
@media (min-width: 769px){
  .main-nav{ overflow: visible; }
}
.search-btn{ justify-content: center; text-align: center; }
@media (max-width: 560px){
  .header-actions .login-btn{ display: none; }
  .header-actions{ gap: 8px; }
}
.ld-counter{ bottom: auto; top: 12px; }
.form-page.standalone{ padding-left: 0; padding-right: 0; }

.listing-slider{ position: relative; margin-bottom: 16px; }
.slider-track{ display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 4px 18px; margin: -4px -4px 0; }
.slider-track::-webkit-scrollbar{ display: none; }
.slider-item{ flex: 0 0 calc((100% - 48px) / 4); min-width: 0; scroll-snap-align: start; }
.slider-item .listing-card{ height: 100%; }
.slider-more-card{ display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; min-height: 260px; border-radius: var(--radius-md); border: 1.5px dashed var(--border); background: var(--surface); color: var(--text-dark); font-weight: 700; font-size: 15px; transition: border-color .15s ease, background .15s ease; }
.slider-more-card:hover{ border-color: var(--green); background: var(--green-light); color: var(--green-dark); }
.slider-more-arrow{ width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-card); display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; padding-bottom: 3px; }
.arrow-btn{ display: inline-flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; padding-bottom: 2px; border: 1px solid var(--border); border-radius: 50%; background: var(--white); cursor: pointer; }
.arrow-btn:hover{ border-color: var(--text-light); }
.arrow-btn:disabled{ opacity: .35; cursor: default; }
.infinite-sentinel{ height: 1px; }
.infinite-loader{ display: none; text-align: center; padding: 14px 0 22px; font-size: 13.5px; color: var(--text-light); }
.infinite-loader.visible{ display: block; }
@media (max-width: 1024px){
  .slider-item{ flex-basis: calc((100% - 32px) / 3); }
}
@media (max-width: 768px){
  .slider-item{ flex-basis: calc((100% - 16px) / 2); }
  .tabs-inner{ align-items: stretch; }
  .tabs-scroll{ flex: none; width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .section-head-right .arrow-btn{ display: none; }
}
@media (max-width: 480px){
  .slider-item{ flex-basis: 78%; }
}
@media (max-width: 768px){
  .search-inner{ flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 8px; }
  .search-inner .text-field{ order: 1; flex: 1 1 0; width: auto; min-width: 0; }
  .search-inner .filter-btn{ order: 2; flex: 0 0 auto; width: auto; padding-left: 14px; padding-right: 14px; white-space: nowrap; }
  .search-inner .search-filters{ order: 3; }
  .search-inner .search-btn{ order: 4; display: none; width: 100%; }
  .search-inner.filters-open .search-btn{ display: inline-flex; }
}

.mobile-bottom-nav{ display: none; }
@media (max-width: 768px){
  body{ padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bottom-nav{ display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: var(--white); box-shadow: 0 -2px 14px rgba(20,30,35,.12); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); align-items: flex-end; justify-content: space-around; }
  .mbn-item{ flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; padding: 4px 2px 2px; background: none; border: none; color: #8b8f92; font-family: inherit; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .mbn-item span{ font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .2px; line-height: 1.2; white-space: nowrap; }
  .mbn-item.is-active{ color: var(--text-dark); }
  .mbn-add{ position: relative; color: var(--green-dark); }
  .mbn-add-circle{ width: 54px; height: 54px; margin-top: -26px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(240,41,45,.4); border: 4px solid var(--white); box-sizing: content-box; }
  .mbn-add span:last-child{ color: var(--green-dark); }
  .scroll-top{ bottom: calc(86px + env(safe-area-inset-bottom, 0px)); right: 14px; }
  .video-feed-page{ height: calc(100vh - 270px); }
}

.ld-title-mobile{ display: none; }
@media (max-width: 768px){
  .listing-grid{ grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .listing-img{ height: 150px; }
  .listing-body{ padding: 10px 10px 12px; }
  .listing-price{ font-size: 15px; }
  .listing-title{ font-size: 13px; }
  .listing-meta, .listing-date{ font-size: 11.5px; }
  .listing-badge-row{ top: 6px; left: 6px; gap: 4px; }
  .listing-badge-row .listing-tag{ font-size: 10px; padding: 2px 6px; }
  .fav-icon{ width: 28px; height: 28px; top: 6px; right: 6px; }
  .slider-track{ gap: 10px; }
  .slider-item{ flex-basis: calc((100% - 20px) / 2.2); }
  .ld-title-desktop{ display: none; }
  .ld-title-mobile{ display: flex; margin: 14px 0 6px; }
}
@media (max-width: 480px){
  .listing-grid{ grid-template-columns: repeat(2, 1fr); }
  .listing-img{ height: 150px; }
  .slider-item{ flex-basis: calc((100% - 20px) / 2.2); }
}
@media (max-width: 768px){
  .slider-more-card{ min-height: 0; }
}
.listings-title{ font-size: 20px; font-weight: 700; margin: 22px 0 18px; color: var(--text-dark); }
.listings-block{ margin-bottom: 8px; }
.listings-toolbar{ display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 14px; }
.listings-sub{ font-size: 20px; font-weight: 700; margin: 0; color: var(--text-dark); }
.listings-sub-count{ font-size: 15px; font-weight: 600; color: var(--text-light); }
.listings-tools{ display: flex; gap: 10px; align-items: center; }
.tool-btn{ width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--white); color: var(--text-dark); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-card); }
.tool-btn:hover{ border-color: var(--text-light); }
.tool-btn.is-active{ background: var(--green-light); border-color: var(--green); color: var(--green-dark); }
.tool-btn .icon-list{ display: none; }
.tool-btn.is-active .icon-list{ display: block; }
.tool-btn.is-active .icon-map{ display: none; }
.sort-wrap{ position: relative; }
.sort-menu{ display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-hover); border: 1px solid var(--border); padding: 6px; z-index: 60; }
.sort-menu.is-open{ display: block; }
.sort-option{ display: block; padding: 11px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--text-mid); }
.sort-option:hover{ background: var(--surface); color: var(--text-dark); }
.sort-option.is-active{ background: var(--green-light); color: var(--green-dark); }
.listings-map-wrap{ margin-bottom: 20px; }
.listings-map-wrap[hidden]{ display: none; }
.map-note{ font-size: 13px; color: var(--text-mid); margin: 0 0 10px; }
.listings-map{ width: 100%; height: 560px; border-radius: var(--radius-md); overflow: hidden; background: #e8ecee; box-shadow: var(--shadow-card); border: 1px solid var(--border); }
.price-marker{ background: none; border: none; }
.price-marker span{ position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); white-space: nowrap; background: var(--green); color: var(--white); font-size: 12.5px; font-weight: 700; padding: 5px 9px; border-radius: 14px; box-shadow: 0 2px 8px rgba(20,30,35,.35); border: 2px solid var(--white); cursor: pointer; }
.price-marker span::after{ content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--green); border-bottom: 0; }
.price-marker.is-vip span{ background: #e0396c; }
.price-marker.is-vip span::after{ border-top-color: #e0396c; }
.price-marker.is-premium span{ background: var(--gold); }
.price-marker.is-premium span::after{ border-top-color: var(--gold); }
.price-marker:hover{ z-index: 1000 !important; }
.leaflet-container{ font-family: inherit; }
@media (max-width: 768px){
  .listings-title{ font-size: 18px; margin: 16px 0 14px; }
  .listings-sub{ font-size: 18px; }
  .listings-map{ height: calc(100vh - 330px); min-height: 360px; }
}
@media (max-width: 768px){
  .search-inner .search-filters.is-open{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; order: 0; width: 100%; }
  .search-inner .search-filters.is-open .select-field{ width: 100%; min-width: 0; }
  .search-inner.filters-open .text-field{ order: 1; }
  .search-inner.filters-open .filter-btn{ order: 2; }
  .search-inner.filters-open .search-btn{ order: 3; }
}
select.field-input{ appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2358646b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
@media (max-width: 768px){
  #districtGroup, #metroGroup{ margin-bottom: 18px; }
}
.wizard-root .wizard-wrap{ display: none; }
.wizard-root.is-wizard .wizard-wrap{ display: flex; background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
.wizard-root.is-wizard #formWrap{ display: none; }
.wizard-options-3{ grid-template-columns: repeat(3, 1fr); }
.wizard-option, .wizard-type, .wizard-tab{ cursor: pointer; font-family: inherit; }
.wizard-back{ display: block; margin: 22px auto 0; background: none; border: none; color: var(--text-mid); font-size: 13.5px; font-weight: 600; cursor: pointer; padding: 6px 10px; }
.wizard-back:hover{ color: var(--text-dark); }
.wizard-card-wide .wizard-tabs{ margin-bottom: 24px; }
.form-topbar{ margin-bottom: 6px; }
.reset-all-btn{ background: none; border: none; border-top: 1px solid var(--border); padding: 12px 0 0; color: var(--text-dark); font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.reset-all-btn:hover{ color: #c0392b; }
.form-deal-tabs{ margin-bottom: 22px; }
.form-deal-tabs .wizard-tab{ position: relative; text-align: center; display: block; }
.form-deal-tabs .wizard-tab input{ position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
@media (max-width: 768px){
  .wizard-root.is-wizard .wizard-wrap{ min-height: calc(100vh - 330px); padding: 24px 0; }
  .wizard-options-3{ grid-template-columns: 1fr; }
  .wizard-card{ padding: 28px 18px 30px; }
  .wizard-option{ padding: 26px 16px; flex-direction: row; justify-content: flex-start; gap: 16px; }
}
@media (max-width: 480px){
  .wizard-tab{ padding: 12px 4px; font-size: 13px; }
}

.tab-item{ border: none; background: rgb(248, 248, 248); }
.tab-item:hover{ background: rgb(248, 248, 248); border: none; color: var(--text-dark); }
.tab-item.is-active{ background: rgb(248, 248, 248); border: none; color: var(--green-dark); font-weight: 700; }
.filter-btn-text{ margin-left: 2px; }
@media (max-width: 768px){
  .new-ad-btn .new-ad-text{ display: none; }
  .new-ad-btn{ padding: 10px 12px; }
  .filter-btn .filter-btn-text{ display: none; }
  .search-inner .filter-btn{ padding-left: 14px; padding-right: 14px; }
}

.listing-body{ padding-left: 0; padding-right: 0; }
.mbn-add-circle{ box-shadow: none; }
.agency-row{ display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.agency-row .agency-top{ flex: 1; min-width: 0; margin-bottom: 0; }
.agency-row .agency-name{ overflow: hidden; text-overflow: ellipsis; }
.agency-call-btn{ display: none; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); align-items: center; justify-content: center; }
.agency-call-btn:active{ background: var(--green-dark); }
@media (max-width: 768px){
  .agency-call-btn{ display: inline-flex; }
  .agencies-page .agency-grid{ grid-template-columns: 1fr; }
}
.cover-preview{ display: block; width: 100%; max-width: 420px; height: 110px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 10px; }

.error-page{ background: var(--bg); }
.auth-phone-bg{ background: var(--bg); }
.auth-phone-card, .wizard-card{ border: 1px solid var(--border); box-shadow: none; }
.form-progress{ background: var(--bg); }
.wizard-root.is-wizard .wizard-wrap{ background: var(--bg); box-shadow: none; clip-path: none; }
.tab-item, .tab-item:hover{ color: var(--text-dark); font-weight: 600; }
.tab-item.is-active{ color: var(--green-dark); font-weight: 700; }
.mbn-item{ color: #4a5560; }
.mbn-item span{ font-weight: 700; }
.mbn-item.is-active{ color: var(--text-dark); }
::placeholder{ color: #6b7680; opacity: 1; }
body{ font-size: 15px; line-height: 1.5; }
.nav-link{ font-size: 15px; font-weight: 600; color: var(--text-mid); }
.nav-link:hover, .nav-link.active{ color: var(--text-dark); }
.btn{ font-weight: 600; }
.section-head h2, .section-title, .listings-title, .listings-sub{ font-size: 24px; font-weight: 700; color: var(--text-dark); letter-spacing: -0.01em; }
.listings-sub-count{ font-size: 16px; color: var(--text-light); }
.see-all, .today-count{ color: var(--text-dark); font-weight: 600; }
.listing-price{ font-size: 18px; font-weight: 700; color: var(--text-dark); }
.listing-title{ font-size: 15px; font-weight: 600; color: var(--text-dark); line-height: 1.35; }
.listing-meta{ font-size: 13.5px; color: var(--text-mid); }
.listing-date{ font-size: 12.5px; color: var(--text-light); }
.select-field select, .text-field input{ color: var(--text-dark); font-size: 14.5px; }
.footer-label{ color: var(--text-light); }
.footer-links a, .district-col a{ color: var(--text-mid); }
.footer-links a:hover, .district-col a:hover{ color: var(--text-dark); }
.page-sub, .listings-count, .agency-offers{ color: var(--text-light); }
@media (max-width: 768px){
  .section-head h2, .section-title, .listings-title, .listings-sub{ font-size: 20px; }
  .listing-price{ font-size: 16px; }
  .listing-title{ font-size: 13.5px; }
  .listing-meta{ font-size: 12px; }
  .listing-date{ font-size: 11.5px; }
  .select-field select, .text-field input{ font-size: 16px; }
  .video-thumb{ flex-basis: 128px; }
}

.logo-dot{ color: var(--green); }
.mbn-add-circle{ background: var(--green); }
.mbn-add, .mbn-add span:last-child{ color: var(--green-dark); }
.fav-count-badge{ background: var(--green); color: var(--white); }
.select-field, .text-field{ border: 1.5px solid #b7c0c8; height: 44px; }
.select-field select{ font-weight: 600; color: var(--text-dark); }
.select-field::after{ border-right-color: var(--text-dark); border-bottom-color: var(--text-dark); }
.text-field input{ font-weight: 500; }
.text-field input::placeholder{ color: #55606b; opacity: 1; }
.filter-btn{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative; height: 44px; background: var(--white); border: 1.5px solid #b7c0c8; color: var(--text-dark); font-weight: 600; font-size: 14.5px; padding: 0 16px; border-radius: var(--radius-sm); }
.filter-btn:hover{ border-color: var(--text-dark); background: var(--white); }
.filter-btn svg path{ stroke-width: 1.9; }
.search-fake{ display: none; align-items: center; height: 44px; padding: 0 14px; background: var(--white); border: 1.5px solid #b7c0c8; border-radius: var(--radius-sm); text-align: left; font-family: inherit; font-size: 16px; cursor: pointer; min-width: 0; }
.search-fake span{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-fake-placeholder{ color: #55606b; font-weight: 500; }
.search-fake-value{ color: var(--text-dark); font-weight: 600; }
.ld-info-label{ color: var(--text-mid); font-weight: 500; font-size: 14px; }
.ld-info-value{ color: var(--text-dark); font-weight: 700; font-size: 14.5px; }
.ld-view-meta, .ld-listing-id, .ld-price-sqm, .ld-seller-role, .crumb-sep{ color: var(--text-mid); }
.breadcrumb a{ color: var(--text-mid); font-weight: 500; }
body.fm-open{ overflow: hidden; }
@media (max-width: 768px){
  .search-inner{ flex-wrap: nowrap; gap: 8px; }
  .search-inner .text-field, .search-inner .search-filters, .search-inner .search-btn{ display: none; }
  .search-inner .search-fake{ display: flex; flex: 1 1 0; order: 1; }
  .search-inner .filter-btn{ order: 2; flex: 0 0 auto; width: 48px; padding: 0; }
  .filter-btn .filter-btn-text{ display: none; }
}

.video-heading{ display: flex; align-items: center; gap: 12px; }
.video-heading-icon{ position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(255, 79, 8, .4); }
.video-heading-icon::after{ content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: videoPulse 1.8s ease-out infinite; }
@keyframes videoPulse{
  0%{ transform: scale(1); opacity: .75; }
  100%{ transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .video-heading-icon::after{ animation: none; opacity: 0; }
}
.filter-btn svg{ color: var(--green); }
.filter-btn svg path{ stroke-width: 2.2; }
@media (max-width: 768px){
  .header-inner{ display: flex; align-items: center; gap: 8px; }
  .header-inner .logo{ order: 1; margin-right: auto; text-align: left; }
  .header-inner .header-actions{ order: 2; }
  .header-inner .menu-toggle{ order: 3; }
  body.is-app .header-inner{ display: grid; grid-template-columns: 1fr auto 1fr; }
  body.is-app .header-inner .menu-toggle{ order: 0; justify-self: start; }
  body.is-app .header-inner .logo{ order: 0; margin-right: 0; justify-self: center; text-align: center; }
  body.is-app .header-inner .header-actions{ order: 0; justify-self: end; }
  .video-heading-icon{ width: 34px; height: 34px; }
  .video-heading-icon svg{ width: 19px; height: 19px; }
}

.topup-card{ max-width: 520px; }
.topup-quick{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.topup-quick .btn{ flex: 1 1 70px; justify-content: center; }
.topup-custom .btn{ margin-top: 4px; }
.topup-hint{ font-size: 12.5px; color: var(--text-light); margin: 16px 0 0; line-height: 1.5; }

.loc-preview{ position: relative; height: 150px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); margin-top: 6px; }
.loc-preview-map{ position: absolute; inset: 0; }
.loc-preview-map .leaflet-container{ width: 100%; height: 100%; font: inherit; }
.loc-open-btn{ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 600; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: #fff; color: var(--green); border: 1px solid var(--green); border-radius: 12px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.loc-open-btn:hover{ background: var(--green-light); }
.loc-pin{ background: none; border: 0; }
.loc-pin span{ display: block; position: relative; width: 26px; height: 26px; margin: 2px 2px 0; background: var(--green); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.loc-pin span::after{ content: ''; position: absolute; top: 8px; left: 8px; width: 10px; height: 10px; background: #fff; border-radius: 50%; }
.loc-modal{ position: fixed; inset: 0; z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(11,18,32,.55); }
.loc-modal[hidden]{ display: none; }
.loc-modal-box{ display: flex; flex-direction: column; width: min(900px, 100%); height: min(640px, 100%); background: #fff; border-radius: 16px; overflow: hidden; }
.loc-modal-head{ display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.loc-modal-close{ border: 0; background: none; font-size: 28px; line-height: 1; color: var(--text-mid); cursor: pointer; }
.loc-pick-map{ flex: 1; min-height: 0; }
.loc-modal-foot{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--border); }
.loc-picked{ flex: 1; font-size: 13.5px; color: var(--text-mid); line-height: 1.4; }
body.loc-lock{ overflow: hidden; }
@media (max-width: 768px){
  .loc-modal{ padding: 0; }
  .loc-modal-box{ height: 100%; border-radius: 0; }
  .loc-modal-foot{ flex-direction: column; align-items: stretch; }
}

.new-ad-btn{ background: var(--keep-green); }
.new-ad-btn:hover{ background: var(--keep-green-dark); }
.filter-btn svg{ color: var(--panel-blue); }
.filter-count{ background: var(--panel-blue); }
.mbn-add{ color: var(--keep-green-dark); }
.mbn-add span:last-child{ color: var(--keep-green-dark); }
.mbn-add-circle{ background: var(--keep-green); }

.mbn-video-icon{ position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mbn-video-icon::after{ content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: videoPulse 1.8s ease-out infinite; pointer-events: none; }
@media (prefers-reduced-motion: reduce){
  .mbn-video-icon::after{ animation: none; opacity: 0; }
}

.deal-pills{ display: flex; gap: 10px; overflow-x: auto; padding-top: 2px; padding-bottom: 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.deal-pills::-webkit-scrollbar{ display: none; }
.deal-pill{ flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: #f4f4f6; border-radius: 20px; color: var(--text-dark); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.deal-pill svg{ color: var(--green); flex-shrink: 0; }
.deal-pill:hover{ background: #ececf0; }
.deal-pill.is-active{ background: var(--green-light); color: var(--green); font-weight: 600; }


.show-phone-btn{ background: var(--keep-green); }
.show-phone-btn:hover{ background: var(--keep-green-dark); }
.ld-phone-btn{ margin-bottom: 10px; }
.btn.wa-btn{ display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; margin-top: 10px; background: #25d366; color: #fff; }
.btn.wa-btn:hover{ background: #1ebe5b; }
.ld-wa-btn{ margin-bottom: 18px; }

.agency-call-btn{ background: var(--keep-green); }
.agency-call-btn:active{ background: var(--keep-green-dark); }

.site-header .logo-mark{ color: var(--green); }

.kabinet-shell{ --green: var(--panel-blue); --green-dark: var(--panel-blue-dark); --green-light: var(--panel-blue-light); }
.kabinet-shell .notice-success, .kabinet-shell .status-pill.active{ background: var(--panel-blue-light); border-color: rgb(196, 208, 255); color: rgb(36, 60, 180); }

.video-heading-link{ display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }

.float-actions{ display: none; }
@media (max-width: 768px){
  .has-float-actions .scroll-top{ display: none; }
  .float-actions{ display: flex; position: fixed; left: 14px; right: 14px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); justify-content: space-between; align-items: center; pointer-events: none; z-index: 200; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; }
  .float-actions.visible{ opacity: 1; visibility: visible; transform: translateY(0); }
  .float-actions a, .float-actions button{ pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border: 0; border-radius: 23px; color: #fff; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
  .float-actions .float-elimyandi{ background: var(--white); color: var(--text-dark); padding-left: 8px; }
  .float-filter{ background: var(--panel-blue); }
  body.fm-open .float-actions{ display: none; }
}

.agency-slider .slider-item .agency-card{ height: 100%; }
.agency-slider .slider-more-card{ min-height: 120px; }

.float-video-icon{ position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--white); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-video-icon::after{ content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: videoPulse 1.8s ease-out infinite; pointer-events: none; }
@media (prefers-reduced-motion: reduce){
  .float-video-icon::after{ animation: none; opacity: 0; }
}

.app-banner[hidden]{ display: none; }
.app-banner{ position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--white); padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -4px 18px rgba(20,30,35,.16); border-radius: 16px 16px 0 0; }
.app-banner-close{ position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--panel-blue); cursor: pointer; }
.app-banner-top{ display: flex; align-items: center; gap: 12px; padding-right: 34px; }
.app-banner-icon{ width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; }
.app-banner-text{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-banner-text strong{ font-size: 18px; color: var(--text-dark); }
.app-banner-text span{ font-size: 13px; color: var(--text-mid); line-height: 1.3; }
.app-banner-bottom{ display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.app-banner-stores{ display: flex; gap: 8px; }
.app-store-pill{ display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 9px; border-radius: 9px; background: #0b0b0d; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.app-banner-cta{ flex: 1 1 auto; max-width: 150px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 21px; background: #14b24b; color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; }
@media (max-width: 768px){
  body.has-app-banner{ padding-bottom: var(--app-banner-h, 0px); }
  body.has-app-banner .float-actions{ bottom: calc(var(--app-banner-h, 0px) + 14px); }
  body.has-app-banner .scroll-top{ bottom: calc(var(--app-banner-h, 0px) + 14px); }
}
@media (min-width: 769px){
  .app-banner{ display: none !important; }
}

.agency-slider .agency-desc{ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 768px){
  .agency-slider .slider-item{ flex-basis: 78%; }
  .agency-slider .agency-card{ padding: 14px; }
}
@media (min-width: 769px) and (max-width: 1024px){
  .agency-slider .slider-item{ flex-basis: calc((100% - 16px) / 2); }
}

html.video-lock, html.video-lock body{ overflow: hidden; height: 100%; overscroll-behavior: none; }
body.video-page{ background: #000; padding-bottom: 0 !important; }
body.video-page .site-main{ max-width: none; padding: 0; margin: 0; }
body.video-page .scroll-top, body.video-page .float-actions{ display: none !important; }
body.video-page .video-feed-page{
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  height: calc(100vh - var(--vf-top, 58px) - var(--vf-bottom, 0px));
  height: calc(100dvh - var(--vf-top, 58px) - var(--vf-bottom, 0px));
  min-height: 0;
  border-radius: 0;
  background: #000;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
body.video-page .video-feed-page::-webkit-scrollbar{ display: none; }
body.video-page .video-feed-item{ scroll-snap-stop: always; background: #000; }
body.video-page .video-feed-empty{ color: #fff; text-align: center; padding: 90px 20px; font-size: 15px; }

.video-sound-btn{ position: absolute; top: 14px; right: 12px; z-index: 3; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.video-feed-page.is-muted .icon-sound{ display: none; }
.video-feed-page:not(.is-muted) .icon-muted{ display: none; }

.video-feed-item.is-paused::before{ content: ""; position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(0, 0, 0, .45); z-index: 2; pointer-events: none; }
.video-feed-item.is-paused::after{ content: ""; position: absolute; left: 50%; top: 50%; margin: -13px 0 0 -9px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; z-index: 2; pointer-events: none; }

.agency-apply-cta{ display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; margin: 0 0 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.agency-apply-cta div{ display: flex; flex-direction: column; gap: 3px; }
.agency-apply-cta span{ font-size: 13.5px; color: var(--text-mid); }
.agency-apply-cta .btn{ flex-shrink: 0; }
@media (max-width: 640px){
  .agency-apply-cta{ flex-direction: column; align-items: stretch; text-align: left; }
}
.apply-card{ max-width: 560px; }
.apply-intro{ margin: 0 0 18px; font-size: 14px; color: var(--text-mid); line-height: 1.5; }

.chat-open-link{ display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--green); text-decoration: underline; }
.chat-unread{ min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e5384d; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.mod-chat-card{ max-width: 640px; margin-bottom: 16px; }
.mod-chat-empty{ margin: 0 0 14px; color: var(--text-mid); font-size: 14px; }
.mod-chat-thread{ display: flex; flex-direction: column; gap: 12px; max-height: 420px; overflow-y: auto; margin-bottom: 14px; padding-right: 2px; }
.mod-chat-msg{ display: flex; flex-direction: column; max-width: 82%; }
.mod-chat-admin{ align-self: flex-start; align-items: flex-start; }
.mod-chat-user{ align-self: flex-end; align-items: flex-end; }
.mod-chat-bubble{ padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; background: var(--surface); color: var(--text-dark); border: 1px solid var(--border); }
.mod-chat-user .mod-chat-bubble{ background: var(--green); color: #fff; border-color: var(--green); }
.mod-chat-meta{ margin-top: 3px; font-size: 11.5px; color: var(--text-light); }
.mod-chat-form{ display: flex; flex-direction: column; gap: 10px; }
.mod-chat-form textarea{ width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; font: inherit; font-size: 14px; resize: vertical; }
.mod-chat-form .btn{ align-self: flex-start; }
.mod-edit-card{ max-width: 640px; margin-bottom: 16px; }
.mod-edit-card summary{ cursor: pointer; font-weight: 700; margin-bottom: 4px; }
.mod-edit-card[open] summary{ margin-bottom: 14px; }
.mod-check{ display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14px; }

.agency-apply-cta .btn{ background: var(--panel-blue); }
.agency-apply-cta .btn:hover{ background: var(--panel-blue-dark); }
.apply-card .field-row{ margin-bottom: 18px; }

.fm-overlay{ position: fixed; inset: 0; z-index: 1200; background: rgba(11, 18, 32, .55); display: flex; align-items: center; justify-content: center; padding: 24px; }
.fm-overlay[hidden]{ display: none; }
.fm-dialog{ background: var(--white); width: 100%; max-width: 560px; height: min(820px, 92vh); border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(11, 18, 32, .3); }
.fm-form{ display: flex; flex-direction: column; min-height: 0; flex: 1; }
.fm-screen{ display: flex; flex-direction: column; min-height: 0; flex: 1; }
.fm-screen[hidden]{ display: none; }
.fm-header{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--white); }
.fm-title{ margin: 0; font-size: 16px; font-weight: 500; color: var(--text-dark); text-align: center; flex: 1; }
.fm-close{ width: 40px; height: 40px; border-radius: 50%; border: none; background: none; color: var(--text-light); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.fm-close:hover{ background: var(--surface); }
.fm-header-space{ width: 40px; flex: 0 0 40px; }
.fm-body{ overflow-y: auto; flex: 1; min-height: 0; padding: 4px 0 16px; -webkit-overflow-scrolling: touch; }
.fm-top{ padding: 4px 16px 16px; }
.fm-locfield{ display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 48px; padding: 0 16px; border: 1px solid #e3e5ea; border-radius: 12px; background: var(--white); font: inherit; font-size: 15px; cursor: pointer; text-align: left; margin-bottom: 14px; }
.fm-locfield-text{ flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dark); }
.fm-locfield-text.is-placeholder{ color: #8a8f98; }
.fm-locfield-city{ flex: 0 0 auto; color: var(--panel-blue); font-weight: 500; }
.fm-seg{ display: flex; border: 1px solid #e3e5ea; border-radius: 12px; overflow: hidden; background: var(--white); }
.fm-seg-item{ flex: 1; position: relative; cursor: pointer; }
.fm-seg-item + .fm-seg-item{ border-left: 1px solid #e3e5ea; }
.fm-seg-item input{ position: absolute; opacity: 0; pointer-events: none; }
.fm-seg-item span{ display: flex; align-items: center; justify-content: center; height: 46px; font-size: 15px; color: var(--text-dark); background: var(--white); }
.fm-seg-item input:checked + span{ background: #f4f4f6; color: var(--panel-blue); }
.fm-section{ padding: 18px 16px; border-top: 8px solid #f4f4f6; }
.fm-section[hidden]{ display: none; }
.fm-label{ display: block; font-size: 15px; font-weight: 500; color: var(--text-dark); margin-bottom: 14px; }
.fm-label-plain{ padding: 0 16px; margin: 18px 0 12px; }
.fm-chips{ display: flex; flex-wrap: wrap; gap: 10px; }
.fm-chips[hidden]{ display: none; }
.fm-chips-gap{ margin-top: 14px; }
.fm-chip{ position: relative; cursor: pointer; }
.fm-chip input{ position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.fm-chip span{ display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 400; color: var(--text-dark); background: #f4f4f6; transition: background .12s ease, color .12s ease; }
.fm-chip input:checked + span{ background: var(--panel-blue); color: var(--white); }
.fm-chip input:focus-visible + span{ outline: 2px solid var(--panel-blue-dark); outline-offset: 2px; }
.fm-chip-round span{ width: 46px; min-width: 46px; padding: 0; border-radius: 50%; }
.fm-range{ display: flex; border: 1px solid #e3e5ea; border-radius: 12px; overflow: hidden; background: var(--white); }
.fm-range input{ flex: 1; min-width: 0; height: 48px; border: none; padding: 0 16px; font-size: 16px; color: var(--text-dark); background: transparent; font-family: inherit; }
.fm-range input + input{ border-left: 1px solid #e3e5ea; }
.fm-range input::placeholder, .fm-input::placeholder{ color: #8a8f98; }
.fm-range:focus-within, .fm-input:focus{ border-color: var(--panel-blue); }
.fm-range input:focus{ outline: none; }
.fm-input{ width: 100%; height: 48px; border: 1px solid #e3e5ea; border-radius: 12px; padding: 0 16px; font-size: 16px; color: var(--text-dark); background: var(--white); font-family: inherit; }
.fm-input:focus{ outline: none; }
.fm-footer{ display: flex; gap: 12px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); background: var(--white); }
.fm-btn{ height: 50px; border: none; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.fm-btn-light{ flex: 0 0 38%; background: #f4f4f6; color: var(--text-dark); }
.fm-btn-light.is-disabled{ color: #b4b8bf; cursor: default; }
.fm-btn-primary{ flex: 1; background: var(--panel-blue); color: var(--white); }
.fm-btn-primary:hover{ background: var(--panel-blue-dark); }
.fm-cityrow{ display: flex; align-items: center; justify-content: space-between; width: calc(100% - 32px); margin: 4px 16px 14px; height: 52px; padding: 0 16px; border: none; border-radius: 12px; background: #f6f6f7; font: inherit; font-size: 15px; color: var(--text-dark); cursor: pointer; }
.fm-cityrow svg{ color: var(--text-light); }
.fm-tabs{ display: flex; margin: 0 16px 14px; border: 1px solid #e3e5ea; border-radius: 14px; overflow: hidden; }
.fm-tabs[hidden]{ display: none; }
.fm-tab{ flex: 1; height: 46px; border: none; background: var(--white); font: inherit; font-size: 15px; color: var(--text-dark); cursor: pointer; }
.fm-tab + .fm-tab{ border-left: 1px solid #e3e5ea; }
.fm-tab.is-active{ background: #f4f4f6; color: var(--panel-blue); }
.fm-search{ display: flex; align-items: center; gap: 10px; margin: 4px 16px 12px; height: 52px; padding: 0 16px; border: 1px solid #e3e5ea; border-radius: 14px; color: #8a8f98; }
.fm-search:focus-within{ border-color: var(--panel-blue); }
.fm-search input{ flex: 1; min-width: 0; border: none; outline: none; background: transparent; font: inherit; font-size: 15px; color: var(--text-dark); }
.fm-list{ padding: 0 16px; }
.fm-check{ display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; font-size: 15px; color: var(--text-dark); }
.fm-check input{ position: absolute; opacity: 0; pointer-events: none; }
.fm-check-box{ flex: 0 0 22px; width: 22px; height: 22px; border: 1.5px solid #d3d6dc; border-radius: 6px; background: var(--white); position: relative; }
.fm-check input:checked + .fm-check-box{ background: var(--panel-blue); border-color: var(--panel-blue); }
.fm-check input:checked + .fm-check-box::after{ content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fm-check input:focus-visible + .fm-check-box{ outline: 2px solid var(--panel-blue-dark); outline-offset: 2px; }
.fm-check-head{ margin-top: 4px; }
.fm-check-head .fm-check-text{ color: var(--panel-blue); font-weight: 600; }
.fm-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 0 16px; }
.fm-radio{ display: flex; align-items: center; gap: 12px; padding: 11px 0; border: none; background: none; font: inherit; font-size: 15px; color: var(--text-dark); cursor: pointer; text-align: left; width: 100%; }
.fm-radio-dot{ flex: 0 0 22px; width: 22px; height: 22px; border: 1.5px solid #d3d6dc; border-radius: 50%; position: relative; background: var(--white); }
.fm-radio.is-active{ color: var(--panel-blue); }
.fm-radio.is-active .fm-radio-dot{ border-color: var(--panel-blue); }
.fm-radio.is-active .fm-radio-dot::after{ content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--panel-blue); }
.fm-empty{ padding: 24px 0; text-align: center; color: var(--text-light); font-size: 14px; }
@media (max-width: 768px){
  .fm-overlay{ padding: 0; align-items: stretch; }
  .fm-dialog{ max-width: none; height: 100%; border-radius: 0; box-shadow: none; }
}
.listing-card .listing-place{ margin: 0 0 4px; font-size: 13.5px; font-weight: 400; color: var(--text-mid); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listing-card .listing-meta{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 768px){
  .listing-card .listing-place{ font-size: 12px; }
  .today-count{ display: none; }
}

body.ld-page{ background: #f2f3f5; padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
body.ld-page.ldm-sheet-open{ overflow: hidden; }
body.ld-page .scroll-top{ bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.fav-toggle-btn{ color: var(--text-dark); cursor: pointer; }
.fav-toggle-btn.is-favorited svg path{ fill: #e0396c; stroke: #e0396c; }
@media (max-width: 768px){
  body.ld-page .header-inner{ display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  body.ld-page .header-inner .menu-toggle, body.ld-page .header-inner .main-nav{ display: none; }
  body.ld-page .header-inner .logo{ grid-column: 2; order: 0; margin: 0; justify-self: center; text-align: center; }
  body.ld-page .header-inner .header-actions{ grid-column: 3; order: 0; justify-self: end; }
  body.ld-page .header-actions > :not(.fav-btn):not(.header-share-btn){ display: none; }
  body.ld-page .ldm .ld-nav{ display: none; }
}

body.ld-page{ --ldm-blue: var(--panel-blue); --ldm-gray: #7b8088; --ldm-soft: #f4f5f7; }
.ldm{ max-width: 560px; margin: 0 auto; color: var(--text-dark); }
.ldm-flash{ margin: 8px 12px 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.45; }
.ldm-flash-success{ background: #e6f7ec; color: #0a6b2c; }
.ldm-flash-error{ background: #fdecef; color: #b42343; }
.ldm-flash-info{ background: var(--panel-blue-light); color: var(--panel-blue-dark); }
.ldm-crumbs{ display: flex; align-items: center; gap: 9px; overflow-x: auto; white-space: nowrap; padding: 14px 16px; background: var(--white); font-size: 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ldm-crumbs::-webkit-scrollbar{ display: none; }
.ldm-crumbs a{ color: var(--text-dark); flex: 0 0 auto; }
.ldm-crumb-sep{ color: var(--text-dark); font-size: 11px; flex: 0 0 auto; }
.ldm-gallery{ background: var(--white); }
.ldm-gallery .ld-gallery-main{ position: relative; height: 330px; margin: 0; border-radius: 0; overflow: hidden; background: #e4e6ea; touch-action: pan-y; }
.ldm-gallery-empty{ height: 200px; display: flex; align-items: center; justify-content: center; background: #e4e6ea; color: var(--ldm-gray); font-size: 14px; }
.ldm-gallery-counter{ position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(60,66,74,.78); color: var(--white); font-size: 13px; font-weight: 500; padding: 5px 14px; border-radius: 8px; z-index: 2; pointer-events: none; }
.ldm-gallery-all{ position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.92); border: none; border-radius: 8px; padding: 6px 12px; font-family: inherit; font-size: 13px; font-weight: 500; color: var(--text-dark); z-index: 2; cursor: pointer; }
.ldm-gallery-flags{ position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; background: var(--white); padding: 5px 9px; border-radius: 8px; z-index: 2; pointer-events: none; }
.ldm-gallery-flags svg{ display: block; }
.ldm-block{ background: var(--white); border-radius: 16px; padding: 18px 16px; margin-top: 8px; }
.ldm-main{ margin-top: 0; border-radius: 0; padding-top: 16px; }
.ldm-price{ font-size: 22px; font-weight: 700; line-height: 1.2; margin: 0 0 14px; }
.ldm-stats{ display: flex; flex-wrap: wrap; gap: 12px 30px; margin-bottom: 16px; }
.ldm-stat{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ldm-stat-value{ font-size: 18px; font-weight: 500; line-height: 1.25; }
.ldm-stat-label{ font-size: 14px; color: var(--ldm-gray); }
.ldm-chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.ldm-chip{ display: inline-flex; align-items: center; gap: 7px; background: var(--ldm-soft); border-radius: 12px; padding: 9px 12px; font-size: 13px; font-weight: 500; }
.ldm-chip-icon{ width: 18px; height: 18px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; color: var(--white); flex: 0 0 auto; }
.ldm-chip-green{ background: #6cc04a; }
.ldm-chip-blue{ background: #4a89f3; }
.ldm-chip-steel{ background: #7aa6c8; }
.ldm-title{ font-size: 19px; font-weight: 500; line-height: 1.4; margin: 0 0 16px; }
.ldm-desc{ font-size: 15px; line-height: 1.85; margin: 0; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.ldm-desc.is-open{ display: block; -webkit-line-clamp: unset; overflow: visible; }
.ldm-link-btn{ background: none; border: none; padding: 0; margin-top: 8px; color: var(--ldm-blue); font-family: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; }
.ldm-heading{ font-size: 19px; font-weight: 500; margin: 0 0 14px; }
.ldm-address{ font-size: 15px; margin: 0 0 14px; line-height: 1.45; }
.ldm-map{ position: relative; height: 76px; border-radius: 12px; overflow: hidden; margin-bottom: 14px; background: #e9ebee; }
.ldm-map-art{ position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ldm-map-btn{ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 26px; background: var(--white); border: 1.5px solid var(--ldm-blue); color: var(--ldm-blue); border-radius: 12px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.ldm-pills{ display: flex; flex-wrap: wrap; gap: 10px; }
.ldm-pill{ background: var(--ldm-soft); border-radius: 22px; padding: 9px 15px; color: var(--ldm-blue); text-decoration: underline; font-size: 15px; }
.ldm-seller-top{ display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ldm-seller-name{ font-size: 18px; font-weight: 500; margin: 0 0 3px; }
.ldm-seller-role{ font-size: 14px; color: var(--ldm-gray); margin: 0; }
.ldm-avatar{ width: 52px; height: 52px; border-radius: 50%; border: 1px solid #dcdfe3; display: inline-flex; align-items: center; justify-content: center; color: #b9bcc2; overflow: hidden; flex: 0 0 auto; background: var(--white); }
.ldm-avatar img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.ldm-agency-link{ display: block; margin: -4px 0 14px; font-size: 14px; color: var(--ldm-blue); }
.ldm-phone-btn{ display: flex; align-items: center; gap: 10px; width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--ldm-blue); border-radius: 12px; background: var(--white); color: var(--ldm-blue); font-family: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.ldm-phone-label{ flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ldm-phone-arrow{ color: #6b7280; flex: 0 0 auto; }
.ldm-meta{ font-size: 15px; line-height: 1.9; color: #8a8d94; margin: 0 0 16px; }
.ldm-meta-dot{ margin: 0 4px; }
.ldm-tiles{ display: grid; gap: 10px; }
.ldm-tiles-1{ grid-template-columns: 1fr; }
.ldm-tiles-2{ grid-template-columns: 1fr 1fr; }
.ldm-tile{ display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--ldm-soft); border: none; border-radius: 12px; padding: 13px 12px; text-align: left; font-family: inherit; cursor: pointer; }
.ldm-tile-text{ display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ldm-tile-title{ font-size: 14px; font-weight: 700; color: var(--text-dark); }
.ldm-tile-price{ font-size: 12px; font-weight: 600; color: var(--ldm-blue); }
.ldm-tile-icon{ display: inline-flex; flex: 0 0 auto; }
.ldm-tile-icon svg{ width: 22px; height: 22px; }
.ldm-report-block{ padding: 6px 8px 44px; }
.ldm-report-btn{ display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: none; padding: 14px 8px; font-family: inherit; font-size: 16px; color: var(--text-dark); cursor: pointer; text-align: left; }
.ldm-more{ padding-top: 22px; }
.ldm-callbar{ position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));}
.ldm-call-btn{ display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 560px; margin: 0 auto; height: 52px; border-radius: 12px; background: var(--keep-green); color: var(--white); font-size: 17px; font-weight: 700; }
.ldm-call-btn:hover{ background: var(--keep-green-dark); }

.ldm-sheet-backdrop{ position: fixed; inset: 0; z-index: 1200; background: rgba(15,20,28,.5); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s ease; }
.ldm-sheet-backdrop[hidden]{ display: none; }
.ldm-sheet-backdrop.is-open{ opacity: 1; }
.ldm-sheet-backdrop-full{ align-items: stretch; }
.ldm-sheet{ background: var(--white); width: 100%; max-width: 560px; max-height: 92vh; display: flex; flex-direction: column; transform: translateY(24px); transition: transform .22s ease; margin: 0; }
.ldm-sheet-backdrop.is-open .ldm-sheet{ transform: none; }
.ldm-sheet-bottom{ border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); overflow-y: auto; }
.ldm-sheet-full{ height: 100%; max-height: none; max-width: none; border-radius: 0; }
.ldm-sheet-head{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 14px 14px; flex: 0 0 auto; }
.ldm-sheet-head h2{ margin: 0; flex: 1; font-size: 17px; font-weight: 500; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ldm-sheet-head-space{ width: 32px; flex: 0 0 32px; }
.ldm-sheet-close{ width: 32px; height: 32px; flex: 0 0 32px; background: none; border: none; color: var(--ldm-gray); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.ldm-pay-title-icon{ display: inline-flex; }
.ldm-report-list{ padding: 6px 0 18px; }
.ldm-radio-row{ position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 16px; cursor: pointer; font-size: 15.5px; line-height: 1.35; }
.ldm-radio-row input{ position: absolute; left: 0; top: 0; width: 0; height: 0; margin: 0; padding: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; border: 0; }
.ldm-radio-dot{ flex: 0 0 22px; width: 22px; height: 22px; border: 1.5px solid #d3d6dc; border-radius: 50%; background: var(--white); position: relative; }
.ldm-radio-row input:checked + .ldm-radio-dot{ border-color: var(--ldm-blue); }
.ldm-radio-row input:checked + .ldm-radio-dot::after{ content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ldm-blue); }
.ldm-radio-row-left{ justify-content: flex-start; gap: 14px; padding: 17px 16px; }
.ldm-radio-row-left input:checked ~ .ldm-radio-text{ color: var(--ldm-blue); }
.ldm-radio-sub{ color: var(--ldm-gray); }
.ldm-report-error{ margin: 0; padding: 0 16px 14px; color: #b42343; font-size: 14px; }
.ldm-report-done{ padding: 8px 24px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ldm-report-done[hidden]{ display: none; }
.ldm-report-done p{ margin: 0; font-size: 16px; line-height: 1.5; }
.ldm-report-done .ldm-pay-submit{ margin-top: 6px; }
.ldm-pay-scroll{ flex: 1; overflow-y: auto; background: var(--ldm-soft); -webkit-overflow-scrolling: touch; }
.ldm-pay-desc{ background: var(--white); margin: 0; padding: 6px 16px 18px; color: var(--ldm-gray); font-size: 15px; line-height: 1.55; }
.ldm-pay-until{ background: var(--white); margin: 0; padding: 4px 16px 16px; text-align: center; font-size: 15px; }
.ldm-pay-until[hidden]{ display: none; }
.ldm-pay-band{ margin: 0; padding: 15px 16px 11px; text-align: center; color: #9a9da4; font-size: 13px; letter-spacing: .3px; }
.ldm-pay-options{ background: var(--white); }
.ldm-pay-hint{ margin: 0; padding: 12px 16px; font-size: 13.5px; color: #b42343; line-height: 1.45; }
.ldm-pay-hint[hidden]{ display: none; }
.ldm-pay-hint a{ color: var(--ldm-blue); text-decoration: underline; }
.ldm-pay-foot{ flex: 0 0 auto; background: var(--ldm-soft); padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
.ldm-pay-submit{ width: 100%; height: 52px; border: none; border-radius: 12px; background: var(--ldm-blue); color: var(--white); font-family: inherit; font-size: 18px; font-weight: 500; cursor: pointer; }
.ldm-pay-submit:disabled{ opacity: .5; cursor: default; }
.ldm-pay-terms{ margin: 14px 0 0; text-align: center; font-size: 13px; line-height: 1.5; color: #8a8d94; }
.ldm-pay-terms a{ color: #6b7280; text-decoration: underline; }
@media (min-width: 769px){
  .ldm-sheet-backdrop{ align-items: center; }
  .ldm-sheet-bottom{ border-radius: 16px; max-width: 480px; }
  .ldm-sheet-backdrop-full{ align-items: center; }
  .ldm-sheet-full{ max-width: 480px; height: auto; max-height: 90vh; border-radius: 16px; overflow: hidden; }
  .ldm-gallery .ld-gallery-main{ height: 400px; }
}
.ldm .ldm-phone-btn.show-phone-btn{ flex-direction: row; justify-content: flex-start; margin-top: 0; padding: 0 16px; line-height: 1.2; background: var(--white); color: var(--ldm-blue); }
.ldm .ldm-phone-btn.show-phone-btn:hover{ background: var(--panel-blue-light); }
body.ld-page .site-main{ padding-left: 0; padding-right: 0; max-width: none; }
body.ld-page .ldm-more{ max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

.ldm-tiles-3{ grid-template-columns: repeat(3, 1fr); }
a.ldm-tile{ color: inherit; text-decoration: none; }
.ldm-pay-note{ background: var(--white); margin: 0; padding: 0 16px 14px; color: var(--ldm-gray); font-size: 13.5px; line-height: 1.5; }
.package-method-title{ margin: 0 0 8px; font-size: 14px; font-weight: 600; }

.header-back-btn{ display: none; color: var(--text-dark); }
@media (max-width: 768px){
  body.ld-page .header-back-btn{ display: inline-flex; grid-column: 1; justify-self: start; align-items: center; justify-content: center; order: 0; }
}
.ldm-callbar{  box-shadow: none; border: 0; }

/* ===== Kateqoriya səhifəsi: mobil görünüm (bina.az tərzi) — masaüstü dəyişmir ===== */
.cat-mobile{ display: none; }
.lt-mobile{ display: none; }
@media (max-width: 768px){
  body.cat-page .site-header,
  body.cat-page .search-bar{ display: none; }
  body.cat-page .site-main{ padding-top: 0; }
  .cat-mobile{ display: block; }
  .cm-topbar{ position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: center; height: 56px; margin: 0 -16px; background: var(--white); }
  .cm-back{ position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: #8b8f92; }
  .cm-topbar-title{ font-size: 16px; font-weight: 500; color: var(--text-dark); max-width: calc(100% - 100px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cm-crumbs{ display: flex; align-items: center; gap: 8px; margin: 0 -16px; padding: 14px 16px 16px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: 14px; color: var(--text-dark); background: var(--white); }
  .cm-crumbs::-webkit-scrollbar{ display: none; }
  .cm-dot{ color: #9aa3ab; font-size: 11px; }
  .cm-filters{ margin: 0 -16px; padding: 14px 16px 18px; background: #f5f5f5; display: flex; flex-direction: column; gap: 10px; }
  .cm-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cm-row-loc{ grid-template-columns: 1fr 52px; }
  .cm-field{ display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 48px; padding: 0 14px; background: var(--white); border: 1px solid #e3e5e8; border-radius: 14px; font-family: inherit; font-size: 15px; color: #9aa0a6; text-align: left; cursor: pointer; min-width: 0; -webkit-tap-highlight-color: transparent; }
  .cm-field > span:first-child{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cm-field.is-filled{ color: var(--text-dark); }
  .cm-chev{ flex: 0 0 auto; color: var(--text-dark); }
  .cm-loc{ color: var(--text-dark); }
  .cm-loc > span:first-child{ color: var(--text-dark); }
  .cm-loc:not(.is-filled) > span:first-child{ color: var(--text-dark); }
  .cm-city{ flex: 0 0 auto; color: #3b5bfd; font-size: 15px; }
  .cm-tune{ justify-content: center; padding: 0; color: var(--text-dark); }
  body.cat-page .listings-title{ margin: 18px 0 18px; }
  body.cat-page .lt-desktop{ display: none; }
  body.cat-page .lt-mobile{ display: inline; font-size: 17px; font-weight: 500; letter-spacing: 0; }
  body.cat-page .listings-title{ font-size: 17px; font-weight: 500; }
  body.cat-page #vipWrap .section-head{ margin-bottom: 14px; align-items: center; }
  body.cat-page #vipWrap .section-head h2{ font-size: 16px; font-weight: 400; letter-spacing: 0; color: #4a4f55; }
  body.cat-page #vipWrap .see-all{ font-size: 15px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; color: var(--text-dark); }
}

@media (max-width: 768px){
  body.cat-page .listings-toolbar{ margin: 14px 0 12px; }
  body.cat-page .listings-sub{ font-size: 16px; font-weight: 400; letter-spacing: 0; color: #4a4f55; }
  body.cat-page .listings-sub-count{ font-size: 16px; font-weight: 400; color: #4a4f55; }
}

/* Giriş/qeydiyyat səhifələri: köməkçi yazılar daha böyük və diqqətçəkən */
.auth-switch-link{ font-size: 16px; font-weight: 700; margin-top: 4px; }
.auth-back-link{ font-size: 16px; font-weight: 700; }
.auth-foot{ font-size: 16px; color: var(--text-dark); margin: 22px 0 0; }
.auth-foot a{ font-size: 16px; font-weight: 700; }
.auth-foot-cta{ display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.auth-foot-cta .auth-foot-text{ display: block; font-size: 17px; font-weight: 600; color: var(--text-dark); text-align: center; }
.auth-foot-cta .auth-foot-btn{ display: block; width: 100%; font-size: 16px; font-weight: 700; text-align: center; text-decoration: none; }
.auth-panel-input{ font-size: 16px; padding: 14px 16px; }
.auth-panel-title{ font-size: 24px; }
.auth-split-agreement{ font-size: 13.5px; }

/* Qeydiyyat / şifrə təyini: kənarlıqsız, giriş səhifəsi kimi; uzun formlarda loqo və razılaşma yazısı ilə üst-üstə düşməsin */
.auth-split-panel{ padding: 84px 24px 110px; }
.auth-phone-card{ border: 0; box-shadow: none; background: transparent; }
.auth-phone-bg{ background: var(--white); }
.auth-panel-inner .auth-sub{ font-size: 15px; line-height: 1.55; color: var(--text-mid); }

/* ===== İlan detay səhifəsi: masaüstü (≥900px) iki sütunlu görünüş — mobil görünüş dəyişmir ===== */
.ldm-titlebar, .ldm-thumbs, .ldm-aside, .ldm-d-meta{ display: none; }
@media (min-width: 900px){
  body.ld-page{ background: var(--white); padding-bottom: 0; }
  body.ld-page .header-actions .fav-toggle-btn, body.ld-page .header-actions .header-share-btn{ display: none; }
  .ldm-callbar{ display: none; }

  .ldm{ max-width: 1000px; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) 310px; column-gap: 20px; align-items: start; }
  .ldm > .ldm-flash{ grid-column: 1 / -1; grid-row: 1; margin: 12px 0 0; }
  .ldm > .ldm-crumbs{ grid-column: 1 / -1; grid-row: 2; padding: 16px 0 14px; border-bottom: 1px solid #e6e8eb; overflow: visible; }
  .ldm-crumbs a{ color: var(--text-dark); }
  .ldm-crumbs a:hover{ text-decoration: underline; }
  .ldm > .ldm-titlebar{ grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0 18px; }
  .ldm-titlebar-title{ margin: 0; font-size: 22px; font-weight: 400; line-height: 1.35; color: var(--text-dark); }
  .ldm-titlebar-actions{ display: flex; gap: 10px; flex: 0 0 auto; }
  .ldm-sq-btn{ width: 54px; height: 54px; border-radius: 14px; border: none; background: #f4f5f7; color: var(--text-dark); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  .ldm-sq-btn:hover{ background: #eceef1; }
  .ldm-sq-btn.fav-toggle-btn.is-favorited svg path{ fill: #e0396c; stroke: #e0396c; }

  /* sol sütun */
  .ldm > .ldm-gallery{ grid-column: 1; grid-row: 4; background: none; }
  .ldm-gallery .ld-gallery-main{ height: 480px; border-radius: 12px; }
  .ldm-gallery-empty{ border-radius: 12px; height: 320px; }
  .ldm-thumbs{ display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; margin-top: 5px; }
  .ldm-thumbs .ldm-thumb{ position: relative; width: auto; height: auto; aspect-ratio: 74 / 50; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #dfe3e5; cursor: pointer; opacity: .85; }
  .ldm-thumbs .ldm-thumb:hover{ opacity: 1; }
  .ldm-thumbs .ldm-thumb.is-active{ opacity: 1; box-shadow: 0 0 0 2px var(--panel-blue); }
  .ldm-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
  .ldm-thumb-play{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 13px; background: rgba(20,30,35,.35); }
  .ldm-thumb-more-label{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(40,44,50,.72); color: var(--white); font-size: 13px; font-weight: 600; }
  .ldm > .ldm-block, .ldm > .ldm-d-meta{ grid-column: 1; }
  .ldm > .ldm-block{ background: none; border-radius: 0; padding: 0; margin-top: 30px; }
  .ldm .ldm-block .ldm-title{ position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .ldm-desc{ font-size: 15px; line-height: 1.7; -webkit-line-clamp: 5; }
  .ldm-heading{ font-size: 19px; font-weight: 500; }
  .ldm-map{ height: 96px; border-radius: 14px; }
  .ldm > .ldm-d-meta{ display: block; margin: 26px 0 40px; font-size: 14px; line-height: 1.6; }

  /* sağ sütun: orijinal mobil bloklar gizlənir, yerinə aside */
  .ldm > .ldm-main, .ldm > .ldm-seller, .ldm > .ldm-meta-block, .ldm > .ldm-report-block{ display: none; }
  .ldm > .ldm-aside{ display: block; grid-column: 2; grid-row: 4 / span 12; position: sticky; top: 16px; }
  .ldm-aside-card{ background: #f6f6f7; border-radius: 18px; padding: 22px 20px 20px; }
  .ldm-a-price{ margin: 0; font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--text-dark); }
  .ldm-a-sqm{ margin: 8px 0 0; font-size: 15px; color: var(--text-dark); }
  .ldm-a-stats{ display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 22px; }
  .ldm-a-stat{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .ldm-a-stat-value{ font-size: 17px; line-height: 1.3; color: var(--text-dark); }
  .ldm-a-stat-label{ font-size: 13px; color: var(--ldm-gray); }
  .ldm-a-chips{ display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding-left: 10px; }
  .ldm-a-chip{ display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-dark); }
  .ldm-a-seller{ display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #e3e5e8; }
  .ldm-a-seller-name{ margin: 0 0 3px; font-size: 15px; color: var(--text-dark); }
  .ldm-a-seller-role{ margin: 0; font-size: 14px; color: var(--ldm-gray); }
  .ldm .ldm-a-phone.show-phone-btn{ display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 72px; margin-top: 20px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--keep-green); color: var(--white); font-family: inherit; cursor: pointer; }
  .ldm .ldm-a-phone.show-phone-btn:hover{ background: var(--keep-green-dark); }
  .ldm-a-phone-top{ font-size: 14px; line-height: 1.2; }
  .ldm-a-phone-num{ display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; line-height: 1.2; }
  .ldm-a-loc{ display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 15px; line-height: 1.4; color: var(--text-dark); }
  .ldm-a-loc svg{ flex: 0 0 auto; margin-top: 1px; color: #1c1f24; }
  .ldm-a-loc a{ color: var(--text-dark); text-decoration: underline; text-underline-offset: 2px; }
  .ldm-a-all{ display: flex; align-items: center; justify-content: center; height: 52px; margin-top: 18px; border: 1px solid #e3e5e8; border-radius: 14px; background: var(--white); color: var(--panel-blue); font-size: 15px; text-decoration: none; }
  .ldm-a-all:hover{ background: var(--panel-blue-light); }
  .ldm-a-tiles{ margin-top: 12px; gap: 8px; }
  .ldm-a-tiles .ldm-tile{ background: var(--white); border: 1px solid #e3e5e8; border-radius: 14px; padding: 10px 10px; }
  .ldm-a-tiles .ldm-tile-title{ font-size: 13px; }
  .ldm-a-tiles .ldm-tile-price{ font-size: 11.5px; }
  .ldm-a-tiles .ldm-tile-icon svg{ width: 18px; height: 18px; }
}

@media (min-width: 900px){
  .ldm > .ldm-desc-block{ grid-column: 1; grid-row: 5; }
  .ldm > .ldm-loc-block{ grid-column: 1; grid-row: 6; }
  .ldm > .ldm-d-meta{ grid-column: 1; grid-row: 7; }
}

.kb-desktop-only{ display: block; }
.kb-mobile-title, .kb-mbar, .kb-user{ display: none; }

.kb-menu{ position: relative; }
.kb-menu summary{ list-style: none; cursor: pointer; }
.kb-menu summary::-webkit-details-marker{ display: none; }
.kb-menu-btn{ display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--text-dark); border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.kb-menu-list{ position: absolute; right: 0; top: 100%; z-index: 60; min-width: 220px; background: var(--white); border-radius: 14px; box-shadow: 0 10px 30px rgba(20,30,35,.18); padding: 8px; margin-top: 4px; }
.kb-menu-list a, .kb-menu-logout{ display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 11px 12px; border: 0; background: none; border-radius: 8px; font: inherit; font-size: 15px; font-weight: 500; color: var(--text-dark); text-align: left; cursor: pointer; text-decoration: none; }
.kb-menu-list a:hover, .kb-menu-logout:hover{ background: var(--surface); }
.kb-menu-list a.active{ color: var(--panel-blue); font-weight: 600; }
.kb-menu-logout{ color: #c0392b; border-top: 1px solid var(--border); border-radius: 0 0 8px 8px; margin-top: 4px; }
.kb-menu-list form{ margin: 0; }

.kb-wallets{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 640px; margin-bottom: 20px; }
.kb-wallet{ background: #f4f5f8; border-radius: 20px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kb-wallet-label{ display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: #7a8089; font-weight: 500; list-style: none; cursor: default; }
.kb-wallet-more summary{ cursor: pointer; }
.kb-wallet-more summary::-webkit-details-marker{ display: none; }
.kb-wallet-more[open] summary svg{ transform: rotate(180deg); }
.kb-wallet-more svg{ color: var(--text-dark); transition: transform .15s; }
.kb-wallet-detail{ font-size: 13px; color: var(--text-mid); line-height: 1.5; padding-top: 4px; }
.kb-wallet-value{ font-size: 22px; font-weight: 700; color: var(--text-dark); line-height: 1.2; margin-bottom: 8px; word-break: break-word; }
.kb-wallet-btn{ margin-top: auto; display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 14px; background: var(--panel-blue); color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; }
.kb-wallet-btn:hover{ background: var(--panel-blue-dark); }

.kb-quick{ display: flex; gap: 10px; justify-content: space-between; max-width: 640px; margin-bottom: 8px; }
.kb-quick-item{ flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--text-dark); text-decoration: none; font-size: 13.5px; font-weight: 500; line-height: 1.25; }
.kb-quick-icon{ width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; background: var(--white); }
.kb-quick-item:hover .kb-quick-icon{ border-color: var(--panel-blue); color: var(--panel-blue); }

.kb-section{ margin-top: 26px; }
.kb-section-head{ display: flex; align-items: center; justify-content: space-between; color: var(--text-dark); text-decoration: none; margin-bottom: 14px; max-width: 100%; }
.kb-section-head h2{ margin: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.kb-section-head svg{ color: #7a8089; }

.kb-slider{ display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.kb-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px 18px; margin-top: 6px; }

.kb-card{ min-width: 0; display: flex; flex-direction: column; }
.kb-card-media{ position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--surface); margin-bottom: 10px; }
.kb-card-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.kb-card-noimg{ position: absolute; inset: 0; background: linear-gradient(135deg, #eceef2, #dfe3e9); }
.kb-badge{ position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #fff; line-height: 1.25; max-width: calc(100% - 20px); }
.kb-badge.is-live{ background: #2fa34e; }
.kb-badge.is-expired{ background: #9db7f5; }
.kb-badge.is-review{ background: #e8a43a; }
.kb-badge.is-rejected{ background: #d9455a; }
.kb-badge.is-payment{ background: #f0742b; }
.kb-card-price{ font-size: 20px; font-weight: 700; color: var(--text-dark); line-height: 1.25; }
.kb-card-place{ font-size: 17px; color: var(--text-dark); margin-top: 3px; line-height: 1.3; }
.kb-card-meta{ font-size: 16px; color: var(--text-dark); margin-top: 2px; line-height: 1.3; }
.kb-card-date{ font-size: 15px; color: #7a8089; margin-top: 4px; line-height: 1.3; }
.kb-card-actions{ display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.kb-act-form{ flex: 1 1 auto; margin: 0; display: flex; }
.kb-act, .kb-act-spacer{ flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border: 0; border-radius: 14px; background: #e8edff; color: var(--panel-blue); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; text-decoration: none; min-width: 0; width: 100%; }
.kb-act:hover{ background: #dbe3ff; }
.kb-act-wait{ background: #fff1e6; color: #c2540c; }
.kb-act-spacer{ background: transparent; cursor: default; }
.kb-more{ position: relative; flex: 0 0 auto; }
.kb-more summary{ list-style: none; cursor: pointer; }
.kb-more summary::-webkit-details-marker{ display: none; }
.kb-more-btn{ display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: #f1f2f5; color: var(--text-dark); }
.kb-more-menu{ position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 40; min-width: 150px; background: var(--white); border-radius: 12px; box-shadow: 0 8px 26px rgba(20,30,35,.2); padding: 6px; }
.kb-more-menu a, .kb-more-danger{ display: block; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 8px; font: inherit; font-size: 15px; color: var(--text-dark); text-align: left; cursor: pointer; text-decoration: none; }
.kb-more-menu a:hover, .kb-more-danger:hover{ background: var(--surface); }
.kb-more-danger{ color: #c0392b; }
.kb-more-menu form{ margin: 0; }

.kb-chips{ display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kb-chips::-webkit-scrollbar{ display: none; }
.kb-chip{ flex: 0 0 auto; padding: 13px 22px; border-radius: 22px; background: #f4f5f8; color: var(--text-dark); font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.kb-chip:hover{ background: #eceef3; }
.kb-chip.is-active{ background: #e8edff; color: var(--panel-blue); }

.kb-empty{ display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 16px 56px; }
.kb-empty-art{ width: 240px; max-width: 70%; height: auto; }
.kb-empty-text{ margin: 18px 0 0; font-size: 18px; font-weight: 600; color: var(--text-dark); }
.kb-empty-btn{ margin-top: 20px; }
.kb-empty-compact{ padding: 26px 16px; background: #f4f5f8; border-radius: 18px; }
.kb-empty-compact p{ margin: 0 0 14px; font-size: 15px; color: var(--text-mid); }

.kb-section-notifs{ max-width: 760px; }

@media (max-width: 768px){
  body:has(.kabinet-shell) .site-header,
  body:has(.kabinet-shell) .search-bar,
  body:has(.kabinet-shell) .category-tabs,
  body:has(.kabinet-shell) .site-footer{ display: none; }
  body:has(.kabinet-shell) .site-main{ padding-left: 16px; padding-right: 16px; }

  .kabinet-shell{ padding-top: 0; gap: 0; align-items: stretch; }
  .kabinet-content{ width: 100%; }
  .kabinet-sidebar{ display: none; }
  .kabinet-content .page-title, .kabinet-content .page-sub, .kb-desktop-only{ display: none; }

  .kb-mbar{ display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; position: sticky; top: 0; z-index: 70; background: var(--white); margin: 0 -16px 8px; padding: 6px 12px; min-height: 56px; }
  .kb-mbar-back{ display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #7a8089; }
  .kb-mbar-title{ text-align: center; font-size: 19px; font-weight: 600; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .kb-user{ display: flex; align-items: center; gap: 14px; padding: 16px 0 14px; }
  .kb-user-avatar{ width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: #b4b9c1; flex: 0 0 auto; background: #fff; }
  .kb-user-info{ flex: 1 1 auto; min-width: 0; }
  .kb-user-phone{ font-size: 20px; font-weight: 500; color: var(--text-dark); line-height: 1.25; }
  .kb-user-mail{ font-size: 16px; color: #7a8089; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .kb-wallets{ max-width: none; gap: 12px; margin-bottom: 18px; }
  .kb-wallet{ padding: 16px 14px 14px; border-radius: 22px; }
  .kb-wallet-value{ font-size: 24px; }
  .kb-quick{ max-width: none; }
  .kb-quick-item{ font-size: 14px; }
  .kb-quick-icon{ width: 66px; height: 66px; }

  .kb-section{ margin-top: 22px; }
  .kb-section-head h2{ font-size: 22px; }
  .kb-slider{ display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 16px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .kb-slider::-webkit-scrollbar{ display: none; }
  .kb-slider .kb-card{ flex: 0 0 calc((100% - 14px) / 2.12); scroll-snap-align: start; }

  .kb-mobile-title{ display: block; margin: 14px 0 18px; font-size: 22px; font-weight: 600; color: var(--text-dark); }
  .kb-chips{ margin: 0 -16px; padding: 0 16px 16px; gap: 10px; }
  .kb-chip{ padding: 13px 20px; font-size: 16px; }
  .kb-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }

  .kb-card-media{ border-radius: 18px; }
  .kb-badge{ font-size: 12.5px; left: 8px; bottom: 8px; padding: 3px 9px; }
  .kb-card-price{ font-size: 19px; }
  .kb-card-place{ font-size: 16px; }
  .kb-card-meta{ font-size: 15px; }
  .kb-card-date{ font-size: 14px; }
  .kb-card-actions{ gap: 6px; }
  .kb-act, .kb-act-spacer{ height: 42px; font-size: 15px; }
  .kb-more-btn{ width: 38px; height: 42px; border-radius: 12px; }

  .kb-empty{ padding-top: 36px; }
  .kb-section-notifs{ max-width: none; }
}
.kb-dash .page-title, .kb-listings .page-title{ margin-bottom: 18px; }

.pin-widget{ text-align: left; margin: 0 0 14px; }
.pin-block{ position: relative; border: 0; padding: 14px 0 18px; margin: 0 0 6px; background: transparent; cursor: pointer; }
.pin-label{ font-size: 14px; font-weight: 600; color: var(--text-mid); margin: 0 0 14px; text-align: left; }
.pin-field{ position: relative; display: block; width: 100%; padding: 0; }
.pin-dots{ display: flex; justify-content: center; gap: 30px; }
.pin-dots span{ width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--text-dark); box-sizing: border-box; background: transparent; transition: background .12s ease, border-color .12s ease; }
.pin-dots span.is-filled{ background: var(--text-dark); }
.pin-dots span.is-active{ border-color: var(--authblue); }
.pin-block.is-field-error .pin-dots span{ border-color: #d93025; }
.pin-block.is-field-error .pin-dots span.is-filled{ background: #d93025; }
.pin-block.is-shaking .pin-dots{ animation: pinShake .4s ease; }
@keyframes pinShake{ 0%,100%{ transform: translateX(0); } 20%{ transform: translateX(-9px); } 40%{ transform: translateX(9px); } 60%{ transform: translateX(-6px); } 80%{ transform: translateX(6px); } }
.pin-entry{ position: absolute; inset: -40px 0 -18px; width: 100%; height: calc(100% + 58px); opacity: 0; border: 0; padding: 0; margin: 0; font-size: 16px; color: transparent; background: transparent; caret-color: transparent; cursor: pointer; }
.pin-hint{ font-size: 13px; color: var(--text-light); margin: 0 0 4px; text-align: center; }
.pin-msg{ font-size: 14px; color: #d93025; margin: 4px 0; line-height: 1.4; text-align: center; }
.pin-msg:empty{ display: none; }
.pin-forgot{ display: block; margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--authblue); text-decoration: none; text-align: center; }
.pin-who{ display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 14px 16px; margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--text-dark); text-align: left; word-break: break-all; }
.pin-change{ flex-shrink: 0; background: none; border: 0; padding: 0; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--authblue); cursor: pointer; text-decoration: none; }
.pin-js-form .pin-steps{ display: grid; }
.pin-js-form .pin-step{ grid-area: 1 / 1; visibility: hidden; display: block; }
.pin-js-form .pin-step.is-shown{ visibility: visible; }
.pin-js-form .pin-nojs-submit{ display: none; }
.pin-step .auth-switch-link{ display: block; text-align: center; margin-top: 4px; }
.auth-info{ background: #eef0ff; border: 1px solid #cdd2fb; color: #2c3596; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.5; margin-bottom: 16px; text-align: left; }

.phone-field{ display: flex; align-items: stretch; width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; background: var(--white); }
.phone-field:focus-within{ border-color: var(--authblue); }
.phone-prefix{ display: flex; align-items: center; padding: 0 4px 0 16px; font-size: 16px; font-weight: 700; color: #000; }
.phone-field input{ flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 16px 14px 8px; font-size: 16px; color: var(--text-dark); }
.phone-field input:focus{ outline: none; }
.auth-panel-input.is-field-error, .phone-field.is-field-error{ border-color: #d93025; }
.auth-underline-input.is-field-error{ border-bottom-color: #d93025; }

.auth-btn-muted{ width: 100%; background: transparent; border: 1.5px solid var(--border); color: var(--text-dark); border-radius: var(--radius-sm); padding: 12px 20px; font-size: 14.5px; font-weight: 600; margin-bottom: 0; }
.auth-btn-muted:hover{ background: var(--surface); }
.auth-foot .auth-btn-muted, .auth-foot-cta .auth-btn-muted{ color: var(--text-dark); font-weight: 600; }

.auth-btn-pulse{ position: relative; }
.auth-btn-pulse::after{ content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--authblue); animation: btnPulse 1.8s ease-out infinite; pointer-events: none; }
@keyframes btnPulse{
  0%{ inset: 0; opacity: .75; }
  100%{ inset: -9px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .auth-btn-pulse::after{ animation: none; opacity: 0; }
  .pin-block.is-shaking .pin-dots{ animation: none; }
}
@media (min-width: 769px){
  .auth-panel-inner{ max-width: 420px; }
  .pin-dots span{ width: 22px; height: 22px; }
  .pin-dots{ gap: 36px; }
  .pin-block{ padding: 16px 0 22px; }
  .pin-label{ font-size: 15px; }
}

.video-feed-brand{ position: sticky; top: 0; height: 0; z-index: 6; pointer-events: none; }
.video-feed-brand span{ position: absolute; top: 0; left: 0; right: 0; padding: 14px 16px 26px; text-align: center; font-size: 17px; font-weight: 700; letter-spacing: .2px; color: #ff4f08; background: linear-gradient(rgba(10,15,18,.55), rgba(10,15,18,0)); text-shadow: 0 1px 3px rgba(0,0,0,.45); }

.kb-user-avatar-initial{ background: #eef1f5; border-color: transparent; color: var(--text-dark); font-size: 26px; font-weight: 700; }
.ldm-avatar-initial{ width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #eef1f5; color: var(--text-dark); font-size: 22px; font-weight: 700; }
.ldm-share-btn, .header-share-btn{ position: relative; }
[data-ld-share].is-copied::after{ content: "Kopyalandı"; position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: #0b1220; color: #fff; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 7px; white-space: nowrap; z-index: 5; }
.auth-split-panel.auth-login-panel{ justify-content: flex-start; padding-top: 80px; }
.pin-widget[data-pin-mode="create"] .pin-block{ padding: 8px 0 10px; margin: 0 0 4px; }
.pin-widget[data-pin-mode="create"] .pin-label{ font-size: 13px; margin: 0 0 8px; }
.pin-widget[data-pin-mode="create"] .pin-dots{ gap: 22px; }
.pin-widget[data-pin-mode="create"] .pin-dots span{ width: 15px; height: 15px; border-color: #7b8794; }
.pin-widget[data-pin-mode="create"] .pin-dots span.is-filled{ background: #334155; border-color: #334155; }
.pin-widget[data-pin-mode="create"] .pin-dots span.is-active{ border-color: var(--authblue); }
.pin-widget[data-pin-mode="create"] .pin-block.is-field-error .pin-dots span{ border-color: #d93025; }
.pin-widget[data-pin-mode="create"] .pin-block.is-field-error .pin-dots span.is-filled{ background: #d93025; }
.header-share-btn.is-copied::after{ left: auto; right: 0; transform: none; }
.app-store-pill[data-store="ios"]{ background: linear-gradient(135deg, #19c3fb, #1a6df0); }
.app-store-pill[data-store="android"]{ background: #01875f; }
.auth-foot-cta[hidden]{ display: none; }
.pin-keypad{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 320px; margin: 14px auto 0; }
.pin-key{ height: 56px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); color: var(--text-dark); font-family: inherit; font-size: 24px; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.pin-key:active{ background: var(--surface); }
.pin-key-back{ color: var(--text-mid); }
.pin-key-blank{ display: block; }
.kb-warn-flag{ position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: #f59e0b; color: #fff; font-size: 17px; font-weight: 800; line-height: 28px; text-align: center; }
.kb-notice{ position: relative; flex: 1 1 auto; min-width: 0; }
.kb-notice summary{ list-style: none; }
.kb-notice summary::-webkit-details-marker{ display: none; }
.kb-act-warn{ background: #fff4e5; color: #b45309; }
.kb-act-warn:hover{ background: #ffe9c7; }
.kb-notice-box{ position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 40; width: min(300px, 82vw); background: var(--white); border-radius: 12px; box-shadow: 0 8px 26px rgba(20,30,35,.2); padding: 12px 14px; }
.kb-notice-title{ font-size: 14px; font-weight: 700; color: #b45309; margin: 0 0 6px; }
.kb-notice-text{ font-size: 15px; color: var(--text-dark); line-height: 1.45; margin: 0; word-break: break-word; }
.upload-notice{ margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: #fdeef2; color: #b42350; font-size: 14px; line-height: 1.45; }
.upload-notice[hidden]{ display: none; }
