/* Ассортимент. Карточки редактируются в data/catalog.php. */
#as-catalog { position:relative; z-index:1; width:100%; flex:0 0 auto; background:#f5f7f8; color:#172e40; font:14px/1.65 'Open Sans',Arial,sans-serif; }
#as-catalog *, #as-catalog *::before, #as-catalog *::after { box-sizing:border-box; }
#as-catalog [hidden] { display:none !important; }
#as-catalog h1, #as-catalog h2, #as-catalog h3, #as-catalog p { margin:0; font-family:inherit; color:inherit; }
#as-catalog a { color:inherit; text-decoration:none; }
#as-catalog button { font-family:inherit; }
#as-catalog a:focus-visible, #as-catalog button:focus-visible { outline:3px solid #2877ac; outline-offset:4px; }
#as-catalog .ac-wrap { max-width:1200px; margin:0 auto; padding:0 32px; }
#as-catalog .ac-breadcrumbs { display:flex; align-items:center; gap:12px; padding-top:27px; font-size:11px; color:#687d8b; }
#as-catalog .ac-breadcrumbs a:hover { color:#172e40; text-decoration:underline; }
#as-catalog .ac-breadcrumbs > span:first-of-type { color:#b4c0c7; }
#as-catalog .ac-intro { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; padding:36px 0 34px; }
#as-catalog .ac-eyebrow { font-size:10px; font-weight:700; letter-spacing:1.8px; text-transform:uppercase; color:#657b8a; margin-bottom:13px; }
#as-catalog h1 { font-size:clamp(34px,4vw,49px); font-weight:700; line-height:1.13; letter-spacing:-1.6px; }
#as-catalog h1 > span { color:#c69520; }
#as-catalog .ac-intro-note { padding-bottom:4px; color:#637987; font-size:14px; }
#as-catalog .ac-intro-note > span { display:block; margin-top:15px; font-size:11px; color:#263f51; }
#as-catalog .ac-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:17px 0; border-top:1px solid #dce4e9; border-bottom:1px solid #dce4e9; }
#as-catalog .ac-filters { display:flex; flex-wrap:wrap; gap:8px; }
#as-catalog .ac-filters button { display:inline-flex; align-items:center; gap:13px; min-height:43px; padding:10px 15px; border:1px solid #dce4e9; border-radius:6px; background:#fff; color:#425d6e; font-size:12px; font-weight:600; cursor:pointer; transition:background .15s,border-color .15s; }
#as-catalog .ac-filters button span { font-size:10px; opacity:.7; }
#as-catalog .ac-filters button:hover { border-color:#92a6b4; }
#as-catalog .ac-filters button[aria-pressed="true"] { background:#193347; border-color:#193347; color:#fff; }
#as-catalog .ac-count { color:#687d8b; font-size:11px; white-space:nowrap; }
#as-catalog .ac-section { padding-top:34px; }
#as-catalog .ac-section + .ac-section { padding-top:44px; }
#as-catalog .ac-section-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:21px; }
#as-catalog h2 { font-size:24px; font-weight:650; letter-spacing:-.6px; line-height:1.25; }
#as-catalog .ac-section-heading p { color:#687d8b; font-size:12px; margin-top:7px; }
#as-catalog .ac-section-heading > span { color:#7b8c97; font-size:10px; white-space:nowrap; }
#as-catalog .ac-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
#as-catalog .ac-card { display:flex; flex-direction:column; min-width:0; border:1px solid #dce4e9; border-radius:10px; background:#fff; overflow:hidden; transition:box-shadow .18s,border-color .18s,transform .18s; }
#as-catalog .ac-card:hover { border-color:#a5b9c6; box-shadow:0 10px 26px #1a344610; transform:translateY(-3px); }
#as-catalog .ac-card-image { position:relative; overflow:hidden; aspect-ratio:1.65; background:#e9eef1; }
#as-catalog .ac-card-image img { display:block; width:100%; height:100%; object-fit:cover; }
#as-catalog .ac-card-tag { position:absolute; bottom:13px; left:14px; max-width:calc(100% - 28px); padding:5px 9px; border-radius:4px; color:#294256; background:#ffffffed; font-size:9px; font-weight:600; }
#as-catalog .ac-card-body { display:flex; flex-direction:column; flex:1; padding:21px 21px 15px; }
#as-catalog h3 { font-size:19px; font-weight:700; line-height:1.3; letter-spacing:-.35px; }
#as-catalog .ac-card-body > p { font-size:12px; line-height:1.8; color:#637987; margin:12px 0 22px; }
#as-catalog .ac-card-action { display:flex; align-items:center; justify-content:space-between; gap:15px; border-top:1px solid #e9eef1; padding-top:13px; margin-top:auto; font-size:11px; font-weight:700; }
#as-catalog .ac-card-arrow { display:grid; place-items:center; width:29px; height:29px; background:#f1f5f7; border-radius:50%; color:#425d6e; font-size:17px; transition:background .18s; }
#as-catalog .ac-card:hover .ac-card-arrow { background:#ffcd4f; color:#172e40; }
#as-catalog .ac-help { display:flex; justify-content:space-between; align-items:center; gap:30px; border:1px solid #dce4e9; border-left:3px solid #e9b93b; border-radius:8px; background:#edf2f5; padding:28px 31px; margin:44px 0 48px; }
#as-catalog .ac-help .ac-eyebrow { margin-bottom:9px; }
#as-catalog .ac-help h2 { font-size:24px; }
#as-catalog .ac-help p:last-child { font-size:12px; color:#637987; margin-top:10px; }
#as-catalog .ac-help a { flex-shrink:0; }
#as-catalog .ac-help a > span { display:block; color:#637987; font-size:11px; margin-bottom:5px; }
#as-catalog .ac-help strong { font-size:19px; font-weight:700; }
#as-catalog .ac-help strong span { margin-left:10px; }
@media(max-width:950px) {
    #as-catalog .ac-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    #as-catalog .ac-intro { align-items:flex-start; }
    #as-catalog .ac-intro-note { max-width:260px; }
    #as-catalog .ac-intro-note br { display:none; }
    #as-catalog .ac-toolbar { align-items:flex-start; flex-direction:column; gap:11px; }
}
@media(max-width:600px) {
    #as-catalog .ac-wrap { padding:0 20px; }
    #as-catalog .ac-breadcrumbs { padding-top:20px; }
    #as-catalog .ac-intro { flex-direction:column; gap:20px; padding:28px 0; }
    #as-catalog h1 { font-size:36px; letter-spacing:-1.3px; }
    #as-catalog .ac-intro-note { max-width:none; font-size:13px; }
    #as-catalog .ac-intro-note > span { margin-top:10px; }
    #as-catalog .ac-filters { gap:7px; }
    #as-catalog .ac-filters button { padding:10px 11px; font-size:11px; gap:10px; }
    #as-catalog .ac-section { padding-top:27px; }
    #as-catalog .ac-section-heading > span { display:none; }
    #as-catalog h2 { font-size:22px; }
    #as-catalog .ac-grid { grid-template-columns:1fr; gap:18px; }
    #as-catalog .ac-card-image { aspect-ratio:1.75; }
    #as-catalog .ac-card-body { padding:20px; }
    #as-catalog .ac-card-body > p { font-size:13px; margin-bottom:19px; }
    #as-catalog .ac-help { flex-direction:column; align-items:flex-start; gap:22px; padding:23px; margin:30px 0 35px; }
    #as-catalog .ac-help h2 { font-size:23px; }
    #as-catalog .ac-help a { border-top:1px solid #d5e0e6; padding-top:17px; width:100%; }
    #as-catalog .ac-desktop-break { display:none; }
}
@media(prefers-reduced-motion:reduce) { #as-catalog .ac-card, #as-catalog .ac-card-arrow, #as-catalog .ac-filters button { transition:none; } #as-catalog .ac-card:hover { transform:none; } }

/* Изолируем каталог и общий подвал от фонового слоя старого макета. */
#as-catalog ~ .as-footer { position:relative; z-index:1; }
#as-catalog ~ .as-footer .as-footer-grid > * { min-width:0; }

#as-catalog .ac-card-prices{display:grid;gap:8px;padding:13px 0 17px;border-top:1px solid #e9eef1}
#as-catalog .ac-card-prices>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 12px;font-size:12px}
#as-catalog .ac-card-prices span{color:#637987}
#as-catalog .ac-card-prices strong{font-weight:700}
