/* A compact catalogue, using the shared public site's grid and brand colours. */
body.svo-home { --home-ink:#14233b; --home-muted:#718096; --home-blue:#0b63d9; --home-line:#e6eaf0; background:#fff; color:var(--home-ink); line-height:1.5; -webkit-font-smoothing:antialiased; }
body.svo-home #header { background:#fff; }
body.svo-home [hidden] { display:none !important; }
body.svo-home #home-slider { margin:0; padding:0 0 28px; border:0; background:#fff; }
:root body.svo-home #home-slider > .container { width:min(var(--svo-header-width),calc(100% - var(--svo-header-gutter))); margin:0 auto; padding:0; }
:root body.svo-home #home-slider > .container > .row { margin:0; }
:root body.svo-home #home-slider .slider-left { display:none; }
:root body.svo-home #home-slider .header-top-right { border:0; background:transparent; }
:root body.svo-home #home-slider .homeslider { position:relative; margin:0; padding:0; background:#f4f6f9; }
body.svo-home .svo-slides { position:relative; width:100%; aspect-ratio:666/360; overflow:hidden; }
body.svo-home .svo-slide { display:block; width:100%; height:100%; }
:root body.svo-home #home-slider .svo-slide img { display:block; width:100%; height:100%; object-fit:contain; }
:root body.svo-home #home-slider .header-banner { margin:0; padding:0; }
body.svo-home .svo-slider-controls { position:absolute; bottom:10px; right:12px; display:flex; align-items:center; gap:2px; padding:3px; border-radius:5px; background:#14233be0; color:#fff; }
body.svo-home .svo-slider-controls button { display:flex; align-items:center; justify-content:center; flex:none; width:32px; height:32px; padding:0; border:0; border-radius:3px; color:inherit; background:transparent; font-size:20px; cursor:pointer; }
body.svo-home .svo-slider-controls button:hover { background:#ffffff25; }
body.svo-home .svo-slide-dots { display:flex; align-items:center; }
body.svo-home .svo-slider-controls .svo-slide-dot { width:24px; }
body.svo-home .svo-slide-dot::before { content:''; width:6px; height:6px; border-radius:8px; background:#ffffff75; }
body.svo-home .svo-slide-dot[aria-pressed=true]::before { background:#fff; }
body.svo-home .svo-slider-controls .svo-slide-pause { border-left:1px solid #ffffff35; border-radius:0; font-size:11px; }
body.svo-home .svo-home-container { width:min(var(--svo-header-width),calc(100% - var(--svo-header-gutter))); margin:0 auto; }
body.svo-home .svo-home-main { padding:20px 0 32px; background:#f5f7fb; }
body.svo-home #footer .svo-footer-ad { max-width:100%; overflow:hidden; }
body.svo-home .svo-home-main a { text-decoration:none; }
body.svo-home .svo-home-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 20px; padding:0; }
body.svo-home .svo-home-heading h1 { margin:0; padding:0; color:var(--home-ink); font-size:27px; font-weight:700; line-height:1.3; letter-spacing:-.025em; }
body.svo-home .svo-home-heading > a { display:inline-flex; flex:none; align-items:center; gap:10px; min-height:36px; color:var(--home-blue); font-size:13px; }
body.svo-home .svo-home-feed { display:block; }
body.svo-home .svo-home-section { min-width:0; margin:0 0 24px; padding:0 16px 16px; border:1px solid #dce3ed; border-radius:8px; background:#fff; }
body.svo-home .svo-home-section:last-child { margin-bottom:0; }
body.svo-home .svo-section-heading { position:relative; display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:60px; margin:0 -16px 16px; padding:12px 16px 12px 20px; border-bottom:1px solid #e0e6f0; border-radius:7px 7px 0 0; background:#f0f4fa; }
body.svo-home .svo-section-heading::before { position:absolute; top:0; bottom:0; left:0; width:4px; border-radius:7px 0 0 0; background:#6334b8; content:''; }
body.svo-home .svo-section-heading h2 { min-width:0; margin:0; padding:0; color:var(--home-ink); font-size:21px; font-weight:600; line-height:1.3; letter-spacing:-.02em; text-transform:none; }
body.svo-home .svo-section-heading h2 a { color:inherit; }
body.svo-home .svo-section-heading h2 a:hover { color:var(--home-blue); }
body.svo-home .svo-section-actions { display:flex; flex:none; align-items:center; gap:16px; }
body.svo-home .svo-section-more { display:inline-flex; align-items:center; gap:8px; min-height:36px; color:var(--home-blue); font-size:12px; }
body.svo-home .svo-section-more:hover, body.svo-home .svo-home-heading > a:hover { text-decoration:underline; }
body.svo-home .svo-row-controls { display:flex; align-items:center; gap:5px; }
body.svo-home .svo-row-controls button { display:flex; align-items:center; justify-content:center; width:34px; height:34px; padding:0; border:1px solid #dce2eb; border-radius:4px; background:white; color:#344862; font-size:20px; cursor:pointer; }
body.svo-home .svo-row-controls button:hover:not(:disabled) { border-color:#9cb9e2; color:var(--home-blue); background:#f7faff; }
body.svo-home .svo-row-controls button:disabled { color:#c6ced9; background:#fafbfd; cursor:default; }
body.svo-home .svo-section-banners { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 12px; }
body.svo-home .svo-inline-ad { min-width:0; margin-bottom:16px; overflow:hidden; }
body.svo-home .svo-inline-ad a { display:block; margin:0; overflow:hidden; }
body.svo-home .svo-inline-ad img { display:block; width:100%; height:auto; }
body.svo-home .svo-inline-ad .svo-promo-banner { box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; height:65px; padding:10px 16px 10px 20px; border-radius:5px; background:#14233b url('../images/home-banner-wide.svg') center/cover no-repeat; color:#fff; text-decoration:none; }
body.svo-home .svo-inline-ad .svo-promo-banner:hover { color:#fff; filter:brightness(1.1); }
body.svo-home .svo-promo-banner__copy { display:block; min-width:0; }
body.svo-home .svo-promo-banner__copy strong { display:block; font-size:17px; font-weight:700; line-height:22px; letter-spacing:-.01em; white-space:nowrap; }
body.svo-home .svo-promo-banner__copy small { display:block; margin-top:2px; color:#c6d9f3; font-size:11px; line-height:16px; }
body.svo-home .svo-promo-banner__action { display:inline-flex; flex:none; align-items:center; gap:9px; padding:8px 10px; border:1px solid #ffffff70; border-radius:4px; color:#fff; font-size:11px; font-weight:600; white-space:nowrap; }
body.svo-home #footer .svo-home-footer-ad { position:relative; height:0; margin:0; overflow:hidden; }
body.svo-home #footer .svo-home-footer-ad > .adsbygoogle { position:absolute !important; top:0; left:0; width:100%; }
body.svo-home #footer .svo-home-footer-ad.has-filled-ad { height:auto; margin:20px 0 0; }
body.svo-home #footer .svo-home-footer-ad.has-filled-ad > .adsbygoogle { position:relative !important; }
@supports selector(:has(*)) { body.svo-home #footer .svo-home-footer-ad:has(ins[data-ad-status=filled]) { height:auto; margin:20px 0 0; } body.svo-home #footer .svo-home-footer-ad:has(ins[data-ad-status=filled]) > .adsbygoogle { position:relative !important; } }
body.svo-home .svo-promo-banner--tall { box-sizing:border-box; display:flex; flex-direction:column; align-items:center; justify-content:center; width:100%; aspect-ratio:234/350; padding:16px 12px; border-radius:4px; background:#14233b url('../images/home-banner-tall.svg') center/cover no-repeat; color:#fff; text-align:center; text-decoration:none; }
body.svo-home .svo-promo-banner--tall:hover { color:#fff; filter:brightness(1.1); }
body.svo-home .svo-promo-banner--tall strong { max-width:140px; font-size:17px; font-weight:700; line-height:22px; }
body.svo-home .svo-promo-banner--tall small { margin-top:12px; color:#c6d9f3; font-size:11px; line-height:16px; }
body.svo-home .svo-promo-banner--tall > span { display:inline-flex; align-items:center; gap:8px; margin-top:20px; padding:7px 8px; border:1px solid #ffffff70; border-radius:4px; color:#fff; font-size:11px; font-weight:600; }
body.svo-home .svo-section-body { display:grid; grid-template-columns:156px minmax(0,1fr); gap:20px; align-items:start; }
body.svo-home .svo-category-promo { min-width:0; padding:0; }
body.svo-home .svo-category-promo > span { display:block; margin:0 0 7px; color:#8b96a5; font-size:10px; }
body.svo-home .svo-category-promo img { display:block; width:100%; height:auto; border-radius:3px; }
body.svo-home .svo-home-cards { --visible-cards:6; --card-gap:16px; display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - (var(--visible-cards) - 1) * var(--card-gap)) / var(--visible-cards)); align-items:stretch; gap:var(--card-gap); min-width:0; margin:0; padding:0 0 4px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:none; list-style:none; }
body.svo-home .svo-home-cards::-webkit-scrollbar { display:none; }
body.svo-home .svo-home-card { display:flex; min-width:0; margin:0; padding:0; scroll-snap-align:start; list-style:none; }
body.svo-home .svo-home-card article { display:flex; flex-direction:column; width:100%; min-width:0; overflow:hidden; border:1px solid #dce3ec; border-radius:6px; background:#fff; transition:border-color .15s,box-shadow .15s; }
body.svo-home .svo-home-card article:hover { border-color:#a9bedb; box-shadow:0 2px 7px #14233b0c; }
body.svo-home .svo-home-card article:focus-within { border-color:#7da6dd; }
body.svo-home .svo-card-media { position:relative; flex:none; height:156px; background:#f7f8fa; border-bottom:1px solid #edf0f5; overflow:hidden; }
body.svo-home .svo-card-media > a { display:block; height:100%; padding:8px; }
body.svo-home .svo-card-media img { display:block; width:100%; height:100%; object-fit:contain; }
body.svo-home .svo-card-media > a:hover { background:#f0f3f7; }
body.svo-home .svo-card-save { position:absolute; top:6px; right:6px; display:flex; align-items:center; justify-content:center; width:30px; height:30px; padding:0; border:0; border-radius:50%; background:#ffffffeb; color:#64758c; font-size:15px; cursor:pointer; }
body.svo-home .svo-card-save:hover { color:#6334b8; background:#fff; }
body.svo-home .svo-card-badges { position:absolute; top:8px; left:7px; display:flex; flex-wrap:wrap; gap:4px; max-width:calc(100% - 43px); }
body.svo-home .svo-card-badges span { display:inline-flex; align-items:center; gap:4px; padding:2px 5px; border-radius:3px; background:#eaf2ff; color:#2461a8; font-size:9px; font-weight:600; }
body.svo-home .svo-card-info { display:flex; flex:1; flex-direction:column; min-width:0; padding:10px; }
body.svo-home .svo-card-info h3 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; height:54px; margin:0 0 7px; padding:0; overflow:hidden; color:#244f85; font-size:13px; font-weight:400; line-height:18px; overflow-wrap:anywhere; }
body.svo-home .svo-card-info h3 a { color:inherit; }
body.svo-home .svo-card-info h3 a:hover { color:var(--home-blue); text-decoration:underline; }
body.svo-home .svo-card-price { min-height:25px; margin:0 0 5px; color:var(--home-ink); font-size:17px; font-weight:700; line-height:1.4; font-variant-numeric:tabular-nums; }
body.svo-home .svo-card-price.is-unspecified { color:var(--home-muted); font-size:12px; font-weight:400; line-height:25px; }
body.svo-home .svo-card-location { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; min-height:32px; max-height:32px; margin:0; overflow:hidden; color:var(--home-muted); font-size:11px; line-height:16px; overflow-wrap:anywhere; }
body.svo-home .svo-card-location i { display:none; }
body.svo-home .svo-card-media.has-missing-image::after { content:'Фото недоступно'; position:absolute; top:50%; left:8px; right:8px; color:var(--home-muted); font-size:11px; text-align:center; }
body.svo-home .svo-home-empty { padding:24px 0; }
body.svo-home .svo-home-empty h2 { font-size:22px; margin-bottom:10px; }
body.svo-home .svo-home-post { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:24px; padding:24px; border:1px solid #cddbf0; border-left:4px solid #6334b8; border-radius:8px; background:#edf3fc; }
body.svo-home .svo-home-post h2 { margin:0 0 7px; color:var(--home-ink); font-size:24px; font-weight:600; line-height:1.3; }
body.svo-home .svo-home-post p { margin:0; color:#61748f; font-size:14px; line-height:1.5; }
body.svo-home .svo-home-post > a { display:inline-flex; flex:none; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:12px 18px; border-radius:5px; background:var(--home-blue); color:#fff; font-size:14px; font-weight:600; text-align:center; }
body.svo-home .svo-home-post > a:hover { background:#084eaf; color:#fff; }
@media (max-width:1199px) {
  :root body.svo-home #home-slider { padding:16px 0 28px; }
  body.svo-home .svo-home-cards { --visible-cards:4; }
  body.svo-home .svo-section-body { grid-template-columns:140px minmax(0,1fr); gap:16px; }
}
@media (max-width:1000px) {
  body.svo-home .svo-section-body { display:block; }
  body.svo-home .svo-category-promo { display:none; }
}
@media (max-width:899px) {
  body.svo-home .svo-home-cards { --visible-cards:3; }
  body.svo-home .svo-promo-banner__copy strong { font-size:14px; }
  body.svo-home .svo-promo-banner__action { width:34px; height:34px; justify-content:center; padding:0; font-size:0; }
  body.svo-home .svo-promo-banner__action i { font-size:13px; }
}
@media (max-width:600px) {
  :root body.svo-home #home-slider { padding:12px 0 22px; }
  body.svo-home .svo-home-main { padding-top:16px; }
  body.svo-home .svo-home-heading { align-items:flex-start; margin:0 0 18px; }
  body.svo-home .svo-home-heading h1 { font-size:23px; }
  body.svo-home .svo-home-heading > a { max-width:90px; min-height:30px; font-size:11px; text-align:right; line-height:1.4; }
  body.svo-home .svo-home-heading > a i { display:none; }
  body.svo-home .svo-section-heading { gap:10px; min-height:58px; margin:0 -12px 12px; padding:12px 12px 12px 16px; }
  body.svo-home .svo-section-heading h2 { font-size:19px; }
  body.svo-home .svo-section-actions { gap:10px; }
  body.svo-home .svo-section-more { gap:0; font-size:11px; }
  body.svo-home .svo-section-more > span { display:none; }
  body.svo-home .svo-section-more::before { content:'Все'; }
  body.svo-home .svo-section-more > i { display:none; }
  body.svo-home .svo-row-controls { gap:4px; }
  body.svo-home .svo-row-controls button { width:32px; height:34px; }
  body.svo-home .svo-home-cards { --visible-cards:2; --card-gap:12px; }
  body.svo-home .svo-card-media { height:166px; }
  body.svo-home .svo-card-info h3 { height:57px; font-size:13px; line-height:19px; }
  body.svo-home .svo-card-price { font-size:16px; }
  body.svo-home .svo-card-price.is-unspecified { font-size:11px; }
  body.svo-home .svo-home-section { margin-bottom:18px; padding:0 12px 12px; }
  body.svo-home .svo-section-banners { grid-template-columns:minmax(0,1fr); }
  /* Adjacent vacant placements use one invitation in the narrow layout. */
  body.svo-home .svo-section-banners > .svo-vacant-slot + .svo-vacant-slot { display:none; }
  body.svo-home .svo-inline-ad .svo-promo-banner { gap:8px; padding:8px 10px 8px 14px; }
  body.svo-home .svo-promo-banner__copy strong { font-size:13px; line-height:18px; white-space:normal; }
  body.svo-home .svo-promo-banner__copy small { font-size:10px; }
  body.svo-home .svo-promo-banner__action { width:32px; height:32px; justify-content:center; padding:0; font-size:0; }
  body.svo-home .svo-promo-banner__action i { font-size:12px; }
  body.svo-home .svo-home-post { display:block; margin-top:18px; padding:20px 16px; }
  body.svo-home .svo-home-post h2 { font-size:22px; }
  body.svo-home .svo-home-post p { font-size:13px; }
  body.svo-home .svo-home-post > a { width:100%; margin-top:16px; }
  body.svo-home .svo-slider-controls { bottom:7px; right:7px; }
}
@media (prefers-reduced-motion:reduce) { body.svo-home .svo-home-cards { scroll-behavior:auto; } body.svo-home .svo-home-card article { transition:none; } }
