/* One manufacturer card design, shared by the hero and the offer directory. */
.reward-card{--card-bg:#263850;--card-end:#101a2b;--card-ink:#fff;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;width:100%;aspect-ratio:1.586;border:1px solid #ffffff26;border-radius:13px;padding:23px;color:var(--card-ink);background:linear-gradient(125deg,var(--card-bg),var(--card-end));box-shadow:0 12px 25px #0002,inset 0 1px #ffffff24;overflow:hidden;transition:transform .25s,box-shadow .25s;text-decoration:none!important}
.reward-card::before,.reward-card::after{content:'';position:absolute;z-index:-1;pointer-events:none;border:1px solid currentColor;opacity:.08;border-radius:50%;width:330px;height:330px;right:-195px;top:-50px}
.reward-card::after{width:410px;height:410px;right:-228px;top:-90px}
.reward-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px #0003,inset 0 1px #ffffff24}
.reward-card:focus-visible{outline:3px solid var(--brand-red);outline-offset:4px}
.reward-card--michelin{--card-bg:#174b9b;--card-end:#071e4c}
.reward-card--continental{--card-bg:#ffd66e;--card-end:#e9a622;--card-ink:#241a08}
.reward-card--bridgestone{--card-bg:#f4f3ef;--card-end:#c4c4c2;--card-ink:#242424}
.reward-card--bfgoodrich{--card-bg:#b72c3e;--card-end:#53162b}
.reward-card--goodyear{--card-bg:#163e76;--card-end:#091f44;--card-ink:#ffe58a}
.reward-card--pirelli{--card-bg:#ffdf55;--card-end:#edb72f;--card-ink:#7d101b}
.reward-card--firestone{--card-bg:#a82a35;--card-end:#43191e}
.reward-card--cooper{--card-bg:#246086;--card-end:#142f46}
.reward-card--dunlop{--card-bg:#f6db76;--card-end:#d6b345;--card-ink:#28241a}
.reward-card--falken{--card-bg:#255b9a;--card-end:#0b2b53}
.reward-card--general{--card-bg:#b82e38;--card-end:#5c1724}
.reward-card--hankook{--card-bg:#a84e25;--card-end:#512b1e}
.reward-card--kumho{--card-bg:#942336;--card-end:#371925}
.reward-card--nexen{--card-bg:#693985;--card-end:#30173e}
.reward-card--toyo{--card-bg:#245786;--card-end:#122d48}
.reward-card--uniroyal{--card-bg:#265548;--card-end:#102b24}
.reward-card--yokohama{--card-bg:#39393b;--card-end:#131315}
.reward-card-top,.reward-card-middle,.reward-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;position:relative}
.reward-card-logo{display:flex;align-items:center;justify-content:center;background:#fff;border-radius:4px;width:146px;height:39px;padding:7px 10px;flex-shrink:0}
.reward-card-logo img{width:100%;height:100%;object-fit:contain}
.reward-card-logo--darken img{filter:brightness(0)}
.reward-card-type{font-size:8px;letter-spacing:.08em;text-transform:uppercase;line-height:1.6;text-align:right;opacity:.8}
.reward-card-amount{display:block;line-height:1}
.reward-card-amount>small{display:block;font-size:11px;letter-spacing:.02em;margin:10px 0 5px;opacity:.85}
.reward-card-amount>strong{font-weight:500;font-size:48px;letter-spacing:-.06em;white-space:nowrap}
.reward-card-amount>strong>span{font-size:10px;font-weight:500;letter-spacing:.05em}
.reward-card-chip{width:34px;height:26px;margin-right:1px;opacity:.8;flex-shrink:0}
.reward-card-bottom{margin-top:12px;font-size:10px;line-height:1.5;letter-spacing:.01em}
.reward-card-bottom small{display:block;font-size:9px;opacity:.73;margin-top:2px}
.reward-card-arrow{font-size:22px}

/* The flush-left rail is reserved for wide layouts with room beside the hero. */
.hero-rebates{display:none}
.compact-rebates{background:#eeece7;border-bottom:1px solid #d8d4cd;padding:28px 0}
.compact-rebates>.container{display:flex;align-items:center;gap:32px}
.compact-rebates h2{font-family:var(--font,Inter,sans-serif);font-size:25px;font-weight:700;margin:0}
.compact-rebates p{font-size:12px;color:#6a6460;margin:0}
.compact-rebates .eyebrow{font-size:8px;color:var(--brand-red);margin-bottom:8px}
.compact-rebates .button{margin-left:auto;flex-shrink:0}
.compact-rebate-logos{display:flex;align-items:center;padding-left:4px;flex-shrink:0}
.compact-rebate-logo{width:75px;height:52px;display:flex;align-items:center;justify-content:center;padding:12px;background:#fff;border:1px solid #ddd9d2;border-radius:6px;box-shadow:0 3px 6px #0001;transform:rotate(-7deg)}
.compact-rebate-logo+.compact-rebate-logo{margin-left:-15px;transform:rotate(3deg)}
.compact-rebate-logo:last-child{transform:rotate(12deg)}
.compact-rebate-logo img{width:100%;height:100%;object-fit:contain}
@media(min-width:1500px){
 .compact-rebates{display:none}
 .cinematic-hero:has(.hero-rebates) .hero-copy{max-width:750px}
 .hero-rebates{position:absolute;inset:0 auto 0 0;z-index:4;width:clamp(290px,21vw,390px);display:flex;flex-direction:column;padding:25px 22px 22px;background:linear-gradient(100deg,#101113f2,#101113c9);border-right:1px solid #ffffff19;box-shadow:15px 0 50px #0002;color:#fff}
 .hero-rebates-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:13px}
 .hero-rebates-kicker{font-size:8px;letter-spacing:.14em;text-transform:uppercase;color:#b7b2ad}
 .hero-rebates h2{font-size:22px;line-height:1.2;margin:7px 0 0;letter-spacing:-.01em}
 .rebate-motion-toggle{display:grid;place-items:center;background:#ffffff09;border:1px solid #ffffff30;border-radius:50%;width:29px;height:29px;flex-shrink:0;color:#fff;font-size:10px;padding:0}
 .rebate-motion-toggle:hover{background:#ffffff20}
 .hero-rebates-window{min-height:0;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:transparent transparent;overscroll-behavior-y:contain;scroll-behavior:auto;mask-image:linear-gradient(transparent,#000 18px,#000 calc(100% - 22px),transparent);padding:14px 5px 22px;margin:0 -5px}
 .hero-rebates:hover .hero-rebates-window,.hero-rebates:focus-within .hero-rebates-window{scrollbar-color:#ffffff50 transparent}
 .hero-rebates-group{display:flex;flex-direction:column;gap:17px;padding-bottom:17px}
 .hero-rebates-group>div{flex-shrink:0}
 .hero-rebates-clone{display:none}
 .hero-rebates .reward-card{padding:18px;border-radius:11px;box-shadow:0 9px 18px #0004}
 .hero-rebates .reward-card-logo{width:126px;height:34px;padding:6px 9px}
 .hero-rebates .reward-card-amount>strong{font-size:42px}
 .hero-rebates .reward-card-type{font-size:7px}
 .hero-rebates .reward-card-bottom{margin-top:8px}
 .hero-rebates .reward-card-amount>small{margin-top:7px}
 .hero-rebates.is-enhanced:not(.is-static) .hero-rebates-clone{display:flex}
 .hero-rebates-footer{padding-top:17px;border-top:1px solid #ffffff20}
 .hero-rebates-footer>a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 15px;background:#f6f3ee;color:#1c1c1e;font-size:12px;font-weight:700;text-decoration:none}
 .hero-rebates-footer>a:hover{background:#fff}
 .hero-rebates-footer>a>span{font-size:20px;font-weight:400}
 .hero-rebates-footer>span{display:block;color:#aaa6a1;font-size:8px;margin-top:11px;line-height:1.6}
}
@media(min-width:1500px) and (max-height:800px){.hero-rebates{padding-block:17px}.hero-rebates-heading{padding-bottom:7px}.hero-rebates-footer{padding-top:12px}.hero-rebates h2{font-size:20px}}

.rebate-directory{background:#f6f4ef;color:#242322}
.rebate-page-hero{background:#eeece6;border-bottom:1px solid #dcd7cf;padding-bottom:56px}
.rebate-page-hero .breadcrumb{color:#716c66}
.rebate-intro-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:end;gap:90px;padding-top:30px}
.rebate-page-hero .eyebrow{color:var(--brand-red)}
.rebate-page-hero h1{font-size:clamp(44px,4.9vw,68px);line-height:1.05;margin:0}
.rebate-page-hero h1 em{font-style:normal;color:var(--brand-red)}
.rebate-intro-copy>p{font-size:18px;line-height:1.6;max-width:400px;margin:0 0 15px}
.rebate-intro-copy>.rebate-intro-note{font-size:12px;color:#6d675f;max-width:400px;line-height:1.7}
.rebate-intro-copy .text-link{font-size:11px;gap:26px;margin-top:6px}
.rebate-list-section{padding-top:54px;padding-bottom:60px}
.rebate-list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:28px;border-bottom:1px solid #d8d2c9;margin-bottom:34px}
.rebate-list-toolbar h2{font-size:29px;margin-bottom:7px}
.rebate-list-toolbar p{margin:0;color:#746d65;font-size:11px}
.rebate-brand-filter{display:flex;align-items:center;gap:14px;font-size:10px;color:#6a625b}
.rebate-brand-filter select{min-width:180px;border:1px solid #ccc6bc;border-radius:0;background:#fff;color:#292622;padding:11px 28px 11px 12px;font-size:12px}
.rebate-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:30px;row-gap:42px;align-items:start}
.rebate-offer-content{padding:23px 3px 0}
.rebate-offer-heading h3{font:600 16px/1.3 var(--font);letter-spacing:-.02em;margin:0 0 6px}
.rebate-offer-heading>span{font-size:11px;color:#716b63}
.rebate-reward-type{font-size:10px;color:#716b63;margin:6px 0 19px}
.rebate-eligibility{border-top:1px solid #d8d2c9;border-bottom:1px solid #d8d2c9}
.rebate-eligibility summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:15px;list-style:none;font-size:11px;font-weight:500;padding:13px 0}
.rebate-eligibility summary::-webkit-details-marker{display:none}
.rebate-eligibility summary>span{font-size:19px;font-weight:400;line-height:1}
.rebate-eligibility[open] summary>span{transform:rotate(45deg)}
.rebate-eligibility dl{margin:0 0 14px}
.rebate-eligibility dl>div{display:grid;grid-template-columns:42px 1fr;gap:12px;padding:11px 0;border-top:1px solid #e1dcd4;font-size:11px;line-height:1.7}
.rebate-eligibility dt{font-weight:700;color:var(--brand-red)}
.rebate-eligibility dd{margin:0;color:#5f5953}
.rebate-terms-note{font-size:10px;line-height:1.6;color:#6b6259;margin-bottom:15px}
.rebate-claim-link{display:flex;justify-content:space-between;align-items:center;padding:17px 0 0;font-weight:600;font-size:11px;color:var(--brand-red)}
.rebate-claim-link>span[aria-hidden]{font-size:19px}
.rebate-source-note{font-size:11px;line-height:1.8;color:#797167;max-width:860px;margin:48px 0 0}
.rebate-source-note a{text-decoration:underline;text-underline-offset:3px}
.rebate-empty{padding:30px 0;font-size:16px;color:#716b63}
.rebate-how{background:#eae6df;padding:52px 0 60px;border-top:1px solid #d9d3c9}
.rebate-how>.container>.eyebrow{color:var(--brand-red);margin-bottom:30px}
.rebate-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:55px;margin-bottom:30px}
.rebate-how-grid>div>span{font-size:11px;color:var(--brand-red);display:block;margin-bottom:12px}
.rebate-how h2{font-size:23px;margin-bottom:12px}
.rebate-how p{font-size:12px;line-height:1.8;color:#6c655e;max-width:300px;margin:0}
@media(max-width:1000px){.compact-rebate-logos{display:none}.rebate-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rebate-intro-grid{gap:35px}.rebate-intro-copy>p{font-size:16px}}
@media(max-width:600px){
 .compact-rebates{padding:27px 0}.compact-rebates>.container{display:grid;gap:19px}.compact-rebates .button{margin:0;justify-content:space-between}.compact-rebates h2{font-size:23px}
 .rebate-page-hero{padding-bottom:32px}.rebate-intro-grid{grid-template-columns:1fr;gap:24px;padding-top:14px}.rebate-page-hero h1{font-size:46px}.rebate-page-hero .eyebrow{font-size:9px;margin-bottom:16px}.rebate-intro-copy>p{font-size:16px;max-width:330px}.rebate-intro-copy>.rebate-intro-note{font-size:12px}.rebate-intro-copy .text-link{margin-top:3px}
 .rebate-list-section{padding-block:32px 40px}.rebate-list-toolbar{align-items:start;flex-direction:column;gap:20px;margin-bottom:27px;padding-bottom:22px}.rebate-list-toolbar h2{font-size:26px}.rebate-brand-filter{justify-content:space-between;width:100%}.rebate-brand-filter select{width:66%}.rebate-offer-grid{grid-template-columns:1fr;gap:34px}.reward-card{padding:22px}.reward-card-amount>strong{font-size:48px}.rebate-offer-content{padding-top:20px}.rebate-offer-heading h3{font-size:18px}.rebate-offer-heading>span,.rebate-reward-type{font-size:12px}.rebate-eligibility summary,.rebate-claim-link{font-size:12px}.rebate-eligibility dl>div{font-size:12px}.rebate-source-note{margin-top:34px}.rebate-how{padding-block:38px}.rebate-how-grid{grid-template-columns:1fr;gap:26px}.rebate-how-grid>div{border-top:1px solid #d1c9be;padding-top:20px}.rebate-how h2{font-size:25px}.rebate-how p{font-size:13px;max-width:none}.rebate-how .button{width:100%;justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){.reward-card{transition:none}.reward-card:hover{transform:none}.hero-rebates-track{animation:none!important}.hero-rebates-clone{display:none!important}.hero-rebates.is-enhanced .hero-rebates-window{overflow-y:auto!important}}

/* An in-page preview before leaving Newmarket to claim with the manufacturer. */
html.rebate-modal-open{overflow:hidden}
.rebate-dialog{width:min(900px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);padding:0;margin:auto;border:1px solid #d8d2c9;border-radius:14px;background:#f6f4ef;color:#242322;box-shadow:0 30px 100px #0006;overflow:hidden}
.rebate-dialog::backdrop{background:#090a0cbd;backdrop-filter:blur(7px)}
.rebate-dialog[open]{animation:rebate-dialog-arrive .2s ease-out}
.rebate-dialog-content{max-height:calc(100dvh - 50px);overflow-y:auto;overscroll-behavior:contain}
.rebate-dialog-close{position:absolute;z-index:2;top:14px;right:14px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #d8d2c9;border-radius:50%;background:#f6f4ef;color:#36312c}
.rebate-dialog-close:hover{background:#e6e0d7}
.rebate-dialog-grid{display:grid;grid-template-columns:.9fr 1.1fr;align-items:stretch}
.rebate-dialog-overview{background:#eae6df;padding:46px 30px 30px;border-right:1px solid #d8d2c9}
.reward-card--preview:hover{transform:none;box-shadow:0 12px 25px #0002,inset 0 1px #ffffff24}
.rebate-dialog .reward-card{padding:22px}
.rebate-dialog .reward-card-logo{width:133px;height:37px}
.rebate-dialog .reward-card-type{font-size:7px}
.rebate-dialog .reward-card-amount>strong{font-size:48px}
.rebate-dialog-reward{margin-top:32px}
.rebate-dialog .eyebrow{display:block;font-size:9px;letter-spacing:.14em;color:var(--brand-red);margin-bottom:12px}
.rebate-dialog-reward h3{font-family:var(--font);font-size:17px;font-weight:600;line-height:1.5;margin:0 0 12px}
.rebate-dialog-reward p{font-size:13px;line-height:1.8;color:#625b53;margin-bottom:22px}
.rebate-dialog .rebate-dialog-note{font-size:11px;line-height:1.8;color:#756d63;margin:0}
.rebate-dialog-details{padding:46px 34px 30px}
.rebate-dialog-details h2{font-size:34px;line-height:1.12;margin:0 0 22px}
.rebate-dialog-dates{padding:14px 0;border-top:1px solid #d8d2c9;border-bottom:1px solid #d8d2c9;margin-bottom:26px}
.rebate-dialog-dates>span{display:block;font-size:10px;color:#746b62;margin-bottom:4px}
.rebate-dialog-dates>strong{font-size:13px;font-weight:600}
.rebate-dialog-details h3{font:600 14px/1.4 var(--font);margin:0 0 6px}
.rebate-dialog-tier-note{font-size:11px;color:#756d63;line-height:1.6;margin-bottom:17px}
.rebate-dialog-tiers{margin:0 0 20px}
.rebate-dialog-tiers>div{display:grid;grid-template-columns:52px 1fr;gap:14px;padding:14px 0;border-top:1px solid #dfd9d1;font-size:12px;line-height:1.75}
.rebate-dialog-tiers dt{font-size:17px;font-weight:650;letter-spacing:-.03em;color:var(--brand-red)}
.rebate-dialog-tiers dd{margin:0;color:#514b45;overflow-wrap:anywhere}
.rebate-dialog-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 30px;border-top:1px solid #d8d2c9;background:#f6f4ef}
.rebate-dialog-footer p{font-size:11px;color:#746b62;margin:0;line-height:1.7}
.rebate-dialog-footer p>strong{display:block;font-size:13px;font-weight:600;color:#34302b}
.rebate-dialog-footer .button{min-width:200px;justify-content:space-between;padding:16px 22px;font-size:13px}
.rebate-offer{scroll-margin-top:140px}
@keyframes rebate-dialog-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){
 .rebate-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:12px}
 .rebate-dialog-content{max-height:calc(100dvh - 26px)}
 .rebate-dialog-grid{grid-template-columns:1fr}
 .rebate-dialog-overview{padding:56px 24px 24px;border-right:0;border-bottom:1px solid #d8d2c9}
 .rebate-dialog .reward-card{max-width:340px;margin-inline:auto}
 .rebate-dialog-reward{margin-top:24px}.rebate-dialog-reward h3{font-size:16px}
 .rebate-dialog-details{padding:26px 24px}.rebate-dialog-details h2{font-size:31px}
 .rebate-dialog-footer{padding:16px 22px;flex-wrap:wrap;gap:12px}.rebate-dialog-footer .button{width:100%}
}
@media(prefers-reduced-motion:reduce){.rebate-dialog[open]{animation:none}}

/* Three clear zones on wide screens: rebates, introduction, then the garage. */
.sr-only{position:absolute!important;width:1px!important;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
[data-rebate-carousel][hidden],[data-rebate-offer][hidden],[data-rebate-empty][hidden],.rebate-brand-filter[hidden],.rebate-motion-toggle[hidden]{display:none!important}
.rebate-directory .eyebrow,.compact-rebates .eyebrow{display:block;font-size:10px;font-weight:600;letter-spacing:.14em;margin-bottom:16px}
.rebate-directory h1,.rebate-directory h2,.compact-rebates h2,.hero-rebates h2,.rebate-dialog h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400}
.rebate-directory .breadcrumb{display:flex;align-items:center;gap:12px;padding-top:30px;font-size:12px}
.rebate-intro-copy .text-link{display:inline-flex;align-items:center;gap:26px;font-weight:600;color:var(--red)}
.rebate-dialog p,.rebate-directory p{font-family:var(--font)}
.rebate-dialog button{cursor:pointer}
.rebate-dialog button:focus-visible,.rebate-dialog a:focus-visible,.hero-rebates button:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.rebate-dialog-content{line-height:1.65}
.rebate-dialog-tiers dd{font-size:12px}
@media(min-width:1500px){
 .hero:has(.hero-rebates){--rebate-rail-width:clamp(290px,21vw,390px);display:grid;grid-template-columns:var(--rebate-rail-width) minmax(0,.95fr) minmax(0,1fr)}
 .hero-rebates{width:var(--rebate-rail-width);background:linear-gradient(100deg,#101113f5,#101113df)}
 .hero:has(.hero-rebates) .hero-grid{grid-column:2;grid-row:1;width:100%;margin:0;padding:36px clamp(30px,3vw,64px);display:flex;background:transparent}
 .hero:has(.hero-rebates) .hero-copy{padding:0;max-width:650px}
 .hero:has(.hero-rebates) .hero-copy h1{font-size:clamp(3rem,4vw,5rem)}
 .hero:has(.hero-rebates) .hero-eyebrow{font-size:11px;letter-spacing:.15em;line-height:1.8}
 /* Blend beneath the copy so the photo does not begin at a visible column edge. */
 .hero:has(.hero-rebates) .hero-media{grid-column:3;grid-row:1;position:relative;inset:auto;height:100%;margin-left:clamp(-200px,-10vw,-120px)}
 .hero:has(.hero-rebates) .hero-media img{object-position:65% center}
 .hero:has(.hero-rebates) .hero-media::after{background:linear-gradient(to right,var(--ink) 0%,rgba(19,19,17,.98) 10%,rgba(19,19,17,.88) 22%,rgba(19,19,17,.62) 38%,rgba(19,19,17,.36) 58%,rgba(19,19,17,.20) 80%,rgba(19,19,17,.14) 100%)}
 .hero:has(.hero-rebates) .hero-slogan{max-width:28vw}
 .hero-rebates .hero-rebates-heading{flex:none}
 .hero-rebates h2{color:#fff;font-size:23px;line-height:1.15}
 .hero-rebates .reward-card{min-height:0;line-height:1.5}
 .hero-rebates .reward-card-logo img{filter:none}
 .hero-rebates .reward-card-logo--darken img{filter:brightness(0)}
}
