/* =========================================================
   Homepage styles.
   Every dimension below is measured off the live site at
   1440px (desktop) and 390px (mobile) and matched 1:1.
   ========================================================= */

:root {
    --yellow:      #ffbe00;
    --yellow-dark: #e6ab00;
    --header-bg:   #001212;
    --dark:        #1a1a1a;
    --footer-bg:   #121212;
    --sub-bg:      #333333;
    --page-bg:     #eeeeee;
    --ink:         #1a1a1a;
    --muted:       rgba(255, 255, 255, 0.72);
    --line:        rgba(255, 255, 255, 0.12);

    --container:   1240px;
    --gutter:      10px;

    --display: 'industry', 'Archivo', 'Oswald', 'Arial Narrow', Arial, sans-serif;
    --body:    'proxima-nova', 'Mulish', arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--page-bg);
    font-family: var(--body);
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.clearfix::after { content: ""; display: table; clear: both; }

.is-srOnly {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hp-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* icons come from Font Awesome (assets/js) plus the site icon sprite */
.fa { font-style: normal; }


/* =========================================================
   TOP BAR   live: 1440x52, bg #ffbe00
   ========================================================= */

#htop { background: var(--yellow); color: var(--ink); font-size: 20px; line-height: 30px; }

#htop .hinner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 17px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#hphone {
    display: flex; align-items: center; gap: 6px;
    font-family: var(--display);
    font-size: 20px; font-weight: 600;
    letter-spacing: normal; text-transform: none;
}
#hphone a:hover { text-decoration: underline; }

#hlinks { display: flex; align-items: center; gap: 22px; font-size: 16px; font-weight: 700; }
#hlinks > a, #account-dd { cursor: pointer; white-space: nowrap; }
#hlinks > a:hover, #account-dd:hover { text-decoration: underline; }

.account-wrap { position: relative; }

#accountMenu {
    position: absolute; top: calc(100% + 10px); right: 0;
    min-width: 200px; background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.14);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    padding: 6px 0; z-index: 60; display: none;
}
.account-wrap.is-open #accountMenu { display: block; }
#accountMenu ul { list-style: none; margin: 0; padding: 0; }
#accountMenu a { display: block; padding: 8px 15px; font-size: 13px; color: #333; }
#accountMenu a:hover { background: #f2f2f2; color: #000; }
#accToplink { font-weight: 700; }


/* =========================================================
   HEADER   live: 1440x92, bg #001212, container 1240
   logo 250x82 absolute @ left 15
   shop 194x52 @446 | machine 194x52 @661 | search 450x50 @875
   ========================================================= */

.header { background: var(--header-bg); position: relative; z-index: 50; }

.header-inner {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    height: 92px;
    padding: 0 15px 0 346px;
    display: flex;
    align-items: center;
    gap: 21px;
}

#logolink { position: absolute; left: 15px; top: 5px; z-index: 10; }
#header-logo { width: 250px; height: 82px; object-fit: contain; object-position: left center; }

#shop-parts {
    flex: 0 0 194px;
    height: 52px;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    font-family: var(--display);
    font-size: 18px; font-weight: 600; line-height: 52px;
    letter-spacing: normal; text-transform: uppercase;
    user-select: none;
    transition: background 0.15s, border-color 0.15s;
}
#shop-parts:hover,
#shop-parts[aria-expanded="true"] { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
#shop-parts .fa-angle-down { font-size: 13px; }

#mm-nav-btn {
    flex: 0 0 194px;
    height: 52px;
    padding: 0 12px;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--yellow); color: var(--ink); border: 0;
    font-family: var(--display);
    font-size: 18px; font-weight: 700; line-height: 27px;
    letter-spacing: 0.4px; text-transform: uppercase;
    transition: background 0.15s;
}
#mm-nav-btn:hover { background: var(--yellow-dark); }
#mm-nav-label { flex: 1 1 auto; text-align: left; line-height: 1.05; }
#mm-nav-chevron { font-size: 18px; }

.mm-equip-icon { width: 30px; height: 30px; flex-shrink: 0; fill: #000; display: block; }

#header-search { flex: 0 0 450px; margin-left: -1px; min-width: 0; }
#header-search .form, #header-search .form-fieldset { margin: 0; padding: 0; border: 0; }
#header-search .form-field { position: relative; margin: 0; height: 50px; display: flex; align-items: center; }
#header-search .form-input {
    width: 100%; height: 40px;
    padding: 0 52px 0 14px;
    border: 0; background: #fff;
    font-family: var(--body); font-size: 16px; color: #333;
}
#header-search .form-input:focus { outline: 2px solid var(--yellow); }
.search-submit {
    position: absolute; top: 0; right: 0;
    width: 50px; height: 40px; top: 5px;
    border: 0; background: transparent;
    color: var(--ink); font-size: 22px;
}

.mobileMenu-toggle, #mphonelink, #mm-mobile-btn { display: none; }


/* =========================================================
   MEGA MENU
   ========================================================= */

#menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--header-bg);
    border-top: 3px solid var(--yellow);
    display: none; z-index: 55;
}
#menu.is-open { display: block; }

.navPages { max-width: var(--container); margin: 0 auto; padding: 20px 15px 26px; }
.navPages-list {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 26px;
}
.navPages-item a {
    display: block; padding: 9px 0;
    color: #fff; font-size: 15px;
    border-bottom: 1px solid var(--line);
}
.navPages-item a:hover { color: var(--yellow); }
.navPages-item.ylink a { color: var(--yellow); font-weight: 700; }


/* =========================================================
   ADD MY MACHINE PANEL
   ========================================================= */

#mm-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 90; }

#mm-panel {
    position: fixed; top: 0; right: 0;
    width: 380px; max-width: 92vw; height: 100%;
    background: #fff; z-index: 95;
    display: flex; flex-direction: column;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

#mm-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px;
    background: var(--header-bg); color: #fff;
}
#mm-panel-head strong {
    font-family: var(--display); font-size: 18px; font-weight: 700;
    letter-spacing: 0.4px; text-transform: uppercase;
}
#mm-panel-close { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; padding: 0 4px; }
#mm-panel-close:hover { color: var(--yellow); }

#mm-panel-form { padding: 18px; }
#mm-panel-intro {
    margin: 0 0 6px;
    font-family: var(--display); font-size: 20px; font-weight: 700;
    text-transform: uppercase; color: var(--ink);
}
#mm-panel-form p { margin: 0 0 8px; font-size: 14px; color: #555; }
.mm-panel-disclaimer { font-size: 12px !important; color: #888 !important; }

.mm-field { margin-top: 14px; }
.mm-field label {
    display: block; margin-bottom: 5px;
    font-family: var(--display); font-size: 13px; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase; color: #444;
}
.mm-field select {
    width: 100%; height: 40px; padding: 0 10px;
    border: 1px solid #ccc; background: #fff;
    font-family: var(--body); font-size: 14px; color: #333;
}
.mm-field select:disabled { background: #f4f4f4; color: #999; }

#mm-panel-btns { display: flex; gap: 10px; margin-top: 20px; }
#mm-save-machine, #mm-panel-cancel {
    flex: 1; height: 42px; border: 0;
    font-family: var(--display); font-size: 14px; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase;
}
#mm-save-machine { background: var(--yellow); color: var(--ink); }
#mm-save-machine:hover { background: var(--yellow-dark); }
#mm-panel-cancel { background: #ececec; color: #444; }

#mm-panel-saved { padding: 14px 18px 0; }
#mm-panel-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mm-chip {
    background: var(--ink); color: #fff;
    font-family: var(--display); font-size: 12px; font-weight: 700;
    text-transform: uppercase; padding: 5px 10px;
}
#mm-panel-actions { margin-top: 10px; }
#mm-clear-link { font-size: 13px; color: #a07600; text-decoration: underline; }


/* =========================================================
   HERO STRIP   live: 1220x140 @ y+16, bg #1a1a1a, pad 15/24
   ========================================================= */

#shopbytype { padding: 16px 0 21px; }

.bt-home-hero { background: var(--dark); margin-bottom: 20px; text-align: center; color: #fff; }
.bt-home-hero__inner { padding: 15px 24px; }

.bt-home-hero__crumb {
    display: flex; align-items: center; justify-content: flex-start; gap: 10px;
    min-height: 18px;
    font-family: var(--display); font-size: 12px; font-weight: 700; line-height: 18px;
    letter-spacing: 2.16px; text-transform: uppercase; color: var(--yellow);
}
.bt-home-hero__crumb::before {
    content: ""; width: 28px; min-height: 2px; background: var(--yellow); flex: 0 0 auto;
}

.bt-home-hero__title {
    margin: 14px 0 12px;
    font-family: var(--display);
    font-size: 44px; font-weight: 900; line-height: 46.2px;
    letter-spacing: -0.44px; text-transform: uppercase; color: #fff; text-align: left;
}
.bt-home-hero__title em { color: var(--yellow); font-style: italic; }
@media (min-width: 1024px) { .bt-home-hero__title { white-space: nowrap; } }

.bt-home-hero__trust {
    display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 26px; min-height: 20px;
    font-family: var(--display); font-size: 13px; font-weight: 700;
    line-height: 19.5px; letter-spacing: 1.04px; color: #ccc;
}
.bt-home-hero__trust span {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; line-height: 19.5px;
    letter-spacing: 1.04px; text-transform: uppercase; color: #ccc;
}
/* Font Awesome swaps the <i> for an <svg>, so colour both */
.bt-home-hero__trust .fa,
.bt-home-hero__trust span svg { color: var(--yellow); font-size: 13px; }


/* =========================================================
   BRAND TILES   live: 4 x 297x90, gap 10, pad 20/18/16
   ========================================================= */

#hp-top-brands, #hp-action-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
    margin-bottom: 10px;
}

.brand-hero-card {
    min-height: 90px;
    padding: 20px 18px 16px;
    background: var(--dark);
    border-bottom: 4px solid var(--yellow);
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    gap: 6px; text-align: center;
    transition: background 0.15s;
}
.brand-hero-card:hover { background: #262626; }

.brand-hero-name {
    min-height: 24px; line-height: 24.2px;
    font-family: var(--display); font-size: 22px; font-weight: 900;
    letter-spacing: normal; text-transform: uppercase; color: var(--yellow);
    white-space: nowrap;
}
.brand-hero-label { display: none; }
.brand-hero-cta {
    min-height: 20px; line-height: 19.5px;
    display: block;
    font-family: var(--body); font-size: 13px; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase; color: #fff;
}
.brand-hero-card:hover .brand-hero-cta { color: var(--yellow); }

/* more brands   live: 1220x57, 16px/700 */
#more-brands-toggle {
    display: block; width: 100%; min-height: 57px;
    margin: 24px 0 30px;
    padding: 14px 18px;
    background: var(--dark); color: #fff;
    border: 1px solid #ddd; border-top: 3px solid var(--yellow);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: var(--display); font-size: 16px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    transition: background 0.15s;
}
#more-brands-toggle:hover { background: #262626; }
.more-brands-icon { color: var(--yellow); font-weight: 900; margin-left: 5px; }

#hp-shopby {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
    margin: -18px 0 26px;
}
#hp-shopby.hp-shopby-collapsed { display: none; }
#hp-shopby a {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    min-height: 46px; padding: 0 14px;
    background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-family: var(--display); font-size: 15px; font-weight: 600;
    text-transform: uppercase; color: var(--ink);
}
#hp-shopby a:hover { background: var(--yellow); }
#hp-shopby .fa { color: #999; }


/* =========================================================
   JUMP TO CATEGORY   live: 1220x169, head 58 @20px/700
   ========================================================= */

#parts-finder {
    background: #fff;
    border: 1px solid #ddd; border-top: 4px solid var(--yellow);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); margin-bottom: 19px;
}

.pf-header {
    min-height: 58px; padding: 14px 20px;
    background: var(--dark); color: var(--yellow);
    font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 30px;
    letter-spacing: 1px; text-transform: uppercase; text-align: center;
}
.pf-toggle-label { display: none; font-family: var(--display); line-height: 18px; }

.pf-body { display: flex; gap: 22px; padding: 18px 20px 19px; text-align: center; }
.pf-field { flex: 1 1 0; display: flex; flex-direction: column; text-align: center; }
.pf-field label {
    display: block; min-height: 20px; margin-bottom: 5px;
    font-family: var(--display); font-size: 13px; font-weight: 700; line-height: 19.5px;
    letter-spacing: 0.5px; text-transform: uppercase; color: #444;
}
.pf-field select {
    width: 100%; height: 44px; padding: 10px 12px;
    border: 1px solid #ccc; background: #fff;
    font-family: var(--body); font-size: 16px; color: var(--header-bg);
}
.pf-field select:disabled { background: #f4f4f4; color: #999; }


/* =========================================================
   RETURNS STRIP   live: 1220x99
   ========================================================= */

.return-btn {
    display: flex; flex-direction: column; align-items: center;
    min-height: 99px;
    padding: 20px 24px 16px;
    background: var(--yellow);
    border-bottom: 4px solid var(--header-bg);
    text-align: center;
    transition: background 0.15s;
}
.return-btn:hover { background: var(--yellow-dark); }

.return-btn-title {
    min-height: 33px; line-height: 33px;
    font-family: var(--display); font-size: 22px; font-weight: 900;
    letter-spacing: 1px; text-transform: uppercase; color: var(--ink);
}
.return-btn-cta {
    min-height: 20px; line-height: 20px; margin-top: 6px;
    font-family: var(--display); font-size: 13px; font-weight: 700;
    letter-spacing: 0.6px; text-transform: uppercase; color: var(--ink);
}


/* =========================================================
   FULL-BLEED HERO   live: 1440x460
   ========================================================= */

#hp-hero { position: relative; min-height: 460px;  background: #000; }

.hp-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-hero-still { background-size: cover; background-position: center; }

.hp-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right,
        rgba(0,0,0,0.95) 0, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0.55) 55%,
        rgba(0,0,0,0.15) 80%, rgba(0,0,0,0) 100%);
}

#heroinner {
    position: relative; z-index: 2;
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 0 0 20px;
    display: flex; flex-direction: column; justify-content: center;
}
#heroinner h3 {
    margin: 0;
    min-height: 54px; line-height: 36px; padding: 18px 0 0;
    font-family: var(--display); font-size: 24px; font-weight: 700;
    letter-spacing: 0.25px; text-transform: uppercase; color: var(--yellow);
}
.hero-eyebrow-bar { width: 42px; height: 3px; background: var(--yellow); margin: 10px 0 11px; }
#heroinner h2 {
    margin: 0;
    min-height: 75px;
    font-family: var(--display); font-size: 50px; font-weight: 700; line-height: 75px;
    letter-spacing: 0.25px; text-transform: uppercase; color: #fff;
}
#heroinner p {
    width: 640px; max-width: 100%;
    margin: 0;
    font-size: 21px; line-height: 31px; color: rgba(255, 255, 255, 0.95);
}

.hero-btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 39px; }
.hero-btn-2 {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 49px; padding: 0 26px;
    font-family: var(--display); font-size: 14px; font-weight: 700; line-height: 21px;
    letter-spacing: 1.12px; text-transform: uppercase;
    transition: background 0.15s, color 0.15s;
}
.hero-btn-2--primary { background: var(--yellow); color: var(--ink); min-width: 182px; }
.hero-btn-2--primary:hover { background: var(--yellow-dark); }
.hero-btn-2--secondary { border: 2px solid var(--yellow); color: var(--yellow); min-width: 131px; }
.hero-btn-2--secondary:hover { background: var(--yellow); color: var(--ink); }


/* =========================================================
   WHAT WE DO   live: 1440x831, pad 61, boxes 387 gap 20
   ========================================================= */

#hp-readmore { background: var(--dark); padding: 61px 0; }

.rm-header { margin-bottom: 28px; }
.rm-title {
    margin: 0 20px;
    min-height: 40px;
    font-family: var(--display); font-size: 38px; font-weight: 900; line-height: 39.9px;
    letter-spacing: 0.76px; text-transform: uppercase; color: #fff;
}
.rm-accent { color: var(--yellow); }
.rm-period { color: #fff; }
.rm-bar { width: 42px; height: 3px; background: var(--yellow); margin: 14px 0 0 20px; }

.rm-grid { display: grid; grid-template-columns: repeat(3, 387px); gap: 20px; justify-content: start; }

.rmbox {
    background: #fff; min-height: 624px; display: flex; flex-direction: column;
    border-bottom: 4px solid var(--yellow);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-size: 24px; line-height: 24px;
}
.rmbox-head {
    min-height: 160px; padding: 20px 20px 18px; background: #2a2a2a;
    border-top: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow);
}
.rmbox-icon { display: block; min-height: 40px; line-height: 40px; margin-bottom: 25px; font-size: 30px; color: var(--yellow); }
.rmbox-head strong {
    display: block;
    font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 24px;
    letter-spacing: 0.2px; text-transform: uppercase; color: #fff;
}
.rmbox-body {
    flex: 1 1 auto; 
    background: #fff; padding: 30px 20px 20px;
}
.rmbox-body p { margin: 0 0 20px; font-size: 15px; line-height: 20px; color: #3a3a3a; }
.rmbox-body p:last-child { margin-bottom: 0; }
.rmbox-body a { font-weight: 700; color: #1a1a1a; border-bottom: 2px solid var(--yellow); }
.rmbox-body a:hover { background: var(--yellow); }


/* =========================================================
   REVIEWS   live: 1440x458, cards 346x273 gap 20
   ========================================================= */

#hp-quote { background: var(--dark); padding: 0; overflow: hidden; }

.hp-quote-inner { max-width: none; margin: 0; padding: 40px 0; }
.hp-quote-header { max-width: var(--container); margin: 0 auto 28px; padding: 0 var(--gutter); }
.hp-quote-title {
    margin: 0 20px; min-height: 40px;
    font-family: var(--display); font-size: 38px; font-weight: 900; line-height: 39.9px;
    letter-spacing: 0.76px; text-transform: uppercase; color: #fff;
}
.hp-quote-accent { color: var(--yellow); }
.hp-quote-period { color: #fff; }
.hp-quote-bar { width: 42px; height: 3px; background: var(--yellow); margin: 14px 0 0 20px; }

.tm-carousel { position: relative; }
.marquee-row { position: relative; overflow: hidden; padding: 10px 0; }
.marquee-track { display: flex; width: max-content; animation: tm-scroll 80s linear infinite; }
.marquee-row:hover .marquee-track, .marquee-track.is-paused { animation-play-state: paused; }

@keyframes tm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.tm-card {
    flex: 0 0 346px; min-height: 273px;
    margin-right: 20px;
    background: #2a2a2a; border: 1px solid #3a3a3a;
    padding: 20px 22px; display: block;
}
.tm-stars { color: var(--yellow); font-size: 15px; letter-spacing: 3px; line-height: 22.5px; min-height: 23px; margin-bottom: 11px; }
.tm-quote { margin: 0 0 14px; font-size: 14px; line-height: 23.1px; color: #d0d0d0; }
.tm-name {
    font-family: var(--display); font-size: 12px; font-weight: 700; line-height: 18px;
    letter-spacing: 0.96px; text-transform: uppercase; color: #d0d0d0;
}
.tm-loc { color: #d0d0d0; font-weight: 400; }

.marquee-fade { position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.marquee-fade--left  { left: 0;  background: linear-gradient(to right, var(--dark), rgba(0,0,0,0)); }
.marquee-fade--right { right: 0; background: linear-gradient(to left, var(--dark), rgba(0,0,0,0)); }

.tm-arrows { display: none; justify-content: flex-end; gap: 8px; margin-top: 7px; }
.tm-arrow {
    padding: 1px 6px; border-radius: 50%;
    background: var(--yellow); border: 0; color: var(--ink);
    font-size: 16px; line-height: 24px;
    display: flex; align-items: center; justify-content: center;
}
.tm-arrow:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }


/* =========================================================
   APPAREL BANNER   live: 1440x380, title 42/900, btn 211x52
   ========================================================= */

.merch-ad { position: relative; height: 380px; overflow: hidden; background: #1d231d; }
.merch-ad img { width: 100%; height: 380px; object-fit: cover; }

.merch-ad__overlay {
    position: absolute; inset: 0;
    width: 648px;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 40px 48px;
}
.merch-ad__title {
    margin: 0 0 24px;
    font-family: var(--display); font-size: 42px; font-weight: 900; line-height: 46.2px;
    letter-spacing: 0.25px; text-transform: uppercase; color: #fff;
}
.merch-ad__btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 211px; min-height: 52px; padding: 0 24px;
    background: var(--yellow); color: var(--ink);
    font-family: var(--display); font-size: 16px; font-weight: 900;
    letter-spacing: 0.8px; text-transform: uppercase;
}
.merch-ad__btn:hover { background: var(--yellow-dark); }


/* =========================================================
   CONTACT   live: 1440x401, phone box 347x138
   ========================================================= */

#hp-contact { background: var(--dark); min-height: 401px; display: flex; align-items: center; }

.hp-contact-inner {
    width: 100%;
    display: grid; grid-template-columns: 1fr 347px; gap: 60px; align-items: center;
}

.hp-contact-left { padding-bottom: 40px; }
.hp-contact-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--display); font-size: 13px; font-weight: 700;
    letter-spacing: 1.3px; text-transform: uppercase; color: var(--yellow);
}
.hp-contact-title {
    margin: 12px 0 0; min-height: 46px;
    font-family: var(--display); font-size: 44px; font-weight: 900; line-height: 46.2px;
    letter-spacing: 0.25px; text-transform: uppercase; color: #fff;
}
.hp-contact-accent { color: var(--yellow); }
.hp-contact-bar { width: 42px; height: 3px; background: var(--yellow); margin: 16px 0 18px; }
.hp-contact-sub { max-width: 520px; min-height: 101px;  margin: 0; font-size: 21px; line-height: 33.6px; color: rgba(255,255,255,0.88); }

.hp-contact-right { display: flex; flex-direction: column; gap: 14px; }

.hp-contact-phone {
    display: block; min-height: 138px; padding: 22px 31px;
    background: var(--yellow); color: var(--ink); transition: background 0.15s;
}
.hp-contact-phone:hover { background: var(--yellow-dark); }
.hp-contact-phone-label {
    display: block;
    font-family: var(--display); font-size: 14px; font-weight: 700;
    letter-spacing: 1.1px; text-transform: uppercase;
}
.hp-contact-phone-num {
    display: block; margin: 4px 0 6px; min-height: 36px;
    font-family: var(--display); font-size: 36px; font-weight: 900; line-height: 36px;
    letter-spacing: 0.36px;
}
.hp-contact-hours { display: block; font-size: 13px; font-weight: 700; }

.hp-contact-email {
    display: flex; align-items: center; justify-content: center; min-height: 49px;
    border: 2px solid var(--yellow); color: var(--yellow);
    font-family: var(--display); font-size: 14px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    transition: background 0.15s, color 0.15s;
}
.hp-contact-email:hover { background: var(--yellow); color: var(--ink); }


/* =========================================================
   FOOTER   live: 1440x1060, cols 22/34/22/22 of 1240
   ========================================================= */

.footer { background: var(--footer-bg); color: rgba(255,255,255,0.85); }

#footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px 0 20px;
    display: flex; flex-wrap: wrap; align-items: flex-start;
}

.bt-anniv {
    flex: 0 0 100%;
    display: flex; justify-content: center;
    padding: 0 32px 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px;
}
.bt-anniv__inner { display: flex; align-items: center; gap: 28px; max-width: 961px; }
.bt-anniv__inner > div { min-height: 264px; }
.bt-anniv__img { width: 285px; height: 300px; object-fit: contain; flex: 0 0 auto; }
.bt-anniv__headline {
    font-family: var(--display); font-size: 48px; font-weight: 800; line-height: 52.8px;
    letter-spacing: 1.92px; text-transform: uppercase; color: var(--yellow);
}
.bt-anniv__headline em { color: #fff; font-style: italic; }
.bt-anniv__body { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.bt-anniv__btns { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.bt-anniv__btn {
    display: inline-flex; align-items: center; height: 40px; padding: 0 20px;
    font-family: var(--display); font-size: 14px; font-weight: 700;
    letter-spacing: 0.9px; text-transform: uppercase;
}
.bt-anniv__btn--primary { background: var(--yellow); color: var(--ink); }
.bt-anniv__btn--primary:hover { background: var(--yellow-dark); }
.bt-anniv__btn--secondary { border: 2px solid var(--yellow); color: var(--yellow); }
.bt-anniv__btn--secondary:hover { background: var(--yellow); color: var(--ink); }

.footercol { flex: 0 0 22%; min-width: 0; padding: 0 20px 25px; }
.footercol:nth-of-type(3) { flex-basis: 34%; }

.footercol strong {
    display: block; min-height: 27px; line-height: 27px; margin-bottom: 10px;
    font-family: var(--display); font-size: 18px; font-weight: 700;
    letter-spacing: 0.9px; text-transform: uppercase; color: var(--yellow);
}
.footercol p + strong, .footercol ul + strong { margin-top: 24px; }
.footercol ul { list-style: none; margin: 0; padding: 0; }
.footercol li { margin: 0; min-height: 30px; }
.footercol a { font-size: 14px; line-height: 30px; color: rgba(255,255,255,0.85); }
.footercol a:hover { color: var(--yellow); }
.footercol p { margin: 0 0 10px; font-size: 14px; line-height: 21px; color: rgba(255,255,255,0.85); }
.footercol .fine { font-size: 13.5px; color: var(--muted); }

#bbblink { display: block; position: relative; overflow: hidden; width: 150px; height: 68px; margin: 13px 0 0; }
#bbblinkimg { width: 300px; max-width: none; border: 0; padding: 0; }
.association-logo-row { margin-top: 16px; }
.ass-col { display: flex; flex-direction: column; align-items: flex-start; }
.assoc-pair { display: flex; align-items: center; gap: 8px; }
.assoc-sm { width: 100%; max-width: 90px; }
.assoc-lg { width: 100%; max-width: 200px; }
.assoc-gap { margin-top: 20px; }
.ass-col p { margin: 0; font-size: 13px; line-height: 18px; color: var(--muted); }

#nlwrapper { margin: 12px 0 16px; }
#nlwrapper .form { display: flex; }
#nl_email {
    flex: 1 1 auto; min-width: 0; height: 38px; padding: 0 11px;
    border: 0; background: #fff; font-family: var(--body); font-size: 14px;
}
#nlwrapper input[type="submit"] {
    height: 38px; padding: 0 16px; border: 0;
    background: var(--yellow); color: var(--ink);
    font-family: var(--display); font-size: 13px; font-weight: 700;
    letter-spacing: 0.7px; cursor: pointer;
}
#nlwrapper input[type="submit"]:hover { background: var(--yellow-dark); }

.shareicons { list-style: none; display: flex; gap: 14px; margin: 0 0 16px; padding: 0; }
.social {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; color: rgba(255,255,255,0.8); position: relative;
}
.social:hover { color: var(--yellow); }
.social svg { width: 24px; height: 24px; fill: currentColor; }

#subfooter { background: var(--sub-bg); }
.subfooter-inner {
    max-width: var(--container); margin: 0 auto;
    min-height: 61px; padding: 0 15px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 4px 34px;
    font-size: 13.5px; color: rgba(255,255,255,0.8); text-align: center;
}
.subfooter-links a:hover { color: var(--yellow); }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1279px) {
    .header-inner { padding-left: 300px; gap: 14px; }
    #logolink { top: 12px; }
    #header-logo { width: 235px; }
    #shop-parts, #mm-nav-btn { flex-basis: 170px; font-size: 16px; }
    .rm-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023px) {
    #hp-top-brands, #hp-action-row, #hp-shopby { grid-template-columns: repeat(3, 1fr); }
    .rm-grid { grid-template-columns: 1fr; }
    #hp-contact { height: auto; padding: 54px 0; }
    .hp-contact-inner { grid-template-columns: 1fr; gap: 28px; }
    .footercol, .footercol:nth-of-type(2) { flex-basis: 50%; }
}


/* =========================================================
   MOBILE   live at 390: no top bar, header 134,
   tiles 180x82 gap 10, hero 612 (image 283 + copy)
   ========================================================= */

@media (max-width: 767px) {

    #htop { display: none; }

    .header-inner {
        height: 134px;
        padding: 0 10px;
        flex-wrap: wrap;
        align-content: flex-start;
        gap: 0;
    }

    .mobileMenu-toggle {
        display: block; order: 1;
        width: 34px; height: 66px; position: relative; flex: 0 0 34px;
    }
    .mobileMenu-toggleIcon {
        position: absolute; top: 50%; left: 2px;
        width: 26px; height: 2px; margin-top: -1px;
        background: #fff; font-size: 0; color: transparent;
    }
    .mobileMenu-toggleIcon::before, .mobileMenu-toggleIcon::after {
        content: ""; position: absolute; left: 0;
        width: 26px; height: 2px; background: #fff;
        transition: transform 0.2s, top 0.2s;
    }
    .mobileMenu-toggleIcon::before { top: -8px; }
    .mobileMenu-toggleIcon::after  { top: 8px; }
    .mobileMenu-toggle.is-open .mobileMenu-toggleIcon { background: transparent; }
    .mobileMenu-toggle.is-open .mobileMenu-toggleIcon::before { top: 0; transform: rotate(45deg); }
    .mobileMenu-toggle.is-open .mobileMenu-toggleIcon::after  { top: 0; transform: rotate(-45deg); }

    #logolink {
        position: static; order: 2;
        flex: 1 1 auto; height: 66px;
        display: flex; align-items: center; justify-content: center;
    }
    #header-logo { width: 160px; }

    #mphonelink {
        display: inline-flex; order: 3;
        align-items: center; justify-content: center;
        width: 44px; height: 66px; flex: 0 0 44px;
        color: var(--yellow); font-size: 22px;
    }

    #header-search { order: 4; flex: 0 0 293px; height: 60px; }
    #header-search .form-input { height: 60px; font-size: 16px; padding: 0 48px 0 12px; }
    .search-submit { height: 60px; width: 48px; }

    #mm-mobile-btn {
        display: inline-flex; order: 5;
        flex: 1 1 auto; height: 60px;
        align-items: center; justify-content: center; gap: 7px;
        background: var(--yellow); color: var(--ink); border: 0;
        font-family: var(--display); font-size: 13px; font-weight: 700;
        letter-spacing: 0.4px; text-transform: uppercase; line-height: 1.1;
    }
    #mm-mobile-btn .mm-equip-icon { width: 22px; height: 14px; }

    #shop-parts, #mm-nav-btn { display: none; }

    #menu { position: static; border-top: 0; }
    .navPages { padding: 0 10px 12px; }
    .navPages-list { grid-template-columns: 1fr; gap: 0; }
    .navPages-item a { padding: 13px 4px; }

    /* hero strip runs full-bleed on phones */
    #shopbytype { padding: 0 0 20px; }
    .bt-home-hero { margin: 0 -10px 20px; }
    .bt-home-hero__inner { padding: 24px 16px 20px; }
    .bt-home-hero__crumb { font-size: 11px; letter-spacing: 0.8px; }
    .bt-home-hero__crumb::before { width: 20px; }
    .bt-home-hero__title { font-size: 26px; margin: 11px 0 13px; }
    .bt-home-hero__trust { height: auto; gap: 0 18px; line-height: 19.5px; }
    .bt-home-hero__trust span { font-size: 11px; }

    #hp-top-brands, #hp-action-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    #hp-shopby { grid-template-columns: 1fr; }
    .brand-hero-card { min-height: 82px; padding: 16px 10px 14px; gap: 6px; }
    .brand-hero-name { font-size: 15px; min-height: 16px; line-height: 16px; white-space: normal; }
    .brand-hero-cta { font-size: 13px; }

    #more-brands-toggle { margin: 14px 0 30px; }

    .pf-header {
        min-height: 55px; font-size: 18px;
        justify-content: space-between; padding: 0 16px; cursor: pointer;
    }
    .pf-toggle-label { display: inline; font-family: var(--body); font-size: 12px; font-weight: 700; opacity: 0.8; }
    #parts-finder.pf-collapsed .pf-body { display: none; }
    .pf-body { grid-template-columns: 1fr; gap: 16px; padding: 18px 16px 20px; }
    .pf-field { text-align: left; }

    .return-btn { min-height: 90px; }
    .return-btn-title { font-size: 16px; min-height: 24px; line-height: 24px; }
    .return-btn-cta { font-size: 12px; }

    /* hero becomes image-on-top, copy underneath */
    #hp-hero { min-height: 612px; }
    .hp-hero-video { height: 283px; inset: 0 0 auto 0; }
    .hp-hero-overlay { inset: 283px 0 0 0; background: var(--dark); }
    #heroinner { padding: 0 20px; height: auto; }
    #heroinner h3 { padding-top: 306px; font-size: 22px; }
    .hero-eyebrow-bar { margin: 10px 0 12px; }
    #heroinner h2 { font-size: 30px; height: auto; margin-bottom: 12px; }
    #heroinner p { width: 100%; font-size: 16px; }
    .hero-btn-row { margin-top: 22px; flex-direction: column; }
    .hero-btn-2 { width: 100%; }

    #hp-readmore { padding: 41px 0; }
    .rm-header { margin-bottom: 41px; }
    .rm-title { font-size: 28px; height: auto; margin-left: 10px; }
    .rm-bar { margin-left: 10px; }
    .rm-grid { grid-template-columns: 1fr; gap: 20px; }
    .rmbox-head strong { font-size: 21px; }

    #hp-quote { padding: 40px 0 0; }
    .hp-quote-header { margin-bottom: 40px; }
    .hp-quote-title { font-size: 28px; height: auto; margin-left: 10px; }
    .hp-quote-bar { margin-left: 10px; }
    .tm-card { flex-basis: 350px; min-height: 273px; }
    .marquee-fade { width: 20px; }

    .merch-ad, .merch-ad img { height: 196px; }
    .merch-ad__overlay { padding: 0 18px; }
    .merch-ad__title { font-size: 20px; margin-bottom: 16px; }
    .merch-ad__btn { min-width: 160px; min-height: 40px; font-size: 13px; }

    #hp-contact { height: auto; padding: 44px 0; }
    .hp-contact-inner { grid-template-columns: 1fr; gap: 26px; }
    .hp-contact-title { font-size: 30px; height: auto; }
    .hp-contact-sub { font-size: 16px; }
    .hp-contact-phone { min-height: 132px; }
    .hp-contact-phone-num { font-size: 30px; min-height: 32px; }

    #footer-inner { padding: 40px 10px 0; }
    .bt-anniv { padding: 0 0 30px; }
    .bt-anniv__inner { flex-direction: column; text-align: center; gap: 18px; }
    .bt-anniv__img { width: 130px; }
    .bt-anniv__headline { font-size: 28px; }
    .bt-anniv__btns { justify-content: center; }
    .footercol, .footercol:nth-of-type(2) { flex-basis: 100%; padding-right: 0; padding-bottom: 30px; }
    .subfooter-inner { height: auto; padding: 22px 16px; flex-direction: column; gap: 8px; }
}

@media (max-width: 359px) {
    #header-logo { width: 140px; }
    .bt-home-hero__title { font-size: 23px; }
    #heroinner h2 { font-size: 26px; }
}

/* the hidden attribute must beat the layout display values above */
#mm-panel[hidden], #mm-overlay[hidden] { display: none !important; }
[hidden] { display: none !important; }


/* =========================================================
   MOBILE CORRECTIONS - measured against the live page at 390px
   header 134 | tiles 180x82 | hero 612 (283 image + copy)
   ========================================================= */

@media (max-width: 767px) {

    /* --- header: row 1 = 66 tall, row 2 = 60, then 8px of breathing room --- */
    .header-inner { padding: 0 0 8px; }
    .mobileMenu-toggle { flex: 0 0 44px; width: 44px; }
    .mobileMenu-toggleIcon { left: 10px; }
    #mphonelink { flex: 0 0 44px; width: 44px; }

    /* search block spans 0..293, input inset 10 left / 8 right */
    #header-search { flex: 0 0 293px; padding: 0 8px 0 10px; }
    #header-search .form-input { height: 60px; }

    /* --- hero strip: live title holds two lines at 55px --- */
    .bt-home-hero__title {
        font-size: 24px; line-height: 27.5px; min-height: 55px;
        letter-spacing: -0.2px; margin: 11px 0 13px;
    }

    /* --- brand tiles: 20px top padding, 6px gap --- */
    .brand-hero-card { min-height: 82px; padding: 20px 10px; gap: 6px; }

    /* --- Jump to Category stays OPEN on phones (live body is 101 tall) --- */
    #parts-finder.pf-collapsed .pf-body { display: grid; }
    .pf-body { padding: 18px 10px; gap: 12px; }
    /* Progressive disclosure, like the live page: on the home page finder
       you pick a brand before the second dropdown appears.

       The category pages borrow the same markup but are not a chain - the
       first dropdown only says where you are and never changes, so the
       class that reveals the second field was never added and Sub Category
       simply never appeared on a phone. Those pages are excluded. */
    #parts-finder:not(.land-finder) .pf-body .pf-field + .pf-field { display: none; }
    #parts-finder .pf-body.pf-step2 .pf-field + .pf-field { display: block; }

    /* --- hero: 283 image on top, copy underneath, full-bleed blocks --- */
    #hp-hero { min-height: 612px; }
    .hp-hero-video { height: 283px; inset: 0 0 auto 0; }
    .hp-hero-overlay { inset: 283px 0 0 0; background: var(--dark); }

    #heroinner { padding: 0; height: auto; }
    #heroinner h3 {
        min-height: 283px; padding: 245px 20px 0; margin: 0;
        font-size: 22px; line-height: 38px;
    }
    .hero-eyebrow-bar { margin: 9px 20px 8px; }
    #heroinner h2 {
        min-height: 45px; line-height: 45px; padding: 0 20px; margin: 0;
        font-size: 30px;
    }
    #heroinner p {
        width: auto; min-height: 120px; 
        padding: 0 20px; margin: 0;
        font-size: 16px; line-height: 24px;
    }
    .hero-btn-row { margin-top: 21px; gap: 10px; padding: 0 20px; flex-direction: column; }
    .hero-btn-2 { width: 100%; }

    /* --- section headings sit 20px off the edge (live width 350) --- */
    .rm-title, .hp-quote-title { margin: 0 10px; font-size: 28px; line-height: 29.5px; height: auto; }
    .rm-bar, .hp-quote-bar { margin-left: 10px; }

    #hp-readmore { padding: 41px 0; }
    .rm-header { margin-bottom: 41px; }
    .rm-grid { grid-template-columns: 1fr; gap: 20px; }
    .rmbox { height: auto; }
    .rmbox-head { height: auto; }
    .rmbox-icon { min-height: 30px; line-height: 30px; margin-bottom: 14px; font-size: 24px; }
    .rmbox-head strong { font-size: 21px; line-height: 24px; }

    #hp-quote { padding: 40px 0 0; }
    .hp-quote-header { margin-bottom: 40px; }
    .tm-card { flex-basis: 350px; min-height: 273px; }
    .marquee-fade { width: 20px; }

    .merch-ad, .merch-ad img { height: 196px; }
    .merch-ad__overlay { padding: 0 18px; }
    .merch-ad__title { font-size: 20px; line-height: 1.65; margin-bottom: 16px; }
    .merch-ad__btn { min-width: 160px; min-height: 40px; font-size: 13px; }

    #hp-contact { height: auto; padding: 44px 0; }
    .hp-contact-inner { grid-template-columns: 1fr; gap: 26px; }
    .hp-contact-left { padding-bottom: 0; }
    .hp-contact-title { font-size: 30px; line-height: 32px; height: auto; }
    .hp-contact-sub { height: auto; overflow: visible; max-width: none; font-size: 16px; line-height: 24px; }
    .hp-contact-phone { min-height: 132px; }
    .hp-contact-phone-num { font-size: 30px; min-height: 32px; }

    /* --- footer: 20px gutter, band padded 32 --- */
    #footer-inner { padding: 40px 20px 21px; }
    .bt-anniv { padding: 0 32px 24px; margin-bottom: 8px; }
    .bt-anniv__inner { flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: none; }
    .bt-anniv__inner > div { padding-top: 0; }
    .bt-anniv__img { width: 170px; height: 179px; }
    .bt-anniv__headline { font-size: 28px; line-height: 30.6px; }
    .bt-anniv__btns { justify-content: center; }

    .footercol, .footercol:nth-of-type(3) { flex-basis: 100%; padding: 0 0 30px; min-height: 0; }
    .footercol li { min-height: 37px; }
    .footercol a { line-height: 37px; }

    .subfooter-inner { height: auto; padding: 37px 16px; flex-direction: column; gap: 10px; }
}

@media (max-width: 359px) {
    #header-logo { width: 140px; }
    .bt-home-hero__title { font-size: 21px; }
    #heroinner h2 { font-size: 26px; }
}

/* the hidden attribute must beat the layout display values above */
#mm-panel[hidden], #mm-overlay[hidden] { display: none !important; }
[hidden] { display: none !important; }

@media (max-width: 767px) {
    #header-search { flex: 0 0 293px; margin-left: 0; }
    #header-search .form-field { height: 60px; }
    #header-search .form-input { height: 60px; }
    .search-submit { height: 60px; top: 0; width: 48px; }
    .merch-ad__title { max-width: none; }
    .hp-contact-phone { padding: 22px 24px; }
}

@media (max-width: 767px) {
    /* live mobile leaves 114px under the review strip */
    #hp-quote { padding: 40px 0 64px; }

    /* contact block: 54 top, wider gap to the phone card, 113 bottom */
    #hp-contact { padding: 54px 0 0; }
    .hp-contact-inner { gap: 55px; }
    .hp-contact-phone { padding: 22px 31px; }
    .hp-contact-phone-num { font-size: 30px; min-height: 30px; line-height: 30px; }

    .merch-ad__btn { min-width: 160px; padding: 0 16px; }
}

/* =========================================================
   MOBILE: box heights pinned to the live page
   ========================================================= */
@media (max-width: 767px) {

    /* what we do: 586 / 566 / 526 with a 10px gap */
    .rm-grid { gap: 10px; }

    /* jump to category: 55 header + 96 body + 5 */
    #parts-finder { padding-bottom: 5px; }
    .pf-body { padding: 8px 20px 18px; }

    /* reviews close 114px under the cards */
    #hp-quote { padding: 40px 0 58px; }

    /* contact: 54 top / 113 bottom, copy is three lines at 25.6 */
    #hp-contact { padding: 54px 0 49px; }
    .hp-contact-sub { min-height: 77px; font-size: 16px; line-height: 25.6px; }

    /* anniversary badge is 140x147 on phones */
    .bt-anniv__img { width: 140px; height: 147px; }

    /* footer columns: 437 / 317 / 666 / 519, 25px apart */
    .footercol { padding: 0; margin-bottom: 25px; }
}

@media (max-width: 767px) {

    .rm-header { margin-bottom: 33px; }
    #hp-contact { padding: 54px 0 44px; }
    .bt-anniv { padding: 0 32px 56px; }
}

@media (max-width: 767px) {
    /* live gap above the toggle is 24, same as desktop */
    #more-brands-toggle { margin: 24px 0 30px; }
    /* live leaves 22px between the last footer column and the sub bar */
    .footercol:nth-of-type(5) { margin-bottom: 0; }
    #footer-inner { padding-bottom: 22px; }
}

@media (max-width: 767px) {
    /* headline sits 175px below the top of the band on the live page */
    .bt-anniv__inner { gap: 33px; }
    .bt-anniv { padding: 0 32px 41px; }
}

@media (max-width: 767px) {
    /* live mobile overlay is 273 wide with 16/18 padding -> headline wraps at 237 */
    .merch-ad__overlay { width: 273px; padding: 16px 18px; }
    .merch-ad__title { max-width: none; line-height: 22px; }

    /* land the sub bar on 7590 and give it the live 146 height */
    #footer-inner { padding-bottom: 23px; }
    #subfooter { padding-top: 1px; }
}

/* =========================================================
   MOBILE: final per-section alignment against the live page
   ========================================================= */
@media (max-width: 767px) {
    /* hero strip is 184 tall: 24px padding top and bottom */
    .bt-home-hero__inner { padding: 24px 16px; }
    .bt-home-hero__crumb { min-height: 17px; line-height: 17px; }

    /* eight tiles over four rows measure 357 */
    #hp-top-brands { row-gap: 9.67px; }

    /* finder head sits 4px inside the box */
    #parts-finder { padding: 0; }

    /* the 4px bottom rule must not pull the label off centre */

    /* what we do: 41px from heading to grid, section stays 1860 */
    .rm-header { margin-bottom: 25px; }
    .rm-title { line-height: 29px; }
    #hp-readmore { padding: 41px 0 49px; }

    /* reviews: 150px from section top to the first card, section stays 537 */
    .hp-quote-title { line-height: 29.5px; }
    .hp-quote-header { margin-bottom: 34px; }
    #hp-quote { padding: 40px 0 64px; }

    /* contact: phone card lands at +282, section stays 527 */
    .hp-contact-inner { gap: 49px; }
    .hp-contact-phone { padding: 24px 31px; }
    #hp-contact { padding: 54px 0 50px; }

    /* anniversary headline lands at +175, band stays 502 */
    .bt-anniv__inner { gap: 28px; }
    .bt-anniv { padding: 0 32px 46px; }
}

@media (max-width: 767px) {
    /* 21px between the returns strip and the hero */
    #shopbytype { padding: 0 0 23px; }
    #hp-readmore { padding: 41px 0 50px; }
    /* 22px between the last footer column and the sub bar */
    #footer-inner { padding-bottom: 18px; }
}

@media (max-width: 767px) {
    /* mobile finder keeps its own 3/8 padding */
    #parts-finder { padding: 0; }
    .pf-body { flex-direction: column; padding: 18px 10px; }
}

@media (max-width: 767px) {
    /* live mobile finder: 1px frame + 3px + 55 head + 96 body = 156 */
    #parts-finder { padding: 0; }
    .pf-body { flex-direction: column; padding: 8px 20px 19px; }
}

@media (max-width: 767px) {
    #hp-contact { padding: 51px 0 53px; }
    #footer-inner { padding-bottom: 16px; }
}

/* =========================================================
   MOBILE HERO - rebuilt to the live structure:
   full-height video, flat 65% scrim, centred copy
   ========================================================= */
@media (max-width: 767px) {
    #hp-hero { height: 612px; padding: 0 0 15px; }

    .hp-hero-video { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
    .hp-hero-overlay { inset: 0; background: rgba(0, 0, 0, 0.65); }

    #heroinner { padding: 0; height: auto; }

    #heroinner h3 {
        min-height: 283px; padding: 250px 0 0; margin: 0;
        font-size: 22px; line-height: 33px; text-align: center;
    }
    .hero-eyebrow-bar { width: 48px; margin: 3px auto 14px; }

    #heroinner h2 {
        min-height: 45px; line-height: 45px; padding: 0; margin: 0;
        font-size: 30px; text-align: center;
    }

    #heroinner p {
        width: auto; height: auto; overflow: visible;
        padding: 0 20px; margin: 0;
        font-size: 16px; line-height: 20px; text-align: center;
    }

    .hero-btn-row { margin-top: 21px; gap: 10px; padding: 0 20px; flex-direction: column; }
    .hero-btn-2 { width: 100%; min-height: 49px; padding: 12px 26px; text-align: center; }
}

@media (max-width: 767px) {
    /* the heading keeps its 10px gutter, strip stays full bleed */
    .hp-quote-header { max-width: none; margin: 0 auto 40px; padding: 0; }
    .marquee-fade { width: 20px; }
}

@media (max-width: 767px) {
    /* heading keeps a 10px gutter; the strip stays full bleed */
    .hp-quote-header { max-width: none; margin: 0 auto 24px; padding: 0 10px; }
    .hp-quote-inner { padding: 40px 0 104px; }
    #hp-quote { padding: 0; }
}

/* =========================================================
   MOBILE REVIEWS - one card at a time with round arrows,
   exactly like the live page
   ========================================================= */
@media (max-width: 767px) {
    .hp-quote-inner { padding: 40px 0; }
    .hp-quote-header { max-width: none; margin: 0; padding: 0 20px 24px; }
    .hp-quote-title { margin: 0; }
    .hp-quote-bar { margin: 14px 0 0; }

    .marquee-row { padding: 10px 0; }
    .marquee-track { width: 100%; padding-left: 20px; animation: none; }
    .tm-card { flex: 0 0 350px; margin: 0 20px 0 0; }
    .tm-stars { margin: 0 0 12px; }
    .marquee-fade { display: none; }

    .tm-arrows { display: flex; justify-content: center; gap: 16px; margin: 20px 0 0; }
    .tm-arrow {
        width: 44px; height: 44px; padding: 1px 6px;
        border-radius: 50%; background: var(--yellow); color: var(--ink);
        font-size: 16px; line-height: 24px;
    }
}

@media (max-width: 767px) {
    .bt-home-hero__title { text-align: center; }
    .bt-home-hero__crumb { justify-content: center; }
    .bt-home-hero__trust { justify-content: center; }
    .pf-field, .pf-field label { text-align: center; }
    .return-btn, .return-btn-title { text-align: center; }
}

@media (max-width: 767px) {
    .bt-anniv__inner > div { height: auto; display: block; }
}

/* =========================================================
   MOBILE HEADER - rebuilt to the live structure
   row 1: logo left, icons right | row 2: search 75% + machine 25%
   ========================================================= */
@media (max-width: 767px) {
    .header-inner {
        position: relative;
        display: block;
        height: 134px;
        padding: 0;
    }

    /* --- row 1: logo left, phone and menu right, all on one 66px line ---
       The wordmark is six times wider than it is tall, so it is sized against
       the viewport: big enough to fill the bar on a normal phone, small
       enough never to run into the phone icon on a narrow one. Each item is
       a 66px-tall flex box so they sit on the same centre line whatever
       height the artwork happens to be. */
    #logolink {
        position: absolute; left: 14px; top: 0;
        display: flex; align-items: center;
        width: auto; height: 66px; flex: none;
    }
    #header-logo { width: min(230px, 52vw); height: auto; }

    .mobileMenu-toggle {
        position: absolute; right: 12px; top: 0;
        display: flex; align-items: center; justify-content: center;
        width: 40px; height: 66px; flex: none;
    }
    .mobileMenu-toggleIcon { left: 7px; }

    #mphonelink {
        position: absolute; right: 64px; top: 0;
        display: flex; align-items: center; justify-content: center;
        width: 30px; height: 66px; flex: none;
        font-size: 22px;
    }

    /* --- row 2 --- */
    #header-search {
        position: absolute; left: 0; top: 66px;
        width: 75%; height: 60px; padding: 0 8px 0 10px; flex: none;
    }
    #mm-mobile-btn {
        position: absolute; left: 75%; top: 66px;
        width: 25%; height: 60px; flex: none;
        display: flex; align-items: center; justify-content: center; gap: 6px;
        padding: 0 6px;
        font-size: 12px; line-height: 1.15; text-align: center;
    }
    #mm-mobile-btn .mm-equip-icon { width: 18px; height: 18px; }

    /* the menu drops below the two rows */
    #menu { position: absolute; top: 134px; left: 0; right: 0; border-top: 3px solid var(--yellow); }
    #menu.is-open { display: block; }

    /* --- brand tile caption stays on one line, size scales with the viewport --- */
    .brand-hero-name {
        height: auto; line-height: 1.1;
        font-size: calc(10.96px + 0.99vw);
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    /* live header: flex row, title left, [Hide] hard right */
    .pf-header {
        display: flex; align-items: center; justify-content: space-between;
        height: 55px; padding: 14px 20px;
    }
    .pf-toggle-label { display: inline; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 1px; line-height: 18px; color: var(--yellow); opacity: 0.8; }
}

@media (max-width: 767px) {
    /* live mobile strip typography */
    .bt-home-hero__crumb { letter-spacing: 1.98px; line-height: 16.5px; gap: 10px; }
    .bt-home-hero__title { font-size: 26px; letter-spacing: -0.26px; line-height: 27.3px; min-height: 55px; }
    .bt-home-hero__trust { font-size: 11px; letter-spacing: 0.88px; line-height: 16.5px; gap: 6px 18px; color: #ccc; }
    .bt-home-hero__trust span { font-size: 11px; letter-spacing: 0.88px; line-height: 16.5px; gap: 6px; color: #ccc; }
    .bt-home-hero__trust .fa,
    .bt-home-hero__trust span svg { font-size: 13px; }
}

/* =========================================================
   REAL BOX MODEL - margins and padding read off the live page
   (replaces the fixed heights that broke at other widths)
   ========================================================= */

#hp-top-brands { margin: 20px 0 10px; gap: 10px; }
.brand-hero-card { padding: 20px 18px 16px; gap: normal; min-height: 0; }
.brand-hero-name { margin: 0 0 6px; min-height: 0; }
.brand-hero-cta { min-height: 0; }

#heroinner h3 { margin: 0 0 -7px; min-height: 0; padding: 18px 0 0; }
.hero-eyebrow-bar { width: 48px; margin: 12px 0 16px; }
#heroinner h2 { min-height: 0; }
#heroinner p { padding: 0 20px 0 0; margin: 0 0 21px; min-height: 0; }
.hero-btn-row { margin: 18px 0 0; }
.hero-btn-2 { padding: 12px 26px; border: 2px solid transparent; min-height: 0; }
.hero-btn-2--secondary { border-color: var(--yellow); }

#hp-readmore { padding: 60px 0; }
.rm-header { padding: 0 20px 28px; margin: 0; }
.rm-title { margin: 0 0 14px; min-height: 0; }
.rm-bar { width: 48px; margin: 0; }

.rmbox {
    display: block; min-height: 0;
    padding: 25px 20px 20px;
    font-size: 24px; line-height: 24px;
}
.rmbox-head { margin: -25px -20px 20px; min-height: 0; padding: 20px 20px 18px; }
.rmbox-icon { height: 30px; line-height: 30px; margin: 0 0 12px; min-height: 0; }
.rmbox-body { padding: 0; }
.rmbox-body p { margin: 10px 0 20px; }

.hp-quote-header { padding: 0 20px 28px; margin: 0 auto; }
.hp-quote-title { margin: 0 0 14px; min-height: 0; }
.hp-quote-bar { width: 48px; margin: 0; }

#hp-contact { min-height: 0; height: auto; padding: 70px 0; }
.hp-contact-inner { padding: 1px 10px; }
.hp-contact-title { margin: 0 0 16px; min-height: 0; }
.hp-contact-sub { margin: 0 0 40px; min-height: 0; }

@media (max-width: 767px) {
    .brand-hero-card { padding: 20px 18px 16px; }
    .brand-hero-name { margin: 0 0 6px; }

    .hero-eyebrow-bar { width: 48px; margin: 10px auto 14px; }
    #heroinner p { padding: 0 20px; margin: 0 0 21px; }
    #heroinner h3 { padding: 250px 0 0; margin: 0 0 -7px; }

    #hp-readmore { padding: 40px 0; }
    .rm-header { padding: 0 10px 24px; margin: 0; }
    .rm-title { margin: 0 0 14px; line-height: 29.4px; }
    .rm-grid { gap: 0; }
    .rmbox { margin: 0 0 10px; font-size: 21px; line-height: 21px; }
    .rmbox-icon { height: 26px; line-height: 26px; font-size: 26px; margin: 0 0 10px; }
    .rmbox-head strong { line-height: 21px; }

    .hp-quote-header { padding: 0 20px 24px; margin: 0; }
    .hp-quote-title { margin: 0 0 14px; }

    #hp-contact { padding: 50px 0; }
    .hp-contact-inner { padding: 1px 10px; gap: 32px; }
    .hp-contact-title { margin: 0 0 16px; line-height: 31.5px; }
    .hp-contact-sub { margin: 0 0 18px; }
}

/* =========================================================
   Remaining live values: hero band height, what-we-do head,
   contact block, tile grid
   ========================================================= */

/* the hero band is a fixed 460 on the live page and the copy fills it */
#hp-hero { height: 460px; min-height: 0; }
#heroinner { height: 100%; }

/* tile grid is a flex row on the live page */
#hp-top-brands, #hp-action-row { display: flex; flex-wrap: wrap; }
#hp-top-brands .brand-hero-card,
#hp-action-row .brand-hero-card { flex: 1 1 calc(25% - 7.5px); }

/* 1px keeps the section from collapsing margins into the page */
#shopbytype .hp-inner { padding: 1px 10px; }

/* the dark head is a flex column and the copy sits at its foot */
.rmbox-head {
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 160px;
}

/* contact block */
.hp-contact-bar { width: 48px; margin: 0 0 18px; }
.hp-contact-eyebrow { display: inline-block; margin: 0 0 14px; }
.hp-contact-eyebrow .fa,
.hp-contact-eyebrow svg { margin-right: 7px; }
.hp-contact-left { padding: 0; }

@media (max-width: 767px) {
    #hp-hero { height: 612px; min-height: 0; }
    #heroinner { height: auto; }
    #hp-top-brands .brand-hero-card,
    #hp-action-row .brand-hero-card { flex: 1 1 calc(50% - 5px); }
    .rmbox-head { min-height: 122px; }
    .hp-contact-eyebrow { font-size: 12px; line-height: 18px; }
}

/* tiles must not stretch - fixed basis like the live flex row */
#hp-top-brands .brand-hero-card,
#hp-action-row .brand-hero-card { flex: 0 0 calc(25% - 7.5px); }

/* the cards carry a floor, not a cap, so narrow screens still grow */
.rmbox { min-height: 624px; }
.hp-contact-eyebrow { gap: normal; }

@media (max-width: 767px) {
    #hp-top-brands .brand-hero-card,
    #hp-action-row .brand-hero-card { flex: 0 0 calc(50% - 5px); }
    .rmbox { min-height: 0; }
    .rmbox:nth-child(1) { min-height: 586px; }
    .rmbox:nth-child(2) { min-height: 566px; }
    .rmbox:nth-child(3) { min-height: 526px; }
}

/* the flex basis must win over the caption min-content width */
#hp-top-brands .brand-hero-card,
#hp-action-row .brand-hero-card { min-width: 0; }
.brand-hero-name { min-width: 0; overflow: hidden; text-overflow: clip; }

/* the reviews heading is not inside .hp-inner, so it carries the full inset */
.hp-quote-header { padding: 0 30px 28px; }

/* association column keeps the live height (placeholder logos are shorter) */
.footercol:nth-of-type(4) { min-height: 667px; }

@media (max-width: 767px) {
    /* live mobile hero copy is a normal block, so the margins collapse */
    #heroinner { display: block; }

    /* no trailing margin under the last card */

    .hp-quote-header { padding: 0 20px 24px; }

    /* footer columns keep their live floors */
    .footercol:nth-of-type(2) { min-height: 437px; }
    .footercol:nth-of-type(3) { min-height: 317px; }
    .footercol:nth-of-type(4) { min-height: 666px; }
    .footercol:nth-of-type(5) { min-height: 519px; }
}

@media (max-width: 767px) {
    /* block flow lets the last card margin collapse out of the grid */
    .rm-grid { display: block; }
}

@media (max-width: 767px) {
    /* 21px from the returns strip to the hero */
    #shopbytype { padding: 0 0 20px; }
    #hp-readmore { padding: 41px 0 40px; }
}

@media (max-width: 767px) {
    /* 22px from the last footer column to the sub bar */
    #footer-inner { padding-bottom: 10px; }
}

/* the hero must clip its video - this was lost when the fixed heights were stripped */
#hp-hero { overflow: hidden; }

/* the hero band is a floor, not a cap: it clips the video but grows with the copy */
#hp-hero { display: flex; min-height: 460px; height: auto; overflow: hidden; }
#heroinner { flex: 1 1 auto; height: auto; }

@media (max-width: 767px) {
    #hp-hero { min-height: 612px; height: auto; }
    #heroinner { display: block; flex: 1 1 auto; }
}

/* =========================================================
   APPAREL BANNER - the live page darkens the photo behind
   the copy and carries a soft shadow on the headline
   ========================================================= */
.merch-ad { background: transparent; }
.merch-ad::before {
    content: "";
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}
.merch-ad__overlay { z-index: 2; }
.merch-ad__title { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.merch-ad__btn {
    display: inline-block; min-width: 0; height: auto;
    padding: 14px 32px; text-align: center;
}

@media (max-width: 767px) {
    .merch-ad__btn { padding: 10px 20px; }
}

/* =========================================================
   ORCAPARTS THEME — yellow, green, black
   Yellow stays the primary call to action, green is the
   secondary accent, black carries the surfaces.
   ========================================================= */

:root {
    --yellow:      #ffbe00;
    --yellow-dark: #e6ab00;

    --green:       #1f8a4c;
    --green-dark:  #166b3a;
    --green-deep:  #07231a;   /* header / toolbar / table head */

    --header-bg:   #07231a;
    --dark:        #14140f;
    --footer-bg:   #0d1410;
    --sub-bg:      #1d2a22;
    --page-bg:     #eef0ed;
    --ink:         #14140f;
}

/* green picks up the secondary roles */
.hero-btn-2--secondary { border-color: var(--green); color: var(--green); }
.hero-btn-2--secondary:hover { background: var(--green); border-color: var(--green); color: #fff; }

.bt-anniv__btn--secondary { border-color: var(--green); color: var(--green); }
.bt-anniv__btn--secondary:hover { background: var(--green); border-color: var(--green); color: #fff; }

.hp-contact-email { border-color: var(--green); color: var(--green); }
.hp-contact-email:hover { background: var(--green); border-color: var(--green); color: #fff; }

.brand-hero-card:hover { background: #1d2a22; }
#more-brands-toggle:hover { background: #1d2a22; }

.rmbox-body a,
.pv-shipping a,
.mm-fitment-nudge a { border-bottom-color: var(--green); }
.rmbox-body a:hover { background: var(--green); color: #fff; }

.tm-card { border-color: #24352b; }

.social:hover { color: var(--green); }
.footercol a:hover { color: var(--yellow); }

/* --- green needs to be on surfaces, not just hovers --- */
:root {
    --green-deep: #0d3b26;   /* header, toolbar, table head */
    --header-bg:  #0d3b26;
}

/* dark sections carry a green cast instead of flat black */
#hp-readmore { background: #12241b; }
#hp-quote    { background: #0f1f18; }
#hp-contact  { background: #12241b; }
.bt-home-hero { background: #12241b; }
.brand-hero-card { background: #12241b; }
.brand-hero-card:hover { background: #1a3328; }
#more-brands-toggle { background: #12241b; }
#more-brands-toggle:hover { background: #1a3328; }
.rmbox-head { background: #1a3328; }
.tm-card { background: #16291f; border-color: #24402f; }
.footer { background: #0b1a13; }
#subfooter { background: #14291f; }

/* accent rules go green, the primary yellow stays for buttons */
.hero-eyebrow-bar,
.rm-bar,
.hp-quote-bar,
.hp-contact-bar { background: var(--green); }

/* =========================================================
   No grey anywhere — every neutral becomes a green tint,
   with yellow and black carrying the rest.
   ========================================================= */

:root {
    --page-bg:  #e9f2ec;   /* pale green instead of grey */
    --tint:     #dceae2;   /* alternating rows, info strips */
    --line:     #bcd8c8;   /* borders */
    --muted:    rgba(210, 235, 220, 0.75);
    --muted-tx: #3f6653;   /* secondary text, was grey */
}

body { background: var(--page-bg); color: #16241c; }

/* light panels pick up the tint */
.pf-body, #parts-finder { background: #fff; }
.rmbox-body { background: #fff; }
.rmbox-body p { color: #1d3327; }

/* form controls */
#header-search .form-input { background: #fff; color: #16241c; }
.mm-field select, .pf-field select { border-color: var(--line); color: #16241c; }
#nl_email { background: #fff; }

/* panels that were grey */
#accountMenu { border-color: var(--line); }
#accountMenu a { color: #1d3327; }
#accountMenu a:hover { background: var(--tint); color: #000; }
#mm-panel-cancel { background: var(--tint); color: #1d3327; }
.mm-field select:disabled { background: var(--tint); color: var(--muted-tx); }

/* secondary copy is green-grey, never grey */
.mm-panel-disclaimer, #mm-panel-form p { color: var(--muted-tx) !important; }
.assoc-badge { color: var(--muted); border-color: rgba(255,255,255,0.18); }
.subfooter-inner { color: rgba(210,235,220,0.8); }
.tm-loc { color: rgba(210,235,220,0.75); }
