.pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:18px}.pagination button,.pagination .page-control{min-height:48px;padding:10px 18px;border:1px solid #aaa;border-radius:4px}.pagination button:disabled,.pagination .page-control[aria-disabled="true"]{opacity:.45}.catalogue-facet select{width:100%;min-height:48px;padding:10px 8px;background:#fff;border:1px solid #919298;border-radius:4px}.catalogue-facet label{display:block;clear:both}.missing-image{font-size:14px;line-height:1.5;color:#626266;text-align:center}.purchase-button:disabled{opacity:.55;cursor:not-allowed}.application-table td{overflow-wrap:anywhere}.product-info{min-width:0}.product-brand-line{gap:20px;overflow-wrap:anywhere}.product-info h1{overflow-wrap:anywhere}.catalogue-description{white-space:pre-line}.gallery .product-image-button:disabled{cursor:default}.catalogue-summary{font-size:14px;line-height:1.5;color:#57585c}.thumbnails,.lightbox-thumbnails{overflow-x:auto}.thumbnail,.lightbox-thumbnails button{flex-shrink:0}.sticky-product-price{white-space:nowrap}

/* Attempt 2: source tables have a variable number of columns, unlike the four-column sample. */
.application-table{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.application-table:focus-visible{outline:2px solid #141516;outline-offset:5px}
.application-table table{table-layout:auto;width:max-content;min-width:100%}
.application-table table th:nth-child(n),.application-table table td:nth-child(n){width:auto;min-width:7rem;max-width:32rem;white-space:normal;padding-right:24px;overflow-wrap:break-word}
.application-table table :nth-child(2){min-width:18rem}
.application-table table :nth-child(3){min-width:5rem}
.application-table table:where(.has-application-notes) :last-child{min-width:20rem;max-width:36rem}
.application-table table th:last-child,.application-table table td:last-child{padding-right:8px}
.gallery-bottom .thumbnails{min-width:0;flex:1 1 0;max-width:100%;padding-block:2px}
.gallery-bottom .image-counter{flex:0 0 auto;white-space:nowrap}
.lightbox-thumbnails{max-height:calc(100dvh - 245px);overflow-y:auto}
@media(max-width:700px){
 .gallery-bottom{gap:12px}
 .gallery-bottom .image-counter{gap:8px;font-size:12px}
 .lightbox-thumbnails{max-width:calc(100vw - 32px);max-height:64px;overflow-y:hidden}
 .application-table table{font-size:13px}
 .application-table table th:nth-child(n),.application-table table td:nth-child(n){padding-right:20px}
}

/* Price presentation: preserve the selected layouts and make the payable price primary. */
.price-display{font-variant-numeric:tabular-nums}
.price-display .selling-price{display:block;font-weight:600;color:#141516;line-height:1.2}
.price-block .selling-price{font-size:34px}
.price-display .price-comparison{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;margin-top:9px;font-size:14px;line-height:1.5}
.price-display .price-comparison span{display:inline;margin:0;font-size:inherit;line-height:inherit}
.price-display .rrp{color:#606165;white-space:nowrap}
.price-display .rrp s{text-decoration-thickness:1px}
.price-display .saving{color:#303135;white-space:nowrap}
.price-block .price-note{margin-top:10px}
.card-price.price-display .selling-price{font-size:24px}
.card-price.price-display .price-comparison{gap:4px 14px;margin-top:8px;font-size:13px}
.sticky-product-price.price-display{white-space:normal;margin-top:5px}
.sticky-product-price.price-display .selling-price{font-size:21px}
.sticky-product-price.price-display .price-comparison{font-size:12px;gap:2px 12px;margin-top:4px}
.price-display .selling-price .sr-only{position:absolute;display:block;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){
 .price-block .selling-price{font-size:30px}
 .price-block .price-comparison{justify-content:center}
 .sticky-purchase-bar{grid-template-columns:minmax(0,1fr) auto;gap:12px}
 .sticky-product-price.price-display .price-comparison{display:block;font-size:11px;line-height:1.5}
 .sticky-product-price.price-display .price-comparison span{display:block}
 .sticky-product-price.price-display .selling-price{font-size:21px}
 .sticky-purchase-button{padding-inline:16px}
 :root{scroll-padding-bottom:calc(116px + env(safe-area-inset-bottom,0px))}
 .site-footer{padding-bottom:calc(128px + env(safe-area-inset-bottom,0px))}
}

.pagination .page-control{display:inline-flex;align-items:center;font-size:16px;color:var(--ink)}
.pagination .page-control[aria-disabled="true"]{color:#777;cursor:not-allowed}
.pagination a.page-control:hover{text-decoration:underline}

/* Sorting keeps the selected order readable and exposes loading on phones. */
.sort-label select{min-width:0;width:100%;padding-left:12px;padding-right:28px}
#results[aria-busy="true"] .product-card{opacity:.45}
@media(max-width:700px){
 .results-toolbar{grid-template-columns:auto minmax(0,1fr)}
 .sort-label{min-width:0}
 .results-section:has(#results[aria-busy="true"]) #result-count{position:static;grid-column:1/-1;grid-row:2;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;font-size:14px}
}

/* Attempt 1: scoped inline result, in the existing product design. */
#fitment-result{margin-top:20px;font-size:14px;line-height:1.5;text-align:left;color:#45474a}
#fitment-result p{margin:0}
#fitment-result[data-state="listed"],#fitment-result[data-state="qualified"]{padding:20px;background:#f0f4f1;color:#203d30;border-radius:4px}
#fitment-result[data-state="qualified"]{background:#f6f2e9;color:#554224}
.fitment-feedback-heading{display:flex;gap:12px;align-items:flex-start}
.fitment-feedback-icon{width:24px;height:24px;flex:0 0 24px;margin-top:1px}
.fitment-feedback-title{display:block;font-size:17px;line-height:1.4;font-weight:600;letter-spacing:0}
#fitment-result .fitment-selected-vehicle{margin-top:5px;font-size:14px;line-height:1.5}
.fitment-matches{list-style:none;margin:17px 0 0;padding:0}
.fitment-application{padding-top:14px;border-top:1px solid #bac9c0}
.fitment-application+.fitment-application{margin-top:15px}
[data-state="qualified"] .fitment-application{border-color:#d5cbb8}
.fitment-application-number{display:block;font-size:12px;margin-bottom:7px}
#fitment-result .fitment-variant{font-size:15px;font-weight:600;margin-bottom:7px}
.fitment-application dl{margin:0;display:grid;gap:4px}
.fitment-application dl>div{display:flex;gap:12px;justify-content:space-between}
.fitment-application dt{font-weight:400}
.fitment-application dd{margin:0;text-align:right;overflow-wrap:anywhere;max-width:60%}
.fitment-note{margin-top:12px}
.fitment-note>strong{font-weight:600}
#fitment-result .fitment-note p{margin-top:3px;overflow-wrap:anywhere}
#fitment-result .fitment-attribution{margin-top:14px;font-size:13px}
.fitment-table-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-top:7px;text-decoration:underline;text-underline-offset:4px;color:inherit;font-size:14px}
.fitment-table-link:hover{text-decoration-thickness:2px}
.fitment-table-link svg{width:20px;height:20px;flex:none}
.fitment-table-link:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.fitment-tick{stroke-dasharray:1;stroke-dashoffset:0;animation:fitment-confirm 300ms cubic-bezier(.16,1,.3,1) both}
@keyframes fitment-confirm{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(max-width:700px){#fitment-result[data-state="listed"],#fitment-result[data-state="qualified"]{padding:18px 16px}.fitment-feedback-title{font-size:16px}.fitment-feedback-heading{gap:10px}.fitment-application dd{max-width:56%}}
@media(prefers-reduced-motion:reduce){.fitment-tick{animation:none}}
