/* AB-LAB: responsive category banners based on the ab-lab.pro homepage assets. */
.ablab-category-banner{position:relative;isolation:isolate;overflow:hidden;margin:0 0 24px;border-radius:12px;background:#edf4f8;color:#1e293b;min-height:320px}
.ablab-category-banner__image{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center}
.ablab-category-banner:after{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.91) 42%,rgba(255,255,255,.24) 67%,transparent 82%)}
.ablab-category-banner__content{position:relative;z-index:2;padding:28px 32px;max-width:66%}
.ablab-category-banner__eyebrow{display:block;margin:0 0 10px;font-size:11px;font-weight:700;letter-spacing:.12em;color:#475569}
.ablab-category-banner .ablab-category-banner__title{margin:0 0 12px;font-size:clamp(24px,2.3vw,34px);font-weight:700;line-height:1.15;letter-spacing:-.025em;color:#1e293b;overflow-wrap:break-word}
.ablab-category-banner__intro{margin:0 0 18px;font-size:14px;line-height:1.5;color:#334155;max-width:420px}
.ablab-category-banner__nav,.ablab-category-banner__extra{display:flex;flex-wrap:wrap;gap:7px}
.ablab-category-banner a.ablab-category-banner__chip{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border:1px solid #cbd5e1;border-radius:6px;background:rgba(255,255,255,.95);color:#334155;font-size:12px;font-weight:500;line-height:1.35;text-decoration:none;transition:background .15s,border-color .15s,color .15s}
.ablab-category-banner a.ablab-category-banner__chip:hover{background:#f0f9ff;border-color:#0284c7;color:#0369a1}
.ablab-category-banner__more{flex-basis:100%;font-size:12px;color:#334155}
.ablab-category-banner__more summary{display:list-item;width:fit-content;cursor:pointer;min-height:36px;padding:9px 0;font-weight:600}
.ablab-category-banner__extra{padding:3px 0 8px}
.ablab-category-banner__actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px}
.ablab-category-banner a.ablab-category-banner__browse,.ablab-category-banner__quote{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:42px;padding:10px 15px;border:1px solid #64748b;border-radius:6px;line-height:1.4;font-family:inherit;font-size:13px;font-weight:600;text-decoration:none;color:#1e293b;background:rgba(255,255,255,.85);cursor:pointer}
.ablab-category-banner a.ablab-category-banner__browse:hover{background:#fff;border-color:#0284c7;color:#0369a1}
.ablab-category-banner .ablab-category-banner__quote{border-color:#0f766e;background:#0f766e;color:#fff}
.ablab-category-banner .ablab-category-banner__quote:hover{border-color:#115e59;background:#115e59}
.ablab-category-banner :is(a,button,summary):focus-visible{outline:3px solid #0284c7;outline-offset:3px}
.ablab-category-banner__anchor{scroll-margin-top:100px}
.ablab-category-banner--neutral .ablab-category-banner__image{inset:8% 2% 8% auto;width:39%;height:84%;object-fit:contain;mix-blend-mode:multiply}
.ablab-category-banner--neutral:after{background:linear-gradient(90deg,#edf4f8 0%,#edf4f8 48%,transparent 72%)}
@media(min-width:768px) and (max-width:1199px){.ablab-category-banner__content{padding:24px;max-width:75%}.ablab-category-banner:after{background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.9) 54%,rgba(255,255,255,.2) 92%)}.ablab-category-banner--neutral .ablab-category-banner__image{opacity:.4}}
@media(max-width:767px){
 .ablab-category-banner{min-height:0;border-radius:10px;padding-top:124px;margin-bottom:20px;background:#f8fafc}
 .ablab-category-banner__image{height:160px;object-fit:cover;object-position:right center}
 .ablab-category-banner:after{background:linear-gradient(180deg,transparent 70px,#f8fafc 156px)}
 .ablab-category-banner__content{padding:14px 18px 20px;max-width:100%}
 .ablab-category-banner .ablab-category-banner__title{font-size:25px}
 .ablab-category-banner__intro{font-size:13px;margin-bottom:14px}
 .ablab-category-banner a.ablab-category-banner__chip{min-height:40px;padding:8px 10px}
 .ablab-category-banner__actions{gap:8px;margin-top:14px}
 .ablab-category-banner a.ablab-category-banner__browse,.ablab-category-banner__quote{flex:1;min-height:44px;padding:10px}
 .ablab-category-banner--neutral .ablab-category-banner__image{inset:8px 12px auto auto;width:55%;height:142px;opacity:1}
 .ablab-category-banner--neutral:after{background:linear-gradient(180deg,transparent 85px,#f8fafc 154px)}
}

/* Dedicated category illustrations: show the product group at mobile widths. */
@media(max-width:767px){.ablab-category-banner--custom{padding-top:150px}.ablab-category-banner--custom .ablab-category-banner__image{inset:0 0 auto auto;max-width:none;width:180%;height:190px;object-fit:contain;object-position:right top}.ablab-category-banner--custom:after{background:linear-gradient(180deg,transparent 112px,#f8fafc 186px)}}

@media(min-width:768px){.ablab-category-banner--custom .ablab-category-banner__image{object-fit:contain;object-position:right center}}

@media(min-width:768px){.ablab-category-banner--custom .ablab-category-banner__image{-webkit-mask-image:linear-gradient(90deg,transparent 38%,#000 56%);mask-image:linear-gradient(90deg,transparent 38%,#000 56%)}}
