/* Scoped selector layout. Owner explicitly requests white surfaces; retain original theme font and blue. */
body.gps-selector-archive #gpsenke-product-selector{width:100%;margin-block:1.5em 2em;font-family:inherit;color:#242a33;font-size:14px;text-align:start;background:#fff}
body.gps-selector-archive:has(#gpsenke-product-selector) #main .products,body.gps-selector-archive:has(#gpsenke-product-selector) #main .woocommerce-result-count,body.gps-selector-archive:has(#gpsenke-product-selector) #main .woocommerce-ordering,body.gps-selector-archive:has(#gpsenke-product-selector) #main .woocommerce-pagination{display:none}
#gpsenke-product-selector *{box-sizing:border-box}
#gpsenke-product-selector button,#gpsenke-product-selector input{font-family:inherit}
#gpsenke-product-selector .gps-categories{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
#gpsenke-product-selector .gps-category{flex:1;min-width:160px}
#gpsenke-product-selector [aria-pressed="false"].button{background:#fff;color:#242a33;border:1px solid #d9e1ec}
#gpsenke-product-selector .gps-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:30px}
#gpsenke-product-selector .gps-filters{align-self:start;background:#f3f6fb;padding:18px;border-radius:var(--theme-border-radius,6px)}
#gpsenke-product-selector .gps-filters>summary{font-weight:600;cursor:pointer}
#gpsenke-product-selector .gps-clear{background:transparent;color:var(--theme-link-initial-color);border:0;padding:8px 0;cursor:pointer;min-height:35px}
#gpsenke-product-selector fieldset{border:0;border-top:1px solid #d9e1ec;padding:16px 0 4px;margin:0;min-width:0}
#gpsenke-product-selector legend{padding-top:12px;font-weight:600}
#gpsenke-product-selector .gps-choice{display:flex;align-items:center;gap:9px;margin-block:7px;cursor:pointer}
#gpsenke-product-selector .gps-choice input{margin:0;flex-shrink:0;accent-color:var(--theme-palette-color-1)}
#gpsenke-product-selector .gps-choice span:last-child{margin-left:auto;opacity:.7}
#gpsenke-product-selector .gps-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}
#gpsenke-product-selector .gps-view{display:flex;gap:8px}
#gpsenke-product-selector .gps-selected{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
#gpsenke-product-selector .gps-items{display:grid;gap:18px}
#gpsenke-product-selector .gps-product{padding:18px;border:1px solid #d9e1ec;border-radius:var(--theme-border-radius,6px);background:#fff;min-width:0}
#gpsenke-product-selector .gps-product-head{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:22px;align-items:center}
#gpsenke-product-selector .gps-product img{width:130px;height:130px;object-fit:contain}
#gpsenke-product-selector .gps-product h3{margin:0 0 5px;overflow-wrap:anywhere;font-size:20px!important;line-height:1.4;font-weight:600}
#gpsenke-product-selector .gps-product p{margin:0 0 10px}
#gpsenke-product-selector .gps-facts{display:flex;flex-wrap:wrap;gap:7px}
#gpsenke-product-selector .gps-fact{padding:3px 9px;background:#f3f6fb;border-radius:var(--theme-border-radius,4px)}
#gpsenke-product-selector .gps-models{margin-top:20px;overflow-x:auto;max-width:100%}
#gpsenke-product-selector .gps-models[hidden]{display:none}
#gpsenke-product-selector .gps-models table{width:100%;margin:0}
#gpsenke-product-selector .gps-items.gps-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#gpsenke-product-selector .gps-grid .gps-product-head{display:flex;flex-direction:column;gap:15px;align-items:stretch}
#gpsenke-product-selector .gps-grid img{align-self:center}
#gpsenke-product-selector .gps-grid h3{font-size:18px!important}
@media(max-width:1100px){#gpsenke-product-selector .gps-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}#gpsenke-product-selector .gps-items.gps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#gpsenke-product-selector .gps-product-head{grid-template-columns:100px minmax(0,1fr);gap:15px}#gpsenke-product-selector .gps-product img{width:100px;height:100px}#gpsenke-product-selector .gps-expand{grid-column:2}}
@media(max-width:690px){#gpsenke-product-selector .gps-layout{grid-template-columns:1fr}#gpsenke-product-selector .gps-categories{gap:7px}#gpsenke-product-selector .gps-category{min-width:135px}#gpsenke-product-selector .gps-product{padding:13px}#gpsenke-product-selector .gps-items.gps-grid{grid-template-columns:1fr}#gpsenke-product-selector .gps-filters{padding:14px}}

#gpsenke-product-selector .gps-filters{background:#fff;border:1px solid #d9e1ec}
#gpsenke-product-selector .gps-filters>summary{color:#242a33;font-size:16px}
#gpsenke-product-selector .gps-filter-note{font-size:12px;line-height:1.5;color:#606a78;margin:4px 0 12px}
#gpsenke-product-selector .gps-choice{padding:5px 7px;border:1px solid transparent;border-radius:4px;color:#242a33;font-size:14px}
#gpsenke-product-selector .gps-choice[hidden]{display:none}
#gpsenke-product-selector .gps-choice:has(input:checked){background:#edf4ff;border-color:var(--theme-palette-color-1,#2d5db2)}
#gpsenke-product-selector .gps-choice input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;width:16px;height:16px;background-color:#fff!important;border:1px solid #a9b5c6!important}
#gpsenke-product-selector .gps-product p{font-size:14px;color:#4c5665}
#gpsenke-product-selector .gps-fact{font-size:12px;color:#344358;background:#edf3fb}
#gpsenke-product-selector .gps-count{font-size:18px;color:#242a33}
#gpsenke-product-selector .button{font-size:14px;padding:10px 16px;min-height:40px;line-height:1.4}
#gpsenke-product-selector .button[aria-pressed=false]:hover{color:var(--theme-palette-color-1,#2d5db2);border-color:var(--theme-palette-color-1,#2d5db2);background:#f2f6fc}
#gpsenke-product-selector .gps-models table,#gpsenke-product-selector .gps-models td{background:#fff!important;color:#242a33!important}
#gpsenke-product-selector .gps-models th{background:#edf3fb!important;color:#242a33!important}
@media(max-width:690px){#gpsenke-product-selector .gps-product h3{font-size:18px!important}}

/* Uniform summaries, independent of the source table builder's inline layout. */
#gpsenke-product-selector .gps-model-summary{min-width:1040px;table-layout:auto;border-collapse:separate;border-spacing:0;border:1px solid #dfe5ed;border-radius:6px;overflow:hidden;font-size:13px;line-height:1.5}
#gpsenke-product-selector .gps-model-summary th{background:#edf2f8!important;padding:10px 12px;border:0;border-bottom:1px solid #dfe5ed;text-align:left;font-weight:600;white-space:nowrap}
#gpsenke-product-selector .gps-model-summary td{background:#fff!important;padding:10px 12px;border:0;border-bottom:1px solid #e6ebf2;vertical-align:middle;text-align:left}
#gpsenke-product-selector .gps-model-summary tr:last-child td{border-bottom:0}
#gpsenke-product-selector .gps-model-summary .gps-model-code{white-space:nowrap;font-weight:500;min-width:290px}
#gpsenke-product-selector .gps-model-summary .gps-col-model{width:30%}
#gpsenke-product-selector .gps-model-summary .gps-col-action{width:110px}
#gpsenke-product-selector .gps-spec-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border:1px solid var(--theme-palette-color-1,#2d5db2);color:var(--theme-palette-color-1,#2d5db2);background:#fff;border-radius:4px;padding:5px 10px;text-decoration:none;font-size:12px}
#gpsenke-product-selector .gps-spec-link:hover{background:#edf4ff}
#gpsenke-product-selector .gps-summary-note{font-size:11px!important;color:#657084!important;margin-top:8px!important}
#gpsenke-product-selector .gps-view{align-items:center;flex-wrap:wrap}
#gpsenke-product-selector .gps-sort-label{font-size:12px;color:#657084;margin-right:6px}

/* List view uses the available width, with complete model/port groups intact. */
#gpsenke-product-selector .gps-items:not(.gps-grid) .gps-models{overflow-x:visible;container-type:inline-size;container-name:gps-model-area}
#gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary{width:100%;min-width:0;max-width:100%;table-layout:auto;font-size:clamp(12px,1.35cqi,13px)}
#gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary col{width:auto}
#gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary th,#gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary td{padding:10px 6px}
#gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary .gps-model-code{min-width:0;white-space:nowrap;word-break:normal;overflow-wrap:normal}
#gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary td:nth-child(5){white-space:normal;overflow-wrap:anywhere;min-width:75px;max-width:210px}
#gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary td:last-child{white-space:nowrap;width:1%}
#gpsenke-product-selector .gps-port-group{display:inline-block;white-space:nowrap;word-break:normal;overflow-wrap:normal}
#gpsenke-product-selector .gps-port-join{white-space:normal}
/* On genuinely narrow panels show labelled fields rather than hiding columns. */
@container gps-model-area (max-width:780px){
 #gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary,#gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary tbody{display:block;width:100%}
 #gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary colgroup,#gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary thead{display:none}
 #gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:8px 16px;border-bottom:1px solid #e6ebf2}
 #gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary tr:last-child{border-bottom:0}
 #gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary td{display:block;width:auto;min-width:0;max-width:none;padding:3px 0;border:0}
 #gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary td::before{content:attr(data-label);display:block;color:#657084;font-size:11px;line-height:1.5;margin-bottom:3px;font-weight:400;white-space:normal}
 #gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary .gps-model-code{grid-column:1/-1}
 #gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary td:nth-child(5){max-width:none;min-width:0}
 #gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary td:last-child{width:auto;align-self:end}
}
@container gps-model-area (max-width:440px){
 #gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary tr{grid-template-columns:minmax(0,1fr)}
 #gpsenke-product-selector .gps-items:not(.gps-grid) .gps-model-summary .gps-model-code{font-size:clamp(10px,3.4cqi,13px)}
}
