/* ==========================================================================
   WILLYS AMERICA — style-009.css v1.0 (test-009 set)
   Theme: "Heritage Garage" — 1950s/60s Americana
   Colors: Military Olive, Warm Cream, Rust Red, Aged Brass, Deep Navy
   Fonts: Big Shoulders Display (display) · Playfair Display (headings) · Work Sans (body)
   ========================================================================== */

/* ── CSS CUSTOM PROPERTIES ─────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --olive:          #3D4F2F;
  --olive-light:    #4E6340;
  --olive-dark:     #2B3821;
  --cream:          #F4EDE4;
  --cream-dark:     #E8DED2;
  --cream-mid:      #EDE5DA;
  --rust:           #B84A2A;
  --rust-dark:      #8E3820;
  --rust-light:     #D05A3A;
  --gold:           #C8A44A;
  --gold-dark:      #A88838;
  --gold-light:     #D4B76A;
  --navy:           #1C2233;
  --navy-light:     #2A3348;
  --charcoal:       #2A2A2A;
  --white:          #FFFFFF;
  --off-white:      #FAFAF8;
  --text:           #2E2E2E;
  --text-light:     #5A5A5A;
  --border:         #D5CBBD;

  /* Spacing */
  --section-pad:    90px;
  --container-w:    1260px;
  --radius:         6px;
  --radius-lg:      12px;

  /* Transitions */
  --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --speed:          0.35s;
}

/* ── RESET & BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rust); text-decoration: none; transition: color var(--speed) var(--ease); }
a:hover { color: var(--rust-dark); }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

/* ── TYPOGRAPHY ────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.display-font {
  font-family: 'Big Shoulders Display', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-title { margin-bottom: 16px; }
.section-lead {
  font-size: 18px;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.75;
}

/* Eyebrow label — small uppercase tag with a short bar */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rust);
  margin-bottom: 10px;
}
.eyebrow-bar {
  width: 32px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.eyebrow.gold { color: var(--gold); }
.eyebrow.cream { color: var(--cream); }
.eyebrow.cream .eyebrow-bar { background: var(--gold); }

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  text-decoration: none;
}
.btn i { font-size: 13px; transition: transform var(--speed) var(--ease); }
.btn:hover i { transform: translateX(3px); }

/* ── GLOBAL BUTTONS — wh-button-* ──────────────────────────────────────────
   For content holders / page content / CMS-entered links. Namespaced (not
   .btn) and every link state is declared so they render correctly as <a>
   in the WYSIWYG (no :visited colour drift). Pair the base with a variant:
     <a class="wh-button wh-button-primary">…</a>
     <a class="wh-button wh-button-outline">…</a>                            */
.wh-button,
.wh-button:link,
.wh-button:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  margin: 4px 8px 4px 0;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--speed) var(--ease);
}
.wh-button i { font-size: 13px; transition: transform var(--speed) var(--ease); }
.wh-button:hover i { transform: translateX(3px); }
.wh-button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Primary — rust (orange) fill, slightly rounded */
.wh-button-primary,
.wh-button-primary:link,
.wh-button-primary:visited { background: var(--rust); color: var(--cream); border-color: var(--rust); }
.wh-button-primary:hover,
.wh-button-primary:focus  { background: var(--rust-dark); border-color: var(--rust-dark); color: var(--white); }
.wh-button-primary:active { transform: translateY(1px); }

/* Outline — rust border, no background; fills on hover */
.wh-button-outline,
.wh-button-outline:link,
.wh-button-outline:visited { background: transparent; color: var(--rust); border-color: var(--rust); }
.wh-button-outline:hover,
.wh-button-outline:focus  { background: var(--rust); color: var(--cream); border-color: var(--rust); }
.wh-button-outline:active { transform: translateY(1px); }

.btn-rust {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}
.btn-rust:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  color: var(--white);
}

.btn-olive {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}
.btn-olive:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--navy);
}

.btn-outline-rust {
  background: transparent;
  color: var(--rust);
  border-color: var(--rust);
}
.btn-outline-rust:hover {
  background: var(--rust);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244,237,228,0.5);
}
.btn-outline-cream:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}

/* ── PAGE LOADER ───────────────────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  height: 48px;
  width: auto;
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: translateY(12px);
  animation: ldFade 0.7s 0.2s forwards ease-out;
}
@keyframes ldFade { to { opacity: 1; transform: translateY(0); } }

/* Vintage fuel gauge style progress bar */
.loader-gauge {
  width: 180px;
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  animation: ldFade 0.4s 0.5s forwards ease-out;
}
.loader-gauge-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--rust));
  border-radius: 3px;
  animation: gaugeFill 1.6s 0.6s forwards var(--ease-out);
}
@keyframes gaugeFill {
  0% { width: 0%; }
  100% { width: 100%; }
}
.loader-tag {
  margin-top: 18px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  opacity: 0;
  animation: ldFade 0.4s 0.9s forwards ease-out;
}
@media (max-width: 768px) {
  #page-loader { padding: 0 24px; }
  .loader-logo { height: 36px; }
  .loader-tag { font-size: 10px; letter-spacing: 0.15em; }
}

/* ── CLICK LOADER (page transitions) ───────────────────────────────────── */
#click-loader {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(28, 34, 51, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#click-loader.active {
  opacity: 1;
  visibility: visible;
}
.cl-ring {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(200,164,74,0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: clSpin 0.7s linear infinite;
}
@keyframes clSpin { to { transform: rotate(360deg); } }

/* ── NAV OVERLAY ───────────────────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 34, 51, 0.55);
  z-index: 9050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ── UTILITY BAR ───────────────────────────────────────────────────────── */
/* Sticky wrapper for utility bar + navbar */
#site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
}

.utility-bar {
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 38px;
  font-size: 13px;
  font-family: 'Work Sans', sans-serif;
}

/* Mobile-only utility icons — hidden on desktop */
.mob-util-search,
.mob-util-cart,
.mob-util-hamburger { display: none; }
.utility-phone {
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.utility-phone:hover { color: var(--gold); }
.utility-phone i { font-size: 11px; }

.utility-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.utility-link {
  color: rgba(255,255,255,0.75);
  padding: 4px 12px;
  transition: color var(--speed) var(--ease);
  display: flex;
  align-items: center;
  gap: 5px;
}
.utility-link:hover { color: var(--gold); }
.utility-link i { font-size: 11px; }

.utility-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.2);
  margin: 0 4px;
}

.utility-cart {
  color: rgba(255,255,255,0.85);
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}
.utility-cart:hover { color: var(--gold); }
.cart-count {
  background: var(--rust);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -2px;
  right: 0;
}

@media (max-width: 768px) {
  .utility-bar { padding: 0 12px; height: 40px; font-size: 12px; }
  .utility-link { display: none; }
  .utility-divider { display: none; }
  .utility-cart { display: none; }

  /* Show mobile icons in utility bar */
  .mob-util-search,
  .mob-util-cart,
  .mob-util-hamburger { display: flex; }

  .mob-util-search {
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    padding: 4px 10px;
    cursor: pointer;
  }
  .mob-util-search:hover { color: var(--gold); }

  .mob-util-cart {
    color: rgba(255,255,255,0.85);
    padding: 4px 10px;
    align-items: center;
    gap: 5px;
    position: relative;
  }
  .mob-util-cart:hover { color: var(--gold); }

  .mob-util-hamburger {
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 4px 4px 4px 10px;
    align-items: center;
  }
  .mob-util-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .mob-util-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .mob-util-hamburger.open span:nth-child(2) { opacity: 0; }
  .mob-util-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

}

/* ── MAIN NAVIGATION ──────────────────────────────────────────────────── */
#navbar {
  position: relative;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 78px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--speed) var(--ease), height var(--speed) var(--ease);
}
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  gap: 2px;
}
.nav-logo img {
  height: 38px;
  width: auto;
  transition: height var(--speed) var(--ease);
}
.nav-tagline {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--olive);
  line-height: 1;
  white-space: nowrap;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--speed) var(--ease);
  border-radius: 2px 2px 0 0;
}
.nav-link:hover { color: var(--rust); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-arrow {
  font-size: 9px;
  transition: transform var(--speed) var(--ease);
  opacity: 0.5;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

/* Desktop dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--rust);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
  padding: 8px 0;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-right {
  left: auto;
  right: 0;
}

.nav-drop-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}
.nav-drop-link:hover {
  background: var(--cream);
  color: var(--rust);
  padding-left: 21px;
}
.nav-drop-icon {
  width: 30px;
  height: 30px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.nav-drop-link:hover .nav-drop-icon {
  background: var(--rust);
  color: var(--white);
}

/* Nav right group (search + hamburger) */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Search toggle button */
.nav-search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--navy);
  padding: 8px;
  transition: color 0.2s ease;
}
.nav-search-toggle:hover { color: var(--rust); }

/* Search bar — slides down below navbar */
.nav-search-bar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 2px solid var(--rust);
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.nav-search-bar.open {
  max-height: 80px;
  padding: 14px 28px;
}
.nav-search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.nav-search-icon {
  font-size: 16px;
  color: var(--olive);
}
.nav-search-bar input {
  flex: 1;
  min-width: 0; /* allow the input to shrink so the buttons never push off-screen */
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 16px; /* 16px min stops iOS Safari from zooming the page on focus */
  background: var(--white);
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s ease;
}
.nav-search-bar input:focus {
  border-color: var(--rust);
}
.nav-search-bar input::placeholder {
  color: #999;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.nav-search-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--navy);
  padding: 8px;
  transition: color 0.2s ease;
}
.nav-search-close:hover { color: var(--rust); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 9001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #navbar { padding: 0 16px; }
  .nav-tagline { font-size: 10px; }
  .nav-search-bar { padding: 0 16px; }
  .nav-search-bar.open { padding: 12px 16px; }
}
@media (max-width: 768px) {
  .nav-right-group { display: none; }
  #navbar { height: 60px; }
  .nav-logo { max-width: 100%; }
  .nav-logo img { height: 32px; max-width: 100%; object-fit: contain; }
  .nav-tagline { font-size: 9px; }
}

/* ── MOBILE NAV DRAWER ─────────────────────────────────────────────────── */
#mobile-nav {
  position: fixed;
  top: 0;
  left: -320px;
  width: 310px;
  max-width: 85vw;
  height: 100dvh;
  background: var(--navy);
  z-index: 9100;
  display: flex;
  flex-direction: column;
  transition: left 0.4s var(--ease-out);
  overflow-y: auto;
}
#mobile-nav.open { left: 0; }

.mob-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mob-nav-header img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.mob-nav-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 19px;
  cursor: pointer;
  padding: 8px;
}

.mob-nav-links { flex: 1; padding: 12px 0; }

.mob-item { border-bottom: 1px solid rgba(255,255,255,0.06); }

.mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: rgba(255,255,255,0.9);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.mob-link a {
  color: inherit;
  text-decoration: none;
  flex: 1;
}
.mob-chevron-icon {
  font-size: 10px;
  transition: transform 0.3s ease;
  opacity: 0.5;
}
.mob-item.open .mob-chevron-icon { transform: rotate(180deg); opacity: 1; }

.mob-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0,0,0,0.15);
}
.mob-item.open .mob-submenu { max-height: 400px; }

.mob-sub-link {
  display: block;
  padding: 10px 20px 10px 36px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mob-sub-link:hover {
  color: var(--gold);
  padding-left: 40px;
}

.mob-nav-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mob-phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 12px;
  text-decoration: none;
}
.mob-foot-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  padding: 6px 0;
  text-decoration: none;
}

/* ── BREADCRUMB + PAGE HEADER ──────────────────────────────────────────── */
.page-header-section {
  background: var(--cream);
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--rust);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb a:hover { color: var(--olive); }
.breadcrumb-sep {
  color: var(--text-light);
  font-size: 9px;
  opacity: 0.5;
}
.breadcrumb-current {
  color: var(--text-light);
}
.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}
.page-lead {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 100%;
}
/* Category Page Text (WYSIWYG) — full-width intro in the header, above the divider */
.page-intro {
  max-width: 100%;
}
.page-intro p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 14px;
}
.page-intro p:last-child {
  margin-bottom: 0;
}
.page-intro h2,
.page-intro h3 {
  color: var(--navy);
  margin: 18px 0 10px;
}
.page-intro a {
  color: var(--rust);
  text-decoration: underline;
}
.page-intro a:hover {
  color: var(--rust-dark);
}

/* ── SUB-CATEGORY CARDS ───────────────────────────────────────────────── */
#subcat-section {
  padding: 48px 0 var(--section-pad);
}
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.subcat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.subcat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: var(--rust);
}
.subcat-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--off-white);
}
.subcat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.subcat-card:hover .subcat-card-img img {
  transform: scale(1.06);
}
.subcat-card-title {
  padding: 14px 16px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  text-align: center;
}

@media (max-width: 900px) {
  .subcat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 580px) {
  .subcat-grid { grid-template-columns: 1fr; }
  .subcat-card-title { font-size: 13px; padding: 10px 12px; }
}

/* ── PRODUCT CARDS ─────────────────────────────────────────────────────── */
#product-section {
  padding: 48px 0 var(--section-pad);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: var(--rust);
}
.product-card-img-link {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--off-white);
}
.product-card-img-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-card-img-link img {
  transform: scale(1.06);
}
.product-card-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--border);
  font-size: 36px;
}
.product-card-noimg span {
  font-size: 12px;
  font-family: var(--font-body);
}
.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--border);
}
.product-card-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}
.product-card-title:hover { color: var(--rust); }
.product-card-price {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 14px;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 580px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card-body { padding: 12px; }
  .product-card-title { font-size: 13px; }
  .product-card-price { font-size: 18px; }
}

/* ── PRODUCT DETAIL PAGE (PDP) ─────────────────────────────────────────── */
.pdp-section { padding: 40px 0 var(--section-pad); }

.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Gallery */
.pdp-gallery { position: sticky; top: 140px; }
.pdp-main-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}
.pdp-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: opacity 0.3s ease;
}
.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pdp-thumb {
  aspect-ratio: 1;
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.pdp-thumb.active { border-color: var(--rust); }
.pdp-thumb:hover { border-color: var(--olive); }

/* Product Info */
.pdp-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 8px;
  display: block;
}
.pdp-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 6px;
}
.pdp-subtitle {
  font-size: 15px;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 20px;
}
.pdp-price-block {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}
.pdp-price {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
}
.pdp-sku {
  font-size: 13px;
  color: var(--text-light);
}
.pdp-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

/* Quantity */
.pdp-field { margin-bottom: 20px; }
.pdp-field-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 9px;
}
.pdp-qty-row { display: flex; align-items: center; gap: 12px; }
.pdp-qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pdp-qty-btn {
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  background: var(--white);
}
.pdp-qty-btn:hover { background: var(--off-white); }
.pdp-qty-val {
  width: 48px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  padding: 0;
  height: 44px;
  background: var(--white);
  outline: none;
  font-family: var(--font-body);
}

/* Add to Cart */
.pdp-atc-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 20px;
}
.pdp-atc-main {
  flex: 1;
  padding: 15px 24px;
  background: var(--rust);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--rust);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Big Shoulders Display', sans-serif;
}
.pdp-atc-main:hover {
  background: var(--olive);
  border-color: var(--olive);
}

.pdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.pdp-meta-row i {
  color: var(--olive);
  margin-right: 5px;
}

/* PDP Accordion */
.pdp-accordion { border-top: 1px solid var(--border); }
.pdp-acc-item { border-bottom: 1px solid var(--border); }
.pdp-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  transition: color 0.2s;
  font-family: var(--font-body);
}
.pdp-acc-trigger:hover { color: var(--rust); }
.pdp-acc-icon {
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-light);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.pdp-acc-item.open .pdp-acc-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}
.pdp-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.pdp-acc-item.open .pdp-acc-body {
  max-height: 600px;
}
.pdp-acc-content {
  padding: 0 0 22px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}
.pdp-acc-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pdp-acc-content ul li {
  padding: 4px 0 4px 20px;
  position: relative;
}
.pdp-acc-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--olive);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .pdp-layout { gap: 40px; }
}
@media (max-width: 768px) {
  .pdp-layout { grid-template-columns: 1fr; gap: 32px; }
  .pdp-gallery { position: static; }
  .pdp-atc-main { width: 100%; }
}

/* ── SUB-PAGE HERO ─────────────────────────────────────────────────────── */
.sub-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.sub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,34,51,0.85) 0%, rgba(28,34,51,0.3) 60%, rgba(28,34,51,0.15) 100%);
}
.sub-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 28px 48px;
}
.sub-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}
.sub-hero-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  max-width: 600px;
}
.eyebrow.white { color: rgba(255,255,255,0.7); }
.eyebrow.white .eyebrow-bar { background: var(--gold); }

@media (max-width: 768px) {
  .sub-hero { height: 320px; }
  .sub-hero-inner { padding: 0 20px 36px; }
}

/* ── PARTS INTRO ──────────────────────────────────────────────────────── */
#parts-intro {
  padding: 56px 0 0;
}
.parts-intro-copy {
  max-width: 100%;
}
.parts-intro-copy .section-lead {
  max-width: 100%;
}
.parts-intro-copy p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 14px;
}

/* ── HERO — 3-PANEL SPLIT ──────────────────────────────────────────────── */
#hero { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--charcoal);
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Placeholder backgrounds — swap for real images via inline style or img tag */
.hero-main {
  min-height: 560px;
}
.hero-main::before {
  background: linear-gradient(
    to top,
    rgba(28,34,51,0.95) 0%,
    rgba(28,34,51,0.7) 40%,
    rgba(28,34,51,0.4) 100%
  );
}

.hero-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.hero-sm-a::before {
  background: linear-gradient(
    to top,
    rgba(61,79,47,0.95) 0%,
    rgba(61,79,47,0.65) 60%,
    rgba(61,79,47,0.35) 100%
  );
}
.hero-sm-b::before {
  background: linear-gradient(
    to top,
    rgba(184,74,42,0.95) 0%,
    rgba(184,74,42,0.65) 60%,
    rgba(184,74,42,0.35) 100%
  );
}

/* Hero images */
.hero-panel > img,
.hero-panel > .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Icon placeholder for hero panels (before real images) */
.hero-icon-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.hero-icon-placeholder i {
  font-size: 80px;
  color: rgba(255,255,255,0.06);
}
.hero-icon-placeholder span {
  position: absolute;
  inset: 0;
}
.hero-icon-placeholder span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel-inner {
  position: relative;
  z-index: 2;
  padding: 40px 36px;
  color: var(--white);
  width: 100%;
}

.panel-kicker {
  display: inline-block;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(0,0,0,0.25);
  border-radius: 3px;
}
.hero-main .panel-kicker,
.hero-sm-a .panel-kicker,
.hero-sm-b .panel-kicker {
  color: #fff;
}

.panel-title-main {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.panel-title-main em {
  font-style: italic;
  color: var(--gold);
}

.panel-sub-main {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 420px;
}

.panel-title-sm {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
}
.panel-title-sm em {
  font-style: italic;
  color: var(--gold);
}

/* Ghost button for hero small panels */
.btn-panel-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--speed) var(--ease);
}
.btn-panel-ghost:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-main {
    min-height: 380px;
  }
  .hero-right {
    grid-template-rows: auto auto;
    padding: 20px;
    gap: 20px;
  }
  .hero-sm-a,
  .hero-sm-b {
    min-height: 340px;
  }
  .hero-panel-inner { padding: 28px 20px; }
  .panel-title-main { font-size: 32px; }
}

/* ── TRUST STRIP ───────────────────────────────────────────────────────── */
#trust-strip {
  background: var(--olive);
  padding: 0;
  position: relative;
  z-index: 5;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container-w);
  margin: 0 auto;
}
.trust-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}
.trust-cell:last-child { border-right: none; }
.trust-cell-link {
  text-decoration: none;
  color: var(--white);
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.trust-cell-link:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  transform: translateY(-3px);
}
.trust-cell-link:hover .trust-cell-icon {
  background: var(--gold);
  color: var(--olive);
  transform: scale(1.08);
}
.trust-cell-icon {
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.trust-cell-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
}
.trust-cell-label {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-cell-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 1px;
}

@media (max-width: 900px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-cell:nth-child(2) { border-right: none; }
}
@media (max-width: 580px) {
  .trust-row { grid-template-columns: 1fr; }
  .trust-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .trust-cell:last-child { border-bottom: none; }
}

/* ── INTRO SECTION ─────────────────────────────────────────────────────── */
#intro {
  padding: calc(var(--section-pad) / 2) 0;
  background: var(--cream);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-copy p {
  margin-bottom: 14px;
  color: var(--text-light);
}
.intro-copy strong { color: var(--text); }
.intro-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Feature quad boxes */
.feat-quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all var(--speed) var(--ease);
}
.feat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-color: var(--gold);
}
.feat-icon {
  width: 48px;
  height: 48px;
  background: var(--olive);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 14px;
}
.feat-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 6px;
}
.feat-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
}
.feat-box-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.feat-box-link:hover .feat-icon {
  background: var(--rust);
}
.feat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rust);
  transition: gap var(--speed) var(--ease);
}
.feat-box-link:hover .feat-link {
  gap: 12px;
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 580px) {
  .feat-quad { grid-template-columns: 1fr; }
}

/* ── VINTAGE DIVIDER ───────────────────────────────────────────────────── */
.vintage-divider {
  height: 48px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.vintage-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.vintage-divider .divider-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
}

/* ── SERVICES SECTION ──────────────────────────────────────────────────── */
#services-section {
  padding: var(--section-pad) 0;
  background: var(--off-white);
  position: relative;
}
/* Subtle canvas texture overlay */
#services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M0 0h1v1H0zM20 0h1v1h-1zM0 20h1v1H0zM20 20h1v1h-1z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.svc-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.svc-header-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--speed) var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: var(--olive);
}

.svc-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--charcoal);
}
.svc-icon-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.08);
  font-size: 56px;
}
.svc-icon-placeholder span {
  position: absolute;
  inset: 0;
}
.svc-icon-placeholder span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.svc-card:hover .svc-icon-placeholder span img {
  transform: scale(1.06);
}

.svc-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 34, 51, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
  color: var(--white);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.svc-card:hover .svc-img-overlay { opacity: 1; }
.svc-img-overlay i { font-size: 19px; }

.svc-body { padding: 22px; }
.svc-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 8px;
}
.svc-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}
.svc-link {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap var(--speed) var(--ease);
}
.svc-link:hover { gap: 10px; }

/* Highlight card variant (e.g., Vehicles for Sale) */
.svc-card.svc-highlight .svc-title { color: var(--rust); }
.svc-card.svc-highlight:hover { border-color: var(--rust); }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-img { height: 180px; }
}

/* ── PARTS SECTION ─────────────────────────────────────────────────────── */
#parts-section {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
#parts-intro + #parts-section {
  padding-top: 20px;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.parts-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: all var(--speed) var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
}
.parts-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-color: var(--rust);
}

.parts-card-img {
  height: 160px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parts-card-img i {
  font-size: 45px;
  color: rgba(255,255,255,0.08);
}
.parts-card-img span {
  position: absolute;
  inset: 0;
}
.parts-card-img span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.parts-card:hover .parts-card-img span img {
  transform: scale(1.06);
}

.parts-card-body { padding: 18px 14px; }
.parts-card-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 4px;
}
.parts-card-sub {
  font-size: 12px;
  color: var(--text-light);
}
.parts-card-link {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  text-decoration: none;
}

@media (max-width: 900px) {
  .parts-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 580px) {
  .parts-grid { grid-template-columns: 1fr; }
}

/* ── STATS BAND ────────────────────────────────────────────────────────── */
#stats-band {
  background: var(--navy);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
/* Subtle vintage star pattern overlay */
#stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M30 5l2.35 7.23h7.6l-6.15 4.47 2.35 7.23L30 19.46l-6.15 4.47 2.35-7.23-6.15-4.47h7.6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.stat-cell { color: var(--white); }
.stat-number {
  display: block;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number sup {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--rust-light);
}
.stat-label {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
}

/* ── SERVICE AREA ──────────────────────────────────────────────────────── */
#service-area {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.area-cards { display: flex; flex-direction: column; gap: 14px; }

.area-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--speed) var(--ease);
}
.area-card:hover {
  border-color: var(--olive);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.area-card-link {
  text-decoration: none;
  color: inherit;
}
.area-card-link:hover .area-badge {
  background: var(--rust);
}

.area-badge {
  width: 44px;
  height: 44px;
  background: var(--olive);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}
.area-card-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 3px;
}
.area-card-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
}

.area-copy p {
  color: var(--text-light);
  margin-bottom: 14px;
}

.reach-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.reach-chip {
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  transition: all 0.2s ease;
}
.reach-chip:hover {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}

@media (max-width: 900px) {
  .area-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── TESTIMONIALS ──────────────────────────────────────────────────────── */
#testimonials {
  padding: var(--section-pad) 0;
  background: var(--off-white);
  overflow: hidden;
}

.testi-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.testi-carousel {
  position: relative;
  padding: 0 56px;
}
.testi-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: all 0.2s ease;
}
.testi-btn:hover {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}
.testi-btn.prev { left: 0; }
.testi-btn.next { right: 0; }

.testi-wrap { overflow: hidden; }
.testi-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s var(--ease-out);
}

.testi-card {
  min-width: calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
  width: calc(33.333% - 14px);
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.testi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--olive), var(--gold));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.testi-q {
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 12px;
  opacity: 0.6;
}
.testi-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testi-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}
.testi-truncated {}
.testi-rest { display: none; }
.testi-text.expanded .testi-rest { display: inline; }
.testi-text.expanded .testi-truncated { display: none; }

.testi-more-btn {
  background: none;
  border: none;
  color: var(--rust);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: 'Work Sans', sans-serif;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testi-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-av.gold { background: var(--gold); color: var(--navy); }
.testi-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.testi-role {
  font-size: 12px;
  color: var(--text-light);
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}
.testi-dot.active {
  background: var(--olive);
  transform: scale(1.2);
}

@media (max-width: 1080px) {
  .testi-card { min-width: calc(50% - 10px); max-width: calc(50% - 10px); width: calc(50% - 10px); }
}
@media (max-width: 768px) {
  .testi-card { min-width: 100%; max-width: 100%; width: 100%; }
  .testi-carousel { padding: 0; }
  .testi-btn { width: 38px; height: 38px; font-size: 12px; }
  .testi-btn.prev { left: -16px; }
  .testi-btn.next { right: -16px; }
}

/* ── DUAL CTA BAND ─────────────────────────────────────────────────────── */
#cta-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cta-panel {
  position: relative;
  padding: 60px 48px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-vehicles::before {
  background: linear-gradient(to right, rgba(28,34,51,0.82) 40%, rgba(28,34,51,0.35));
}
.cta-surplus::before {
  background: linear-gradient(to right, rgba(28,34,51,0.82) 40%, rgba(28,34,51,0.35));
}

.cta-panel > * { position: relative; z-index: 1; }

.cta-icon {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 16px;
}
.cta-panel h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-panel p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 400px;
}
.cta-phone-note {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 768px) {
  #cta-band { grid-template-columns: 1fr; }
  .cta-panel { padding: 44px 24px; min-height: 260px; }
}

/* ── NEWSLETTER / SOCIAL BAND ──────────────────────────────────────────── */
#newsletter-band {
  background: var(--navy);
  padding: 48px 0;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.newsletter-copy h3 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 6px;
}
.newsletter-copy p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

.newsletter-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.newsletter-input-group {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
}
.newsletter-input-group input {
  padding: 12px 16px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  width: 240px;
  outline: none;
}
.newsletter-input-group input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-input-group button {
  padding: 12px 20px;
  background: var(--rust);
  color: var(--white);
  border: none;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease;
}
.newsletter-input-group button:hover { background: var(--rust-dark); }

.social-links {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rust);
  background: var(--rust);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.social-btn:hover {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.15);
}

@media (max-width: 900px) {
  .newsletter-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 580px) {
  .newsletter-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .newsletter-input-group input { width: 200px; }
}

/* ── FOOTER ────────────────────────────────────────────────────────────── */
#site-footer-section {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-brand-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--rust);
  background: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.footer-social-btn:hover {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.15);
}

.footer-col h4 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 8px;
}
/* Second (and later) heading group within a footer column gets top spacing. */
.footer-col ul + h4 { margin-top: 26px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.footer-contact-row i {
  color: var(--gold);
  font-size: 13px;
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}
/* Appointment-only note — bright white to emphasize (client request) */
.footer-appt-note {
  color: #fff;
  font-weight: 600;
}
.footer-phone-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-phone-link:hover { color: var(--gold-light); }

/* Contact-row text link (e.g. envelope "Contact") — gold + underline, all states
   (override global a{color:rust} and kill the :visited color shift; ADA underline) */
.footer-contact-row a,
.footer-contact-row a:link,
.footer-contact-row a:visited,
.footer-contact-row a:hover,
.footer-contact-row a:focus,
.footer-contact-row a:active {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-contact-row a:hover,
.footer-contact-row a:focus { color: var(--gold-light); }

.footer-bottom {
  margin-top: 48px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: var(--container-w);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: #fff;
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--gold-light); }
.footer-bottom-links .wh-staff-login { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom-links .wh-staff-login i { font-size: 11px; opacity: 0.85; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── SCROLL REVEAL ANIMATIONS ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}
.rl {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.rl.vis {
  opacity: 1;
  transform: translateX(0);
}
.rr {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.rr.vis {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delay classes */
.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.19s; }
.d4 { transition-delay: 0.26s; }
.d5 { transition-delay: 0.33s; }
.d6 { transition-delay: 0.40s; }

/* ── VINTAGE BADGE STYLING ─────────────────────────────────────────────── */
.vintage-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--cream-dark);
  border: 2px solid var(--border);
  border-radius: 30px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--olive);
}
.vintage-badge i {
  color: var(--gold);
}

/* ==========================================================================
   RESTORATIONS — landing, sub-pages, and project detail
   Used by: test-009-restorations.html
            test-009-restorations-jeep-truck.html
            test-009-restorations-jeep-truck-1956-utility-tim.html
   ========================================================================== */

/* ── RESTORATIONS LANDING — INTRO BAND ────────────────────────────────── */
#restoration-intro {
  background: var(--cream);
  padding: 60px 0 30px;
}
.restore-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.restore-intro-copy h2 { margin: 12px 0 16px; }
.restore-intro-copy p { margin-bottom: 14px; color: var(--text-light); font-size: 16px; }
.restore-intro-stats {
  display: flex;
  gap: 28px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.restore-intro-stat {
  display: flex;
  flex-direction: column;
}
.restore-intro-stat-num {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--rust);
  line-height: 1;
}
.restore-intro-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-top: 4px;
}
.restore-intro-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
.restore-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.restore-intro-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(28,34,51,0.55));
  pointer-events: none;
}
.restore-intro-img-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.restore-intro-img-tag i { color: var(--gold); }

/* ── FEATURED ROTATOR — intro-image slot becomes a featured-items slider ──── */
.featured-rotator::after { display: none; } /* gradient lives on each slide instead */
.featured-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.featured-slide.is-active { opacity: 1; }
.featured-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28,34,51,0.62));
  pointer-events: none;
}
.featured-slide-caption {
  position: absolute;
  left: 20px;
  right: 56px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.featured-slide-title {
  color: var(--cream);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.featured-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 7px 14px;
  background: var(--rust);
  color: var(--cream);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.featured-slide:hover .featured-slide-btn { filter: brightness(1.08); transform: translateY(-1px); }
.featured-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(28,34,51,0.55);
  color: var(--cream);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.featured-arrow:hover { background: var(--rust); }
.featured-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.featured-prev { left: 14px; }
.featured-next { right: 14px; }

@media (max-width: 880px) {
  .restore-intro-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ── MODEL SHOWCASE GRID (5 vehicle models) ───────────────────────────── */
#model-showcase {
  padding: 40px 0 var(--section-pad);
  background: var(--cream);
}
.model-showcase-header {
  text-align: center;
  margin-bottom: 50px;
}
.model-showcase-header .eyebrow { justify-content: center; }
.model-showcase-header h2 { margin-bottom: 10px; }
.model-showcase-header p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto;
}
.model-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}
.model-card {
  flex: 1 1 calc(33.333% - 26px);
  max-width: calc(33.333% - 26px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.model-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
  border-color: var(--rust);
}
.model-card-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.model-card-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--cream-dark);
  display: grid;
  place-items: center;
}
.model-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.model-card:hover .model-card-img img {
  transform: scale(1.06);
}
.model-card-body {
  padding: 22px 22px 24px;
  text-align: center;
}
.model-card-kicker {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.model-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.2;
}
.model-card-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 14px;
  min-height: 42px;
}
.model-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rust);
}
.model-card:hover .model-card-link { color: var(--olive); }
.model-card-link i { transition: transform 0.3s var(--ease); }
.model-card:hover .model-card-link i { transform: translateX(4px); }

@media (max-width: 1100px) {
  .model-card { flex: 1 1 calc(50% - 26px); max-width: calc(50% - 26px); }
}
@media (max-width: 600px) {
  .model-card { flex: 1 1 100%; max-width: 100%; min-width: 0; }
}

/* ── PROCESS STRIP — "How a Restoration Works" ────────────────────────── */
#process-strip {
  background: var(--navy);
  padding: 70px 0;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
#process-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(200,164,74,0.06), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(184,74,42,0.06), transparent 40%);
  pointer-events: none;
}
.process-header {
  text-align: center;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}
.process-header .eyebrow { justify-content: center; color: var(--gold); }
.process-header .eyebrow .eyebrow-bar { background: var(--gold); }
.process-header h2 { color: var(--cream); margin-bottom: 8px; }
.process-header p { color: rgba(244,237,228,0.7); font-size: 15px; max-width: 600px; margin: 0 auto; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.process-step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,164,74,0.18);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.process-step:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.process-step-num {
  position: absolute;
  top: -18px;
  right: 22px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: rgba(200,164,74,0.18);
  line-height: 1;
  letter-spacing: -0.04em;
}
.process-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.process-step-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}
.process-step-desc {
  font-size: 14px;
  color: rgba(244,237,228,0.72);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ── BIG CTA BAND ─────────────────────────────────────────────────────── */
#restore-cta {
  background: var(--olive);
  color: var(--cream);
  padding: 60px 0;
  text-align: center;
  background-image: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 100%);
}
.restore-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
#restore-cta h2 { color: var(--cream); margin-bottom: 12px; }
#restore-cta p { color: rgba(244,237,228,0.85); font-size: 16px; margin-bottom: 26px; }
.restore-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PROJECT GRID (Jeep Truck sub-page — 21 cards) ────────────────────── */
#proj-section {
  padding: 50px 0 var(--section-pad);
  background: var(--cream);
}
.proj-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 56px;
}
.proj-intro h2 { margin: 10px 0 14px; }
.proj-intro p { color: var(--text-light); font-size: 15px; margin-bottom: 12px; }
.proj-intro-side {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--rust);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.proj-intro-side-label {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.proj-intro-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.proj-intro-side-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.proj-intro-side-list li:last-child { border-bottom: 0; }
.proj-intro-side-list li i { color: var(--rust); width: 18px; }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.proj-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
}
.proj-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  border-color: var(--rust);
}
.proj-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}
.proj-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.proj-card:hover .proj-card-img img {
  transform: scale(1.07);
}
.proj-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  border: 1px solid var(--gold);
}
.proj-card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.proj-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 6px;
}
.proj-card-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
  flex: 1;
}
.proj-card-meta strong { color: var(--olive); font-weight: 600; }
.proj-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rust);
  margin-top: auto;
}
.proj-card:hover .proj-card-link { color: var(--olive); }
.proj-card-link i { transition: transform 0.3s var(--ease); }
.proj-card:hover .proj-card-link i { transform: translateX(4px); }

@media (max-width: 980px) {
  .proj-intro { grid-template-columns: 1fr; gap: 28px; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .proj-grid { grid-template-columns: 1fr; }
}

/* ── PROJECT DETAIL — HERO + GALLERY ──────────────────────────────────── */
#proj-detail {
  padding: 50px 0 60px;
  background: var(--cream);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: start;
}
.detail-gallery {
  position: relative;
}
.detail-main-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream-dark);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  position: relative;
  cursor: zoom-in;
}
.detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s var(--ease);
}
.detail-main-img::after {
  content: '\f00e'; /* fa-search-plus */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  bottom: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(28, 34, 51, 0.72);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}
.detail-main-img:hover::after { opacity: 1; }
.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.detail-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--cream-dark);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-thumb:hover { transform: translateY(-2px); border-color: var(--rust-light); }
.detail-thumb.active { border-color: var(--rust); }

.detail-info-eyebrow {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.detail-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.6vw, 38px);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}
.detail-info p { color: var(--text); font-size: 15px; margin-bottom: 12px; }
.detail-info p strong { color: var(--olive); }

.proj-meta {
  margin: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}
.proj-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.proj-meta-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--rust);
  display: grid;
  place-items: center;
  font-size: 13px;
}
.proj-meta-label {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}
.proj-meta-value {
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
}

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .proj-meta { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .detail-thumbs { grid-template-columns: repeat(3, 1fr); }
}

/* ── DETAIL — HIGHLIGHTS BAND (creative addition) ─────────────────────── */
#detail-highlights {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.highlights-header {
  text-align: center;
  margin-bottom: 36px;
}
.highlights-header .eyebrow { justify-content: center; }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.hl-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hl-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.hl-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin: 0 auto 14px;
}
.hl-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.hl-card-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .highlights-grid { grid-template-columns: 1fr; }
}

/* ── PREV / NEXT PROJECT NAV ──────────────────────────────────────────── */
#proj-nav {
  padding: 40px 0 70px;
  background: var(--cream);
}
.proj-nav-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}
.proj-nav-link {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.proj-nav-link.next { flex-direction: row-reverse; text-align: right; }
.proj-nav-link:hover { border-color: var(--rust); transform: translateY(-2px); }
.proj-nav-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--rust);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.proj-nav-link:hover .proj-nav-arrow {
  background: var(--rust);
  color: var(--cream);
}
.proj-nav-label {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.proj-nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.proj-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  text-decoration: none;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.25s var(--ease);
}
.proj-nav-back:hover { background: var(--rust); color: var(--cream); }

@media (max-width: 800px) {
  .proj-nav-grid { grid-template-columns: 1fr; }
  .proj-nav-link.next { flex-direction: row; text-align: left; }
}

/* ── PROJECT GALLERY LIGHTBOX ─────────────────────────────────────────── */
#proj-lightbox {
  position: fixed;
  inset: 0;
  /* Above the fixed editor bar (99990) so the open gallery covers it and the
     caption bar stays readable; below the a11y skip link (100000). Close the
     popup to get the editor bar back. */
  z-index: 99999;
  background: rgba(28, 34, 51, 0.96);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
#proj-lightbox.active { opacity: 1; visibility: visible; }

.lb-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 70px 80px 16px;
  min-height: 0;
}
.lb-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  user-select: none;
  -webkit-user-drag: none;
}

.lb-caption-bar {
  flex: 0 0 auto;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(244, 237, 228, 0.10);
  padding: 14px 24px 18px;
  text-align: center;
  color: var(--cream);
}
.lb-caption {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 6px;
  min-height: 1em;
}
.lb-counter {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(244, 237, 228, 0.15);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.lb-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
}
.lb-close:hover { background: var(--rust); color: var(--cream); }

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 18px;
}
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-prev:hover,
.lb-next:hover {
  background: var(--rust);
  color: var(--cream);
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 700px) {
  .lb-stage { padding: 56px 8px 8px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 15px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 18px; }
  .lb-caption { font-size: 14px; }
  .lb-caption-bar { padding: 12px 14px 14px; }
  /* Touch devices have no hover — keep zoom hint visible */
  .detail-main-img::after { opacity: 1; }
}

/* ════════════════════════════════════════════════════════════════════════
   WOOCOMMERCE — CART & CHECKOUT (Heritage Garage skin)
   Scoped under .wc-page-section so it never touches the header mini-cart.
   Styles WooCommerce's default cart.php / form-checkout.php output.
   ════════════════════════════════════════════════════════════════════════ */
.wc-page-section { padding: 40px 0 var(--section-pad); }
.wc-page-section .container { max-width: var(--container-w); }

/* ── WC notices (info / success / error) ──────────────────────────────── */
.wc-page-section .woocommerce-message,
.wc-page-section .woocommerce-info,
.wc-page-section .woocommerce-error,
.wc-page-section .woocommerce-notices-wrapper li {
  list-style: none;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--olive);
  border-radius: var(--radius);
  padding: 16px 18px 16px 46px;
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.wc-page-section .woocommerce-message { border-left-color: var(--olive); }
.wc-page-section .woocommerce-info    { border-left-color: var(--gold); }
.wc-page-section .woocommerce-error   { border-left-color: var(--rust); }
.wc-page-section .woocommerce-message::before,
.wc-page-section .woocommerce-info::before,
.wc-page-section .woocommerce-error::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 18px;
  top: 16px;
  font-size: 15px;
}
.wc-page-section .woocommerce-message::before { content: '\f058'; color: var(--olive); }
.wc-page-section .woocommerce-info::before    { content: '\f05a'; color: var(--gold-dark); }
.wc-page-section .woocommerce-error::before   { content: '\f06a'; color: var(--rust); }
.wc-page-section .woocommerce-error { padding-left: 46px; }
.wc-page-section .woocommerce-error li { background: none; border: 0; padding: 0; margin: 0; }
.wc-page-section .woocommerce-message .button,
.wc-page-section .woocommerce-info .button {
  float: right;
  margin: -4px 0 0 12px;
}

/* ── Shared WooCommerce button skin (cart + checkout) ─────────────────── */
.wc-page-section .button,
.wc-page-section button.button,
.wc-page-section input.button,
.wc-page-section .checkout-button,
.wc-page-section #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--rust);
  border: 2px solid var(--rust);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  line-height: 1.2;
  text-decoration: none;
}
.wc-page-section .button:hover,
.wc-page-section button.button:hover,
.wc-page-section input.button:hover,
.wc-page-section .checkout-button:hover,
.wc-page-section #place_order:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  color: var(--white);
}
/* Secondary actions (Update cart, Apply coupon, Return to shop) = outline */
.wc-page-section button[name="update_cart"],
.wc-page-section .coupon .button,
.wc-page-section .return-to-shop .button {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.wc-page-section button[name="update_cart"]:hover,
.wc-page-section .coupon .button:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.wc-page-section button[name="update_cart"][disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.wc-page-section .return-to-shop .button {
  color: var(--rust);
  border-color: var(--rust);
}
.wc-page-section .return-to-shop .button:hover {
  background: var(--rust);
  color: var(--white);
}

/* Primary CTA — Proceed to Checkout / Place Order / any .button.alt.
   High-specificity list so it beats WooCommerce core's purple `.woocommerce a.button.alt`. */
.wc-page-section .woocommerce a.checkout-button,
.wc-page-section .wc-proceed-to-checkout a.checkout-button,
.wc-page-section a.checkout-button,
.wc-page-section .woocommerce #place_order,
.wc-page-section #payment #place_order,
.wc-page-section #place_order,
.wc-page-section .woocommerce button.button.alt,
.wc-page-section .woocommerce input.button.alt,
.wc-page-section .woocommerce a.button.alt,
.wc-page-section button.button.alt,
.wc-page-section input.button.alt,
.wc-page-section a.button.alt {
  background: var(--rust);
  border: 2px solid var(--rust);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 30px;
  transition: all var(--speed) var(--ease);
  opacity: 1;
}
.wc-page-section .woocommerce a.checkout-button:hover,
.wc-page-section .wc-proceed-to-checkout a.checkout-button:hover,
.wc-page-section a.checkout-button:hover,
.wc-page-section .woocommerce #place_order:hover,
.wc-page-section #payment #place_order:hover,
.wc-page-section #place_order:hover,
.wc-page-section .woocommerce button.button.alt:hover,
.wc-page-section .woocommerce input.button.alt:hover,
.wc-page-section .woocommerce a.button.alt:hover,
.wc-page-section button.button.alt:hover,
.wc-page-section input.button.alt:hover,
.wc-page-section a.button.alt:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  color: var(--white) !important;
}

/* ── In-content progress bar (Step N of 3 — markup lives in the page content) ── */
.wc-page-section .progress,
.page-header-section + .wc-page-section .progress,
div.progress {
  background: var(--cream-dark);
  min-height: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 28px;
  border: 1px solid var(--border);
}
.wc-page-section .progress-bar,
.wc-page-section .progress-bar-success,
div.progress .progress-bar {
  background: linear-gradient(180deg, var(--rust-light) 0%, var(--rust) 55%, var(--rust-dark) 100%);
  color: var(--white);
  min-height: 30px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  white-space: nowrap;
}

/* "Back to cart" link on the checkout page content */
.wc-page-section p.backtocart { margin: -6px 0 22px; font-size: 14px; }
.wc-page-section p.backtocart a { color: var(--rust); text-decoration: underline; }
.wc-page-section p.backtocart a:hover { color: var(--rust-dark); }

/* Content-supplied page title (e.g. "Shopping Cart"/"Checkout") sits in the section */
.wc-page-section > .container > h1:first-child { margin-bottom: 14px; }

/* ── Native qty input (cart + checkout) ──────────────────────────────── */
.wc-page-section .quantity { display: inline-flex; }
.wc-page-section .quantity input.qty {
  width: 70px;
  height: 44px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-body);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  -moz-appearance: textfield;
}
.wc-page-section .quantity input.qty:focus {
  outline: none;
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(184,74,42,0.12);
}

/* ════════════════════════════════════════════════════════════════════════
   CART PAGE
   ════════════════════════════════════════════════════════════════════════ */
.wc-cart-section .woocommerce { display: block; }

/* Cart table */
.wc-cart-section table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
}
.wc-cart-section table.shop_table thead th {
  background: var(--navy);
  color: var(--cream);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 16px;
  border: 0;
}
.wc-cart-section table.shop_table td {
  padding: 18px 16px;
  border-top: 1px solid var(--border);
  vertical-align: middle;
  font-size: 14px;
  color: var(--text);
}
.wc-cart-section .cart_item:first-child td { border-top: 0; }

/* Remove link → labeled "Remove" pill button (× swapped for text in functions.php) */
.wc-cart-section td.product-remove { width: 1%; white-space: nowrap; text-align: center; }
.wc-cart-section td.product-remove a.remove,
.wc-cart-section td.product-remove a.remove:link,
.wc-cart-section td.product-remove a.remove:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: var(--cream-dark);
  color: var(--rust) !important;
  border: 1.5px solid var(--border);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.2s ease;
}
.wc-cart-section td.product-remove a.remove:hover,
.wc-cart-section td.product-remove a.remove:focus {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--white) !important;
  outline: none;
}
.wc-cart-section td.product-remove a.remove:focus-visible {
  box-shadow: 0 0 0 3px rgba(184,74,42,0.22);
}

/* Thumbnail */
.wc-cart-section td.product-thumbnail { width: 90px; }
.wc-cart-section td.product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--off-white);
}

/* Product name */
.wc-cart-section td.product-name a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.wc-cart-section td.product-name a:hover { color: var(--rust); }
.wc-cart-section td.product-name .variation {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--text-light);
}

/* Price / subtotal */
.wc-cart-section td.product-price,
.wc-cart-section td.product-subtotal {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--olive);
}
.wc-cart-section td.product-subtotal { color: var(--navy); }

/* Actions row (coupon + update) */
.wc-cart-section td.actions {
  background: var(--cream);
  padding: 16px;
}
.wc-cart-section td.actions .coupon {
  display: inline-flex;
  gap: 8px;
  float: left;
}
.wc-cart-section td.actions .coupon input#coupon_code {
  height: 44px;
  width: 180px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 14px;
  font-family: var(--font-body);
}
.wc-cart-section td.actions .coupon input#coupon_code:focus {
  outline: none;
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(184,74,42,0.12);
}
.wc-cart-section td.actions button[name="update_cart"] { float: right; }

/* Cart collaterals / totals */
.wc-cart-section .cart-collaterals {
  display: flex;
  justify-content: flex-end;
}
.wc-cart-section .cart_totals {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 26px 28px;
}
.wc-cart-section .cart_totals h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
.wc-cart-section .cart_totals table { width: 100%; border-collapse: collapse; }
.wc-cart-section .cart_totals th,
.wc-cart-section .cart_totals td {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.wc-cart-section .cart_totals tr:first-child th,
.wc-cart-section .cart_totals tr:first-child td { border-top: 0; }
.wc-cart-section .cart_totals th {
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.wc-cart-section .cart_totals td { text-align: right; color: var(--navy); font-weight: 600; }
.wc-cart-section .cart_totals .order-total th,
.wc-cart-section .cart_totals .order-total td {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 18px;
  color: var(--navy);
  padding-top: 14px;
}
.wc-cart-section .cart_totals .order-total td { color: var(--rust); }
.wc-cart-section .wc-proceed-to-checkout { margin-top: 20px; }
.wc-cart-section .wc-proceed-to-checkout .checkout-button { width: 100%; }
.wc-cart-section .shipping-calculator-button { color: var(--rust); }
.wc-cart-section .woocommerce-shipping-destination { color: var(--text-light); font-size: 13px; }

/* Empty cart */
.wc-cart-section .cart-empty.woocommerce-info,
.wc-cart-section .wc-empty-cart-message .cart-empty {
  text-align: center;
}
.wc-cart-section .return-to-shop { text-align: center; margin-top: 8px; }

/* ════════════════════════════════════════════════════════════════════════
   CHECKOUT PAGE
   ════════════════════════════════════════════════════════════════════════ */
.wc-checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Section cards */
.wc-checkout-main .woocommerce-billing-fields,
.wc-checkout-main .woocommerce-shipping-fields,
.wc-checkout-main .woocommerce-additional-fields,
.wc-checkout-main .woocommerce-account-fields {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 26px 8px;
  margin-bottom: 24px;
}
.wc-checkout-main h3,
.wc-order-box h3#order_review_heading {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
.wc-checkout-main #ship-to-different-address {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
}
.wc-checkout-main #ship-to-different-address label { font-weight: 700; color: var(--navy); }

/* Form rows + inputs */
.wc-checkout-main .form-row { margin-bottom: 16px; }
.wc-checkout-main .form-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}
.wc-checkout-main .form-row .required { color: var(--rust); border: 0; }
.wc-checkout-main .form-row .optional { color: var(--text-light); }
.wc-checkout-main input.input-text,
.wc-checkout-main textarea,
.wc-page-section select,
.wc-checkout-main .select2-selection {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wc-checkout-main textarea { min-height: 96px; line-height: 1.6; }
.wc-checkout-main input.input-text:focus,
.wc-checkout-main textarea:focus,
.wc-page-section select:focus,
.wc-checkout-main .select2-container--focus .select2-selection {
  outline: none;
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(184,74,42,0.12);
}
/* select2 alignment */
.wc-checkout-main .select2-container .select2-selection--single {
  height: 46px;
  display: flex;
  align-items: center;
}
.wc-checkout-main .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
}

/* Order box (sticky) */
.wc-order-box {
  position: sticky;
  top: 110px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

/* Order review table */
.wc-order-box .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}
.wc-order-box .woocommerce-checkout-review-order-table th,
.wc-order-box .woocommerce-checkout-review-order-table td {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  text-align: left;
}
.wc-order-box .woocommerce-checkout-review-order-table thead th {
  border-top: 0;
  border-bottom: 2px solid var(--border);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  padding-bottom: 10px;
}
.wc-order-box .woocommerce-checkout-review-order-table td.product-total,
.wc-order-box .woocommerce-checkout-review-order-table th + td { text-align: right; }
.wc-order-box .cart-subtotal td,
.wc-order-box .woocommerce-shipping-totals td,
.wc-order-box .tax-total td { text-align: right; color: var(--navy); font-weight: 600; }
.wc-order-box .product-name { color: var(--navy); font-weight: 600; }
.wc-order-box .product-quantity { color: var(--text-light); font-weight: 400; }
.wc-order-box .order-total th {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 16px;
  color: var(--navy);
  text-transform: uppercase;
}
.wc-order-box .order-total td {
  text-align: right;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--rust);
}
.wc-order-box .woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.wc-order-box .woocommerce-shipping-methods li { margin-bottom: 4px; }

/* Payment box */
.wc-order-box #payment {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 4px;
}
.wc-order-box #payment ul.payment_methods {
  list-style: none;
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--border);
}
.wc-order-box #payment ul.payment_methods li { margin-bottom: 10px; }
.wc-order-box #payment label { font-weight: 600; color: var(--navy); cursor: pointer; }
.wc-order-box #payment .payment_box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}
.wc-order-box #payment .payment_box::before { display: none; }
.wc-order-box #payment #place_order { width: 100%; margin-top: 6px; }
.wc-order-box .woocommerce-terms-and-conditions-wrapper {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
}

/* Login / coupon toggle prompts on checkout */
.wc-checkout-section .woocommerce-form-login-toggle,
.wc-checkout-section .woocommerce-form-coupon-toggle { margin-bottom: 22px; }
.wc-checkout-section form.login,
.wc-checkout-section form.checkout_coupon {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .wc-checkout-grid { grid-template-columns: 1fr; gap: 28px; }
  .wc-order-box { position: static; }
}

@media (max-width: 720px) {
  .wc-page-section { padding: 28px 0 60px; }

  /* Stack the cart table into cards (WC shop_table_responsive pattern) */
  .wc-cart-section table.shop_table thead { display: none; }
  .wc-cart-section table.shop_table,
  .wc-cart-section table.shop_table tbody,
  .wc-cart-section table.shop_table tr,
  .wc-cart-section table.shop_table td { display: block; width: 100%; }
  /* Card = flex column so the Remove cell can be ordered to the bottom */
  .wc-cart-section table.shop_table tr.cart_item {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 14px;
    padding: 8px 4px;
  }
  .wc-cart-section table.shop_table td {
    border-top: 0;
    text-align: right;
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .wc-cart-section table.shop_table td::before {
    content: attr(data-title);
    font-family: 'Big Shoulders Display', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
  }
  /* Remove → full-width button at the bottom of the card (no overlap with name) */
  .wc-cart-section td.product-remove {
    order: 99;
    width: 100%;
    justify-content: center;
    padding: 10px 14px 4px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
  }
  .wc-cart-section td.product-remove::before { display: none; }
  .wc-cart-section td.product-remove a.remove,
  .wc-cart-section td.product-remove a.remove:link,
  .wc-cart-section td.product-remove a.remove:visited {
    width: 100%;
    padding: 11px 16px;
  }
  .wc-cart-section td.product-thumbnail { justify-content: flex-start; }
  .wc-cart-section td.product-thumbnail::before { display: none; }
  .wc-cart-section td.actions {
    display: block;
    text-align: center;
  }
  .wc-cart-section td.actions::before { display: none; }
  .wc-cart-section td.actions .coupon {
    float: none;
    justify-content: center;
    margin-bottom: 12px;
    width: 100%;
  }
  .wc-cart-section td.actions .coupon input#coupon_code { flex: 1; width: auto; }
  .wc-cart-section td.actions button[name="update_cart"] { float: none; width: 100%; }
  .wc-cart-section .cart-collaterals { justify-content: stretch; }
  .wc-cart-section .cart_totals { max-width: none; }
}

/* ── SERVICE-REPAIRS ACCENT (olive instead of rust on cards/borders) ───── */
body.svc-accent .proj-card-tag {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive-light);
}
body.svc-accent .proj-intro-side { border-left-color: var(--olive); }
body.svc-accent .proj-intro-side-list li i { color: var(--olive); }
body.svc-accent .model-card:hover { border-color: var(--olive); }
body.svc-accent .proj-card-link { color: var(--olive); }
body.svc-accent .restore-intro-img-tag i { color: var(--olive-light); }
/* CTA band stays olive on restoration pages; flip to navy on service pages */
body.svc-accent #restore-cta { background: var(--navy); }

/* ── SERVICE & REPAIRS CPT — model intro WYSIWYG (h-level mapping) ──────────
   The model "intro band" is one WYSIWYG: an <h6> renders as the eyebrow (with
   the gold bar), <h2> as the heading, paragraphs as body. .proj-intro h2/p are
   already styled above, so only the eyebrow needs mapping here. */
.sr-richtext > :first-child { margin-top: 0; }
.sr-richtext h6 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rust);
  margin: 0 0 10px;
}
.sr-richtext h6::before {
  content: "";
  flex: 0 0 32px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.sr-richtext hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 22px 0;
}
/* Single-job detail (no siblings yet): just the centered "back" pill. */
.proj-nav-grid--single { display: flex; justify-content: center; }

/* ══════════════════════════════════════════════════════════════════════════
   STANDARD PAGE (page.php) — rotating hero, body, info-block cards, gallery
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────────────────── */
.wh-page-hero { position: relative; min-height: 440px; overflow: hidden; background: var(--navy); }
.wh-page-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.wh-page-hero-slide.is-active { opacity: 1; }
/* Single slide stays absolutely positioned too, so it fills the banner's
   min-height instead of collapsing to the text height. */
/* No full-slide overlay — a soft scrim sits behind the centered text only. */
.wh-page-hero .container { position: relative; z-index: 2; width: 100%; }
.wh-page-hero-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 30px;
  color: var(--cream);
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
  background: radial-gradient(ellipse 78% 92% at center, rgba(18,22,36,0.62) 0%, rgba(18,22,36,0.32) 56%, transparent 80%);
}
.wh-page-hero-content .eyebrow { color: var(--gold); justify-content: center; margin-bottom: 14px; text-shadow: none; }
.wh-page-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  color: var(--cream);
  margin: 0 0 14px;
}
.wh-page-hero-content h1 em { color: var(--gold); font-style: italic; }
.wh-page-hero-sub { font-size: 17px; line-height: 1.5; color: rgba(244,237,228,0.9); margin: 0 auto 22px; max-width: 560px; }
.wh-page-hero-caption {
  position: absolute; right: 18px; bottom: 16px; z-index: 3;
  background: rgba(0,0,0,0.55);
  padding: 5px 12px;
  border-radius: 4px;
  font-family: 'Big Shoulders Display', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: rgba(244,237,228,0.92);
}
.wh-page-hero-caption i { color: var(--gold); margin-right: 4px; }
.wh-page-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%; background: rgba(28,34,51,0.5); color: var(--cream);
  cursor: pointer; font-size: 16px; transition: background 0.2s ease;
}
.wh-page-hero-arrow:hover { background: var(--rust); }
.wh-page-hero-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wh-page-hero-prev { left: 18px; }
.wh-page-hero-next { right: 18px; }
.wh-page-hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 4; display: flex; justify-content: center; gap: 9px; }
.wh-page-hero-dot { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; background: rgba(244,237,228,0.45); cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.wh-page-hero-dot.is-active { background: var(--gold); transform: scale(1.15); }
.page-header-section.is-after-hero { padding-top: 18px; padding-bottom: 18px; }
@media (max-width: 768px) {
  .wh-page-hero { min-height: 360px; }
  .wh-page-hero-content { padding: 54px 0; }
  .wh-page-hero-arrow { display: none; }
}

/* ── Body: call-out, prose, info-block intro ───────────────────────────── */
.wh-page-body { padding: 56px 0 40px; background: var(--cream); }
.wh-page-body--alt { background: var(--cream-dark); }
/* Employment page: #model-showcase is reused as a plain centered intro (no model
   grid follows), so collapse the grid-gap + heavy section padding before the body
   (~166px tighter). */
#model-showcase.emp-intro { padding-bottom: 8px; }
#model-showcase.emp-intro .model-showcase-header { margin-bottom: 0; }
.wh-page-body.emp-body { padding-top: 22px; }
.wh-page-callout {
  border-left: 4px solid var(--rust); background: var(--white); border-radius: var(--radius);
  padding: 22px 26px; margin: 0 0 32px; font-size: 17px; color: var(--text);
}
.wh-page-callout > :first-child { margin-top: 0; }
.wh-page-callout > :last-child { margin-bottom: 0; }
.wh-page-prose { max-width: 100%; }
.wh-page-prose > :first-child { margin-top: 0; }
/* Editor heading scale — Heritage Garage (adapted from the Eterna set, light palette).
   Two serif navy tiers (h1/h2) · a rust italic serif h3 (color shift) · two
   condensed-caps tiers with a leading bar (h4 ink bar, h5 rust bar) · a quiet
   muted h6 label. Without an explicit h1/h4–h6 a content heading would fall
   through to the giant global h1 (~58px). */
/* The scale applies to BOTH the page-content wrapper (.wh-page-prose) and the
   info-block intro WYSIWYG (.wh-ib-intro), so editor headings + the ornamental
   <hr> render identically in every rich-text field. (.wh-ib-intro keeps its
   rust "eyebrow" h6 from the .sr-richtext rule above — that's its h6 style.) */
.wh-page-prose h1, .wh-ib-intro h1 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(27px, 3.4vw, 37px); line-height: 1.15; color: var(--navy); margin: 0 0 16px; }
.wh-page-prose h2, .wh-ib-intro h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(22px, 2.6vw, 29px); line-height: 1.2; color: var(--navy); margin: 34px 0 14px; }
.wh-page-prose h3, .wh-ib-intro h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-style: italic; font-size: clamp(20px, 2.1vw, 24px); line-height: 1.25; color: var(--rust); margin: 30px 0 12px; }
.wh-page-prose h4, .wh-ib-intro h4 { display: flex; align-items: center; gap: 12px; font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); margin: 28px 0 10px; }
.wh-page-prose h4::before, .wh-ib-intro h4::before { content: ""; flex: 0 0 30px; height: 3px; background: var(--navy); border-radius: 2px; }
.wh-page-prose h5, .wh-ib-intro h5 { display: flex; align-items: center; gap: 12px; font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--rust); margin: 24px 0 10px; }
.wh-page-prose h5::before, .wh-ib-intro h5::before { content: ""; flex: 0 0 24px; height: 3px; background: var(--rust); border-radius: 2px; }
.wh-page-prose h6 { font-family: 'Big Shoulders Display', sans-serif; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-light); margin: 22px 0 8px; }
/* Ornamental <hr> — line fades out at both ends with a gold star centered in a
   transparent gap (no background masking needed, so it works on any section). */
.wh-page-prose hr, .wh-ib-intro hr {
  position: relative; border: 0; height: 1px; width: 100%; max-width: 360px;
  margin: 40px auto; overflow: visible;
  background: linear-gradient(90deg, transparent 0%, var(--border) 16%, var(--border) 43%, transparent 47%, transparent 53%, var(--border) 57%, var(--border) 84%, transparent 100%);
}
.wh-page-prose hr::after, .wh-ib-intro hr::after {
  content: "\f005"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 13px; line-height: 1; color: var(--gold);
}
.wh-page-prose p { color: var(--text); font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.wh-page-prose ul, .wh-page-prose ol { color: var(--text); font-size: 16px; line-height: 1.7; margin: 0 0 16px 20px; }
.wh-page-prose li { margin-bottom: 6px; }
.wh-page-prose a { color: var(--rust); text-decoration: underline; }
.wh-page-prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
.wh-page-prose blockquote { border-left: 4px solid var(--gold); padding: 6px 0 6px 20px; margin: 20px 0; font-style: italic; color: var(--text-light); }
.wh-ib-intro { text-align: left; max-width: 100%; margin: 0 0 28px; }
/* Restore paragraph spacing in the info-block intro WYSIWYG: the global reset
   zeroes <p> margins and .sr-richtext defines none, so editor paragraph breaks
   were collapsing into one run of text. (Scoped here so the CPT .proj-intro
   pages are untouched.) */
.wh-ib-intro p { color: var(--text); font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.wh-ib-intro > :last-child { margin-bottom: 0; }

/* ── Info-block cards ──────────────────────────────────────────────────── */
/* Flex (not grid) so an incomplete last row — e.g. a single bottom info block —
   centers instead of pinning to the left column. Cards stay sized 3-up. */
.wh-ib-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin: 0 0 8px; }
.wh-ib-card { flex: 0 1 calc((100% - 52px) / 3); min-width: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
a.wh-ib-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.12); border-color: var(--rust); }
.wh-ib-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-dark); }
.wh-ib-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
a.wh-ib-card:hover .wh-ib-card-img img { transform: scale(1.06); }
.wh-ib-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.wh-ib-card-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--navy); margin: 0 0 8px; }
.wh-ib-card-desc { color: var(--text-light); font-size: 14.5px; line-height: 1.55; margin-bottom: 14px; }
.wh-ib-card-link { margin-top: auto; font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rust); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 880px) { .wh-ib-card { flex-basis: calc((100% - 26px) / 2); } }
@media (max-width: 600px) { .wh-ib-card { flex-basis: 100%; } }

/* ── Gallery ───────────────────────────────────────────────────────────── */
.wh-page-gallery-section { padding: 40px 0 48px; background: var(--cream); }
/* When the gallery directly follows the page body, collapse the doubled section
   gap (body's bottom padding already provides the separation). */
.wh-page-body + .wh-page-gallery-section { padding-top: 0; }
/* Tame the gallery title (editor contentholder uses the global heading default). */
.wh-page-gallery-section :is(h1, h2, h3, h4) { margin: 0 0 20px; }
.wh-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wh-gallery-item { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.wh-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.wh-gallery-item:hover img { transform: scale(1.07); }
@media (max-width: 880px) { .wh-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .wh-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ══ VEHICLES FOR SALE (page-vehicles-for-sale.php) ════════════════════════ */
.vfs-listing { padding: 54px 0; background: var(--cream); }
.vfs-listing-head { max-width: 100%; margin: 0 0 30px; }
.vfs-status {
  display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 4px;
  font-family: 'Big Shoulders Display', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--cream); background: var(--rust);
}
.vfs-title-row { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.vfs-title { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.4vw, 36px); color: var(--navy); margin: 0; line-height: 1.1; }
.vfs-price { font-family: 'Big Shoulders Display', sans-serif; font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--rust); }
.vfs-desc { color: var(--text-light); font-size: 16px; line-height: 1.65; margin: 0 0 18px; }
.vfs-specs { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 22px; }
.vfs-specs span { display: inline-flex; align-items: center; gap: 8px; font-family: 'Big Shoulders Display', sans-serif; font-weight: 600; font-size: 14px; color: var(--navy); }
.vfs-specs span strong { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.vfs-specs i { color: var(--rust); }

/* SOLD treatment (temporary, pre-CPT) — status pill reads "Sold" in navy to
   distinguish from the rust "For Sale", price struck through, plus a rotated
   sticker on the lead photo. Sticker is pointer-events:none so clicking still
   opens the (clean) gallery popup. */
.vfs-status.is-sold { background: var(--navy); }
.vfs-price.is-sold { color: var(--text-light); text-decoration: line-through; text-decoration-thickness: 2px; }
.wh-gallery-item.is-lead-sold { position: relative; }
.vfs-sold-stamp {
  position: absolute; inset: 0; margin: auto;
  width: max-content; height: max-content;
  padding: 6px 20px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; line-height: 1;
  font-size: clamp(18px, 4.2vw, 34px);
  color: #fff; background: var(--rust);
  border: 3px solid #fff; border-radius: 5px;
  transform: rotate(-11deg);
  box-shadow: 0 6px 22px rgba(0,0,0,0.38);
  pointer-events: none;
}

.vfs-divider { background: var(--cream); }
.vfs-divider .container { display: flex; align-items: center; gap: 20px; }
.vfs-divider .container::before,
.vfs-divider .container::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.vfs-divider-icon { color: var(--gold); font-size: 18px; flex: 0 0 auto; }

/* ══ CONTACT PAGE (page-contact.php) ═══════════════════════════════════════ */
.wh-contact-section { padding: 56px 0 64px; background: var(--cream); }
.wh-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
/* Appointment-only callout — prominent notice so visitors don't stop by unannounced */
.wh-appt-callout {
  display: flex; gap: 16px; align-items: flex-start;
  margin: 0 0 26px; padding: 18px 22px;
  background: var(--cream); border-left: 4px solid var(--rust); border-radius: var(--radius);
}
.wh-appt-callout i { color: var(--rust); font-size: 22px; margin-top: 2px; flex: 0 0 auto; }
.wh-appt-callout strong {
  display: block; margin-bottom: 5px;
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 17px; color: var(--navy);
}
.wh-appt-callout div { color: var(--text); font-size: 15px; line-height: 1.55; }

.wh-contact-phone {
  display: inline-flex; align-items: center; gap: 12px; margin: 6px 0 26px;
  font-family: 'Big Shoulders Display', sans-serif; font-size: 32px; font-weight: 800;
  color: var(--rust); text-decoration: none; line-height: 1;
}
.wh-contact-phone i { font-size: 25px; }
.wh-contact-phone:hover { color: var(--rust-dark); }
.wh-contact-list { list-style: none; padding: 0; margin: 0; }
.wh-contact-list li { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--border); color: var(--text-light); font-size: 15px; line-height: 1.55; }
.wh-contact-list li i { color: var(--rust); font-size: 18px; margin-top: 3px; width: 22px; text-align: center; flex: 0 0 auto; }
.wh-contact-list strong { color: var(--navy); font-family: 'Big Shoulders Display', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px; }

.wh-contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 32px; box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.wh-contact-form-title { font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 20px; color: var(--navy); margin: 0 0 18px; }
.wh-contact-form label { display: block; margin-bottom: 16px; font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; color: var(--navy); }
.wh-contact-form input, .wh-contact-form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 12px 14px;
  font-family: 'Work Sans', sans-serif; font-size: 15px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text);
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
}
.wh-contact-form input:focus, .wh-contact-form textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(184,74,42,0.12); }
.wh-form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) {
  .wh-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .wh-form-grid2 { grid-template-columns: 1fr; }
}

/* ── Gravity Forms contact form — GF plugin CSS is disabled site-wide
   (gform_disable_css), so these scoped rules fully own the look and match the
   demo .wh-contact-form styling above. ────────────────────────────────────── */
.wh-contact-form-wrap .gform_wrapper form { margin: 0; }
.wh-contact-form-wrap .gform_fields { list-style: none; margin: 0; padding: 0; }
.wh-contact-form-wrap .gfield { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.wh-contact-form-wrap fieldset.gfield { padding: 0; }

/* Hide GF's spam/hidden machinery (GF's own hiding CSS is off) */
.wh-contact-form-wrap .gform_hidden,
.wh-contact-form-wrap .gfield_visibility_hidden,
.wh-contact-form-wrap .gform_validation_container,
.wh-contact-form-wrap .gfield--type-honeypot { display: none; }

/* Field labels + the Name field's <legend> */
.wh-contact-form-wrap .gfield_label,
.wh-contact-form-wrap legend.gfield_label {
  display: block; float: none; margin: 0 0 2px; padding: 0;
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; color: var(--navy);
}
/* First / Last sub-labels: small + muted, sentence case */
.wh-contact-form-wrap .gform-field-label--type-sub {
  display: block; margin: 0 0 4px;
  font-family: 'Work Sans', sans-serif; font-weight: 500; text-transform: none;
  letter-spacing: 0; font-size: 12px; color: #7a7a7a;
}

/* Inputs + textarea → match .wh-contact-form fields */
.wh-contact-form-wrap .gfield input,
.wh-contact-form-wrap .gfield textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  font-family: 'Work Sans', sans-serif; font-size: 15px; font-weight: 400;
  text-transform: none; letter-spacing: 0; color: var(--text);
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
}
.wh-contact-form-wrap .gfield textarea { min-height: 150px; resize: vertical; }
.wh-contact-form-wrap .gfield input:focus,
.wh-contact-form-wrap .gfield textarea:focus {
  outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(184,74,42,0.12);
}
/* Name inputs sit right under their sub-label — no extra top gap */
.wh-contact-form-wrap .ginput_container_name input { margin-top: 0; }

/* Name First/Last → two columns */
.wh-contact-form-wrap .ginput_container_name {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.wh-contact-form-wrap .ginput_container_name > span { display: block; }

/* Required indicator → rust asterisk (handles GF text + asterisk modes) */
.wh-contact-form-wrap .gfield_required:not(.gfield_required_asterisk) .gfield_required_text { display: none; }
.wh-contact-form-wrap .gfield_required:not(.gfield_required_asterisk)::after { content: "*"; color: var(--rust); margin-left: 2px; }
.wh-contact-form-wrap .gfield_required.gfield_required_asterisk { color: var(--rust); }

/* Validation states */
.wh-contact-form-wrap .gfield_error input,
.wh-contact-form-wrap .gfield_error textarea { border-color: #c0392b; background: #fdf3f2; }
.wh-contact-form-wrap .validation_message {
  margin-top: 6px; font-family: 'Work Sans', sans-serif; font-size: 13px; color: #c0392b;
}
.wh-contact-form-wrap .gform_validation_errors {
  margin: 0 0 18px; padding: 12px 14px; border: 1px solid #e6b0aa;
  background: #fdf3f2; border-radius: var(--radius); color: #922b21; font-size: 14px;
}
.wh-contact-form-wrap .gform_validation_errors h2 { margin: 0 0 4px; font-size: 15px; color: #922b21; }
.wh-contact-form-wrap .gform_validation_errors ol,
.wh-contact-form-wrap .gform_validation_errors ul { margin: 4px 0 0 18px; }

/* Footer — the submit button itself is a .btn.btn-rust (via gform_submit_button) */
.wh-contact-form-wrap .gform_footer { margin: 22px 0 0; padding: 0; }

/* ── Multi-file upload — match the cream/navy/rust form aesthetic.
   GF core CSS is disabled, so these scoped rules fully own the widget.
   Selectors are class-based (no form-id) since the form resolves by title. ─── */
.wh-contact-form-wrap .ginput_container_fileupload { margin-top: 6px; }
/* Neutralise the generic .gfield input rule for the hidden native file input */
.wh-contact-form-wrap .ginput_container_fileupload input[type="file"] {
  margin: 0; padding: 0; border: 0; background: transparent;
}

/* Field description ("Max file size…") sits above the widget */
.wh-contact-form-wrap .gfield--type-fileupload .gfield_description {
  margin-bottom: 10px; font-family: 'Work Sans', sans-serif; font-size: 13px; color: var(--text-light);
}

/* Drop zone */
.wh-contact-form-wrap .gform_drop_area {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 10px; text-align: center; margin: 0; padding: 24px 18px;
  background: var(--cream); border: 2px dashed var(--border); border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.wh-contact-form-wrap .gform_drop_area:hover { border-color: var(--rust); }
.wh-contact-form-wrap .gform_drop_instructions {
  font-family: 'Work Sans', sans-serif; font-size: 14px; color: var(--text-light);
}

/* Select-files button → navy secondary (distinct from the rust submit) */
.wh-contact-form-wrap .gform_button_select_files {
  display: inline-block; cursor: pointer; margin: 0; padding: 9px 18px;
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 14px; line-height: 1.2;
  color: var(--white); background: var(--navy);
  border: 1px solid var(--navy); border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.wh-contact-form-wrap .gform_button_select_files:hover {
  background: var(--rust); border-color: var(--rust); transform: translateY(-2px);
}
.wh-contact-form-wrap .gform_button_select_files:focus-visible {
  outline: none; box-shadow: 0 0 0 3px rgba(184,74,42,0.12);
}

/* Rules line ("Accepted file types…") → small muted note */
.wh-contact-form-wrap .gform_fileupload_rules {
  display: block; margin-top: 8px; text-transform: none; letter-spacing: 0;
  font-family: 'Work Sans', sans-serif; font-size: 12px; color: var(--text-light);
}

/* Status / error messages (ul after the widget) */
.wh-contact-form-wrap .ginput_container_fileupload ul {
  list-style: none; margin: 8px 0 0; padding: 0;
  font-family: 'Work Sans', sans-serif; font-size: 13px; color: #c0392b;
}

/* Uploaded-file preview rows */
.wh-contact-form-wrap .ginput_preview_list { margin: 12px 0 0; }
.wh-contact-form-wrap .ginput_preview {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
  margin: 0 0 8px; padding: 10px 12px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
}
.wh-contact-form-wrap .ginput_preview:last-child { margin-bottom: 0; }
.wh-contact-form-wrap .gfield_fileupload_filename {
  margin-right: auto; word-break: break-all;
  font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 14px; color: var(--navy);
}
.wh-contact-form-wrap .gfield_fileupload_filesize {
  font-family: 'Work Sans', sans-serif; font-size: 12px; color: var(--text-light);
}
.wh-contact-form-wrap .gfield_fileupload_progress {
  display: flex; align-items: center; gap: 8px; flex: 0 0 auto;
}
.wh-contact-form-wrap .gfield_fileupload_progressbar {
  width: 90px; height: 6px; overflow: hidden;
  background: var(--cream); border: 1px solid var(--border); border-radius: 999px;
}
.wh-contact-form-wrap .gfield_fileupload_progressbar_progress {
  display: block; height: 100%; background: var(--rust); border-radius: 999px;
  transition: width 0.2s ease;
}
.wh-contact-form-wrap .gfield_fileupload_percent {
  min-width: 34px; text-align: right;
  font-family: 'Work Sans', sans-serif; font-size: 12px; color: var(--text-light);
}

/* Delete button */
.wh-contact-form-wrap .gform_delete_file {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 30px; height: 30px; margin: 0; padding: 0; cursor: pointer;
  color: var(--text-light); background: transparent;
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.wh-contact-form-wrap .gform_delete_file:hover {
  color: #fff; background: #c0392b; border-color: #c0392b;
}
.wh-contact-form-wrap .gform_delete_file .dashicons {
  width: 18px; height: 18px; font-size: 18px; line-height: 1;
}

@media (max-width: 480px) {
  .wh-contact-form-wrap .ginput_container_name { grid-template-columns: 1fr; }
  .wh-contact-form-wrap .gfield_fileupload_filename { margin-right: 0; flex: 1 0 100%; }
}

/* ══ MEET THE TEAM (page-team.php) ═════════════════════════════════════════
   Editorial portrait cards. The photos are 4:5 and cropped to keep the shop
   backgrounds in view, so they're shown whole (no circle crop) with a stamped
   navy "data-plate" caption and a heritage bay number. ─────────────────────── */
.wh-team-section { padding: 50px 0 64px; background: var(--cream); }

/* Compact contact call-outs (top under the intro, and below the cards) */
.wa-team-cta {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 12px 18px;
  margin: 22px 0 2px;
}
.wa-team-cta-foot { margin: 44px 0 4px; }
.wa-team-cta-lead {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 15px; color: var(--navy);
}
.wa-team-cta .btn { padding: 10px 22px; font-size: 13px; }

.wa-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 40px;
}
.wa-team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(28,34,51,0.08);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.wa-team-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(28,34,51,0.16); }

.wa-team-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); }
.wa-team-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.wa-team-card:hover .wa-team-media img { transform: scale(1.06); }
/* soft depth where the photo meets the plate */
.wa-team-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32%;
  background: linear-gradient(to top, rgba(28,34,51,0.34), rgba(28,34,51,0));
  pointer-events: none;
}
/* Stamped data-plate caption */
.wa-team-plate {
  text-align: center;
  padding: 17px 16px 19px;
  background: var(--navy);
  border-top: 3px solid var(--rust);
}
.wa-team-name {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 22px; line-height: 1.1; color: var(--cream);
  margin: 0 0 5px;
}
.wa-team-role {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  font-size: 12.5px; line-height: 1.35; color: var(--gold-light);
  margin: 0;
}

@media (max-width: 1023px) {
  .wa-team-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 560px) {
  .wa-team-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
}

/* ── PRINT ─────────────────────────────────────────────────────────────── */
@media print {
  .utility-bar, #navbar, #page-loader, #click-loader, #mobile-nav, .nav-overlay, #proj-lightbox { display: none; }
  body { background: #fff; }
  .reveal, .rl, .rr { opacity: 1; transform: none; }
}

/* ==========================================================================
   WEBHELPER UTILITY STYLES — skip link, editor bar, account dropdown
   Ported from the standard webhelper2 child theme. 009 pages load their own
   isolated CSS (no parent stylesheet), so these standard pieces live here.
   ========================================================================== */

/* Skip link — off-screen until keyboard focus */
.skip-main {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100000;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  font-family: 'Work Sans', sans-serif;
}
.skip-main:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  overflow: visible;
}

/* Editor bar — fixed bottom, staff only */
.wh-editor-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99990;
  background: rgba(28,34,51,0.94);
  color: var(--cream);
  padding: 8px 20px;
  font-size: 12px;
  text-align: center;
  font-family: 'Work Sans', sans-serif;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.wh-editor-bar a {
  color: var(--gold-light);
  margin: 0 10px;
  text-decoration: underline;
  font-weight: 600;
}
.wh-editor-bar a:hover { color: var(--white); }
/* The editor bar is fixed to the bottom for logged-in editors, so it floats over
   the footer-bottom legal row. Reserve space only while the bar renders so the
   copyright stays visible (public visitors get no extra gap). Two-line bar ~70px. */
body:has(.wh-editor-bar) .footer-bottom { padding-bottom: 70px; }
@media (max-width: 768px) {
  .wh-editor-bar { display: none; }
  body:has(.wh-editor-bar) .footer-bottom { padding-bottom: 0; }
}

/* Account dropdown — utility-bar trigger + hover/click menu */
.wh-acct-wrap { position: relative; display: inline-flex; }
.wh-acct-trigger {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.wh-acct-caret { font-size: 9px; transition: transform 0.2s var(--ease); }
.wh-acct-wrap:hover .wh-acct-caret,
.wh-acct-wrap.is-open .wh-acct-caret { transform: rotate(180deg); }

.wh-acct-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(28,34,51,0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 9500;
  text-align: left;
}
.wh-acct-wrap:hover .wh-acct-dropdown,
.wh-acct-wrap.is-open .wh-acct-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.wh-acct-dropdown::before {
  content: '';
  position: absolute;
  top: -7px; right: 16px;
  width: 14px; height: 14px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: -2px -2px 6px rgba(28,34,51,0.05);
}
.wh-acct-greet {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.wh-acct-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  flex-shrink: 0;
}
.wh-acct-greet-hi {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--navy);
  display: block;
  line-height: 1.2;
}
.wh-acct-nav { padding: 8px 0; }
.wh-acct-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 20px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.wh-acct-nav a i {
  width: 18px;
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
  transition: color 0.15s ease;
}
.wh-acct-nav a:hover { background: var(--cream-mid); color: var(--rust-dark); }
.wh-acct-nav a:hover i { color: var(--rust-dark); }
.wh-acct-divider { height: 1px; background: var(--border); margin: 4px 0; }
.wh-acct-section-label {
  font-family: 'Work Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 8px 20px 4px;
}
.wh-acct-staff i { color: var(--gold-dark) !important; }
.wh-acct-staff:hover i { color: var(--rust-dark) !important; }
.wh-acct-logout { color: var(--rust-dark) !important; }
.wh-acct-logout i { color: var(--rust) !important; }
.wh-acct-logout:hover { background: rgba(184,74,42,0.08) !important; }
.wh-acct-logout:hover i { color: var(--rust-dark) !important; }

/* ════════════════════════════════════════════════════════════════════════
   PRODUCT ARCHIVE (category / tag / shop) — Heritage Garage
   archive-product.php. Reuses #subcat-section/.subcat-card and
   #product-section/.product-card from the prototype; adds the two-button
   action row, store-message callout, page-text intro, and pagination.
   ════════════════════════════════════════════════════════════════════════ */

/* Site-wide store message callout (left band, like the checkout notices) */
.archive-notice-section { padding: 28px 0 0; }
.archive-store-msg {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 18px 16px 46px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.archive-store-msg::before {
  content: '\f05a';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 18px;
  top: 16px;
  font-size: 15px;
  color: var(--gold-dark);
}
.archive-store-msg p:last-child { margin-bottom: 0; }

/* Category intro text (ACF wh_category_page_text) */
.archive-page-text { padding: 28px 0 0; }
.archive-page-text .container { max-width: 860px; }
.archive-page-text p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }
.archive-page-text h2, .archive-page-text h3 { margin: 18px 0 10px; }
.archive-page-text a { color: var(--rust); text-decoration: underline; }
.archive-page-text a:hover { color: var(--rust-dark); }

/* Product-card action row — stacked Add to Cart + More Info */
.product-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.product-card-actions .btn-sm { margin-top: 0; }
/* WC AJAX states on the card button */
.product-card-actions .add_to_cart_button.loading {
  opacity: 0.75;
  pointer-events: none;
}
.product-card-actions .add_to_cart_button.added i::before { content: '\f00c'; } /* check on success */
.product-card-instore {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 12px;
}

/* Empty archive */
.archive-empty {
  text-align: center;
  padding: 30px 0 10px;
  color: var(--text-light);
}
.archive-empty-msg {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 8px;
}
.archive-empty a { color: var(--rust); }

/* Pagination */
.wh-pagination { margin: 8px 0 0; }
.wh-pagination-top { margin: 0 0 28px; }
.wh-pagination ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.wh-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.wh-pagination a.page-numbers:hover {
  border-color: var(--rust);
  color: var(--rust);
}
.wh-pagination .page-numbers.current {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--white);
}
.wh-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* ============================================================
    LOGIN / REGISTER POPUP (Magnific + LWA shortcode + vanilla tabs)
    Heritage Garage palette. Active tab is unmistakable: white pane-merged
    tab with a rust top accent; inactive tabs sit muted on the cream strip.
    ============================================================ */
/* Lift the popup above the sticky header/utility bar (z-index 9000–9500); Magnific
   defaults to ~1043, so without this the popup renders BEHIND the header — visible
   on mobile where it sits right under the bar (on desktop it centers below, so the
   overlap goes unnoticed). */
.wh-login-mfp.mfp-bg   { z-index: 100000; }
.wh-login-mfp.mfp-wrap { z-index: 100001; }
.wh-login-mfp.mfp-bg { background: rgba(28,34,51,0.85); } /* navy scrim */
.wh-login-mfp .mfp-container { padding: 20px 12px; }
.wh-login-mfp .mfp-content { vertical-align: middle; }

/* Defensive width override in case any .mfp-content cap exists */
.mfp-wrap:has(#wh-login-popup) .mfp-content { max-width: 440px; }
@media (max-width: 580px) {
  .mfp-wrap:has(#wh-login-popup) .mfp-content { max-width: 92vw; }
}

#wh-login-popup.white-popup {
  position: relative;
  background: var(--white);
  max-width: 440px;
  width: 100%;
  margin: 30px auto;
  padding: 0;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  overflow: hidden;
}
.wh-login-register-wrapper { padding: 0; }

/* Magnific close button — top-right, clear of the REGISTER tab */
.wh-login-mfp .mfp-close {
  width: 40px;
  height: 40px;
  line-height: 40px;
  top: 6px;
  right: 6px;
  color: var(--text-light) !important;
  opacity: 0.8;
  font-size: 30px;
  font-weight: 300;
  text-shadow: none;
  background: transparent;
  border-radius: 50%;
  z-index: 5;
  transition: opacity 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.wh-login-mfp .mfp-close:hover,
.wh-login-mfp .mfp-close:focus {
  color: var(--navy) !important;
  opacity: 1;
  background: rgba(28,34,51,0.08);
}

/* Tab nav — active tab merges into the content pane below */
#wh-login-popup .nav-tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 56px 0 0;            /* right gutter for the X close button */
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
#wh-login-popup .nav-item { flex: 1; }
#wh-login-popup .nav-link {
  display: block;
  padding: 17px 14px 15px;
  text-align: center;
  font-family: 'Big Shoulders Display', 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  background: transparent;
  border-top: 3px solid transparent;          /* reserve space so active doesn't shift */
  border-bottom: 1px solid var(--border);
  margin-bottom: -1px;                         /* pull onto the strip's bottom line */
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
#wh-login-popup .nav-link:hover {
  color: var(--navy);
  background: rgba(255,255,255,0.55);
}
#wh-login-popup .nav-link.active {
  color: var(--navy);
  background: var(--white);
  border-top-color: var(--rust);               /* bold rust accent on the active tab */
  border-bottom-color: var(--white);           /* "opens" the tab into the content pane */
}

/* Tab panes */
#wh-login-popup .tab-content { padding: 28px 28px 26px; }
#wh-login-popup .tab-pane { display: none; }
#wh-login-popup .tab-pane.active { display: block; }

.wh-login-header { text-align: center; margin-bottom: 18px; }
.wh-login-header img { max-width: 150px; height: auto; }

/* Register pane */
.wh-register-intro {
  text-align: center;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.wh-register-btn {
  display: block;
  width: 100%;
  padding: 13px 22px;
  background: var(--rust);
  color: var(--white);
  border: 1px solid var(--rust);
  border-radius: var(--radius);
  font-family: 'Big Shoulders Display', 'Work Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
  box-sizing: border-box;
}
.wh-register-btn:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  transform: translateY(-1px);
  color: var(--white);
  text-decoration: none;
}

/* Inline registration form (popup) */
.wh-register-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.wh-register-form .wh-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wh-register-form .wh-form-error {
  background: #fbeae5;
  color: var(--rust-dark);
  border: 1px solid #e6c2b6;
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}
.wh-register-form .wh-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wh-register-form .wh-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wh-register-form .wh-field label {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}
.wh-register-form .wh-field .req { color: var(--rust); }
.wh-register-form .wh-field input[type="text"],
.wh-register-form .wh-field input[type="email"],
.wh-register-form .wh-field input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  box-sizing: border-box;
}
.wh-register-form .wh-field input:focus {
  outline: none;
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(184,74,42,0.15);
}
.wh-register-form .wh-help { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.wh-register-form .wh-check-row { font-size: 13px; line-height: 1.5; }
.wh-register-form .wh-check { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.wh-register-form .wh-check input[type="checkbox"] {
  margin-top: 3px;
  width: 15px; height: 15px;
  flex-shrink: 0;
  accent-color: var(--rust);
}
.wh-register-form .wh-check span { color: var(--text-light); }
.wh-register-form .wh-check a { color: var(--rust); text-decoration: underline; }
.wh-register-form .wh-check a:hover { color: var(--rust-dark); }
.wh-register-form .wh-submit-row { margin-top: 4px; }
.wh-register-form .wh-register-btn { width: 100%; }
@media (max-width: 480px) {
  .wh-register-form .wh-field-row { grid-template-columns: 1fr; }
}

/* LWA shortcode output — strip plugin margins, restyle to HG */
#wh-login-popup .lwa-wrapper,
#wh-login-popup .lwa { width: 100%; }
#wh-login-popup .lwa-form { margin: 0; }
#wh-login-popup .lwa-title { display: none; } /* our wordmark covers the title */
#wh-login-popup .lwa-username,
#wh-login-popup .lwa-password,
#wh-login-popup .lwa-remember-email {
  margin-bottom: 14px;
}
#wh-login-popup .lwa label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  font-family: 'Work Sans', sans-serif;
}
#wh-login-popup .lwa input[type="text"],
#wh-login-popup .lwa input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  box-sizing: border-box;
  height: auto;          /* defeat any legacy global input height */
  line-height: 1.4;
  letter-spacing: normal;
}
#wh-login-popup .lwa input[type="text"]:focus,
#wh-login-popup .lwa input[type="password"]:focus {
  border-color: var(--rust);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184,74,42,0.15);
}

/* Submit button — rust to match site primary buttons (!important beats LWA pixelbones) */
#wh-login-popup .lwa input[type="submit"],
#wh-login-popup .lwa .button-primary {
  display: block;
  width: 100%;
  background: var(--rust) !important;
  color: var(--white) !important;
  border: 1px solid var(--rust) !important;
  padding: 12px 20px;
  font-family: 'Big Shoulders Display', 'Work Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  margin: 6px 0 0;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
#wh-login-popup .lwa input[type="submit"]:hover,
#wh-login-popup .lwa .button-primary:hover {
  background: var(--rust-dark) !important;
  border-color: var(--rust-dark) !important;
  transform: translateY(-1px);
}
#wh-login-popup .grid-container.submit { display: block; margin-top: 8px; }
#wh-login-popup .lwa-submit-button { margin-bottom: 10px; }

/* Remember-me row */
#wh-login-popup .lwa-links label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  cursor: pointer;
}
#wh-login-popup .lwa-rememberme,
#wh-login-popup input[type="checkbox"].lwa-rememberme {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: var(--rust);
  flex-shrink: 0;
}

/* Status messages from LWA */
#wh-login-popup .lwa-status {
  margin: 10px 0;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
}
#wh-login-popup .lwa-status.lwa-error {
  background: #fbeae5;
  color: var(--rust-dark);
  border-left: 3px solid var(--rust);
}
#wh-login-popup .lwa-status.lwa-success {
  background: #eaf3e6;
  color: var(--olive-dark);
  border-left: 3px solid var(--olive);
}

/* Forgot password link */
.wh-login-extra { text-align: center; margin-top: 8px; }
.wh-login-extra a {
  font-size: 13px;
  color: var(--rust);
  text-decoration: underline;
}
.wh-login-extra a:hover { color: var(--rust-dark); }

@media (max-width: 480px) {
  #wh-login-popup .tab-content { padding: 22px 20px 20px; }
  #wh-login-popup .nav-link { padding: 14px 10px 12px; font-size: 14px; letter-spacing: 0.06em; }
  .wh-login-header img { max-width: 130px; }
  .wh-login-mfp .mfp-container { padding: 12px 8px; }
}


/* =====================================================================
   HEADER SEARCH — submit / go button (slide-down bar in #navbar)
   ===================================================================== */
.nav-search-go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius);
  background: var(--rust);
  color: var(--cream);
  font-size: 14px;
  cursor: pointer;
  transition: background var(--speed) var(--ease);
}
.nav-search-go:hover { background: var(--rust-dark); }
.nav-search-go:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }


/* =====================================================================
   SEARCH RESULTS  (.wa-search-*)
   ===================================================================== */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Refine form on the results header */
.wa-search-refine {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 620px;
  margin: 22px 0 0;
  padding: 8px 8px 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px rgba(28,34,51,0.06);
}
.wa-search-refine-icon { color: var(--olive); font-size: 16px; }
.wa-search-refine input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  color: var(--navy);
  padding: 8px 0;
}
.wa-search-refine input::placeholder { color: #999; }
.wa-search-refine-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius);
  background: var(--rust);
  color: var(--cream);
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 15px;
  padding: 11px 20px;
  cursor: pointer;
  transition: background var(--speed) var(--ease);
}
.wa-search-refine-btn:hover { background: var(--rust-dark); }
.wa-search-refine-btn i { font-size: 12px; }

/* Result groups */
.wa-search-group { padding: 38px 0 0; }
.wa-search-group:last-of-type { padding-bottom: var(--section-pad); }
.wa-search-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 22px;
}
.wa-search-group-title .eyebrow-bar {
  display: inline-block;
  width: 30px; height: 3px;
  background: var(--rust);
  border-radius: 2px;
}
.wa-search-count {
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
}

.wa-search-grid {
  display: grid;
  /* min(320px, 100%) keeps the track from exceeding a narrow (e.g. iOS Zoomed)
     viewport, so result cards never overflow the screen edge. */
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 20px;
}

/* Result card */
.wa-search-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--navy);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.wa-search-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(28,34,51,0.12);
  border-color: var(--rust);
  color: var(--navy);
}
.wa-search-card-media {
  position: relative;
  flex: 0 0 116px;
  width: 116px;
  background: var(--cream-mid);
  overflow: hidden;
}
.wa-search-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wa-search-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 30px;
  color: var(--olive);
}
.wa-search-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28,34,51,0.32);
  color: var(--white);
  font-size: 22px;
  transition: background var(--speed) var(--ease);
}
.wa-search-card:hover .wa-search-card-play { background: rgba(184,74,42,0.55); }

.wa-search-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  min-width: 0;
}
.wa-search-card-type {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
}
.wa-search-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  color: var(--navy);
}
.wa-search-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-light);
}
.wa-search-card-link {
  margin-top: auto;
  padding-top: 6px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
}
.wa-search-card-link i { transition: transform var(--speed) var(--ease); }
.wa-search-card:hover .wa-search-card-link { color: var(--rust); }
.wa-search-card:hover .wa-search-card-link i { transform: translateX(4px); }

/* No results */
.wa-search-noresults { padding-top: 30px; }
.wa-search-noresults-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--rust);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  max-width: 720px;
}
.wa-search-noresults-inner p { margin-bottom: 10px; }
.wa-search-tip { color: var(--text-light); font-size: 15px; }
.wa-search-noresults-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 560px) {
  .wa-search-refine { flex-wrap: wrap; }
  .wa-search-refine-btn { width: 100%; justify-content: center; }
  .wa-search-card-media { flex-basis: 92px; width: 92px; }
}


/* =====================================================================
   INSTRUCTIONAL VIDEOS PAGE  (.wa-vid-*)
   ===================================================================== */

/* Channel CTA band */
.wa-vid-channel { padding: 36px 0 8px; }
.wa-vid-channel-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--navy);
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  color: var(--cream);
}
.wa-vid-channel-icon { font-size: 46px; color: #FF0000; line-height: 1; flex: 0 0 auto; }
.wa-vid-channel-copy { flex: 1 1 auto; min-width: 0; }
.wa-vid-channel-copy h2 { color: var(--white); font-size: 24px; margin-bottom: 4px; }
.wa-vid-channel-copy p { color: rgba(244,237,228,0.82); font-size: 15px; margin: 0; }
.wa-vid-channel .btn { flex: 0 0 auto; }

/* Index */
.wa-vid-index { padding: 40px 0 10px; }
.wa-vid-index-head { margin-bottom: 26px; }
.wa-vid-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px 32px;
}
.wa-vid-index-cat {
  display: block;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--rust);
}
.wa-vid-index-cat:hover { color: var(--rust); }
.wa-vid-index-list { list-style: none; margin: 0; padding: 0; }
.wa-vid-index-list li { margin-bottom: 7px; }
.wa-vid-index-list a {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--text);
}
.wa-vid-index-list a i { font-size: 9px; color: var(--olive); transform: translateY(-1px); }
.wa-vid-index-list a:hover { color: var(--rust); }
.wa-vid-index-list a:hover i { color: var(--rust); }

/* Video sections — scroll-margin clears the sticky header (+breathing room so
   the section head / "Back to top" stays visible after a jump). */
.wa-vid-section { padding: 46px 0 0; scroll-margin-top: 200px; }
.wa-vid-section:last-of-type { padding-bottom: var(--section-pad); }
.wa-vid-section-head {
  position: relative;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.wa-vid-section-head .section-title { margin-bottom: 6px; }
.wa-vid-section-blurb { color: var(--text-light); font-size: 15.5px; max-width: 720px; margin: 0; }
.wa-vid-backtop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
}
.wa-vid-backtop:hover { color: var(--rust); }

.wa-vid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px 26px;
}
.wa-vid-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-margin-top: 200px;
  transition: box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.wa-vid-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(28,34,51,0.12); }
.wa-vid-card:target {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(184,74,42,0.18);
}
.wa-vid-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}
.wa-vid-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.wa-vid-card-body { padding: 16px 18px 20px; }
.wa-vid-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 4px;
}
.wa-vid-card-sub { color: var(--rust); font-size: 14px; font-weight: 500; margin: 0; }

/* Browsers without aspect-ratio support → padding-top fallback */
@supports not (aspect-ratio: 16 / 9) {
  .wa-vid-embed { height: 0; padding-top: 56.25%; }
}

@media (max-width: 720px) {
  .wa-vid-channel-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .wa-vid-grid { grid-template-columns: 1fr; }
  .wa-vid-section { scroll-margin-top: 140px; }
  .wa-vid-card { scroll-margin-top: 140px; }
}
