/* ============================================================
   WindowAndDoorParts — shared design system
   Distilled from parts-store-homepage.tsx
   Navy #1e3a5f primary · Amber #f59e0b accent · Segoe UI · slate neutrals
   ============================================================ */

:root {
  --navy: #1e3a5f;
  --navy-mid: #2d5a87;
  --navy-deep: #0f2440;
  --amber: #f59e0b;
  --amber-ink: #1e293b;
  --blue: #1d4ed8;        /* hover link */
  --blue-700: #1d4ed8;

  --ink: #1e293b;
  --body: #475569;
  --mute: #64748b;
  --faint: #94a3b8;

  --line: #e2e8f0;
  --line-2: #f1f5f9;
  --line-3: #eef2f6;
  --bg: #f8fafc;
  --white: #ffffff;

  --green: #15803d;
  --green-bg: #f0fdf4;

  --shell: 1200px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06);
  --shadow-md: 0 6px 18px rgba(15,23,42,0.10);
  --shadow-lg: 0 18px 48px rgba(15,23,42,0.14);

  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* shell */
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.shell-wide { max-width: var(--shell); margin: 0 auto; }

/* ===== icons ===== */
.lucide, [data-lucide] { width: 16px; height: 16px; stroke-width: 2; vertical-align: middle; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
}
.topbar .shell { display: flex; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; }
.topbar .tb-right { display: flex; align-items: center; gap: 16px; }
.topbar .tb-right span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .tb-catalog { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; }
.topbar .tb-catalog:hover { text-decoration: underline; }
.topbar [data-lucide] { width: 13px; height: 13px; }

/* ============================================================
   HEADER
   ============================================================ */
/* z-index (WDP 2026-10-30): the header and its menus sit above page content,
   so the product photo's zoom magnifier (WooCommerce z-index 99) can't show
   through an open menu. */
.site-header { background: #fff; border-bottom: 2px solid var(--line); position: relative; z-index: 100; }
.header-row { display: flex; align-items: center; gap: 24px; padding: 12px 0; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand .mark {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand .mark [data-lucide] { width: 22px; height: 22px; color: #fff; }
.brand .wordmark { font-weight: 700; font-size: 20px; color: var(--navy); letter-spacing: -0.5px; line-height: 1.1; }
.brand .tagline { display: block; font-size: 11px; color: var(--mute); margin-top: -1px; }

.searchbar { flex: 1; max-width: 460px; }
.searchbar .field {
  display: flex; align-items: center; width: 100%;
  border: 1px solid #cbd5e1; border-radius: var(--radius); overflow: hidden; background: #fff;
}
.searchbar input { flex: 1; border: none; outline: none; padding: 10px 12px; font-size: 14px; color: var(--ink); }
.searchbar button { background: var(--navy); border: none; padding: 10px 14px; display: flex; align-items: center; }
.searchbar button [data-lucide] { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-actions .ha {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--body);
  background: none; border: none; cursor: pointer;
}
.header-actions .ha:hover { color: var(--navy); }
.header-actions .rating { font-weight: 600; }
.header-actions .cart-count {
  background: var(--amber); color: var(--amber-ink); font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 1px 7px; margin-left: 2px;
}
.hamburger { display: none; background: none; border: none; color: var(--ink); }

/* ===== primary nav ===== */
.nav-row { display: flex; align-items: center; gap: 4px; padding-bottom: 12px; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #334155;
  background: none; border: 1px solid transparent;
}
.nav-btn:hover { background: #f1f5f9; }
.nav-btn.products {
  background: #f1f5f9; color: var(--navy); border-color: var(--line); font-weight: 600;
}
.nav-btn.products.open { background: var(--navy); color: #fff; border-color: var(--navy); }
.nav-btn [data-lucide] { width: 15px; height: 15px; }
.nav-btn .chev { transition: transform .2s; }
.nav-item { position: relative; }
.nav-item.open .chev { transform: rotate(180deg); }

/* dropdown panels (Doors / Windows / Brands / Resources) */
.dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 4px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 20px; display: none;
}
/* Invisible bridge spanning the 4px gap between the button and the panel so
   moving the cursor down doesn't leave the hover region and close the menu.
   Positioned absolutely, so it is NOT treated as a flex item in .dropdown.cols. */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; }
.nav-item.open .dropdown { display: block; }
.dropdown.cols { display: none; gap: 32px; }
.nav-item.open .dropdown.cols { display: flex; }
.dd-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin: 0 0 8px; }
.dd-head a:hover { color: var(--blue); text-decoration: underline; }
.dd-link { display: block; padding: 6px 0; font-size: 14px; color: var(--body); }
.dd-link:hover { color: var(--blue); }
.dd-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dd-viewall { font-size: 12px; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 4px; }
.dd-viewall:hover { text-decoration: underline; }

.brands-dd { width: 540px; }
.brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
.brands-grid .dd-link { border-bottom: 1px solid var(--line-3); display: flex; align-items: center; gap: 6px; }
.brands-grid .dd-link [data-lucide] { width: 12px; height: 12px; color: #cbd5e1; }

.resources-dd { width: 320px; }
.res-link { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px; border-radius: 8px; border-bottom: 1px solid var(--line-2); }
.res-link:last-child { border-bottom: none; }
.res-link:hover { background: #f8fafc; }
.res-link .r-name { font-size: 14px; font-weight: 500; color: #334155; }
.res-link:hover .r-name { color: var(--blue); }
.res-link .r-desc { display: block; font-size: 12px; color: var(--faint); }
.res-link [data-lucide] { width: 14px; height: 14px; color: #cbd5e1; }

/* ===== mega menu ===== */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 55;
  background: #fff; border-top: 3px solid var(--navy); border-bottom: 2px solid var(--line);
  box-shadow: var(--shadow-lg); display: none;
}
.mega.open { display: block; }
.mega-inner { display: flex; min-height: 380px; max-width: var(--shell); margin: 0 auto; }
.mega-col-cats { width: 240px; background: #f1f5f9; border-right: 1px solid var(--line); padding: 8px 0; }
.mega-col-subs { width: 220px; border-right: 1px solid var(--line); padding: 8px 0; }
.mega-col-links { flex: 1; padding: 16px 24px; }
.mega-label { display: block; padding: 8px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); text-decoration: none; }
a.mega-label:hover { color: var(--navy); }
.mega-cat {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; cursor: pointer;
  color: var(--body); border-right: 3px solid transparent;
}
.mega-cat .mc-left { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.mega-cat .mc-ico { font-size: 18px; }
.mega-cat [data-lucide] { width: 14px; height: 14px; opacity: .5; }
.mega-cat.active { background: #fff; color: var(--navy); border-right-color: var(--navy); }
.mega-sub {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--body); border-right: 2px solid transparent;
}
.mega-sub [data-lucide] { width: 14px; height: 14px; opacity: .4; }
.mega-sub.active { background: #f8fafc; color: var(--navy); border-right-color: var(--amber); }
.mega-links-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mega-links-top h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0; }
.mega-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.mega-links-grid a {
  display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; color: var(--body);
  border-bottom: 1px solid var(--line-2);
}
.mega-links-grid a:hover { color: var(--blue); }
.mega-links-grid a [data-lucide] { width: 12px; height: 12px; color: #cbd5e1; }
.mega-body { display: flex; gap: 24px; }
.mega-foot {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; background: #f8fafc; border-top: 1px solid var(--line);
  max-width: var(--shell); margin: 0 auto;
}
.mega-foot .mf-trust { display: flex; gap: 24px; font-size: 12px; color: var(--mute); }
.mega-foot .mf-trust span { display: inline-flex; align-items: center; gap: 6px; }
.mega-foot [data-lucide] { width: 13px; height: 13px; }
.mega-foot .mf-link { font-size: 12px; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 4px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mute); padding: 16px 0; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb [data-lucide] { width: 13px; height: 13px; color: #cbd5e1; }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 600; border: 1px solid transparent;
  transition: transform .12s, background .15s, box-shadow .15s;
}
.btn [data-lucide] { width: 16px; height: 16px; }
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: #f8fafc; }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section { padding: 40px 0; }
.h-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin: 0 0 8px; }
.h-title { font-size: 26px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -.4px; }
.h-rule { width: 60px; height: 3px; background: var(--navy); border-radius: 2px; margin: 10px 0 24px; }
.h-sub { font-size: 14px; color: var(--mute); margin: 6px 0 0; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.prod-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Compatible Products slider (renders when more than 4 products) */
.rel-carousel { position: relative; }
.rel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.rel-track::-webkit-scrollbar { display: none; }
.rel-track > .prod-card { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; }
.rel-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
.rel-nav:hover { border-color: #cbd5e1; }
.rel-nav.prev { left: -16px; }
.rel-nav.next { right: -16px; }
.rel-nav[hidden] { display: none; }
.rel-nav [data-lucide] { width: 20px; height: 20px; }

/* Recently viewed — 6-up grid; one-at-a-time slider when more than 6 */
.rv-grid { display: grid; gap: 20px; grid-template-columns: repeat(6, 1fr); }
.rv-carousel { position: relative; }
.rv-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-track > .prod-card { flex: 0 0 calc((100% - 100px) / 6); scroll-snap-align: start; }
.rv-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
.rv-nav:hover { border-color: #cbd5e1; }
.rv-nav.prev { left: -16px; }
.rv-nav.next { right: -16px; }
.rv-nav[hidden] { display: none; }
/* Chevron drawn in CSS so the arrows never depend on the Lucide script loading. */
.rv-nav::before { content: ""; display: block; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.rv-nav.prev::before { transform: rotate(135deg); margin-left: 3px; }
.rv-nav.next::before { transform: rotate(-45deg); margin-right: 3px; }
.rv-track { cursor: grab; }
.rv-track.rv-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s;
}
.prod-card:hover { box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.prod-thumb {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; position: relative;
}
/* WDP 2026-10-14: photo area was 4:3, so square photos left a pastel band each
   side. Now square, and the photo fills it edge to edge. */
.prod-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.prod-thumb [data-lucide] { width: 40px; height: 40px; color: rgba(0,0,0,.18); }
.prod-badge {
  position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.92); color: var(--navy);
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: .02em;
}
.prod-badge.amber { background: var(--amber); color: var(--amber-ink); }
.prod-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-brand { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.prod-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.prod-card:hover .prod-name { color: var(--blue); }
.prod-desc { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--mute); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.prod-meta { font-size: 12px; color: var(--mute); display: flex; align-items: center; gap: 6px; }
.prod-fit { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--green); background: var(--green-bg); border: 1px solid #bbf7d0; padding: 2px 8px; border-radius: 999px; align-self: flex-start; }
.prod-fit [data-lucide] { width: 11px; height: 11px; }
.prod-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; }
.prod-price { font-size: 18px; font-weight: 700; color: var(--ink); }
.prod-price .from { font-size: 11px; font-weight: 500; color: var(--mute); }

/* star row */
.stars { display: inline-flex; gap: 1px; }
.stars [data-lucide] { width: 12px; height: 12px; color: var(--amber); fill: var(--amber); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: #94a3b8; margin-top: 48px; }
.footer-stats { background: var(--navy); color: #fff; padding: 32px 0; }
.footer-stats .row { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; text-align: center; }
.footer-stats .stat .val { font-size: 26px; font-weight: 700; }
.footer-stats .stat .lbl { font-size: 12px; color: #94b8d8; }
.footer-main { padding: 40px 0 24px; }
.footer-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-cols .fcol { flex: 1; min-width: 200px; }
.footer-cols .fbrand { flex: 1.4; }
.footer-cols .fbrand .flogo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-cols .fbrand .flogo .mark { width: 36px; height: 36px; border-radius: 8px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.footer-cols .fbrand .flogo .mark [data-lucide] { width: 18px; height: 18px; color: #fff; }
.footer-cols .fbrand .flogo .wm { font-size: 18px; font-weight: 700; color: #fff; }
.footer-cols p { font-size: 14px; color: #64748b; margin: 0 0 14px; }
.footer-cols .fcontact { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.footer-cols .fcontact span { display: inline-flex; align-items: center; gap: 8px; }
.footer-cols .fcontact [data-lucide] { width: 14px; height: 14px; }
.footer-cols h4 { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 14px; }
.footer-cols .flist { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-cols .flist a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--navy); padding: 16px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; gap: 8px; flex-wrap: wrap;
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom .fb-links { display: flex; gap: 16px; }

/* ============================================================
   GENERIC UI HELPERS
   ============================================================ */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.tag-navy { background: #e8f0fe; color: var(--navy); }
.tag-amber { background: #fef3c7; color: #92400e; }
.tag-line { border: 1px solid var(--line); color: var(--body); background: #fff; }
.muted { color: var(--mute); }
.mono { font-family: var(--mono); }
.divider { height: 1px; background: var(--line); border: none; margin: 24px 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

/* trust strip */
.trust-strip { background: #f8fafc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip .row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 16px 0; }
.trust-strip .ti { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--body); }
.trust-strip .ti [data-lucide] { width: 16px; height: 16px; color: var(--navy); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .rel-track > .prod-card { flex-basis: calc((100% - 40px) / 3); }
  .rv-grid { grid-template-columns: repeat(4, 1fr); }
  .rv-track > .prod-card { flex-basis: calc((100% - 60px) / 4); }
}
@media (max-width: 860px) {
  .nav-row, .searchbar { display: none; }
  .hamburger { display: inline-flex; }
  .header-actions .label-hide { display: none; }
  .prod-grid, .prod-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .rel-track > .prod-card { flex-basis: calc((100% - 20px) / 2); }
  .rv-grid { grid-template-columns: repeat(3, 1fr); }
  .rv-track > .prod-card { flex-basis: calc((100% - 40px) / 3); }
  .footer-stats .row { gap: 28px; }
}
@media (max-width: 560px) {
  .topbar .tb-right .email { display: none; }
  .prod-grid, .prod-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rel-track { gap: 12px; }
  .rel-track > .prod-card { flex-basis: calc((100% - 12px) / 2); }
  .rv-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rv-track { gap: 12px; }
  .rv-track > .prod-card { flex-basis: calc((100% - 12px) / 2); }
}

/* ============================================================
   BROWSE / FACETS (category, subcategory, brand, search)
   ============================================================ */
.browse { display: grid; grid-template-columns: 264px 1fr; gap: 32px; align-items: start; padding: 8px 0 48px; }
.facets { position: sticky; top: 16px; }
.facet { border-bottom: 1px solid var(--line); padding: 18px 0; }
.facet:first-child { padding-top: 0; }
.facet > h4 { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 12px; display: flex; align-items: center; justify-content: space-between; }
.facet .opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; color: var(--body); cursor: pointer; }
.facet .opt input { width: 15px; height: 15px; accent-color: var(--navy); cursor: pointer; }
.facet .opt .cnt { margin-left: auto; font-size: 11px; color: var(--faint); }
.facet .opt:hover { color: var(--navy); }
.facet .more { font-size: 12px; color: var(--navy); font-weight: 600; background: none; border: none; padding: 6px 0 0; cursor: pointer; }
.swatch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; position: relative; }
.swatch.sel { box-shadow: 0 0 0 2px var(--navy); }
.price-inputs { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.price-inputs input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px; font-size: 13px; }

.browse-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 0 18px; flex-wrap: wrap; }
.result-count { font-size: 13px; color: var(--mute); }
.result-count strong { color: var(--ink); }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.select { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 13px; background: #fff; color: var(--body); }
.select select { border: none; outline: none; background: none; font-size: 13px; color: var(--ink); font-family: inherit; cursor: pointer; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.view-toggle button { background: #fff; border: none; padding: 8px 10px; color: var(--faint); }
.view-toggle button.active { background: var(--navy); color: #fff; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.chip-x { display: inline-flex; align-items: center; gap: 6px; background: #e8f0fe; color: var(--navy); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.chip-x [data-lucide] { width: 12px; height: 12px; cursor: pointer; }
.clear-all { font-size: 12px; color: var(--mute); background: none; border: none; cursor: pointer; text-decoration: underline; }
.filters-toggle { display: none; }
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; }
.pager a { min-width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--body); padding: 0 6px; }
.pager a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager a:hover:not(.active) { border-color: #cbd5e1; }

/* category navigator — "shop by type" sibling panel */
.cat-nav { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.cat-nav .cn-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 14px; background: #f8fafc; border-bottom: 1px solid var(--line); cursor: pointer; }
.cat-nav .cn-head .cn-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.cat-nav .cn-head .cn-sub { display: block; font-size: 11px; font-weight: 500; color: var(--faint); margin-top: 1px; }
.cat-nav .cn-head [data-lucide] { width: 16px; height: 16px; color: var(--mute); transition: transform .2s; flex-shrink: 0; }
.cat-nav.collapsed .cn-head [data-lucide] { transform: rotate(180deg); }
.cat-nav .cn-list { padding: 6px; display: flex; flex-direction: column; }
.cat-nav.collapsed .cn-list { display: none; }
.cat-nav .cn-link {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: 13px; color: var(--body);
  border-radius: 7px; border-left: 3px solid transparent;
}
.cat-nav .cn-link:hover { background: #f1f5f9; color: var(--navy); }
.cat-nav .cn-link [data-lucide] { width: 13px; height: 13px; color: #cbd5e1; flex-shrink: 0; }
.cat-nav .cn-link.current { background: #e8f0fe; color: var(--navy); font-weight: 700; border-left-color: var(--navy); }
.cat-nav .cn-link.current [data-lucide] { color: var(--navy); }
.cat-nav .cn-link .cn-cnt { margin-left: auto; font-size: 11px; color: var(--faint); font-weight: 500; }
.cat-nav .cn-more { background: none; border: none; border-top: 1px solid var(--line-2); margin: 4px 6px 0; padding: 10px 4px 6px; font-size: 12px; font-weight: 600; color: var(--navy); cursor: pointer; text-align: left; display: flex; align-items: center; gap: 6px; }
.cat-nav .cn-more [data-lucide] { width: 13px; height: 13px; }
.cat-nav .cn-hidden { display: none; }
.cat-nav.expanded .cn-hidden { display: flex; }

/* subcategory tiles */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .15s, border-color .15s; }
.tile:hover { box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.tile .t-img { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.tile .t-img [data-lucide] { width: 34px; height: 34px; color: rgba(0,0,0,.18); }
.tile .t-img--photo { background: #fff; }
.tile .t-img img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; display: block; }
.tile .t-body { padding: 12px 14px; }
.tile .t-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.tile:hover .t-name { color: var(--blue); }
.tile .t-count { font-size: 12px; color: var(--mute); margin-top: 2px; }

@media (max-width: 980px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .browse { grid-template-columns: 1fr; }
  .facets { position: static; display: none; }
  .facets.open { display: block; margin-bottom: 24px; }
  .filters-toggle { display: inline-flex; }
  .tile-grid { grid-template-columns: 1fr 1fr; }
}

/* mobile drawer */
.mobile-drawer { display: none; background: #f8fafc; border-bottom: 1px solid var(--line); }
.mobile-drawer.open { display: block; }
.md-item { border-bottom: 1px solid var(--line); }
.md-item > button { width: 100%; text-align: left; background: none; border: none; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; color: var(--navy); }
.md-item .md-links { padding: 0 24px 12px 36px; display: none; flex-direction: column; gap: 8px; }
.md-item.open .md-links { display: flex; }
.md-item .md-links a { font-size: 14px; color: var(--body); padding: 4px 0; }
.md-item [data-lucide] { width: 16px; height: 16px; transition: transform .2s; }
.md-item.open > button [data-lucide] { transform: rotate(90deg); }

/* ============================================================
   HOMEPAGE (ported from prototype homepage.html)
   ============================================================ */
.home-hero { background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%); color: #fff; }
.home-hero .shell { display: flex; align-items: center; gap: 40px; padding: 52px 24px; }
.home-hero .hh-text { flex: 1; }
.home-hero h1 { font-size: 36px; font-weight: 700; line-height: 1.15; margin: 0 0 14px; letter-spacing: -.6px; }
.home-hero p { font-size: 17px; color: #c5d5e8; margin: 0 0 24px; max-width: 520px; line-height: 1.5; }
.home-hero .hh-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.home-hero .hh-img { width: 320px; height: 220px; border-radius: var(--radius-lg); background: rgba(255,255,255,.1); border: 1px dashed rgba(255,255,255,.3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,.5); flex-shrink: 0; overflow: hidden; }
.home-hero .hh-img img { width: 100%; height: 100%; object-fit: cover; }
.home-hero .hh-img [data-lucide] { width: 48px; height: 48px; }
.btn-hero-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-hero-ghost:hover { background: rgba(255,255,255,.25); }
@media (max-width: 760px){ .home-hero .hh-img { display: none; } .home-hero h1 { font-size: 28px; } }

.pop-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 980px){ .pop-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 600px){ .pop-grid { grid-template-columns: repeat(2,1fr); } }
.pop-sub { font-size: 15px; font-weight: 600; color: #334155; margin: 0 0 12px; }

.bm { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.bm-brands .brand-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.brand-tile { aspect-ratio: 5/3; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-weight: 700; font-size: 13px; color: var(--navy); transition: box-shadow .15s, border-color .15s; }
.brand-tile:hover { box-shadow: var(--shadow-md); border-color: #cbd5e1; }
@media (max-width: 600px){ .bm-brands .brand-tiles { grid-template-columns: repeat(2,1fr); } }

.mfr-finder { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.mfr-head { background: var(--navy); color: #fff; padding: 16px 18px; }
.mfr-head h3 { margin: 0; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.mfr-head h3 [data-lucide] { width: 17px; height: 17px; }
.mfr-head p { margin: 4px 0 0; font-size: 12px; color: #94b8d8; }
.mfr-body { padding: 14px; }
.mfr-search { display: flex; align-items: center; gap: 8px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 9px 12px; margin-bottom: 12px; }
.mfr-search [data-lucide] { width: 16px; height: 16px; color: var(--mute); }
.mfr-search input { flex: 1; border: none; outline: none; font-size: 14px; color: var(--ink); }
.mfr-pop { margin-bottom: 12px; }
.mfr-pop .lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); margin-bottom: 8px; }
.mfr-pop .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mfr-chip { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #e8f0fe; color: var(--navy); border: none; cursor: pointer; }
.mfr-chip:hover { background: var(--navy); color: #fff; }
.mfr-list { max-height: 280px; overflow-y: auto; border-top: 1px solid var(--line-2); }
.mfr-list a { display: flex; align-items: center; justify-content: space-between; padding: 9px 6px; font-size: 13px; color: var(--body); border-bottom: 1px solid var(--line-2); }
.mfr-list a:hover { color: var(--navy); background: #f8fafc; }
.mfr-list a [data-lucide] { width: 13px; height: 13px; color: #cbd5e1; }
.mfr-list .mfr-az { position: sticky; top: 0; background: #f1f5f9; color: var(--faint); font-size: 11px; font-weight: 700; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.mfr-list a.mfr-hidden { display: none; }
.mfr-foot { padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); display: flex; align-items: center; justify-content: space-between; }
.mfr-foot a { color: var(--navy); font-weight: 600; }
.mfr-empty { padding: 24px 8px; text-align: center; font-size: 13px; color: var(--mute); }
.mfr-empty a { color: var(--navy); font-weight: 600; text-decoration: underline; }
@media (max-width: 860px){ .bm { grid-template-columns: 1fr; } }

.reviews-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.review { flex: 0 0 300px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fafc; padding: 18px; }
.review .r-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review .r-av { width: 40px; height: 40px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.review .r-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.review .stars [data-lucide] { width: 12px; height: 12px; }
.review p { font-size: 14px; color: var(--body); line-height: 1.5; margin: 0 0 8px; }
.review .r-time { font-size: 12px; color: var(--faint); }

/* logo (Site Content → Branding) */
.brand .logo-img { max-height: 44px; width: auto; }
.footer-cols .fbrand .flogo .logo-img { max-height: 36px; width: auto; }

/* Part Identifier shortcode form (re-themed to design system) */
.yp-part-identifier__form { max-width: 600px; }
.yp-field { margin-bottom: 16px; }
.yp-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; color: var(--ink); }
.yp-field .req { color: #dc2626; }
.yp-field select, .yp-field input[type="email"], .yp-field input[type="file"], .yp-field textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.yp-field textarea { resize: vertical; }
.yp-field small { color: var(--mute); font-size: 12px; }
.yp-form-notice { border-radius: var(--radius); padding: 16px; margin-bottom: 24px; }
.yp-form-notice--success { background: var(--green-bg); border: 1px solid #6ee7b7; color: #065f46; }
.yp-form-notice--error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* ============================================================
   PRODUCT DETAIL (ported from prototype product.html)
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pdp-b { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.pdp-b .rail { position: sticky; top: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }

/* gallery */
.gallery .main, .wc-block-components-product-image-gallery { aspect-ratio: 1/1; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.gallery .main [data-lucide] { width: 84px; height: 84px; color: rgba(0,0,0,.16); }
.gallery .thumbs { display: flex; gap: 12px; margin-top: 12px; }
.gallery .thumbs .t { width: 76px; height: 76px; border-radius: 8px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.gallery .thumbs .t [data-lucide] { width: 26px; height: 26px; color: rgba(0,0,0,.18); }

/* buy box / rail */
.buybox .eyebrow, .rail .eyebrow, .wp-block-post-terms.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); display:block; }
.buybox h1 { font-size: 28px; font-weight: 700; color: var(--ink); margin: 6px 0 10px; letter-spacing: -.4px; line-height: 1.2; }
.rail h1, .rail .wp-block-post-title { font-size: 22px; font-weight: 700; color: var(--ink); margin: 6px 0 8px; line-height: 1.25; }
.pdp-partno { margin: -2px 0 10px; font-size: 13px; font-weight: 400; color: var(--body); }
.pdp-partno strong { color: var(--ink); font-weight: 700; }
.price-note { font-size: 12px; color: var(--mute); margin-bottom: 20px; }

.fitbox { border: 1px solid #bbf7d0; background: var(--green-bg); border-radius: var(--radius); padding: 16px; margin-top: 14px; }
.fitbox h4 { font-size: 13px; font-weight: 700; color: #166534; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.fitbox h4 [data-lucide] { width: 16px; height: 16px; }
.fitbox ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.fitbox li { font-size: 13px; color: #15803d; display: flex; align-items: center; gap: 8px; }
.fitbox li [data-lucide] { width: 13px; height: 13px; flex-shrink: 0; }
.fitbox .ck { margin-top: 12px; font-size: 12px; color:#166534; }
.fitbox .ck a { color: var(--navy); font-weight: 600; text-decoration: underline; }

.buy-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.buy-trust .bt { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--body); }
.buy-trust .bt [data-lucide] { width: 15px; height: 15px; color: var(--navy); }

/* tabs (classic style) */
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 4px; margin-bottom: 24px; }
.tabs button { background: none; border: none; padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.active { color: var(--navy); border-bottom-color: var(--navy); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.spec-table tr { border-bottom: 1px solid var(--line-2); }
.spec-table td { padding: 12px 0; font-size: 14px; }
.spec-table td:first-child { color: var(--mute); width: 200px; }
.spec-table td:last-child { color: var(--ink); font-weight: 500; }
.prose { max-width: 680px; font-size: 15px; color: var(--body); line-height: 1.65; }
.prose p { margin: 0 0 14px; }
.compat-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; max-width: 680px; }
.compat-list .ci { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--body); padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.compat-list .ci [data-lucide] { width: 15px; height: 15px; color: var(--green); }
.xref { font-family: var(--mono); font-size: 13px; }

/* fitment-first hero */
.fitfirst { border: 1px solid var(--navy); border-radius: var(--radius-lg); overflow: hidden; margin-top: 28px; }
.fitfirst .ff-head { background: var(--navy); color: #fff; padding: 16px 20px; display: flex; align-items: center; gap: 10px; }
.fitfirst .ff-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.fitfirst .ff-head [data-lucide] { width: 18px; height: 18px; }
.fitfirst .ff-body { padding: 22px; display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
.ff-diagram { aspect-ratio: 1/1; border: 1px dashed #cbd5e1; border-radius: var(--radius); background: #f8fafc; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: rgba(0,0,0,.25); }
.ff-diagram [data-lucide] { width: 40px; height: 40px; }
.ff-diagram span { font-size: 11px; }
.ff-check label { font-size: 13px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 8px; }
.ff-check .row { display: flex; gap: 8px; margin-bottom: 12px; }
.ff-check input, .ff-check select { border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 13px; font-family: inherit; flex: 1; }
.spec-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 8px; }
.spec-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.spec-card .sc-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 700; }
.spec-card .sc-val { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 4px; }
.fits-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* WooCommerce buy-box block tweaks to match the rail */
.rail .wc-block-components-product-price, .rail .price { font-size: 26px; font-weight: 700; color: var(--ink); }
.price-unit { font-size: 14px; font-weight: 500; color: var(--mute); margin-left: 4px; }
.rail .wp-block-woocommerce-product-rating { margin-bottom: 12px; }
.rail .wc-block-components-product-button .wp-block-button__link,
.rail .single_add_to_cart_button { background: var(--amber); color: var(--amber-ink); border: none; border-radius: var(--radius); font-weight: 600; padding: 12px 20px; width: 100%; }

@media (max-width: 860px) {
  .pdp, .pdp-b { grid-template-columns: 1fr; gap: 28px; }
  .pdp-b .rail { position: static; }
  .fitfirst .ff-body { grid-template-columns: 1fr; }
  .spec-cards { grid-template-columns: 1fr 1fr; }
}

/* ---- Dark-section heading legibility (inherit white) ---- */
.home-hero h1, .fitfirst .ff-head h3, .mfr-head h3 { color: #fff; }

/* ---- Variation swatches (custom skin over WC variation form) ---- */
.yp-variations { margin: 18px 0 4px; }
.opt-group { margin-bottom: 18px; }
.opt-group .ol { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 10px; display: flex; gap: 8px; }
.opt-group .ol .sel { font-weight: 500; color: var(--mute); }
.finish-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.finish-swatches .fs { display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; width: 64px; background: none; border: none; padding: 0; }
.finish-swatches .fs .sw { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); }
.finish-swatches .fs.sel .sw { box-shadow: 0 0 0 2px var(--navy); }
.finish-swatches .fs .lbl { font-size: 10px; color: var(--mute); text-align: center; line-height: 1.2; }
.finish-swatches .fs.sel .lbl { color: var(--navy); font-weight: 600; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { background: #fff; border: none; padding: 10px 18px; font-size: 13px; font-weight: 600; color: var(--body); border-right: 1px solid var(--line); }
.seg button:last-child { border-right: none; }
.seg button.sel { background: var(--navy); color: #fff; }
/* WDP 2026-10-14: long choice labels stack one per line (swatches.js adds
   .seg-stack); choices that don't exist for the other selection are hidden. */
.seg.seg-stack { display: flex; flex-direction: column; width: 100%; max-width: 340px; }
.seg.seg-stack button { border-right: none; border-bottom: 1px solid var(--line); text-align: left; }
.seg.seg-stack button:last-child { border-bottom: none; }
.seg button[hidden], .finish-swatches .fs[hidden] { display: none; }
.seg button.off, .finish-swatches .fs.off { opacity: .4; }
/* Native variation table is replaced by the swatches above; clip it (keeps the
   selects in the DOM + screen-reader reachable so WC's variation engine works). */
.yp-swatched table.variations { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.yp-swatched .woocommerce-variation-add-to-cart { margin-top: 8px; }
/* The selected variation's price is surfaced up in the main price block
   (swatches.js), so hide WC's in-form duplicate to avoid showing both. */
.yp-swatched .woocommerce-variation-price { display: none; }

/* ============================================================
   CATEGORY / SUBCATEGORY (ported from prototype)
   ============================================================ */
.cat-hero { background: #f8fafc; border-bottom: 1px solid var(--line); }
.cat-hero .shell { display: flex; align-items: center; gap: 32px; padding: 28px 24px; }
.cat-hero .ch-text { flex: 1; }
.cat-hero h1 { font-size: 30px; font-weight: 700; color: var(--ink); margin: 0 0 8px; letter-spacing: -.5px; }
.cat-hero p { font-size: 15px; color: var(--body); margin: 0; max-width: 620px; line-height: 1.55; }
.cat-hero .ch-desc p + p { margin-top: 12px; }
.cat-hero .ch-stats { display: flex; gap: 28px; margin-top: 16px; }
.cat-hero .ch-stats div { font-size: 13px; color: var(--mute); }
.cat-hero .ch-stats strong { display: block; font-size: 20px; color: var(--navy); }
.cat-hero .ch-img { position: relative; width: 200px; height: 200px; border-radius: var(--radius-lg); border: 1px dashed #cbd5e1; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: rgba(0,0,0,.22); flex-shrink: 0; overflow: hidden; }
.cat-hero .ch-img img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.cat-hero .ch-img--photo { border: 1px solid var(--line); }
.cat-hero .ch-img--placeholder { border: none; }
.cat-hero .ch-img [data-lucide] { width: 34px; height: 34px; }
.cat-hero .ch-img span { font-size: 12px; }
@media (max-width: 720px){ .cat-hero .ch-img { display:none; } }

/* faceted browse form (server-side GET filtering) */
.facet-form .facet-actions { margin-top: 8px; }
.browse-empty { padding: 48px 8px; text-align: center; color: var(--mute); }

/* ============================================================
   BRAND (ported from prototype brand.html)
   ============================================================ */
.brand-hero { background: var(--navy); color: #fff; }
.brand-hero .shell { display: flex; align-items: center; gap: 32px; padding: 36px 24px; }
.brand-logo { width: 140px; height: 90px; border-radius: var(--radius); background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy); font-weight: 800; font-size: 15px; letter-spacing: .02em; text-align: center; padding: 10px; }
.brand-hero h1 { font-size: 30px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.5px; color: #fff; }
.brand-hero p { font-size: 15px; color: #c5d5e8; margin: 0; max-width: 640px; line-height: 1.55; }
.brand-hero .bh-desc p + p { margin-top: 12px; }
.brand-hero .bstats { display: flex; gap: 32px; margin-top: 16px; }
.brand-hero .bstats strong { display: block; font-size: 20px; color: #fff; }
.brand-hero .bstats span { font-size: 12px; color: #94b8d8; }
.brand-hero .authorized { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.brand-hero .authorized [data-lucide] { width: 14px; height: 14px; color: var(--amber); }
.a-z { display: flex; flex-wrap: wrap; gap: 6px; }
.a-z a { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--body); }
.a-z a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width:720px){ .brand-hero .shell { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   CATEGORY INDEX (all-categories page, grouped by department)
   ============================================================ */
.cat-index .ci-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cat-index .ci-jump a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; }
.cat-index .ci-jump a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-index .ci-dept { padding-top: 28px; scroll-margin-top: 90px; }
.cat-index .ci-dept + .ci-dept { border-top: 1px solid var(--line); }
.cat-index .ci-dept-head { font-size: 18px; margin: 0 0 16px; }
.cat-index .ci-dept-head a { color: var(--ink); text-decoration: none; }
.cat-index .ci-dept-head a:hover { color: var(--navy); }
.cat-index .ci-icon { font-style: normal; margin-right: 4px; }
.cat-index .ci-subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.cat-index .ci-sub-head { font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.cat-index .ci-sub-head a { color: var(--navy); text-decoration: none; }
.cat-index .ci-sub-head a:hover { text-decoration: underline; }
.cat-index .ci-links { list-style: none; margin: 0; padding: 0; }
.cat-index .ci-links li { margin: 0 0 5px; }
.cat-index .ci-links a { color: var(--body); text-decoration: none; font-size: 13px; }
.cat-index .ci-links a:hover { color: var(--navy); text-decoration: underline; }

/* ============================================================
   PART IDENTIFIER (ported from prototype part-identifier.html)
   ============================================================ */
.pi-hero { background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%); color: #fff; }
.pi-hero .shell { padding: 36px 24px 28px; }
.pi-hero .eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #94b8d8; font-weight: 700; margin: 0 0 10px; }
.pi-hero h1 { font-size: 30px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.5px; color:#fff; }
.pi-hero p { font-size: 15px; color: #c5d5e8; margin: 0; } /* WDP 2026-11-14: full width (was max-width 600px, Matt: looked odd) */

/* WDP 2026-11-14: the old wizard / visual picker styles were removed with the wizard (tab 2 is now the plugin's window-or-door questions). */

/* ============================================================
   SEARCH (ported from prototype search.html)
   ============================================================ */
.search-head h1 { font-size: 24px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -.3px; }
.search-head h1 .q { color: var(--navy); }
.did-you-mean { font-size: 13px; color: var(--mute); margin: 8px 0 0; }
.did-you-mean a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.quick-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.quick-cats a { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--body); background: #fff; }
.quick-cats a:hover { border-color: var(--navy); color: var(--navy); }
.zero { text-align: center; padding: 48px 24px; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: #f8fafc; max-width: 620px; margin: 24px auto; }
.zero .zi { width: 56px; height: 56px; border-radius: 999px; background: #e8f0fe; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.zero .zi [data-lucide] { width: 26px; height: 26px; }
.zero h2 { font-size: 20px; color: var(--ink); margin: 0 0 8px; }
.zero p { font-size: 14px; color: var(--mute); margin: 0 0 20px; }
.zero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CART / CHECKOUT CHROME (around native WooCommerce blocks)
   ============================================================ */
.yp-ship-banner { display: flex; align-items: center; gap: 16px; background: #f8fafc; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 16px 0; font-size: 13px; color: var(--body); flex-wrap: wrap; }
.yp-ship-banner .ysb-msg { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.yp-ship-banner .ysb-msg [data-lucide] { width: 16px; height: 16px; color: var(--green); }
.yp-ship-banner .ysb-track { flex: 1; min-width: 160px; height: 6px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.yp-ship-banner .ysb-track > i { display: block; height: 100%; background: var(--green); border-radius: 999px; transition: width .3s ease; }

.yp-cart-trust { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 20px; }
.yp-cart-trust .sum-trust { display: flex; flex-wrap: wrap; gap: 18px; }
.yp-cart-trust .sum-trust span { font-size: 13px; color: var(--body); display: inline-flex; align-items: center; gap: 8px; }
.yp-cart-trust .sum-trust [data-lucide] { width: 15px; height: 15px; color: var(--navy); }
.yp-cart-trust .pay-row { display: flex; gap: 6px; }
.yp-cart-trust .pay-row .pay { width: 40px; height: 26px; border: 1px solid var(--line); border-radius: 4px; background: #f8fafc; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: var(--mute); }

/* Gravity Forms / Multipoint Lock form styles moved to assets/css/gravityforms.css,
   printed inline on form pages (see inc/gravityforms.php) so Jetpack Boost can't
   defer them. Edit them there, not here. */

/* ── How-To Hub (resources archive) ───────────────────────────────────────── */
.howto-hub .howto-sub { font-size: 15px; color: var(--body); margin: 14px 0 24px; max-width: 640px; line-height: 1.55; }
.howto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.howto-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.howto-card:hover { box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.howto-card .hc-img { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: #f8fafc; border-bottom: 1px solid var(--line); }
.howto-card .hc-img [data-lucide] { width: 34px; height: 34px; color: rgba(0,0,0,.18); }
.howto-card .hc-img--photo { background: #fff; }
.howto-card .hc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.howto-card .hc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.howto-card .hc-title { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -.2px; line-height: 1.35; }
.howto-card:hover .hc-title { color: var(--blue); }
.howto-card .hc-excerpt { font-size: 13px; color: var(--body); margin: 0; line-height: 1.5; }
.howto-card .hc-more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.howto-card .hc-more [data-lucide] { width: 15px; height: 15px; }
.howto-empty { font-size: 15px; color: var(--mute); }
@media (max-width: 980px) { .howto-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .howto-grid { grid-template-columns: 1fr; } }

/* ── Single how-to article (prose) ────────────────────────────────────────── */
.howto-article { padding: 32px 0 48px; }
.howto-article__title { font-size: clamp(26px, 4vw, 36px); font-weight: 700; color: var(--ink); letter-spacing: -.5px; line-height: 1.2; margin: 0 0 8px; }
.howto-article__date { font-size: 13px; color: var(--mute); margin: 0 0 24px; }
.howto-article .wp-block-post-content { font-size: 16px; color: var(--body); line-height: 1.65; }
.howto-article .wp-block-post-content > * { margin-top: 0; margin-bottom: 18px; }
.howto-article .wp-block-post-content h2 { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; margin-top: 36px; margin-bottom: 12px; }
.howto-article .wp-block-post-content h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 26px; margin-bottom: 10px; }
.howto-article .wp-block-post-content ul, .howto-article .wp-block-post-content ol { padding-left: 24px; }
.howto-article .wp-block-post-content li { margin-bottom: 8px; }
.howto-article .wp-block-post-content li::marker { color: var(--navy); font-weight: 700; }
.howto-article .wp-block-post-content a { color: var(--blue); text-decoration: underline; }
.howto-article .wp-block-post-content img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* ============================================================
   UAT round 1 (PDR-uat-round-1)
   ============================================================ */
/* Item 2 — inline Door/Window dropdowns: 2nd-level links, no arrows */
/* WDP 2026-10-30: size the panel to its links. Each column is as wide as its
   longest name (long names wrap at 260px); --dd-cols is set per menu in
   render.php from the number of subcategories. The flex rule undoes the old
   200px column width (.dropdown.cols > div) that squeezed the grid and left
   the right side of the panel empty. */
.dd-2level > .dd-subgrid{display:grid;grid-template-columns:repeat(var(--dd-cols,2),max-content);gap:2px 20px;flex:0 0 auto;min-width:0}
.dd-2level .dd-sublink{max-width:260px}
.dd-2level .dd-sublink{display:block;padding:9px 12px;border-radius:8px;color:var(--navy);font-weight:500;font-size:14px;text-decoration:none}
.dd-2level .dd-sublink:hover{background:#f1f5f9}

/* Item 2 — "All Categories" mega panel: static two-level grid, no arrows */
.mega-inner.mega-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px 28px;padding:22px 28px}
.mega-group{break-inside:avoid;margin-bottom:8px}
.mega-group-head{display:block;font-weight:700;color:var(--navy);font-size:13px;letter-spacing:.04em;text-transform:uppercase;padding:6px 8px;border-bottom:1px solid var(--line);margin-bottom:4px}
.mega-group-head:hover{text-decoration:underline}
.mega-group-link{display:block;color:#334155;font-size:14px;line-height:1.3;padding:6px 8px;border-radius:6px;text-decoration:none}
.mega-group-link:hover{background:#f1f5f9;color:var(--navy)}

/* Item 7 — hero: full-bleed image, navy on text (left) side fading clear to the right */
.home-hero{position:relative;overflow:hidden;background:var(--navy)}
.home-hero .hh-img{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0;border-radius:0;background:none;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.35);z-index:0}
.home-hero .hh-img img{width:100%;height:100%;object-fit:cover;object-position:right center}
.home-hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,var(--navy-deep,#0f2440) 0%,var(--navy) 34%,rgba(30,58,95,.65) 55%,rgba(30,58,95,.15) 78%,rgba(30,58,95,0) 100%)}
.home-hero .shell{position:relative;z-index:2;min-height:360px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:56px 24px}
.home-hero .hh-text{max-width:560px}
@media (max-width:760px){.home-hero .shell{min-height:300px}.home-hero::after{background:linear-gradient(90deg,var(--navy-deep,#0f2440) 0%,rgba(15,36,64,.72) 100%)}.home-hero .hh-text{max-width:none}}

/* ============================================================
   UAT round 2 (PDR-uat-round-2)
   ============================================================ */
/* Item 4 — "Need help finding a part?" buy-box CTA (single product rail) */
.need-help{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}
.need-help .nh-text{display:flex;flex-direction:column;gap:2px}
.need-help .nh-text strong{color:var(--navy);font-size:14px;font-weight:700}
.need-help .nh-text span{color:#64748b;font-size:12px;line-height:1.35}
.need-help .nh-btn{flex-shrink:0;white-space:nowrap}
.need-help .nh-btn i{width:15px;height:15px}
@media (max-width:520px){.need-help{flex-direction:column;align-items:flex-start}}

/* Item 2 — bump native WooCommerce cart/checkout font sizes (theme barely styles these) */
.wc-block-cart .wc-block-components-product-name,
.wc-block-cart-items .wc-block-components-product-name{font-size:16px;line-height:1.35}
.wc-block-cart .wc-block-components-product-price,
.wc-block-cart-item__prices .wc-block-components-product-price,
.wc-block-cart-item__total .wc-block-components-product-price{font-size:16px}
.wc-block-components-product-details,
.wc-block-components-product-details li,
.wc-block-components-product-details__name,
.wc-block-components-product-details__value{font-size:14px}
.wc-block-cart-item__quantity,
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{font-size:15px}
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value{font-size:16px}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:18px}
.wc-block-cart__submit-button,
.wc-block-cart .wc-block-components-button,
.wc-block-checkout__actions .wc-block-components-button,
.wc-block-components-checkout-place-order-button{font-size:16px}
.wc-block-checkout__form .wc-block-components-text-input input,
.wc-block-components-address-form input.wc-block-components-text-input__input{font-size:16px}
.wc-block-components-title,
.wc-block-checkout__form .wc-block-components-checkout-step__title{font-size:20px}

/* Contact page styles moved to assets/css/contact.css (WDP 2026-10-27) */

/* ============================================================
   WDP 2026-10-26 design: A1 design system
   (docs/design/DESIGN_PLAN.md section 1; values from the mock-ups in
   docs/design/mockups-v2/). Wider page, Barlow Semi Condensed headings +
   Inter text, sentence-case labels, flat cards that lift on hover, navy
   trust bar and the new footer. Later steps (A2 header, A3 home ...) add
   their own dated blocks below this one.
   ============================================================ */

/* Folded in from the old theme's Customizer "Additional CSS" (it belongs to
   the yourparts theme and does not carry over). The 1440px page width is
   replaced by the plan's 1320px. */
body.home main { margin-top: 0; }
footer.wp-block-template-part { margin-top: 0; }
.dropdown.cols { flex-wrap: wrap; gap: 24px 32px; width: max-content; max-width: min(1360px, calc(100vw - 48px)); padding: 24px; max-height: calc(100vh - 220px); overflow-y: auto; }
.dropdown.cols > div { flex: 0 0 200px; min-width: 200px; }
.dropdown.cols a { line-height: 1.35; }
.home-hero .hh-img { width: 480px !important; height: 320px !important; }

:root {
  --shell: 1320px;
  --navy-deep: #122a4b;
  --amber-dk: #d98b06;
  --ink: #17202b;
  --body: #4b5563;
  --mute: #6b7280;
  --line: #dde3ea;
  --bg: #f4f6f9;
  --radius: 12px;
  --radius-lg: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head: 'Barlow Semi Condensed', 'Inter', system-ui, sans-serif;
  --lift: 0 10px 28px rgba(16,30,50,.10);
}
body { font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--head); letter-spacing: .1px; }
.shell { padding: 0 28px; }

/* buttons: amber = main action, navy = secondary, outlined = tertiary */
.btn { border-radius: 8px; padding: 13px 22px; font-size: 15px; }
.btn-sm { padding: 9px 14px; font-size: 13.5px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-primary { background: var(--amber); color: #1a1a1a; }
.btn-primary:hover { background: var(--amber-dk); transform: none; box-shadow: none; }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: #eef3f9; }
.wp-element-button, .wp-block-button__link { font-family: var(--font); border-radius: 8px; font-size: 15px; }

/* section titles: sentence-case eyebrow, condensed title, short amber rule */
.h-eyebrow { font-family: var(--font); font-size: 14.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--navy-mid); }
.h-title { font-family: var(--head); font-size: 30px; line-height: 1.1; letter-spacing: .1px; }
.h-title::after { content: ""; display: block; width: 48px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.h-title[style*="center"]::after, .text-center .h-title::after { margin-left: auto; margin-right: auto; }
.h-rule { display: none; }
.h-sub { font-size: 15px; }
.section { padding: 52px 0; }

/* cards and tiles: flat at rest, lift 2px with a soft shadow on hover */
.card, .prod-card { border-radius: var(--radius); border-color: var(--line); box-shadow: none; }
.prod-card { transition: box-shadow .15s, border-color .15s, transform .15s; }
.prod-card:hover { box-shadow: var(--lift); border-color: var(--navy); transform: translateY(-2px); }
.prod-card:hover .prod-name { color: var(--navy); }
.prod-name { font-size: 15px; }
.prod-price { font-family: var(--head); font-size: 22px; }

/* labels are sentence case, never all caps */
.prod-brand, .dd-head, .mega-label, .mega-group-head { text-transform: none; letter-spacing: 0; }
.prod-brand { font-size: 12.5px; font-weight: 600; }
.dd-head, .mega-group-head { font-size: 14px; }
.mega-label { font-size: 12.5px; }

/* breadcrumbs a little bigger (Matt: "a lot of the page looks small") */
.breadcrumb { font-size: 14.5px; }

/* ---------- trust bar (top of the footer, every page) ---------- */
.trustbar { background: var(--navy); color: #fff; }
.trustbar .shell { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 26px; padding-bottom: 26px; }
.trustbar .t { display: flex; gap: 14px; align-items: center; padding-right: 14px; min-width: 0; }
.trustbar .t + .t { border-left: 1px solid rgba(255,255,255,.14); padding-left: 26px; }
.trustbar .t b { display: block; font-family: var(--head); font-size: 19px; line-height: 1.15; white-space: nowrap; }
.trustbar .t small { display: block; color: #bfd0e4; font-size: 13px; white-space: nowrap; margin-top: 3px; }
.trustbar .ic { width: 46px; height: 46px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--amber); flex: none; }
.trustbar .ic [data-lucide], .trustbar .ic svg { width: 20px; height: 20px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #c9d6e5; margin-top: 70px; }
.footer-main { padding: 56px 0 40px; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-cols .fcol { min-width: 0; }
.footer-cols h4 { font-family: var(--head); font-size: 17px; letter-spacing: .3px; color: #fff; margin: 0 0 14px; }
.footer-cols p { color: #c9d6e5; font-size: 14.5px; line-height: 1.6; max-width: 300px; }
.footer-cols .flist { gap: 9px; font-size: 14.5px; }
.footer-cols .flist a, .footer-cols .fcontact { color: #c9d6e5; }
.footer-cols .fcontact { font-size: 14.5px; gap: 9px; }
.footer-cols .fbrand .flogo .wm { font-family: var(--head); font-size: 22px; }
.footer-cols .fbrand .flogo .mark { background: rgba(255,255,255,.1); }
.footer-cols .fhelp .btn { margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 28px; font-size: 13px; color: #93a5bb; }
.footer-bottom > span a { margin-left: 18px; color: #bfd0e4; }
.footer-bottom .pay { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-bottom .pay span { background: #fff; color: #223; border-radius: 4px; font-size: 10px; font-weight: 700; padding: 3px 7px; letter-spacing: .3px; }

@media (max-width: 980px) {
  .trustbar .shell { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .trustbar .t:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr 1fr; }
  .footer-cols .fbrand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .shell { padding: 0 16px; }
  body { font-size: 15px; }
  .h-title { font-size: 24px; }
  .section { padding: 36px 0; }
  .trustbar .shell { gap: 14px; padding-top: 20px; padding-bottom: 20px; }
  .trustbar .t + .t { border-left: 0; padding-left: 0; }
  .trustbar .t { padding-right: 6px; gap: 10px; }
  .trustbar .t b, .trustbar .t small { white-space: normal; }
  .trustbar .t b { font-size: 15px; }
  .trustbar .t small { font-size: 12px; }
  .trustbar .ic { width: 38px; height: 38px; }
  .footer-main { padding: 36px 0 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 18px 16px; }
  .footer-bottom > span a { margin-left: 12px; }
}

/* ============================================================
   WDP 2026-10-26 design: A2 header
   Same three rows and menu, more air: deep-navy top bar, a 92px logo row
   with a wider search and the phone call-out, the menu on its own white
   band with an amber underline on hover. Phones: logo + cart + Menu,
   search under the logo, a row of shop links that scrolls sideways.
   ============================================================ */
.topbar { background: var(--navy-deep); color: #dbe6f3; font-size: 13.5px; }
.topbar .shell { min-height: 36px; padding-top: 0; padding-bottom: 0; }
.topbar .tb-right { gap: 22px; }
.topbar .tb-right a, .topbar .tb-right span { display: inline-flex; align-items: center; gap: 7px; color: #dbe6f3; }
.topbar .tb-right a:hover { color: #fff; }
.topbar .tb-catalog { font-weight: 600; }

.site-header { border-bottom: 0; }
.header-row { gap: 28px; padding: 0; min-height: 92px; }
.brand .logo-img { max-height: 46px; }
.searchbar { flex: 1 1 560px; max-width: 640px; min-width: 0; }
.searchbar .field { height: 50px; border: 2px solid var(--navy); border-radius: 10px; }
.searchbar input { padding: 0 18px; font-size: 15.5px; font-family: inherit; height: 100%; min-width: 0; }
.searchbar button { width: 60px; height: 100%; justify-content: center; padding: 0; }
.searchbar button [data-lucide], .searchbar button svg { width: 19px; height: 19px; }

.help-call { margin-left: auto; display: flex; align-items: center; gap: 12px; padding-right: 22px; border-right: 1px solid var(--line); flex: none; }
.help-call .bub { width: 42px; height: 42px; border-radius: 50%; background: #fff5e0; color: var(--amber-dk); display: flex; align-items: center; justify-content: center; flex: none; }
.help-call .bub [data-lucide], .help-call .bub svg { width: 19px; height: 19px; }
.help-call .ph { display: block; font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1; color: var(--navy); white-space: nowrap; }
.help-call small { display: block; font-size: 12px; color: var(--mute); margin-top: 3px; white-space: nowrap; }
.help-call:hover .ph { color: var(--amber-dk); }

.header-actions { margin-left: 0; gap: 22px; }
.header-actions .ha { font-size: 14px; font-weight: 500; color: var(--ink); gap: 7px; position: relative; white-space: nowrap; }
.header-actions .ha [data-lucide], .header-actions .ha svg { width: 18px; height: 18px; }
.header-actions .ha-cart .cart-count { position: absolute; top: -9px; left: 10px; font-size: 11px; padding: 1px 6px; margin: 0; color: #111; }
.hamburger { align-items: center; gap: 6px; font-weight: 600; font-size: 14px; padding: 0; }
.hamburger span { display: inline; }

.nav-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(16,30,50,.05); }
.nav-row { gap: 6px; padding: 0; min-height: 54px; }
.nav-row > .nav-item > .nav-btn { height: 54px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; margin-bottom: -1px; font-weight: 600; font-size: 14.5px; color: var(--ink); background: none; }
.nav-row > .nav-item > .nav-btn:hover, .nav-row > .nav-item.open > .nav-btn { background: none; border-bottom-color: var(--amber); }
.nav-row > .nav-item > .nav-btn.products { height: 40px; padding: 0 18px; margin-right: 12px; border-radius: 8px; border: 0; background: var(--navy); color: #fff; }
.nav-row > .nav-item > .nav-btn.products:hover, .nav-row > .nav-item > .nav-btn.products.open { background: var(--navy-mid); border: 0; }
.nav-row .dropdown { margin-top: 0; }
.nav-sp { flex: 1; }
.nav-cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; color: var(--navy); white-space: nowrap; }
.nav-cta [data-lucide], .nav-cta svg { width: 17px; height: 17px; }
.nav-cta:hover { color: var(--amber-dk); }
.nav-quick { display: none; }
.topbar .tb-right .tb-phone { display: none; font-weight: 600; color: #fff; }
.mega { border-top: 3px solid var(--navy); }

@media (max-width: 1180px) {
  .help-call small { display: none; }
  .header-row { gap: 20px; }
}
@media (max-width: 1040px) {
  .help-call { display: none; }
  .nav-cta { display: none; }
  .topbar .tb-right .tb-phone { display: inline-flex; }
}
@media (max-width: 860px) {
  .topbar .shell { min-height: 32px; font-size: 12.5px; }
  .topbar .tb-right .ship { display: none; }
  .header-row { flex-wrap: wrap; gap: 12px; min-height: 0; padding: 12px 0; }
  .brand { min-width: 0; flex: 0 1 auto; }
  .brand .logo-img { max-height: 34px; max-width: 220px; }
  .header-actions { margin-left: auto; gap: 16px; }
  .header-actions .ha:first-child { display: none; }
  .hamburger { display: inline-flex; }
  .searchbar { display: block; flex: 0 0 100%; max-width: none; order: 5; }
  .searchbar .field { height: 46px; }
  .nav-row { display: none; }
  .nav-quick { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 9px 0; }
  .nav-quick::-webkit-scrollbar { display: none; }
  .nav-quick a { flex: none; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--navy); background: #eef3f9; border-radius: 999px; padding: 7px 13px; }
}
@media (max-width: 560px) {
  .topbar .tb-right .email { display: none; }
  .brand .logo-img { max-width: 190px; }
}

/* ============================================================
   WDP 2026-10-26 design: A3 homepage
   Light split hero (text + part-number search left, photo with phone badge
   right), three "ways to find your part" cards, section titles with an
   "All ..." link, square photo tiles, the Brands We Offer + Find by
   Manufacturer block restyled with logos, and the "real people" band.
   ============================================================ */
.home-hero.hero-split { background: linear-gradient(180deg, #f4f6f9 0%, #eaeff5 100%); color: var(--ink); border-bottom: 1px solid var(--line); overflow: visible; }
.home-hero.hero-split::after { display: none; }
.home-hero.hero-split .shell { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; min-height: 0; padding-top: 54px; padding-bottom: 58px; }
.home-hero.hero-split .shell { padding-left: 28px; padding-right: 28px; }
.hero-split .hh-text { max-width: none; }
.hero-split .h-eyebrow { font-size: 14.5px; color: var(--navy-mid); margin: 0; max-width: none; }
.hero-split h1 { font-size: 48px; line-height: 1.05; color: var(--navy); margin: 8px 0 0; letter-spacing: 0; font-weight: 700; }
.hero-split .hh-sub { font-size: 17.5px; color: var(--body); max-width: 540px; margin: 16px 0 24px; line-height: 1.55; }
.hh-find { display: flex; max-width: 600px; height: 58px; border-radius: 12px; overflow: hidden; background: #fff; border: 2px solid var(--navy); }
.hh-find input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 20px; font-size: 17px; font-family: inherit; color: var(--ink); }
.hh-find button { border: 0; background: var(--amber); color: #1a1a1a; font-weight: 700; font-size: 16px; padding: 0 26px; white-space: nowrap; }
.hh-find button:hover { background: var(--amber-dk); }
.hh-quick { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.hh-quick a { border: 1px solid #c9d3df; border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--navy); background: #fff; font-weight: 500; }
.hh-quick a:hover { border-color: var(--navy); }
.hero-split .hh-pic { position: relative; }
.hero-split .hh-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 24px 50px rgba(16,30,50,.18); }
.hh-tag { position: absolute; left: -18px; bottom: 28px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; box-shadow: 0 10px 24px rgba(16,30,50,.12); display: flex; gap: 12px; align-items: center; color: var(--ink); }
.hh-tag-ic { color: var(--amber-dk); display: flex; }
.hh-tag b { display: block; font-family: var(--head); font-size: 17px; }
.hh-tag small { display: block; color: var(--mute); font-size: 13px; }
.hh-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.hh-way { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.hh-way:hover { border-color: var(--navy); box-shadow: var(--lift); transform: translateY(-2px); }
.hh-way-ic { width: 48px; height: 48px; border-radius: 12px; background: #eef3f9; color: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.hh-way-ic [data-lucide], .hh-way-ic svg { width: 20px; height: 20px; }
.hh-way b { display: block; font-family: var(--head); font-size: 19px; color: var(--ink); }
.hh-way small { display: block; color: var(--body); font-size: 14px; line-height: 1.45; margin-top: 3px; }

/* section heads with an "All ..." link */
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-hd .h-eyebrow { margin: 0 0 6px; }
.sec-all { font-weight: 600; color: var(--navy); font-size: 14.5px; white-space: nowrap; }
.sec-all:hover { color: var(--amber-dk); }
.pop-sec { padding: 52px 0 0; }
.pop-sub { font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--navy-mid); margin: 4px 0 12px; }
.pop-grid { gap: 18px; }
.tile { border-radius: var(--radius); transition: border-color .15s, box-shadow .15s, transform .15s; }
.tile:hover { border-color: var(--navy); box-shadow: var(--lift); transform: translateY(-2px); }
.tile:hover .t-name { color: var(--navy); }
.tile .t-img { border-bottom: 1px solid var(--line); }
.tile .t-body { padding: 12px 14px 14px; }
.tile .t-name { font-size: 14.5px; line-height: 1.3; }

/* Brands We Offer + Find by Manufacturer */
.bm-sec { background: transparent; margin-top: 12px; }
.bm { grid-template-columns: 1.3fr .9fr; gap: 32px; }
.bm-brands .h-title { margin-bottom: 22px; }
.bm-brands .brand-tiles { gap: 14px; }
.brand-tile { aspect-ratio: auto; height: 132px; flex-direction: column; gap: 10px; padding: 12px 10px; border-radius: 10px; font-family: var(--font); font-weight: 600; font-size: 14px; color: var(--ink); }
.brand-tile:hover { border-color: var(--navy); box-shadow: 0 8px 22px rgba(16,30,50,.08); }
.bt-logo { width: 130px; height: 64px; display: flex; align-items: center; justify-content: center; }
.bt-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bt-logo:empty { background: #eef2f7; border-radius: 8px; }
.bm-all { margin-top: 16px; }
.mfr-finder { border-radius: var(--radius); box-shadow: none; background: #fff; }
.mfr-head { padding: 14px 18px; }
.mfr-head h3 { font-family: var(--head); font-size: 19px; }
.mfr-body { padding: 14px 16px 0; }
.mfr-search { height: 44px; border: 1.5px solid var(--line); padding: 0 12px; }
.mfr-search input { font-family: inherit; }
.mfr-pop .lbl { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: var(--mute); }
.mfr-chip { background: #eef3f9; font-size: 13px; font-weight: 500; }
.mfr-list { border: 1px solid var(--line); border-radius: 8px; max-height: 214px; }
.mfr-list a { font-size: 14.5px; color: var(--ink); padding: 8px 12px; border-bottom-color: var(--line); }
.mfr-list .mfr-az { background: var(--bg); color: var(--mute); font-size: 12.5px; font-weight: 600; padding: 6px 12px; }
.mfr-foot { margin-top: 14px; padding: 11px 16px; background: var(--bg); font-size: 13px; }

/* "real people" band (in place of the made-up reviews until Phase 5) */
.home-band { background: var(--bg); padding: 52px 0; margin-top: 56px; }
.home-band .hb-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.home-band .h-title { font-size: 34px; }
.hb-text { color: var(--body); font-size: 17px; margin: 14px 0 22px; max-width: 520px; }
.hb-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hb-points { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hb-points > div { display: flex; gap: 12px; align-items: flex-start; }
.hb-ic { color: var(--amber-dk); display: flex; padding-top: 2px; }
.hb-points b { display: block; font-family: var(--head); font-size: 17px; }
.hb-points small { display: block; color: var(--body); font-size: 13.5px; line-height: 1.45; }
body.home .site-footer { margin-top: 0; }

@media (max-width: 980px) {
  .home-hero.hero-split .shell { grid-template-columns: 1fr; gap: 28px; }
  .hero-split .hh-pic { max-width: 560px; }
  .hh-ways { grid-template-columns: 1fr; gap: 12px; }
  .bm { grid-template-columns: 1fr; }
  .home-band .hb-in { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 760px) {
  .home-hero.hero-split .shell { padding: 30px 16px 40px; }
  .home-hero.hero-split .hh-img, .hero-split .hh-pic { display: block; }
  .hero-split h1 { font-size: 32px; }
  .hero-split .hh-sub { font-size: 15.5px; }
  .hh-find { height: 52px; }
  .hh-find input { font-size: 15px; padding: 0 14px; }
  .hh-find button { padding: 0 16px; font-size: 14px; }
  .hh-tag { left: 8px; bottom: -14px; }
  .hh-way { padding: 16px; }
  .sec-hd { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pop-sec { padding-top: 36px; }
  .bm-brands .brand-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .brand-tile { height: 98px; font-size: 12.5px; gap: 6px; }
  .bt-logo { width: 84px; height: 36px; }
  .home-band { padding: 36px 0; margin-top: 40px; }
  .home-band .h-title { font-size: 26px; }
  .hb-points { grid-template-columns: 1fr; padding: 18px; }
}

/* ============================================================
   WDP 2026-10-26 design: A4 category pages
   Category text full width with "Read more", no photo or counts; small
   square type tiles 5 across without counts ("Shop by type" only on
   categories that have types); the info + FAQ block at the bottom.
   ============================================================ */
.cat-hero.cat-hero-v2 { background: #fff; border-bottom: 0; }
.cat-hero.cat-hero-v2 .shell { display: block; padding: 4px 28px 8px; }
.cat-hero-v2 h1 { font-family: var(--head); font-size: 40px; line-height: 1.1; letter-spacing: 0; margin: 6px 0 14px; color: var(--ink); }
.cat-hero-v2 .ch-desc { max-width: 980px; color: var(--body); font-size: 16px; line-height: 1.65; }
.cat-hero-v2 .ch-desc p { font-size: 16px; max-width: none; margin: 0 0 12px; line-height: 1.65; }
.cat-hero-v2 .ch-desc p + p { margin-top: 0; }
.cat-hero-v2 .ch-desc a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.cat-hero-v2 .ch-desc ul, .cat-hero-v2 .ch-desc ol { margin: 0 0 12px; padding-left: 22px; }
.ch-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; padding: 0; border: 0; background: none; color: var(--navy); font-weight: 600; font-size: 14.5px; }
.ch-more [data-lucide], .ch-more svg { width: 15px; height: 15px; }
.ch-more[aria-expanded="true"] svg { transform: rotate(45deg); }
.breadcrumb, .woocommerce-breadcrumb, .wc-block-breadcrumbs { font-size: 14.5px; }

.subcat-sec { padding: 26px 0 8px; }
.subcat-sec .h-title { font-size: 26px; margin-bottom: 18px; }
.tile-grid.tile-grid-sm { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile-grid-sm .tile .t-img img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
.tile-grid-sm .tile .t-body { padding: 10px 12px 12px; }
.tile-grid-sm .tile .t-name { font-size: 13.5px; }

.cat-info { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; margin: 60px 0 64px; }
.cat-info.cat-info-one { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.ci-more { color: var(--body); line-height: 1.65; }
.ci-more h2 { font-size: 28px; color: var(--ink); margin: 0 0 14px; }
.ci-more h3 { font-size: 19px; color: var(--ink); margin: 22px 0 8px; }
.ci-more p { margin: 0 0 12px; }
.ci-more a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.ci-more img { border-radius: 10px; margin: 8px 0 14px; }
.ci-side { background: var(--bg); border-radius: var(--radius); padding: 24px; align-self: start; }
.ci-side h2 { font-size: 19px; margin: 0 0 12px; color: var(--ink); }
.ci-faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.ci-faq details + details { border-top: 1px solid var(--line); }
.ci-faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); }
.ci-faq summary::-webkit-details-marker { display: none; }
.ci-faq summary svg, .ci-faq summary [data-lucide] { width: 16px; height: 16px; flex: none; transition: transform .15s; }
.ci-faq details[open] summary svg { transform: rotate(45deg); }
.ci-a { padding: 0 20px 16px; color: var(--body); font-size: 14.5px; line-height: 1.55; }
.ci-a p { margin: 0 0 8px; }
.ci-help { font-size: 14.5px; color: var(--body); margin: 18px 0 14px; }
.ci-help b { color: var(--ink); }

@media (max-width: 980px) {
  .tile-grid.tile-grid-sm { grid-template-columns: repeat(3, 1fr); }
  .cat-info { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 40px; }
}
@media (max-width: 760px) {
  .cat-hero-v2 h1 { font-size: 30px; }
  .cat-hero.cat-hero-v2 .shell { padding: 4px 16px 8px; }
  .tile-grid.tile-grid-sm { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .subcat-sec .h-title { font-size: 22px; }
}

/* WDP 2026-10-26 design: A4b manufacturer and brand pages */
.brand-hero.brand-hero-v2 { background: #fff; color: var(--ink); }
.brand-hero-v2 .shell { display: flex; align-items: center; gap: 28px; padding: 4px 28px 8px; }
.brand-hero-v2 .brand-logo { width: 180px; height: 104px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 14px; }
.brand-hero-v2 .brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-hero-v2 .bh-main { min-width: 0; }
.brand-hero-v2 h1 { font-family: var(--head); font-size: 40px; line-height: 1.1; letter-spacing: 0; margin: 6px 0 12px; color: var(--ink); }
.brand-hero-v2 .bh-desc, .brand-hero-v2 .bh-desc p { max-width: 980px; color: var(--body); font-size: 16px; line-height: 1.65; }
.brand-hero-v2 .bh-desc p { margin: 0 0 12px; }
.brand-hero-v2 .bh-desc p + p { margin-top: 0; }
.brand-hero-v2 .bh-desc a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.brands-grid.brands-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brands-grid.brands-grid-4 .dd-link { min-width: 0; overflow-wrap: anywhere; }
.facet-more > summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--navy); padding: 8px 0 2px; }
.facet-more > summary::-webkit-details-marker { display: none; }
.facet-more[open] > summary { display: none; }
@media (max-width: 860px) {
  .brand-hero-v2 .shell { padding: 4px 16px 8px; gap: 16px; align-items: flex-start; }
  .brand-hero-v2 .brand-logo { width: 110px; height: 70px; padding: 8px; }
  .brand-hero-v2 h1 { font-size: 30px; }
  .brands-grid.brands-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}

/* WDP 2026-10-26 design: A5 product cards and sidebar */
.prod-card { position: relative; }
.prod-thumb { display: flex; }
.prod-body { padding: 14px 16px 16px; gap: 6px; }
.prod-name { display: block; font-size: 15px; line-height: 1.3; color: var(--ink); }
.prod-name:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prod-no { font-size: 13px; color: var(--mute); }
.prod-no b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.prod-no .prod-more { color: var(--navy); font-weight: 500; }
.prod-stock { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: #15803d; }
.prod-stock [data-lucide] { width: 14px; height: 14px; }
.prod-foot { padding-top: 6px; }
.prod-btn { justify-content: center; width: 100%; padding: 11px 14px; font-size: 14px; margin-top: 4px; }
.prod-btn.loading { opacity: .6; pointer-events: none; }
.prod-btn.added::after { content: " \2713"; }
.prod-card .added_to_cart { display: block; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; padding-top: 4px; }
.header-actions .cart-count[hidden] { display: none; }
.cat-nav .cn-extra > summary { list-style: none; cursor: pointer; border-top: 1px solid var(--line-2); margin: 4px 4px 0; padding: 10px 6px 6px; font-size: 13px; font-weight: 600; color: var(--navy); }
.cat-nav .cn-extra > summary::-webkit-details-marker { display: none; }
.cat-nav .cn-extra[open] > summary { display: none; }
.cat-nav .cn-extra > .cn-link { display: flex; }
@media (max-width: 560px) {
  .prod-body { padding: 10px 12px 12px; }
  .prod-name { font-size: 13.5px; }
  .prod-price { font-size: 19px; }
  .prod-btn { padding: 9px 10px; font-size: 13px; }
}
.prod-no .prod-more { white-space: nowrap; }

/* WDP 2026-10-26 design: A6 phone fixes */
/* The hidden option table under the color buttons kept its full width (a
   table ignores width: 1px) and pushed phone pages 40px wider than the screen. */
.yp-swatched table.variations { display: block; max-width: 1px; }
/* Plain pages (My account, Brands, Contact, 404, blog) had no side margin on
   phones: text touched the screen edge. */
.wp-site-blocks > main.is-layout-constrained { padding-left: 28px; padding-right: 28px; }
@media (max-width: 560px) {
  .wp-site-blocks > main.is-layout-constrained { padding-left: 16px; padding-right: 16px; }
}

/* WDP 2026-10-26 design: A7 cart and account pages */
/* Cart: items and totals as flat cards, totals stay in view while scrolling. */
.wp-block-woocommerce-cart.alignwide { margin-top: 8px; }
.wc-block-cart .wc-block-cart__main { align-self: flex-start; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 6px 24px 8px; }
.wc-block-cart .wc-block-cart-items { margin: 0; }
.wc-block-cart .wc-block-cart-items__header th { font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--mute); padding: 14px 0 12px; }
.wc-block-cart .wc-block-cart-items__row:last-child td { border-bottom: 0; }
.wc-block-cart .wc-block-cart-items .wc-block-components-product-name { font-weight: 600; color: var(--ink); }
.wc-block-cart .wc-block-cart-item__image img { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.wc-block-cart .wc-block-components-product-metadata { font-size: 13.5px; color: var(--mute); }
.wc-block-cart .wc-block-components-quantity-selector { border-radius: 8px; }
.wc-block-cart .wc-block-cart__sidebar { align-self: flex-start; position: sticky; top: 20px; }
.wc-block-cart .wc-block-cart__sidebar { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg, #f6f8fb); padding: 6px 22px 22px; }
.wc-block-cart .wc-block-cart__totals-title { font-family: var(--head); font-size: 20px !important; font-weight: 700; text-transform: none !important; letter-spacing: 0; color: var(--ink); padding: 14px 0 6px !important; }
.wc-block-cart .wc-block-components-totals-wrapper { border-color: var(--line); }
.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--head); font-size: 24px; }
.wc-block-cart .wc-block-cart__submit-button { border-radius: 8px; min-height: 52px; font-weight: 700; }
.wc-block-cart .wc-block-components-express-payment-continue-rule { font-size: 12.5px; color: var(--mute); text-transform: none; }
.yp-cart-trust { border-top: 0; margin-top: 24px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.yp-cart-trust .sum-trust span { font-size: 14px; color: var(--body); }
.yp-cart-trust .pay-row { flex-wrap: wrap; }
.yp-cart-trust .pay-row .pay { width: auto; min-width: 40px; padding: 0 7px; font-size: 10px; color: #223; background: #fff; }
@media (max-width: 781px) {
  .wc-block-cart .wc-block-cart__main { padding: 4px 14px 6px; }
  .wc-block-cart .wc-block-cart__sidebar { position: static; }
  .wc-block-cart .wc-block-cart__sidebar { padding: 4px 16px 18px; margin-top: 16px; }
}

/* Log in, lost password, register and My Account (classic WooCommerce forms). */
body.woocommerce-account main .wp-block-post-title,
body.woocommerce-account main .woocommerce { max-width: 560px; margin-left: auto; margin-right: auto; }
body.woocommerce-account.logged-in main .wp-block-post-title,
body.woocommerce-account.logged-in main .woocommerce { max-width: 1040px; }
.woocommerce-account .woocommerce > h2 { font-family: var(--head); font-size: 26px; margin: 8px 0 14px; }
.woocommerce form.woocommerce-form-login,
.woocommerce form.woocommerce-form-register,
.woocommerce form.woocommerce-ResetPassword,
.woocommerce form.lost_reset_password { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 26px 26px 22px; margin: 0 0 24px; }
.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row label { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin: 0 0 6px; line-height: 1.4; }
.woocommerce form .form-row .required { color: #b42318; text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea { width: 100%; min-height: 46px; border: 1.5px solid #c9d3df; border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 58, 95, .15); }
.woocommerce form .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 400; margin: 0 0 0 14px; vertical-align: middle; }
.woocommerce form .woocommerce-form-login__rememberme input { width: 17px; height: 17px; accent-color: var(--navy); }
.woocommerce-account .woocommerce .button,
.woocommerce-account .woocommerce button.button,
.woocommerce form.woocommerce-form-login .woocommerce-form-login__submit { background: var(--navy); color: #fff; border: 0; border-radius: 8px; padding: 13px 24px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; line-height: 1.2; }
.woocommerce-account .woocommerce .button:hover { background: var(--navy-mid, #2b4f7e); }
.woocommerce-account .woocommerce .lost_password,
.woocommerce-account .woocommerce .woocommerce-LostPassword { margin: 14px 0 0; font-size: 14.5px; }
.woocommerce-account .woocommerce .lost_password a,
.woocommerce-account .woocommerce .woocommerce-LostPassword a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-account .woocommerce .u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce-account .woocommerce .u-columns .u-column1, .woocommerce-account .woocommerce .u-columns .u-column2 { width: auto; float: none; }
/* Signed in: menu card on the left, page on the right. */
body.woocommerce-account.logged-in main .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.woocommerce-account .woocommerce-MyAccount-navigation { width: auto; float: none; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 6px 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 18px; font-size: 15px; color: var(--ink); border-left: 3px solid transparent; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { color: var(--navy); background: #f4f7fb; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--navy); font-weight: 600; background: #eef3f9; border-left-color: var(--amber); }
.woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; font-size: 15.5px; min-width: 0; }
.woocommerce-account .woocommerce-MyAccount-content a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-account .woocommerce-MyAccount-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.woocommerce-account .woocommerce-MyAccount-content th, .woocommerce-account .woocommerce-MyAccount-content td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  body.woocommerce-account.logged-in main .woocommerce { grid-template-columns: 1fr; gap: 18px; }
  .woocommerce-account .woocommerce .u-columns { grid-template-columns: 1fr; }
  .woocommerce form.woocommerce-form-login,
  .woocommerce form.woocommerce-form-register,
  .woocommerce form.woocommerce-ResetPassword,
  .woocommerce form.lost_reset_password { padding: 20px 16px 18px; }
  .woocommerce-account .woocommerce-MyAccount-content { overflow-x: auto; }
}

/* ===== WDP 2026-10-26 design B4: checkout (Fluid Checkout Lite) ===== */
body.woocommerce-checkout{
  --fluidcheckout--color--black: var(--ink);
  --fluidcheckout--border-color: var(--line);
  --fluidcheckout--field--border-radius: 8px;
  --fluidcheckout--button--border-radius: 8px;
  --fluidcheckout--button--font-weight: 700;
  --fluidcheckout--button--height: 48px;
  --fluidcheckout--button--primary--background-color: var(--amber);
  --fluidcheckout--button--primary--background-color--hover: #e08e06;
  --fluidcheckout--button--primary--border-color: var(--amber);
  --fluidcheckout--button--primary--border-color--hover: #e08e06;
  --fluidcheckout--button--primary--text-color: var(--amber-ink);
  --fluidcheckout--button--primary--text-color--hover: var(--amber-ink);
  --fluidcheckout--button--secondary--background-color: #fff;
  --fluidcheckout--button--secondary--border-color: var(--navy);
  --fluidcheckout--button--secondary--text-color: var(--navy);
  --fluidcheckout--checkout-progress--bar-color--complete: var(--navy);
  --fluidcheckout--checkout-progress--bar-color--current: var(--amber);
}
body.woocommerce-checkout .fc-step__substep,
body.woocommerce-checkout .fc-checkout-order-review__inner{border-radius:12px}
body.woocommerce-checkout .fc-checkout-step .fc-step__substep-title,
body.woocommerce-checkout .fc-checkout-order-review-title{font-family:var(--head);font-size:20px;text-transform:none;letter-spacing:0;color:var(--ink)}
body.woocommerce-checkout .fc-content.fc-container{max-width:none;margin:0;padding:0}
body.woocommerce-checkout .fc-step__next-step,
body.woocommerce-checkout #place_order{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px 22px;border:1px solid var(--amber);border-radius:8px;background:var(--amber);color:var(--amber-ink);font:700 16px/1.2 var(--font);cursor:pointer}
body.woocommerce-checkout .fc-step__next-step:hover,
body.woocommerce-checkout #place_order:hover{background:#e08e06;border-color:#e08e06}
@media (min-width:782px){body.woocommerce-checkout .fc-step__next-step{width:auto}}
/* address suggestions under the street box */
.wdp-addr-list{position:absolute;left:0;right:0;top:100%;z-index:50;margin:4px 0 0;padding:4px 0;list-style:none;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--lift)}
.wdp-addr-list li{padding:10px 14px;font-size:15px;color:var(--ink);cursor:pointer}
.wdp-addr-list li.is-active,.wdp-addr-list li:hover{background:var(--bg)}
.wdp-addr-list li.wdp-addr-by{padding:4px 14px;font-size:11px;color:var(--mute);text-align:right;cursor:default;background:none}

/* ===== WDP 2026-10-26 design B1: product page ===== */
/* Breadcrumb matches category pages: same gap under the menu, size and color. */
.pdp-page { padding-top: 0; padding-bottom: 48px; }
.pdp-page .wc-block-breadcrumbs, .pdp-page .woocommerce-breadcrumb { margin: 0 0 18px; }
.pdp-b { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; }
.pdp-b .woocommerce-product-gallery__image img, .pdp-b .woocommerce-product-gallery__wrapper img { border-radius: 12px; }
.pdp-b .woocommerce-product-gallery__wrapper { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.pdp-b .flex-control-thumbs li img { border: 1px solid var(--line); border-radius: 8px; opacity: .75; }
.pdp-b .flex-control-thumbs li img.flex-active, .pdp-b .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--navy); }
.pdp-b .rail { padding: 26px; border-radius: 14px; box-shadow: var(--lift); }
.rail h1, .rail .wp-block-post-title { font-family: var(--head); font-size: 28px; line-height: 1.15; margin: 4px 0 10px; }
.pdp-idline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0 0 14px; }
.pdp-idline .pdp-partno { margin: 0; font-size: 14px; color: var(--body); }
.pdp-partno__sku { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; color: var(--ink); }
.pdp-stock { margin: 0; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; }
.pdp-stock [data-lucide], .pdp-stock svg { width: 15px; height: 15px; }
.pdp-stock.is-in { color: #15803d; }
.pdp-stock.is-special { color: #b45309; }
.pdp-stock.is-out { color: #b91c1c; }
.rail .wc-block-components-product-price, .rail .price { font-size: 30px; }
.rail form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 16px 0 0; }
.rail form.cart.variations_form { display: block; }
.rail form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.rail .quantity.wdp-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; height: 48px; background: #fff; }
.rail .quantity.wdp-qty input.qty { width: 54px; height: 100%; border: 0; border-radius: 0; text-align: center; font-size: 16px; font-weight: 600; padding: 0; -moz-appearance: textfield; box-shadow: none; }
.rail .quantity.wdp-qty input.qty::-webkit-inner-spin-button, .rail .quantity.wdp-qty input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.wdp-qty-btn { width: 40px; border: 0; background: #f8fafc; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.wdp-qty-btn:hover { background: #eef2f7; }
.rail .single_add_to_cart_button { flex: 1 1 180px; width: auto; min-height: 48px; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.rail .single_add_to_cart_button.disabled { opacity: .55; }
.rail .wp-block-mighty-volume-pricing-table, .rail [class*="volume-pricing"] { margin-top: 18px; }
.buy-trust { list-style: none; margin: 18px 0 0; padding: 16px 0 0; display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--line); }
.buy-trust li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--body); line-height: 1.4; }
.buy-trust li [data-lucide], .buy-trust li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--navy); }
.buy-trust li.bt-warn { color: #92400e; }
.buy-trust li.bt-warn svg { color: #b45309; }
.need-help { margin-top: 18px; padding: 14px 16px; background: #f4f7fb; border-color: #dbe4ef; gap: 14px; justify-content: flex-start; }
.need-help .nh-ico { width: 20px; height: 20px; color: var(--navy); flex-shrink: 0; }
.need-help .nh-text { flex: 1; }
.need-help .nh-text strong { font-size: 14.5px; }
.need-help .nh-text span { font-size: 13px; color: var(--body); }
.need-help .nh-text a { color: var(--navy); font-weight: 600; white-space: nowrap; }

.pdp-h { font-family: var(--head); font-size: 24px; color: var(--ink); margin: 0 0 14px; }
.pdp-details { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.pdp-details.has-specs { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start; }
.pdp-desc .prose { font-size: 16px; line-height: 1.65; color: var(--body); }
.pdp-desc .prose strong, .pdp-desc .prose b { color: var(--ink); }
.pdp-spec-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14.5px; }
.pdp-spec-table th, .pdp-spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pdp-spec-table tr:last-child th, .pdp-spec-table tr:last-child td { border-bottom: 0; }
.pdp-spec-table th { width: 38%; background: #f8fafc; color: var(--ink); font-weight: 600; }
.pdp-spec-table td { color: var(--body); }
.pdp-specs-wide { margin-top: 36px; }
.pdp-spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 0; }
.pdp-spec-grid > div { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-spec-grid > div:nth-child(4n) { border-right: 0; }
.pdp-spec-grid dt { font-size: 12px; color: var(--mute); margin: 0 0 3px; }
.pdp-spec-grid dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pdp-charts { margin-top: 36px; display: grid; gap: 24px; }
.pdp-chart { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.pdp-chart table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.pdp-chart th, .pdp-chart td { padding: 10px 14px; text-align: left; border: 0; border-bottom: 1px solid var(--line); }
.pdp-chart thead th, .pdp-chart tr:first-child th, .pdp-chart table:not(:has(thead)) tr:first-child td { background: var(--navy); color: #fff; font-weight: 600; }
.pdp-chart tbody tr:nth-child(even) td { background: #f8fafc; }
.pdp-chart td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; color: var(--ink); }
.pdp-more { margin-top: 40px; display: grid; gap: 12px; }
.pdp-acc { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pdp-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-family: var(--head); font-size: 19px; font-weight: 700; color: var(--ink); }
.pdp-acc > summary::-webkit-details-marker { display: none; }
.pdp-acc > summary svg, .pdp-acc > summary [data-lucide] { width: 20px; height: 20px; color: var(--navy); transition: transform .2s; }
.pdp-acc[open] > summary svg { transform: rotate(180deg); }
.pdp-acc-body { padding: 0 20px 18px; color: var(--body); font-size: 15.5px; line-height: 1.6; }
.pdp-faq-q + .pdp-faq-q { margin-top: 14px; }
.pdp-faq-q h3 { font-family: var(--font); font-size: 15.5px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.pdp-faq-q p { margin: 0; }
/* WDP 2026-10-31: Reviews page (blocks/all-reviews, templates/page-reviews.html). */
.rv-main { padding-top: 40px; padding-bottom: 72px; }
.rv-main > .wp-block-post-title { font-family: var(--head); font-size: clamp(32px, 4vw, 44px); line-height: 1.1; color: var(--navy-deep); margin: 0 0 10px; }
.rv-intro { max-width: 760px; color: var(--body); font-size: 16px; }
.rv-summary { display: grid; grid-template-columns: auto minmax(0, 360px); gap: 40px; align-items: center; margin: 28px 0 32px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.rv-score { display: grid; justify-items: start; gap: 4px; }
.rv-score b { font-family: var(--head); font-size: 52px; line-height: 1; color: var(--navy-deep); }
.rv-score .stars [data-lucide] { width: 20px; height: 20px; }
.rv-score span:last-child { color: var(--body); font-size: 14px; }
.rv-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.rv-bars li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 44px; gap: 10px; align-items: center; }
.rv-bars li > span:first-child { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); font-weight: 600; }
.rv-bars [data-lucide] { width: 13px; height: 13px; color: var(--amber); fill: var(--amber); }
.rv-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.rv-bar > span { display: block; height: 100%; background: var(--amber); }
.rv-n { color: var(--faint); text-align: right; }
.rv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rv-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 18px 20px; color: var(--body); font-size: 15.5px; line-height: 1.6; }
.rv-card .stars [data-lucide] { width: 15px; height: 15px; }
.rv-card p { margin: 0 0 8px; }
.rv-product { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--navy); }
.rv-pages { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 28px; font-size: 15px; }
.rv-pages a { font-weight: 600; color: var(--navy); }
.trustbar a.t { color: inherit; text-decoration: none; }
.trustbar a.t:hover b { text-decoration: underline; }
@media (max-width: 760px) {
  .rv-summary { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .rv-list { grid-template-columns: 1fr; }
}

/* WDP 2026-10-31: product page reviews (Phase 5 import). */
.pdp-review-avg { margin: 0 0 6px; font-weight: 600; color: var(--ink); }
.pdp-review { padding: 14px 0; border-top: 1px solid var(--line); }
.pdp-review-avg + .pdp-review { border-top: 0; }
.pdp-review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 4px; }
.pdp-review .stars [data-lucide] { width: 15px; height: 15px; }
.pdp-review-name { color: var(--ink); font-size: 15px; }
.pdp-review time { color: var(--faint); font-size: 13.5px; }
.pdp-review p { margin: 0; }
.pdp-review p + p { margin-top: 8px; }
.pdp-review-more > summary { cursor: pointer; color: var(--navy); font-weight: 600; padding: 10px 0; }
.pdp-review-more[open] > summary { display: none; }
.pdp-review-more > .pdp-review:first-of-type { border-top: 1px solid var(--line); }
.pdp-ship { margin: 0; padding-left: 18px; }
.pdp-ship li + li { margin-top: 6px; }
.pdp-compat { margin-top: 48px; }
.compat-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.compat-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.cr-thumb img { width: 56px; height: 56px; object-fit: contain; border-radius: 6px; display: block; }
.cr-name { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.cr-no { display: block; font-size: 12.5px; color: var(--mute); margin-top: 2px; }
.cr-no b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--body); }
.cr-price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.compat-row .added_to_cart { display: none; }
.pdp-page .rv-section { margin-top: 48px; padding: 0; }
.pdp-page .rv-section > .shell { padding: 0; }
.pdp-sticky { display: none; }
@media (max-width: 1000px) {
  /* minmax(0, 1fr), not 1fr: a plain 1fr column grows to fit its widest box
     (the quantity pricing table did this), which pushed the photo and buy box
     past the right edge on phones and let the page slide sideways. */
  .pdp-b, .pdp-details.has-specs { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pdp-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp-spec-grid > div:nth-child(4n) { border-right: 1px solid var(--line); }
  .pdp-spec-grid > div:nth-child(2n) { border-right: 0; }
  .compat-rows { grid-template-columns: 1fr; }
}
@media (max-width: 781px) {
  .pdp-b .rail { padding: 18px; box-shadow: none; }
  .rail h1, .rail .wp-block-post-title { font-size: 24px; }
  .pdp-details { margin-top: 36px; padding-top: 28px; }
  .compat-row { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .compat-row .cr-price { grid-column: 2; }
  .compat-row .btn { grid-column: 3; grid-row: 1 / span 2; }
  .cr-thumb { grid-row: 1 / span 2; }
  .cr-thumb img { width: 48px; height: 48px; }
  .pdp-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(16,30,50,.10); transform: translateY(110%); transition: transform .2s; }
  .pdp-sticky.is-on { transform: none; }
  .pdp-sticky .ps-info { display: flex; flex-direction: column; min-width: 0; }
  .pdp-sticky .ps-no { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pdp-sticky .ps-price { font-size: 17px; font-weight: 700; color: var(--ink); white-space: nowrap; }
  .pdp-sticky .ps-btn { padding: 12px 20px; font-size: 15px; font-weight: 700; flex-shrink: 0; }
}

/* ===== WDP 2026-10-26: store notices ("added to cart" and others) ===== */
.wc-block-components-notice-banner, .woocommerce-message, .woocommerce-info, .woocommerce-error {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 13px 16px; border: 1px solid #bbf7d0; border-left: 4px solid #16a34a; border-radius: 10px; background: #f0fdf4; color: var(--ink); font-size: 15px; line-height: 1.45; box-shadow: none; list-style: none;
}
.wc-block-components-notice-banner > svg { flex-shrink: 0; width: 22px; height: 22px; background: #16a34a; fill: #fff; border-radius: 50%; padding: 2px; }
.wc-block-components-notice-banner__content { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wc-block-components-notice-banner .wc-forward, .woocommerce-message .wc-forward, .woocommerce-message .button {
  order: 2; float: none; display: inline-flex; align-items: center; padding: 7px 14px; border: 1px solid var(--navy); border-radius: 8px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; opacity: 1;
}
.wc-block-components-notice-banner .wc-forward:hover, .woocommerce-message .button:hover { background: var(--navy); color: #fff; }
.wc-block-components-notice-banner.is-info, .woocommerce-info { border-color: #cfdcec; border-left-color: var(--navy); background: #f4f7fb; }
.wc-block-components-notice-banner.is-info > svg { background: var(--navy); }
.wc-block-components-notice-banner.is-error, .woocommerce-error { border-color: #fecaca; border-left-color: #dc2626; background: #fef2f2; }
.wc-block-components-notice-banner.is-error > svg { background: #dc2626; }
.wc-block-components-notice-banner.is-warning { border-color: #fde68a; border-left-color: var(--amber); background: #fffbeb; }
.wc-block-components-notice-banner.is-warning > svg { background: #d97706; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { position: static; color: inherit; }

/* ===== WDP 2026-10-26: My Account ===== */
.acct-page { padding-top: 8px; padding-bottom: 56px; }
.acct-title { font-family: var(--head); font-size: 32px; margin: 18px 0 22px; }
body.woocommerce-account:not(.logged-in) .acct-title { text-align: center; }
body.woocommerce-account.logged-in .acct-page .woocommerce { max-width: none; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
body.woocommerce-account.logged-in .acct-page .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
/* WooCommerce's clearfix pseudo-elements would take the first grid cells. */
body.woocommerce-account.logged-in .acct-page .woocommerce::before, body.woocommerce-account.logged-in .acct-page .woocommerce::after { display: none; }
.acct-page .woocommerce-MyAccount-navigation { position: sticky; top: 16px; }
.acct-page .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; }
.acct-page .woocommerce-MyAccount-navigation li a { text-decoration: none; padding: 11px 18px; }
body.woocommerce-account.logged-in .acct-page .acct-title { max-width: none; }
.acct-page .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 1px solid var(--line); }
.acct-page .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--mute); }
.acct-page .woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.acct-page .woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.acct-page .woocommerce-MyAccount-content h2, .acct-page .woocommerce-MyAccount-content h3, .acct-page .woocommerce-MyAccount-content legend { font-family: var(--head); color: var(--ink); }
.acct-hello { font-size: 28px; margin: 0; }
.acct-sub { margin: 4px 0 20px; color: var(--mute); font-size: 14.5px; }
.acct-last { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; margin-bottom: 20px; }
.acct-last p { margin: 0; }
.acct-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--mute); }
.acct-last-no { font-weight: 700; color: var(--ink); margin: 2px 0 4px !important; }
.acct-last-meta { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.acct-status, .woocommerce-orders-table__cell-order-status { font-weight: 600; }
.acct-status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; background: #eef2f7; color: var(--navy); }
.acct-status.status-processing, .acct-status.status-completed { background: #dcfce7; color: #166534; }
.acct-status.status-on-hold, .acct-status.status-pending { background: #fef3c7; color: #92400e; }
.acct-status.status-cancelled, .acct-status.status-failed { background: #fee2e2; color: #991b1b; }
.acct-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.acct-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none !important; color: var(--body) !important; transition: border-color .15s, box-shadow .15s; }
.acct-card:hover { border-color: var(--navy); box-shadow: var(--lift); }
.acct-card svg, .acct-card [data-lucide] { width: 22px; height: 22px; color: var(--navy); margin-bottom: 6px; }
.acct-card strong { color: var(--ink); font-size: 16px; }
.acct-card span { font-size: 13.5px; }
.acct-page .woocommerce-orders-table { border: 1px solid var(--line); border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.acct-page .woocommerce-orders-table thead th { background: #f8fafc; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); }
.acct-page .woocommerce-orders-table tr:last-child td { border-bottom: 0; }
.acct-page .woocommerce-orders-table .button, .acct-page .woocommerce-MyAccount-content .button { display: inline-flex; padding: 8px 14px; font-size: 13.5px; border-radius: 8px; text-decoration: none; color: #fff; }
.acct-page .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 14px; }
.acct-page .woocommerce-Addresses::before, .acct-page .woocommerce-Addresses::after { display: none; }
.acct-page .woocommerce-Address { width: auto !important; float: none !important; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.acct-page .woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.acct-page .woocommerce-Address-title h2, .acct-page .woocommerce-Address-title h3 { font-size: 18px; margin: 0 0 8px; }
.acct-page .woocommerce-Address-title .edit { font-size: 13.5px; font-weight: 600; }
.acct-page .woocommerce-Address address { font-style: normal; line-height: 1.6; color: var(--body); }
.acct-page .woocommerce-MyAccount-content fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin: 18px 0; }
.acct-page .woocommerce-MyAccount-content .woocommerce-order-details, .acct-page .woocommerce-MyAccount-content .woocommerce-customer-details { margin-top: 22px; }
.acct-page .woocommerce-MyAccount-content mark { background: none; color: var(--ink); font-weight: 700; }
.acct-page .woocommerce-MyAccount-content .col2-set, .acct-page .woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.acct-page .woocommerce-columns--addresses .woocommerce-column { width: auto; float: none; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.acct-page .woocommerce-customer-details address { font-style: normal; border: 0; padding: 0; }
.acct-page .woocommerce-table--order-details { border: 1px solid var(--line); border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.acct-page .woocommerce-table--order-details tfoot th, .acct-page .woocommerce-table--order-details tfoot td { background: #f8fafc; }
@media (max-width: 900px) {
  body.woocommerce-account.logged-in .acct-page .woocommerce { grid-template-columns: 1fr; gap: 16px; }
  .acct-page .woocommerce-MyAccount-navigation { position: static; }
  .acct-page .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; padding: 0; }
  .acct-page .woocommerce-MyAccount-navigation li a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; padding: 12px 14px; }
  .acct-page .woocommerce-MyAccount-navigation li.is-active a { border-bottom-color: var(--amber); }
  .acct-page .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 0; }
  .acct-page .woocommerce-MyAccount-content { padding: 18px 16px; }
  .acct-cards, .acct-page .woocommerce-Addresses, .acct-page .woocommerce-MyAccount-content .col2-set, .acct-page .woocommerce-columns--addresses { grid-template-columns: 1fr; }
  .acct-last { flex-direction: column; align-items: flex-start; }
}

/* ===== WDP 2026-10-26: order success page ===== */
.oc-page { padding-top: 28px; padding-bottom: 56px; }
.oc-hero { border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 14px; padding: 26px 28px; margin-bottom: 28px; }
.oc-hero .wc-block-order-confirmation-status { position: relative; padding-left: 58px; margin: 0; }
.oc-hero .wc-block-order-confirmation-status::before { content: ""; position: absolute; left: 0; top: 2px; width: 42px; height: 42px; border-radius: 50%; background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/22px no-repeat; }
.oc-hero .wc-block-order-confirmation-status h1 { font-family: var(--head); font-size: 32px; line-height: 1.15; margin: 0 0 4px; color: var(--ink); }
.oc-hero .wc-block-order-confirmation-status p { margin: 0; font-size: 16.5px; color: var(--body); }
.oc-hero .wc-block-order-confirmation-summary { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #bbf7d0; }
.oc-hero .wc-block-order-confirmation-summary-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 20px; margin: 0; padding: 0; list-style: none; }
.oc-hero .wc-block-order-confirmation-summary-list-item { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; border: 0; min-width: 0; }
.oc-hero .wc-block-order-confirmation-summary-list-item__key { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #4d7c5a; }
.oc-hero .wc-block-order-confirmation-summary-list-item__value { font-size: 15.5px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.oc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.oc-h { font-family: var(--head); font-size: 22px; margin: 0 0 12px; }
.oc-h3 { font-family: var(--head); font-size: 18px; margin: 0 0 10px; }
.oc-main .wc-block-order-confirmation-totals table { width: 100%; border: 1px solid var(--line); border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 15px; }
.oc-main .wc-block-order-confirmation-totals th, .oc-main .wc-block-order-confirmation-totals td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.oc-main .wc-block-order-confirmation-totals td:last-child, .oc-main .wc-block-order-confirmation-totals th:last-child { text-align: right; }
.oc-main .wc-block-order-confirmation-totals thead th { background: #f8fafc; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); }
.oc-main .wc-block-order-confirmation-totals tfoot th, .oc-main .wc-block-order-confirmation-totals tfoot td { background: #f8fafc; }
.oc-main .wc-block-order-confirmation-totals tfoot tr:last-child th, .oc-main .wc-block-order-confirmation-totals tfoot tr:last-child td { border-bottom: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.oc-main .wc-block-order-confirmation-totals a { color: var(--navy); font-weight: 600; text-decoration: none; }
.oc-addresses { margin-top: 26px; gap: 18px; }
.oc-addresses address, .oc-main .wc-block-order-confirmation-shipping-address, .oc-main .wc-block-order-confirmation-billing-address { font-style: normal; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; line-height: 1.6; color: var(--body); }
.oc-main .wc-block-order-confirmation-additional-information, .oc-main .wc-block-order-confirmation-additional-fields-wrapper { margin-top: 22px; }
.order-next { position: sticky; top: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 22px; box-shadow: var(--lift); }
.order-next h2 { font-family: var(--head); font-size: 21px; margin: 0 0 14px; }
.on-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.on-steps li { display: flex; gap: 12px; font-size: 14.5px; color: var(--body); line-height: 1.45; }
.on-steps li svg, .on-steps li [data-lucide] { width: 20px; height: 20px; color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.on-steps strong { display: block; color: var(--ink); }
.on-help { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.on-help p { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.on-help svg { width: 16px; height: 16px; color: var(--navy); }
.on-help a { color: var(--navy); font-weight: 600; }
.on-help .on-ref { color: var(--mute); font-size: 13px; }
.on-help p > svg { align-self: flex-start; margin-top: 3px; flex-shrink: 0; }
.on-help a { white-space: nowrap; }
.on-help .on-hours { color: var(--mute); font-size: 13px; }
.on-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.on-actions .btn { flex: 1 1 auto; justify-content: center; }
@media (max-width: 900px) {
  .oc-grid { grid-template-columns: 1fr; }
  .order-next { position: static; box-shadow: none; }
  .oc-hero { padding: 20px 18px; }
  .oc-hero .wc-block-order-confirmation-summary-list { grid-template-columns: 1fr 1fr; }
  .oc-hero .wc-block-order-confirmation-status h1 { font-size: 26px; }
  .oc-addresses { flex-direction: column; }
}
.pdp-ship-links { margin: 12px 0 0; font-size: 14.5px; }
.pdp-ship-links a, .buy-trust a { color: var(--navy); font-weight: 600; }

/* ===== WDP 2026-10-26: product choices as text buttons, as in the mock-up
   (Matt: no color squares on the product page). The color data stays in
   swatches.js; only the square is hidden. ===== */
.pdp-b .opt-group .ol { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.pdp-b .finish-swatches, .pdp-b .seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; border-radius: 0; overflow: visible; }
.pdp-b .finish-swatches .fs, .pdp-b .seg button { width: auto; flex-direction: row; display: inline-flex; align-items: center; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 400; line-height: 1.3; cursor: pointer; text-align: left; }
.pdp-b .seg button:last-child { border-right: 1.5px solid var(--line); }
.pdp-b .finish-swatches .fs .sw { display: none; }
.pdp-b .finish-swatches .fs .lbl { font-size: 14px; color: inherit; text-align: left; }
.pdp-b .finish-swatches .fs:hover, .pdp-b .seg button:hover { border-color: var(--navy); }
.pdp-b .finish-swatches .fs.sel, .pdp-b .seg button.sel { border-color: var(--navy); background: #eef3f9; color: var(--ink); font-weight: 600; }
.pdp-b .finish-swatches .fs.sel .lbl { color: var(--ink); font-weight: 600; }
.pdp-b .seg.seg-stack { flex-direction: column; max-width: 380px; }
.pdp-b .seg.seg-stack button { border-bottom: 1.5px solid var(--line); }
.pdp-b .seg.seg-stack button.sel { border-color: var(--navy); }
.pdp-b .seg button[hidden], .pdp-b .finish-swatches .fs[hidden] { display: none; }
/* WDP 2026-10-30 (Matt): a long choice (7+ buttons, e.g. balance lengths) is drawn as a grid of
   equal boxes (mu-plugin wdp-choice-buttons); the label sits in the middle of its box. */
.pdp-b .seg:not(.seg-stack) button { justify-content: center; text-align: center; }

/* ===== WDP 2026-10-26: Matt's product page / cards / cart round ===== */
/* Stock badges: Special order (amber), Backorder and Out of stock (grey),
   In stock (green, only when switched on). Same look on pages and cards. */
.pdp-badge-slot:empty { display: none; }
.pdp-stock, .prod-stock { display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; border: 1px solid transparent; white-space: nowrap; }
.pdp-stock [data-lucide], .pdp-stock svg, .prod-stock [data-lucide], .prod-stock svg { width: 14px; height: 14px; }
.pdp-stock.is-in, .prod-stock.is-in { color: #15803d; background: #f0fdf4; border-color: #bbf7d0; }
.pdp-stock.is-special, .prod-stock.is-special { color: #7a4a00; background: #fff4dc; border-color: #f5c46a; }
.pdp-stock.is-back, .prod-stock.is-back, .pdp-stock.is-out, .prod-stock.is-out { color: #475569; background: #f1f5f9; border-color: #cbd5e1; }
.prod-stock { align-self: flex-start; font-size: 12px; padding: 2px 9px; }
.pdp-idline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 0; }
.pdp-idline .pdp-partno[hidden] { display: none; }

/* Option note under the choices: one short line. */
.pdp-b .woocommerce-variation-description { margin: 4px 0 6px; font-size: 14px; color: var(--body); }
.pdp-b .woocommerce-variation-description p { margin: 0; }

/* Cards: description on three lines; price and its unit stay on one line. */
.prod-desc { -webkit-line-clamp: 3; line-clamp: 3; }
.prod-card { container-type: inline-size; }
.prod-foot { flex-wrap: nowrap; }
.prod-price { white-space: nowrap; display: inline-flex; align-items: baseline; flex-wrap: nowrap; gap: 0; }
.prod-price .price-unit { font-size: 12.5px; margin-left: 4px; }
@container (max-width: 230px) { .prod-price { font-size: 20px; } .prod-price .price-unit { font-size: 12px; margin-left: 3px; } }
@container (max-width: 190px) { .prod-price { font-size: 17.5px; } .prod-price .price-unit { font-size: 11.5px; } }

/* Product description and category text use the full width. */
.pdp-details:not(.has-specs) .pdp-desc .prose, .pdp-desc .prose { max-width: none; }
.cat-hero-v2 .ch-desc, .cat-hero-v2 .ch-desc p, .cat-hero.cat-hero-v2 p { max-width: none; }

/* Cart page: room between the menu and the breadcrumb. */
.cart-page { padding-top: 20px; }

/* Empty cart. */
.wdp-empty-cart { text-align: center; max-width: 560px; margin: 8px auto 40px; padding: 40px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg, 14px); background: #fff; }
.wdp-empty-cart .wec-badge { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: #fff5e0; color: var(--amber-dk, #b7791f); margin-bottom: 14px; }
.wdp-empty-cart .wec-title { font-family: var(--head); font-size: 28px; margin: 0 0 8px; color: var(--ink); }
.wdp-empty-cart .wec-text { margin: 0 0 22px; color: var(--body); font-size: 16px; }
.wdp-empty-cart .wec-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.wdp-empty-cart .wec-actions .btn { padding: 12px 22px; font-size: 15px; }
.wdp-empty-cart .wec-help { margin: 20px 0 0; font-size: 14.5px; color: var(--mute); }
.wdp-empty-cart .wec-help a { color: var(--navy); font-weight: 600; white-space: nowrap; }

/* Payment logos (footer and cart). */
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pay-logos li { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 28px; min-width: 44px; padding: 0 7px; background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.pay-logos img { display: block; height: 16px; width: auto; max-width: 44px; }
.pay-logos .pl-mastercard img, .pay-logos .pl-amex img { height: 20px; }
.pay-logos .pl-paypal img { height: 15px; }
.pay-logos li.has-text span { font-size: 11px; font-weight: 700; color: #003087; letter-spacing: .1px; }
.pay-logos--footer li { border-color: transparent; }
.yp-cart-trust .pay-logos { margin-left: auto; }

/* WDP 2026-10-26 (Matt): wider header search; the hours go on their own line. */
.searchbar { flex: 1 1 auto; max-width: none; }
.help-call small { line-height: 1.35; margin-top: 4px; }
/* Cart trust strip: text and payment logos on one line on wide screens. */
@media (min-width: 1001px) {
  .yp-cart-trust { flex-wrap: nowrap; }
  .yp-cart-trust .sum-trust { flex-wrap: nowrap; white-space: nowrap; }
  .yp-cart-trust .pay-logos { flex-wrap: nowrap; flex: none; }
}
/* Trust bar titles may wrap to two lines (longer shipping title). */
.trustbar .t b { white-space: normal; }

/* Product options (Mighty Product Options): the note sits under its label, above the drop-down (Matt 2026-10-27). */
.mpo-field { display: flex; flex-direction: column; }
.mpo-field .ol { order: 0; margin-bottom: 4px; }
.mpo-field .mpo-desc { order: 1; margin: 0 0 8px; font-size: 13px; color: var(--mute); line-height: 1.4; }
.mpo-field .mpo-select { order: 2; }
/* Attachment choices drawn as boxes (swatches.js buildOptionBoxes, Matt 2026-11-24). */
.mpo-field.mpo-boxed .ol { order: 0; }
.mpo-field.mpo-boxed .mpo-desc { order: 1; }
.mpo-field.mpo-boxed .mpo-seg { order: 2; display: flex; flex-wrap: wrap; gap: 8px; border: 0; border-radius: 0; overflow: visible; }
.mpo-field.mpo-boxed .mpo-seg button { display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 400; line-height: 1.3; cursor: pointer; }
.mpo-field.mpo-boxed .mpo-seg button:hover { border-color: var(--navy); }
.mpo-field.mpo-boxed .mpo-seg button.sel { border-color: var(--navy); background: #eef3f9; font-weight: 600; }
.mpo-field.mpo-boxed .mpo-box-error { order: 3; margin: 6px 0 0; font-size: 13px; color: #b42318; }
.mpo-field.mpo-boxed .mpo-select-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }

/* Category page tiles: names centered and a little bigger (Matt 2026-10-27). */
.tile-grid-sm .tile .t-body { text-align: center; display: flex; align-items: center; justify-content: center; flex: 1; }
.tile-grid-sm .tile .t-name { font-size: 16.5px; line-height: 1.3; }
@media (max-width: 640px) { .tile-grid-sm .tile .t-name { font-size: 14.5px; } }

/* Category page tiles, "framed" (Matt 2026-10-27): rounded card with an inner
   margin, photo with rounded corners, navy name with a short amber line.
   The soft grey panel behind photos waits until every category photo has a
   white background: set --tile-photo-bg to #f3f5f8 then. */
.tile-grid-sm { --tile-photo-bg: transparent; }
.tile-grid-sm .tile { border: 1px solid #e3e8ef; border-radius: 14px; padding: 10px; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.tile-grid-sm .tile:hover { border-color: #cfd8e3; box-shadow: 0 6px 18px rgba(15, 30, 50, .08); transform: translateY(-2px); }
.tile-grid-sm .tile .t-img { border: 0; border-radius: 10px; background: var(--tile-photo-bg); }
.tile-grid-sm .tile .t-img img { inset: 0; width: 100%; height: 100%; border-radius: 10px; }
.tile-grid-sm .tile .t-body { padding: 14px 6px 6px; flex-direction: column; gap: 8px; }
.tile-grid-sm .tile .t-name { font-family: var(--head); font-size: 19px; font-weight: 600; color: var(--navy); letter-spacing: .01em; }
.tile-grid-sm .tile .t-body::after { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--amber); transition: width .2s; }
.tile-grid-sm .tile:hover .t-body::after { width: 44px; }
@media (max-width: 640px) {
  .tile-grid-sm .tile { padding: 8px; border-radius: 12px; }
  .tile-grid-sm .tile .t-name { font-size: 16px; }
  .tile-grid-sm .tile .t-body { padding: 10px 4px 4px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .tile-grid-sm .tile, .tile-grid-sm .tile .t-body::after { transition: none; } .tile-grid-sm .tile:hover { transform: none; } }

/* All products page (Catalog, Matt 2026-10-27). */
.catalog-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.catalog-jump a { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--navy); background: #fff; text-decoration: none; }
.catalog-jump a:hover { border-color: var(--navy); }
.catalog-dept { scroll-margin-top: 90px; }
.catalog-dept + .catalog-dept { border-top: 1px solid var(--line); }
.catalog-dept-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.catalog-dept-head .h-title a { color: inherit; text-decoration: none; }
.catalog-all { font-weight: 600; font-size: 14.5px; color: var(--navy); }

/* Homepage category tiles: same framed style as the category pages (Matt 2026-10-27). */
.pop-grid .tile { border: 1px solid #e3e8ef; border-radius: 14px; padding: 10px; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pop-grid .tile:hover { border-color: #cfd8e3; box-shadow: 0 6px 18px rgba(15, 30, 50, .08); transform: translateY(-2px); }
.pop-grid .tile .t-img { border: 0; border-radius: 10px; background: var(--tile-photo-bg, transparent); }
.pop-grid .tile .t-img img { inset: 0; width: 100%; height: 100%; border-radius: 10px; }
.pop-grid .tile .t-body { padding: 12px 4px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; flex: 1; text-align: center; }
.pop-grid .tile .t-name { font-family: var(--head); font-size: 17px; font-weight: 600; line-height: 1.25; color: var(--navy); letter-spacing: .01em; }
.pop-grid .tile .t-body::after { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--amber); transition: width .2s; }
.pop-grid .tile:hover .t-body::after { width: 44px; }
@media (max-width: 640px) {
  .pop-grid .tile { padding: 8px; border-radius: 12px; }
  .pop-grid .tile .t-name { font-size: 15.5px; }
  .pop-grid .tile .t-body { padding: 10px 4px 4px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .pop-grid .tile, .pop-grid .tile .t-body::after { transition: none; } .pop-grid .tile:hover { transform: none; } }

/* WDP 2026-10-27 (Matt): help box on phones: phone icon beside the heading, button under the text. */
@media (max-width:520px){
	.need-help{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:12px;align-items:start}
	.need-help .nh-ico{margin-top:1px}
	.need-help .nh-btn{grid-column:2;justify-self:start}
}

/* WDP 2026-10-27 design: order tables Qty | Product | Price each | Total */
.oc-main .wc-block-order-confirmation-totals .wdp-oc-qty, .acct-page .woocommerce-table--order-details .wdp-oc-qty { width: 1%; text-align: center; white-space: nowrap; }
.oc-main .wc-block-order-confirmation-totals td.wdp-oc-qty, .acct-page .woocommerce-table--order-details td.wdp-oc-qty { font-weight: 700; color: var(--ink); }
.oc-main .wc-block-order-confirmation-totals .wdp-oc-each, .acct-page .woocommerce-table--order-details .wdp-oc-each { width: 1%; text-align: right; white-space: nowrap; }
.oc-main .wc-block-order-confirmation-totals tbody td:last-child, .acct-page .woocommerce-table--order-details tbody td:last-child, .acct-page .woocommerce-table--order-details thead th:last-child { white-space: nowrap; text-align: right; }
.oc-main .wc-block-order-confirmation-totals tfoot th, .acct-page .woocommerce-table--order-details tfoot th { text-align: left; }
.oc-main .wc-block-order-confirmation-totals td.wdp-oc-qty del, .acct-page .woocommerce-table--order-details td.wdp-oc-qty del { color: var(--mute); font-weight: 400; }
@media (max-width: 600px) {
  .oc-main .wc-block-order-confirmation-totals th, .oc-main .wc-block-order-confirmation-totals td,
  .acct-page .woocommerce-table--order-details th, .acct-page .woocommerce-table--order-details td { padding: 10px 8px; font-size: 14px; }
  .oc-main .wc-block-order-confirmation-totals thead th, .acct-page .woocommerce-table--order-details thead th { font-size: 11.5px; letter-spacing: .02em; }
  .oc-main .wc-block-order-confirmation-totals th:first-child, .oc-main .wc-block-order-confirmation-totals td:first-child,
  .acct-page .woocommerce-table--order-details th:first-child, .acct-page .woocommerce-table--order-details td:first-child { padding-left: 12px; }
  .oc-main .wc-block-order-confirmation-totals th:last-child, .oc-main .wc-block-order-confirmation-totals td:last-child,
  .acct-page .woocommerce-table--order-details th:last-child, .acct-page .woocommerce-table--order-details td:last-child { padding-right: 12px; }
}

/* WDP 2026-10-27 design: PDF receipt button (order received) and tracking line (My Account order) */
.wdp-receipt-link { margin: 14px 0 0; }
.wdp-receipt-link .btn { display: inline-flex; align-items: center; gap: 8px; }
.woocommerce-order-details .wdp-tracking { margin: 14px 0 0; padding: 10px 14px; background: var(--wp--preset--color--surface, #f8fafc); border: 1px solid var(--wp--preset--color--border, #e2e8f0); border-radius: 8px; }
.woocommerce-order-details .order-actions-button.invoice { white-space: nowrap; }

/* WDP 2026-10-27 design: order details and Addresses page boxes side by side, Shipping left (Matt).
   WooCommerce's clearfix ::before/::after on .col2-set became empty grid
   cells, pushing Billing to the right and Shipping onto a second row. */
.acct-page .woocommerce-MyAccount-content .col2-set::before, .acct-page .woocommerce-MyAccount-content .col2-set::after,
.acct-page .woocommerce-columns--addresses::before, .acct-page .woocommerce-columns--addresses::after { display: none; }
.acct-page .woocommerce-columns--addresses .woocommerce-column--shipping-address { order: -1; }
.acct-page .woocommerce-Addresses .woocommerce-Address.col-2 { order: -1; }

/* WDP 2026-10-28 design: B3 spec filters (attribute list 1) */
.facet .opt.is-empty { color: var(--faint); }

/* WDP 2026-10-29 design: qty box on Mighty Product Options pages (e.g. 1681).
   The option selects share the cart form's flex row with the qty box and
   Add to cart; give them a full row so qty and button sit together below. */
.rail form.cart > .mpo-options { flex: 1 0 100%; min-width: 0; margin-bottom: 6px; }

/* WDP 2026-10-31 design: wider page, bigger product cards (Matt, option 2).
   Page content 1320px -> 1440px. Category-page cards go from 227px to 257px
   beside the filter sidebar; card name 15px -> 16px, description 12.5px ->
   13.5px. Phones and tablets are unchanged: the page already fills them and
   their own card sizes (the 560px rule above) still win. */
:root { --shell: 1440px; }
@media (min-width: 561px) {
  .prod-body { padding: 16px 18px 18px; }
  .prod-name { font-size: 16px; }
  .prod-desc { font-size: 13.5px; }
}

/* Unit label beside the quantity box ("set(s)", "ft", "pair(s)", from Mighty
   Min/Max). The buy row stretches its items to the 48px button height, which
   pinned the label's text to the top. Center it and keep it on one line.
   The plugin's own CSS also zeroes the row gap and pushes the button 10px
   right, so on a phone the button sat indented and touching the qty box.
   Use the row gap instead, and drop WooCommerce's clearfix pseudo-elements,
   which count as flex items and would add a gap before the qty box.
   (2026-10-31) */
.rail form.cart > .mmmq-append,
.rail .woocommerce-variation-add-to-cart > .mmmq-append { align-self: center; margin: 0; font-size: 15px; font-weight: 500; line-height: 1; color: var(--body); white-space: nowrap; }
.woocommerce div.product .rail form.cart,
.woocommerce div.product .rail form.cart .woocommerce-variation-add-to-cart { gap: 10px; }
.woocommerce div.product .rail form.cart.variations_form { gap: 0; }
.woocommerce div.product .rail form.cart:not(.variations_form)::before,
.woocommerce div.product .rail form.cart:not(.variations_form)::after { content: none; }
.woocommerce div.product .rail form.cart button.single_add_to_cart_button { margin-left: 0; }

/* WDP 2026-10-31: real customer reviews on the homepage (inc/home.php
   wdp_home_reviews_html) and a Reviews link in the header (mega-nav).
   Desktop: three cards a row. Tablet: two. Phone: one row that scrolls
   sideways, a card and a bit wide, so the next card peeks in. */
.home-reviews { padding: 56px 0 0; }
.hr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.hr-score { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--body); font-size: 15px; }
.hr-score .stars [data-lucide] { width: 17px; height: 17px; }
.hr-all { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hr-all [data-lucide] { width: 16px; height: 16px; }
.hr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hr-card { margin: 0; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 20px 22px; }
.hr-card .stars [data-lucide] { width: 15px; height: 15px; }
.hr-card blockquote { margin: 0; flex: 1; color: var(--body); font-size: 15px; line-height: 1.6; }
.hr-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.hr-av { flex: none; width: 38px; height: 38px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.hr-card figcaption b { display: block; color: var(--ink); font-size: 15px; }
.hr-card figcaption a { display: block; color: var(--navy); font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.hr-card figcaption a:hover { color: var(--amber-dk); }
@media (max-width: 1040px) {
  .hr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-reviews { padding-top: 40px; }
  .home-reviews .h-title { font-size: 26px; }
  .hr-score { font-size: 14px; flex-wrap: wrap; }
  .hr-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 12px; padding-bottom: 6px; margin-right: calc(-1 * var(--gutter, 16px)); padding-right: var(--gutter, 16px); }
  .hr-card { flex: 0 0 84%; scroll-snap-align: start; padding: 18px; }
}

/* Header: Reviews link, same look as the menu buttons beside it. */
.nav-row > a.nav-btn { display: inline-flex; align-items: center; gap: 6px; height: 54px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; margin-bottom: -1px; font-weight: 600; font-size: 14.5px; color: var(--ink); background: none; }
.nav-row > a.nav-btn:hover { background: none; border-bottom-color: var(--amber); }
.mobile-drawer .md-link { display: flex; align-items: center; gap: 8px; padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--navy); }
.mobile-drawer .md-link [data-lucide] { width: 16px; height: 16px; }
.nav-row > a.nav-btn { white-space: nowrap; }
/* 1041-1180px: the Reviews link would push the menu past the page edge.
   Tighten the menu buttons a little and drop the Reviews star there. */
@media (max-width: 1180px) and (min-width: 861px) {
  .nav-row > .nav-item > .nav-btn:not(.products), .nav-row > a.nav-btn { padding: 0 10px; }
  .nav-row > a.nav-btn [data-lucide], .nav-row > a.nav-btn svg { display: none; }
}
@media (max-width: 1100px) and (min-width: 861px) {
  .nav-row > .nav-item > .nav-btn:not(.products), .nav-row > a.nav-btn { padding: 0 7px; }
  .nav-row > .nav-item > .nav-btn.products { margin-right: 6px; }
}

/* WDP 2026-10-31: star rating on product cards (only parts with reviews) */
.prod-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mute); text-decoration: none; margin-top: 2px; }
.prod-rating:hover .prod-rc { color: var(--navy); text-decoration: underline; }
.prod-stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; }
.prod-stars .bg, .prod-stars .fg { display: inline-flex; gap: 1px; }
.prod-stars .fg { position: absolute; top: 0; left: 0; overflow: hidden; }
.prod-stars svg { width: 14px; height: 14px; flex: none; }
.prod-stars .bg svg { fill: #e2e8f0; }
.prod-stars .fg svg { fill: var(--amber); }
/* WDP 2026-10-31: rating stars at the top of the product page in the theme orange (Matt) */
.wc-block-components-product-rating__stars { color: var(--amber); }
.wc-block-components-product-rating__stars::before { color: #e2e8f0; opacity: 1; }
.wc-block-components-product-rating__stars span::before { color: var(--amber); }

/* WDP 2026-10-31: plain dropdowns on checkout and account forms show a chevron
   (the Address Book pick looked like a text box, Matt). Fluid Checkout's enhanced
   selects (TomSelect) hide the original select and draw their own arrow. */
.woocommerce form .form-row select:not(.ts-hidden-accessible):not(.select2-hidden-accessible) {
  -webkit-appearance: none; appearance: none;
  padding-right: 42px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' stroke='%231e3a5f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
}
.woocommerce form .form-row select:not(.ts-hidden-accessible):not(.select2-hidden-accessible)::-ms-expand { display: none; }

/* WDP 2026-11-01 design: Account menu with Log out (Matt). Opens on hover or
   keyboard focus; clicking Account still goes to the My Account page. */
.ha-acct { position: relative; }
.ha-acct .chev { width: 14px !important; height: 14px !important; transition: transform .2s; }
.ha-acct .acct-menu {
  display: none; position: absolute; top: 100%; right: -12px; z-index: 60; min-width: 200px;
  padding: 8px 0; margin-top: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; box-shadow: 0 10px 28px rgba(15, 23, 42, .14);
}
.ha-acct .acct-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.ha-acct:hover .acct-menu, .ha-acct:focus-within .acct-menu, .ha-acct.open .acct-menu { display: block; }
.ha-acct:hover .chev, .ha-acct:focus-within .chev, .ha-acct.open .chev { transform: rotate(180deg); }
.acct-menu .am-hi { padding: 6px 16px 8px; font-size: 13px; color: var(--mute); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.acct-menu a { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.acct-menu a:hover, .acct-menu a:focus { background: #f1f5f9; color: var(--navy); }
.acct-menu .am-out { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; font-weight: 600; color: var(--navy); }
.acct-menu .am-out [data-lucide], .acct-menu .am-out svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .header-actions .ha-acct { display: none; }
}
/* Log out button beside the My Account heading (inc/account.php). */
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0 22px; }
.acct-head .acct-title { margin: 0; }
.acct-out {
  display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.acct-out:hover, .acct-out:focus { border-color: var(--navy); background: #f8fafc; }
.acct-out [data-lucide], .acct-out svg { width: 16px; height: 16px; }
@media (max-width: 600px) {
  .acct-head { margin: 12px 0 16px; }
  .acct-head .acct-title { font-size: 26px; }
}
/* WDP 2026-11-01: log in / guest choice at the top of the checkout (Matt).
   Fluid Checkout's own "Or continue as a guest" line is replaced by the buttons. */
body.woocommerce-checkout .fc-contact-login{margin:0 0 20px}
body.woocommerce-checkout .fc-contact-login__separator--guest{display:none}
.wdp-co-choice{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:600px){.wdp-co-choice{grid-template-columns:1fr 1fr}}
.wdp-co-choice__opt{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;min-height:76px;padding:16px 18px;border:2px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-align:left;font-family:var(--font);cursor:pointer}
.wdp-co-choice__opt:hover{border-color:var(--navy)}
.wdp-co-choice__opt:focus-visible{outline:3px solid var(--amber);outline-offset:2px}
.wdp-co-choice__opt--login{border-color:var(--navy)}
.wdp-co-choice__opt--guest.is-selected{border-color:var(--navy);background:var(--bg)}
.wdp-co-choice__title{font-size:17px;font-weight:700;line-height:1.25;color:var(--navy)}
.wdp-co-choice__sub{font-size:14px;line-height:1.35;color:var(--body)}
body.woocommerce-checkout .fc-contact-login__content{padding:0;background:none}
/* One-page checkout: every section on white (the plugin shades the address
   sections gray, which looked patchy once all sections show at once). */
body.woocommerce-checkout{--fluidcheckout--section--highlighted-background-color:#fff}

/* WDP 2026-11-01: "log in or guest" screen before the checkout form (Matt).
   While it shows, the form and order summary wait underneath. */
body.wdp-gate-on .woocommerce form.woocommerce-checkout,
body.wdp-gate-on .woocommerce .fc-checkout-notices{display:none!important}
.wdp-gate[hidden]{display:none!important}
.woocommerce .wdp-gate{clear:both;flex:0 0 100%;width:100%;max-width:960px;margin:8px 0 48px}
.wdp-gate__title{margin:0 0 20px;font-family:var(--head);font-size:26px;line-height:1.2;color:var(--ink)}
.wdp-gate__grid{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:782px){.wdp-gate__grid{grid-template-columns:1fr 1fr;gap:24px;align-items:start}}
.wdp-gate__card{display:flex;flex-direction:column;padding:24px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--lift)}
.wdp-gate__card--login{border-top:4px solid var(--navy)}
.wdp-gate__card--guest{border-top:4px solid var(--amber)}
.wdp-gate__head{margin:0 0 6px;font-family:var(--head);font-size:20px;line-height:1.25;color:var(--navy)}
.wdp-gate__sub{margin:0 0 18px;font-size:15px;line-height:1.45;color:var(--body)}
.woocommerce .wdp-gate form.woocommerce-form-login{margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:none}
.wdp-gate .woocommerce-form-login .form-row{margin:0 0 14px;padding:0}
.wdp-gate .woocommerce-form-login label{display:block;margin:0 0 6px;font-size:15px;font-weight:600;color:var(--ink)}
.wdp-gate .woocommerce-form-login .input-text{width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;font-size:16px;background:#fff}
.wdp-gate .woocommerce-form-login .input-text:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(30,58,95,.15)}
.wdp-gate .woocommerce-form-login .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;font-weight:400}
.wdp-gate .woocommerce-form-login__submit,
.wdp-gate__guest{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px 22px;border-radius:8px;font:700 16px/1.2 var(--font);cursor:pointer}
.wdp-gate .woocommerce-form-login__submit{float:none;margin:0;border:1px solid var(--navy);background:var(--navy);color:#fff}
.wdp-gate .woocommerce-form-login__submit:hover{background:var(--navy-deep);border-color:var(--navy-deep)}
.wdp-gate__guest{border:1px solid var(--amber);background:var(--amber);color:var(--amber-ink)}
.wdp-gate__guest:hover{background:#e08e06;border-color:#e08e06}
.wdp-gate .lost_password{margin:12px 0 0;font-size:14px}
.wdp-gate .lost_password a{color:var(--navy)}

/* WDP 2026-11-03 design: tables in category text (Cremona backset table, Matt) */
.ci-more table, .ch-desc table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 6px 0 18px; font-size: 15px; line-height: 1.5; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ci-more th, .ci-more td, .ch-desc th, .ch-desc td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ci-more thead th, .ch-desc thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; line-height: 1.35; }
.ci-more tbody tr:nth-child(even) td, .ch-desc tbody tr:nth-child(even) td { background: var(--line-2); }
.ci-more tbody tr:last-child td, .ch-desc tbody tr:last-child td { border-bottom: 0; }
.ci-more td:first-child, .ch-desc td:first-child { white-space: nowrap; color: var(--ink); }
.ci-more .pn, .ch-desc .pn { white-space: nowrap; font-weight: 600; color: var(--ink); }
.wdp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 6px 0 18px; }
.wdp-table-wrap table { margin: 0; min-width: 560px; }
@media (max-width: 760px) {
  .ci-more table, .ch-desc table { font-size: 14px; }
  .ci-more th, .ci-more td, .ch-desc th, .ch-desc td { padding: 8px 10px; }
}

/* WDP 2026-11-04 design: filter groups fold (Matt: long filter lists). view.js adds .facet-fold; groups after the first start shut. */
.facets .facet-fold > h4 { cursor: pointer; margin: 0; user-select: none; }
.facets .facet-fold:not(.shut) > h4 { margin-bottom: 12px; }
.facets .facet-fold > h4::after { content: "\2212"; font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1; }
.facets .facet-fold.shut > h4::after { content: "+"; }
.facets .facet-fold.shut > :not(h4) { display: none; }
.facets .facet-fold > h4:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* WDP 2026-11-05 design: brand page text runs the full width like category text; larger filter labels (Matt: too small to read). */
.brand-hero-v2 .bh-desc, .brand-hero-v2 .bh-desc p { max-width: none; }
.facet > h4 { font-size: 17px; letter-spacing: .01em; }
.facets .facet-fold > h4::after { font-size: 20px; }
.facet .opt { font-size: 15px; padding: 6px 0; }
.facet .opt input { width: 17px; height: 17px; }
.facet .opt .cnt { font-size: 13px; }
.facet .more, .facet-more > summary { font-size: 14px; }

/* WDP 2026-11-06 design: Info Guides (topics, How-to label, guide page) */
.howto-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.howto-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.howto-chip:hover { border-color: var(--navy); }
.howto-chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.howto-chip__n { font-size: 12px; font-weight: 600; opacity: .7; }
.howto-types { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 22px; font-size: 14px; }
.howto-type { color: var(--body); text-decoration: none; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.howto-type.is-on { color: var(--ink); font-weight: 700; border-bottom-color: var(--amber, #f39c12); }
.howto-card .hc-badge, .hc-badge { position: absolute; top: 10px; left: 10px; background: var(--amber, #f39c12); color: #1b1b1b; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.hc-badge--inline { position: static; display: inline-block; margin-left: 6px; vertical-align: middle; }
.howto-card .hc-topic { font-size: 12px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .4px; }
.guide-meta { font-size: 14px; color: var(--mute); margin: 0 0 20px !important; }
.guide-meta a { color: var(--blue); text-decoration: none !important; }
.howto-article .wp-block-post-content p[style*="center"] img { display: inline-block; }
.howto-article .wp-block-post-content table { width: 100% !important; height: auto !important; border-collapse: collapse; }
.howto-article .wp-block-post-content td, .howto-article .wp-block-post-content th { padding: 8px; vertical-align: top; }
.guide-more { margin-top: 40px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fafc; }
.guide-more h2 { margin-top: 0 !important; font-size: 18px !important; }
.guide-more ul { margin: 0 0 10px; }
.guide-more__all { font-weight: 600; }
@media (max-width: 640px) { .howto-article .wp-block-post-content table, .howto-article .wp-block-post-content tbody, .howto-article .wp-block-post-content tr, .howto-article .wp-block-post-content td, .howto-article .wp-block-post-content th { display: block; width: 100% !important; } }

/* WDP 2026-11-06: helpful 404 page (blocks/helpful-404) */
.nf { padding: 48px 0 64px; }
.nf .nf-lead { font-size: 16px; color: var(--body); margin: 14px 0 28px; max-width: 680px; line-height: 1.55; }
.nf-h2 { font-size: 20px; color: var(--ink); margin: 0 0 14px; }
.nf-match { margin: 0 0 28px; }
.nf-prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nf-prod { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.nf-prod:hover { border-color: var(--navy); box-shadow: 0 4px 14px rgba(15,23,42,.08); }
.nf-prod__img img { width: 100%; height: 160px; object-fit: contain; display: block; }
.nf-prod__name { font-weight: 600; font-size: 14px; line-height: 1.35; }
.nf-prod__sku { font-size: 13px; color: var(--body); }
.nf-search { display: flex; gap: 10px; max-width: 720px; margin: 0 0 32px; }
.nf-search input[type="text"] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; font-size: 16px; border: 2px solid var(--navy); border-radius: var(--radius); }
.nf-search .btn { height: 48px; }
.nf-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0 0 32px; }
.nf-tile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.nf-tile:hover { border-color: var(--navy); box-shadow: 0 4px 14px rgba(15,23,42,.08); }
.nf-tile__img { display: flex; align-items: center; justify-content: center; height: 150px; background: #f1f5f9; color: var(--navy); }
.nf-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.nf-tile__img svg { width: 40px; height: 40px; }
.nf-tile__img--contain { background: #fff; padding: 4px; }
.nf-tile__img--contain img { object-fit: contain; }
.nf-tile__name { padding: 12px 14px; font-weight: 600; font-size: 15px; }
.nf-help { max-width: 720px; }
@media (max-width: 900px) {
  .nf-prods { grid-template-columns: repeat(2, 1fr); }
  .nf-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .nf { padding: 28px 0 40px; }
  .nf-search { flex-direction: column; }
  .nf-prod__img img { height: 120px; }
  .nf-tile__img { height: 100px; }
}

/* WDP 2026-11-07 design: Matching parts lists on multipoint lock pages (inc/matching-parts.php) */
.pdp-fits .fits-group + .fits-group { margin-top: 36px; }
.pdp-fits + .pdp-compat { margin-top: 40px; }
.fits-tip { color: var(--body); font-size: 15px; margin: -6px 0 14px; max-width: 760px; }
.fits-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.fits-filter[hidden] { display: none; }
.fits-filter-label { font-weight: 600; font-size: 14px; color: var(--ink); margin-right: 2px; }
.fits-filter button { font: inherit; font-size: 14px; line-height: 1.2; padding: 8px 14px; min-height: 38px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.fits-filter button:hover { border-color: var(--navy); }
.fits-filter button[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); font-weight: 600; }
.fits-count { margin-left: auto; font-size: 13.5px; color: var(--mute); }
.fits-more { margin-top: 14px; font: inherit; font-weight: 600; color: var(--navy); background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 16px; cursor: pointer; }
.fits-more:hover { border-color: var(--navy); }
.fits-more[hidden], .pdp-fits .compat-row[hidden] { display: none; }

/* WDP 2026-11-08 design: phone size. inc/phone-scale.php draws the site 15% bigger on phones,
   so a 390px phone lays out at 339px. These keep the home page and cart from scrolling sideways
   at that width (also true on small 360px phones before this change). */
@media (max-width: 600px) {
  .home-hero.hero-split .shell { grid-template-columns: minmax(0, 1fr); }
  .bm-brands .brand-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm, .bm > * { min-width: 0; }
}
@media (max-width: 380px) {
  .wc-block-cart .wc-block-cart__main { padding-left: 8px; padding-right: 8px; }
  .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 64px 1fr; }
  .wc-block-cart .wc-block-cart-item__image { padding-right: 12px !important; }
  .wc-block-cart .wc-block-cart-item__image img { max-width: 52px; }
}

/* WDP 2026-11-08 design: phone size, second pass (Matt: make sure every layout fits at +15%). */
@media (max-width: 400px) {
  /* Footer trust strip: one per row so the lines don't wrap into narrow columns. */
  .trustbar .shell { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .trustbar .t, .trustbar .t + .t, .trustbar .t:nth-child(3) { border-left: 0; padding-left: 0; padding-right: 0; }
  .trustbar .t b, .trustbar .t small { white-space: normal; }
  /* Search boxes: a little less padding so more of the hint text shows. */
  .searchbar input { padding: 0 12px; }
  .hh-find input { padding: 0 12px; }
  .hh-find button { padding: 0 12px; }
}
@media (max-width: 600px) {
  .footer-bottom > span a, .footer-bottom > span button { white-space: nowrap; display: inline-block; }
  /* Product page sticky "Add to cart" bar: a long price range wraps to a second line instead of running under the button. */
  .pdp-sticky .ps-info { flex: 1; }
  .pdp-sticky .ps-price { white-space: normal; line-height: 1.2; }
  /* 404 page search box kept its height when the box and button stack. */
  .nf-search input[type="text"] { flex: none; }
}

/* ============================================================
   WDP 2026-11-11 top bar help messages (Matt): the shipping line is
   replaced by help messages in the center of the bar.
   Matt picked option C: three links on wide screens, one rotating
   message at a time below 1180px.
   ============================================================ */
.topbar .shell { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; }
.topbar .tb-catalog { justify-self: start; white-space: nowrap; }
.topbar .tb-right a { white-space: nowrap; }
.topbar .tb-right { justify-self: end; }
.topbar .tb-center { min-width: 0; display: flex; justify-content: center; align-items: center; text-align: center; }
.topbar .tb-center p { margin: 0; display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; color: #dbe6f3; }
.topbar .tb-center a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.topbar .tb-center a:hover { color: var(--amber); }
.topbar .tb-center [data-lucide], .topbar .tb-center svg { width: 14px; height: 14px; color: var(--amber); flex: none; }
.topbar .tb-center .tb-msg[hidden] { display: none; }
.topbar .tb-msg:not([hidden]) { animation: wdpTbIn .45s ease; }
@keyframes wdpTbIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.topbar .tb-links { gap: 6px 20px; }
.topbar .tb-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .tb-lead { font-weight: 600; color: #fff; }
.topbar .tb-rotator { display: none; }
@media (max-width: 1180px) {
  .topbar .tb-center .tb-links { display: none; }
  .topbar .tb-center .tb-rotator { display: block; }
}
@media (max-width: 860px) {
  .topbar .shell { grid-template-columns: 1fr auto; grid-template-areas: "cat right" "msg msg"; row-gap: 0; padding-bottom: 6px; }
  .topbar .tb-catalog, .topbar .shell > span:first-child { grid-area: cat; }
  .topbar .tb-right { grid-area: right; }
  .topbar .tb-center { grid-area: msg; border-top: 1px solid rgba(255,255,255,.12); padding-top: 6px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .topbar .tb-msg:not([hidden]) { animation: none; }
}

/* WDP 2026-11-11 closed-day notice (Matt): amber strip above the top bar,
   turned on in Site Content > Top Bar. */
.wdp-notice { background: var(--amber); color: var(--navy-deep); font-size: 14px; font-weight: 600; }
.wdp-notice .shell { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.wdp-notice p { margin: 0; }
.wdp-notice [data-lucide], .wdp-notice svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 860px) {
  .wdp-notice { font-size: 13px; }
  .wdp-notice .shell { min-height: 32px; }
}

/* WDP 2026-11-11 Android header (Matt): on narrower phones (most Androids,
   about 313-334px wide after the 115% phone size) the logo, cart and Menu
   no longer fit on one line, so cart and Menu dropped under the logo.
   The logo now shrinks to fit instead, and the top bar help message gets
   a slightly smaller size on the narrowest phones so it stays on one line. */
@media (max-width: 860px) {
  .header-row .brand { flex: 1 1 0; min-width: 0; }
  .header-row .brand .logo-img { max-width: min(100%, 220px); height: auto; }
  .header-row .header-actions { flex: none; }
}
@media (max-width: 560px) {
  .header-row .brand .logo-img { max-width: min(100%, 190px); }
}
@media (max-width: 360px) {
  .topbar .tb-center { font-size: 12px; }
}

/* WDP 2026-11-11 cart lines (Matt): name, SKU, options, then price; no short description. */
.wc-block-cart .wc-block-cart-item__wrap { display: flex; flex-direction: column; align-items: flex-start; }
.wc-block-cart .wc-block-cart-item__wrap > * { order: 4; }
.wc-block-cart .wc-block-cart-item__wrap > .wc-block-components-product-name { order: 1; }
.wc-block-cart .wc-block-cart-item__wrap > .wc-block-components-product-metadata { order: 2; margin-bottom: 4px; }
.wc-block-cart .wc-block-cart-item__wrap > .wc-block-cart-item__prices { order: 3; margin: 2px 0 8px; }
.wc-block-cart .wc-block-cart-item__wrap > .wc-block-components-product-name,
.wc-block-cart .wc-block-cart-item__wrap > .wc-block-components-product-metadata,
.wc-block-cart .wc-block-cart-item__wrap > .wc-block-cart-item__prices { max-width: 100%; }
.wc-block-cart .wc-block-components-product-metadata__description { display: none; }

/* Phones: the quantity pricing table fits inside the buy box. Smaller side
   padding, and "each" may drop under the price instead of widening the box. */
@media (max-width: 480px) {
  .rail .wdp-qty-table .wdp-qty-table__table th,
  .rail .wdp-qty-table .wdp-qty-table__table td { padding-left: 8px; padding-right: 8px; }
  .rail .wdp-qty-table .wdp-qty-table__table td.wdp-qty-table__price { white-space: normal; }
}

/* More in this category (Matt 2026-11-11): slide box under the parts boxes. */
.more-cat-all { margin: 14px 0 0; }
.more-cat-all a { font-weight: 600; color: var(--navy); }

/* WDP 2026-11-12 design: Multipoint Lock Finder page, questionnaire link in the hero */
.pi-hero p.pi-hero-alt { margin-top: 12px; font-size: 15px; color: #fff; }
.pi-hero p.pi-hero-alt a { color: var(--amber); font-weight: 600; text-decoration: underline; }


/* WDP 2026-11-14 PDF catalog page (/window-and-door-replacement-parts-catalog/,
   Matt): door parts' catalog page with the full PDF and its section PDFs. */
.wdp-pdfcat { max-width: var(--shell); margin: 0 auto 48px; color: var(--body); }
.wdp-pdfcat h2 { color: var(--ink); font-size: 22px; margin: 0 0 8px; }
.wdp-pdfcat .pc-intro { font-size: 17px; margin: 0 0 24px; }
.wdp-pdfcat .pc-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 36px; }
.wdp-pdfcat .pc-main .pc-head { background: var(--navy); color: #fff; font-size: 17px; padding: 14px 22px; margin: 0; }
.wdp-pdfcat .pc-main-in { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 26px; }
.wdp-pdfcat .pc-cover { flex: 0 1 260px; margin: 0 auto; }
.wdp-pdfcat .pc-cover img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.wdp-pdfcat .pc-main-text { flex: 1 1 320px; min-width: 0; }
.wdp-pdfcat .pc-main-text h3 { color: var(--ink); font-size: 21px; margin: 0 0 10px; }
.wdp-pdfcat .pc-main-text p { margin: 0 0 18px; line-height: 1.6; }
.wdp-pdfcat .pc-secs > p { margin: 0 0 16px; }
.wdp-pdfcat .pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.wdp-pdfcat .pc-sec { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.wdp-pdfcat .pc-sec:hover, .wdp-pdfcat .pc-sec:focus-visible { border-color: var(--navy-mid); box-shadow: var(--shadow-md); }
.wdp-pdfcat .pc-sec [data-lucide], .wdp-pdfcat .pc-sec svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--navy); margin-top: 1px; }
.wdp-pdfcat .pc-sec strong { display: block; font-size: 15px; line-height: 1.35; }
.wdp-pdfcat .pc-sec small { display: block; color: var(--mute); font-size: 13px; margin-top: 2px; }
.wdp-pdfcat .pc-help { margin-top: 36px; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.wdp-pdfcat .pc-help p { margin: 0 0 16px; line-height: 1.6; }

/* WDP 2026-11-14 design: home page Multipoint Lock Form band (after Popular Categories) */
.home-lockform { margin: 8px 0 8px; }
.home-lockform .hlf-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--navy); color: #fff; border-radius: var(--radius-lg, 16px); padding: 28px 32px; border-left: 6px solid var(--amber); }
.home-lockform .hlf-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--amber); color: #1a1a1a; display: flex; align-items: center; justify-content: center; }
.home-lockform .hlf-ic [data-lucide], .home-lockform .hlf-ic svg { width: 28px; height: 28px; }
.home-lockform .hlf-eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.home-lockform .hlf-title { margin: 0; font-family: var(--head); font-size: 28px; line-height: 1.2; color: #fff; }
.home-lockform .hlf-sub { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: #dbe4ef; max-width: 640px; }
.home-lockform .hlf-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.home-lockform .hlf-cta .btn { white-space: nowrap; font-size: 17px; padding: 15px 26px; display: inline-flex; align-items: center; gap: 8px; }
.home-lockform .hlf-cta .btn svg { width: 18px; height: 18px; }
.home-lockform .hlf-alt { color: #fff; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.home-lockform .hlf-alt:hover { color: var(--amber); }
@media (max-width: 860px) {
  .home-lockform .hlf-in { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; text-align: left; }
  .home-lockform .hlf-ic { width: 48px; height: 48px; }
  .home-lockform .hlf-title { font-size: 23px; }
  .home-lockform .hlf-cta { align-items: stretch; }
  .home-lockform .hlf-cta .btn { justify-content: center; white-space: normal; }
  .home-lockform .hlf-alt { text-align: center; }
}

/* WDP 2026-11-14 (Matt): search results breadcrumb sat right under the menu.
   Same 24px gap as category, brand and product pages. */
body.search main.shell { padding-top: 24px; }

/* WDP 2026-11-14 speed audit, batch B (Matt: slim bar). On phones the
   Complianz consent box filled the lower half of the screen and appeared
   last, so Google timed every page by it (phone "main content" 5.5-11 s).
   Phones and tablets get a slim bar along the bottom: two lines of the
   notice, the three buttons in one row, policy links small. Desktop keeps
   the corner box. The full text and the preferences panel still open from
   "View preferences". Complianz settings are unchanged. */
@media (max-width: 768px) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner {
		grid-gap: 6px;
		padding: 10px 14px 8px;
		border-radius: 12px 12px 0 0;
		max-height: 45vh;
	}
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header {
		position: absolute;
		top: 8px;
		right: 10px;
		display: block;
	}
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header .cmplz-logo,
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header .cmplz-title,
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-divider-header { display: none; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close,
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close svg { width: 16px; height: 16px; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-body { max-height: 30vh; min-width: 0; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message {
		font-size: 12px;
		line-height: 1.45;
		margin: 0 22px 0 0;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons {
		flex-direction: row;
		gap: 6px;
	}
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
		min-height: 38px;
		padding: 6px 4px;
		font-size: 14px;
		flex: 1 1 0;
		white-space: normal;
		line-height: 1.15;
	}
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links.cmplz-documents { font-size: 11px; }
	/* Preferences open: show the whole notice again. */
	#cmplz-cookiebanner-container .cmplz-cookiebanner:has(.cmplz-categories.cmplz-fade-in) .cmplz-message {
		-webkit-line-clamp: unset;
		display: block;
	}
}

/* ============================================================
   WDP 2026-11-15 (Matt): sticky header (assets/js/sticky-header.js).
   Desktop: the whole header stays at the top once the top bar scrolls away.
   Phone/tablet: a slim bar slides in, hides scrolling down, returns
   scrolling up. --hs-h = visible bar height, --hs-top = WP admin bar.
   ============================================================ */
:root { --hs-h: 0px; --hs-top: 0px; }
html { scroll-padding-top: calc(var(--hs-h) + 12px); }
.hs-spacer { display: none; }
.site-header.hs-fixed + .hs-spacer { display: block; }
.site-header.hs-fixed { position: fixed; top: var(--hs-top); left: 0; right: 0; box-shadow: 0 4px 16px rgba(16,30,50,.12); }
.site-header.hs-anim { transition: transform .22s ease, box-shadow .22s ease; }
.site-header.hs-fixed.hs-off { transform: translateY(calc(-100% - var(--hs-top) - 12px)); box-shadow: none; }
.site-header.hs-fixed .mega { max-height: calc(100vh - var(--hs-h) - 8px); overflow-y: auto; }
.site-header.hs-fixed ~ .mobile-drawer.open { position: fixed; top: var(--hs-h); left: 0; right: 0; z-index: 99; max-height: calc(100vh - var(--hs-h)); overflow-y: auto; box-shadow: 0 10px 20px rgba(16,30,50,.15); }
.facets, .pdp-b .rail, .acct-page .woocommerce-MyAccount-navigation, .order-next { top: calc(var(--hs-h) + 16px); transition: top .22s ease; }
.wc-block-cart .wc-block-cart__sidebar { top: calc(var(--hs-h) + 20px); }
/* WDP 2026-11-17 (Matt): checkout Order Summary sat on top of the fixed header.
   Fluid Checkout pins its sidebar at top: 0 with z-index 300. sticky-header.js
   points FC at .hs-offset (a hidden fixed strip as tall as the header plus a
   gap), so FC pins the summary just under the header; the lower z-index keeps
   the header's menus above the summary. FC also adds 37px for the admin bar,
   which --hs-h already counts, so that padding goes back to FC's normal 5px. */
.hs-offset { position: fixed; top: 0; left: 0; width: 1px; height: calc(var(--hs-h) + 16px); visibility: hidden; pointer-events: none; }
.fc-wrapper .fc-sidebar.is-sticky > .fc-sidebar__inner { z-index: 90; }
html body.admin-bar.woocommerce-checkout .fc-wrapper .fc-sidebar.is-sticky .fc-sidebar__inner { padding-top: 5px; }
@media (max-width: 860px) {
  .site-header.hs-slim .nav-band { display: none; }
  .site-header.hs-slim .header-row { padding: 8px 0 10px; gap: 8px 12px; }
  .site-header.hs-slim .brand .logo-img { max-height: 28px; }
  .site-header.hs-slim .searchbar .field { height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header.hs-anim, .facets, .pdp-b .rail { transition: none; }
}

/* WDP 2026-11-19 design: line up the photo and the buy box on product pages.
   The page layout gives every box after the first a 24px top margin, so the
   buy box column started 24px below the photo column. With the two columns
   side by side that margin goes; on phones (one column) it stays as the gap. */
@media (min-width: 1001px) {
  .pdp-b > .rail-col { margin-block-start: 0; }
}

/* ===== WDP 2026-11-20: My Account notes for old-site customers (orders tab, log in) ===== */
.acct-note { margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 8px; background: #f8fafc; color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.acct-note a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.woocommerce form.woocommerce-form-login .acct-note--login { margin: 18px 0 0; }

/* ===== WDP 2026-12-04: Lost password, no account found ===== */
.wdp-lp-miss { display: flex; flex-direction: column; gap: 6px; flex: 1 1 100%; }
.wdp-lp-miss strong { font-weight: 700; color: var(--ink); }
.wdp-lp-miss a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wdp-lp-miss a[href^="mailto:"] { overflow-wrap: anywhere; }
.wc-block-components-notice-banner:has(.wdp-lp-miss) { align-items: flex-start; }

/* ===== WDP 2026-11-21 (Matt): space under the orange line on the slider headings ("More in ...", "Recently Viewed").
   .h-title has margin 0 and these sections hide .h-rule, so the line touched the cards. 18px matches "Browse all ..." on category pages. ===== */
.rv-section .h-title { margin-bottom: 18px; }

/* ===== WDP 2026-11-21 (Matt): desktop sticky header carries the top bar with it (assets/js/sticky-header.js).
   --hs-tb = top bar height while pinned (0 on phone, where the slim bar stays as it was). ===== */
:root { --hs-tb: 0px; }
.topbar.hs-tb-fixed { position: fixed; top: var(--hs-top); left: 0; right: 0; z-index: 101; }
.site-header.hs-fixed { top: calc(var(--hs-top) + var(--hs-tb)); }

/* WDP 2026-12-04 (Matt): cart rows on a wide screen read left to right:
   photo, name with SKU and price each, quantity box, line total, remove bin.
   The quantity box moves up beside the name; the bin moves to the far right
   after the total. Narrow screens (phones) keep WooCommerce's layout, with
   the quantity under the name. */
.wc-block-cart.is-large .wc-block-cart-items__row { position: relative; }
.wc-block-cart.is-large .wc-block-cart-item__product { position: static; }
.wc-block-cart.is-large .wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  align-items: start;
}
.wc-block-cart.is-large .wc-block-cart-item__wrap > * { grid-column: 1; }
.wc-block-cart.is-large .wc-block-cart-item__wrap > .wc-block-cart-item__quantity {
  grid-column: 2;
  grid-row: 1 / span 8;
  margin: 0 28px 0 0;
  align-self: start;
}
.wc-block-cart.is-large .wc-block-cart-item__remove-link {
  position: absolute;
  right: 0;
  top: 16px;
  margin: 0;
}
.wc-block-cart.is-large .wc-block-cart-item__total,
.wc-block-cart.is-large .wc-block-cart-items__header-total { padding-right: 44px; min-width: 92px; }

/* WDP 2026-12-04 (Matt): "Proceed to checkout" above the PayPal button,
   with the "Or" line between them. */
.wc-block-cart .wc-block-cart__sidebar { display: flex; flex-direction: column; }
.wc-block-cart .wc-block-cart__sidebar > * { order: 5; }
.wc-block-cart .wc-block-cart__sidebar > .wp-block-woocommerce-cart-order-summary-block { order: 1; }
.wc-block-cart .wc-block-cart__sidebar > .wp-block-woocommerce-proceed-to-checkout-block { order: 2; }
.wc-block-cart .wc-block-cart__sidebar > .wc-block-cart__payment-options { order: 3; display: flex; flex-direction: column; }
.wc-block-cart .wc-block-cart__payment-options > .wc-block-components-express-payment-continue-rule { order: -1; margin: 14px 0; }
.wc-block-cart .wc-block-cart__payment-options > .wc-block-components-express-payment { width: 100%; margin-bottom: 0; }
