/* Proday Sosedu visual polish v2 - 2026-07-19 */
:root{
  --pd-bg:#f4f7fb;--pd-surface:#fff;--pd-soft:#f8fafc;--pd-text:#172033;
  --pd-muted:#66758b;--pd-line:#dce5f0;--pd-line-strong:#cbd8e8;
  --pd-blue:#2563eb;--pd-blue-hover:#1d4ed8;--pd-green:#21a038;
  --pd-shadow-sm:0 6px 18px rgba(23,32,51,.06);
  --pd-shadow-md:0 14px 34px rgba(23,32,51,.08);
  --pd-radius:14px;--pd-radius-sm:10px
}
html{background:var(--pd-bg);scroll-behavior:smooth}
body{background:var(--pd-bg)!important;color:var(--pd-text);font-family:Inter,Arial,sans-serif!important;letter-spacing:0!important}
body,body *{box-sizing:border-box}
body a,body button,body input,body select,body textarea{letter-spacing:0!important}
body a:focus-visible,body button:focus-visible,body input:focus-visible,body select:focus-visible,body textarea:focus-visible{outline:3px solid rgba(37,99,235,.22)!important;outline-offset:2px}
body:not(.page-home) .navbar-site .container,
body:not(.page-home) .inner-box,
.page-home .home-topbar,.page-home .home-mobile-nav,.page-home .home-hero,
.page-home .home-video-card,.page-home .home-card,.page-home .home-map-banner,
.page-home .home-extras__promo,.page-home .home-extras__social,
.page-home .home-market__vip,.page-home .home-market__all,.page-home .home-market__notice{
  border-color:var(--pd-line)!important;background-color:var(--pd-surface)!important;box-shadow:var(--pd-shadow-sm)!important
}
body .btn,body button,body input[type=submit],body input[type=button]{border-radius:var(--pd-radius-sm)!important;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease!important}
body .btn-primary,body .btn-success,body:not(.page-home) .navbar-nav>li.postadd>a,
.page-home .home-topbar__cta,.page-home .home-mobile-nav__cta,.page-home .home-btn--primary,
.page-home .home-video-card__link,.page-home .home-listing-action--call{
  border-color:var(--pd-blue)!important;background:var(--pd-blue)!important;color:#fff!important;box-shadow:0 7px 18px rgba(37,99,235,.18)!important
}
body .btn-primary:hover,body .btn-success:hover,body:not(.page-home) .navbar-nav>li.postadd>a:hover,
.page-home .home-topbar__cta:hover,.page-home .home-mobile-nav__cta:hover,.page-home .home-btn--primary:hover,
.page-home .home-video-card__link:hover,.page-home .home-listing-action--call:hover{
  border-color:var(--pd-blue-hover)!important;background:var(--pd-blue-hover)!important;color:#fff!important;transform:translateY(-1px)
}
body .form-control,body select,body textarea{border-color:var(--pd-line-strong)!important;background:#fff!important;color:var(--pd-text)!important;box-shadow:none!important}
body .form-control:focus,body select:focus,body textarea:focus{border-color:#7aa7f7!important;box-shadow:0 0 0 3px rgba(37,99,235,.1)!important}

/* Home */
.page-home .home-dashboard{padding:28px 0 34px!important}
.page-home .home-dashboard__shell{width:min(1380px,calc(100% - 32px))!important;grid-template-columns:264px minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
.page-home .home-sidebar{padding:20px 16px!important;border-radius:var(--pd-radius)!important;border-color:var(--pd-line)!important;background:#fff!important;box-shadow:var(--pd-shadow-md)!important}
.page-home .home-sidebar__brand{margin-bottom:16px!important}
.page-home .home-sidebar__brand-text{font-size:20px!important;line-height:.92!important}
.page-home .home-sidebar__brand-sub,.page-home .home-topbar__brand-sub{color:var(--pd-muted)!important}
.page-home .home-sidebar__list{gap:4px!important}
.page-home .home-sidebar__list a{min-height:42px!important;padding:4px 9px!important;border-radius:10px!important;color:#34445a!important;font-size:12.5px!important}
.page-home .home-sidebar__list a:hover,.page-home .home-sidebar__list a:focus{border-color:#c9d9ee!important;background:#eef4ff!important;box-shadow:none!important}
.page-home .home-sidebar__icon{width:32px!important;height:32px!important;min-width:32px!important;flex-basis:32px!important;border-radius:9px!important;box-shadow:none!important}
.page-home .home-main{gap:16px!important}
.page-home .home-topbar{min-height:64px!important;padding:9px 12px!important;border-radius:var(--pd-radius)!important}
.page-home .home-topbar__search .form-control{height:42px!important;min-height:42px!important;border-radius:10px!important}
.page-home .home-topbar__actions{gap:6px!important}
.page-home .home-topbar__actions>a{min-height:42px!important;padding:0 12px!important;border-radius:10px!important;font-size:12.5px!important}
.page-home .home-topbar__cta{min-width:126px!important}
.page-home .home-hero-grid--legacy{grid-template-columns:minmax(0,1fr) 272px!important;gap:16px!important;align-items:start!important}
.page-home .home-hero{min-height:0!important;padding:26px!important;border-radius:var(--pd-radius)!important;overflow:hidden!important}
.page-home .home-hero h1.intro-title{max-width:820px!important;margin:10px 0 14px!important;color:var(--pd-text)!important;font-size:clamp(34px,3.4vw,48px)!important;line-height:1.06!important;text-wrap:balance}
.page-home .home-hero .sub{margin-bottom:18px!important;color:var(--pd-muted)!important;font-size:13px!important}
.page-home .home-search,.page-home .home-search__row,.page-home .home-search__actions{gap:12px!important}
.page-home .home-search .form-control{height:50px!important;min-height:50px!important;padding:0 15px!important;border-radius:11px!important;font-size:14px!important}
.page-home .home-btn{min-height:48px!important;border-radius:10px!important;font-size:14px!important;text-transform:none!important}
.page-home .home-btn--secondary{border-color:var(--pd-blue)!important;background:#fff!important;color:var(--pd-blue)!important;box-shadow:none!important}
.page-home .home-quicklinks{gap:8px!important;margin-top:10px!important}
.page-home .home-chip{min-height:38px!important;padding:0 12px!important;border-color:var(--pd-line-strong)!important;border-radius:10px!important;background:#fff!important;color:#3b4a60!important;font-size:12.5px!important}
.page-home .home-shell__meta--compact{gap:12px!important}
.page-home .home-video-card,.page-home .home-shell__meta--compact .home-card--accent{padding:12px!important;border-radius:var(--pd-radius)!important}
.page-home .home-video-card__media{width:100%!important;aspect-ratio:16/9!important;height:auto!important;max-height:none!important;border-radius:10px!important;background:#eaf0f7!important}
.page-home .home-video-card__link{min-height:42px!important;border-radius:10px!important;font-size:13px!important}
.page-home .home-shell__meta--compact .home-card--accent h3{font-size:14px!important;line-height:1.35!important}
.page-home .home-shell__meta--compact .home-card--accent p{color:#435168!important;font-size:13px!important;line-height:1.45!important}
.page-home .home-map-banner{min-height:64px!important;padding:14px 18px!important;border-radius:var(--pd-radius)!important}
.page-home .home-extras{grid-template-columns:minmax(0,1fr) 272px!important;gap:16px!important}
.page-home .home-extras__promo,.page-home .home-extras__social{padding:18px!important;border-radius:var(--pd-radius)!important}
.page-home .home-extras__head{margin-bottom:14px!important}
.page-home .home-extras__head h3{color:var(--pd-text)!important;font-size:20px!important}
.page-home .home-extras__head p{color:var(--pd-muted)!important}
.page-home .block_promo_h .item-carousel .item a{min-height:252px!important;padding:11px!important;border-radius:12px!important;box-shadow:none!important}
.page-home .block_promo_h .item-carousel-thumb{border-radius:9px!important}
.page-home .block_promo_h .item-name{min-height:3.9em!important;max-height:3.9em!important;font-size:13px!important;line-height:1.3!important}
.page-home .block_promo_h .price{font-size:19px!important}
.page-home.home-market-mounted .home-market{display:grid!important;gap:16px!important;margin:0!important}
.page-home .home-market__vip,.page-home .home-market__all,.page-home .home-market__notice{margin:0!important;border-radius:var(--pd-radius)!important}
.page-home .home-market__vip,.page-home .home-market__all{padding:18px!important}
.page-home .home-market__notice{padding:14px 18px!important}
.page-home .home-market__head{align-items:center!important;gap:14px!important;margin-bottom:14px!important}
.page-home .home-market__head h2{color:var(--pd-text)!important;font-size:21px!important;line-height:1.2!important}
.page-home .home-market__head p,.page-home .home-market__notice span{color:var(--pd-muted)!important;font-size:12.5px!important}
.page-home .home-market__action{min-height:38px!important;padding:0 13px!important;border-radius:9px!important}
.page-home .home-vip-grid,.page-home .home-listings-grid{gap:12px!important}
.page-home .home-vip-grid .item-list,.page-home .home-listings-grid .item-list{border-color:var(--pd-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
.page-home .home-vip-grid .item-list:hover,.page-home .home-listings-grid .item-list:hover{border-color:#b8cae0!important;box-shadow:var(--pd-shadow-sm)!important;transform:translateY(-2px)}
.page-home .home-listing-badge{border-radius:8px!important}
.page-home .home-vip-grid .add-image,.page-home .home-listings-grid .add-image{border-radius:11px 11px 0 0!important}
.page-home .home-vip-grid .add-title a,.page-home .home-listings-grid .add-title a{color:var(--pd-text)!important;font-size:14px!important;line-height:1.3!important}
.page-home .home-vip-grid .item-price,.page-home .home-listings-grid .item-price{color:var(--pd-blue)!important;font-size:18px!important}
.page-home .home-listing-action{min-height:38px!important;border-radius:9px!important;font-size:12.5px!important}

/* Social auth */
.home-social-auth--social-ready,.proday-social-auth-panel__buttons{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
.page-home .home-social-auth--social-ready{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.page-home .home-social-auth__fallback--sber{grid-column:1/-1}
.home-social-auth__fallback,.proday-social-auth-btn{min-height:40px!important;border:0!important;border-radius:9px!important;background-image:none!important;box-shadow:none!important;font-size:12.5px!important}
.home-social-auth__fallback--vk,.proday-social-auth-btn--vk{background:#2787f5!important}
.home-social-auth__fallback--ya,.proday-social-auth-btn--ya{background:#fc3f1d!important}
.home-social-auth__fallback--ok,.proday-social-auth-btn--ok{background:#ee8208!important}
.home-social-auth__fallback--mail,.proday-social-auth-btn--mail{background:#168de2!important}
.home-social-auth__fallback--sber,.proday-social-auth-btn--sber{background:var(--pd-green)!important}
.proday-social-auth-btn--sber.is-pending,.home-social-auth__fallback--sber.is-pending{cursor:not-allowed!important;opacity:.82}
.proday-social-auth-btn__sber-mark{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:6px;border:2px solid rgba(255,255,255,.95);border-radius:50%;color:#fff;font-size:11px;font-weight:900;line-height:1}
.proday-social-auth-panel{border-color:var(--pd-line)!important;border-radius:12px!important;background:var(--pd-soft)!important;box-shadow:none!important}
.proday-social-auth-panel__title{color:var(--pd-text)!important}
.proday-social-auth-panel__note,.home-social-auth__caption{color:var(--pd-muted)!important}

/* Inner pages */
body:not(.page-home) .header{padding-top:10px!important}
body:not(.page-home) .navbar-site{min-height:78px!important;padding:0!important}
body:not(.page-home) .navbar-site .container{width:min(1120px,calc(100% - 28px))!important;min-height:72px!important;border-radius:var(--pd-radius)!important}
body:not(.page-home) .navbar-nav>li>a{border-radius:9px!important}
body:not(.page-home) .main-container{padding:22px 0 34px!important}
body:not(.page-home) .main-container>.container{width:min(1180px,calc(100% - 28px))!important;max-width:none!important}
body:not(.page-home) .inner-box,body:not(.page-home) .category-content{border-radius:var(--pd-radius)!important}
body:not(.page-home) .category-content{padding:24px!important}
body:not(.page-home) .title-2,body:not(.page-home) h1.title-2{max-width:940px!important;margin-bottom:18px!important;color:var(--pd-text)!important;font-size:clamp(27px,2.2vw,34px)!important;font-weight:800!important;line-height:1.18!important;text-transform:none!important;text-wrap:balance;overflow-wrap:break-word!important}
body:not(.page-home) .category-content>h1:first-child,body:not(.page-home) .category-content>h2:first-child,
body:not(.page-home) .category-content>h3:first-child,body.page-msg .Ads-Details .list-title{border-bottom-color:var(--pd-line)!important}
body:not(.page-home) p,body:not(.page-home) li,body:not(.page-home) .help-block,
body:not(.page-home) .text-muted,body:not(.page-home) .info-row{color:var(--pd-muted)!important;line-height:1.5}
body:not(.page-home) .form-control,body:not(.page-home) select.form-control,
body:not(.page-home) textarea.form-control{min-height:46px!important;border-radius:10px!important;font-size:14px!important}
body:not(.page-home) .form-horizontal .control-label{color:#2b3a50!important;font-size:13.5px!important}
body:not(.page-home) .form-horizontal .form-group{margin-bottom:14px!important}

/* Category tree */
body.page-cat .category-content--catalog .catalog-shell{grid-template-columns:240px minmax(0,1fr)!important;gap:18px!important}
body.page-cat .category-content--catalog .catalog-sidebar{padding:14px!important;border-radius:12px!important;background:var(--pd-soft)!important;box-shadow:none!important}
body.page-cat .category-content--catalog .catalog-sidebar__nav li+li{margin-top:6px!important}
body.page-cat .category-content--catalog .catalog-sidebar__nav a{min-height:44px!important;padding:6px 10px!important;border-radius:9px!important;font-size:13px!important}
body.page-cat .category-content--catalog .catalog-sidebar__icon,
body.page-cat .category-content--catalog .catalog-tree__icon{width:34px!important;height:34px!important;flex-basis:34px!important;border-radius:9px!important;box-shadow:none!important}
body.page-cat .category-content--catalog .row.tree1{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row dense!important;gap:14px!important}
body.page-cat .category-content--catalog .row.tree1>:not(.cat-list){display:none!important}
body.page-cat .category-content--catalog .catalog-tree-card{padding:16px!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
body.page-cat .category-content--catalog .catalog-tree-card .cat-title{margin-bottom:12px!important}
body.page-cat .category-content--catalog .catalog-tree-card .cat-title>a{gap:10px!important;font-size:18px!important;line-height:1.18!important}
body.page-cat .category-content--catalog .catalog-tree-card ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px!important}
body.page-cat .category-content--catalog .catalog-tree-card li{min-width:0;padding:4px 0!important}
body.page-cat .category-content--catalog .catalog-tree-card li a{min-width:0;color:#526176!important;font-size:13.5px!important;overflow-wrap:anywhere}

/* Listing detail */
body.page-msg .ads-details-wrapper{min-width:0!important}
body.page-msg .gal-image.ads-img-v2,body.page-msg .img-slider-box{width:100%!important;min-width:0!important;height:500px!important}
body.page-msg .img-slider-box{display:grid!important;grid-template-columns:minmax(0,1fr) 96px!important;gap:12px!important;align-items:stretch!important}
body.page-msg .slider-left{width:auto!important;min-width:0!important;height:500px!important}
body.page-msg .slider-left .bx-wrapper,body.page-msg .slider-left .bx-viewport{width:100%!important;height:500px!important;margin:0!important;border-radius:12px!important;background:#eef3f8!important}
body.page-msg .bxslider li{height:500px!important;background:#eef3f8!important}
body.page-msg .bxslider li a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important}
body.page-msg .bxslider img{width:100%!important;height:100%!important;margin:0!important;object-fit:contain!important}
body.page-msg #bx-pager{position:static!important;width:96px!important;height:500px!important;padding:0!important;overflow-x:hidden!important;overflow-y:auto!important}
body.page-msg #bx-pager .thumb-item-link{display:block!important;margin:0 0 8px!important;border:2px solid transparent!important;border-radius:9px!important;overflow:hidden!important}
body.page-msg #bx-pager img{width:92px!important;height:92px!important;object-fit:cover!important}
body.page-msg .pricetag{top:14px!important;right:112px!important;z-index:12!important;width:auto!important;min-width:142px!important;height:auto!important;margin:0!important;padding:10px 14px!important;border-radius:9px!important;background:var(--pd-blue)!important;color:#fff!important;box-shadow:var(--pd-shadow-sm)!important;font-size:18px!important;line-height:1!important;text-align:center!important}
body.page-msg .pricetag:after,body.page-msg .pricetag:before{display:none!important;content:none!important}
body.page-msg .Ads-Details{margin-top:22px!important}
body.page-msg .Ads-Details .list-title{margin:22px 0 14px!important;color:var(--pd-text)!important;font-size:17px!important}
body.page-msg .Ads-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 24px!important}
body.page-msg .Ads-options>li{min-width:0;margin:0!important;padding:0!important;overflow-wrap:anywhere}
body.page-msg .block_yamap,body.page-msg .block_yamap iframe{width:100%!important;max-width:100%!important;border-radius:12px!important}

@media(max-width:991px){
  .page-home .home-dashboard{padding:10px 0 24px!important}
  .page-home .home-dashboard__shell{display:block!important;width:100%!important;padding:0 10px!important}
  .page-home .home-main{gap:12px!important}
  .page-home .home-mobile-nav{position:sticky!important;top:0!important;z-index:60!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 10px!important;margin:0 0 12px!important;padding:11px!important;border-radius:var(--pd-radius)!important;backdrop-filter:blur(10px)!important}
  .page-home .home-mobile-nav:before{grid-column:1!important;grid-row:1!important;align-self:center;font-size:14px!important}
  .page-home .home-mobile-nav__section--actions{display:contents!important}
  .page-home .home-mobile-nav__section--actions .home-mobile-nav__sticky{grid-column:2!important;grid-row:1!important}
  .page-home .home-mobile-nav__section--actions .home-mobile-nav__track{grid-column:1/-1!important;grid-row:2!important}
  .page-home .home-mobile-nav__section:not(.home-mobile-nav__section--actions):nth-of-type(2){grid-column:1/-1!important;grid-row:3!important}
  .page-home .home-mobile-nav__section:not(.home-mobile-nav__section--actions):nth-of-type(3){grid-column:1/-1!important;grid-row:4!important}
  .page-home .home-mobile-nav__section+.home-mobile-nav__section{margin:0!important;padding-top:7px!important}
  .page-home .home-mobile-nav__cta{width:auto!important;min-width:132px!important;min-height:38px!important;padding:0 12px!important;border-radius:10px!important;font-size:13px!important}
  .page-home .home-mobile-nav__track{gap:7px!important;padding-bottom:2px!important}
  .page-home .home-mobile-nav__track a{min-height:32px!important;padding:0 11px!important;border-radius:9px!important;font-size:12px!important}
  .page-home .home-hero-grid--legacy,.page-home .home-extras{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  .page-home .home-hero{padding:22px!important}
  .page-home .home-hero h1.intro-title{font-size:clamp(29px,7vw,36px)!important}
  .page-home .home-shell__meta--compact{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  body.page-cat .category-content--catalog .catalog-shell{grid-template-columns:minmax(0,1fr)!important}
  body.page-cat .category-content--catalog .catalog-sidebar{padding:0!important;background:transparent!important}
  body.page-cat .category-content--catalog .catalog-sidebar__nav{max-width:100%!important}
}
@media(max-width:640px){
  body:not(.page-home) .navbar-site .container,body:not(.page-home) .main-container>.container{width:calc(100% - 20px)!important}
  body:not(.page-home) .navbar-site .container{min-height:62px!important;padding:8px 118px 8px 10px!important;border-radius:12px!important}
  body:not(.page-home) .navbar-nav.navbar-right>li>a,body:not(.page-home) .navbar-nav.navbar-right>li.postadd>a,
  body:not(.page-home) .navbar-nav.navbar-right>li:last-child>a{min-width:98px!important;max-width:102px!important;min-height:38px!important;padding:0 8px!important;font-size:11.5px!important}
  body:not(.page-home) .main-container{padding-top:14px!important}
  body:not(.page-home) .inner-box,body:not(.page-home) .category-content{padding:16px!important;border-radius:12px!important}
  body:not(.page-home) .title-2,body:not(.page-home) h1.title-2{margin-bottom:14px!important;font-size:clamp(23px,7vw,29px)!important;line-height:1.2!important;text-wrap:pretty}
  .page-home .home-dashboard__shell{padding:0 8px!important}
  .page-home .home-mobile-nav{margin-bottom:10px!important;padding:10px!important;border-radius:12px!important}
  .page-home .home-mobile-nav__cta{min-width:126px!important;min-height:36px!important;font-size:12.5px!important}
  .page-home .home-topbar__plus{width:20px!important;height:20px!important;min-width:20px!important;font-size:15px!important}
  .page-home .home-hero{padding:18px!important;border-radius:12px!important}
  .page-home .home-hero h1.intro-title{margin:8px 0 12px!important;font-size:clamp(27px,8vw,32px)!important;line-height:1.1!important}
  .page-home .home-hero .sub{margin-bottom:14px!important;font-size:12px!important}
  .page-home .home-search .form-control{height:48px!important;min-height:48px!important;font-size:14px!important}
  .page-home .home-btn{min-height:44px!important;font-size:14px!important}
  .page-home .home-quicklinks{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .page-home .home-chip{width:100%!important;min-height:40px!important;padding:0 9px!important;font-size:12px!important;text-align:center}
  .page-home .home-shell__meta--compact{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
  .page-home .home-video-card,.page-home .home-shell__meta--compact .home-card--accent,
  .page-home .home-extras__promo,.page-home .home-extras__social,.page-home .home-market__vip,
  .page-home .home-market__all,.page-home .home-market__notice{border-radius:12px!important}
  .page-home .home-shell__meta--compact .home-card--accent{padding:13px!important}
  .page-home .home-shell__meta--compact .home-card--accent p{margin-bottom:8px!important}
  .page-home .home-map-banner{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:12px 14px!important;border-radius:12px!important}
  .page-home .home-extras__promo,.page-home .home-extras__social,.page-home .home-market__vip,.page-home .home-market__all{padding:14px!important}
  .page-home .home-market__head{align-items:flex-start!important}
  .page-home .home-market__head h2{font-size:19px!important}
  .page-home .home-market__action{min-height:34px!important;padding:0 10px!important;font-size:11.5px!important}
  .page-home .home-listings-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .page-home .home-listings-grid .item-list{min-width:0!important;border-radius:10px!important}
  .page-home .home-vip-grid .add-title a,.page-home .home-listings-grid .add-title a{font-size:13px!important}
  .page-home .home-vip-grid .item-price,.page-home .home-listings-grid .item-price{font-size:16px!important;overflow-wrap:anywhere}
  .page-home .home-listing-action{min-height:36px!important;font-size:11.5px!important}
  .proday-social-auth-panel__buttons,.home-social-auth--social-ready{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .proday-social-auth-btn--sber,.home-social-auth__fallback--sber{grid-column:1/-1}
  body.page-cat .category-content--catalog .catalog-shell{gap:14px!important;margin-top:16px!important}
  body.page-cat .category-content--catalog .catalog-sidebar__nav{width:100%!important;max-width:100%!important;padding-right:4px!important}
  body.page-cat .category-content--catalog .catalog-tree-card{padding:14px!important;border-radius:11px!important}
  body.page-cat .category-content--catalog .catalog-tree-card .cat-title>a{align-items:center!important;font-size:18px!important;line-height:1.18!important}
  body.page-cat .category-content--catalog .catalog-tree-card ul{grid-template-columns:minmax(0,1fr)!important}
  body.page-msg .gal-image.ads-img-v2,body.page-msg .img-slider-box{height:auto!important}
  body.page-msg .img-slider-box{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
  body.page-msg .slider-left,body.page-msg .slider-left .bx-wrapper,body.page-msg .slider-left .bx-viewport,body.page-msg .bxslider li{width:100%!important;height:280px!important}
  body.page-msg #bx-pager{display:flex!important;gap:7px!important;width:100%!important;height:70px!important;overflow-x:auto!important;overflow-y:hidden!important}
  body.page-msg #bx-pager .thumb-item-link{flex:0 0 68px!important;width:68px!important;height:68px!important;margin:0!important}
  body.page-msg #bx-pager img{width:64px!important;height:64px!important}
  body.page-msg .pricetag{top:10px!important;right:10px!important;min-width:0!important;padding:9px 12px!important;font-size:16px!important}
  body.page-msg .Ads-options{grid-template-columns:minmax(0,1fr)!important;gap:6px!important}
  body.page-msg .Ads-Details{margin-top:18px!important}
  body.page-msg .Ads-Details .list-title{font-size:16px!important}
  body:not(.page-home) #panel_ads.add-manage-table .ads-details-td strong,
  body:not(.page-home) #panel_ads.add-manage-table .ads-details-td strong a{font-size:16px!important}
  body:not(.page-home) #panel_ads.add-manage-table .action-td{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
}
@media(max-width:380px){
  .page-home .home-mobile-nav{grid-template-columns:minmax(0,1fr) 116px!important}
  .page-home .home-mobile-nav__cta{min-width:116px!important;padding:0 8px!important}
  .page-home .home-mobile-nav__track a{font-size:11.5px!important}
  .page-home .home-quicklinks{grid-template-columns:minmax(0,1fr)!important}
  body:not(.page-home) #panel_ads.add-manage-table .action-td{grid-template-columns:minmax(0,1fr)!important}
}


/* Visual QA corrections: compact auth, native sort placement, stable category tree. */
.page-home .home-social-auth{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.page-home .home-social-auth__fallback{width:100%!important;min-width:0!important;padding:0 8px!important;overflow:hidden!important}
.page-home .home-market__all .tab-filter{position:static!important;inset:auto!important;float:none!important;width:210px!important;max-width:100%!important;margin:0 0 0 auto!important}
.page-home .home-market__all .tab-filter select{width:100%!important;height:38px!important;margin:0!important}
.proday-social-auth-panel:not(.proday-social-auth-panel--sidebar) .proday-social-auth-panel__buttons{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.proday-social-auth-panel--sidebar .proday-social-auth-panel__buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.page-cat .category-content--catalog .row.tree1::before,body.page-cat .category-content--catalog .row.tree1::after{display:none!important;content:none!important}
body.page-cat .category-content--catalog .row.tree1>.cat-list{width:auto!important;min-width:0!important;float:none!important;align-self:start!important}
body.page-cat .category-content--catalog .cat-collapse>li>ul{display:none!important}
@media(max-width:640px){
 .proday-social-auth-panel:not(.proday-social-auth-panel--sidebar) .proday-social-auth-panel__buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .proday-social-auth-btn--sber{grid-column:1/-1!important}
 .page-home .home-market__all .tab-filter{width:100%!important;margin:8px 0 0!important}
}


/* Mobile QA corrections: one-row header and readable category cards. */
@media(max-width:640px){
 body:not(.page-home) .navbar-site{position:sticky!important;top:0!important;z-index:1000!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important}
 body:not(.page-home) .navbar-site .container{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:calc(100% - 20px)!important;min-height:62px!important;margin:0 auto!important;padding:8px 10px!important;overflow:hidden!important}
 body:not(.page-home) .navbar-header.left-head{position:static!important;inset:auto!important;display:flex!important;align-items:center!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;height:44px!important;margin:0!important;padding:0!important}
 body:not(.page-home) .navbar-brand.logo.logo-title{position:static!important;display:flex!important;align-items:center!important;width:auto!important;max-width:100%!important;height:44px!important;margin:0!important;padding:0!important;float:none!important;font-size:14px!important;overflow:hidden!important}
 body:not(.page-home) .navbar-nav.navbar-right{position:static!important;inset:auto!important;display:flex!important;align-items:center!important;flex:0 0 auto!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;float:none!important}
 body:not(.page-home) .navbar-nav.navbar-right>li.postadd{position:static!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important}
 body:not(.page-home) .navbar-nav.navbar-right>li.postadd>a{position:static!important;min-width:104px!important;max-width:none!important;min-height:40px!important;margin:0!important;padding:0 12px!important}
 body.page-cat .category-content--catalog .row.tree1{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 body.page-cat .category-content--catalog .catalog-tree-card{width:100%!important;padding:13px!important}
 body.page-cat .category-content--catalog .catalog-tree-card .cat-title>a{font-size:16px!important;overflow:hidden!important}
 body.page-cat .category-content--catalog .catalog-tree-card .catalog-tree__label{min-width:0!important;overflow-wrap:normal!important;word-break:normal!important}
 body.page-cat .category-content--catalog .catalog-tree-card ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:370px){
 body:not(.page-home) .navbar-nav.navbar-right>li.postadd>a{min-width:96px!important;padding:0 9px!important;font-size:11px!important}
 body.page-cat .category-content--catalog .catalog-tree-card ul{grid-template-columns:minmax(0,1fr)!important}
}


/* Final mobile header normalization. */
@media(max-width:640px){
 body:not(.page-home) .navbar-site .container{min-height:62px!important;height:62px!important;overflow:hidden!important}
 body:not(.page-home) .navbar-header.left-head{flex:1 1 auto!important;width:auto!important;min-width:132px!important;height:44px!important}
 body:not(.page-home) .navbar-brand.logo.logo-title{flex:0 1 auto!important;width:auto!important;min-width:132px!important;height:44px!important}
 body:not(.page-home) .navbar-brand.logo.logo-title .logo-text{position:static!important;display:block!important;width:auto!important;white-space:nowrap!important}
 body:not(.page-home) .navbar-brand.logo.logo-title .logo-icon{display:none!important}
 body:not(.page-home) .navbar-site .right-head{position:static!important;inset:auto!important;display:block!important;flex:0 0 auto!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;transform:none!important}
 body:not(.page-home) .navbar-site .navbar-collapse.collapse{position:static!important;inset:auto!important;display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;transform:none!important;border:0!important;box-shadow:none!important}
 body.page-cat .category-content--catalog .catalog-tree-card{height:auto!important;min-height:76px!important}
 body.page-cat .category-content--catalog .cat-collapse.collapse:not(.in){display:none!important;height:0!important;margin:0!important;overflow:hidden!important}
 body.page-cat .category-content--catalog .cat-collapse.collapse.in{display:grid!important;height:auto!important;margin-top:8px!important}
}


/* Keep mobile category counts clear of the disclosure control. */
@media(max-width:640px){
 body.page-cat .category-content--catalog .catalog-tree-card .cat-title{position:relative!important;display:block!important;padding-right:42px!important}
 body.page-cat .category-content--catalog .catalog-tree-card .cat-title>a{width:100%!important;max-width:100%!important}
 body.page-cat .category-content--catalog .catalog-tree-card .cat-title>a .count{flex:0 0 auto!important;margin-left:auto!important}
 body.page-cat .category-content--catalog .catalog-tree-card .btn-cat-collapsed{position:absolute!important;top:50%!important;right:0!important;margin:0!important;transform:translateY(-50%)!important}
}


/* Category labels belong below the photo; retain only media actions and VIP. */
.item-list .listing-media-overlay .listing-category-badge{display:none!important}
.item-list .listing-media-overlay{justify-content:flex-end!important}
.home-listing-badge--vip{display:inline-flex!important}


/* Fail-safe: never show empty redesigned sections while legacy listings hydrate. */
.page-home:not(.home-market-mounted) .home-market{display:none!important}
.page-home .category-content--home .tree2{display:none!important}
.page-home .home-extras__promo.is-waiting{display:none!important}
.page-home .home-extras.home-extras--promo-waiting{grid-template-columns:minmax(0,1fr)!important}
.page-home .home-extras.home-extras--promo-waiting .home-extras__social{grid-column:1/-1!important}
