/* Starparts Motor - responsive motorcycle tyre finder */
.spm-motor-page{--sm-red:#c82027;--sm-red-dark:#a91620;--sm-ink:#17202e;--sm-muted:#667085;--sm-line:#e7ebf1;--sm-soft:#f7f8fa;color:var(--sm-ink);background:#fff}
.spm-motor-page .spm-motor-hero{position:relative;overflow:hidden;background:linear-gradient(118deg,#111722 0%,#202b3c 52%,#3b1920 100%);padding:64px 0 58px;color:#fff;isolation:isolate}
.spm-motor-hero-glow{position:absolute;z-index:-1;border-radius:999px;filter:blur(2px);pointer-events:none}.spm-motor-hero-glow-one{width:480px;height:480px;right:8%;top:-300px;background:radial-gradient(circle,rgba(236,47,58,.34),transparent 70%)}.spm-motor-hero-glow-two{width:560px;height:560px;left:-340px;bottom:-430px;background:radial-gradient(circle,rgba(92,130,180,.26),transparent 70%)}
.spm-motor-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,430px);gap:42px;align-items:center;position:relative;z-index:1}
.spm-motor-hero-copy{max-width:630px}.spm-motor-eyebrow,.spm-motor-result-kicker{display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:900;letter-spacing:.16em;color:#ffb6bb}.spm-motor-eyebrow{padding:8px 11px;border:1px solid rgba(255,255,255,.18);border-radius:99px;background:rgba(255,255,255,.06);color:#ffd3d6}.spm-motor-hero-copy h1{font-size:clamp(38px,5vw,58px);line-height:1.02;letter-spacing:-.055em;font-weight:950;margin:21px 0 15px;color:#fff}.spm-motor-hero-copy h1 em{font-style:normal;color:#ff747b}.spm-motor-hero-copy>p{max-width:560px;margin:0;color:#d6dce5;font-size:15px;line-height:1.7}.spm-motor-hero-points{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:24px}.spm-motor-hero-points span{display:inline-flex;align-items:center;gap:7px;color:#e6eaf0;font-size:11px;font-weight:650}.spm-motor-hero-points i{color:#80d5a3}
.spm-motor-selection-card{background:#fff;color:var(--sm-ink);padding:25px;border:1px solid rgba(255,255,255,.34);border-radius:20px;box-shadow:0 22px 60px rgba(0,0,0,.22)}.spm-motor-card-heading{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--sm-line);margin-bottom:17px}.spm-motor-step{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#fff0f0;color:var(--sm-red);font-size:12px;font-weight:950}.spm-motor-card-heading div{display:grid;gap:3px}.spm-motor-card-heading strong{font-size:17px;font-weight:900}.spm-motor-card-heading small{color:var(--sm-muted);font-size:11px}.spm-motor-selection-form{display:grid;gap:9px}.spm-motor-selection-form>label{margin-top:3px;color:#344054;font-size:11px;font-weight:850}.spm-motor-select-wrap{position:relative}.spm-motor-select-wrap>i:first-child{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#8b95a4;font-size:13px;pointer-events:none}.spm-motor-select-wrap select{appearance:none;-webkit-appearance:none;width:100%;height:48px;border:1px solid #dfe4eb;border-radius:11px;background:#fbfcfd;padding:0 38px 0 38px;color:#202938;font-size:13px;font-weight:700;outline:none}.spm-motor-select-wrap select:focus{border-color:#d55b62;box-shadow:0 0 0 3px rgba(200,32,39,.1)}.spm-motor-select-arrow{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:10px;color:#8b95a4;pointer-events:none}.spm-motor-process-btn{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:49px;margin-top:8px;padding:0 17px;border:0;border-radius:11px;background:var(--sm-red);color:white;font-size:13px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(200,32,39,.2);transition:transform .18s ease,background .18s ease}.spm-motor-process-btn:hover{background:var(--sm-red-dark);transform:translateY(-1px);color:white}.spm-motor-selection-note{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:3px;color:#8993a2;font-size:10px}
.spm-motor-content{padding:47px 0 62px}.spm-motor-result-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}.spm-motor-result-kicker{font-size:9px;color:var(--sm-red)}.spm-motor-result-kicker>span{width:7px;height:7px;border-radius:50%;background:#2ead68;box-shadow:0 0 0 4px rgba(46,173,104,.1)}.spm-motor-result-head h2,.spm-motor-howto-heading h2{font-size:clamp(24px,3.2vw,32px);font-weight:950;letter-spacing:-.04em;line-height:1.13;margin:9px 0 6px;color:var(--sm-ink)}.spm-motor-result-head p,.spm-motor-howto-heading>p{max-width:720px;margin:0;color:var(--sm-muted);font-size:12px;line-height:1.65}.spm-motor-change,.spm-motor-outline-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dfe4eb;border-radius:10px;padding:10px 13px;color:#344054;text-decoration:none;font-size:11px;font-weight:850;white-space:nowrap}.spm-motor-change:hover,.spm-motor-outline-btn:hover{border-color:#efb4b8;color:var(--sm-red)}
.spm-motor-bike-summary{display:grid;grid-template-columns:145px minmax(0,1fr) auto;align-items:center;gap:20px;padding:15px;border:1px solid var(--sm-line);border-radius:17px;background:linear-gradient(110deg,#fff,#fafbfc);box-shadow:0 8px 24px rgba(16,24,40,.035);margin-bottom:27px}.spm-motor-bike-image{width:145px;aspect-ratio:4/5;border-radius:12px;background:#f0f2f5;overflow:hidden}.spm-motor-bike-image img{width:100%;height:100%;object-fit:cover;display:block}.spm-motor-bike-fallback{height:100%;display:grid;place-items:center;align-content:center;gap:8px;color:#9aa4b2}.spm-motor-bike-fallback i{font-size:42px}.spm-motor-bike-fallback span{font-size:10px;font-weight:850}.spm-motor-bike-data{min-width:0}.spm-motor-bike-make{font-size:9px;font-weight:900;letter-spacing:.12em;color:#8c96a5}.spm-motor-bike-data h3{font-size:23px;font-weight:950;letter-spacing:-.035em;margin:4px 0 12px;color:var(--sm-ink)}.spm-motor-size-pair{display:flex;align-items:center;gap:17px}.spm-motor-size-pair>div{display:grid;gap:3px}.spm-motor-size-pair small{font-size:9px;color:var(--sm-muted);font-weight:750}.spm-motor-size-pair strong{font-size:14px;color:var(--sm-ink)}.spm-motor-size-pair>i{font-size:11px;color:#b8c0cb}.spm-motor-bike-data>p{display:flex;align-items:flex-start;gap:6px;margin:12px 0 0;color:#8b95a4;font-size:9px;line-height:1.5}.spm-motor-bike-data>p i{margin-top:2px}.spm-motor-guide-badge{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:11px;background:#f0f3f7;color:#697586;font-size:9px;line-height:1.45}.spm-motor-guide-badge i{font-size:17px;color:#8792a2}.spm-motor-guide-badge strong{font-size:12px;color:#344054}
.spm-motor-results-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 15px}.spm-motor-results-toolbar>div:first-child{display:grid;gap:5px}.spm-motor-count-pill{justify-self:start;border-radius:99px;padding:5px 9px;background:#eaf8ef;color:#197044;font-size:9px;font-weight:900}.spm-motor-results-toolbar strong{font-size:17px;font-weight:950;color:var(--sm-ink)}.spm-motor-results-toolbar small{font-size:10px;color:#8a94a3}.spm-motor-filter-tabs{display:flex;flex-wrap:wrap;gap:6px}.spm-motor-filter-tabs button{padding:8px 11px;border:1px solid #e2e6ec;border-radius:99px;background:white;color:#657184;font-size:10px;font-weight:800;cursor:pointer}.spm-motor-filter-tabs button.is-active{border-color:#c82027;background:#fff1f2;color:#b51e27}
.spm-motor-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.spm-motor-product-card{min-width:0;border:1px solid var(--sm-line);border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 7px 22px rgba(16,24,40,.04);transition:transform .18s ease,box-shadow .18s ease}.spm-motor-product-card:hover{transform:translateY(-3px);box-shadow:0 13px 28px rgba(16,24,40,.09)}.spm-motor-product-card[hidden]{display:none}.spm-motor-product-media{height:145px;position:relative;display:grid;place-items:center;background:linear-gradient(135deg,#f5f6f8,#eceff3);overflow:hidden}.spm-motor-product-media img{width:100%;height:100%;object-fit:contain;padding:14px}.spm-motor-product-fallback{display:grid;place-items:center;gap:5px;color:#a1aab7}.spm-motor-product-fallback i{font-size:43px}.spm-motor-product-fallback span{font-size:9px;font-weight:950;letter-spacing:.12em}.spm-motor-stock-badge{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:5px 8px;background:#e8f8ee;color:#167344;font-size:9px;font-weight:900}.spm-motor-product-body{padding:14px}.spm-motor-product-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#8c96a5;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.spm-motor-product-body h3{margin:7px 0 4px;color:var(--sm-ink);font-size:18px;line-height:1.15;font-weight:950;letter-spacing:-.025em}.spm-motor-product-fit{margin:0;color:#778294;font-size:10px;line-height:1.5}.spm-motor-product-size{display:flex;align-items:center;gap:7px;margin-top:12px;padding:8px 9px;border-radius:8px;background:#f5f7f9;color:#344054}.spm-motor-product-size i{color:#98a2b3;font-size:11px}.spm-motor-product-size strong{font-size:11px;font-weight:900}.spm-motor-category-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.spm-motor-category-tags span{border:1px solid #e7ebf1;border-radius:99px;padding:4px 7px;color:#697586;font-size:8px;font-weight:750}.spm-motor-product-price{display:grid;justify-items:start;gap:2px;margin-top:13px;min-height:47px}.spm-motor-product-price del{font-size:10px;color:#98a2b3}.spm-motor-product-price strong{font-size:19px;font-weight:950;color:var(--sm-red);letter-spacing:-.025em}.spm-motor-product-price small{font-size:9px;color:#929baa}.spm-motor-add-form{margin-top:12px}.spm-motor-add-form button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:40px;border:0;border-radius:9px;background:var(--sm-red);color:#fff;font-size:10px;font-weight:900;cursor:pointer;transition:background .16s ease}.spm-motor-add-form button:hover{background:var(--sm-red-dark)}
.spm-motor-checkout-note{display:flex;align-items:flex-start;gap:9px;margin-top:16px;padding:12px 14px;border:1px solid #e6edf5;border-radius:11px;background:#f8fafc;color:#7c8796;font-size:10px;line-height:1.55}.spm-motor-checkout-note i{color:#3a8b66;margin-top:1px}.spm-motor-alert{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border-radius:12px;margin:0 0 16px;font-size:11px}.spm-motor-alert>i{margin-top:2px}.spm-motor-alert>div{display:grid;gap:4px}.spm-motor-alert strong{font-size:11px}.spm-motor-alert span,.spm-motor-alert small{line-height:1.55}.spm-motor-alert-error{background:#fff1f0;border:1px solid #f7d0ce;color:#a32929}.spm-motor-alert-info{background:#eff6ff;border:1px solid #dbeafe;color:#24548a}.spm-motor-no-results{max-width:620px;margin:24px auto 0;padding:34px 24px;border:1px solid var(--sm-line);border-radius:17px;text-align:center;background:#fff}.spm-motor-no-results-icon{width:52px;height:52px;margin:0 auto 13px;display:grid;place-items:center;border-radius:15px;background:#f1f3f6;color:#98a2b3;font-size:20px}.spm-motor-no-results h3{margin:0 0 7px;font-size:18px;font-weight:950}.spm-motor-no-results p{margin:0 auto 16px;max-width:490px;font-size:11px;line-height:1.65;color:var(--sm-muted)}
.spm-motor-howto-heading{text-align:center;margin:3px auto 24px}.spm-motor-howto-heading .spm-motor-result-kicker{justify-content:center}.spm-motor-howto-heading>p{margin:0 auto}.spm-motor-howto-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:950px;margin:0 auto}.spm-motor-howto-grid article{display:flex;align-items:flex-start;gap:13px;padding:19px;border:1px solid var(--sm-line);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(16,24,40,.035)}.spm-motor-howto-grid article>span{font-size:12px;font-weight:950;color:#e0a0a4}.spm-motor-howto-grid article>div{display:grid;gap:6px}.spm-motor-howto-grid article i{color:var(--sm-red);font-size:17px}.spm-motor-howto-grid article strong{font-size:14px;font-weight:900}.spm-motor-howto-grid article p{margin:0;color:var(--sm-muted);font-size:10px;line-height:1.6}.spm-motor-photo-note{display:flex;align-items:center;justify-content:center;gap:8px;margin:20px auto 0;color:#8993a2;font-size:10px;text-align:center}.spm-motor-photo-note i{color:#c82027}
@media(max-width:1000px){.spm-motor-hero-inner{grid-template-columns:minmax(0,1fr) minmax(310px,390px);gap:25px}.spm-motor-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.spm-motor-page .spm-motor-hero{padding:39px 0 32px}.spm-motor-hero-inner{grid-template-columns:1fr;gap:24px}.spm-motor-hero-copy h1{font-size:39px;margin:15px 0 11px}.spm-motor-hero-copy>p{font-size:12px;line-height:1.6}.spm-motor-hero-points{gap:8px 12px;margin-top:17px}.spm-motor-hero-points span{font-size:9px}.spm-motor-selection-card{padding:19px;border-radius:16px}.spm-motor-content{padding:31px 0 44px}.spm-motor-result-head{align-items:flex-start;flex-direction:column;margin-bottom:15px}.spm-motor-result-head h2{font-size:25px}.spm-motor-result-head p{font-size:10px}.spm-motor-change{align-self:flex-start}.spm-motor-bike-summary{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:10px;margin-bottom:19px}.spm-motor-bike-image{width:88px}.spm-motor-bike-data h3{font-size:18px;margin:3px 0 8px}.spm-motor-size-pair{gap:8px}.spm-motor-size-pair strong{font-size:11px}.spm-motor-size-pair small{font-size:8px}.spm-motor-bike-data>p{font-size:8px;margin-top:8px}.spm-motor-guide-badge{grid-column:1/-1;justify-self:start;padding:6px 9px}.spm-motor-results-toolbar{align-items:flex-start;flex-direction:column;gap:12px}.spm-motor-results-toolbar strong{font-size:15px}.spm-motor-filter-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.spm-motor-filter-tabs button{white-space:nowrap}.spm-motor-howto-grid{grid-template-columns:1fr;gap:9px}.spm-motor-howto-grid article{padding:14px}.spm-motor-product-grid{gap:10px}}
@media(max-width:520px){.spm-motor-hero-copy h1{font-size:34px}.spm-motor-hero-points{display:grid;grid-template-columns:1fr 1fr}.spm-motor-selection-card{padding:16px}.spm-motor-card-heading strong{font-size:15px}.spm-motor-select-wrap select{height:46px;font-size:12px}.spm-motor-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.spm-motor-product-media{height:105px}.spm-motor-product-media img{padding:9px}.spm-motor-stock-badge{top:6px;right:6px;padding:4px 6px;font-size:7px}.spm-motor-product-body{padding:10px}.spm-motor-product-body h3{font-size:14px;margin:6px 0 3px}.spm-motor-product-fit{font-size:8px}.spm-motor-product-meta{font-size:7px}.spm-motor-product-size{padding:6px 7px;margin-top:9px;gap:5px}.spm-motor-product-size strong{font-size:9px}.spm-motor-category-tags{gap:4px;margin-top:7px}.spm-motor-category-tags span{font-size:7px;padding:3px 5px}.spm-motor-product-price{margin-top:9px;min-height:40px}.spm-motor-product-price strong{font-size:15px}.spm-motor-product-price small{font-size:7px}.spm-motor-add-form{margin-top:9px}.spm-motor-add-form button{min-height:37px;font-size:8px;gap:5px}.spm-motor-bike-data h3{font-size:16px}.spm-motor-size-pair{gap:7px}.spm-motor-size-pair strong{font-size:10px}.spm-motor-guide-badge{font-size:8px}.spm-motor-no-results{padding:27px 16px}}
@media(max-width:360px){.spm-motor-product-body{padding:8px}.spm-motor-product-body h3{font-size:13px}.spm-motor-product-size strong{font-size:8px}.spm-motor-add-form button{font-size:7px}.spm-motor-hero-copy h1{font-size:31px}}

.spm-motor-contact-add{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:40px;margin-top:12px;padding:8px 10px;border:1px solid #dfe4eb;border-radius:9px;background:#f8fafc;color:#475467;text-align:center;text-decoration:none;font-size:10px;font-weight:850}.spm-motor-contact-add:hover{border-color:#e7b6ba;color:#ae1d26;background:#fff7f7}
@media(max-width:520px){.spm-motor-contact-add{min-height:37px;margin-top:9px;padding:7px 6px;font-size:8px}}
.spm-motor-search-wrap{position:relative}.spm-motor-search-wrap i{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#8b95a4;font-size:12px;pointer-events:none}.spm-motor-search-wrap input{width:100%;height:43px;border:1px solid #dfe4eb;border-radius:10px;background:#fbfcfd;padding:0 13px 0 37px;color:#202938;font-size:12px;font-weight:650;outline:none}.spm-motor-search-wrap input:focus{border-color:#d55b62;box-shadow:0 0 0 3px rgba(200,32,39,.1)}

/* Phase 1H.1: compact result-first layout and narrower content width */
.spm-motor-page .container{width:calc(100% - 36px)!important;max-width:1120px!important;margin-left:auto!important;margin-right:auto!important}
.spm-motor-page.has-results>.spm-motor-content{padding:14px 0 32px}
.spm-motor-page.has-results .spm-motor-result-head{align-items:center;gap:12px;margin-bottom:12px}
.spm-motor-page.has-results .spm-motor-result-head h2{font-size:clamp(21px,2.4vw,27px);margin:4px 0 3px}
.spm-motor-page.has-results .spm-motor-result-head p{font-size:10px;line-height:1.45;max-width:650px}
.spm-motor-page.has-results .spm-motor-change{padding:8px 11px;font-size:10px}
.spm-motor-page.has-results .spm-motor-bike-summary{grid-template-columns:104px minmax(0,1fr);gap:13px;padding:10px;margin-bottom:14px;border-radius:13px;box-shadow:none}
.spm-motor-page.has-results .spm-motor-bike-image{width:104px;height:88px;aspect-ratio:auto;border-radius:9px}
.spm-motor-page.has-results .spm-motor-bike-image img{object-fit:cover}
.spm-motor-page.has-results .spm-motor-bike-data h3{font-size:18px;margin:2px 0 6px}
.spm-motor-page.has-results .spm-motor-bike-data>p{font-size:8px;line-height:1.4;margin-top:6px}
.spm-motor-page.has-results .spm-motor-size-pair{gap:12px}
.spm-motor-page.has-results .spm-motor-size-pair strong{font-size:12px}
.spm-motor-page.has-results .spm-motor-size-pair small{font-size:8px}
.spm-motor-page.has-results .spm-motor-results-toolbar{align-items:center;gap:12px;margin-bottom:10px}
.spm-motor-page.has-results .spm-motor-results-toolbar strong{font-size:14px}
.spm-motor-page.has-results .spm-motor-results-toolbar small{font-size:9px}
.spm-motor-page.has-results .spm-motor-filter-tabs button{padding:6px 9px;font-size:9px}
.spm-motor-page.has-results .spm-motor-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.spm-motor-page.has-results .spm-motor-product-card{border-radius:12px;box-shadow:0 3px 12px rgba(16,24,40,.035)}
.spm-motor-page.has-results .spm-motor-product-media{height:108px}
.spm-motor-page.has-results .spm-motor-product-media img{padding:9px}
.spm-motor-page.has-results .spm-motor-stock-badge{top:7px;right:7px;padding:4px 6px;font-size:8px}
.spm-motor-page.has-results .spm-motor-product-body{padding:10px}
.spm-motor-page.has-results .spm-motor-product-body h3{font-size:15px;margin:5px 0 3px}
.spm-motor-page.has-results .spm-motor-product-fit{font-size:9px;line-height:1.35}
.spm-motor-page.has-results .spm-motor-product-size{margin-top:8px;padding:6px 7px}
.spm-motor-page.has-results .spm-motor-category-tags{margin-top:7px}
.spm-motor-page.has-results .spm-motor-product-price{margin-top:9px;min-height:39px}
.spm-motor-page.has-results .spm-motor-product-price strong{font-size:16px}
.spm-motor-page.has-results .spm-motor-add-form{margin-top:8px}
.spm-motor-page.has-results .spm-motor-add-form button{min-height:36px;font-size:9px}
.spm-motor-page.has-results .spm-motor-contact-add{min-height:36px;margin-top:8px;font-size:9px}
.spm-motor-page.has-results .spm-motor-checkout-note{margin-top:11px;padding:9px 11px;font-size:9px}
@media(max-width:1000px){
  .spm-motor-page.has-results .spm-motor-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .spm-motor-page .container{width:calc(100% - 28px)!important}
  .spm-motor-page.has-results>.spm-motor-content{padding:12px 0 26px}
  .spm-motor-page.has-results .spm-motor-result-head{flex-direction:row;align-items:center;margin-bottom:10px}
  .spm-motor-page.has-results .spm-motor-result-head h2{font-size:21px}
  .spm-motor-page.has-results .spm-motor-result-head p{font-size:9px}
  .spm-motor-page.has-results .spm-motor-change{align-self:center;padding:7px 9px;font-size:9px}
  .spm-motor-page.has-results .spm-motor-bike-summary{grid-template-columns:74px minmax(0,1fr);gap:9px;padding:8px;margin-bottom:11px}
  .spm-motor-page.has-results .spm-motor-bike-image{width:74px;height:74px}
  .spm-motor-page.has-results .spm-motor-bike-data h3{font-size:15px;margin-bottom:5px}
  .spm-motor-page.has-results .spm-motor-bike-data>p{font-size:7px;line-height:1.35;margin-top:5px}
  .spm-motor-page.has-results .spm-motor-size-pair{gap:8px}
  .spm-motor-page.has-results .spm-motor-size-pair strong{font-size:10px}
  .spm-motor-page.has-results .spm-motor-size-pair small{font-size:7px}
  .spm-motor-page.has-results .spm-motor-results-toolbar{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:9px}
  .spm-motor-page.has-results .spm-motor-filter-tabs{width:100%;gap:5px}
  .spm-motor-page.has-results .spm-motor-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .spm-motor-page.has-results .spm-motor-product-media{height:94px}
  .spm-motor-page.has-results .spm-motor-product-body{padding:9px}
  .spm-motor-page.has-results .spm-motor-product-body h3{font-size:13px}
  .spm-motor-page.has-results .spm-motor-product-fit{font-size:8px}
  .spm-motor-page.has-results .spm-motor-product-price strong{font-size:14px}
  .spm-motor-page.has-results .spm-motor-add-form button{min-height:35px;font-size:8px}
  .spm-motor-page.has-results .spm-motor-contact-add{min-height:35px;font-size:8px}
}
@media(max-width:380px){
  .spm-motor-page.has-results .spm-motor-result-head{align-items:flex-start}
  .spm-motor-page.has-results .spm-motor-result-head h2{font-size:18px}
  .spm-motor-page.has-results .spm-motor-change{font-size:8px;padding:6px 7px}
  .spm-motor-page.has-results .spm-motor-bike-summary{grid-template-columns:62px minmax(0,1fr)}
  .spm-motor-page.has-results .spm-motor-bike-image{width:62px;height:68px}
  .spm-motor-page.has-results .spm-motor-size-pair{gap:6px}
}


/* Phase 1H.3: one-screen recommendation modal */
html.spm-motor-modal-open,body.spm-motor-modal-open{overflow:hidden!important;overscroll-behavior:none}
.spm-motor-modal-backdrop{position:fixed;inset:0;z-index:99990;display:grid;place-items:center;padding:clamp(8px,1.8vw,22px);background:rgba(13,20,31,.70);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);opacity:1;transition:opacity .16s ease}
.spm-motor-modal-backdrop[hidden]{display:none!important}
.spm-motor-modal-backdrop.is-closing{opacity:0;pointer-events:none}
.spm-motor-modal{width:min(1160px,100%);max-height:min(91dvh,850px);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.78);border-radius:21px;background:#fff;box-shadow:0 26px 90px rgba(0,0,0,.28);transform:translateY(0);transition:transform .16s ease}
.spm-motor-modal-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;border-bottom:1px solid #edf0f4;background:linear-gradient(110deg,#fff 0%,#fbfcfd 100%)}
.spm-motor-modal-vehicle{display:flex;align-items:center;gap:13px;min-width:0}
.spm-motor-modal-bike-image{width:76px;height:92px;flex:0 0 76px;display:grid;place-items:center;overflow:hidden;border-radius:10px;background:#f6f7f9;border:1px solid #eceff3}
.spm-motor-modal-bike-image img{width:100%;height:100%;display:block;object-fit:contain!important;object-position:center;padding:2px}
.spm-motor-modal-vehicle-copy{min-width:0}
.spm-motor-modal-vehicle-copy .spm-motor-result-kicker{font-size:8px;letter-spacing:.12em}
.spm-motor-modal-vehicle-copy h2{margin:4px 0 7px;font-size:clamp(17px,2vw,23px);line-height:1.08;font-weight:950;letter-spacing:-.035em;color:#202938}
.spm-motor-modal-sizes{display:flex;flex-wrap:wrap;gap:6px}
.spm-motor-modal-sizes span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:7px;background:#f2f4f7;color:#778294;font-size:9px;font-weight:700}
.spm-motor-modal-sizes strong{color:#202938;font-size:10px;font-weight:900}
.spm-motor-modal-header-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.spm-motor-modal-change{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #e6eaf0;border-radius:9px;color:#475467;font-size:10px;font-weight:850;text-decoration:none;background:#fff}
.spm-motor-modal-close{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:10px;background:#f2f4f7;color:#475467;font-size:16px;cursor:pointer}
.spm-motor-modal-toolbar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 17px;border-bottom:1px solid #f0f2f5}
.spm-motor-modal-toolbar-copy{display:flex;align-items:center;gap:10px;min-width:0}
.spm-motor-modal-toolbar-copy small{color:#8993a2;font-size:9px;line-height:1.3}
.spm-motor-modal .spm-motor-count-pill{white-space:nowrap}
.spm-motor-modal .spm-motor-filter-tabs{gap:5px}
.spm-motor-modal .spm-motor-filter-tabs button{padding:6px 10px;font-size:9px}
.spm-motor-modal-notice{flex:0 0 auto;margin:8px 14px 0;padding:7px 10px;font-size:9px}
.spm-motor-modal-products{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:10px;padding:12px 14px}
.spm-motor-modal-product-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e8ecf1;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.035)}
.spm-motor-modal-product-media{height:90px;flex:0 0 90px;position:relative;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#f7f8fa,#edf0f4)}
.spm-motor-modal-product-media img{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center;padding:5px!important}
.spm-motor-modal-product-body{min-width:0;display:flex;flex:1 1 auto;flex-direction:column;padding:8px 9px 9px}
.spm-motor-modal-product-body .spm-motor-product-meta{font-size:7px;letter-spacing:.06em}
.spm-motor-modal-product-body h3{margin:4px 0 2px;font-size:13px;line-height:1.15;font-weight:950;color:#202938}
.spm-motor-modal-product-body .spm-motor-product-fit{font-size:8px;line-height:1.3;min-height:20px}
.spm-motor-modal-product-body .spm-motor-product-size{margin-top:6px;padding:5px 6px;gap:5px}
.spm-motor-modal-product-body .spm-motor-product-size strong{font-size:9px}
.spm-motor-modal-price{display:grid;justify-items:start;gap:1px;margin-top:6px}
.spm-motor-modal-price del{color:#98a2b3;font-size:8px}
.spm-motor-modal-price strong{color:#c51f32;font-size:14px;line-height:1.15;font-weight:950}
.spm-motor-modal-price small{color:#929baa;font-size:7px}
.spm-motor-modal-product-body .spm-motor-add-form{margin-top:7px}
.spm-motor-modal-product-body .spm-motor-add-form button,.spm-motor-modal-product-body .spm-motor-contact-add{min-height:30px;padding:6px 8px;border:0;border-radius:7px;background:#c51f32;color:#fff;font-size:9px;font-weight:900;text-decoration:none}
.spm-motor-modal-product-body .spm-motor-stock-badge{top:5px;right:5px;padding:4px 6px;font-size:7px}
.spm-motor-modal-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 16px;border-top:1px solid #edf0f4;background:#fbfcfd}
.spm-motor-modal-footer>span{display:flex;align-items:center;gap:7px;color:#8791a0;font-size:8px}
.spm-motor-modal-footer>span i{color:#22945c}
.spm-motor-modal-done{min-height:30px;padding:6px 14px;border:0;border-radius:8px;background:#202938;color:#fff;font-size:9px;font-weight:850;cursor:pointer}
.spm-motor-modal-empty{margin:16px;overflow:auto}
.spm-motor-page.has-results .spm-motor-bike-image img{object-fit:contain!important}
@media(max-width:900px){.spm-motor-modal{width:min(760px,100%);max-height:93dvh}.spm-motor-modal-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){
 .spm-motor-modal-backdrop{padding:6px;align-items:center}
 .spm-motor-modal{width:100%;max-height:94dvh;border-radius:15px}
 .spm-motor-modal-header{gap:8px;padding:9px 10px}
 .spm-motor-modal-vehicle{gap:9px}
 .spm-motor-modal-bike-image{width:58px;height:72px;flex-basis:58px}
 .spm-motor-modal-vehicle-copy .spm-motor-result-kicker{font-size:7px}
 .spm-motor-modal-vehicle-copy h2{font-size:16px;margin:3px 0 5px}
 .spm-motor-modal-sizes{gap:4px}
 .spm-motor-modal-sizes span{padding:4px 5px;font-size:7px;gap:3px}
 .spm-motor-modal-sizes strong{font-size:8px}
 .spm-motor-modal-header-actions{gap:5px}
 .spm-motor-modal-change{padding:7px 8px;font-size:8px;gap:4px}
 .spm-motor-modal-close{width:30px;height:30px;font-size:14px}
 .spm-motor-modal-toolbar{align-items:flex-start;flex-direction:column;gap:7px;padding:7px 9px}
 .spm-motor-modal-toolbar-copy{width:100%;justify-content:space-between;gap:5px}
 .spm-motor-modal-toolbar-copy small{font-size:7px;text-align:right}
 .spm-motor-modal .spm-motor-filter-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:1px}
 .spm-motor-modal .spm-motor-filter-tabs button{white-space:nowrap;padding:5px 8px;font-size:8px}
 .spm-motor-modal-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px;overflow-y:auto}
 .spm-motor-modal-product-media{height:70px;flex-basis:70px}
 .spm-motor-modal-product-body{padding:6px 7px 7px}
 .spm-motor-modal-product-body h3{font-size:11px}
 .spm-motor-modal-product-body .spm-motor-product-fit{font-size:7px;min-height:17px}
 .spm-motor-modal-product-body .spm-motor-product-size{margin-top:5px;padding:4px 5px}
 .spm-motor-modal-product-body .spm-motor-product-size strong{font-size:8px}
 .spm-motor-modal-price{margin-top:5px}
 .spm-motor-modal-price strong{font-size:12px}
 .spm-motor-modal-product-body .spm-motor-add-form{margin-top:5px}
 .spm-motor-modal-product-body .spm-motor-add-form button,.spm-motor-modal-product-body .spm-motor-contact-add{min-height:27px;font-size:8px;padding:5px 6px}
 .spm-motor-modal-footer{padding:7px 9px;gap:8px}
 .spm-motor-modal-footer>span{font-size:7px;line-height:1.3}
 .spm-motor-modal-done{min-height:28px;padding:5px 11px;font-size:8px;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.spm-motor-modal-backdrop,.spm-motor-modal{transition:none}}


/* Phase 1H.4 stability fixes: isolate and reliably show the result dialog. */
.spm-motor-page.has-results .spm-motor-hero{display:none!important}
.spm-motor-page.has-results .spm-motor-content{padding:0!important;margin:0!important;min-height:0!important}
.spm-motor-page.has-results .spm-motor-content>.container{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
html.spm-motor-modal-open,body.spm-motor-modal-open{overflow:hidden!important;overscroll-behavior:none!important}
body.spm-motor-modal-open{--sm-red:#c82027;--sm-red-dark:#a91620;--sm-ink:#17202e;--sm-muted:#667085;--sm-line:#e7ebf1;--sm-soft:#f7f8fa}
.spm-motor-modal-backdrop{position:fixed!important;inset:0!important;z-index:2147483000!important;display:grid!important;place-items:center!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.spm-motor-modal-backdrop[hidden]{display:none!important}
.spm-motor-modal{position:relative!important;z-index:1!important;max-height:min(92dvh,860px)!important}
.spm-motor-modal-products{overscroll-behavior:contain!important;scrollbar-gutter:stable}
.spm-motor-modal-product-media img{object-fit:contain!important;object-position:center!important;width:100%!important;height:100%!important}
@media(max-width:767px){
  .spm-motor-modal-backdrop{padding:5px!important}
  .spm-motor-modal{max-height:96dvh!important;border-radius:13px!important}
  .spm-motor-modal-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* Phase 1H.5: force the recommendation card details to remain visible in the modal.
   Explicit min-heights prevent flex/grid shrink from collapsing product bodies. */
.spm-motor-modal-bike-image{width:104px!important;height:66px!important;flex:0 0 104px!important;border-radius:9px!important;background:#f4f6f8!important}
.spm-motor-modal-bike-image img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;padding:0!important}
.spm-motor-modal-products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:minmax(210px,auto)!important;align-items:stretch!important;align-content:start!important;gap:9px!important}
.spm-motor-modal-product-card{display:flex!important;flex-direction:column!important;align-self:stretch!important;width:100%!important;height:auto!important;min-height:210px!important;max-height:none!important;overflow:hidden!important;position:relative!important}
.spm-motor-modal-product-media{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;flex:0 0 68px!important;width:100%!important;height:68px!important;min-height:68px!important;max-height:68px!important;overflow:hidden!important;padding:3px!important}
.spm-motor-modal-product-media img.spm-motor-tyre-image{position:relative!important;inset:auto!important;display:block!important;flex:0 1 auto!important;width:auto!important;height:auto!important;max-width:92%!important;max-height:60px!important;object-fit:contain!important;object-position:center!important;padding:0!important;margin:auto!important;transform:none!important}
.spm-motor-modal-product-media img.spm-motor-tyre-image[hidden],.spm-motor-product-fallback[hidden]{display:none!important}
.spm-motor-modal-product-media .spm-motor-product-fallback{width:100%;height:100%;display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:2px;color:#98a2b3;font-size:8px}
.spm-motor-modal-product-media .spm-motor-product-fallback i{font-size:22px}
.spm-motor-modal-product-body{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:1!important;flex:0 0 auto!important;flex-direction:column!important;width:100%!important;height:auto!important;min-height:140px!important;max-height:none!important;overflow:visible!important;padding:7px 8px 8px!important;color:#202938!important;background:#fff!important}
.spm-motor-modal-product-body .spm-motor-product-meta{display:flex!important;visibility:visible!important;opacity:1!important}
.spm-motor-modal-product-body h3{display:block!important;visibility:visible!important;opacity:1!important;margin:4px 0 2px!important;font-size:12px!important;line-height:1.15!important;color:#202938!important}
.spm-motor-modal-product-body .spm-motor-product-fit{display:block!important;visibility:visible!important;opacity:1!important;min-height:16px!important;margin:0!important;font-size:7.5px!important;line-height:1.25!important;color:#667085!important}
.spm-motor-modal-product-body .spm-motor-product-size{display:flex!important;visibility:visible!important;opacity:1!important;margin-top:5px!important;padding:4px 6px!important}
.spm-motor-modal-price{display:grid!important;visibility:visible!important;opacity:1!important;gap:1px!important;margin-top:5px!important}
.spm-motor-modal-price strong{font-size:13px!important}
.spm-motor-modal-price small{font-size:7px!important}
.spm-motor-modal-product-body .spm-motor-add-form,.spm-motor-modal-product-body .spm-motor-contact-add{display:block!important;visibility:visible!important;opacity:1!important;margin-top:6px!important}
.spm-motor-modal-product-body .spm-motor-add-form button,.spm-motor-modal-product-body .spm-motor-contact-add{display:flex!important;min-height:28px!important;width:100%!important;align-items:center!important;justify-content:center!important;font-size:8px!important;padding:5px 7px!important}
@media(max-width:900px){.spm-motor-modal-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){
 .spm-motor-modal-bike-image{width:76px!important;height:52px!important;flex-basis:76px!important}
 .spm-motor-modal-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(202px,auto)!important;gap:7px!important;padding:8px!important}
 .spm-motor-modal-product-card{min-height:202px!important}
 .spm-motor-modal-product-media{height:62px!important;min-height:62px!important;max-height:62px!important;flex-basis:62px!important}
 .spm-motor-modal-product-media img.spm-motor-tyre-image{max-height:56px!important;max-width:94%!important}
 .spm-motor-modal-product-body{min-height:140px!important;padding:6px 7px 7px!important}
 .spm-motor-modal-product-body h3{font-size:11px!important}
 .spm-motor-modal-product-body .spm-motor-product-fit{font-size:7px!important;min-height:14px!important}
 .spm-motor-modal-price strong{font-size:12px!important}
 .spm-motor-modal-product-body .spm-motor-add-form button,.spm-motor-modal-product-body .spm-motor-contact-add{min-height:27px!important;font-size:8px!important}
}
