/* Always-visible service groups with compact product cards. */
.subject-catalog{--subject-header:0px;display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin-top:14px;min-width:0}
body:has(.site-header #smart-list-header:not([hidden])) .subject-catalog{--subject-header:72px}
#catalog-heading{scroll-margin-top:90px}
#catalog-heading:focus{outline:none}
.subject-catalog[hidden],.catalog-section[hidden],.catalog-subsection[hidden],#service-grid[hidden],.showing-search-works #subject-catalog{display:none!important}
.step[data-step="1"] #service-grid{display:block;min-width:0}
.catalog-section{margin:0 0 26px;scroll-margin-top:calc(var(--subject-header) + 24px);min-width:0}
.catalog-section-heading{margin:0 0 12px}
.catalog-section-heading h2{margin:0;color:#24334a;font:700 clamp(22px,2vw,27px)/1.25 HomeManrope,system-ui,sans-serif;letter-spacing:-.035em}
.catalog-section-heading h2:focus{outline:none}
.catalog-subsection{margin:0 0 20px}
.catalog-subsection h3{margin:0 0 10px;color:#5c4b39;font:600 17px/1.4 HomeManrope,system-ui,sans-serif}
.catalog-section-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;align-items:stretch}
.subject-catalog .service-card{--service-bg:#f4f7fc;--service-hover:#ecf2fc}
.subject-catalog .service-card[data-subject="plumbing"]{--service-bg:#dceee7;--service-hover:#cee6dc}
.subject-catalog .service-card[data-subject="water"]{--service-bg:#d5e8f3;--service-hover:#c5deee}
.subject-catalog .service-card[data-subject="appliances"]{--service-bg:#e8dff3;--service-hover:#ddd0ed}
.subject-catalog .service-card[data-subject="heating"]{--service-bg:#f2ddc3;--service-hover:#ebcfac}
.subject-catalog .service-card[data-subject="advice"]{--service-bg:#e3edcf;--service-hover:#d7e5ba}
.subject-catalog .service-card[data-subject="repair"]{--service-bg:#f2dce2;--service-hover:#ebcbd5}
.step[data-step="1"] .subject-catalog .service-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr 96px;align-content:start;min-width:0;min-height:0;height:auto;padding:12px 12px 0;border:0;border-radius:18px;background:var(--service-bg);box-shadow:none;gap:0;overflow:hidden;isolation:isolate}
.step[data-step="1"] .subject-catalog .service-card.in-order{padding:12px 12px 0;box-shadow:inset 0 0 0 2px var(--brand)}
.step[data-step="1"] .subject-catalog .service-card:hover{background:var(--service-hover);transform:translateY(-2px)}
.step[data-step="1"] .subject-catalog .service-card:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.step[data-step="1"] .subject-catalog .service-card b{position:relative;z-index:2;grid-row:1;align-self:start;font-size:13px;line-height:1.35;text-align:left;order:0;color:#263b40;font-weight:600}
.step[data-step="1"] .subject-catalog .service-card>small{display:none}
.step[data-step="1"] .subject-catalog .service-card .service-photo{position:absolute;inset:auto 2px 2px auto;z-index:0;order:0;align-self:auto;width:67%;height:92px;aspect-ratio:auto;margin:0;overflow:hidden;mix-blend-mode:normal}
.step[data-step="1"] .subject-catalog .service-card .service-photo img{mix-blend-mode:normal;object-position:right bottom;transform:none;opacity:1;filter:none}
.step[data-step="1"] .subject-catalog .service-card .service-photo img[data-service-photo="bidet-side"]{transform:scale(.8);transform-origin:center center}
.step[data-step="1"] .subject-catalog .service-card .service-photo img[data-service-photo="consultation"]{transform:scale(1.9);transform-origin:center top}
.step[data-step="1"] .subject-catalog .service-card em{position:relative;z-index:2;grid-row:2;align-self:end;justify-self:start;order:1;max-width:76%;margin:0 0 10px;padding:4px 7px;border-radius:7px;background:#ffffffdf;color:#244664;font-size:12px;line-height:1.3;box-shadow:none}
.step[data-step="1"] .subject-catalog .service-card.search-hidden{display:none}
.step[data-step="1"] .subject-catalog .service-card em.catalog-visit-price{max-width:calc(100% - 4px)}
.step[data-step="1"] .subject-catalog .service-card b>.catalog-visit-start{display:block;margin:5px 0 0;color:#52677b;font-size:11px;font-weight:500;line-height:1.35}
.subject-catalog .catalog-in-order{position:absolute;top:10px;right:10px;z-index:3;display:grid;place-items:center;width:20px;height:20px;margin:0;padding:0;background:var(--brand);color:white;border-radius:50%;font-size:0}
.subject-catalog .catalog-in-order:before{content:'✓';font-size:13px}
.step[data-step="1"] .subject-catalog .service-card.in-order b{padding-right:22px}
.catalog-toolbar .catalog-search{margin-left:0;width:min(560px,100%)}
@media(max-width:680px){
 .subject-catalog{gap:24px;margin-top:10px}
 body:has(.site-header #smart-list-header:not([hidden])) .subject-catalog{--subject-header:102px}
 #catalog-heading{scroll-margin-top:118px}
 .catalog-section-heading h2{font-size:22px}
 .catalog-subsection h3{font-size:15px}
 .catalog-section-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
 .step[data-step="1"] .subject-catalog .service-card,.step[data-step="1"] .subject-catalog .service-card.in-order{grid-template-rows:1fr 82px;min-height:0;padding:10px 10px 0;border-radius:15px}
 .step[data-step="1"] .subject-catalog .service-card b{font-size:12px}
 .step[data-step="1"] .subject-catalog .service-card em{font-size:11px;max-width:90%;margin-bottom:8px;padding:3px 6px}
 .step[data-step="1"] .subject-catalog .service-card .service-photo{width:72%;height:78px;bottom:2px;right:0}
 .catalog-views{flex-wrap:nowrap}.catalog-views button{flex:1;padding:10px 8px;font-size:13px}
 .catalog-toolbar .catalog-search{width:100%}
}
@media(prefers-reduced-motion:reduce){.step[data-step="1"] .subject-catalog .service-card{transition:none}.step[data-step="1"] .subject-catalog .service-card:hover{transform:none}}
@media print{.subject-catalog{display:block}.catalog-section{break-inside:avoid}}
