/* Approved B2: one visual system for measurement, preferences and results. */
.ra-tyre-page{--b2-blue:#087bea;--b2-ink:#102b43;--b2-muted:#526b83;--b2-line:#dce6ef;--b2-orange:#f47721}
.ra-tyre-page #raTyreWizard{max-width:800px;padding:0;margin:0 auto;background:#fff;border:1px solid #dce6ef;border-radius:10px;box-shadow:0 5px 24px #15365306;overflow:visible}
.ra-tyre-page .ra-tyre-stage-list{display:none}
.ra-tyre-page [data-tyre-step]{gap:20px;padding:20px;min-width:0}
.ra-tyre-page [data-tyre-step][hidden]{display:none}
.ra-tyre-page .ra-b2-hero{position:relative;isolation:isolate;display:flex;align-items:flex-start;overflow:hidden;height:280px;min-height:280px;margin:-20px -20px 0;padding:18px 22px;background:linear-gradient(115deg,#087bea,#006de2);border-radius:9px 9px 0 0;color:#fff}
.ra-tyre-page .ra-b2-hero-copy{position:relative;z-index:2;width:100%;min-width:0}
.ra-tyre-page .ra-b2-progress{display:flex;align-items:center;gap:12px;font-size:11px;font-weight:600;color:#eff8ff;line-height:1.4}
.ra-tyre-page .ra-b2-progress>div{display:flex;gap:4px;align-items:center;width:128px}
.ra-tyre-page .ra-b2-progress i{display:block;height:4px;flex:1;background:#ffffff40;border-radius:9px}
.ra-tyre-page .ra-b2-progress .is-done{background:#fff}
.ra-tyre-page .ra-b2-hero h2{font:700 34px/1.06 'Space Grotesk',sans-serif;letter-spacing:-.045em;color:#fff;max-width:68%;margin:72px 0 0;outline:none}
.ra-tyre-page .ra-b2-hero p{font-size:13px;line-height:1.4;color:#eef7ff;margin:8px 0 0;max-width:72%}
.ra-tyre-page .ra-b2-hero>img{position:absolute;width:260px;height:156px;object-fit:contain;right:0;bottom:0;z-index:1}
.ra-tyre-page .ra-b2-hero-measure>img{width:244px;height:244px;right:28px;bottom:12px}
.ra-tyre-page .ra-b2-hero-measure h2{max-width:calc(100% - 140px)}
.ra-tyre-page .ra-b2-hero-measure p{max-width:calc(100% - 140px)}
.ra-tyre-page .ra-tyre-vehicle-context .ra-tyre-garage-summary{background:#edf6ff;border:0;border-radius:8px;box-shadow:none;padding:14px!important}
.ra-tyre-page #raTyreNeedsCar{padding:0!important;background:none;border:0;border-radius:0;margin:0}
.ra-tyre-page #raTyreNeedsCar:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:10px}
.ra-tyre-page #raTyreNeedsCar>span{font-size:12px;line-height:1.4;color:#587084}
.ra-tyre-page #raTyreNeedsCar .btn{min-height:44px;font-size:12px;padding:9px 0 9px 10px;border:0;border-radius:0;background:none;color:#087bea;box-shadow:none;white-space:nowrap}
.ra-tyre-page .ra-tyre-garage-summary>img{width:60px;height:44px;object-fit:contain;border-radius:0;background:none}
.ra-tyre-page .ra-tyre-garage-summary strong{font-size:15px}
.ra-tyre-page .ra-tyre-garage-summary small{font-size:11px}
.ra-tyre-page .ra-tyre-context-options>summary{font-size:12px}
.ra-tyre-page .ra-tyre-size-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:4px 0 10px}
.ra-tyre-page .ra-tyre-size-picker label{display:grid;gap:7px;min-width:0;font-size:12px;color:#173653;font-weight:500}
.ra-tyre-page .ra-tyre-size-picker select{appearance:none;width:100%;min-width:0;height:70px;min-height:70px;border:1px solid #bdcfe0;border-radius:7px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23087bea' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 7px center/15px;color:#102b43;font:700 28px/1 'Space Grotesk',sans-serif;padding:10px 24px 10px 10px}
.ra-tyre-page .ra-tyre-size-picker select:disabled{background-color:#f5f8fc;color:#71859a;opacity:1}
.ra-tyre-page .ra-tyre-size-picker select:has(option[value=""]:checked){font-size:14px;font-family:'DM Sans',sans-serif;font-weight:500}
.ra-tyre-page .ra-tyre-size-entry>summary{font-size:13px;color:#416780;min-height:40px;padding:8px 0}
.ra-tyre-page #raTyreSizeEntry>p{font-size:12px;line-height:1.5}
.ra-tyre-page .ra-journey-choices legend{font-size:14px;font-weight:700;margin-bottom:9px}
.ra-tyre-page .ra-journey-choice-grid{gap:8px}
.ra-tyre-page .ra-journey-choice{position:relative;display:flex!important;min-height:62px;gap:12px;padding:12px 14px;border:1px solid #d3e0ed;border-radius:6px;background:#fff}
.ra-tyre-page .ra-journey-choice input[type=radio]{order:3;margin-left:auto;width:19px;height:19px;flex:none}
.ra-tyre-page .ra-journey-choice>span{order:1;min-width:0;flex:1}
.ra-tyre-page .ra-journey-choice strong{font-size:14px;line-height:1.3;font-weight:600}
.ra-tyre-page .ra-journey-choice small{font-size:11px;line-height:1.4;font-weight:400}
.ra-tyre-page .ra-journey-choice:has(input:checked){background:linear-gradient(100deg,#e5f2ff,#f1f8ff);border-color:#a9d3ff}
.ra-tyre-page .ra-journey-season .ra-journey-choice-grid,.ra-tyre-page .ra-journey-climate .ra-journey-choice-grid{grid-template-columns:minmax(0,1fr)}
.ra-tyre-page .ra-journey-choice:before{content:'';display:block;flex:none;width:29px;height:29px;background:url('tyre-b2-rain.svg') center/contain no-repeat}
.ra-tyre-page .ra-journey-choice[data-choice="summer"]:before,.ra-tyre-page .ra-journey-choice[data-choice="mild"]:before{background-image:url('tyre-b2-sun.svg')}
.ra-tyre-page .ra-journey-choice[data-choice="winter"]:before,.ra-tyre-page .ra-journey-choice[data-choice="severe"]:before{background-image:url('tyre-b2-snow.svg')}
.ra-tyre-page .ra-journey-choice[data-choice="mixed"]:before,.ra-tyre-page .ra-journey-choice[data-choice=""]:before{content:'?';background:none;border:1.5px solid #8da9c0;border-radius:50%;width:24px;height:24px;text-align:center;line-height:24px;color:#607e96;font-weight:600}
.ra-tyre-page .ra-journey-quantity .ra-journey-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:#eef5fc;border-radius:10px;overflow:hidden}
.ra-tyre-page .ra-journey-quantity .ra-journey-choice{min-height:78px;padding:12px 10px;gap:8px;border:0;border-radius:10px;background:none}
.ra-tyre-page .ra-journey-quantity .ra-journey-choice input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}
.ra-tyre-page .ra-journey-quantity .ra-journey-choice:before{width:40px;height:32px;background:url('tyre-b2-count.svg') left center/20px 32px repeat-x;border:0;border-radius:0;content:''}
.ra-tyre-page .ra-journey-quantity .ra-journey-choice[data-choice="4"]:before{width:56px;background-size:14px 30px}
.ra-tyre-page .ra-journey-quantity .ra-journey-choice strong{font-size:13px;font-weight:500}
.ra-tyre-page .ra-journey-quantity .ra-journey-choice small{display:none}
.ra-tyre-page .ra-journey-quantity .ra-journey-choice:has(input:checked){background:#087bea}
.ra-tyre-page .ra-journey-quantity .ra-journey-choice:has(input:checked) strong{color:#fff}
.ra-tyre-page .ra-journey-quantity .ra-journey-choice:has(input:checked):before{filter:brightness(0) invert(1)}
.ra-tyre-page .ra-search-priorities{gap:12px}
.ra-tyre-page .ra-tyre-step>label,.ra-tyre-page .ra-search-priorities label{font-size:13px;font-weight:600;color:#173653}
.ra-tyre-page .ra-tyre-step select:not(#raTyreWidth):not(#raTyreProfile):not(#raTyreRim){min-height:48px;border:1px solid #cfdeec;border-radius:6px;background-color:#f6faff;color:#183b58;font-size:14px;font-weight:500}
.ra-tyre-page .ra-tyre-actions{padding:16px 20px;margin:0}
.ra-tyre-page .ra-tyre-actions .btn{border-radius:9px;box-shadow:none;min-height:52px;font-size:15px}
.ra-tyre-page #raTyreNext{flex:2;width:100%;background:#087bea;white-space:nowrap;padding:10px 12px}
.ra-tyre-page .ra-tyre-actions #raTyreBack{flex:0 0 auto;padding:10px 13px}
.ra-tyre-page .ra-tyre-hint{font-size:11px;line-height:1.5;padding:0 20px 16px;margin:0}
.ra-tyre-page .ra-tyre-decision{margin:0}
.ra-tyre-page .ra-tyre-decision h2{font-size:19px;margin:0 0 3px}
.ra-tyre-page .ra-tyre-decision p{font-size:12px}
.ra-tyre-page .ra-result-summary{background:#eef6ff;border:0;border-radius:7px;padding:10px 12px}
.ra-tyre-page .ra-product-card[data-result-role]{padding:20px;border:1px solid #d9e5ef;border-radius:7px;box-shadow:none}
.ra-tyre-page .ra-product-card[data-result-role="primary"]{padding:20px;border:1px solid #bfdcff;border-top:3px solid #087bea}
.ra-tyre-page .ra-product-card[data-result-role] .ra-result-brand{font-size:20px;color:#102b43;font-weight:700;margin:0 0 3px}
.ra-tyre-page .ra-product-card[data-result-role] h4{font-size:23px;line-height:1.2;letter-spacing:-.035em;margin:0 0 5px}
.ra-tyre-page .ra-product-card[data-result-role] .ra-result-variant{font-size:12px!important;font-weight:400;background:none;padding:0;color:#526b83!important;margin-bottom:12px!important}
.ra-tyre-page .ra-product-card[data-result-role] .ra-result-fit{font-size:10px;margin-bottom:10px}
.ra-tyre-page .ra-product-card[data-result-role] .ra-result-facts{display:grid;grid-template-columns:34px minmax(0,1fr);border:0;border-radius:0;background:none;margin:0;padding:0;gap:0}
.ra-tyre-page .ra-product-card[data-result-role] .ra-result-facts dt:first-child,.ra-tyre-page .ra-product-card[data-result-role] .ra-result-facts dt:nth-of-type(2){position:relative;display:block;grid-column:2;min-width:0;background:none;padding:12px 0 3px;margin:0;border:0;border-radius:0;color:#60768d;font-size:11px;line-height:1.3;font-weight:400;overflow:visible}
.ra-tyre-page .ra-product-card[data-result-role] .ra-result-facts dt:first-child:before,.ra-tyre-page .ra-product-card[data-result-role] .ra-result-facts dt:nth-of-type(2):before{position:absolute;left:-34px;top:14px;content:'';width:23px;height:25px;border:0;border-radius:0;background:url('tyre-b2-rain.svg') center/contain no-repeat}
.ra-tyre-page .ra-product-card[data-result-role] .ra-result-facts dt:nth-of-type(2):before{content:'!';display:flex;align-items:center;justify-content:center;width:22px;height:22px;border:1.5px solid #f47721;border-radius:4px;background:none;color:#f47721;font-size:16px;font-weight:700}
.ra-tyre-page .ra-product-card[data-result-role] .ra-result-facts dd:first-of-type,.ra-tyre-page .ra-product-card[data-result-role] .ra-result-facts dd:last-child{grid-column:2;display:block;max-width:none;border:0;background:none;padding:0 0 12px;margin:0;font-size:14px;font-weight:600;line-height:1.5;color:#173653}
.ra-tyre-page .ra-product-card[data-result-role] .ra-result-facts dt:nth-of-type(2){border-top:1px solid #e4edf5}
.ra-tyre-page .ra-product-card[data-result-role] .ra-result-confidence{font-size:11px!important;line-height:1.5!important;padding:8px 10px;background:#f2f8fd;border:0;border-radius:5px;margin-bottom:3px!important}
.ra-tyre-page .ra-product-card[data-result-role]>.ra-result-context{border-color:#ffae70;font-size:12px!important;margin:8px 0!important}
.ra-tyre-page .ra-product-card[data-result-role]>.ra-product-details{margin-top:10px}
.ra-tyre-page .ra-product-card[data-result-role]>.ra-compare-pick{margin-top:10px;font-size:12px!important}
.ra-tyre-page .ra-product-card[data-result-role] .ra-product-details h4{font-size:16px}
body:has(.ra-tyre-page:not([hidden])) .tabbar button[aria-current="page"]{position:relative;color:#087bea}
body:has(.ra-tyre-page:not([hidden])) .tabbar button[aria-current="page"]:after{content:'';position:absolute;bottom:0;left:20%;right:20%;height:4px;border-radius:4px 4px 0 0;background:#087bea}
@media(min-width:900px){
 .ra-tyre-page .ra-b2-hero{height:280px;min-height:280px}
 .ra-tyre-page .ra-b2-hero h2{font-size:38px;max-width:65%}
 .ra-tyre-page .ra-b2-hero>img{width:320px;height:178px;right:0}
 .ra-tyre-page .ra-b2-hero-measure>img{width:244px;height:244px;right:28px;bottom:12px}
 .ra-tyre-page .ra-journey-season .ra-journey-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ra-tyre-page .ra-product-card[data-result-role="primary"] h4{font-size:28px}
}
@media(max-width:600px){
 .ra-tyre-page{padding-top:12px}
 .ra-tyre-page [data-tyre-step]{padding:18px;gap:18px}
 .ra-tyre-page .ra-b2-hero{width:calc(100% + 36px);min-width:0;height:auto;min-height:180px;aspect-ratio:1.88;margin:-18px -18px 0;padding:18px 18px}
 .ra-tyre-page .ra-b2-hero h2{font-size:clamp(26px,7.5vw,30px);max-width:72%;margin-top:clamp(28px,9vw,38px);text-shadow:0 1px 3px #07315340}
 .ra-tyre-page .ra-b2-hero-measure h2{max-width:57%}
 .ra-tyre-page .ra-b2-hero p{font-size:12px;max-width:57%}
 .ra-tyre-page .ra-b2-hero-measure>img{width:44%;height:auto;aspect-ratio:1;right:2%;bottom:4%}
 .ra-tyre-page .ra-b2-hero:not(.ra-b2-hero-measure)>img{width:218px;height:131px;opacity:.9}
 .ra-tyre-page .ra-tyre-size-picker{gap:8px}
 .ra-tyre-page .ra-tyre-size-picker select{font-size:27px;padding-left:8px;padding-right:22px}
 .ra-tyre-page .ra-tyre-vehicle-context .ra-tyre-garage-summary{gap:9px}
 .ra-tyre-page .ra-tyre-garage-summary>img{width:44px}
 .ra-tyre-page [data-tyre-step="0"],.ra-tyre-page [data-tyre-step="1"]{padding-bottom:94px}
 .ra-tyre-page .ra-tyre-actions{left:12px;right:12px;bottom:calc(59px + env(safe-area-inset-bottom));padding:10px 12px;border-radius:9px 9px 0 0;box-shadow:0 -4px 12px #15365306}
 .ra-tyre-page .ra-tyre-actions .btn{min-height:48px}
 .ra-tyre-page .ra-product-card[data-result-role],.ra-tyre-page .ra-product-card[data-result-role="primary"]{padding:17px}
 .ra-tyre-page .ra-product-card[data-result-role] h4{font-size:22px}
 .ra-tyre-page .ra-product-card[data-result-role] .ra-result-facts dd:first-of-type,.ra-tyre-page .ra-product-card[data-result-role] .ra-result-facts dd:last-child{font-size:14px}
}

.ra-tyre-page .ra-journey-choice[data-choice="allseason"]:before{background-image:url('tyre-b2-sun.svg'),url('tyre-b2-snow.svg');background-size:17px 25px,17px 25px;background-position:left center,right center;background-repeat:no-repeat}

/* Remove the redundant back strip: Tools remains in the main navigation. */
.ra-tyre-page>.ra-way-back{display:none}
.ra-tyre-page .ra-tyre-size-entry>summary{font-size:12px;font-weight:500;color:#587084}
.ra-tyre-page #raTyreSizeEntry>p{font-size:11px;line-height:1.5;margin-bottom:2px}
.ra-tyre-page .ra-tyre-optional>summary,.ra-tyre-page .ra-tyre-conditional>summary{font-size:12px;color:#587084}
.ra-tyre-page #raTyreProfileStatus,.ra-tyre-page .ra-coverage>summary{font-size:11px;font-weight:400;color:#647b8d}

/* Coordinated photographic B2 headers. The wheel remains a separate unbranded cutout. */
.ra-tyre-page .ra-b2-hero{--b2-photo-shade:linear-gradient(90deg,#087bea 0%,#087beaf5 28%,#087beaa6 40%,#087bea33 54%,#087bea00 68%);background-color:#087bea}
.ra-tyre-page .ra-b2-hero-measure{background-image:var(--b2-photo-shade),url("tyre-b2-asphalt-realistic-20261028.webp?v=2");background-size:100% 100%,auto 100%;background-position:center,right center;background-repeat:no-repeat}
.ra-tyre-page .ra-b2-hero-climate{background-image:var(--b2-photo-shade),url("tyre-b2-climate-realistic-20261028.webp?v=2");background-size:100% 100%,auto 100%;background-position:center,right center;background-repeat:no-repeat}
.ra-tyre-page .ra-b2-hero-selection{background-image:var(--b2-photo-shade),url("tyre-b2-selection-realistic-20261028.webp?v=2");background-size:100% 100%,auto 100%;background-position:center,right center;background-repeat:no-repeat}
.ra-tyre-page .ra-b2-hero-climate h2,.ra-tyre-page .ra-b2-hero-selection h2{max-width:45%}
@media(max-width:600px){.ra-tyre-page .ra-b2-hero-climate h2,.ra-tyre-page .ra-b2-hero-selection h2{max-width:46%}}

/* Mobile B2: the floating three-tab navigation has a top edge around 80px
   above the viewport bottom. Keep the action dock clear of it. */
@media(max-width:600px){
 .ra-tyre-page .ra-tyre-actions{bottom:calc(94px + env(safe-area-inset-bottom))}
 .ra-tyre-page [data-tyre-step="0"],.ra-tyre-page [data-tyre-step="1"]{padding-bottom:28px}
 /* Preserve all cautions and evidence, but avoid tiny supporting copy. */
 .ra-tyre-page .ra-product-card[data-result-role] .ra-result-confidence{font-size:12px!important;line-height:1.55!important}
 .ra-tyre-page .ra-product-card[data-result-role]>.ra-result-context{font-size:12.5px!important;line-height:1.6!important}
}
