.tires{max-width:1240px;margin:0 auto;padding:52px 24px 100px;color:#f4f7f7}.tires h1{font-size:clamp(2.5rem,6vw,5rem);margin:0 0 16px}.tires p{line-height:1.6}.tabs{display:flex;gap:8px;margin:34px 0 20px}.tabs button,.search-button,#request button[type=submit]{background:#d8fc4d;color:#101813;border:0;border-radius:12px;padding:13px 22px;font-weight:800;cursor:pointer}.tabs button[aria-selected=false]{background:#243034;color:#fff}.search{background:#172226;border:1px solid #344044;border-radius:22px;padding:24px}.fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.fields label,#request label{display:flex;flex-direction:column;gap:7px}.fields input,.fields select,.result-bar select,#request input,#request textarea{width:100%;box-sizing:border-box;background:#0d171a;color:#fff;border:1px solid #516064;border-radius:10px;padding:12px;font:inherit}.fields .wheel-field{display:none}[hidden]{display:none!important}.axle-toggle{display:block;margin:22px 0}.axle-toggle input{width:auto}.search-button{margin-top:20px}.result-bar{display:flex;justify-content:space-between;align-items:center;margin-top:35px}.results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tire-card{background:#172226;border:1px solid #344044;border-radius:18px;padding:18px}.tire-card img{width:100%;height:170px;object-fit:contain}.tire-card h3{font-size:1.1rem}.tire-card strong{font-size:1.35rem;color:#d8fc4d}.tire-card button{display:block;margin-top:12px;padding:11px 16px;border:0;border-radius:10px;cursor:pointer}.tires dialog{background:#172226;color:#fff;border:1px solid #526164;border-radius:18px;max-width:440px;width:calc(100% - 40px)}.tires dialog::backdrop{background:#000a}#request-form{display:grid;gap:14px}#request-form label:has([name=consent]){display:block}#close{float:right}.eyebrow{text-transform:uppercase;letter-spacing:.15em;color:#d8fc4d}@media(max-width:850px){.fields{grid-template-columns:repeat(2,minmax(0,1fr))}.results{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.tires{padding:25px 16px 80px}.search{padding:16px}.fields,.results{grid-template-columns:1fr}.result-bar{align-items:flex-start;gap:12px;flex-direction:column}}
.tire-photo{height:170px;overflow:hidden;display:grid;place-items:center;color:#aab8b7;background:#101a1d;border-radius:12px}.tire-photo img{display:block;width:100%;height:170px;max-width:100%;max-height:170px;object-fit:contain}.photo-missing{font-size:.9rem}.axis-heading{grid-column:1/-1}.tire-pagination{margin-top:24px}.tire-pagination nav{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap}.tire-pagination button{background:#d8fc4d;color:#101813;border:0;border-radius:10px;padding:10px 16px;font:inherit;font-weight:700;cursor:pointer}.tire-pagination button:disabled{opacity:.45;cursor:default}
.offer-sources{display:flex;flex-direction:column;gap:6px;font-size:13px;margin:6px 0}.offer-sources select{max-width:100%;min-width:0;width:100%;background:#0d171a;color:#fff;border:1px solid #516064;border-radius:10px;padding:10px;font:inherit}
.source-stock{width:100%;border-collapse:collapse;margin:12px 0;font-size:13px;text-align:left}.source-stock th,.source-stock td{padding:7px 5px;border-bottom:1px solid #344044;vertical-align:top}.source-stock small{display:block;font-size:10px;color:#aab8b7}.source-stock th{color:#aab8b7;font-weight:500}

/* Tire offer presentation is scoped to tires; wheel and catalog cards retain their styles. */
.tire-offer{display:flex;flex-direction:column;min-width:0;padding:20px;gap:0;font-family:Arial,sans-serif}
.tire-offer .tire-photo{height:130px;flex-shrink:0;background:radial-gradient(ellipse at 50% 90%,#263639,#111b1e 75%);border:1px solid #2b393c}
.tire-offer .tire-photo img{height:130px}
.tire-offer h3{margin:16px 0 6px;min-height:48px;font-size:18px;line-height:1.3;overflow-wrap:anywhere}
.tire-offer .offer-specs{font-size:12px;line-height:1.5;color:#adbfbe;margin:0 0 14px;min-height:36px}
.tire-offer .supply-summary{margin-top:auto}
.tire-offer .supply-heading{display:flex;justify-content:space-between;gap:12px;font-size:11px;text-transform:uppercase;letter-spacing:.055em;color:#9caeae;margin-bottom:8px}
.tire-offer .supply-row{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:10px;width:100%;margin:0;padding:10px 8px;background:transparent;color:#eef5f4;border:1px solid transparent;border-bottom-color:#334346;border-radius:8px;text-align:left;font:inherit;min-height:62px}
.tire-offer .supply-row:hover{background:#233336}
.tire-offer button.supply-row{background:#203027}
.tire-offer .supply-row.is-selected{border-color:#d8fc4d;background:#27342a}
.tire-offer .supply-row.is-empty{opacity:.48}
.supply-code{display:inline-grid;place-items:center;width:30px;height:30px;flex-shrink:0;border:1px solid #4b6264;border-radius:9px;background:#233639;font-size:15px;font-weight:800;color:#eff9f5}
.tire-offer button.supply-row .supply-code{background:#d8fc4d;border-color:#d8fc4d;color:#15201a}
.tire-offer .supply-availability b{display:block;font-size:14px;font-weight:600}
.tire-offer .supply-row small{display:block;color:#afbfba;font-size:11px;line-height:1.4;margin-top:3px}
.tire-offer .supply-price{text-align:right;font-size:14px;white-space:nowrap}
.tire-offer .all-warehouses{display:flex;align-items:center;gap:7px;background:transparent;color:#e0edbd;padding:12px 0;margin:0 0 14px;font-size:13px;font-weight:600;border-radius:4px;text-align:left}
.tire-offer .all-warehouses span:first-child{padding:2px 6px;background:#2b3b35;border-radius:5px;font-size:11px}
.tire-offer .all-warehouses span:last-child{margin-left:auto;font-size:17px}
.tire-offer .offer-purchase{padding-top:14px;border-top:1px solid #3a4946}
.tire-offer .offer-chosen{color:#b9c8c2;font-size:11px;line-height:1.4;margin-bottom:10px}
.tire-offer .offer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tire-offer .offer-price{min-width:0}
.tire-offer .offer-price strong{display:block;font-size:24px;line-height:1.15;white-space:nowrap;letter-spacing:-.03em}
.tire-offer .offer-price small{display:block;font-size:11px;color:#a4b5af;margin-top:4px}
.tire-offer .offer-footer button{background:#d8fc4d;color:#15201a;margin:0;padding:13px 12px;font-size:13px;font-weight:750;white-space:nowrap;border:1px solid #d8fc4d;min-height:44px}
.tire-offer .offer-footer button:hover{background:#e7ff91}
.tire-offer button:focus-visible,.warehouse-dialog button:focus-visible,.warehouse-option:has(input:focus-visible){outline:2px solid #d8fc4d;outline-offset:3px}
.tire-offer .supply-fallback{font-size:13px;color:#bdcec7}
.tires .warehouse-dialog{box-sizing:border-box;width:600px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);padding:24px;overflow:hidden;border-color:#4c615b;box-shadow:0 24px 90px #0009;font-family:Arial,sans-serif}
.warehouse-dialog[open]{display:flex;flex-direction:column}
.warehouse-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-shrink:0}
.warehouse-header h2{margin:3px 0 0;font-size:26px;line-height:1.2}
.warehouse-dialog .warehouse-eyebrow{margin:0;color:#d8fc4d;text-transform:uppercase;letter-spacing:.08em;font-size:10px}
.warehouse-header button{background:#293a3b;border:1px solid #45605b;color:#fff;border-radius:10px;min-width:36px;height:36px;font-size:23px;cursor:pointer}
.warehouse-dialog #warehouse-title{font-size:16px;font-weight:650;line-height:1.4;margin:20px 0 6px;flex-shrink:0}
.warehouse-dialog #warehouse-count{font-size:12px;color:#aebfba;line-height:1.5;margin:0 0 16px;flex-shrink:0}
#warehouse-form{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.warehouse-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;max-height:48dvh;padding:2px 7px 2px 2px;scrollbar-color:#61776e #19282a;scrollbar-width:thin}
.warehouse-option{display:flex;align-items:center;gap:12px;min-height:68px;box-sizing:border-box;padding:10px;border:1px solid #354a46;border-radius:12px;margin-bottom:7px;cursor:pointer}
.warehouse-option:has(input:checked){background:#28392c;border-color:#a7c24d}
.warehouse-option input{width:16px;height:16px;accent-color:#d8fc4d;margin:0;flex-shrink:0}
.warehouse-detail{flex:1;min-width:0}
.warehouse-detail b{display:block;font-size:14px;font-weight:600}
.warehouse-dialog small{display:block;color:#b1c3ba;font-size:11px;margin-top:4px}
.warehouse-price{font-size:15px;font-weight:700;text-align:right;white-space:nowrap}
.warehouse-price small{font-weight:400}
.warehouse-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #3b4b45;padding-top:16px;margin-top:12px;flex-shrink:0}
.warehouse-actions span{font-size:12px;color:#b1c3ba}
.warehouse-actions button{border:0;border-radius:10px;padding:13px 20px;background:#d8fc4d;color:#15201a;font:inherit;font-weight:700;cursor:pointer}
@media(max-width:1050px) and (min-width:851px){.tire-offer{padding:14px}.tire-offer .offer-footer{flex-wrap:wrap}.tire-offer .offer-footer button{width:100%}}
@media(max-width:560px){.tire-offer{padding:18px}.tire-offer .tire-photo{height:140px}.tire-offer .tire-photo img{height:140px}.tires .warehouse-dialog{padding:18px;max-height:calc(100dvh - 24px)}.warehouse-option{gap:8px;padding:9px 7px}.warehouse-option .supply-code{width:26px;height:28px}.warehouse-price{font-size:14px}.warehouse-detail b{font-size:13px}.warehouse-actions span{font-size:11px}.warehouse-actions button{padding:12px 15px}}

.tabs [role=tab]:focus-visible{outline:3px solid #ff804f;outline-offset:4px}
