/* Shared storefront contract. Templates own presentation; no template-specific runtime rules. */
:where(.home-catalog-sections){display:grid;gap:var(--home-catalog-section-gap,28px);width:min(100%,1440px);margin:32px auto;padding-inline:var(--home-catalog-inset,16px);min-width:0;box-sizing:border-box}
:where(.home-catalog-section){display:grid;gap:16px;min-width:0;box-sizing:border-box}
:where(.home-catalog-section__banner){display:block;overflow:hidden;border-radius:var(--home-catalog-radius,14px)}
:where(.home-catalog-section__banner img){display:block;width:100%;max-height:320px;object-fit:cover}
:where(.home-catalog-products){display:grid;gap:var(--home-catalog-gap,16px);min-width:0;align-items:stretch;width:100%;box-sizing:border-box}
:where(.home-catalog-products--grid,.home-catalog-products--featured){grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--home-catalog-card-min,240px)),1fr))}
:where(.home-catalog-products--carousel){grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(var(--home-catalog-carousel-width,290px),85%);overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline mandatory;padding-block-end:12px}
:where(.home-catalog-products--carousel > *){scroll-snap-align:start}
:where(.home-catalog-products--featured > :first-child){grid-column:1/-1}
:where(.home-catalog-card){min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
:where(.home-product-card,.home-service-card__body){display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid var(--home-catalog-border,var(--line,#dbe5ed));border-radius:var(--home-catalog-radius,14px);background:var(--home-catalog-surface,#fff);color:var(--home-catalog-text,inherit);min-width:0}
:where(.home-service-card){display:flex;flex-direction:column;gap:6px}
:where(.home-service-card__body){flex:1}
:where(.home-product-card__image,.home-service-card__image){display:block;width:var(--home-catalog-image-width,96px);height:var(--home-catalog-image-height,88px);max-width:100%;overflow:hidden;align-self:flex-start;flex:none}
:where(.home-product-card__image img,.home-service-card__image img){display:block;width:100%;height:100%;object-fit:contain}
:where(.home-product-card__name,.home-service-card__name){margin:0;font-size:1.1rem;line-height:1.25}
:where(.home-product-card__name a,.home-service-card__name a){color:inherit;text-decoration:none}
:where(.home-product-card__description,.home-service-card__description){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.4;max-height:2.8em;margin:0}
:where(.home-product-card__actions){display:flex;gap:8px;align-items:center;justify-content:space-between;margin-top:auto}
:where(.home-product-card__price,.home-service-card__price){display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0}
:where(.home-product-card__price){flex-direction:column;align-items:start}
:where(.home-product-card__actions form){margin:0;flex:none}
:where(.home-product-card__cart){display:inline-flex;justify-content:center;align-items:center;width:44px;height:44px;min-width:44px;padding:8px;border:0;border-radius:8px;background:var(--home-catalog-accent,var(--brand-accent,#1767b1));color:var(--home-catalog-button-text,#fff)}
:where(.home-product-card__cart svg){width:24px;height:24px;flex:none}
:where(.home-service-card__features){list-style:none;margin:0;padding:0;display:grid;gap:5px}
:where(.home-service-card__features li){display:flex;gap:8px;align-items:flex-start;min-width:0}
:where(.home-service-card__feature-icon){flex:none;font-weight:700;color:var(--home-catalog-accent,var(--brand-accent,#1767b1))}
:where(.home-service-card__features .is-excluded .home-service-card__feature-icon){color:#b42318}
:where(.home-service-card__action){display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:auto;padding:8px 12px;border-radius:8px;background:var(--home-catalog-accent,var(--brand-accent,#1767b1));color:var(--home-catalog-button-text,#fff);text-decoration:none;font-weight:700;text-align:center}
:where(.home-service-card__details){align-self:flex-start;font-size:.9rem}
:where(.home-catalog-section__more){justify-content:center}
@media(max-width:600px){:where(.home-catalog-products--grid,.home-catalog-products--featured){grid-template-columns:minmax(0,1fr)}:where(.home-product-card__image,.home-service-card__image){width:var(--home-catalog-mobile-image-width,80px);height:var(--home-catalog-mobile-image-height,72px)}}
