/* ============================================================
   Tater Built Turbochargers — bespoke theme
   Pixel-targeted to taterbuiltturbocharger.com (Neve customizer)
   Tokens lifted directly from the live site customizer:
     primary  #bb0000   (deep red)
     gold     #d0a675   (secondary accent)
     dark     #14171c   (footer / chrome)
     text     #2b2b2b
     header   #f0f0f0   with 3px primary bottom border
     fonts    Noto Sans 300/400/500/600/700/800
     headings 800 uppercase, body 400 1.7em
     buttons  square (radius 0), 12px 24px, 14px / 1.6em
   ============================================================ */

:root {
    --tt-primary:        #bb0000;
    --tt-primary-hover:  #9a0000;
    --tt-secondary:      #d0a675;
    --tt-dark:           #14171c;
    --tt-light-bg:       #666666;
    --tt-text:           #2b2b2b;
    --tt-text-muted:     #666666;
    --tt-text-on-dark:   #ffffff;
    --tt-site-bg:        #ffffff;
    --tt-header-bg:      #f0f0f0;
    --tt-line:           rgba(0, 0, 0, .08);
    --tt-line-dark:      rgba(255, 255, 255, .12);
    --tt-c1:             #77b978;
    --tt-c2:             #f37262;
    --tt-radius:         0;
    --tt-radius-card:    2px;
    --tt-shadow-card:    0 2px 4px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
    --tt-shadow-elev:    0 12px 36px rgba(0,0,0,.18);
    --tt-container:      1170px;
    --tt-h-header-top:   38px;
    --tt-h-header-main:  86px;
    --tt-fs-h1:          2.6rem;
    --tt-fs-h2:          1.85rem;
    --tt-fs-h3:          1.25rem;
    --tt-ff:             "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* prevent horizontal page scroll on mobile when nested grids briefly
       overflow during reflow. clip preserves position:sticky on .tt-header
       (overflow:hidden would break it). */
    overflow-x: clip;
}
body {
    margin: 0;
    background: var(--tt-site-bg);
    color: var(--tt-text);
    font-family: var(--tt-ff);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--tt-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--tt-secondary); }

/* Headings — Noto Sans 800 uppercase */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--tt-ff);
    color: var(--tt-text);
    margin: 0 0 .6em;
    letter-spacing: 0;
}
h1 { font-size: var(--tt-fs-h1); font-weight: 800; line-height: 1.2; text-transform: uppercase; }
h2 { font-size: var(--tt-fs-h2); font-weight: 800; line-height: 1.3; text-transform: uppercase; }
h3 { font-size: var(--tt-fs-h3); font-weight: 800; line-height: 1.3; }
h4 { font-size: 1rem;    font-weight: 600; line-height: 1.3; }
h5 { font-size: .875rem; font-weight: 600; line-height: 1.3; }
h6 { font-size: .875rem; font-weight: 600; line-height: 1.3; }

p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--tt-line); margin: 2rem 0; }

/* ── Layout primitives ─────────────────────────────────────── */
.tt-container {
    width: 100%;
    max-width: var(--tt-container);
    margin-inline: auto;
    padding-inline: 20px;
}
.tt-section { padding: 64px 0; }
.tt-section--tight { padding: 40px 0; }
.tt-section--lg    { padding: 96px 0; }

/* Generic class compatibility with framework partials */
.container { width: 100%; max-width: var(--tt-container); margin-inline: auto; padding-inline: 20px; }

/* Wide variant — used by the header rows so all 9 primary-nav categories
   fit on one line at common desktop viewports without the row stretching
   edge-to-edge on large monitors. */
.tt-container--wide {
    max-width: 1500px;
    padding-inline: 24px;
}

/* Utility helpers */
.tt-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--tt-primary);
    margin-bottom: .5rem;
}
.tt-center { text-align: center; }
.tt-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--tt-secondary);
    margin: 0;
    border: 0;
}

/* ── Buttons ─────────────────────────────────────────────────
   Square buttons (radius 0), 12px 24px, 14px / 1.6em, uppercase
   Primary fills accent red, hover swaps to secondary gold
   ────────────────────────────────────────────────────────── */
.tt-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--tt-ff);
    font-size: 14px;
    line-height: 1.6em;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: var(--tt-radius);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
    white-space: nowrap;
}
.tt-btn:active, .btn:active { transform: translateY(1px); }

.tt-btn--primary,
.btn-primary {
    background: var(--tt-primary);
    color: var(--tt-text-on-dark);
    border-color: var(--tt-primary);
}
.tt-btn--primary:hover,
.btn-primary:hover {
    background: var(--tt-secondary);
    border-color: var(--tt-secondary);
    color: var(--tt-text-on-dark);
}

.tt-btn--ghost,
.btn-outline {
    background: transparent;
    color: var(--tt-text);
    border-color: var(--tt-text);
}
.tt-btn--ghost:hover,
.btn-outline:hover {
    background: var(--tt-dark);
    color: var(--tt-text-on-dark);
    border-color: var(--tt-dark);
}

.tt-btn--inverted {
    background: var(--tt-text-on-dark);
    color: var(--tt-dark);
    border-color: var(--tt-text-on-dark);
}
.tt-btn--inverted:hover {
    background: var(--tt-secondary);
    border-color: var(--tt-secondary);
    color: var(--tt-text-on-dark);
}

/* ── Header — top bar + main bar ──────────────────────────── */
.tt-header {
    background: var(--tt-site-bg);
    position: sticky;
    top: 0;
    z-index: 60;
    transition: box-shadow .2s ease;
}
.tt-header.is-scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

/* ── Header top bar (desktop) ──
   Source layout:
      LEFT  : [Logo]  [Home About Blog My-account Merch Contact]
      RIGHT : [Email] [Phone] [Cart]
   Background = white (--nv-site-bg), thin bottom border, ~13px text.
*/
.tt-header__top {
    background: var(--tt-site-bg);
    color: var(--tt-text);
    border-bottom: 1px solid var(--tt-line);
    font-size: 13px;
    font-weight: 400;
}
.tt-header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 56px;
    padding: 8px 0;
}
.tt-header__top-left,
.tt-header__top-right {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.tt-contact-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 18px;
    align-items: center;
}
.tt-contact-list a {
    color: var(--tt-text);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
}
.tt-contact-list a:hover { color: var(--tt-primary); }
.tt-contact-list svg { width: 14px; height: 14px; fill: currentColor; flex: 0 0 14px; }

.tt-secondary-menu {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
}
.tt-secondary-menu a {
    color: var(--tt-text);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .04em;
    white-space: nowrap;
}
.tt-secondary-menu a:hover { color: var(--tt-primary); }

/* Cart pill in top bar */
.tt-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tt-text);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.tt-cart:hover { color: var(--tt-primary); }
.tt-cart svg { width: 18px; height: 18px; fill: currentColor; }
.tt-cart-count {
    background: var(--tt-primary);
    color: #fff;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    padding: 0 6px;
    line-height: 1;
}

/* ── Main bar — primary nav row (desktop)
   Full-width row, 3px primary bottom border, content centered.
*/
.tt-header__main {
    background: var(--tt-header-bg);
    border-bottom: 3px solid var(--tt-primary);
}
.tt-header__main-inner {
    display: flex;
    align-items: center;
    justify-content: center;       /* center primary nav within the row */
    gap: 20px;
    min-height: 60px;
    padding: 6px 0;
}

/* Mobile-only quick action buttons (call / cart) pinned right of nav */
.tt-header__actions {
    display: none; /* desktop hides; mobile media query enables */
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.tt-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--tt-text);
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: 0;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.tt-icon-btn:hover,
.tt-icon-btn:focus-visible {
    background: var(--tt-primary);
    border-color: var(--tt-primary);
    color: #fff;
}
.tt-icon-btn svg {
    width: 18px; height: 18px;
    fill: currentColor;
    flex: 0 0 18px;
}
.tt-icon-btn__badge {
    position: absolute;
    top: -6px; right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--tt-primary);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tt-icon-btn:hover .tt-icon-btn__badge,
.tt-icon-btn:focus-visible .tt-icon-btn__badge {
    background: #fff;
    color: var(--tt-primary);
    border-color: var(--tt-primary);
}
.tt-logo { display: inline-flex; align-items: center; }
.tt-logo img { width: auto; height: auto; }

/* Top-bar logo: small (~36px tall, ~140px wide max) per source customizer */
.tt-logo--top img { max-height: 36px; max-width: 140px; }

/* Main-bar logo: only visible on mobile (top bar is hidden there) */
.tt-logo--main { display: none; }
.tt-logo--main img { max-height: 44px; }

.tt-logo--text {
    font-family: var(--tt-ff);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--tt-text);
    font-size: 1.05rem;
    letter-spacing: .04em;
}

.tt-primary-nav {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}
.tt-primary-nav > ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;       /* still allow 2-line wrap below ~1280px viewport */
    justify-content: center;
    column-gap: 22px;
    row-gap: 0;
    align-items: center;
}
.tt-primary-nav > ul > li { position: relative; }
.tt-primary-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tt-text);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;            /* matches the top utility menu (Home / About / …) */
    letter-spacing: .04em;
    padding: 14px 0;
    border-bottom: 3px solid transparent;
    transform: translateY(3px); /* compensate for the 3px primary row border */
    transition: color .15s ease, border-color .15s ease;
    white-space: nowrap;        /* labels never split mid-word */
}

/* Below ~1280px the row gets crowded — tighten the top utility cluster
   so email+phone+cart don't crowd into the secondary menu. */
@media (min-width: 1024px) and (max-width: 1280px) {
    .tt-primary-nav > ul { column-gap: 16px; }
    .tt-header__top-inner { gap: 16px; }
    .tt-secondary-menu { gap: 16px; }
    .tt-contact-list { gap: 12px; }
    .tt-contact-list a,
    .tt-secondary-menu a,
    .tt-cart { font-size: 12px; }
    .tt-logo--top img { max-height: 32px; }
}
.tt-primary-nav > ul > li > a:hover,
.tt-primary-nav > ul > li.is-active > a {
    color: var(--tt-primary);
    border-bottom-color: var(--tt-primary);
}
.tt-primary-nav .tt-caret {
    width: 9px; height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
}

/* Dropdowns */
.tt-primary-nav .tt-submenu {
    list-style: none;
    margin: 0; padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--tt-line);
    border-top: 3px solid var(--tt-primary);
    box-shadow: var(--tt-shadow-elev);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    z-index: 70;
}
.tt-primary-nav li:hover > .tt-submenu,
.tt-primary-nav li:focus-within > .tt-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.tt-primary-nav .tt-submenu li { position: relative; }
.tt-primary-nav .tt-submenu a {
    display: block;
    padding: 10px 18px;
    color: var(--tt-text);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.tt-primary-nav .tt-submenu a:hover {
    background: var(--tt-header-bg);
    color: var(--tt-primary);
}
.tt-primary-nav .tt-submenu .tt-submenu {
    top: 0;
    left: 100%;
    border-top: 1px solid var(--tt-line);
}

/* Mobile burger */
.tt-burger {
    display: none;
    background: transparent;
    border: 1px solid var(--tt-text);
    color: var(--tt-text);
    padding: 8px 14px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .05em;
    border-radius: 0;
    cursor: pointer;
    align-items: center;
    gap: 8px;
}
.tt-burger:hover { background: var(--tt-text); color: #fff; }
.tt-burger-icon {
    width: 18px; height: 14px;
    position: relative; display: inline-block;
}
.tt-burger-icon::before,
.tt-burger-icon::after,
.tt-burger-icon span {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .15s ease, top .2s ease;
}
.tt-burger-icon::before { top: 0; }
.tt-burger-icon span    { top: 6px; }
.tt-burger-icon::after  { top: 12px; }

/* Mobile drawer */
.tt-mobile-drawer {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(320px, 80vw);
    background: var(--tt-dark);
    color: var(--tt-text-on-dark);
    padding: 24px 22px 32px;
    z-index: 100;
    transform: translateX(-105%);
    transition: transform .25s ease;
    overflow-y: auto;
    box-shadow: var(--tt-shadow-elev);
}
.tt-mobile-drawer.is-open { transform: translateX(0); }
.tt-mobile-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 99;
}
.tt-mobile-overlay.is-open { opacity: 1; visibility: visible; }
.tt-mobile-drawer__close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 6px;
    margin-bottom: 14px;
}
.tt-mobile-nav {
    list-style: none; margin: 0; padding: 0;
}
.tt-mobile-nav > li {
    border-bottom: 1px solid var(--tt-line-dark);
}
.tt-mobile-nav li { list-style: none; }
.tt-mobile-row {
    display: flex;
    align-items: center;
    width: 100%;
}
.tt-mobile-link {
    flex: 1 1 auto;
    display: block;
    padding: 14px 4px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
}
.tt-mobile-link:hover { color: var(--tt-secondary); }
.tt-mobile-toggle {
    flex: 0 0 auto;
    background: transparent;
    color: #fff;
    border: 1px solid var(--tt-line-dark);
    width: 36px;
    height: 36px;
    margin-left: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background-color .15s ease, border-color .15s ease;
    border-radius: 0;
}
.tt-mobile-toggle:hover {
    background: var(--tt-primary);
    border-color: var(--tt-primary);
}
.tt-mobile-plus {
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
    transition: transform .2s ease;
    display: inline-block;
}
.tt-mobile-nav li.is-open > .tt-mobile-row > .tt-mobile-toggle .tt-mobile-plus {
    transform: rotate(45deg); /* + → × */
}
.tt-mobile-nav .tt-submenu {
    list-style: none;
    margin: 0; padding: 0 0 6px 14px;
    border-left: 2px solid rgba(255,255,255,.06);
    margin-left: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}
.tt-mobile-nav li.is-open > .tt-submenu {
    max-height: 1500px;
}
.tt-mobile-nav .tt-submenu .tt-mobile-link {
    padding: 10px 4px;
    font-size: 13px;
    color: rgba(255,255,255,.85);
    font-weight: 500;
}
.tt-mobile-nav .tt-submenu .tt-submenu .tt-mobile-link {
    font-size: 12px;
    color: rgba(255,255,255,.7);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
.tt-mobile-nav--secondary {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--tt-line-dark);
}
.tt-mobile-nav--secondary > li { border-bottom: 0; }
.tt-mobile-nav--secondary .tt-mobile-link {
    padding: 10px 4px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
}
.tt-mobile-actions {
    margin-top: 22px;
    display: grid;
    gap: 10px;
}

/* ── Hero — full-bleed video / image with light overlay ──── */
.tt-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: var(--tt-dark);
    color: #fff;
}
.tt-hero__media,
.tt-hero__media video,
.tt-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.tt-hero__media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.55) 100%);
    z-index: 1;
}
.tt-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--tt-container);
    padding: 60px 20px 36px;
    text-align: center;
}
.tt-hero__title {
    font-size: clamp(2rem, 6vw, 3.6rem);
    color: #fff;
    text-transform: none;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.tt-hero__title em {
    font-style: italic;
    font-weight: 800;
    color: #fff;
}
.tt-hero__subtitle {
    color: rgba(255,255,255,.9);
    font-size: clamp(1rem, 2vw, 1.15rem);
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-top: 14px;
    font-weight: 600;
}

/* ── Brand cards — Cummins / Duramax / Powerstroke ─────── */
.tt-shop-by-brand {
    background: var(--tt-site-bg);
    padding: 56px 0 64px;
}
.tt-shop-by-brand__heading {
    text-align: center;
    margin: 0 0 36px;
    font-weight: 800;
}
.tt-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}
/* Image-forward card: clean uncropped image on top, full-width CTA below.
   No overlay or caption on the image so the photo reads at full strength. */
.tt-brand-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: transparent;
    color: var(--tt-text);
    border-radius: 0;
}
.tt-brand-card__media {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;        /* matches the 1024×512 vendored brand assets */
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 0;
    border: 2px solid #d9d9d9;
    transition: border-color .15s ease;
}
.tt-brand-card:hover .tt-brand-card__media,
.tt-brand-card:focus-within .tt-brand-card__media {
    border-color: var(--tt-primary);
}
.tt-brand-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.tt-brand-card:hover .tt-brand-card__media img,
.tt-brand-card:focus-within .tt-brand-card__media img {
    transform: scale(1.04);
}
.tt-brand-card__cta {
    align-self: stretch;        /* full-width button under the image */
    justify-content: center;
}
.tt-brand-card__cta:hover {
    background: var(--tt-secondary);
    border-color: var(--tt-secondary);
}

/* ── About split — image left, copy right ────────────────── */
.tt-about {
    background: var(--tt-site-bg);
    padding: 24px 0 80px;
}
.tt-about__heading {
    text-align: center;
    margin: 0 0 40px;
}
.tt-about__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}
.tt-about__media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--tt-radius);
}
.tt-about__copy p {
    color: var(--tt-text);
    margin: 0 0 1.1em;
    line-height: 1.8;
}
.tt-about__cta { margin-top: 14px; text-align: center; }

/* ── Top products grid ───────────────────────────────────── */
.tt-products {
    background: var(--tt-site-bg);
    padding: 72px 0 80px;
    border-top: 1px solid var(--tt-line);
}
.tt-products__heading {
    text-align: center;
    margin: 0 0 40px;
}
.tt-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
/* Card styling is scoped to product GRIDS so the show-page wrapper
   (also `.tt-product`) doesn't pick up the border/shadow/lift. */
.tt-products__grid .tt-product {
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .15s ease, transform .15s ease, box-shadow .2s ease;
}
.tt-products__grid .tt-product:hover {
    border-color: var(--tt-primary);
    transform: translateY(-2px);
    box-shadow: var(--tt-shadow-card);
}
.tt-product__media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}
.tt-product__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.tt-product:hover .tt-product__media img { transform: scale(1.04); }
.tt-product__body {
    padding: 18px 18px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.tt-product__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    text-transform: none;
    line-height: 1.3;
}
.tt-product__title a {
    color: var(--tt-text);
}
.tt-product__title a:hover { color: var(--tt-primary); }
.tt-product__price {
    color: var(--tt-text);
    font-weight: 600;
    font-size: 1rem;
}
.tt-product__price .tt-price-from { color: var(--tt-text-muted); font-weight: 400; font-size: .85rem; }
.tt-product__price .tt-price-range { white-space: nowrap; }
.tt-product__cta { margin-top: auto; }

.tt-products__more { margin-top: 40px; text-align: center; }
.tt-products__pagination {
    display: flex; justify-content: center; gap: 6px;
    margin-top: 28px;
    list-style: none; padding: 0;
}
.tt-products__pagination a,
.tt-products__pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--tt-line);
    color: var(--tt-text);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--tt-radius);
}
.tt-products__pagination .is-current,
.tt-products__pagination a:hover {
    background: var(--tt-primary);
    color: #fff;
    border-color: var(--tt-primary);
}

/* ── Latest news / blog feed ─────────────────────────────── */
.tt-news {
    background: var(--tt-site-bg);
    padding: 72px 0 80px;
    border-top: 1px solid var(--tt-line);
}
.tt-news__heading {
    text-align: center;
    margin: 0 0 36px;
}
.tt-news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.tt-news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--tt-line);
    transition: border-color .15s ease, transform .15s ease, box-shadow .2s ease;
}
.tt-news-card:hover {
    border-color: var(--tt-primary);
    transform: translateY(-2px);
    box-shadow: var(--tt-shadow-card);
}
.tt-news-card__media {
    aspect-ratio: 16 / 9;
    background: #f1f1f1 center/cover no-repeat;
    overflow: hidden;
}
.tt-news-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .3s ease;
}
.tt-news-card:hover .tt-news-card__media img { transform: scale(1.03); }
.tt-news-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tt-news-card__date {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--tt-text-muted);
    font-weight: 600;
}
.tt-news-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: none;
    line-height: 1.35;
    margin: 0;
}
.tt-news-card__title a { color: var(--tt-text); }
.tt-news-card__title a:hover { color: var(--tt-primary); }
.tt-news-card__excerpt {
    color: var(--tt-text-muted);
    font-size: .9rem;
    line-height: 1.6;
    margin: 0;
}
.tt-news-card__more {
    margin-top: 6px;
    color: var(--tt-primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.tt-news-card__more:hover { color: var(--tt-secondary); }
.tt-news__cta-row { text-align: center; margin-top: 40px; }

/* ── Footer — single dark band ────────────────────────────
   Matches taterbuiltturbocharger.com customizer:
     bg     = #14171c  (--nv-dark-bg)
     text   = #ffffff  (--nv-text-dark-bg)
     menu   = 0.9em / 500 / center / 20px gap / hover red
     social = 18px icons, 5px radius, 5px padding, 10px gap
     widget = stacked centered email / address / phone
   ──────────────────────────────────────────────────────── */
.tt-footer {
    background: var(--tt-dark);
    color: var(--tt-text-on-dark);
    padding: 36px 0 28px;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    border-top: 0;
}
.tt-footer .tt-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}
.tt-footer a { color: #fff; }
.tt-footer a:hover,
.tt-footer a:focus-visible { color: var(--tt-primary); }

/* Menu — horizontal centered list */
.tt-footer__menu-wrap { width: 100%; }
.tt-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    row-gap: 6px;
}
.tt-footer__menu a {
    color: #fff;
    font-size: 0.9em;     /* 12.6px @ 14px base */
    font-weight: 500;
    line-height: 1.6em;
    text-transform: none;
    letter-spacing: 0;
}
.tt-footer__menu a:hover { color: var(--tt-primary); }

/* Payment icons */
.tt-footer__payment {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 4px 0;
}
.tt-footer__payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 28px;
    background: #ffffff;
    border-radius: 4px;
    padding: 4px 6px;
    box-sizing: border-box;
    color: #1a1a1a;
}
.tt-footer__payment-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

/* Contact widget — vertical stacked */
.tt-footer__widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.tt-footer__widget-line {
    color: rgba(255,255,255,.92);
    font-size: 0.95em;
    font-style: normal;
    text-decoration: none;
}
.tt-footer__widget-line:hover { color: var(--tt-primary); }

/* Social icons */
.tt-footer__social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.tt-footer__social a {
    width: 32px; height: 32px;
    border-radius: 5px;
    background: rgba(255,255,255,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    color: #fff;
    transition: background-color .15s ease, color .15s ease;
}
.tt-footer__social a:hover { background: var(--tt-primary); color: #fff; }
.tt-footer__social svg { width: 18px; height: 18px; fill: currentColor; }

.tt-footer__copyright {
    color: rgba(255,255,255,.7);
    font-size: 0.85em;
    margin-top: 4px;
}

/* ── Notification bar ────────────────────────────────────── */
.tt-notification {
    background: var(--tt-primary);
    color: #fff;
    text-align: center;
    font-size: 13px;
    padding: 8px 16px;
    font-weight: 600;
    letter-spacing: .03em;
}
.tt-notification a { color: #fff; text-decoration: underline; }

/* ── Product page (Shop Mendol show.blade.php override) ──── */
.tt-product-page { padding: 36px 0 64px; }

.tt-breadcrumb {
    font-size: 13px;
    color: var(--tt-text-muted);
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.tt-breadcrumb a { color: var(--tt-text-muted); }
.tt-breadcrumb a:hover { color: var(--tt-primary); }
.tt-breadcrumb__current { color: var(--tt-text); }

.tt-product {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: flex-start;
}

/* Gallery */
.tt-product__gallery { position: sticky; top: 110px; align-self: flex-start; }
.tt-product__main {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    border: 2px solid #e1e1e1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tt-product__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-product__main-placeholder {
    font-size: 4rem;
    font-weight: 800;
    color: #ccc;
    text-transform: uppercase;
}
.tt-product__thumbs {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 10px;
}
.tt-product__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    border: 2px solid #e1e1e1;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: border-color .15s ease;
}
.tt-product__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-product__thumb:hover { border-color: var(--tt-secondary); }
.tt-product__thumb.is-active { border-color: var(--tt-primary); }

/* Info column */
.tt-product__info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tt-product__category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--tt-primary);
}
.tt-product__title {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 800;
    text-transform: none;
    line-height: 1.2;
    margin: 0;
    color: var(--tt-text);
}
.tt-product__price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--tt-text);
    margin: 4px 0 0;
}
.tt-product__short {
    color: var(--tt-text);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}
.tt-product__short p { margin: 0 0 .8em; }

/* Variant + option labels */
.tt-product__field-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--tt-text);
    margin: 8px 0 8px;
}
.tt-required { color: var(--tt-primary); margin-left: 4px; }

.tt-product__variants,
.tt-product__options { display: flex; flex-direction: column; gap: 4px; }
.tt-option-group { margin-bottom: 4px; }

/* Swatch buttons (radio inputs styled as pills) */
.tt-product__variant-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tt-swatch { cursor: pointer; }
.tt-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.tt-swatch__face {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid #d9d9d9;
    background: #fff;
    color: var(--tt-text);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.tt-swatch__face small {
    font-size: 11px;
    font-weight: 500;
    color: var(--tt-text-muted);
    text-transform: none;
    letter-spacing: 0;
}
.tt-swatch:hover .tt-swatch__face { border-color: var(--tt-primary); color: var(--tt-primary); }
.tt-swatch input:checked + .tt-swatch__face {
    background: var(--tt-primary);
    border-color: var(--tt-primary);
    color: #fff;
}
.tt-swatch input:checked + .tt-swatch__face small { color: rgba(255,255,255,.85); }

.tt-product__select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #d9d9d9;
    border-radius: 0;
    font: inherit;
    font-size: 14px;
    background: #fff;
    color: var(--tt-text);
}
.tt-product__select:focus { border-color: var(--tt-primary); outline: 0; }

/* Add to cart row */
.tt-product__form { margin-top: 8px; }
.tt-product__add {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.tt-product__qty {
    width: 80px;
    padding: 10px;
    border: 2px solid #d9d9d9;
    text-align: center;
    font: inherit;
    font-size: 14px;
}
.tt-product__qty:focus { border-color: var(--tt-primary); outline: 0; }
.tt-product__cta {
    flex: 1 1 auto;
    padding: 14px 24px;
    font-size: 14px;
    justify-content: center;
}

.tt-product__meta {
    display: flex;
    gap: 6px;
    font-size: 13px;
    color: var(--tt-text-muted);
}
.tt-product__meta-label { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tt-text); }
.tt-product__meta-value a { color: var(--tt-text); }
.tt-product__meta-value a:hover { color: var(--tt-primary); }

/* ── Product info sections (tabs / accordion) ──
   Markup: paired <details data-tt-tab><summary/><body/></details> elements.
   Mobile gets a true stacked accordion (one accordion row per tab, body
   directly underneath, native <details> open/close). Desktop overrides to
   a card-catalog tab layout — heads in a row above one shared bordered
   content card, single-active controlled by JS .is-active class. */

.tt-product-tabs {
    margin-top: 56px;
}
.tt-product-tab {
    background: transparent;
}
.tt-product-tab__head {
    cursor: pointer;
    user-select: none;
    list-style: none;          /* hide native <summary> disclosure marker */
}
.tt-product-tab__head::-webkit-details-marker { display: none; }
.tt-product-tab__head::marker { display: none; }
.tt-rich-text {
    /* shared inside .tt-product-tab__body */
}

/* ── Desktop: card-catalog ── */
@media (min-width: 901px) {
    .tt-product-tabs {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
    }
    /* `display: contents` makes <details> transparent to layout — its
       summary + body become direct flex items of .tt-product-tabs.
       Summaries line up in a row at the top; bodies flex-wrap to row 2
       (forced full-width via flex-basis 100%) and only the active one
       displays — so they all stack at the same spot but only one is
       visible. */
    .tt-product-tab { display: contents; }

    .tt-product-tab__head {
        position: relative;
        background: #ececec;
        color: var(--tt-text-muted);
        border: 2px solid #d9d9d9;
        border-bottom: 0;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        padding: 10px 18px 12px;
        margin-right: 4px;
        margin-bottom: -2px;       /* overlap the card's top edge */
        z-index: 2;
        white-space: nowrap;
        flex: 0 0 auto;
        transition: background-color .15s ease, color .15s ease, padding .15s ease;
    }
    .tt-product-tab__head:hover {
        color: var(--tt-text);
        background: #f5f5f5;
    }
    .tt-product-tab.is-active > .tt-product-tab__head {
        background: #fff;
        color: var(--tt-text);
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .tt-product-tab.is-active > .tt-product-tab__head::before {
        content: '';
        position: absolute;
        top: -2px; left: -2px; right: -2px;
        height: 3px;
        background: var(--tt-primary);
    }
    .tt-product-tab.is-active > .tt-product-tab__head::after {
        content: '';
        position: absolute;
        left: 0; right: 0; bottom: -2px;
        height: 2px;
        background: #fff;
    }

    /* Shared card area. flex: 1 1 100% forces a wrap; order: 99 pushes to end. */
    .tt-product-tab__body {
        flex: 1 1 100%;
        order: 99;
        background: #fff;
        border: 2px solid #d9d9d9;
        padding: 28px 30px;
        position: relative;
        z-index: 1;
        display: none !important;    /* override native <details> open default */
    }
    .tt-product-tab.is-active > .tt-product-tab__body {
        display: block !important;
    }
}

/* ── Mobile: stacked accordion (≤ 900px) ── */
@media (max-width: 900px) {
    .tt-product-tabs {
        margin-top: 32px;
        border: 2px solid #d9d9d9;
    }
    .tt-product-tab {
        background: #fff;
        border-bottom: 1px solid #d9d9d9;
    }
    .tt-product-tab:last-child { border-bottom: 0; }

    .tt-product-tab__head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 14px 44px 14px 16px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--tt-text);
        background: #fafafa;
    }
    .tt-product-tab__head::after {
        content: '+';
        position: absolute;
        right: 14px; top: 50%;
        transform: translateY(-50%);
        font-size: 22px;
        line-height: 1;
        font-weight: 400;
        color: var(--tt-primary);
        transition: transform .2s ease;
    }
    /* When <details open>: rotate + into × and switch background to white,
       red left rail to anchor it as the focused row */
    .tt-product-tab[open] > .tt-product-tab__head {
        background: #fff;
        border-left: 4px solid var(--tt-primary);
        padding-left: 12px;
    }
    .tt-product-tab[open] > .tt-product-tab__head::after {
        transform: translateY(-50%) rotate(45deg);
    }
    .tt-product-tab__body {
        padding: 16px 16px 22px;
        background: #fff;
    }
}
.tt-rich-text { line-height: 1.7; color: var(--tt-text); }
.tt-rich-text ul,
.tt-rich-text ol { padding-left: 1.4em; margin: 0 0 1em; }
.tt-rich-text li { margin-bottom: .35em; }
.tt-rich-text p { margin: 0 0 1em; }
.tt-rich-text strong { font-weight: 700; }

/* Related strip uses existing .tt-products__grid */
.tt-related { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--tt-line); }
.tt-related__heading { text-align: center; margin: 0 0 28px; }

/* Mobile: stack gallery + info, drop sticky behavior, accordion tabs.
   On mobile the card-catalog metaphor becomes a stacked accordion — each
   tab is a bordered card row with its own +/× toggle on the right. */
@media (max-width: 900px) {
    .tt-product { grid-template-columns: 1fr; gap: 28px; }
    .tt-product__gallery { position: static; }
    .tt-product__title { font-size: 1.4rem; }

    .tt-product-tabs__strip {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    .tt-product-tabs__strip > li { margin-bottom: 0; }
    .tt-product-tabs__btn {
        background: #fff;
        color: var(--tt-text);
        border: 2px solid #d9d9d9;
        border-bottom: 0;
        text-align: left;
        padding: 14px 40px 14px 16px;
        position: relative;
        text-transform: uppercase;
        font-size: 12px;
    }
    .tt-product-tabs__strip > li:not(:first-child) .tt-product-tabs__btn { border-top: 0; }
    .tt-product-tabs__btn::before { display: none; }
    .tt-product-tabs__btn::after {
        content: '+';
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 400;
        font-size: 22px;
        line-height: 1;
        color: var(--tt-primary);
        transition: transform .2s ease;
        background: transparent;
        height: auto;
        left: auto;
    }
    .tt-product-tabs__btn.is-active {
        padding-top: 14px;
        padding-bottom: 14px;
        background: #fff;
        border-left-color: var(--tt-primary);
        border-left-width: 4px;
        padding-left: 14px;
    }
    .tt-product-tabs__btn.is-active::after { transform: translateY(-50%) rotate(45deg); }

    .tt-product-tabs__panels {
        border-top: 0;
        padding: 20px 16px;
        margin-top: 0;
    }
    .tt-product-tabs__panel.is-active { border-top: 0; }
}

/* ── Shop catalog (index) ────────────────────────────────── */
.tt-shop-page { padding: 36px 0 80px; }
.tt-shop-page__head { margin-bottom: 28px; }
.tt-shop-page__title {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    margin: 0 0 6px;
    text-transform: none;
}
.tt-shop-page__sub { margin: 0; color: var(--tt-text-muted); font-size: 14px; }

/* Year-bracket / sub-category quick-drill pills, rendered on parent
   category pages (Cummins, Powerstroke, Parts, etc.). Each pill links to
   one child category; label preserves the bracketed year ranges as-is. */
.tt-year-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.tt-year-pills__link {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 2px solid var(--tt-line);
    background: #fff;
    color: var(--tt-text);
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: .01em;
    border-radius: 0;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
    white-space: nowrap;
}
.tt-year-pills__link:hover,
.tt-year-pills__link:focus-visible {
    border-color: var(--tt-primary);
    background: var(--tt-primary);
    color: #fff;
}
.tt-shop-page__description {
    margin: 6px 0 0;
    color: var(--tt-text);
    line-height: 1.6;
    max-width: 720px;
}

/* Toolbar (count + sort) */
.tt-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--tt-line);
}
.tt-shop-toolbar__count { font-size: 13px; color: var(--tt-text-muted); }
.tt-shop-toolbar__sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.tt-shop-toolbar__sort label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--tt-text-muted);
}
.tt-shop-toolbar__sort select {
    width: auto;
    padding: 8px 28px 8px 12px;
    font-size: 13px;
}

.tt-shop-empty {
    padding: 60px 20px;
    text-align: center;
    border: 1px dashed var(--tt-line);
}
.tt-shop-empty p { margin: 0 0 16px; color: var(--tt-text-muted); }

.tt-product__media-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ccc;
    font-weight: 800;
}

/* Pagination */
.tt-pagination { margin-top: 32px; }
.tt-pagination__list {
    list-style: none; margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.tt-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 2px solid #d9d9d9;
    background: #fff;
    color: var(--tt-text);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.tt-pagination__btn:hover { border-color: var(--tt-primary); color: var(--tt-primary); }
.tt-pagination__btn.is-current {
    background: var(--tt-primary);
    border-color: var(--tt-primary);
    color: #fff;
    pointer-events: none;
}
.tt-pagination__btn.is-disabled {
    color: var(--tt-text-muted);
    border-color: #ececec;
    pointer-events: none;
}
.tt-pagination__ellipsis { padding: 0 8px; color: var(--tt-text-muted); align-self: center; }

/* ── Cart page ─────────────────────────────────────────── */
.tt-cart-page { padding: 36px 0 80px; }
.tt-cart-empty {
    text-align: center;
    padding: 60px 20px;
    border: 1px dashed var(--tt-line);
}
.tt-cart-empty p { margin: 0 0 18px; color: var(--tt-text-muted); }

.tt-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: flex-start;
}

.tt-cart-items { display: flex; flex-direction: column; gap: 12px; }
.tt-cart-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto auto auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--tt-line);
}
.tt-cart-item__media {
    width: 88px;
    height: 88px;
    background: #f5f5f5;
    overflow: hidden;
    display: block;
}
.tt-cart-item__media img {
    width: 100%; height: 100%; object-fit: cover;
}
.tt-cart-item__body { min-width: 0; }
.tt-cart-item__title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    text-transform: none;
    line-height: 1.3;
}
.tt-cart-item__title a { color: var(--tt-text); }
.tt-cart-item__title a:hover { color: var(--tt-primary); }
.tt-cart-item__variant {
    font-size: 12px;
    font-weight: 600;
    color: var(--tt-primary);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px;
}
.tt-cart-item__options {
    list-style: none;
    margin: 4px 0 6px;
    padding: 0;
    font-size: 12px;
    color: var(--tt-text-muted);
    line-height: 1.5;
}
.tt-cart-item__opt-label { font-weight: 600; color: var(--tt-text); }
.tt-cart-item__unit { font-size: 13px; color: var(--tt-text-muted); }
.tt-cart-item__line {
    font-size: 16px;
    font-weight: 800;
    color: var(--tt-text);
    min-width: 88px;
    text-align: right;
}
.tt-cart-item__remove button {
    background: transparent;
    border: 1px solid #d9d9d9;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: var(--tt-text-muted);
    font-size: 18px;
    line-height: 1;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.tt-cart-item__remove button:hover {
    background: var(--tt-primary);
    border-color: var(--tt-primary);
    color: #fff;
}

/* Quantity stepper */
.tt-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 2px solid #d9d9d9;
    background: #fff;
}
.tt-qty-stepper__btn {
    width: 32px;
    height: 36px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: var(--tt-text);
    transition: background-color .15s ease, color .15s ease;
}
.tt-qty-stepper__btn:hover { background: var(--tt-primary); color: #fff; }
.tt-qty-stepper__value {
    min-width: 36px;
    padding: 0 4px;
    font-weight: 700;
    text-align: center;
    align-self: center;
    user-select: none;
}

.tt-cart-back {
    display: inline-block;
    margin-top: 8px;
    color: var(--tt-text-muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.tt-cart-back:hover { color: var(--tt-primary); }

/* Cart summary card */
.tt-cart-summary {
    position: sticky;
    top: 110px;
    background: #fff;
    border: 1px solid var(--tt-line);
    padding: 24px;
    align-self: flex-start;
}
.tt-cart-summary__heading {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--tt-line);
}
.tt-cart-summary__lines { margin: 0; }
.tt-cart-summary__lines > div {
    display: flex;
    justify-content: space-between;
    margin: 0 0 8px;
    font-size: 14px;
}
.tt-cart-summary__lines dt { margin: 0; color: var(--tt-text-muted); }
.tt-cart-summary__lines dd { margin: 0; font-weight: 600; }
.tt-cart-summary__free { color: #207a37 !important; font-weight: 700 !important; }
.tt-cart-summary__total {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 2px solid var(--tt-text);
    font-size: 18px;
    font-weight: 800;
}
.tt-cart-summary__cta { width: 100%; padding: 14px; font-size: 14px; }
.tt-cart-summary__action { margin-top: 16px; }
.tt-cart-summary__note { font-size: 11px; color: var(--tt-text-muted); margin: 10px 0 0; text-align: center; }

@media (max-width: 900px) {
    .tt-cart-layout { grid-template-columns: 1fr; gap: 22px; }
    .tt-cart-summary { position: static; }
    .tt-cart-item {
        grid-template-columns: 72px minmax(0, 1fr) auto;
        grid-template-areas:
            "media body line"
            "media qty  remove";
        row-gap: 10px;
    }
    .tt-cart-item__media { grid-area: media; width: 72px; height: 72px; }
    .tt-cart-item__body { grid-area: body; }
    .tt-cart-item__line { grid-area: line; min-width: auto; align-self: start; }
    .tt-cart-item__qty  { grid-area: qty; justify-self: start; }
    .tt-cart-item__remove { grid-area: remove; justify-self: end; align-self: center; }
}

/* ── Checkout success / cancel ───────────────────────────── */
.tt-checkout { padding: 60px 0 80px; }
.tt-checkout__container { display: flex; justify-content: center; }
.tt-checkout-card {
    width: 100%;
    max-width: 600px;
    background: #fff;
    padding: 48px 36px;
    border: 1px solid var(--tt-line);
    text-align: center;
}
.tt-checkout-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tt-checkout-card__icon svg { width: 30px; height: 30px; display: block; }
.tt-checkout-card--success .tt-checkout-card__icon {
    background: rgba(32, 122, 55, .12);
    color: #207a37;
}
.tt-checkout-card--cancel .tt-checkout-card__icon {
    background: rgba(187, 0, 0, .12);
    color: var(--tt-primary);
}
.tt-checkout-card__title {
    font-size: 1.5rem;
    text-transform: none;
    margin: 0 0 8px;
}
.tt-checkout-card__sub { color: var(--tt-text-muted); margin: 0 0 24px; }

.tt-checkout-card__actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tt-order-summary {
    margin: 24px 0 4px;
    text-align: left;
    border: 1px solid var(--tt-line);
    padding: 18px 20px;
}
.tt-order-summary__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--tt-line);
    margin-bottom: 12px;
}
.tt-order-summary__label { display: block; font-size: 11px; color: var(--tt-text-muted); text-transform: uppercase; letter-spacing: .12em; }
.tt-order-summary__value { font-size: 1.05rem; font-weight: 800; }
.tt-order-summary__badge {
    background: var(--tt-primary);
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.tt-order-summary__items {
    list-style: none; margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tt-order-summary__items li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(0,0,0,.04);
}
.tt-order-summary__items li small { color: var(--tt-text-muted); margin-left: 4px; }
.tt-order-summary__total {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid var(--tt-text);
    font-size: 18px;
    font-weight: 800;
}

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

/* ── Skip-to-content / a11y ──────────────────────────────── */
.skip-to-content {
    position: absolute;
    left: -9999px;
}
.skip-to-content:focus {
    left: 16px;
    top: 16px;
    background: var(--tt-primary);
    color: #fff;
    padding: 10px 14px;
    z-index: 200;
}

/* ── Responsive ──────────────────────────────────────────── */

/* Defensive: prevent grid items / long product titles from pushing the row
   wider than the viewport — `1fr` defaults to `minmax(auto,1fr)` and the
   `auto` part is content-width, so a long unbreakable word can overflow. */
.tt-brand-grid > *,
.tt-products__grid > *,
.tt-news__grid > *,
.tt-about__split > * {
    min-width: 0;
}
.tt-product__title,
.tt-news-card__title,
.tt-product__price {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 1024px) {
    :root {
        --tt-fs-h1: 2.1rem;
        --tt-fs-h2: 1.6rem;
    }
    .tt-header__top { display: none; }
    .tt-primary-nav { display: none; }
    .tt-burger { display: inline-flex; }

    /* The mobile-bar logo replaces the top-bar logo on small viewports */
    .tt-logo--top { display: none; }
    .tt-logo--main { display: inline-flex; }

    /* 3-column header bar on mobile: [burger] [logo] [call + cart] */
    .tt-header__main-inner {
        display: grid;
        grid-template-columns: minmax(96px, 1fr) auto minmax(96px, 1fr);
        align-items: center;
        gap: 12px;
        min-height: 64px;
        padding: 10px 0;
    }
    .tt-header__main-inner > .tt-burger      { grid-column: 1; justify-self: start; }
    .tt-header__main-inner > .tt-logo--main  { grid-column: 2; justify-self: center; }
    .tt-header__main-inner > .tt-primary-nav { display: none; }
    .tt-header__main-inner > .tt-header__actions {
        grid-column: 3;
        justify-self: end;
        display: inline-flex;
        margin-left: 0;
    }

    .tt-logo--main img { max-height: 44px; }
    .tt-products__grid,
    .tt-news__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tt-about__split { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 700px) {
    .tt-section { padding: 48px 0; }
    .tt-section--lg { padding: 64px 0; }
    .tt-brand-grid { grid-template-columns: 1fr; gap: 14px; }
    .tt-products__grid,
    .tt-news__grid { grid-template-columns: 1fr; gap: 18px; }
    .tt-hero { min-height: 280px; }
    .tt-hero__title { font-size: 2rem; }

    /* On very narrow screens drop "Menu" label text but keep the bars icon */
    .tt-burger { padding: 8px 10px; gap: 6px; font-size: 12px; }
}

/* Tighten further at really small widths to prevent any side-scroll */
@media (max-width: 380px) {
    .tt-header__main-inner {
        grid-template-columns: auto auto auto;
        gap: 6px;
    }
    .tt-burger { padding: 6px 8px; font-size: 0; gap: 0; }
    .tt-burger .tt-burger-icon { margin: 0; }
    .tt-logo--main img { max-height: 36px; }
    .tt-icon-btn { width: 36px; height: 36px; }
}

/* ── Product image zoom + lightbox ───────────────────────────── */
.tt-product__main { position: relative; }
.tt-product__main img[data-tt-gallery-main] { cursor: zoom-in; }
.tt-product__zoom {
    position: absolute; top: 10px; right: 10px;
    background: rgba(0,0,0,.55); color: #fff;
    border-radius: 6px; font-size: 1.05rem; line-height: 1;
    padding: 6px 8px; pointer-events: none;
}
.tt-lightbox {
    position: fixed; inset: 0; z-index: 3000; display: none;
    align-items: center; justify-content: center;
    background: rgba(0,0,0,.92); padding: 24px;
}
.tt-lightbox.is-open { display: flex; }
.tt-lightbox__img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 6px; }
.tt-lightbox__btn {
    position: absolute; background: rgba(255,255,255,.12); color: #fff;
    border: 0; cursor: pointer; border-radius: 50%;
    width: 48px; height: 48px; font-size: 2rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.tt-lightbox__btn:hover { background: rgba(255,255,255,.3); }
.tt-lightbox__close { top: 18px; right: 18px; font-size: 1.9rem; }
.tt-lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.tt-lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.tt-lightbox__count {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: .9rem; background: rgba(0,0,0,.45);
    padding: 4px 12px; border-radius: 999px;
}
.tt-lightbox--single .tt-lightbox__prev,
.tt-lightbox--single .tt-lightbox__next,
.tt-lightbox--single .tt-lightbox__count { display: none; }
@media (max-width: 600px) {
    .tt-lightbox__btn { width: 40px; height: 40px; font-size: 1.6rem; }
}


/* ── Hub tiles — sub-category grid at the top of a hub page (2026-09-01) ── */
.tt-hub-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 18px; }
.tt-hub-tile { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--tt-line); color: var(--tt-text); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.tt-hub-tile:hover, .tt-hub-tile:focus-visible { border-color: var(--tt-primary); transform: translateY(-2px); }
.tt-hub-tile__media { display: flex; align-items: center; justify-content: center; height: 130px; background: #f4f4f4; overflow: hidden; }
.tt-hub-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tt-hub-tile__media--product { background: #fff; padding: 10px; box-sizing: border-box; }
.tt-hub-tile__media--product img { object-fit: contain; }
.tt-hub-tile__initial { font-size: 28px; font-weight: 800; color: #999; letter-spacing: .04em; }
.tt-hub-tile__body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.tt-hub-tile__name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.tt-hub-tile__count { font-size: 12px; color: #777; }
.tt-hub-tile__cta { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--tt-primary); }
@media (max-width: 600px) { .tt-hub-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; } .tt-hub-tile__media { height: 96px; } }
/* Defensive (same reason as .tt-products__grid > *): a 2-up tile is ~155px on a 360px phone, so never let an
   unbreakable name/count widen the track past the viewport. */
.tt-hub-tiles > * { min-width: 0; }
.tt-hub-tile__name, .tt-hub-tile__count { overflow-wrap: anywhere; }

/* ── Type tiles + grouped hub list (2026-09-01) ── */
.tt-hub-tiles__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #888; margin: 22px 0 -8px; }
.tt-hub-tiles--types { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tt-hub-tile--compact { border-left: 4px solid var(--tt-primary); }
.tt-hub-tile--compact .tt-hub-tile__body { padding: 12px 14px; }
.tt-hub-tile.is-active { border-color: var(--tt-primary); background: #fff5f5; }
.tt-hub-tile--reset { border-left-color: #999; }
.tt-shop-group { margin-bottom: 34px; }
.tt-shop-group__title { font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 3px solid var(--tt-primary); display: flex; align-items: baseline; gap: 10px; }
.tt-shop-group__title span { font-size: 13px; font-weight: 600; color: #888; text-transform: none; letter-spacing: 0; }
.tt-shop-group__sub { font-size: 14px; font-weight: 700; color: #555; margin: 18px 0 10px; }
.tt-shop-group__sub:first-of-type { margin-top: 4px; }
.tt-shop-group .tt-products__grid + .tt-shop-group__sub { margin-top: 22px; }


/* ── Mobile menu, closer to taterbuiltturbocharger.com (2026-09-01) ──
   Light panel, site links first, then a "Shop" accordion with chevrons. ── */
.tt-mobile-drawer { background: #fff; color: var(--tt-text); width: min(340px, 84vw); padding: 18px 20px 28px; }
.tt-mobile-drawer__close { color: var(--tt-text); border: 1px solid var(--tt-line); width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; margin: 0 0 10px auto; font-size: 26px; }
.tt-mobile-drawer__close:hover { background: var(--tt-primary); border-color: var(--tt-primary); color: #fff; }
.tt-mobile-nav > li { border-bottom: 1px solid #eee; }
.tt-mobile-link { color: var(--tt-text); padding: 13px 4px; font-size: 15px; }
.tt-mobile-link:hover { color: var(--tt-primary); }
.tt-mobile-nav--site { margin: 0; padding: 0; border-top: 0; }
.tt-mobile-nav--site .tt-mobile-link { font-weight: 600; }
.tt-mobile-nav__label { margin: 22px 4px 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tt-primary); }
.tt-mobile-nav--shop { border-top: 2px solid var(--tt-primary); }
.tt-mobile-toggle { border: 0; color: var(--tt-text); width: 44px; height: 44px; margin-left: 4px; }
.tt-mobile-toggle:hover { background: #f3f3f3; color: var(--tt-primary); }
.tt-mobile-chevron { transition: transform .2s ease; }
.tt-mobile-nav li.is-open > .tt-mobile-row > .tt-mobile-toggle .tt-mobile-chevron { transform: rotate(180deg); }
.tt-mobile-nav li.is-open > .tt-mobile-row > .tt-mobile-link { color: var(--tt-primary); }
.tt-mobile-nav .tt-submenu { border-left: 2px solid #eee; }
.tt-mobile-nav .tt-submenu .tt-mobile-link { color: #333; font-size: 13.5px; }
.tt-mobile-nav .tt-submenu .tt-submenu .tt-mobile-link { color: #555; }
.tt-icon-btn--call { width: auto; padding: 0 14px; font-weight: 700; font-size: 14px; letter-spacing: .02em; }

/* Nine top-level shop items (brands + families, as on the original site): keep them on one row on laptops. */
@media (min-width: 1025px) and (max-width: 1500px) {
    .tt-primary-nav > ul { column-gap: 14px; }
    .tt-primary-nav > ul > li > a { font-size: 12.5px; letter-spacing: .03em; }
}


/* ── Instant product search (typeahead) — 2026-09-01 ── */
.tt-qs { position: relative; }
.tt-qs__field { display: flex; align-items: center; border: 1px solid var(--tt-line); background: #fff; height: 36px; }
.tt-qs__icon { width: 18px; height: 18px; margin: 0 6px 0 10px; color: #777; flex: none; }
.tt-qs__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; padding: 0 6px; height: 100%; }
.tt-qs__field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.tt-qs__go { border: 0; background: var(--tt-primary); color: #fff; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 0 12px; height: 100%; cursor: pointer; }
.tt-qs__results { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid var(--tt-line); box-shadow: 0 12px 34px rgba(0,0,0,.18); z-index: 120; max-height: min(70vh, 520px); overflow: auto; }
.tt-qs__label { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #999; padding: 10px 12px 4px; }
.tt-qs__item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; text-decoration: none; color: var(--tt-text); border-top: 1px solid #f3f3f3; }
.tt-qs__item:hover, .tt-qs__item.is-active { background: #fff5f5; }
.tt-qs__item img, .tt-qs__ph { width: 44px; height: 44px; object-fit: contain; background: #f5f5f5; flex: none; }
.tt-qs__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tt-qs__name { font-weight: 600; font-size: 13.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-qs__meta { font-size: 11.5px; color: #777; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-qs__price { font-weight: 700; font-size: 13px; color: var(--tt-primary); flex: none; }
.tt-qs__item--cat .tt-qs__name::before { content: '📁 '; }
.tt-qs__all { display: block; padding: 10px 12px; font-size: 13px; font-weight: 700; color: var(--tt-primary); text-decoration: none; border-top: 1px solid #eee; background: #fafafa; }
.tt-qs__all:hover, .tt-qs__all.is-active { background: #fff5f5; }
.tt-qs__empty { padding: 14px 12px; font-size: 13px; color: #777; }
/* top bar: compact, grows on focus */
.tt-qs--top { width: 220px; transition: width .2s ease; margin-right: 6px; }
.tt-qs--top:focus-within { width: 360px; }
.tt-qs--top .tt-qs__field { height: 32px; }
.tt-qs--top .tt-qs__results { width: 420px; right: auto; }
@media (max-width: 1300px) { .tt-qs--top { width: 170px; } .tt-qs--top:focus-within { width: 300px; } }
/* drawer */
.tt-qs--drawer { margin: 2px 0 12px; }
.tt-qs--drawer .tt-qs__field { height: 44px; }
.tt-qs--drawer .tt-qs__results { position: static; margin-top: 6px; box-shadow: none; max-height: 50vh; }

/* Top utility bar must stay one line with the search box + Turbochargers link added (2026-09-01). */
.tt-header__top-inner { flex-wrap: nowrap; }
.tt-header__top-left, .tt-header__top-right { flex-wrap: nowrap; min-width: 0; }
.tt-header__top-left ul, .tt-header__top-left nav ul { flex-wrap: nowrap; }
.tt-contact-list li a, .tt-cart { white-space: nowrap; }
@media (max-width: 1560px) {
    .tt-header__top-left ul { gap: 14px; column-gap: 14px; }
    .tt-contact-list li:first-child .tt-contact-list__text { display: none; }   /* email → icon only; still clickable */
    .tt-qs--top { width: 180px; }
    .tt-qs--top:focus-within { width: 320px; }
}
@media (max-width: 1280px) {
    .tt-header__top-left ul { gap: 10px; column-gap: 10px; }
    .tt-header__top-left a { font-size: 12px; }
    .tt-contact-list li:nth-child(2) .tt-contact-list__text { display: none; }   /* phone → icon only */
    .tt-qs--top { width: 150px; }
}

/* Phones: product cards two-across, matching the hub tiles above them (owner ask 2026-09-02). */
@media (max-width: 700px) {
    .tt-products__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .tt-products__grid .tt-product__body { padding: 10px 10px 12px; gap: 6px; }
    .tt-products__grid .tt-product__title { font-size: 14px; line-height: 1.3; }
    .tt-products__grid .tt-product__price { font-size: 15px; }
    .tt-products__grid .tt-product__price .tt-price-from { font-size: .78rem; }
    .tt-products__grid .tt-product__cta { font-size: 12px; padding: 10px 8px; min-height: 40px; }
}
@media (max-width: 380px) {
    .tt-products__grid .tt-product__title { font-size: 13px; }
    .tt-products__grid .tt-product__cta { font-size: 11px; padding: 9px 6px; }
}

/* Hub tiles now carry background-removed cutouts framed 4:3 — show the whole
   subject instead of cropping it (2026-09-02). */
.tt-hub-tile__media { background: #fff; }
.tt-hub-tile__media img { object-fit: contain; padding: 6px; box-sizing: border-box; }

/* ── Full-width shop / category pages (owner 2026-09-02) ──
   No sidebar, no breadcrumb, centred heading, scoped search, 4-up grid. ── */
/* The heading gets the full container; the description and search keep a
   comfortable reading width. Capping the whole block at 760px wrapped
   "Cummins 1991–2002 (5.9 12V/24V)" — it needs 772px at 44px (owner 2026-09-03). */
.tt-shop-page--wide .tt-shop-head { text-align: center; max-width: none; margin: 0 auto 26px; }
.tt-shop-head__title {
    font-size: clamp(24px, 4.4vw, 44px);   /* scales so even the longest name stays on one line */
    font-weight: 800; text-transform: uppercase; letter-spacing: .01em; margin: 0 0 10px;
    white-space: nowrap; max-width: 100%;
}
.tt-shop-head__desc { color: #555; line-height: 1.55; margin: 0 auto 16px; max-width: 68ch; }
/* One line is guaranteed down to 480px. On a phone a two-line heading reads
   better than shrinking every title to 17px, so wrap evenly below 600px. */
@media (max-width: 600px) {
    .tt-shop-head__title { white-space: normal; text-wrap: balance; font-size: clamp(22px, 6vw, 30px); }
}
.tt-shop-head__sub { color: #666; font-size: 14px; margin: 10px 0 0; }
.tt-shop-head__search { margin: 0 auto; max-width: 620px; text-align: left; }
.tt-shop-head__search .tt-qs__field { height: 46px; border-width: 2px; }
.tt-shop-head__search .tt-qs__field input { font-size: 16px; }
.tt-shop-head__search .tt-qs__go { padding: 0 18px; font-size: 13px; }
.tt-shop-page--wide .tt-products__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tt-shopbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--tt-line); border-bottom: 1px solid var(--tt-line); padding: 10px 0; margin: 22px 0 20px; }
.tt-shopbar__count { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #666; }
.tt-shopbar__sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.tt-shopbar__sort label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #888; }
.tt-shopbar__sort select { height: 42px; padding: 0 34px 0 12px; border: 2px solid var(--tt-line); background: #fff; font: inherit; font-size: 14px; border-radius: 0;
  appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 20px; }
@media (max-width: 1200px) { .tt-shop-page--wide .tt-products__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .tt-shop-page--wide .tt-products__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 700px) {
    .tt-shopbar { position: sticky; top: 62px; z-index: 30; background: #fff; margin: 16px 0; padding: 10px 0; }
    .tt-shopbar__count { flex: 1 1 auto; }
    .tt-shopbar__sort { flex: 1 1 100%; }
    .tt-shopbar__sort select { flex: 1; width: 100%; height: 46px; font-size: 15px; }
    .tt-shop-head__search .tt-qs__field { height: 48px; }
    .tt-shop-page--wide .tt-products__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ── Handling: a choice that takes over the screen (owner 2026-09-02) ── */
.tt-sp-strip { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer;
  border: 2px solid var(--tt-primary); background: #fff7f5; padding: 12px 14px; margin-top: 16px; }
.tt-sp-strip.is-unset { animation: tt-sp-pulse 1.6s ease-in-out 2; }
@keyframes tt-sp-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(220,82,52,.5); } 50% { box-shadow: 0 0 0 6px rgba(220,82,52,0); } }
.tt-sp-strip__label { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.tt-sp-strip__state { font-size: 13px; color: var(--tt-primary); font-weight: 700; }
.tt-sp-change { background: none; border: 0; color: var(--tt-primary); font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; padding: 0 0 0 6px; }
.tt-sp-modal { position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; padding: 20px; }
.tt-sp-modal[hidden] { display: none; }
.tt-sp-modal__card { background: #fff; width: 100%; max-width: 620px; max-height: 92vh; overflow: auto; padding: 32px 28px; border-top: 6px solid var(--tt-primary); box-shadow: 0 24px 70px rgba(0,0,0,.4); text-align: center; }
.tt-sp-modal__title { font-size: clamp(26px, 5vw, 38px); font-weight: 800; text-transform: uppercase; margin: 0 0 4px; }
.tt-sp-modal__price { font-size: 30px; font-weight: 800; color: var(--tt-primary); margin: 0 0 14px; }
.tt-sp-modal__blurb { font-size: 15px; line-height: 1.6; color: #444; margin: 0 auto 22px; max-width: 52ch; text-align: left; }
.tt-sp-modal__actions { display: grid; gap: 12px; }
.tt-sp-opt { display: block; width: 100%; text-align: left; padding: 16px 18px; border: 2px solid var(--tt-line); background: #fff; cursor: pointer; font: inherit; }
.tt-sp-opt strong { display: block; font-size: 17px; margin-bottom: 4px; }
.tt-sp-opt span { display: block; font-size: 13.5px; color: #666; line-height: 1.4; }
.tt-sp-opt--yes { border-color: var(--tt-primary); background: #fff7f5; }
.tt-sp-opt--yes:hover, .tt-sp-opt--yes:focus-visible { background: var(--tt-primary); }
.tt-sp-opt--yes:hover strong, .tt-sp-opt--yes:focus-visible strong, .tt-sp-opt--yes:hover span, .tt-sp-opt--yes:focus-visible span { color: #fff; }
.tt-sp-opt--no:hover, .tt-sp-opt--no:focus-visible { border-color: #999; background: #f7f7f7; }
.tt-sp-modal__note { font-size: 12.5px; color: #888; margin: 18px 0 0; }
@media (max-width: 600px) { .tt-sp-modal { padding: 0; align-items: stretch; } .tt-sp-modal__card { max-width: none; max-height: 100vh; padding: 28px 20px; display: flex; flex-direction: column; justify-content: center; } }

/* ── "Shop X by type" banners (owner 2026-09-02) ──
   Horizontal, image bleeding off the right, name in a solid red chip so it
   stays readable over any photo. Intentionally unlike the product cards. ── */
.tt-typebar__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #999; margin: 26px 0 10px; }
.tt-typebar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.tt-type { position: relative; display: flex; align-items: stretch; justify-content: space-between; gap: 8px;
  min-height: 132px; overflow: hidden; text-decoration: none; color: var(--tt-text);
  background: linear-gradient(180deg, #fff 0%, #f4f5f7 100%);
  border: 1px solid #e2e4e8; border-left: 5px solid var(--tt-primary);
  box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.tt-type:hover, .tt-type:focus-visible { box-shadow: 0 10px 26px rgba(0,0,0,.16); transform: translateY(-2px); }
.tt-type.is-active { border-color: var(--tt-primary); background: linear-gradient(180deg, #fff 0%, #fff1ed 100%); }
.tt-type__text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 4px 14px 14px; z-index: 2; max-width: 62%; }
.tt-type__name { display: inline-block; background: var(--tt-primary); color: #fff; font-weight: 800; font-size: 15px;
  line-height: 1.15; text-transform: uppercase; letter-spacing: .01em; padding: 7px 11px; box-shadow: 0 2px 8px rgba(187,0,0,.3); }
.tt-type__count { font-size: 12.5px; color: #666; font-weight: 600; }
.tt-type__cta { margin-top: auto; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--tt-primary); }
.tt-type__media { position: absolute; right: -10px; top: -6px; bottom: -6px; width: 56%; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.tt-type__media img { width: 100%; height: 100%; object-fit: contain; object-position: right center; filter: drop-shadow(0 8px 16px rgba(0,0,0,.22)); }
.tt-type--reset { border-left-color: #9aa0a6; }
.tt-type--reset .tt-type__name { background: #4a4f55; box-shadow: none; }
@media (max-width: 1000px) { .tt-typebar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
    .tt-typebar { grid-template-columns: 1fr; gap: 10px; }
    .tt-type { min-height: 118px; border-left-width: 6px; }
    .tt-type__text { padding: 13px 4px 13px 13px; max-width: 58%; gap: 5px; }
    .tt-type__name { font-size: 16px; padding: 8px 12px; }
    .tt-type__media { width: 50%; right: -4px; }
}

/* ── Header spacing pass (owner 2026-09-02) ──
   Eight items in the main row now that Merch lives in the top bar only, so it
   can breathe and still hold one line down to 1100px. The top-bar search is
   fluid: it grows toward the contact block and shrinks as the window narrows. ── */
.tt-primary-nav > ul { column-gap: 30px; flex-wrap: nowrap; }
@media (max-width: 1500px) { .tt-primary-nav > ul { column-gap: 24px; } .tt-primary-nav > ul > li > a { font-size: 12.5px; } }
@media (max-width: 1280px) { .tt-primary-nav > ul { column-gap: 18px; } .tt-primary-nav > ul > li > a { font-size: 12px; letter-spacing: .02em; } }
@media (max-width: 1140px) { .tt-primary-nav > ul { column-gap: 14px; } .tt-primary-nav > ul > li > a { font-size: 11.5px; letter-spacing: .01em; } }

/* Fluid top-bar search — no fixed width; it takes the slack between the site
   links and the contact block, within sensible bounds. */
.tt-header__top-right { gap: 16px; flex: 1 1 auto; justify-content: flex-end; }
.tt-qs--top { flex: 1 1 auto; width: auto; min-width: 120px; max-width: 440px; margin-right: 0; transition: max-width .2s ease; }
.tt-qs--top:focus-within { width: auto; max-width: 520px; }
.tt-qs--top .tt-qs__results { width: 100%; min-width: 320px; right: 0; left: auto; }
@media (max-width: 1500px) { .tt-qs--top { max-width: 340px; min-width: 110px; } }
@media (max-width: 1280px) { .tt-qs--top { max-width: 260px; min-width: 96px; } .tt-header__top-right { gap: 12px; } }
@media (max-width: 1140px) { .tt-qs--top { max-width: 200px; min-width: 88px; } .tt-qs--top .tt-qs__go { padding: 0 9px; } }

/* Product galleries can now run to 20+ shots — let the thumb strip scroll
   instead of truncating or exploding the page height (2026-09-02). */
.tt-product__thumbs { max-height: 420px; overflow-y: auto; scrollbar-width: thin; }
@media (max-width: 900px) { .tt-product__thumbs { max-height: none; overflow-x: auto; overflow-y: visible; flex-wrap: nowrap; padding-bottom: 6px; } }

/* Secondary "narrow by year / frame" chips — deliberately quieter than the
   type banners above them (owner 2026-09-02). */
.tt-narrow { margin: 18px 0 4px; }
.tt-narrow__label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #999; margin-bottom: 8px; }
.tt-narrow__row { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-narrow__chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; min-height: 40px;
  border: 2px solid var(--tt-line); background: #fff; color: var(--tt-text); font-size: 13.5px; font-weight: 700;
  text-decoration: none; transition: border-color .15s ease, color .15s ease; }
.tt-narrow__chip:hover, .tt-narrow__chip:focus-visible { border-color: var(--tt-primary); color: var(--tt-primary); }
.tt-narrow__chip span { font-size: 11.5px; font-weight: 600; color: #999; }
.tt-narrow__chip:hover span { color: var(--tt-primary); }
@media (max-width: 600px) { .tt-narrow__row { gap: 6px; } .tt-narrow__chip { font-size: 12.5px; padding: 8px 11px; } }

/* Product info panels carry imported WooCommerce HTML — give lists and text
   real formatting so "Product Features" reads as a list (2026-09-03). */
.tt-product-tabs__panel ul, .tt-product-tabs__panel ol { margin: 0 0 14px; padding-left: 22px; }
.tt-product-tabs__panel li { margin: 0 0 7px; line-height: 1.55; }
.tt-product-tabs__panel ul { list-style: disc; }
.tt-product-tabs__panel ol { list-style: decimal; }
.tt-product-tabs__panel p { margin: 0 0 12px; line-height: 1.65; }
.tt-product-tabs__panel p:last-child, .tt-product-tabs__panel ul:last-child { margin-bottom: 0; }
.tt-product-tabs__panel strong { color: var(--tt-text); }
.tt-product-tabs__panel a { color: var(--tt-primary); }

/* ── Product info sections: stacked panels on every screen (2026-09-03) ──
   The desktop version used `display: contents` on <details> so summaries and
   bodies became flex items of one wrapping row. The open panel would not take
   its own row — it shrank to ~380px beside the tab labels, so "Product
   Features" looked empty/broken. Replaced with plain stacked panels: always
   full width, content always visible, first section open. ── */
@media (min-width: 901px) {
    .tt-product-tabs { display: block; position: static; }
    .tt-product-tab { display: block; border: 2px solid #e2e2e2; margin-bottom: 12px; background: #fff; }
    .tt-product-tab.is-active, .tt-product-tab[open] { border-color: var(--tt-primary); }
    .tt-product-tab__head {
        display: flex; align-items: center; justify-content: space-between;
        width: auto; margin: 0; padding: 16px 22px; cursor: pointer; list-style: none;
        font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
        color: var(--tt-text); background: #f7f8f9; border: 0; bottom: auto; top: auto;
    }
    .tt-product-tab__head::before, .tt-product-tab__head::after { content: none; }
    .tt-product-tab[open] > .tt-product-tab__head,
    .tt-product-tab.is-active > .tt-product-tab__head { background: var(--tt-primary); color: #fff; }
    .tt-product-tab__head::marker { content: none; }
    .tt-product-tab__body {
        flex: none; order: 0; display: none !important;
        border: 0; border-top: 1px solid #eee; padding: 22px 24px; position: static; z-index: auto;
    }
    .tt-product-tab[open] > .tt-product-tab__body,
    .tt-product-tab.is-active > .tt-product-tab__body { display: block !important; }
}
/* Imported WooCommerce HTML — lists and paragraphs need real formatting. */
.tt-product-tab__body ul, .tt-rich-text ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.tt-product-tab__body ol, .tt-rich-text ol { margin: 0 0 14px; padding-left: 22px; list-style: decimal; }
.tt-product-tab__body li, .tt-rich-text li { margin: 0 0 7px; line-height: 1.55; }
.tt-product-tab__body p,  .tt-rich-text p  { margin: 0 0 12px; line-height: 1.65; }
.tt-product-tab__body > :last-child, .tt-rich-text > :last-child { margin-bottom: 0; }
.tt-product-tab__body a, .tt-rich-text a { color: var(--tt-primary); }
