/* User-designated category-only reference: bentongelec.com/ac-contactors/.
 * Real Woo archives/data, existing public shell; no global root/type changes. */
.swei-product-category-page #main>.ct-container{width:100%;max-width:none;padding:0;margin:0;gap:0}
.swei-product-category-page #main>.ct-container>section{width:100%;min-width:0}
.swei-product-category{--swei-pc-brand:#c62330;--swei-pc-dark:#a71925;--swei-pc-unit:clamp(65px,calc(6.25vw - .9375px),100px);background:#fff;color:#17211b;font:400 14px/1.6 var(--swei-font-family,Roboto,Arial,Helvetica,sans-serif);letter-spacing:normal}
.swei-product-category *,.swei-product-category *::before,.swei-product-category *::after{box-sizing:border-box}
.swei-product-category a{color:inherit;text-decoration:none}
.swei-product-category a:focus-visible,.swei-product-category button:focus-visible{outline:3px solid var(--swei-pc-brand);outline-offset:4px}
.swei-product-category h1,.swei-product-category h2,.swei-product-category h3,.swei-product-category p{font-family:inherit;color:inherit;margin:0;letter-spacing:normal}
.swei-pc-container{width:1600px;max-width:92%;padding:0;margin:0 auto}
.swei-pc-banner{position:relative;height:calc(var(--swei-pc-unit)*5.2);background:#26313a;isolation:isolate}
.swei-pc-banner-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%;display:block;z-index:-2}
.swei-pc-banner::before{content:'';position:absolute;inset:0;background:rgba(0,0,0,.2);z-index:-1;pointer-events:none}
.swei-pc-banner-container{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;color:#fff}
.swei-product-category .swei-pc-banner h1{font-size:calc(var(--swei-pc-unit)*.48);line-height:1;font-weight:700;text-transform:none;overflow-wrap:anywhere}
.swei-pc-breadcrumb{font-size:clamp(16px,calc(var(--swei-pc-unit)*.18),18px);line-height:1.3;margin-bottom:calc(var(--swei-pc-unit)*.18)}
.swei-pc-breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0;gap:0 6px}
.swei-pc-breadcrumb li{margin:0;padding:0;display:flex;align-items:center;min-width:0}
.swei-pc-breadcrumb li+li::before{content:'\203A';margin-right:6px;opacity:.8}
.swei-pc-breadcrumb a{display:flex;align-items:center;gap:6px;color:rgba(255,255,255,.82)}
.swei-pc-breadcrumb a:hover{color:#fff}
.swei-pc-breadcrumb svg{flex:none}
.swei-pc-listing{padding:calc(var(--swei-pc-unit)*.8) 0;background:#fff}
.swei-pc-layout{display:flex;align-items:flex-start;justify-content:space-between}
.swei-pc-sidebar{width:25%;min-width:0;position:sticky;top:calc(107px + var(--admin-bar,0px));align-self:flex-start}
.swei-pc-content{width:70%;min-width:0}
.swei-pc-widget{padding:calc(var(--swei-pc-unit)*.3);margin:0 0 calc(var(--swei-pc-unit)*.3);background:#fff;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
.swei-pc-widget:last-child{margin-bottom:0}
.swei-product-category .swei-pc-widget-title{font-size:clamp(18px,calc(var(--swei-pc-unit)*.24),24px);font-weight:600;line-height:1.2;padding-bottom:calc(var(--swei-pc-unit)*.15);margin-bottom:calc(var(--swei-pc-unit)*.2);border-bottom:1px solid #eee}
.swei-pc-search{position:relative;display:flex;margin:0;border:1px solid transparent;border-radius:5px;overflow:hidden}
.swei-pc-search input[type=search]{width:100%;min-width:0;height:calc(var(--swei-pc-unit)*.5);min-height:0;padding:0 calc(var(--swei-pc-unit)*.56) 0 calc(var(--swei-pc-unit)*.16);font:inherit;font-size:14px;color:#17211b;border:1px solid transparent;border-radius:5px;background:#faf7f8;outline:none;box-shadow:none;appearance:none}
.swei-pc-search:focus-within{border-color:transparent;box-shadow:0 0 0 3px rgba(198,35,48,.12)}
.swei-pc-search input[type=search]:focus{background:#fff}
.swei-pc-search button{position:absolute;top:0;right:0;display:flex;width:calc(var(--swei-pc-unit)*.5);height:calc(var(--swei-pc-unit)*.5);min-width:0;min-height:0;align-items:center;justify-content:center;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--swei-pc-brand);cursor:pointer;box-shadow:none;transform:none}
.swei-pc-search button:hover{background:transparent;color:var(--swei-pc-dark);transform:none}
.swei-pc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.swei-pc-category-list,.swei-pc-recommended{margin:0;padding:0;list-style:none}
.swei-pc-category-list li{margin:0;padding:0;border-bottom:1px solid #efe9ea}
.swei-pc-category-list li:last-child{border-bottom:0}
.swei-pc-category-link{display:flex;align-items:center;min-height:calc(var(--swei-pc-unit)*.56);padding:calc(var(--swei-pc-unit)*.08) 0;font-size:clamp(16px,calc(var(--swei-pc-unit)*.18),18px);font-weight:650;line-height:1.3;overflow-wrap:anywhere;transition:color .25s}
.swei-product-category .swei-pc-category-link.is-active,.swei-product-category .swei-pc-category-link:hover{color:var(--swei-pc-brand)}
.swei-pc-recommended li{padding:0;margin:0 0 calc(var(--swei-pc-unit)*.2)}
.swei-pc-recommended li:last-child{margin-bottom:0}
.swei-pc-recommended a{display:flex;align-items:center;gap:calc(var(--swei-pc-unit)*.15);min-width:0}
.swei-pc-recommended-image{flex:0 0 calc(var(--swei-pc-unit)*.76);width:calc(var(--swei-pc-unit)*.76);aspect-ratio:1;border:1px solid #eee;border-radius:5px;overflow:hidden;background:#faf7f8}
.swei-pc-recommended-image img{display:block;width:100%;height:100%;object-fit:contain}
.swei-product-category .swei-pc-recommended h3{min-width:0;font-size:clamp(14px,calc(var(--swei-pc-unit)*.16),16px);font-weight:600;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.swei-pc-recommended a:hover h3{color:var(--swei-pc-brand)}
.swei-pc-selection{padding:26px;margin-bottom:36px;border:0;border-radius:10px;background:#fff}
.swei-pc-intro{max-width:76ch;margin-bottom:24px;font-size:clamp(16px,calc(var(--swei-pc-unit)*.18),18px);line-height:1.6;color:#46515d}
.swei-pc-intro p+p{margin-top:16px}
.swei-product-category .swei-pc-selection h2{font-size:clamp(18px,calc(var(--swei-pc-unit)*.24),24px);font-weight:400;line-height:1.3}
.swei-pc-selection-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 26px;list-style:disc;padding:0 0 0 20px;margin:18px 0 24px;font-size:14px;line-height:1.6}
.swei-pc-selection-inputs li{padding:0;margin:0}
.swei-pc-selection-actions,.swei-pc-related{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:24px}
.swei-product-category .swei-pc-selection-button{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:14px 22px;border-radius:6px;background:var(--swei-pc-brand);color:#fff;font-size:14px;font-weight:600;line-height:1.4;text-align:center;transition:background-color .25s}
.swei-product-category .swei-pc-selection-button:hover{background:var(--swei-pc-dark);color:#fff}
.swei-pc-selection-link,.swei-pc-related a{text-decoration:underline!important;text-underline-offset:3px}
.swei-pc-related{gap:8px 18px}
.swei-pc-related a:hover,.swei-pc-selection-link:hover{color:var(--swei-pc-brand)}
.swei-pc-subcategories{display:flex;flex-wrap:wrap;gap:12px 24px;margin-bottom:24px}
.swei-pc-subcategories a:hover{color:var(--swei-pc-brand)}
.swei-pc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:calc(var(--swei-pc-unit)*.3);scroll-margin-top:100px}
.swei-pc-card{display:block;min-width:0;max-width:100%;margin:0;padding:0;border:1px solid transparent;border-radius:10px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.05);overflow:hidden;transition:transform .3s,border-color .3s}
.swei-pc-card-image{display:block;width:100%;aspect-ratio:1;overflow:hidden;border-radius:10px;background:#fff}
.swei-pc-card-image img{display:block;width:100%;height:100%;margin:0;object-fit:contain}
.swei-pc-card-text{padding:calc(var(--swei-pc-unit)*.3);text-align:center}
.swei-product-category .swei-pc-card h2{font-size:clamp(18px,calc(var(--swei-pc-unit)*.2),20px);line-height:1.3;font-weight:600;min-height:2.6em;max-height:2.6em;margin:0 0 calc(var(--swei-pc-unit)*.1);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;color:#000}
.swei-product-category .swei-pc-card-description{font-size:clamp(14px,calc(var(--swei-pc-unit)*.16),16px);line-height:1.6;font-weight:400;min-height:3.2em;max-height:3.2em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;color:#666}
@media(hover:hover) and (pointer:fine){.swei-product-category .swei-pc-card:hover{border-color:var(--swei-pc-brand);transform:translateY(-8px)}.swei-product-category .swei-pc-card:hover h2{color:var(--swei-pc-brand)}}
.swei-pc-pagination{margin-top:calc(var(--swei-pc-unit)*.6);text-align:center}
.swei-pc-pagination:empty{display:none}
.swei-pc-pagination .woocommerce-pagination{margin:0}
.swei-pc-pagination ul.page-numbers{display:inline-flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0;border:0}
.swei-pc-pagination .page-numbers li{margin:0;padding:0;border:0}
.swei-pc-pagination .page-numbers a,.swei-pc-pagination .page-numbers span{display:flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 8px;border:1px solid #eee;border-radius:50%;background:#f4f6f7;font-size:14px;color:#666}
.swei-pc-pagination .page-numbers .current,.swei-pc-pagination .page-numbers a:hover{background:var(--swei-pc-brand);border-color:var(--swei-pc-brand);color:#fff}
@media(max-width:1400px){.swei-pc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.swei-pc-layout{display:block}.swei-pc-sidebar{width:100%;position:static;margin-bottom:calc(var(--swei-pc-unit)*.36)}.swei-pc-content{width:100%}.swei-pc-card-text{padding:15px}.swei-product-category .swei-pc-card h2{margin-bottom:5px}}
@media(max-width:767px){
.swei-product-category{--swei-pc-unit:50px}
.swei-pc-container{width:auto;max-width:none;margin-left:15px;margin-right:15px}
.swei-pc-banner{height:auto;min-height:168px;padding:48px 0 40px}
.swei-pc-banner-container{height:auto}
.swei-product-category .swei-pc-banner h1{font-size:28px;line-height:1.25}
.swei-pc-breadcrumb{font-size:14px;margin-bottom:9px}
.swei-pc-listing{padding:40px 0}
.swei-pc-sidebar{display:none}
.swei-pc-selection{padding:20px}
.swei-pc-intro{font-size:14px}
.swei-product-category .swei-pc-selection h2{font-size:16px}
.swei-pc-selection-inputs{grid-template-columns:minmax(0,1fr);font-size:13px}
.swei-pc-selection-actions{align-items:stretch}
.swei-pc-selection-actions .swei-pc-selection-button{width:100%;font-size:13px}
.swei-pc-selection-link,.swei-pc-related{font-size:13px}
.swei-pc-related{align-items:flex-start}
.swei-pc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.swei-pc-card{height:100%}
.swei-pc-card-text{padding:12px 10px 14px}
.swei-product-category .swei-pc-card h2{font-size:14px;line-height:1.35;min-height:2.7em;max-height:2.7em;margin-bottom:6px}
.swei-product-category .swei-pc-card-description{font-size:13px;line-height:1.45;min-height:2.9em;max-height:2.9em}
.swei-pc-pagination{margin-top:30px}
}
@media(prefers-reduced-motion:reduce){.swei-product-category *{transition:none!important}}

/* Center pagination markers and their numeric labels explicitly. */
.swei-product-category .swei-pc-pagination ul.page-numbers {
    align-items: center;
    justify-content: center;
}
.swei-product-category .swei-pc-pagination ul.page-numbers > li {
    display: flex;
    align-items: center;
    justify-content: center;
}
.swei-product-category .swei-pc-pagination ul.page-numbers > li > .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
}


/* Product category phone/tablet: no extra space between the description and product grid. */
@media(max-width:1024px){
.swei-product-category .swei-pc-selection{padding-bottom:0;margin-bottom:0}
.swei-product-category .swei-pc-intro{margin-bottom:0}
}
