:root {
  --red: #b60e18;
  --red-dark: #7f0a12;
  --ink: #171717;
  --muted: #575757;
  --line: rgba(0, 0, 0, 0.18);
  --metal-1: #f4f4f2;
  --metal-2: #deded9;
  --metal-3: #c8c8c2;
  --dark-metal: #202020;
  --shell: 1160px;
  --header-h: 112px;
  --shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
  --frame-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), inset 0 0 0 2px rgba(0, 0, 0, .08), 0 10px 24px rgba(0, 0, 0, .08);
  --font-title: "Oswald", "Bebas Neue", "Impact", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.85) 0 14%, transparent 34%),
    linear-gradient(100deg, rgba(255,255,255,.65), rgba(255,255,255,0) 36%, rgba(0,0,0,.05) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.28) 0 1px, rgba(0,0,0,.035) 1px 3px),
    linear-gradient(90deg, var(--metal-1), var(--metal-2) 46%, var(--metal-1));
  min-width: 320px;
}

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

a { color: inherit; text-decoration: none; }

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  padding: 10px 14px;
  background: var(--red);
  color: #fff;
  z-index: 50;
}
.skip-link:focus { top: 16px; }

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

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(224,224,220,.94)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 1px, rgba(255,255,255,.15) 1px 4px);
  border-bottom: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 2px 18px rgba(0,0,0,.16);
}

.header-shell {
  width: min(1220px, calc(100% - 76px));
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}

.brand { flex: 0 0 auto; }
.brand img { width: clamp(240px, 30vw, 380px); height: auto; }

.desktop-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(20px, 3vw, 42px);
  margin-left: auto;
  height: var(--header-h);
}

.nav-link {
  position: relative;
  display: grid;
  place-items: center;
  color: #202020;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 27px;
  width: 36px;
  height: 3px;
  transform: translateX(-50%) scaleX(0);
  background: var(--red);
  transition: transform .18s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: translateX(-50%) scaleX(1); }
.nav-link.is-active { color: var(--red); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 8px;
  color: #121212;
}

.cart-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-left: 1px solid rgba(0,0,0,.18);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 32px;
  height: 3px;
  margin: 7px auto;
  background: #111;
}
.mobile-nav { display: none; }

/* HERO */
.hero {
  position: relative;
  min-height: clamp(430px, 46vw, 590px);
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,.2);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.45);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 22%, rgba(255,255,255,.45) 41%, rgba(255,255,255,0) 62%),
    url("/assets/img/hero-underbody-desk.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  transform: scale(1.001);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: clamp(430px, 46vw, 590px);
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(470px, 46vw);
  padding-block: 62px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(40px, 3.0vw, 66px);
  line-height: 1.06;
  letter-spacing: .018em;
  text-transform: uppercase;
  font-weight: 300; 
  color: #101010;
  text-shadow: 0 1px 0 #fff;
}
.hero h1 span { color: var(--red); }

.red-rule,
.small-red-rule {
  width: 62px;
  height: 3px;
  background: var(--red);
  margin: 28px 0 20px;
}
.small-red-rule {
  width: 42px;
  height: 2px;
  margin: 12px auto 18px;
}

.hero p {
  margin: 0 0 34px;
  max-width: 340px;
  color: #4b4b4b;
  font-size: 15px;
  line-height: 1.55;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  padding: 0 34px;
  background: linear-gradient(180deg, #c9141f, #a60d17);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%);
  box-shadow: 0 14px 24px rgba(130, 0, 0, .25);
}

/* PRODUCT CARDS */
.product-section {
  padding: 36px 0 38px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.product-card {
  position: relative;
  min-height: 388px;
  padding: 56px 18px 26px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,.88), rgba(255,255,255,0) 31%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(225,225,220,.8)),
    repeating-linear-gradient(0deg, rgba(0,0,0,.035) 0 1px, rgba(255,255,255,.12) 1px 3px);
  border: 1px solid rgba(0,0,0,.22);
  box-shadow: var(--frame-shadow);
  text-align: center;
}

.product-card::before,
.product-card::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #8d8d8d 42%, #343434 100%);
  box-shadow: inset 0 -1px 2px rgba(0,0,0,.4);
}
.product-card::before { left: 8px; top: 8px; }
.product-card::after { right: 8px; bottom: 8px; }

.corner-plate {
  position: absolute;
  left: -1px;
  top: -1px;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #a30b13, #c61420 55%, transparent 56%);
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,.25));
}
.corner-plate::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #8b8b8b 50%, #1b1b1b 100%);
}

.product-card-image-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.24);
  border-radius: 4px;
  background: #161616;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.product-card-image {
  width: 100%;
  aspect-ratio: 16 / 7.2;
  object-fit: cover;
  filter: contrast(1.06) saturate(.88);
}

.badge-icon {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  color: #1d1d1d;
  background: rgba(255,255,255,.94);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  box-shadow: 0 0 0 3px var(--red), 0 10px 20px rgba(0,0,0,.2);
}

.product-card-body { padding: 24px 12px 0; }
.product-card h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 100; 
  line-height: 1.03;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.product-card p {
  margin: 0 auto 22px;
  max-width: 270px;
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}
.product-card a {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* FEATURES */
.feature-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 42px;
  padding: 22px 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.66), rgba(210,210,205,.74)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.04) 0 1px, transparent 1px 5px);
  border: 1px solid rgba(0,0,0,.24);
  box-shadow: var(--frame-shadow);
}
.feature-strip::before,
.feature-strip::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #8d8d8d 42%, #343434 100%);
}
.feature-strip::before { left: 9px; top: 9px; }
.feature-strip::after { right: 9px; bottom: 9px; }

.feature-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 0 24px;
  border-right: 1px solid rgba(0,0,0,.22);
}
.feature-item:last-child { border-right: 0; }
.feature-icon { color: #1d1d1d; display: grid; place-items: center; }
.feature-item h2 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.feature-item p {
  margin: 0;
  color: #464646;
  font-size: 12px;
  line-height: 1.25;
}

/* GENERIC PAGES + DOCUMENT SEARCH */
.page-hero {
  padding: 68px 0 42px;
}
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.page-hero h1 {
  max-width: 780px;
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  text-transform: uppercase;
}
.page-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.document-search { padding: 0 0 64px; }
.search-panel,
.document-card {
  background: rgba(245,245,242,.78);
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: var(--frame-shadow);
}
.search-panel { padding: 24px; margin-bottom: 26px; }
.search-panel label {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}
.search-row {
  display: grid;
  grid-template-columns: 1fr 170px 140px;
  gap: 12px;
}
.search-row input,
.search-row select,
.search-row button {
  min-height: 48px;
  border: 1px solid rgba(0,0,0,.24);
  font: inherit;
}
.search-row input,
.search-row select { padding: 0 14px; background: #fff; }
.search-row button {
  background: var(--red);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.document-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.document-card { padding: 22px; }
.document-sku {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: #fff;
  background: #1d1d1d;
  font-size: 12px;
  font-weight: 900;
}
.document-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.document-card p { color: #555; line-height: 1.45; }
.document-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.document-actions a {
  padding: 10px 14px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(0,0,0,.18);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr .85fr .85fr .95fr 1.15fr;
  gap: 42px;
  padding: 48px 0 54px;
}
.site-footer h2 {
  position: relative;
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.site-footer h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 36px;
  height: 2px;
  background: var(--red);
}
.site-footer p,
.site-footer li,
.site-footer a {
  color: #333;
  font-size: 13px;
  line-height: 1.55;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-about p { max-width: 260px; }
.footer-mark { opacity: .55; margin-top: 18px; }
.socials {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #333;
  font-size: 24px;
  font-weight: 900;
}
.footer-bottom {
  position: relative;
  background:
    linear-gradient(180deg, #3e3e3e, #171717),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, rgba(0,0,0,.08) 1px 6px);
  color: #cfcfcf;
  border-top: 1px solid rgba(255,255,255,.22);
}
.footer-bottom::before,
.footer-bottom::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #8d8d8d 42%, #343434 100%);
}
.footer-bottom::before { left: 12px; }
.footer-bottom::after { right: 12px; }
.footer-bottom-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 12px;
}
.footer-bottom a { color: #d8d8d8; font-size: 12px; }
.divider { width: 1px; height: 16px; background: rgba(255,255,255,.55); }

/* TABLET / IPAD */
@media (min-width: 768px) and (max-width: 1100px) {
  :root { --header-h: 92px; }
  .shell { width: min(920px, calc(100% - 40px)); }
  .header-shell { width: calc(100% - 44px); gap: 18px; }
  .brand img { width: clamp(220px, 31vw, 300px); }
  .desktop-nav { gap: 18px; }
  .nav-link { font-size: 11px; }
  .nav-link::after { bottom: 18px; }
  .hero { min-height: 500px; }
  .hero-content { min-height: 500px; }
  .hero-media {
    background-image:
      linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 28%, rgba(255,255,255,.38) 58%, rgba(255,255,255,0) 78%),
      url("/assets/img/hero-underbody-ph.jpg");
    background-position: 58% center;
  }
  .hero-copy { width: 48%; }
  .hero h1 { font-size: clamp(48px, 6vw, 64px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .product-grid .product-card:nth-child(3) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(300px, .82fr) 1fr;
    align-items: center;
    text-align: left;
    min-height: 250px;
    padding: 32px;
  }
  .product-grid .product-card:nth-child(3) .badge-icon {
    left: calc(25% + 1px);
    top: 15%;
    transform: translate(-50%, -50%);
  }
  .product-grid .product-card:nth-child(3) .product-card-body { padding: 0 0 0 38px; }
  .product-grid .product-card:nth-child(3) .small-red-rule { margin-left: 0; }
  .product-grid .product-card:nth-child(3) p { margin-left: 0; }
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item { padding: 0 28px; }
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .footer-about { grid-column: span 3; }
}

/* PHONE */
@media (max-width: 767px) {
  :root { --header-h: 84px; }
  .shell { width: min(100% - 28px, 620px); }
  .site-header { position: sticky; }
  .header-shell {
    width: calc(100% - 30px);
    min-height: var(--header-h);
    gap: 8px;
  }
  .brand img { width: min(62vw, 310px); }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .cart-link { width: 42px; border-left: 0; }
  .menu-toggle { display: block; }
  .mobile-nav {
    display: grid;
    max-height: 0;
    overflow: hidden;
    background: rgba(238,238,234,.98);
    border-top: 1px solid rgba(0,0,0,.18);
    transition: max-height .22s ease;
  }
  .site-header.is-open .mobile-nav { max-height: 420px; }
  .mobile-nav-link {
    padding: 17px 24px;
    border-bottom: 1px solid rgba(0,0,0,.1);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
  }
  .mobile-nav-link.is-active { color: var(--red); }

  .hero {
    min-height: 410px;
  }
  .hero-content { min-height: 410px; align-items: stretch; }
  .hero-media {
    background-image:
      linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 26%, rgba(255,255,255,.18) 64%, rgba(255,255,255,0) 100%),
      url("/assets/img/hero-underbody-ph.jpg");
    background-size: auto 100%, cover;
    background-position: center right -72px;
  }
  .hero-copy {
    width: 58%;
    padding: 38px 0 34px;
  }
  .hero h1 {
    font-size: clamp(40px, 10.8vw, 56px);
    line-height: .98;
  }
  .red-rule { width: 48px; margin: 18px 0 14px; }
  .hero p {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
  }
  .button-primary {
    min-height: 48px;
    padding: 0 26px;
    font-size: 12px;
  }

  .product-section { padding: 28px 0 26px; }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .product-card {
    display: grid;
    grid-template-rows: 46% 1fr;
    align-items: center;
    min-height: 188px;
    padding: 20px 18px;
    text-align: left;
  }
  .product-card::after { right: 8px; bottom: 8px; }
  .product-card-image-wrap { align-self: stretch; }
  .product-card-image { height: 100%; min-height: 142px; aspect-ratio: auto; }
  .badge-icon {
    top: 5%;
    left: 46%;
    width: 72px;
    height: 72px;
    transform: translate(-44%, -50%);
    box-shadow: 0 0 0 2px var(--red), 0 8px 18px rgba(0,0,0,.18);
  }
  .badge-icon svg { width: 43px; height: 43px; }
  .product-card-body { padding: 0 0 0 38px; }
  .product-card h2 { font-size: clamp(16px, 4.0vw, 30px); line-height: 1.15; font-weight: normal;}
  .small-red-rule { margin: 10px 0 13px; width: 38px; }
  .product-card p {
    max-width: none;
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.35;
  }
  .product-card a { font-size: 10px; }

  .feature-strip {
    width: 100%;
    margin-bottom: 20px;
    padding: 16px 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-left: 0;
    border-right: 0;
  }
  .feature-item {
    display: block;
    min-height: auto;
    padding: 0 8px;
    text-align: center;
    border-right: 1px solid rgba(0,0,0,.2);
  }
  .feature-icon svg { width: 34px; height: 34px; margin-inline: auto; }
  .feature-item h2 {
    margin-top: 6px;
    margin-bottom: 4px;
    font-size: 9px;
    line-height: 1.1;
  }
  .feature-item p {
    font-size: 9px;
    line-height: 1.15;
  }

  .page-hero { padding: 42px 0 28px; }
  .page-hero h1 { font-size: clamp(40px, 11vw, 58px); }
  .page-hero p:last-child { font-size: 16px; }
  .search-row { grid-template-columns: 1fr; }
  .document-results { grid-template-columns: 1fr; }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 22px;
    padding: 34px 0 34px;
  }
  .footer-about { display: none; }
  .site-footer h2 { font-size: 11px; margin-bottom: 18px; }
  .site-footer p,
  .site-footer li,
  .site-footer a { font-size: 11px; line-height: 1.45; }
  .socials { gap: 14px; }
  .socials a { font-size: 20px; }
  .footer-bottom-inner {
    width: calc(100% - 46px);
    min-height: 52px;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 10px;
  }
  .footer-bottom a { font-size: 10px; }
  .divider { display: none; }
}

@media (max-width: 440px) {
  .hero-media { background-position: center right -120px; }
  .hero-copy { width: 62%; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 13px; }
  .product-card {
    grid-template-columns: 45% 1fr;
    padding: 16px 12px;
  }
  .badge-icon {
    left: 45%;
    width: 62px;
    height: 62px;
  }
  .badge-icon svg { width: 36px; height: 36px; }
  .product-card-body { padding-left: 32px; }
  .product-card h2 { font-size: 22px; }
  .product-card p { font-size: 12px; }
  .feature-item { padding-inline: 5px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* =========================================================
   UPDATED SKU SEARCH + FLOATING LOGO LAYOUT
   ========================================================= */

/* Header is intentionally non-sticky. */
.site-header {
  position: relative;
  top: auto;
  overflow: visible;
}

.header-shell {
  position: relative;
  min-height: 88px;
}

.floating-brand {
  position: absolute;
  left: max(20px, calc((100vw - 1220px) / 2 + 8px));
  top: 8px;
  z-index: 40;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .18));
}

.floating-brand img {
  width: clamp(260px, 27vw, 370px);
  height: auto;
}

.desktop-nav {
  flex: 1 1 auto;
  justify-content: flex-end;
  margin-left: clamp(330px, 34vw, 460px);
}

.header-actions {
  margin-left: 14px;
}

.cart-link,
.cart-count,
.cart-icon {
  display: none !important;
}

/* Logo placement option 1: default, logo overlaps header and top of hero. */
.logo-overlap .floating-brand {
  top: 10px;
}
.logo-overlap .floating-brand img {
  transform: translateY(8px);
}

/* Logo placement option 2: logo fully inside header, less aggressive. */
.logo-in-header .floating-brand {
  top: 12px;
}
.logo-in-header .floating-brand img {
  width: clamp(230px, 24vw, 330px);
  transform: none;
}
.logo-in-header .desktop-nav {
  margin-left: clamp(300px, 31vw, 400px);
}

/* Logo placement option 3: logo sits more on the hero image. */
.logo-on-hero .floating-brand {
  top: 54px;
}
.logo-on-hero .floating-brand img {
  width: clamp(250px, 26vw, 350px);
}
.logo-on-hero .desktop-nav {
  margin-left: 0;
  justify-content: center;
}

/* Hero now contains a compact SKU database search. */
.hero {
  min-height: clamp(560px, 54vw, 710px);
}
.hero-content {
  min-height: clamp(560px, 54vw, 710px);
}
.hero-copy {
  width: min(520px, 48vw);
}

.sku-search {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(222,222,217,.88)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 1px, transparent 1px 5px);
  border: 1px solid rgba(0,0,0,.22);
  box-shadow: var(--frame-shadow);
}

.sku-search--hero {
  max-width: 520px;
  margin-top: 26px;
  padding: 18px;
}

.sku-search--page {
  max-width: 860px;
  margin-top: 28px;
  padding: 22px;
}

.sku-search__label {
  display: block;
  margin-bottom: 9px;
  color: #151515;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sku-search__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px 124px;
  gap: 10px;
}

.sku-search__row input,
.sku-search__row select,
.sku-search__row button {
  min-height: 46px;
  border: 1px solid rgba(0,0,0,.25);
  font: inherit;
}

.sku-search__row input,
.sku-search__row select {
  min-width: 0;
  padding: 0 13px;
  background: #fff;
  color: #181818;
}

.sku-search__row input {
  font-weight: 800;
  text-transform: uppercase;
}

.sku-search__row button {
  background: linear-gradient(180deg, #c9141f, #a60d17);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.sku-search__hint {
  margin: 10px 0 0;
  max-width: none;
  color: #555;
  font-size: 12px;
  line-height: 1.35;
}

.sku-results {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.sku-result-note {
  padding: 12px 14px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.14);
  color: #3c3c3c;
  font-size: 13px;
  line-height: 1.35;
}

.sku-result-card {
  padding: 14px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,0,0,.16);
}

.sku-result-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
}

.sku-result-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  background: #191919;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sku-result-card h3 {
  margin: 0 0 7px;
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.sku-result-card p {
  margin: 0 0 12px;
  max-width: none;
  color: #4a4a4a;
  font-size: 13px;
  line-height: 1.38;
}

.sku-result-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.sku-result-card__actions a {
  padding: 9px 12px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.page-hero .sku-search__hint {
  font-size: 13px;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .header-shell {
    min-height: 86px;
  }
  .floating-brand {
    left: 20px;
    top: 8px;
  }
  .floating-brand img {
    width: clamp(220px, 30vw, 300px);
  }
  .desktop-nav {
    margin-left: clamp(250px, 32vw, 340px);
    gap: 14px;
  }
  .hero,
  .hero-content {
    min-height: 620px;
  }
  .hero-copy {
    width: min(560px, 56vw);
  }
  .sku-search--hero {
    max-width: 540px;
  }
  .sku-search__row {
    grid-template-columns: minmax(0, 1fr) 118px 116px;
  }
}

@media (max-width: 767px) {
  .site-header {
    position: relative;
  }
  .header-shell {
    min-height: 86px;
    padding-left: 0;
  }
  .floating-brand {
    left: 14px;
    top: 8px;
  }
  .floating-brand img {
    width: min(58vw, 300px);
    transform: translateY(8px);
  }
  .header-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .hero,
  .hero-content {
    min-height: 610px;
  }
  .hero-copy {
    width: min(84%, 410px);
    padding-top: 42px;
  }
  .hero h1 {
    font-size: clamp(36px, 9.2vw, 50px);
  }
  .sku-search--hero {
    max-width: 360px;
    margin-top: 20px;
    padding: 13px;
  }
  .sku-search--page {
    padding: 16px;
  }
  .sku-search__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .sku-search__row input,
  .sku-search__row select,
  .sku-search__row button {
    min-height: 44px;
  }
  .sku-search__hint {
    font-size: 11px;
  }
  .sku-result-card h3 {
    font-size: 20px;
  }
}

@media (max-width: 440px) {
  .floating-brand img {
    width: min(66vw, 270px);
  }
  .hero,
  .hero-content {
    min-height: 650px;
  }
  .hero-copy {
    width: 90%;
  }
  .sku-search--hero {
    max-width: 100%;
  }
}

/* Final header height cleanup after cart removal. */
.desktop-nav {
  height: 88px;
}
.nav-link::after {
  bottom: 20px;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .desktop-nav { height: 86px; }
  .nav-link::after { bottom: 18px; }
}
@media (max-width: 767px) {
  .desktop-nav { height: auto; }
}


/* =========================================================
   FINAL RENDER SIZE CONTROLS: LOGO + HERO IMAGE
   Edit values in src/_data/site.js under renderSize.
   These rules intentionally override earlier layout values.
   ========================================================= */

.floating-brand img,
.logo-overlap .floating-brand img,
.logo-in-header .floating-brand img,
.logo-on-hero .floating-brand img {
  width: var(--logo-render-desktop, clamp(220px, 22vw, 320px));
  height: auto;
}

.hero,
.hero-content {
  min-height: var(--hero-render-desktop, clamp(500px, 48vw, 640px));
}

.hero-media {
  background-size: 100% 100%, auto var(--hero-image-height-desktop, 118%);
  background-position: center center, var(--hero-image-position-desktop, center right -20px);
}

/* Keep navigation aligned after smaller logo size. */
.desktop-nav {
  margin-left: clamp(270px, 28vw, 390px);
}

.logo-in-header .desktop-nav {
  margin-left: clamp(250px, 26vw, 360px);
}

.logo-on-hero .desktop-nav {
  margin-left: 0;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .floating-brand img,
  .logo-overlap .floating-brand img,
  .logo-in-header .floating-brand img,
  .logo-on-hero .floating-brand img {
    width: var(--logo-render-tablet, clamp(190px, 27vw, 260px));
  }

  .hero,
  .hero-content {
    min-height: var(--hero-render-tablet, 560px);
  }

  .hero-media {
    background-size: 100% 100%, auto var(--hero-image-height-tablet, 113%);
    background-position: center center, var(--hero-image-position-tablet, center right -70px);
  }

  .desktop-nav {
    margin-left: clamp(220px, 30vw, 300px);
  }
}

@media (max-width: 767px) {
  .floating-brand img,
  .logo-overlap .floating-brand img,
  .logo-in-header .floating-brand img,
  .logo-on-hero .floating-brand img {
    width: var(--logo-render-phone, min(50vw, 245px));
  }

  .hero,
  .hero-content {
    min-height: var(--hero-render-phone, 580px);
  }

  .hero-media {
    background-size: 100% 100%, auto var(--hero-image-height-phone, 108%);
    
  }
}

@media (max-width: 440px) {
  .floating-brand img,
  .logo-overlap .floating-brand img,
  .logo-in-header .floating-brand img,
  .logo-on-hero .floating-brand img {
    width: var(--logo-render-small-phone, min(58vw, 235px));
  }

  .hero,
  .hero-content {
    min-height: var(--hero-render-small-phone, 620px);
  }

  .hero-media {
    background-size: 100% 100%, auto var(--hero-image-height-small-phone, 124%);
    background-position: center center, var(--hero-image-position-small-phone, center right -40px);
  }
}

/* =========================================================
   DEFENDER DR HEADER LOGOS
   - DR shield mark floats in the left top corner.
   - DefendeR name logo appears only inside the header, between
     the DR mark and the menu.
   - Edit sizes in src/_data/site.js under renderSize.logoMark
     and renderSize.nameLogo.
   ========================================================= */

.site-header {
  position: relative !important;
  top: auto !important;
  overflow: visible;
}

.header-shell {
  position: relative;
  min-height: 98px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
}

.floating-brand {
  position: absolute;
  left: max(18px, calc((100vw - 1220px) / 2 + 6px));
  top: 4px;
  z-index: 45;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .26));
}

.floating-brand img,
.logo-overlap .floating-brand img,
.logo-in-header .floating-brand img,
.logo-on-hero .floating-brand img {
  width: var(--logo-mark-render-desktop, clamp(120px, 11vw, 170px));
  height: auto;
}

.header-name-logo {
  display: block;
  flex: 0 1 auto;
  width: var(--name-logo-render-desktop, clamp(330px, 34vw, 520px));
  margin-left: clamp(150px, 13vw, 220px);
  margin-right: auto;
  align-self: center;
  z-index: 21;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .18));
}

.header-name-logo img {
  width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  flex: 0 1 auto;
  justify-content: flex-start;
  margin-left: 0 !important;
  margin-right: auto;
  /* keep menu clear of the now right-side floating shield */
  padding-right: var(--logo-mark-render-desktop, clamp(120px, 11vw, 170px));
  height: 98px;
  gap: clamp(16px, 2.2vw, 34px);
}

.header-actions {
  margin-left: 0;
  z-index: 25;
}

/* Logo placement option 1: default, shield overlaps header and top of hero. */
.logo-overlap .floating-brand {
  top: 5px;
}
.logo-overlap .floating-brand img {
  transform: translateY(16px);
}

/* Logo placement option 2: shield stays inside the header. */
.logo-in-header .floating-brand {
  top: 8px;
}
.logo-in-header .floating-brand img {
  transform: none;
}
.logo-in-header .header-name-logo {
  margin-left: clamp(145px, 12vw, 210px);
}

/* Logo placement option 3: shield drops lower and overlaps the hero more. */
.logo-on-hero .floating-brand {
  top: 44px;
}
.logo-on-hero .floating-brand img {
  transform: none;
}
.logo-on-hero .header-name-logo {
  margin-left: clamp(150px, 13vw, 220px);
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .header-shell {
    width: min(1220px, calc(100% - 46px));
  }
  .header-name-logo {
    width: clamp(300px, 30vw, 390px);
    margin-left: clamp(130px, 13vw, 176px);
  }
  .desktop-nav {
    gap: 14px;
  }
  .nav-link {
    font-size: 11px;
  }
}

/* Tablet/iPad: use the hamburger menu so the word logo remains clean. */
@media (min-width: 768px) and (max-width: 1024px) {
  .header-shell {
    width: calc(100% - 38px);
    min-height: 94px;
  }

  .floating-brand {
    left: 18px;
    top: 6px;
  }

  .floating-brand img,
  .logo-overlap .floating-brand img,
  .logo-in-header .floating-brand img,
  .logo-on-hero .floating-brand img {
    width: var(--logo-mark-render-tablet, clamp(104px, 15vw, 142px));
  }

  .logo-overlap .floating-brand img {
    transform: translateY(14px);
  }

  .header-name-logo {
    width: var(--name-logo-render-tablet, clamp(260px, 38vw, 390px));
    margin-left: clamp(125px, 17vw, 170px);
    margin-right: auto;
  }

  .header-name-logo img {
    max-height: 60px;
  }

  .desktop-nav {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    display: grid;
    max-height: 0;
    overflow: hidden;
    background: rgba(238,238,234,.98);
    border-top: 1px solid rgba(0,0,0,.18);
    transition: max-height .22s ease;
  }

  .site-header.is-open .mobile-nav {
    max-height: 420px;
  }

  .mobile-nav-link {
    padding: 17px 28px;
    border-bottom: 1px solid rgba(0,0,0,.1);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-nav-link.is-active {
    color: var(--red);
  }
}

@media (max-width: 767px) {
  .header-shell {
    min-height: 88px;
    width: calc(100% - 26px);
    gap: 10px;
  }

  .floating-brand {
    left: 12px;
    top: 8px;
  }

  .floating-brand img,
  .logo-overlap .floating-brand img,
  .logo-in-header .floating-brand img,
  .logo-on-hero .floating-brand img {
    width: var(--logo-mark-render-phone, min(25vw, 112px));
  }

  .logo-overlap .floating-brand img {
    transform: translateY(13px);
  }

  .logo-in-header .floating-brand img,
  .logo-on-hero .floating-brand img {
    transform: none;
  }

  .logo-on-hero .floating-brand {
    top: 42px;
  }

  .header-name-logo {
    width: var(--name-logo-render-phone, min(48vw, 230px));
    margin-left: clamp(86px, 25vw, 124px);
    margin-right: auto;
  }

  .header-name-logo img {
    max-height: 48px;
  }

  .desktop-nav {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 440px) {
  .header-shell {
    min-height: 82px;
  }

  .floating-brand img,
  .logo-overlap .floating-brand img,
  .logo-in-header .floating-brand img,
  .logo-on-hero .floating-brand img {
    width: var(--logo-mark-render-small-phone, min(27vw, 98px));
  }

  .header-name-logo {
    width: var(--name-logo-render-small-phone, min(44vw, 188px));
    margin-left: clamp(76px, 25vw, 104px);
  }

  .header-name-logo img {
    max-height: 42px;
  }
}


/* =========================================================
   FINAL OVERRIDE: SEPARATE DR LOGO CONTAINERS
   Container 1: .dr-logo-container      = DR shield mark
   Container 2: .dr-name-logo-container = DefendeR name logo
   Each container has its own standalone CSS block.
   ========================================================= */

/* Global header cleanup for separated logo containers. */
.site-header {
  position: relative !important;
  top: auto !important;
  overflow: visible;
}

.header-shell {
  position: relative;
  min-height: 98px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
}

/* ---------- CONTAINER 1: DR SHIELD LOGO ---------- */
.dr-logo-container {
  position: absolute;
  right: max(18px, calc((100vw - 1220px) / 2 + 6px));
  top: 5px;
  width: var(--logo-mark-render-desktop, clamp(120px, 11vw, 170px));
  z-index: 45;
  pointer-events: none;
}

.dr-logo-link {
  display: block;
  width: 100%;
  pointer-events: auto;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .26));
}

.dr-logo-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.logo-overlap .dr-logo-container {
  top: 5px;
  transform: translateY(16px);
}

.logo-in-header .dr-logo-container {
  top: 8px;
  transform: none;
}

.logo-on-hero .dr-logo-container {
  top: 44px;
  transform: none;
}

/* ---------- CONTAINER 2: DR NAME LOGO ---------- */
.dr-name-logo-container {
  position: relative;
  flex: 0 1 auto;
  width: var(--name-logo-render-desktop, clamp(330px, 34vw, 520px));
  margin-left: clamp(150px, 13vw, 220px);
  margin-right: auto;
  z-index: 21;
}

.dr-name-logo-link {
  display: block;
  width: 100%;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .18));
}

.dr-name-logo-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}

.logo-in-header .dr-name-logo-container {
  margin-left: clamp(145px, 12vw, 210px);
}

.logo-on-hero .dr-name-logo-container {
  margin-left: clamp(150px, 13vw, 220px);
}

/* Header menu alignment when logos are in separate containers. */
.desktop-nav {
  flex: 0 1 auto;
  justify-content: flex-end;
  margin-left: 0 !important;
  height: 98px;
  gap: clamp(16px, 2.2vw, 34px);
}

.header-actions {
  margin-left: 0;
  z-index: 25;
}

/* Desktop medium width. */
@media (min-width: 1025px) and (max-width: 1180px) {
  .dr-logo-container {
    right: 18px;
    width: clamp(112px, 12vw, 150px);
  }

  .dr-name-logo-container {
    width: clamp(300px, 30vw, 390px);
    margin-left: clamp(130px, 13vw, 176px);
  }

  .desktop-nav {
    gap: 14px;
  }

  .nav-link {
    font-size: 11px;
  }
}

/* Tablet / iPad. */
@media (min-width: 768px) and (max-width: 1024px) {
  .header-shell {
    width: calc(100% - 38px);
    min-height: 94px;
  }

  .dr-logo-container {
    right: 18px;
    top: 6px;
    width: var(--logo-mark-render-tablet, clamp(104px, 15vw, 142px));
  }

  .logo-overlap .dr-logo-container {
    transform: translateY(14px);
  }

  .dr-name-logo-container {
    width: var(--name-logo-render-tablet, clamp(260px, 38vw, 390px));
    margin-left: clamp(125px, 17vw, 170px);
    margin-right: auto;
  }

  .dr-name-logo-image {
    max-height: 60px;
  }

  .desktop-nav {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }
}

/* Phone. */
@media (max-width: 767px) {
  .header-shell {
    min-height: 88px;
    width: calc(100% - 26px);
    gap: 10px;
  }

  .dr-logo-container {
    right: 12px;
    top: 8px;
    width: var(--logo-mark-render-phone, min(25vw, 112px));
  }

  .logo-overlap .dr-logo-container {
    transform: translateY(13px);
  }

  .logo-in-header .dr-logo-container {
    transform: none;
  }

  .logo-on-hero .dr-logo-container {
    top: 42px;
    transform: none;
  }

  .dr-name-logo-container {
    width: var(--name-logo-render-phone, min(48vw, 230px));
    margin-left: clamp(86px, 25vw, 124px);
    margin-right: auto;
  }

  .dr-name-logo-image {
    max-height: 48px;
  }

  .desktop-nav {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }
}

/* Small phone. */
@media (max-width: 440px) {
  .header-shell {
    min-height: 82px;
  }

  .dr-logo-container {
    width: var(--logo-mark-render-small-phone, min(27vw, 98px));
  }

  .dr-name-logo-container {
    width: var(--name-logo-render-small-phone, min(44vw, 188px));
    margin-left: clamp(76px, 25vw, 104px);
  }

  .dr-name-logo-image {
    max-height: 42px;
  }
}

/* =========================================================
   FINAL OVERRIDE: RIGHT-SIDE COLLAPSED MENU
   Applies to tablet, iPad, and phone only. Desktop keeps the
   full horizontal menu. The collapsed menu opens from the
   right side under the header.
   ========================================================= */
@media (max-width: 1024px) {
  .site-header {
    position: relative !important;
    overflow: visible !important;
  }

  .header-shell {
    position: relative;
    z-index: 60;
  }

  .desktop-nav {
    display: none !important;
  }

  .header-actions {
    margin-left: auto !important;
  }

  .menu-toggle {
    position: relative;
    display: grid !important;
    place-items: center;
    width: 54px;
    height: 54px;
    z-index: 75;
  }

  .menu-toggle span {
    width: 34px;
    height: 3px;
    margin: 0;
    background: #111;
    transform-origin: center;
    transition: transform .18s ease, opacity .18s ease;
  }

  .site-header.is-open .menu-toggle span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .menu-toggle span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .mobile-nav {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: max(13px, calc((100vw - 1220px) / 2));
    width: min(360px, calc(100vw - 26px));
    max-height: none !important;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.985);
    transform-origin: top right;
    z-index: 70;
    background:
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(223,223,218,.98)),
      repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 1px, rgba(255,255,255,.18) 1px 4px);
    border: 1px solid rgba(0,0,0,.24);
    border-top: 3px solid var(--red);
    box-shadow: 0 18px 34px rgba(0,0,0,.28);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }

  .site-header.is-open .mobile-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 54px;
    padding: 0 24px;
    color: #171717;
    text-align: right;
    border-bottom: 1px solid rgba(0,0,0,.12);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .mobile-nav-link:last-child {
    border-bottom: 0;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:focus,
  .mobile-nav-link.is-active {
    color: var(--red);
    background: rgba(182, 14, 24, .07);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .mobile-nav {
    right: 19px;
    width: min(380px, calc(100vw - 38px));
  }
}

@media (max-width: 767px) {
  .mobile-nav {
    right: 13px;
    width: min(340px, calc(100vw - 26px));
  }
}

@media (max-width: 440px) {
  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .menu-toggle span {
    width: 30px;
  }

  .mobile-nav {
    right: 10px;
    width: calc(100vw - 20px);
  }

  .mobile-nav-link {
    min-height: 52px;
    padding-right: 20px;
  }
}

/* Additional notes line inside SKU search result cards */
.sku-result-card__notes {
  margin-top: 0.5rem;
  font-size: 0.9em;
  opacity: 0.85;
}
.sku-result-card__notes strong { font-weight: 700; }


/* =========================================================
   HERO NAME LOGO (moved from header into the hero, above H1)
   ========================================================= */
.hero-name-logo-link {
  display: inline-block;
  width: var(--name-logo-render-desktop, clamp(300px, 30vw, 460px));
  max-width: 100%;
  margin: 0 0 0px;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .18));
}

.hero-name-logo {
  display: block;
  width: 80%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-name-logo-link {
    width: var(--name-logo-render-tablet, clamp(260px, 38vw, 390px));
    margin-bottom: 16px;
  }
}

@media (max-width: 767px) {
  .hero-name-logo-link {
    width: var(--name-logo-render-phone, min(60vw, 260px));
    margin-bottom: 14px;
  }
}

@media (max-width: 440px) {
  .hero-name-logo-link {
    width: var(--name-logo-render-small-phone, min(58vw, 210px));
  }
}

/* =========================================================
   MOBILE: hamburger menu moved to the LEFT
   (shield now floats on the right, so keep the menu control
   on the left — consistent with the desktop menu placement.)
   ========================================================= */
@media (max-width: 767px) {
  .header-actions {
    margin-left: 0 !important;
    margin-right: auto !important;
    order: -1;
    z-index: 46; /* above the floating shield */
  }
}
