/* ОБИВО V0.3: отдельная главная страница, не затрагивает старые маршруты демоверсии */
body.obivo-landing{margin:0;background:#f8fafc;color:#1c2d43;font-family:Inter,Arial,Helvetica,sans-serif}
body.obivo-landing *,body.obivo-landing *::before,body.obivo-landing *::after{box-sizing:border-box}
body.obivo-landing #app{min-width:0}
.obv-site{--obv-blue:#0868ff;--obv-green:#20b95a;--obv-orange:#ff8a00;--obv-ink:#172b42;--obv-muted:#6b7b8d;line-height:1.5;color:var(--obv-ink)}
.obv-site button,.obv-site input{font:inherit}
.obv-site button{cursor:pointer}
.obv-site a{text-decoration:none;color:inherit}
.obv-site svg{display:block;flex:none}
.obv-container{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.obv-demo-note{text-align:center;background:#eef4fd;color:#556d88;font-size:11px;padding:7px 12px;letter-spacing:.01em}
.obv-header{position:relative;background:white;z-index:2;border-bottom:1px solid #edf0f6}
.obv-header-top{display:flex;align-items:center;gap:24px;min-height:84px}
.obv-brand,.obv-footer-brand{display:inline-flex;align-items:center;gap:10px;color:var(--obv-blue)!important;font-weight:850}
.obv-brand-name{display:flex;flex-direction:column;font-size:25px;letter-spacing:-1.1px;line-height:1.1}
.obv-brand-name small{letter-spacing:0;color:#8391a4;font-size:10px;font-weight:500;margin-top:4px}
.obv-city{margin-left:44px;display:flex;align-items:center;gap:7px;max-width:180px;min-width:0;background:transparent;border:0;color:#3f536b;font-size:13px}
.obv-city span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.obv-city svg{width:17px;height:17px;color:var(--obv-blue)}
.obv-user-nav{display:flex;align-items:center;gap:26px;margin-left:auto}
.obv-icon-link{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:#293b50!important;font-size:13px;white-space:nowrap}
.obv-icon-link svg{width:18px;height:18px}
.obv-post{border:0;display:inline-flex;gap:7px;align-items:center;justify-content:center;border-radius:11px;background:var(--obv-blue);color:white;font-size:13px;font-weight:700;padding:13px 17px;white-space:nowrap;box-shadow:0 5px 14px #0868ff26}
.obv-post svg{width:17px;height:17px}
.obv-header-border{border-top:1px solid #eef1f5}
.obv-nav-row{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.obv-main-nav{display:flex;align-items:center;gap:34px;min-width:0}
.obv-main-nav a{font-size:13px;font-weight:600;white-space:nowrap}
.obv-main-nav a:first-child{color:var(--obv-blue);font-weight:750}
.obv-help{font-size:13px;color:var(--obv-muted)!important;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.obv-help svg{width:15px;height:15px}
.obv-site a:hover,.obv-site button:hover{transition:color .16s,background .16s,box-shadow .16s}
.obv-site a:focus-visible,.obv-site button:focus-visible,.obv-site input:focus-visible{outline:3px solid #74a6ff;outline-offset:3px}
.obv-hero{overflow:hidden;background:linear-gradient(107deg,#eaf4ff 0%,#f2f8ff 50%,#e8f7f3 100%);border-bottom:1px solid #e8f0fa}
.obv-hero-layout{min-height:420px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:28px;position:relative}
.obv-hero-content{padding:46px 0 48px;z-index:1}
.obv-eyebrow{display:inline-flex;gap:8px;align-items:center;background:white;border:1px solid #e4eefe;border-radius:100px;padding:7px 13px;color:#4e6a8c;font-size:12px;font-weight:700}
.obv-eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--obv-green)}
.obv-hero h1{font-size:clamp(36px,3.85vw,56px);line-height:1.11;letter-spacing:-1.75px;margin:20px 0 16px;font-weight:820;color:#15304c}
.obv-hero h1 span{color:var(--obv-blue)}
.obv-hero p{font-size:16px;color:#657992;max-width:560px;margin:0 0 26px;line-height:1.6}
.obv-search{background:white;border:1px solid #e3eaf4;padding:6px;display:flex;gap:5px;align-items:stretch;box-shadow:0 12px 35px #1f568617;border-radius:13px;max-width:580px;min-height:57px}
.obv-search-field{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:0 13px;color:#8292a4}
.obv-search-field svg{width:20px;height:20px}
.obv-search input{min-width:0;flex:1;width:100%;border:0;background:transparent;outline:0;color:var(--obv-ink);font-size:14px}
.obv-search input::placeholder{color:#8c9cb0}
.obv-search button{border:0;border-radius:9px;background:var(--obv-blue);color:white;padding:0 26px;font-weight:700;font-size:14px}
.obv-hero-bottom{display:flex;align-items:center;gap:18px;margin-top:18px}
.obv-primary-cta{display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--obv-blue);border:1px solid #cddffa;border-radius:10px;padding:11px 15px;font-size:13px;font-weight:750}
.obv-primary-cta svg{width:16px;height:16px}
.obv-hero-bottom>span{font-size:12px;color:#7388a1}
.obv-hero-visual{min-height:360px;position:relative;align-self:stretch;display:grid;place-items:center}
.obv-orbit{position:absolute;border:1px solid #ffffffae;border-radius:50%}
.obv-orbit-one{width:365px;height:365px}
.obv-orbit-two{width:275px;height:275px;border-style:dashed}
.obv-package{position:absolute;top:50%;left:51%;transform:translate(-50%,-38%) rotate(-8deg);width:190px;height:170px;filter:drop-shadow(0 23px 14px #3d6b8f20)}
.obv-package-back{position:absolute;width:180px;height:100px;left:5px;bottom:58px;background:#f8c28c;transform:skewY(11deg);border-radius:4px}
.obv-package-front{position:absolute;width:180px;height:114px;left:5px;bottom:9px;background:linear-gradient(120deg,#f6b977,#ea9b4c);border-radius:3px;clip-path:polygon(0 0,50% 14%,100% 0,100% 87%,50% 100%,0 87%);display:grid;place-items:center}
.obv-package-front:after{content:"";position:absolute;height:108px;width:1px;background:#d68d46;left:50%;top:12px}
.obv-package-lid{position:absolute;top:14px;width:103px;height:54px;background:#ffd29f;box-shadow:0 4px 4px #bd874020}
.obv-package-lid-left{left:-13px;transform:skewY(-19deg) rotate(-8deg);clip-path:polygon(22% 0,100% 30%,82% 100%,0 50%)}
.obv-package-lid-right{right:-17px;transform:skewY(18deg) rotate(8deg);clip-path:polygon(0 25%,76% 0,100% 65%,15% 100%)}
.obv-package-logo{display:block;width:42px;height:42px;background:#fff9;border-radius:12px;position:relative;z-index:1;margin-top:24px;transform:rotate(8deg)}
.obv-package-logo i,.obv-package-logo b,.obv-package-logo em{position:absolute;border-radius:8px;transform:rotate(45deg)}
.obv-package-logo i{width:24px;height:9px;background:var(--obv-blue);top:9px;right:2px}
.obv-package-logo b{width:18px;height:8px;background:var(--obv-green);bottom:10px;left:2px}
.obv-package-logo em{width:8px;height:8px;background:var(--obv-orange);bottom:3px;right:6px;border-radius:50%}
.obv-visual-card{position:absolute;display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #f2f5f9;border-radius:12px;box-shadow:0 15px 30px #285d8e14;padding:12px 15px;font-size:12px;font-weight:750;color:#3c5270;white-space:nowrap}
.obv-visual-card-top{top:24%;right:0;transform:rotate(5deg)}
.obv-visual-card-top svg{width:16px;height:16px;color:#ff8a00}
.obv-visual-card-bottom{bottom:18%;left:0;transform:rotate(-5deg)}
.obv-success-dot{width:9px;height:9px;border-radius:50%;background:var(--obv-green);box-shadow:0 0 0 4px #20b95a20}
.obv-section{padding-top:52px;padding-bottom:10px}
.obv-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}
.obv-kicker{color:var(--obv-blue);font-size:10px;letter-spacing:.18em;font-weight:800}
.obv-section-heading h2{font-size:27px;font-weight:800;letter-spacing:-.7px;margin:6px 0 0;line-height:1.2}
.obv-section-heading>a{display:flex;align-items:center;gap:7px;color:var(--obv-blue);font-weight:700;font-size:13px;white-space:nowrap}
.obv-section-heading>a svg{width:17px;height:17px}
.obv-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.obv-category{background:white;border:1px solid #e6ebf1;border-radius:15px;min-height:118px;padding:15px 14px;display:flex;flex-direction:column;justify-content:space-between;position:relative;gap:8px;font-size:13px;font-weight:700}
.obv-category:hover{border-color:#b7d1fc;box-shadow:0 9px 24px #2869a10d}
.obv-category-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:#eaf2ff;color:#3977d6}
.obv-category-tone-1{background:#e9f8f1;color:#239669}
.obv-category-tone-2{background:#fff2e7;color:#e18b3c}
.obv-category-tone-3{background:#f2edff;color:#8362d7}
.obv-category-tone-4{background:#e7f7f7;color:#248d96}
.obv-category-arrow{position:absolute;right:15px;top:21px;width:15px!important;height:15px!important;color:#a4b1bf}
.obv-preview-note{color:#8191a3;font-size:11px;margin:12px 0 0}
.obv-listing-section{padding-top:58px}
.obv-empty{display:flex;align-items:center;gap:22px;border:1px dashed #d5e2ef;background:#fff;border-radius:18px;padding:28px 32px}
.obv-empty-icon{background:#eaf2ff;color:var(--obv-blue);width:64px;height:64px;flex:none;border-radius:18px;display:grid;place-items:center}
.obv-empty-icon svg{width:30px;height:30px}
.obv-empty>div:nth-child(2){flex:1;min-width:0}
.obv-empty h3{font-size:17px;letter-spacing:-.2px;margin:0 0 5px}
.obv-empty p{margin:0;color:var(--obv-muted);font-size:13px;max-width:550px}
.obv-outline-button{border:1px solid #c9daf6;border-radius:10px;background:#fff;color:var(--obv-blue);font-weight:750;padding:12px 15px;font-size:13px;white-space:nowrap}
.obv-how-section{padding-top:56px;padding-bottom:70px}
.obv-how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.obv-how-grid article{background:white;border:1px solid #edf0f4;border-radius:16px;padding:25px}
.obv-how-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#f0f6ff;color:var(--obv-blue)}
.obv-how-grid h3{margin:19px 0 8px;font-size:16px}
.obv-how-grid p{font-size:13px;color:var(--obv-muted);margin:0}
.obv-footer{background:#fff;border-top:1px solid #ecf0f5}
.obv-footer-main{padding-top:28px;padding-bottom:28px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.obv-footer-brand{font-size:22px;letter-spacing:-.8px}
.obv-footer-main p{font-size:12px;color:var(--obv-muted);margin:3px 0 0}
.obv-footer nav{display:flex;gap:25px;flex-wrap:wrap}
.obv-footer nav a{font-size:12px;color:#54667c}
.obv-footer-bottom{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #f0f2f5;padding-top:14px;padding-bottom:16px;font-size:11px;color:#97a3b1}
@media(max-width:1020px){
 .obv-city{margin-left:5px}
 .obv-user-nav{gap:15px}
 .obv-main-nav{gap:21px}
 .obv-hero-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
 .obv-hero h1{font-size:41px}
 .obv-orbit-one{width:305px;height:305px}
 .obv-orbit-two{width:235px;height:235px}
 .obv-package{transform:translate(-50%,-38%) rotate(-8deg) scale(.83)}
 .obv-visual-card-top{right:-8px}
 .obv-visual-card-bottom{left:-8px}
}
@media(max-width:740px){
 .obv-container{width:min(100% - 32px,1180px)}
 .obv-demo-note{font-size:10px}
 .obv-header-top{min-height:69px;gap:10px}
 .obv-brand>img{width:32px;height:32px}
 .obv-brand-name{font-size:21px}
 .obv-brand-name small{font-size:9px}
 .obv-city{margin-left:auto}
 .obv-city span{max-width:92px}
 .obv-user-nav{margin:0;gap:15px}
 .obv-icon-link span{display:none}
 .obv-icon-link svg{width:21px;height:21px}
 .obv-post-head{display:none}
 .obv-nav-row{overflow:auto;scrollbar-width:none;min-height:45px}
 .obv-nav-row::-webkit-scrollbar{display:none}
 .obv-main-nav{gap:22px}
 .obv-help{display:none}
 .obv-hero-layout{min-height:auto;grid-template-columns:minmax(0,1fr)}
 .obv-hero-content{padding:42px 0 45px}
 .obv-hero-visual{display:none}
 .obv-hero h1{font-size:clamp(35px,7.1vw,47px);margin:18px 0 14px}
 .obv-hero p{font-size:14px}
 .obv-section{padding-top:37px}
 .obv-section-heading h2{font-size:23px}
 .obv-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .obv-category{min-height:108px}
 .obv-empty{padding:22px;flex-wrap:wrap}
 .obv-empty>div:nth-child(2){flex:1 1 calc(100% - 90px)}
 .obv-outline-button{margin-left:86px}
 .obv-how-section{padding-bottom:45px}
 .obv-how-grid{grid-template-columns:repeat(1,minmax(0,1fr));gap:10px}
 .obv-how-grid article{padding:18px;display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:13px}
 .obv-how-icon{grid-row:span 2;width:42px;height:42px}
 .obv-how-grid h3{margin:0 0 3px}
 .obv-footer-main{align-items:flex-start;flex-direction:column;gap:16px}
}
@media(max-width:430px){
 .obv-container{width:calc(100% - 28px)}
 .obv-header-top{gap:7px}
 .obv-brand{gap:5px}
 .obv-brand>img{width:27px;height:27px}
 .obv-brand-name{font-size:19px}
 .obv-brand-name small{font-size:8px}
 .obv-city{font-size:11px;gap:3px;padding:3px;max-width:112px}
 .obv-city svg{width:14px;height:14px}
 .obv-city span{max-width:71px}
 .obv-user-nav{gap:10px}
 .obv-icon-link svg{width:19px;height:19px}
 .obv-hero-content{padding:32px 0 38px}
 .obv-eyebrow{font-size:11px}
 .obv-hero h1{font-size:34px;letter-spacing:-1px}
 .obv-hero p{font-size:13px;line-height:1.55}
 .obv-search{min-height:51px}
 .obv-search-field{padding:0 8px;gap:7px}
 .obv-search button{padding:0 17px;font-size:13px}
 .obv-hero-bottom{gap:9px}
 .obv-hero-bottom>span{font-size:11px}
 .obv-primary-cta{padding:10px}
 .obv-section-heading{align-items:flex-start}
 .obv-section-heading h2{font-size:22px}
 .obv-section-heading>a{font-size:11px}
 .obv-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .obv-category{padding:12px;min-height:103px;font-size:12px}
 .obv-category-icon{width:39px;height:39px}
 .obv-category-icon svg{width:20px;height:20px}
 .obv-empty{display:block;padding:20px}
 .obv-empty-icon{width:52px;height:52px;border-radius:14px;margin-bottom:14px}
 .obv-empty h3{font-size:16px}
 .obv-empty p{font-size:12px}
 .obv-outline-button{margin:18px 0 0}
 .obv-footer nav{gap:14px}
 .obv-footer-bottom{flex-direction:column;gap:3px}
}

/* Scoped consistency rules: the captured demo stylesheet contains legacy font overrides. */
.obv-site,
.obv-site h1,.obv-site h2,.obv-site h3,.obv-site p,
.obv-site a,.obv-site button,.obv-site input,.obv-site span {
  font-family: Arial,Helvetica,sans-serif !important;
}
.obv-city-short { display:none; }
@media (max-width:430px) {
  .obv-city-long { display:none; }
  .obv-city-short { display:inline; }
  .obv-primary-cta { white-space:nowrap; }
  .obv-hero-bottom>span { display:none; }
}
/* V0.4 — исходный фирменный баннер ОБИВО (2146 × 732). */
body.obivo-landing .obv-hero{background:#eef6ff}
body.obivo-landing .obv-hero-layout{gap:38px}
body.obivo-landing .obv-hero-visual{display:flex;align-items:center;justify-content:center;min-width:0;padding:20px 0;min-height:0}
body.obivo-landing .obv-hero-photo{
 width:100%;height:332px;max-width:100%;display:block;
 border-radius:19px;object-fit:cover;object-position:55% center;
 box-shadow:0 18px 38px #255c8a18;
}
@media (max-width:740px){
 body.obivo-landing .obv-hero-layout{gap:0}
 body.obivo-landing .obv-hero-content{padding-bottom:18px}
 body.obivo-landing .obv-hero-visual{display:block;padding:0 0 28px}
 body.obivo-landing .obv-hero-photo{height:auto;aspect-ratio:2.0;object-position:center}
}
@media (max-width:430px){
 body.obivo-landing .obv-hero-photo{aspect-ratio:1.7;object-position:52% center;border-radius:14px}
}

@media(max-width:430px){.obv-city-short{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}}

/* V0.6 — цельный hero: фотография продолжается после поиска,
   изображение 2146x732 полностью вписано, без обрезания надписи справа. */
body.obivo-landing .obv-hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(95deg,#eaf3ff 0%,#f1f7ff 49%,#eff7f8 100%);
}
body.obivo-landing .obv-hero-layout {
  min-height:450px;
  display:flex;
  align-items:center;
  position:relative;
  overflow:visible;
  gap:0;
}
body.obivo-landing .obv-hero-content {
  width:min(56%,640px);
  flex:none;
  position:relative;
  z-index:2;
  padding:54px 0;
}
body.obivo-landing .obv-hero-layout::before {
  content:"";
  pointer-events:none;
  position:absolute;
  z-index:1;
  top:0;bottom:0;left:-25vw;
  width:min(85vw,1050px);
  background:linear-gradient(90deg,#eaf3ff 25%,rgba(234,243,255,.97) 50%,rgba(234,243,255,.78) 72%,rgba(234,243,255,0) 100%);
}
body.obivo-landing .obv-hero-visual {
  position:absolute;
  z-index:0;
  top:0;bottom:0;
  right:calc((min(100vw, 1180px) - 100vw) / 2);
  width:min(79vw, 1280px);
  min-width:0;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:0;
  margin:0;
  pointer-events:none;
}
body.obivo-landing .obv-hero-photo {
  display:block;
  width:100%;
  height:auto;
  max-width:none;
  max-height:100%;
  aspect-ratio:2146 / 732;
  object-fit:contain;
  object-position:center;
  border-radius:0;
  box-shadow:none;
  filter:none;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.6) 16%,#000 31%);
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.6) 16%,#000 31%);
}
@media (max-width:920px) and (min-width:741px) {
 body.obivo-landing .obv-hero-content {width:62%}
 body.obivo-landing .obv-hero-visual {width:85vw}
 body.obivo-landing .obv-hero h1 {font-size:39px}
 body.obivo-landing .obv-hero-layout::before {width:90vw}
}
@media (max-width:740px) {
 body.obivo-landing .obv-hero-layout {
   display:flex;flex-direction:column;align-items:stretch;min-height:0;
 }
 body.obivo-landing .obv-hero-content {
   width:100%;padding:36px 0 12px;
 }
 body.obivo-landing .obv-hero-layout::before {display:none}
 body.obivo-landing .obv-hero-visual {
   position:relative;top:auto;bottom:auto;right:auto;
   width:calc(100% + 32px);margin-left:-16px;
   padding:0 0 24px;display:block;
 }
 body.obivo-landing .obv-hero-photo {
   width:100%;height:auto;max-height:none;aspect-ratio:2146 / 732;
   object-fit:contain;object-position:center;border-radius:0;box-shadow:none;
   -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 12%);
   mask-image:linear-gradient(to bottom,transparent 0%,#000 12%);
 }
}
@media (max-width:430px) {
 body.obivo-landing .obv-hero-content {padding:30px 0 12px}
 body.obivo-landing .obv-hero-visual {width:calc(100% + 28px);margin-left:-14px;padding-bottom:21px}
 body.obivo-landing .obv-hero-photo {
   height:auto;aspect-ratio:2146 / 732;object-fit:contain;object-position:center;border-radius:0;
 }
}

/* V0.6 adjustment — keep all banner lettering visible without overlapping the headline. */
@media (min-width:741px) {
 body.obivo-landing .obv-hero-layout::before {display:none}
 body.obivo-landing .obv-hero-visual {width:min(55vw,1100px)}
 body.obivo-landing .obv-hero-photo {
   -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.35) 9%,#000 21%);
   mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.35) 9%,#000 21%);
 }
}

/* QA V0.22 — consistent compact listing cards and uncropped photography. */
#obv-home-fresh.obv-catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
#obv-home-fresh .obv-card{width:auto;min-width:0;max-width:none;height:auto;cursor:pointer}
#obv-home-fresh .obv-card-photo{height:160px;width:100%;background:#f4f7fa}
#obv-home-fresh .obv-card-photo img{width:100%;height:100%;object-fit:contain}
#obv-home-fresh .obv-card-info{padding:12px;gap:5px}
#obv-home-fresh .obv-card-title{font-size:13px;min-height:0}
#obv-home-fresh .obv-card-price{font-size:17px;margin-top:4px}
#obv-home-fresh .obv-card-city{margin-top:4px}
.obv-card[data-lot]{cursor:pointer}
.obv-card[data-lot]:focus-visible{outline:3px solid #2879fa;outline-offset:3px}
#overlay .modal-close{position:sticky!important;top:0!important;right:auto!important;float:right;z-index:30;width:42px;height:42px;margin:-13px -13px 0 0;border-radius:50%;background:var(--obv-modal-close-bg,#fff)!important;color:#253e57!important;box-shadow:0 4px 14px #0a234033;display:grid;place-items:center}
#overlay .obv-detail-photo img[data-detail-main-photo]{cursor:zoom-in}
.obv-image-zoom{position:fixed;inset:0;background:#081322ed;z-index:200;box-sizing:border-box;display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;padding:70px 16px 20px}
.obv-image-zoom img{width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;touch-action:pinch-zoom}
.obv-image-zoom button{position:absolute;top:max(env(safe-area-inset-top),12px);right:16px;width:48px;height:48px;color:#fff;background:#293548;border:1px solid #a3b4c8;border-radius:50%;font-size:24px;z-index:201}
@media (max-width:1100px){#obv-home-fresh.obv-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:740px){#obv-home-fresh.obv-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media (max-width:480px){#obv-home-fresh.obv-catalog-grid{grid-template-columns:minmax(0,1fr)}#obv-home-fresh .obv-card{display:grid;grid-template-columns:118px minmax(0,1fr);min-height:134px}#obv-home-fresh .obv-card-photo{height:132px;min-height:132px}#obv-home-fresh .obv-card-info{padding:12px 38px 12px 12px;min-width:0}#obv-home-fresh .obv-card-price{font-size:17px}#obv-home-fresh .obv-card-title{font-size:14px;line-height:1.3}#obv-home-fresh .obv-card-fav{top:6px;right:6px}}

/* OBIVO approved category cards variant #2: real photography, navy type, orange rule. */
.obv-category-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.obv-category-photo-grid .obv-category-photo{position:relative;display:block;aspect-ratio:410/192;width:100%;height:auto;min-height:0;overflow:hidden;padding:0;margin:0;border:1px solid #e8edf1;border-radius:20px;background:linear-gradient(110deg,#fff 30%,#eef4f3 100%);box-shadow:0 5px 15px #0a2c4b18;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
.obv-category-photo:hover{transform:translateY(-3px);box-shadow:0 12px 25px #0a2c4b23}
.obv-category-photo:focus-visible{outline:3px solid #1876f6;outline-offset:4px}
.obv-category-photo-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.obv-category-photo-fade{position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,#fff 31%,#fffc 45%,transparent 70%);z-index:1}
.obv-category-photo-heading{position:absolute;top:50%;left:6.5%;transform:translateY(-50%);z-index:2;color:#102943;font-weight:800;font-size:clamp(15px,2vw,25px);line-height:1.12;letter-spacing:-.03em;max-width:58%;display:flex;flex-direction:column;gap:9px;word-break:normal;text-align:left}
.obv-category-photo-heading i{display:block;width:76px;max-width:78%;height:6px;background:#ff8417;border-radius:100px}
.obv-category-fallback{position:absolute;top:50%;right:8%;transform:translateY(-50%);font-size:38px;opacity:.7;z-index:0;pointer-events:none}
@media(max-width:860px){.obv-category-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.obv-category-photo-heading{font-size:clamp(14px,2.9vw,23px)}}
@media(max-width:490px){.obv-category-photo-grid{grid-template-columns:minmax(0,1fr);gap:12px}.obv-category-photo-grid .obv-category-photo{aspect-ratio:410/172}.obv-category-photo-heading{font-size:clamp(18px,6vw,25px)}}
.obv-category-photo-grid .obv-category-photo:has(.obv-category-photo-image:not([src])) .obv-category-fallback{z-index:3}

/* WEB/MAX common native city dropdown — works with touch, keyboard and mouse. */
.obv-city-select{display:inline-flex;align-items:center;position:relative;gap:6px;min-width:126px;max-width:230px;padding:6px 10px;border:1px solid #e1e9f2;border-radius:18px;background:#fff;color:#17314d;box-shadow:0 2px 6px #17314d08}
.obv-city-select .obv-city-pin{font-size:17px;flex:0 0 auto}
.obv-city-select select{flex:1;min-width:0;width:100%;appearance:none;-webkit-appearance:none;border:0;outline:0;background:transparent;color:inherit;font-size:14px;font-weight:600;font-family:inherit;line-height:1.3;cursor:pointer;padding:5px 14px 5px 0;text-overflow:ellipsis}
.obv-city-select select:focus-visible{outline:2px solid #1478fa;border-radius:8px;outline-offset:2px}
.obv-city-chevron{position:absolute;right:9px;top:50%;transform:translateY(-50%);color:#708399;pointer-events:none;font-size:15px}
.obv-filter-city-dropdown{max-width:200px;margin:0}
@media(max-width:580px){.obv-city-select{max-width:156px;min-width:112px;padding:5px 7px}.obv-city-select select{font-size:13px}}

/* V0.23 final art treatment: approved bitmap already contains its own title and orange line. */
.obv-category-photo-grid .obv-category-photo-fade,
.obv-category-photo-grid .obv-category-photo-heading,
.obv-category-photo-grid .obv-category-fallback{display:none!important}
.obv-category-photo-grid .obv-category-photo-image{object-fit:fill;}
/* Legacy source artwork says 'Товары': cover only the lettering and present 'Прочее' as a real, independent category. */
.obv-category-photo-grid .obv-category-photo[data-category-card="Прочее"] .obv-category-photo-fade{display:block!important;background:linear-gradient(90deg,#fff 0%,#fff 44%,rgba(255,255,255,.98) 53%,transparent 70%)}
.obv-category-photo-grid .obv-category-photo[data-category-card="Прочее"] .obv-category-photo-heading{display:flex!important;font-family:Arial,sans-serif;font-weight:800;color:#102943;left:7.2%;font-size:clamp(17px,2.1vw,28px)}
.obv-category-photo-grid .obv-category-photo[data-category-card="Прочее"] .obv-category-photo-heading i{display:block}

/* QA V0.23.2 — WEB and MAX deliberately have different category presentations. */
/* WEB: restore the compact five-column footprint from before photographic cards. */
.obv-site .obv-category-grid.obv-category-photo-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;
}
.obv-site .obv-category-grid.obv-category-photo-grid .obv-category-photo{
  min-width:0;min-height:0;aspect-ratio:410 / 189;border-radius:13px;
  box-shadow:0 3px 9px #102b4912;overflow:hidden;
}
.obv-site .obv-category-photo-grid .obv-category-photo-heading{font-size:clamp(13px,1.35vw,18px)}
.obv-site .obv-category-photo-grid .obv-category-photo-heading i{
  height:4px;width:44px;max-width:80%;
}
/* The property artwork is now independently trimmed and does not require CSS zoom. */
/* MAX: use Android's compact category tiles and icon dimensions, not WEB photographs. */
.obv-site .obv-category-grid.obv-category-max-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;
}
.obv-site .obv-category-grid.obv-category-max-grid .obv-category-max{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
  min-height:95px;padding:13px 10px;gap:10px;border-radius:15px;
  background:#fff;border:1px solid #e3e9f2;color:#32465d;
  font-size:12px;font-weight:750;line-height:1.2;
}
.obv-site .obv-category-max-grid .obv-category-icon{
  width:37px;height:37px;border-radius:11px;font-size:21px;
  display:grid;place-items:center;background:#eaf3ff;flex:0 0 auto;
}
.obv-site .obv-category-max-grid .obv-category-max:nth-child(3n+2) .obv-category-icon{background:#e9f8f0}
.obv-site .obv-category-max-grid .obv-category-max:nth-child(3n) .obv-category-icon{background:#fff2e5}
.obv-site .obv-category-max-grid .obv-category-max-label{overflow-wrap:anywhere}
@media(max-width:1100px){
  .obv-site .obv-category-grid.obv-category-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:740px){
  .obv-site .obv-category-grid.obv-category-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
}
@media(max-width:490px){
  .obv-site .obv-category-grid.obv-category-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .obv-site .obv-category-grid.obv-category-photo-grid .obv-category-photo{aspect-ratio:410 / 189}
  .obv-site .obv-category-photo-grid [data-category-card="Прочее"] .obv-category-photo-heading{font-size:clamp(13px,4vw,16px)}
}

/* Keep the standalone 'Прочее' label proportional to the smaller WEB tile. */
.obv-site .obv-category-photo-grid .obv-category-photo[data-category-card="Прочее"] .obv-category-photo-heading{
  left:6.7%;font-size:clamp(13px,1.38vw,19px);letter-spacing:-.035em
}
.obv-site .obv-category-photo-grid .obv-category-photo[data-category-card="Прочее"] .obv-category-photo-heading i{
  width:42px;height:4px
}

/* QA V0.23.3: WEB city dropdown, with reliable spacing for all menu entries. MAX stays native. */
.obv-site .obv-city-custom{
  position:relative;display:inline-flex;align-items:center;justify-content:flex-start;
  flex:0 0 auto;min-width:154px;max-width:200px;padding:0;
  z-index:10;border-radius:18px;
}
.obv-site .obv-city-custom[open]{z-index:50;border-color:#b4d1f7;box-shadow:0 2px 12px #2466ab18}
.obv-site .obv-city-custom summary{
  list-style:none;display:flex;align-items:center;gap:7px;
  padding:10px 13px;min-height:42px;width:100%;min-width:0;
  font-size:14px;line-height:1.25;font-weight:600;cursor:pointer;
  border-radius:18px;outline-offset:2px;user-select:none;
}
.obv-site .obv-city-custom summary::-webkit-details-marker{display:none}
.obv-site .obv-city-custom summary::marker{content:''}
.obv-site .obv-city-custom summary:focus-visible{outline:2px solid #1678f6}
.obv-site .obv-city-custom .obv-city-pin{margin-right:1px}
.obv-site .obv-city-custom .obv-city-current{white-space:nowrap;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis}
.obv-site .obv-city-custom .obv-city-custom-chevron{margin-left:auto;color:#71849d;font-size:17px;line-height:1;transition:transform .15s}
.obv-site .obv-city-custom[open] .obv-city-custom-chevron{transform:rotate(180deg)}
.obv-site .obv-city-custom:not([open]) .obv-city-menu{display:none}
.obv-site .obv-city-custom .obv-city-menu{
  position:absolute;z-index:100;top:calc(100% + 7px);left:0;min-width:215px;width:max-content;
  max-width:min(280px,calc(100vw - 32px));max-height:320px;overflow-y:auto;overscroll-behavior:contain;
  display:flex;flex-direction:column;gap:3px;padding:8px;
  background:white;border:1px solid #dce5ef;border-radius:14px;box-shadow:0 12px 26px #162b4c28;
}
.obv-site .obv-city-custom .obv-city-option{
  display:block;width:100%;box-sizing:border-box;text-align:left;
  padding:10px 14px;margin:0;min-height:38px;border:0;border-radius:9px;
  font-family:inherit;font-size:14px;font-weight:500;line-height:1.25;white-space:nowrap;
  color:#203853;background:transparent;cursor:pointer;
}
.obv-site .obv-city-custom .obv-city-option:hover,
.obv-site .obv-city-custom .obv-city-option:focus-visible{background:#edf5ff;color:#1165cc;outline:none}
.obv-site .obv-city-custom .obv-city-option[aria-selected="true"]{background:#eaf3ff;color:#0966d3;font-weight:700}
@media(max-width:580px){
 .obv-site .obv-city-custom{min-width:126px;max-width:155px}
 .obv-site .obv-city-custom summary{font-size:13px;padding:9px 8px;gap:4px}
 .obv-site .obv-city-custom .obv-city-menu{min-width:184px}
 .obv-site .obv-city-custom .obv-city-option{font-size:13px;padding:10px 13px}
}

/* QA V0.23.3 menu-layer refinement: open city menu stays above hero headings. */
.obv-site .obv-header{position:relative;z-index:60;overflow:visible}
.obv-site .obv-header-top,.obv-site .obv-header-border{overflow:visible}

.obv-city-controls{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%}
.obv-city-search-button{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0;color:#174c98;background:#f3f8ff;border:1px solid #d6e3f1;border-radius:11px;cursor:pointer}
.obv-city-search-button:hover{background:#eaf3ff}
.obv-city-search-button:focus-visible,.obv-city-search-form :is(button,input):focus-visible{outline:2px solid #1968cd;outline-offset:2px}
.obv-city-search-dialog{box-sizing:border-box;width:min(380px,calc(100% - 24px));max-height:80dvh;margin:auto;padding:16px;border:1px solid #dbe7f4;border-radius:17px;background:#fff;color:#18304a;font:14px/1.45 Arial,sans-serif}
.obv-city-search-dialog::backdrop{background:#14283a88}
.obv-city-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.obv-city-search-form label{font-weight:700;font-size:17px}
.obv-city-search-close{width:32px;height:32px;padding:0;color:#21456b;background:#edf4fc;border:0;border-radius:9px;font-size:22px;cursor:pointer}
.obv-city-search-form input{grid-column:1/-1;box-sizing:border-box;width:100%;min-height:42px;padding:8px 11px;border:1px solid #b9cde2;border-radius:10px;background:#fff;color:#18304a;font-size:16px}
.obv-city-search-results{grid-column:1/-1;display:grid;gap:2px;list-style:none;margin:0;padding:0;max-height:32dvh;overflow:auto}
.obv-city-search-results button{width:100%;min-height:36px;padding:5px 9px;text-align:left;border:0;border-radius:8px;background:#fff;color:#18304a;font:inherit;cursor:pointer}
.obv-city-search-results button:hover{background:#edf4fc}
.obv-city-search-status{grid-column:1/-1;margin:0;color:#526981}
.obv-city-search-status:empty,.obv-city-search-results:empty{display:none}
@media(max-width:380px){.obv-city-controls{gap:4px}.obv-city-search-button{width:30px;height:32px}}

/* Shared typography for the two rows of the WEB header. */
.obv-site:not(.obv-max-site) .obv-header :is(
  .obv-city-custom summary,
  .obv-user-nav .obv-icon-link,
  .obv-user-nav .obv-post-head,
  .obv-main-nav a,
  .obv-help
) {
  font: 600 14px/1.3 Arial, Helvetica, sans-serif;
}

@media (741px <= width <= 820px) {
  .obv-site:not(.obv-max-site) .obv-header-top {
    column-gap: 12px;
  }

  .obv-site:not(.obv-max-site) .obv-header .obv-user-nav {
    column-gap: 8px;
  }

  .obv-site:not(.obv-max-site) .obv-header .obv-post-head {
    padding-inline: 13px;
  }
}
