/* Раздел «Сервисы» (services.html, services-vin.html) в видах А/Б/В — правила под html[data-skin].
   Токены --sk-* из css/skins/a|b|c.css. Раскладка: список сервисов, хлебные крошки, каталог автосалонов, карточка салона. */

/* Форма поиска аукционов из шапки здесь не нужна (как в ads/garage), кроме проверки VIN — это поиск по аукционам */
html[data-skin]:not([data-seo-page="vin"]) .home-search-dock { display: none !important; }

html[data-skin] .svc-main { max-width: var(--sk-wrap); margin: 0 auto; padding: 24px var(--sk-gut) 72px; color: var(--sk-ink); font: 400 15px/1.5 var(--sk-font); }
html[data-skin] .svc-main *, html[data-skin] .svc-main *::before, html[data-skin] .svc-main *::after { box-sizing: border-box; }
html[data-skin] .svc-main a { color: var(--sk-ink); }
html[data-skin] .svc-crumbs { display: block; max-width: var(--sk-wrap); margin: 0 auto; padding: 16px var(--sk-gut) 0; font-size: 13px; color: var(--sk-muted); overflow-wrap: anywhere; }
html[data-skin] .svc-main .svc-crumbs { padding: 0 0 12px; }
html[data-skin] .svc-crumbs a { color: var(--sk-muted); text-decoration: underline; text-underline-offset: 2px; }
html[data-skin] .svc-kicker { margin: 0 0 6px; color: var(--sk-muted); font-size: 13px; }
html[data-skin] .svc-h1 { margin: 0 0 8px; font: 600 clamp(24px, 3.4vw, 32px)/1.15 var(--sk-font); letter-spacing: -.02em; overflow-wrap: anywhere; }
html[data-skin="c"] .svc-h1 { font-size: 22px; }
html[data-skin] .svc-lead { max-width: 720px; margin: 0 0 24px; color: var(--sk-muted); }
html[data-skin] .svc-h2 { margin: 28px 0 12px; font: 600 18px/1.3 var(--sk-font); }
html[data-skin] .svc-state { margin: 24px 0; color: var(--sk-muted); }

/* ---------- Плитки: сервисы, страны, города, салоны ---------- */
html[data-skin] .svc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
html[data-skin] .svc-grid > li { min-width: 0; }
html[data-skin] .svc-tile {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; text-decoration: none; color: var(--sk-ink);
  border: 1px solid var(--sk-line); border-radius: 6px; background: transparent;
}
html[data-skin] .svc-tile:hover { background: var(--sk-soft); }
html[data-skin="b"] .svc-tile { border: 0; border-radius: var(--sk-r, 14px); background: #fff; box-shadow: var(--sk-shadow); }
html[data-skin="b"] .svc-tile:hover { background: #fff; filter: brightness(.98); }
html[data-skin="c"] .svc-tile { border-radius: 6px; background: #fff; padding: 12px 14px; font-size: 14px; }
html[data-skin] .svc-tile__name { font: 600 17px/1.25 var(--sk-font); overflow-wrap: anywhere; }
html[data-skin] .svc-tile__sub { color: var(--sk-muted); font-size: 14px; overflow-wrap: anywhere; }
html[data-skin] .svc-tile__go { margin-top: auto; padding-top: 4px; font-weight: 600; font-size: 14px; color: var(--sk-accent); }

/* ---------- Карточка салона ---------- */
html[data-skin] .svc-facts { margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0 20px; max-width: 720px; }
html[data-skin] .svc-facts dt { padding: 10px 0; border-bottom: 1px solid var(--sk-line); color: var(--sk-muted); }
html[data-skin] .svc-facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--sk-line); overflow-wrap: anywhere; }
html[data-skin] .svc-about { max-width: 720px; margin-top: 8px; white-space: pre-line; overflow-wrap: anywhere; }
html[data-skin="b"] .svc-facts, html[data-skin="b"] .svc-about-box { padding: 4px 18px; background: #fff; border-radius: var(--sk-r, 14px); box-shadow: var(--sk-shadow); }

@media (max-width: 720px) {
  html[data-skin] .svc-main { padding: 16px var(--sk-gut) 40px; }
  html[data-skin] .svc-grid { grid-template-columns: minmax(0, 1fr); }
  html[data-skin] .svc-facts { grid-template-columns: minmax(0, 1fr); }
  html[data-skin] .svc-facts dt { padding: 10px 0 0; border-bottom: 0; font-size: 13px; }
  html[data-skin] .svc-facts dd { padding: 2px 0 10px; }
}
