/* ==========================================================================
   CARFU B2B — main stylesheet
   Child theme customisations on top of Storefront
   ========================================================================== */

:root {
  --carfu-navy: #1f2647;
  --carfu-navy-2: #232a52;
  --carfu-blue: #4e5a94;
  --carfu-blue-dark: #3d4780;
  --carfu-orange: #4e7c3f;
  --carfu-grey: #5b6770;
  --carfu-light: #f4f6f8;
  --carfu-border: #e3e8ee;
  --carfu-radius: 8px;
}

/* ---------- Typography ---------- */
body {
  color: #2a3440;
  -webkit-font-smoothing: antialiased;
  /* Page base: light grey (matches the "lineup" section) so white cards
     float on top of a subtle grey surface. */
  background-color: #f5f5f7;
}
/* Storefront sets `overflow-x: hidden` on both <body> and `.site` (#page).
   That forces `overflow-y` to compute as `auto`, turning those elements into
   scroll containers and silently disabling position:sticky on the header.
   `clip` still clips horizontal overflow but keeps them non-scroll
   containers, so the sticky header works again. */
body,
#page.site,
.site {
  overflow-x: clip;
}
/* Fallback for browsers without `overflow: clip`. */
@supports not (overflow: clip) {
  body, #page.site, .site { overflow-x: hidden; }
}

h1, h2, h3, h4, h5 {
  color: var(--carfu-navy);
  font-weight: 700;
  line-height: 1.25;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--carfu-navy);
  border-bottom: none;
}

.site-header .site-branding img {
  max-height: 56px;
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.main-navigation ul.menu > li > a:hover,
.main-navigation ul.nav-menu > li > a:hover {
  color: var(--carfu-orange);
}

.storefront-primary-navigation {
  background: var(--carfu-navy);
}

.site-header-cart .cart-contents {
  color: #fff;
}

/* ---------- Products mega menu (Apple-style full-width dropdown) ---------- */
/* Make the primary navigation a positioned context so the panel can be
   absolutely anchored below it. */
#masthead.site-header {
  position: relative;
}

.carfu-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--carfu-border);
  box-shadow: 0 18px 40px rgba(31, 38, 71, 0.14);
  opacity: 0;
  visibility: hidden;
  /* Reveal from the TOP down (clip-path): the panel's top edge stays pinned
     to the header's bottom, and the content is revealed downward. Closing
     reverses it — the panel is clipped away bottom-up. Never crosses the
     black bar because the top edge never moves. */
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.25s ease, clip-path 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.25s;
  z-index: 999;
}

.carfu-mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
}

/* Entrance animation for mega-menu text — columns appear left→right (X axis),
   each column's rows fade in top→bottom (Y axis) with a soft ease. Delays are
   assigned by JS. Scoped to .is-open so it replays on every open. */
.carfu-mega-menu .carfu-mega-col {
  opacity: 0;
}
.carfu-mega-menu .carfu-mega-col > * {
  opacity: 0;
}

.carfu-mega-menu.is-open .carfu-mega-col {
  animation: carfu-mega-col-x 0.4s ease forwards;
}

.carfu-mega-menu.is-open .carfu-mega-col > * {
  animation: carfu-mega-row-y 0.45s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes carfu-mega-col-x {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes carfu-mega-row-y {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Respect the user's reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
  .carfu-mega-menu .carfu-mega-col,
  .carfu-mega-menu .carfu-mega-col > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Frosted-glass backdrop shown below the header while the mega menu is
   open — blurs the page content underneath the dropdown. Sits above the
   page content but below the header (z-index 999) and the panel itself. */
.carfu-mega-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  /* Backdrop fades faster than the panel so it drops away first on close
     (Apple-style layered fade). */
  transition: opacity 0.15s ease, visibility 0.15s;
  pointer-events: none;
}

.carfu-mega-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.carfu-mega-menu-inner {
  display: flex;
  gap: 56px;
  padding: 44px 0 48px;
}

.carfu-mega-col {
  min-width: 0;
}

.carfu-mega-featured {
  flex: 0 0 320px;
}

.carfu-mega-heading {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8e8e93;
  margin: 0 0 18px;
}

.carfu-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.carfu-mega-list li + li {
  margin-top: 14px;
}

.carfu-mega-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.carfu-mega-featured .carfu-mega-item {
  font-size: 22px;
  font-weight: 600;
}

.carfu-mega-item:hover {
  color: var(--carfu-orange);
}

/* Remove the purple focus ring on mega-menu category links (after click
   and on keyboard focus) — consistent with the rest of the site. */
.carfu-mega-item,
.carfu-mega-item:focus,
.carfu-mega-item:focus-visible,
.carfu-mega-item:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.carfu-mega-item-count {
  font-size: 12px;
  color: #a1a1a6;
  font-weight: 400;
  white-space: nowrap;
}

/* "More categories" split into two sub-columns for a compact Apple look. */
.carfu-mega-list-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 14px 40px;
}

.carfu-mega-list-split li + li {
  margin-top: 0;
}

.carfu-mega-cta {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.carfu-mega-cta-link {
  color: var(--carfu-navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.carfu-mega-cta-link:hover {
  color: var(--carfu-orange);
}

/* ---------- Hero / page header ---------- */
.carfu-hero {
  background: linear-gradient(135deg, var(--carfu-navy) 0%, var(--carfu-navy-2) 100%);
  color: #fff;
  padding: 96px 0;
  text-align: center;
  /* Break out of Storefront's .col-full max-width so the navy band
     stretches edge-to-edge (no white side margins). */
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.carfu-hero h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.carfu-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 24px;
}

.carfu-hero .button {
  background: var(--carfu-orange);
  color: var(--carfu-navy);
  border: none;
  font-weight: 700;
  padding: 14px 28px;
}

.carfu-hero .button:hover {
  background: #3a6330;
}

/* ---------- Shop / archive hero band (reuses homepage hero colours) ---------- */
.carfu-shop-hero {
  background: linear-gradient(135deg, var(--carfu-navy) 0%, var(--carfu-navy-2) 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.carfu-shop-hero-logo {
  display: block;
  margin: 0 auto;
  max-width: 260px;
  height: auto;
}
.carfu-shop-hero-name {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ---------- "Explore the lineup" section (cup holders) ---------- */
.carfu-lineup-section {
  background: #f5f5f7;
  padding: 96px 0 48px;
  margin: 0 0 32px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.carfu-lineup-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto 20px;
  padding: 0 28px;
}
.carfu-lineup-eyebrow {
  display: block;
  font-size: 13px;
  color: #6e6e73;
  margin-bottom: 4px;
}
.carfu-lineup-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #1d1d1f;
}
.carfu-lineup-nav {
  display: flex;
  gap: 10px;
}
.carfu-lineup-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none !important;
  background: #e8e8ed !important;
  color: #b0b0b5 !important;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
}
.carfu-lineup-arrow.is-primary {
  background: #1d1d1f !important;
  color: #fff !important;
}
.carfu-lineup-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 16px;
  padding-left: max(28px, calc((100vw - 1280px) / 2 + 28px));
  max-width: none;
  margin: 0;
  scrollbar-width: none;
}
.carfu-lineup-track::-webkit-scrollbar {
  display: none;
}
.carfu-lineup-card {
  flex: 0 0 auto;
  width: 280px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.36s ease, box-shadow 0.36s ease;
}
.carfu-lineup-card:hover {
  transform: scale(1.02);
  box-shadow: 0 3px 8px rgba(31, 38, 71, 0.06);
}
.carfu-lineup-media {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.carfu-lineup-media a {
  display: block;
  height: 100%;
}
.carfu-lineup-media img {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.carfu-lineup-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}
.carfu-lineup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  display: inline-block;
}
.carfu-lineup-name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
}
.carfu-lineup-name a {
  color: inherit;
  text-decoration: none;
}
.carfu-lineup-name a:hover {
  color: var(--carfu-blue-dark);
}
.carfu-lineup-tagline {
  margin: 0 0 6px;
  font-size: 12px;
  color: #6e6e73;
  line-height: 1.5;
}
.carfu-lineup-price {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6e6e73;
}
.carfu-lineup-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}
.carfu-lineup-learn {
  display: inline-block;
  background: #0071e3;
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.carfu-lineup-learn:hover {
  background: #0077ed;
  color: #fff;
}
.carfu-lineup-buy {
  color: #0071e3;
  font-size: 13px;
  text-decoration: none;
}
.carfu-lineup-buy:hover {
  color: #0062c4;
}

/* ---------- Stats strip ---------- */
.carfu-stats {
  background: #fff;
  border-bottom: 1px solid var(--carfu-border);
}

.carfu-stats-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 16px;
}

.carfu-stat {
  text-align: center;
}

.carfu-stat-value {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--carfu-blue);
}

.carfu-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--carfu-grey);
  margin-top: 4px;
}

/* ---------- Certification badges ---------- */
.carfu-certifications {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}

.carfu-cert-title {
  font-weight: 700;
  color: var(--carfu-navy);
  margin-right: 8px;
}

.carfu-cert-badge {
  background: var(--carfu-light);
  border: 1px solid var(--carfu-border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--carfu-grey);
}

/* ---------- Category scroller (Apple-style single-row horizontal) ---------- */
.carfu-category-section {
  /* Break out of .col-full so the scroller bleeds to the right edge,
     matching the Featured Products section. */
  max-width: none;
  margin: 0;
  padding: 40px 0 0;
}
.carfu-category-scroller {
  position: relative;
  margin: 24px 0;
  margin-right: calc(50% - 50vw);
  padding-left: 28px;
}

.carfu-category-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}
.carfu-category-grid::-webkit-scrollbar {
  display: none;
}

.carfu-category-card {
  flex: 0 0 auto;
  width: 200px;
  background: transparent;
  border: none;
  border-radius: var(--carfu-radius);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  scroll-snap-align: start;
}

/* The image/media box is what zooms + casts a shadow on hover. */
.carfu-category-media {
  display: block;
  width: 100%;
  background: #fff;
  border-radius: var(--carfu-radius);
  padding: 18px 14px;
  overflow: hidden;
  transition: transform 0.36s ease, box-shadow 0.36s ease;
  will-change: transform;
}

.carfu-category-card:hover .carfu-category-media {
  transform: scale(1.04);
  box-shadow: 0 10px 28px rgba(31, 38, 71, 0.12);
}

.carfu-category-card img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  display: block;
}

/* The label stays static — it never moves with the hover animation. */
.carfu-category-name {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--carfu-navy);
  text-align: center;
  line-height: 1.3;
}

/* --- Scroll arrows (chevron + vertical shadow divider) --- */
button.carfu-category-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  padding: 0;
  border: none !important;
  background: transparent !important;
  color: #8a8f9c !important;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.carfu-category-arrow.is-visible {
  opacity: 1;
  visibility: visible;
}
button.carfu-category-arrow:hover {
  color: #6b7180 !important;
  background: transparent !important;
}
button.carfu-category-arrow:focus,
button.carfu-category-arrow:focus-visible,
button.carfu-category-arrow:active {
  outline: none !important;
  box-shadow: none !important;
  color: #8a8f9c !important;
  background: transparent !important;
}

/* The faint vertical shadow strip that sits against the arrow. */
.carfu-category-arrow::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: 14px;
  pointer-events: none;
}
.carfu-category-arrow-left {
  left: 0;
}
.carfu-category-arrow-left::before {
  left: 0;
  background: linear-gradient(to right, rgba(31, 38, 71, 0.03), rgba(31, 38, 71, 0));
}
.carfu-category-arrow-right {
  right: 0;
}
.carfu-category-arrow-right::before {
  right: 0;
  background: linear-gradient(to left, rgba(31, 38, 71, 0.03), rgba(31, 38, 71, 0));
}

.carfu-category-arrow svg {
  position: relative;
  z-index: 1;
  display: block;
}

/* ---------- Featured products scroller (Apple-style single row) ---------- */
/* The section sits outside .col-full so the scroller can bleed to the right
   edge of the viewport, giving product cards more room. Left padding is
   reduced to roughly two-thirds of the standard col-full inset. */
.carfu-featured-section {
  padding: 0 0 48px;
}
.carfu-featured-head {
  padding-left: 28px !important;
}
.carfu-featured-head h2 {
  margin-bottom: 4px;
}

.carfu-featured-scroller {
  position: relative;
  margin: 24px 0;
  /* Extend the scroller to the viewport's right edge (bleed right). */
  margin-right: calc(50% - 50vw);
  /* Align the track's left edge with the (reduced) heading inset. */
  padding-left: 28px;
}

.carfu-featured-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 12px 12px 16px;
  scrollbar-width: none;
}
.carfu-featured-grid::-webkit-scrollbar {
  display: none;
}

.carfu-product-card {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.36s ease, box-shadow 0.36s ease;
  will-change: transform;
}
.carfu-product-card:hover {
  transform: scale(1.02);
  box-shadow: 0 3px 8px rgba(31, 38, 71, 0.06);
}

.carfu-product-media {
  position: relative;
}

.carfu-product-thumb {
  display: block;
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--carfu-light);
}
.carfu-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carfu-product-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.carfu-product-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.carfu-product-title a {
  color: var(--carfu-navy);
  text-decoration: none;
}
.carfu-product-title a:hover {
  color: var(--carfu-blue-dark);
}
.carfu-product-price {
  color: var(--carfu-grey);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
}
.carfu-product-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.carfu-product-moq {
  color: var(--carfu-grey);
  font-size: 13px;
  font-weight: 400;
}

/* White circular arrow button pinned to the media (image) bottom-right corner. */
.carfu-product-arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff !important;
  border: none !important;
  color: var(--carfu-navy) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(31, 38, 71, 0.16);
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.36s ease, box-shadow 0.36s ease;
}
.carfu-product-arrow:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(31, 38, 71, 0.22);
  color: var(--carfu-blue-dark) !important;
}
.carfu-product-arrow:focus,
.carfu-product-arrow:focus-visible,
.carfu-product-arrow:active {
  outline: none !important;
  box-shadow: 0 2px 8px rgba(31, 38, 71, 0.16) !important;
}
.carfu-product-arrow svg {
  display: block;
}

/* Shared scroll arrows (categories + featured products) */
.carfu-scroll-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  padding: 0;
  border: none !important;
  background: transparent !important;
  color: #8a8f9c !important;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.carfu-scroll-arrow.is-visible {
  opacity: 1;
  visibility: visible;
}
.carfu-scroll-arrow:hover {
  color: #6b7180 !important;
  background: transparent !important;
}
.carfu-scroll-arrow:focus,
.carfu-scroll-arrow:focus-visible,
.carfu-scroll-arrow:active {
  outline: none !important;
  box-shadow: none !important;
}
.carfu-scroll-arrow::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: 14px;
  pointer-events: none;
}
.carfu-scroll-arrow-left {
  left: 0;
}
.carfu-scroll-arrow-left::before {
  left: 0;
  background: linear-gradient(to right, rgba(31, 38, 71, 0.03), rgba(31, 38, 71, 0));
}
.carfu-scroll-arrow-right {
  right: 0;
}
.carfu-scroll-arrow-right::before {
  right: 0;
  background: linear-gradient(to left, rgba(31, 38, 71, 0.03), rgba(31, 38, 71, 0));
}
.carfu-scroll-arrow svg {
  position: relative;
  z-index: 1;
  display: block;
}

/* ---------- Product loop ---------- */
ul.products li.product .woocommerce-loop-product__title {
  color: var(--carfu-navy);
  font-weight: 600;
}

ul.products li.product .price {
  color: var(--carfu-blue);
  font-weight: 700;
}

ul.products li.product .button {
  background: var(--carfu-blue);
  color: #fff;
}

ul.products li.product .button:hover {
  background: var(--carfu-blue-dark);
}

/* ---------- Single product ---------- */
.carfu-moq {
  background: var(--carfu-light);
  border-left: 4px solid var(--carfu-orange);
  padding: 10px 14px;
  border-radius: 4px;
  margin: 12px 0;
}

.carfu-wholesale-note {
  font-size: 0.9rem;
  color: var(--carfu-grey);
}

.carfu-rfq-button {
  background: var(--carfu-orange) !important;
  color: var(--carfu-navy) !important;
  border: none !important;
  font-weight: 700;
}

.carfu-rfq-button:hover {
  background: #3a6330 !important;
}

/* ---------- RFQ form ---------- */
.carfu-rfq-form {
  max-width: 640px;
}

.carfu-rfq-row {
  margin-bottom: 18px;
}

.carfu-rfq-row label {
  display: block;
  font-weight: 600;
  color: var(--carfu-navy);
  margin-bottom: 6px;
}

.carfu-rfq-row input,
.carfu-rfq-row textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--carfu-border);
  border-radius: var(--carfu-radius);
}

.carfu-rfq-form .button {
  background: var(--carfu-blue);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 14px 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--carfu-navy);
  color: rgba(255,255,255,0.8);
}

.site-footer a {
  color: rgba(255,255,255,0.85);
}

.site-footer a:hover {
  color: var(--carfu-orange);
}

.site-footer .widget-title {
  color: #fff;
}

/* ---------- Buttons (global) ---------- */
.button.alt,
button.button.alt {
  background: var(--carfu-blue);
  border-color: var(--carfu-blue);
}

.button.alt:hover,
button.button.alt:hover {
  background: var(--carfu-blue-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .carfu-stats-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .carfu-category-card {
    width: 170px;
  }
  .carfu-product-card {
    width: 250px;
  }
  .carfu-product-thumb {
    height: 210px;
  }
  .carfu-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 560px) {
  .carfu-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .carfu-category-card {
    width: 150px;
  }
  .carfu-product-card {
    width: 220px;
  }
  .carfu-product-thumb {
    height: 180px;
  }
}

/* ==========================================================================
   High-priority overrides — force new blue/green palette over Storefront's
   default orange/blue buttons and links.
   ========================================================================== */

/* Primary buttons (orange in Storefront) → green accent */
.button,
button,
input[type="submit"],
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: var(--carfu-orange) !important;
  border-color: var(--carfu-orange) !important;
  color: #fff !important;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: #3a6330 !important;
  border-color: #3a6330 !important;
  color: #fff !important;
}

/* Secondary buttons (.button.alt) → blue-purple */
.button.alt,
button.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: var(--carfu-blue) !important;
  border-color: var(--carfu-blue) !important;
  color: #fff !important;
}

.button.alt:hover,
button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background-color: var(--carfu-blue-dark) !important;
  border-color: var(--carfu-blue-dark) !important;
}

/* Links → blue-purple */
a {
  color: var(--carfu-blue);
}

a:hover {
  color: var(--carfu-blue-dark);
}

/* Hero primary button (Browse Products) → green */
.carfu-hero .button {
  background: var(--carfu-orange) !important;
  color: #fff !important;
  border: none !important;
}

.carfu-hero .button:hover {
  background: #3a6330 !important;
}

/* Price color → green */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--carfu-orange) !important;
}

/* On-sale / badges → green */
.onsale {
  background-color: var(--carfu-orange) !important;
}

/* ==========================================================================
   OEM / ODM page — custom landing page styles
   (self-contained .oem-* namespace, used by the OEM/ODM page content)
   ========================================================================== */

.oem-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.oem-hero {
  background: linear-gradient(135deg, var(--carfu-navy) 0%, var(--carfu-navy-2) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0 64px;
  margin: 0;
}

.oem-hero h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.oem-hero h1 span {
  color: var(--carfu-orange);
}

.oem-hero .oem-sub {
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.oem-kpis {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.oem-kpi {
  text-align: center;
}

.oem-kpi b {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--carfu-orange);
}

.oem-kpi span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.oem-section {
  padding: 64px 0;
}

.oem-section-head {
  text-align: center;
  margin-bottom: 44px;
}

.oem-section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--carfu-navy);
}

.oem-section-head p {
  color: var(--carfu-grey);
  margin-top: 8px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Timeline */
.oem-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.oem-timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--carfu-border);
}

.oem-tl-item {
  position: relative;
  padding: 24px 28px 24px 72px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--carfu-border);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(31, 38, 71, 0.05);
}

.oem-tl-num {
  position: absolute;
  left: 16px;
  top: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--carfu-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  z-index: 1;
}

.oem-tl-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--carfu-navy);
  margin-bottom: 6px;
}

.oem-tl-time {
  display: inline-block;
  background: var(--carfu-light);
  border: 1px solid var(--carfu-border);
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--carfu-blue);
  margin-bottom: 8px;
}

.oem-tl-item p {
  color: #3a4550;
  font-size: 14px;
}

/* Lead time grid */
.oem-lead-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.oem-lead-card {
  background: #fff;
  border: 1px solid var(--carfu-border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}

.oem-lead-card .oem-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--carfu-blue);
}

.oem-lead-card .oem-unit {
  font-size: 14px;
  color: var(--carfu-grey);
  margin-top: 4px;
}

.oem-lead-card p {
  font-size: 13px;
  color: var(--carfu-grey);
  margin-top: 8px;
}

/* Capability grid */
.oem-cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.oem-cap-card {
  background: #fff;
  border: 1px solid var(--carfu-border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: 0.2s;
}

.oem-cap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(31,38,71,0.1);
}

.oem-cap-card .oem-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.oem-cap-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--carfu-navy);
  margin-bottom: 6px;
}

.oem-cap-card p {
  font-size: 13px;
  color: var(--carfu-grey);
}

/* CTA band */
.oem-cta-band {
  background: linear-gradient(135deg, var(--carfu-blue), var(--carfu-blue-dark));
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  color: #fff;
}

.oem-cta-band h2 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.oem-cta-band p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

.oem-cta-band .btn-primary {
  background: var(--carfu-orange);
  color: #fff;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.oem-cta-band .btn-primary:hover {
  background: #3a6330;
  color: #fff;
}

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

@media (max-width: 560px) {
  .oem-lead-grid,
  .oem-cap-grid {
    grid-template-columns: 1fr;
  }
  .oem-hero h1 {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   OEM/ODM process buttons + sub-page styles
   (added for the interactive 6-step process flow)
   ========================================================================== */

/* Timeline action buttons */
.oem-tl-btn {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 6px;
  transition: .2s;
  text-decoration: none;
}
.oem-tl-btn .arr { margin-left: 4px; }

.oem-tl-upload-btn { background: var(--carfu-blue); color: #fff; }
.oem-tl-upload-btn:hover { background: var(--carfu-blue-dark); color: #fff; }

.oem-tl-approve-btn { background: var(--carfu-orange); color: #fff; }
.oem-tl-approve-btn:hover { background: #3d6630; color: #fff; }

.oem-tl-mold-btn { background: var(--carfu-navy); color: #fff; border: 1px solid var(--carfu-blue); }
.oem-tl-mold-btn:hover { background: var(--carfu-blue); color: #fff; }

.oem-tl-qc-btn { background: #c07a1a; color: #fff; }
.oem-tl-qc-btn:hover { background: #a36614; color: #fff; }

.oem-tl-delivery-btn { background: #0e7a8a; color: #fff; }
.oem-tl-delivery-btn:hover { background: #0b5f6b; color: #fff; }

/* ---------- Sample approval page ---------- */
.smp-meta {
  background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px;
  padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center;
  margin-bottom: 32px; box-shadow: 0 4px 16px rgba(31,38,71,.05);
}
.smp-meta .m-item { display: flex; flex-direction: column; }
.smp-meta .m-item .m-label { font-size: 12px; color: var(--carfu-grey); text-transform: uppercase; letter-spacing: .5px; }
.smp-meta .m-item .m-val { font-size: 15px; font-weight: 700; color: var(--carfu-navy); }
.smp-meta .m-status { margin-left: auto; background: #eef7ee; color: #2e6b2e; font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 20px; border: 1px solid #b7dfb2; }

.smp-detail-block { margin-bottom: 36px; }
.smp-detail-block h2 { font-size: 1.25rem; font-weight: 800; color: var(--carfu-navy); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.smp-detail-block h2 .badge { font-size: 12px; font-weight: 600; color: var(--carfu-blue); background: #eef1f8; border: 1px solid #d8deec; padding: 2px 10px; border-radius: 4px; }

.smp-img-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.smp-img-card { background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(31,38,71,.05); }
.smp-img-card .img-box { height: 200px; background: var(--carfu-light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.smp-img-card .img-box img { width: 100%; height: 100%; object-fit: cover; }
.smp-img-card .img-box .placeholder { color: #aab2c0; font-size: 40px; }
.smp-img-card .img-cap { padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--carfu-navy); display: flex; align-items: center; justify-content: space-between; }
.smp-img-card .img-cap .view { font-size: 12px; color: var(--carfu-blue); font-weight: 600; }

.smp-video-box { background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(31,38,71,.05); }
.smp-video-box .vid-inner { background: #0d0f1a; height: 360px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.smp-video-box .vid-inner .play { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 32px; color: #fff; }
.smp-video-box .vid-cap { padding: 12px 16px; font-size: 13px; color: var(--carfu-navy); font-weight: 600; }

.smp-decision-card { background: #fff; border: 1px solid var(--carfu-border); border-radius: 16px; padding: 40px; box-shadow: 0 8px 24px rgba(31,38,71,.06); max-width: 860px; margin: 48px auto 0; text-align: center; }
.smp-decision-card h2 { font-size: 1.5rem; font-weight: 800; color: var(--carfu-navy); margin-bottom: 8px; }
.smp-decision-card .sub { color: var(--carfu-grey); font-size: 14px; margin-bottom: 28px; }
.smp-decision-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.smp-decision-opt { border: 2px solid var(--carfu-border); border-radius: 12px; padding: 32px 24px; cursor: pointer; transition: .2s; display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--carfu-light); text-decoration: none; }
.smp-decision-opt:hover { border-color: var(--carfu-blue); background: #f6f8fb; }
.smp-decision-opt .opt-icon { font-size: 40px; }
.smp-decision-opt h3 { font-size: 17px; font-weight: 800; color: var(--carfu-navy); }
.smp-decision-opt p { font-size: 13px; color: var(--carfu-grey); }
.smp-decision-opt.approve { background: #f0f7ef; border-color: #c4e2c0; }
.smp-decision-opt.approve h3 { color: #2e7d32; }
.smp-decision-opt.revise h3 { color: var(--carfu-blue); }
.opt-btn { display: inline-block; margin-top: 4px; padding: 10px 26px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.opt-btn.approve { background: #2e7d32; color: #fff; }
.opt-btn.revise { background: var(--carfu-blue); color: #fff; }

/* ---------- Feedback (revision notes) page ---------- */
.fb-card { background: #fff; border: 1px solid var(--carfu-border); border-radius: 16px; padding: 40px; box-shadow: 0 8px 24px rgba(31,38,71,.06); max-width: 860px; margin: 0 auto; }
.fb-card h2 { font-size: 1.5rem; font-weight: 800; color: var(--carfu-navy); margin-bottom: 8px; }
.fb-card .sub { color: var(--carfu-grey); font-size: 14px; margin-bottom: 28px; }
.fb-field { margin-bottom: 18px; }
.fb-field label { display: block; font-size: 13px; font-weight: 600; color: var(--carfu-navy); margin-bottom: 6px; }
.fb-field .req { color: #c0392b; }
.fb-field input[type=text], .fb-field input[type=email], .fb-field textarea { width: 100%; padding: 12px; border: 1px solid var(--carfu-border); border-radius: 8px; font-size: 14px; color: #2c3457; }
.fb-field input:focus, .fb-field textarea:focus { outline: none; border-color: var(--carfu-blue); }
.fb-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fb-block { border: 1px solid var(--carfu-border); border-radius: 12px; padding: 24px; margin-bottom: 20px; background: var(--carfu-light); }
.fb-block .fb-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fb-block .fb-head .icon { font-size: 24px; }
.fb-block .fb-head h3 { font-size: 16px; font-weight: 800; color: var(--carfu-navy); }
.fb-block .fb-head .tag { font-size: 12px; font-weight: 600; color: var(--carfu-blue); background: #fff; border: 1px solid var(--carfu-border); padding: 2px 10px; border-radius: 4px; margin-left: auto; }
.fb-block textarea { width: 100%; padding: 12px; border: 1px solid var(--carfu-border); border-radius: 8px; font-size: 14px; color: #2c3457; resize: vertical; }
.fb-block textarea:focus { outline: none; border-color: var(--carfu-blue); }
.fb-submit-row { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.fb-submit { background: var(--carfu-blue); color: #fff; border: none; font-weight: 700; padding: 14px 36px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.fb-submit:hover { background: var(--carfu-blue-dark); }
.fb-submit-note { font-size: 13px; color: var(--carfu-grey); }

/* ---------- Mold status page ---------- */
.mold-meta { background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px; padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-bottom: 32px; box-shadow: 0 4px 16px rgba(31,38,71,.05); }
.mold-meta .m-item { display: flex; flex-direction: column; }
.mold-meta .m-item .m-label { font-size: 12px; color: var(--carfu-grey); text-transform: uppercase; letter-spacing: .5px; }
.mold-meta .m-item .m-val { font-size: 15px; font-weight: 700; color: var(--carfu-navy); }
.mold-meta .m-progress { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--carfu-blue); }
.mold-progress-wrap { margin-bottom: 40px; }
.mold-progress-bar { height: 10px; background: #e9edf2; border-radius: 6px; overflow: hidden; }
.mold-progress-fill { height: 100%; background: linear-gradient(90deg, var(--carfu-blue), var(--carfu-orange)); border-radius: 6px; }
.mold-progress-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--carfu-grey); margin-top: 8px; }

.mold-stage { display: flex; gap: 20px; margin-bottom: 20px; }
.mold-stage .stage-rail { display: flex; flex-direction: column; align-items: center; width: 44px; flex-shrink: 0; }
.mold-stage .stage-dot { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--carfu-border); background: #fff; z-index: 1; margin-top: 4px; }
.mold-stage.done .stage-dot { background: #2e7d32; border-color: #2e7d32; }
.mold-stage .stage-line { width: 2px; flex: 1; background: var(--carfu-border); margin-top: -2px; }
.mold-stage.done .stage-line { background: #c4e2c0; }
.mold-stage:last-child .stage-line { display: none; }
.mold-stage-card { flex: 1; background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px; padding: 20px 24px; box-shadow: 0 4px 14px rgba(31,38,71,.04); margin-bottom: 12px; }
.mold-stage-card.done { border-color: #c4e2c0; }
.mold-stage-card.pending { background: var(--carfu-light); border-style: dashed; }
.mold-stage-card .sc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.mold-stage-card .sc-head .sc-num { width: 28px; height: 28px; border-radius: 50%; background: var(--carfu-blue); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mold-stage-card.pending .sc-head .sc-num { background: #b9c0ce; }
.mold-stage-card .sc-head h3 { font-size: 16px; font-weight: 800; color: var(--carfu-navy); }
.mold-stage-card .sc-head .sc-time { margin-left: auto; font-size: 13px; color: var(--carfu-grey); }
.mold-stage-card.done .sc-head .sc-time { color: #2e7d32; font-weight: 700; }
.mold-stage-card .sc-status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 12px; }
.mold-stage-card.done .sc-status { background: #eef7ee; color: #2e7d32; border: 1px solid #b7dfb2; }
.mold-stage-card.pending .sc-status { background: #fff4e5; color: #c07a1a; border: 1px solid #f0d8b0; }
.mold-confirm-box { margin-top: 12px; }
.mold-confirm-box .img-box { height: 180px; background: var(--carfu-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--carfu-border); }
.mold-confirm-box .img-box img { width: 100%; height: 100%; object-fit: cover; }
.mold-confirm-box .img-box .placeholder { color: #aab2c0; font-size: 36px; }
.mold-confirm-box .confirm-meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--carfu-navy); }
.mold-confirm-box .confirm-meta .cm-label { color: var(--carfu-grey); }
.mold-confirm-box .confirm-meta .cm-time { font-weight: 700; color: #2e7d32; }
.mold-confirm-box .confirm-meta .view { color: var(--carfu-blue); font-weight: 600; margin-left: auto; }
.mold-almost-there { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; background: #fff; border: 1px dashed var(--carfu-border); border-radius: 8px; padding: 20px; color: var(--carfu-grey); font-size: 14px; font-weight: 600; }
.mold-almost-there .spinner { width: 16px; height: 16px; border: 2px solid var(--carfu-border); border-top-color: var(--carfu-blue); border-radius: 50%; animation: moldspin 1s linear infinite; }
@keyframes moldspin { to { transform: rotate(360deg); } }

/* ---------- QC inspection page ---------- */
.qc-card { background: #fff; border: 1px solid var(--carfu-border); border-radius: 16px; padding: 40px; box-shadow: 0 8px 24px rgba(31,38,71,.06); max-width: 860px; margin: 0 auto; }
.qc-card h2 { font-size: 1.5rem; font-weight: 800; color: var(--carfu-navy); margin-bottom: 8px; }
.qc-card .sub { color: var(--carfu-grey); font-size: 14px; margin-bottom: 28px; }
.qc-video-box { background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(31,38,71,.05); margin-bottom: 28px; }
.qc-video-box .vid-inner { background: #0d0f1a; height: 380px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.qc-video-box .vid-inner .play { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 32px; color: #fff; }
.qc-video-box .vid-cap { padding: 14px 18px; font-size: 14px; color: var(--carfu-navy); font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.qc-video-box .vid-cap .vid-date { font-size: 13px; color: var(--carfu-grey); font-weight: 500; }
.qc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.qc-detail-item { background: var(--carfu-light); border: 1px solid var(--carfu-border); border-radius: 10px; padding: 16px 18px; }
.qc-detail-item .d-label { font-size: 12px; color: var(--carfu-grey); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.qc-detail-item .d-val { font-size: 15px; font-weight: 700; color: var(--carfu-navy); }
.qc-signature-block { border: 1px solid var(--carfu-border); border-radius: 12px; padding: 24px; background: var(--carfu-light); }
.qc-signature-block .sig-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.qc-signature-block .sig-head .icon { font-size: 24px; }
.qc-signature-block .sig-head h3 { font-size: 16px; font-weight: 800; color: var(--carfu-navy); }
.qc-signature-block .sig-head .tag { font-size: 12px; font-weight: 600; color: #c07a1a; background: #fff; border: 1px solid #f0d8b0; padding: 2px 10px; border-radius: 4px; margin-left: auto; }
.qc-sig-box { background: #fff; border: 2px dashed var(--carfu-border); border-radius: 10px; height: 140px; display: flex; align-items: center; justify-content: center; color: #aab2c0; font-size: 14px; font-weight: 600; }
.qc-sig-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13px; color: var(--carfu-grey); }
.qc-sig-meta .sig-name { font-weight: 700; color: var(--carfu-navy); }

/* ---------- Delivery status page ---------- */
.dly-card { background: #fff; border: 1px solid var(--carfu-border); border-radius: 16px; padding: 40px; box-shadow: 0 8px 24px rgba(31,38,71,.06); max-width: 860px; margin: 0 auto; }
.dly-card h2 { font-size: 1.5rem; font-weight: 800; color: var(--carfu-navy); margin-bottom: 8px; }
.dly-card .sub { color: var(--carfu-grey); font-size: 14px; margin-bottom: 28px; }
.dly-ship-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.dly-ship-item { background: var(--carfu-light); border: 1px solid var(--carfu-border); border-radius: 10px; padding: 16px 18px; }
.dly-ship-item .s-label { font-size: 12px; color: var(--carfu-grey); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.dly-ship-item .s-val { font-size: 15px; font-weight: 700; color: var(--carfu-navy); }
.dly-ship-item .s-val .tracking-link { color: #0e7a8a; font-weight: 700; word-break: break-all; }
.dly-track-title { font-size: 15px; font-weight: 800; color: var(--carfu-navy); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.dly-track-title .carrier-badge { font-size: 12px; font-weight: 600; color: #0e7a8a; background: #eaf5f7; border: 1px solid #cfe8ec; padding: 2px 10px; border-radius: 4px; margin-left: auto; }
.dly-timeline { position: relative; padding-left: 28px; }
.dly-timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--carfu-border); }
.dly-node { position: relative; padding-bottom: 24px; }
.dly-node:last-child { padding-bottom: 0; }
.dly-node .tl-dot { position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--carfu-border); background: #fff; }
.dly-node.done .tl-dot { background: #2e7d32; border-color: #2e7d32; }
.dly-node.current .tl-dot { background: #0e7a8a; border-color: #0e7a8a; box-shadow: 0 0 0 4px rgba(14,122,138,.15); }
.dly-node .tl-time { font-size: 12px; color: var(--carfu-grey); margin-bottom: 2px; }
.dly-node .tl-title { font-size: 15px; font-weight: 700; color: var(--carfu-navy); }
.dly-node .tl-desc { font-size: 13px; color: var(--carfu-grey); }
.dly-node.current .tl-title { color: #0e7a8a; }

/* Responsive for sub-pages */
@media (max-width: 900px) {
  .smp-img-grid { grid-template-columns: repeat(2, 1fr); }
  .smp-decision-options { grid-template-columns: 1fr; }
  .fb-row2 { grid-template-columns: 1fr; }
  .qc-detail-grid { grid-template-columns: 1fr; }
  .dly-ship-info { grid-template-columns: 1fr; }
}

/* ---------- Login / Order Lookup modal ---------- */
.carfu-modal-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(15, 18, 35, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.carfu-modal-overlay.is-open { opacity: 1; visibility: visible; }
.carfu-modal-box {
  position: relative; width: 100%; max-width: 560px;
  background: #fff; border-radius: 16px; padding: 32px 28px 24px;
  text-align: center; box-shadow: 0 24px 60px rgba(15, 18, 35, .35);
  max-height: 90vh; overflow-y: auto;
}
.carfu-modal-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  width: 36px !important;
  height: 36px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  background: var(--carfu-light) !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-align: center !important;
  color: var(--carfu-grey) !important;
  cursor: pointer !important;
  border-radius: 50% !important;
  z-index: 10 !important;
  box-shadow: none !important;
}
.carfu-modal-close:hover { background: #e8edf3 !important; color: var(--carfu-navy) !important; }
.carfu-modal-icon { font-size: 40px; margin-bottom: 8px; }
.carfu-modal-title { font-size: 1.35rem; font-weight: 800; color: var(--carfu-navy); margin: 0 0 10px; }
.carfu-modal-text { font-size: 14px; color: var(--carfu-grey); line-height: 1.6; margin: 0 0 20px; }

.carfu-modal-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.carfu-modal-tab {
  flex: 1; padding: 12px 16px; border: 1px solid var(--carfu-border);
  background: var(--carfu-light); color: var(--carfu-grey);
  font-size: 14px; font-weight: 700; cursor: pointer; border-radius: 10px;
  transition: all .2s ease;
}
.carfu-modal-tab.is-active { background: var(--carfu-blue); border-color: var(--carfu-blue); color: #fff; }

.carfu-modal-frame-wrap { position: relative; margin-bottom: 16px; }
.carfu-modal-frame {
  width: 100%; height: 480px; border: 1px solid var(--carfu-border);
  border-radius: 12px; background: #fff;
}

.carfu-modal-lookup { text-align: center; }
.carfu-modal-lookup-link {
  background: none; border: none; color: var(--carfu-blue);
  font-size: 14px; font-weight: 700; cursor: pointer; padding: 6px 12px;
}
.carfu-modal-lookup-link:hover { text-decoration: underline; }

body.carfu-modal-open { overflow: hidden; }

/* ==========================================================================
   Wholesale page
   ========================================================================== */
.ws-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.ws-hero {
  background: linear-gradient(135deg, var(--carfu-navy) 0%, var(--carfu-navy-2) 100%);
  color: #fff; text-align: center; padding: 72px 0 64px;
}
.ws-hero h1 { color: #fff; font-size: 2.5rem; font-weight: 800; margin-bottom: 14px; }
.ws-hero h1 span { color: var(--carfu-orange); }
.ws-hero .ws-sub { color: rgba(255,255,255,0.85); max-width: 720px; margin: 0 auto; font-size: 1.1rem; }
.ws-kpis { display: flex; gap: 32px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.ws-kpi { text-align: center; }
.ws-kpi b { display: block; font-size: 2rem; font-weight: 800; color: var(--carfu-orange); }
.ws-kpi span { font-size: 13px; color: rgba(255,255,255,0.7); }

.ws-section { padding: 64px 0; }
.ws-section-head { text-align: center; margin-bottom: 44px; }
.ws-section-head h2 { font-size: 2rem; font-weight: 800; color: var(--carfu-navy); }
.ws-section-head p { color: var(--carfu-grey); margin-top: 8px; max-width: 640px; margin-left: auto; margin-right: auto; }

.ws-serve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ws-serve-card { background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px; padding: 26px 22px; text-align: center; }
.ws-serve-card .ws-icon { font-size: 38px; margin-bottom: 12px; }
.ws-serve-card h3 { font-size: 16px; font-weight: 700; color: var(--carfu-navy); margin-bottom: 6px; }
.ws-serve-card p { font-size: 13px; color: var(--carfu-grey); }

.ws-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ws-benefit-card { background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px; padding: 26px 24px; border-left: 4px solid var(--carfu-blue); }
.ws-benefit-card h3 { font-size: 16px; font-weight: 700; color: var(--carfu-navy); margin-bottom: 8px; }
.ws-benefit-card p { font-size: 14px; color: #3a4550; }

.ws-tier-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(31,38,71,0.06); }
.ws-tier-table th, .ws-tier-table td { padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--carfu-border); }
.ws-tier-table thead th { background: var(--carfu-navy); color: #fff; font-weight: 700; }
.ws-tier-table tbody tr:last-child td { border-bottom: none; }
.ws-tier-table tbody tr:hover { background: var(--carfu-light); }
.ws-tier-table .ws-qty { font-weight: 700; color: var(--carfu-blue); }

.ws-policy { max-width: 860px; margin: 0 auto; }
.ws-policy-row { display: flex; align-items: flex-start; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--carfu-border); }
.ws-policy-row:last-child { border-bottom: none; }
.ws-policy-label { flex: 0 0 180px; font-weight: 700; color: var(--carfu-navy); font-size: 15px; }
.ws-policy-desc { flex: 1; color: var(--carfu-grey); font-size: 14px; }

.ws-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ws-step { text-align: center; padding: 28px 20px; background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px; }
.ws-step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--carfu-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin: 0 auto 16px; }
.ws-step h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--carfu-navy); }
.ws-step p { font-size: 14px; color: var(--carfu-grey); }

.ws-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ws-cat-card {
  display: block; background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px;
  padding: 26px 22px; text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.ws-cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31,38,71,0.10); }
.ws-cat-card .ws-icon { font-size: 36px; margin-bottom: 12px; }
.ws-cat-card h3 { font-size: 16px; font-weight: 700; color: var(--carfu-navy); margin-bottom: 4px; }
.ws-cat-card .ws-cat-count { font-size: 13px; color: var(--carfu-grey); }

.ws-sample { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; }
.ws-sample-info h3 { font-size: 1.5rem; font-weight: 800; color: var(--carfu-navy); margin-bottom: 12px; }
.ws-sample-info p { color: var(--carfu-grey); font-size: 15px; margin-bottom: 16px; }
.ws-sample-info ul { list-style: none; padding: 0; margin: 0 0 20px; }
.ws-sample-info ul li { padding: 6px 0 6px 28px; position: relative; color: #3a4550; font-size: 14px; }
.ws-sample-info ul li::before { content: "✓"; position: absolute; left: 0; color: var(--carfu-orange); font-weight: 800; }
.ws-sample-form { background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px; padding: 28px 24px; }
.ws-field { margin-bottom: 14px; }
.ws-field label { display: block; font-size: 13px; font-weight: 600; color: var(--carfu-navy); margin-bottom: 6px; }
.ws-field input, .ws-field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--carfu-border); border-radius: 6px; font-size: 14px; font-family: inherit; color: #2a3440; }
.ws-field input:focus, .ws-field textarea:focus { outline: none; border-color: var(--carfu-blue); }
.ws-field textarea { resize: vertical; min-height: 80px; }
.ws-submit { width: 100%; padding: 13px; background: var(--carfu-blue); color: #fff; border: none; border-radius: 6px; font-size: 15px; font-weight: 700; cursor: pointer; }
.ws-submit:hover { background: var(--carfu-blue-dark); }

.ws-cta { background: linear-gradient(135deg, var(--carfu-blue) 0%, var(--carfu-blue-dark) 100%); text-align: center; padding: 64px 20px; color: #fff; }
.ws-cta h2 { color: #fff; font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; }
.ws-cta p { color: rgba(255,255,255,0.9); max-width: 640px; margin: 0 auto 28px; }
.ws-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ws-btn { display: inline-block; padding: 14px 32px; border-radius: 6px; font-weight: 700; font-size: 15px; transition: .2s; }
.ws-btn-primary { background: var(--carfu-orange); color: #fff; }
.ws-btn-primary:hover { background: #3f6833; }
.ws-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.ws-btn-ghost:hover { background: rgba(255,255,255,0.12); }

@media (max-width: 800px) {
  .ws-serve-grid, .ws-benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-steps { grid-template-columns: 1fr; }
  .ws-policy-row { flex-direction: column; gap: 6px; }
  .ws-policy-label { flex: none; }
  .ws-sample { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .ws-serve-grid, .ws-benefit-grid, .ws-cat-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   About page
   ========================================================================== */
.ab-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.ab-hero {
  background: linear-gradient(135deg, var(--carfu-navy) 0%, var(--carfu-navy-2) 100%);
  color: #fff; text-align: center; padding: 72px 0 64px;
}
.ab-hero h1 { color: #fff; font-size: 2.5rem; font-weight: 800; margin-bottom: 14px; }
.ab-hero h1 span { color: var(--carfu-orange); }
.ab-hero .ab-sub { color: rgba(255,255,255,0.85); max-width: 720px; margin: 0 auto; font-size: 1.1rem; }

.ab-section { padding: 64px 0; }
.ab-section-head { text-align: center; margin-bottom: 44px; }
.ab-section-head h2 { font-size: 2rem; font-weight: 800; color: var(--carfu-navy); }
.ab-section-head p { color: var(--carfu-grey); margin-top: 8px; max-width: 680px; margin-left: auto; margin-right: auto; }

.ab-story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ab-story-text h2 { font-size: 1.7rem; font-weight: 800; color: var(--carfu-navy); margin-bottom: 16px; }
.ab-story-text p { color: #3a4550; margin-bottom: 14px; font-size: 15px; }
.ab-story-img { border-radius: 12px; overflow: hidden; box-shadow: 0 16px 40px rgba(31,38,71,0.15); }
.ab-story-img img { width: 100%; height: 100%; object-fit: cover; }

.ab-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.ab-num-card { background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px; padding: 28px 20px; text-align: center; }
.ab-num-card b { display: block; font-size: 2.2rem; font-weight: 800; color: var(--carfu-blue); }
.ab-num-card span { font-size: 13px; color: var(--carfu-grey); }

.ab-milestones { max-width: 760px; margin: 0 auto; }
.ab-ms-item { display: flex; gap: 20px; margin-bottom: 28px; }
.ab-ms-year { min-width: 72px; font-weight: 800; color: var(--carfu-orange); font-size: 1.1rem; padding-top: 2px; }
.ab-ms-body h4 { font-size: 15px; font-weight: 700; color: var(--carfu-navy); margin-bottom: 4px; }
.ab-ms-body p { font-size: 14px; color: var(--carfu-grey); }

.ab-cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-cert-card { background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px; padding: 24px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.ab-cert-card .ab-cert-icon { height: 64px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.ab-cert-card .ab-cert-icon img { max-height: 64px; max-width: 100%; object-fit: contain; }
.ab-cert-card b { font-size: 15px; color: var(--carfu-navy); }
.ab-cert-card span { font-size: 12px; color: var(--carfu-grey); }

.ab-sgs-note { background: #fff; border: 1px solid var(--carfu-border); border-left: 4px solid var(--carfu-orange); border-radius: 8px; padding: 20px 24px; margin-top: 28px; }
.ab-sgs-note h3 { font-size: 1.1rem; font-weight: 700; color: var(--carfu-navy); margin-bottom: 8px; }
.ab-sgs-note p { color: #3a4550; font-size: 14px; line-height: 1.7; }

.ab-inside-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ab-inside-item { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--carfu-border); margin: 0; }
.ab-inside-item img { width: 100%; height: 300px; object-fit: cover; display: block; transition: .3s; }
.ab-inside-item:hover img { transform: scale(1.03); }
.ab-inside-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(31,38,71,0.88)); color: #fff; font-size: 14px; font-weight: 600; padding: 28px 16px 12px; }

.ab-client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ab-client-card { background: #fff; border: 1px solid var(--carfu-border); border-radius: 10px; height: 96px; display: flex; align-items: center; justify-content: center; padding: 18px; transition: .25s; }
.ab-client-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(31,38,71,0.08); }
.ab-client-card img { max-height: 56px; max-width: 100%; object-fit: contain; }

.ab-cta { background: linear-gradient(135deg, var(--carfu-blue) 0%, var(--carfu-blue-dark) 100%); text-align: center; padding: 64px 20px; color: #fff; }
.ab-cta h2 { color: #fff; font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; }
.ab-cta p { color: rgba(255,255,255,0.9); max-width: 640px; margin: 0 auto 28px; }
.ab-btn { display: inline-block; padding: 14px 32px; border-radius: 6px; font-weight: 700; font-size: 15px; transition: .2s; }
.ab-btn-primary { background: var(--carfu-orange); color: #fff; }
.ab-btn-primary:hover { background: #3f6833; }

@media (max-width: 800px) {
  .ab-story { grid-template-columns: 1fr; }
  .ab-nums { grid-template-columns: repeat(2, 1fr); }
  .ab-cert-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-inside-grid { grid-template-columns: 1fr; }
  .ab-inside-item img { height: 220px; }
  .ab-client-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ======================================================================
   Contact page (ct-*)
   ====================================================================== */
.ct-hero {
  background: linear-gradient(135deg, var(--carfu-navy), #232a52);
  color: #fff; text-align: center; padding: 72px 20px 64px;
}
.ct-hero h1 { font-size: 2.5rem; font-weight: 800; margin: 0 0 14px; color: #fff; }
.ct-hero h1 span { color: #8ab37a; }
.ct-hero p { color: rgba(255,255,255,.85); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

.ct-section { padding: 64px 0; }
.ct-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }

.ct-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.ct-card { background: #fff; border: 1px solid var(--carfu-border); border-radius: 12px; padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.ct-card .icon { font-size: 26px; min-width: 40px; text-align: center; }
.ct-card h3 { font-size: 15px; font-weight: 700; color: var(--carfu-navy); margin: 0 0 4px; }
.ct-card p { font-size: 14px; color: var(--carfu-grey); line-height: 1.6; margin: 0; }
.ct-card a { color: var(--carfu-blue); word-break: break-all; }
.ct-card a:hover { color: var(--carfu-blue-dark); }

.ct-map { border: 1px solid var(--carfu-border); border-radius: 12px; height: 220px; background: var(--carfu-light); display: flex; align-items: center; justify-content: center; color: var(--carfu-grey); text-align: center; font-size: 14px; padding: 20px; }

.ct-rfq { background: #fff; border: 1px solid var(--carfu-border); border-radius: 16px; padding: 36px; box-shadow: 0 8px 24px rgba(31,38,71,.06); }
.ct-rfq h2 { font-size: 1.5rem; font-weight: 800; color: var(--carfu-navy); margin: 0 0 8px; }
.ct-rfq .sub { color: var(--carfu-grey); font-size: 14px; margin: 0 0 24px; }
.ct-rfq label { display: block; font-size: 13px; font-weight: 600; color: var(--carfu-navy); margin-bottom: 6px; }
.ct-rfq input, .ct-rfq textarea, .ct-rfq select { width: 100%; padding: 12px; border: 1px solid var(--carfu-border); border-radius: 8px; font-size: 14px; color: #2c3457; font-family: inherit; }
.ct-rfq input:focus, .ct-rfq textarea:focus, .ct-rfq select:focus { outline: none; border-color: var(--carfu-blue); }
.ct-rfq .field { margin-bottom: 16px; }
.ct-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-submit { background: var(--carfu-blue); color: #fff; border: none; font-weight: 700; padding: 14px 32px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.ct-submit:hover { background: var(--carfu-blue-dark); }

/* Jetpack contact-form alignment inside the RFQ card */
.ct-rfq .contact-form { margin: 0; }
.ct-rfq .contact-form input, .ct-rfq .contact-form textarea, .ct-rfq .contact-form select {
  width: 100%; padding: 12px; border: 1px solid var(--carfu-border); border-radius: 8px;
  font-size: 14px; color: #2c3457; font-family: inherit; box-sizing: border-box;
}
.ct-rfq .contact-form label { font-size: 13px; font-weight: 600; color: var(--carfu-navy); margin-bottom: 6px; }
.ct-rfq .contact-form .grunion-field-label { display: block; margin-bottom: 4px; }
.ct-rfq .pushbutton-wide { background: var(--carfu-blue); color: #fff; border: none; font-weight: 700; padding: 14px 32px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.ct-rfq .pushbutton-wide:hover { background: var(--carfu-blue-dark); }

@media (max-width: 800px) {
  .ct-layout { grid-template-columns: 1fr; }
  .ct-row2 { grid-template-columns: 1fr; }
}

/* ======================================================================
   Page title centering (entry-title)
   ====================================================================== */
.entry-header .entry-title {
  text-align: center;
}
.entry-header {
  text-align: center;
}

/* Center the RFQ card heading */
.ct-rfq h2 { text-align: center; }
.ct-rfq .sub { text-align: center; }

/* Hide the duplicate WordPress page title on pages that have their own
   hero heading (About / Wholesale / Contact), so only the hero title shows. */
.page-id-295 .entry-header,
.page-id-297 .entry-header,
.page-id-300 .entry-header {
  display: none;
}

/* ======================================================================
   APPLE-STYLE SINGLE-LINE HEADER
   Rewrites the two-row Storefront header into a minimal single bar:
   logo (left) + centered nav + search & cart icons (right).
   ====================================================================== */
#masthead.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #1d1d1f;
  padding: 0;
  margin-bottom: 0; /* Storefront adds a ~68px bottom margin — remove it */
  min-height: 48px;
  display: block;
  border-bottom: none;
  transition: background-color 0.3s ease, -webkit-backdrop-filter 0.3s ease, backdrop-filter 0.3s ease;
}
/* Once the header scrolls down and overlaps page content, switch to a
   75%-opacity frosted-glass bar (blur). Toggled via JS `.is-scrolled`. */
#masthead.site-header.is-scrolled {
  background-color: rgba(29, 29, 31, 0.75);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
}

/* Neutralise the wrappers so they don't add rows or constrain width. */
#masthead.site-header > .col-full {
  position: static;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  float: none;
  clear: none;
  background: transparent;
  display: block;
}
#masthead.site-header .storefront-primary-navigation {
  position: static;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  float: none;
  clear: none;
  background: transparent;
  display: block;
}
#masthead.site-header .storefront-primary-navigation > .col-full {
  position: static;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  float: none;
  clear: none;
  background: transparent;
  display: block;
}

/* Logo — pinned left, small and clean. */
#masthead.site-header .site-branding {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  float: none;
  margin: 0;
  z-index: 10;
}
#masthead.site-header .site-branding img.custom-logo {
  max-height: 28px;
  width: auto;
  max-width: 140px;
  display: block;
}

/* Nav — centered single row of small grey links. */
#masthead.site-header .main-navigation {
  display: block;
  width: 100%;
  float: none;
  clear: none;
  margin: 0;
  text-align: center;
  z-index: 9;
}
#masthead.site-header .main-navigation .primary-navigation {
  display: inline-block;
  width: auto;
}
#masthead.site-header .main-navigation ul.menu,
#masthead.site-header .main-navigation ul.nav-menu {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: auto;
}
#masthead.site-header .main-navigation ul.menu > li,
#masthead.site-header .main-navigation ul.nav-menu > li {
  margin: 0;
  display: block;
}
#masthead.site-header .main-navigation ul.menu > li > a,
#masthead.site-header .main-navigation ul.nav-menu > li > a {
  color: #d2d2d7;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1px;
  padding: 12px 14px;
  white-space: nowrap;
  transition: color 0.2s ease;
  background: transparent !important;
}
#masthead.site-header .main-navigation ul.menu > li > a:hover,
#masthead.site-header .main-navigation ul.nav-menu > li > a:hover {
  color: #ffffff;
  background: transparent !important;
}
/* Remove the current-menu-item highlight that Storefront paints. */
#masthead.site-header .main-navigation ul.menu > li.current-menu-item > a,
#masthead.site-header .main-navigation ul.menu > li.current_page_item > a {
  color: #ffffff;
  background: transparent !important;
}

/* Hide the mobile menu-toggle button on desktop (we use the inline menu). */
#masthead.site-header button.menu-toggle {
  display: none;
}

/* Search — collapse the input into a magnifier icon; expands on click. */
#masthead.site-header .site-search {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  float: none;
  clear: none;
  margin: 0;
  font-size: 1rem;
  z-index: 11;
}
#masthead.site-header .site-search .widget {
  margin: 0;
}
#masthead.site-header .site-search .woocommerce-product-search {
  position: relative;
}
/* Hide the visible form; show an icon via the search-submit button label. */
#masthead.site-header .site-search .search-field {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  opacity: 0;
  pointer-events: none;
  padding: 8px 40px 8px 12px;
  border: none;
  border-radius: 18px;
  background: #2c2c2e;
  color: #fff;
  font-size: 14px;
  transition: width 0.25s ease, opacity 0.25s ease;
}
#masthead.site-header .site-search.is-open .search-field {
  width: 220px;
  opacity: 1;
  pointer-events: auto;
}
#masthead.site-header .site-search .search-field::placeholder {
  color: #86868b;
}
/* Storefront renders the magnifier via .widget_product_search form::before
   (a FontAwesome search glyph, grey by default). Recolour it to white to
   match the cart icon. Our button ::before icon is hidden by Storefront's
   clip-path on #searchsubmit, so this is the icon that actually shows. */
#masthead.site-header .site-search .widget_product_search form::before,
#masthead.site-header .site-search .widget_search form::before {
  color: #ffffff !important;
}
#masthead.site-header .site-search .widget_product_search form::before {
  top: 50%;
  left: 9px;
  transform: translateY(-50%);
}
/* The submit button doubles as the magnifier icon. */
#masthead.site-header .site-search button[type="submit"] {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}
#masthead.site-header .site-search button[type="submit"]::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
#masthead.site-header .site-search button[type="submit"]::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 21px;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
#masthead.site-header .site-search button[type="submit"]:hover {
  color: #ffffff !important;
}

/* Cart — icon only. Draw a clean bag icon in pure CSS (::before SVG data-URI)
   so it survives WooCommerce's cart-fragment AJAX refresh. All Storefront
   text, tooltip and the hover mini-cart dropdown are hidden. */
#masthead.site-header .site-header-cart {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  float: none;
  margin: 0;
  list-style: none;
  z-index: 11;
}
#masthead.site-header .site-header-cart > li {
  list-style: none;
  margin: 0;
}
#masthead.site-header .site-header-cart .cart-contents {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 36px;
  height: 36px;
  position: relative;
  color: #ffffff;
  font-size: 0;            /* hide "$0.00 0 items" text */
  overflow: hidden;
  line-height: 0;
  text-indent: 0;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}
#masthead.site-header .site-header-cart .cart-contents:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
/* Hide the $ amount, item count, and any nested spans entirely. */
#masthead.site-header .site-header-cart .cart-contents .count,
#masthead.site-header .site-header-cart .cart-contents .amount,
#masthead.site-header .site-header-cart .cart-contents span {
  display: none;
}
/* Neutralise any Storefront FontAwesome icon on the cart link. */
#masthead.site-header .site-header-cart .cart-contents::after {
  content: none !important;
  display: none !important;
}
/* Draw the bag icon via ::before — a crisp inline SVG that uses the
   current text colour, so it inherits the hover colour too. */
#masthead.site-header .site-header-cart .cart-contents::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  font-size: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1 13H5L6 7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1 13H5L6 7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Hide the hover mini-cart dropdown panel entirely (second <li>). */
#masthead.site-header .site-header-cart > li:not(:first-child),
#masthead.site-header .site-header-cart .widget_shopping_cart {
  display: none !important;
}

/* Remove the leftover bottom margin Storefront adds to header children. */
#masthead.site-header .site-branding,
#masthead.site-header .site-search,
#masthead.site-header .site-header-cart {
  margin-bottom: 0;
}

/* ======================================================================
   SITE-WIDE HERO SYNC (must come LAST so it wins over the section hero
   rules that also set `margin`/`padding`, e.g. `.oem-hero { margin:0 }`).
   All interior heroes (OEM / Wholesale / About / Contact) mirror the home
   `.carfu-hero`: navy gradient, edge-to-edge width, 96px padding.
   ====================================================================== */
.oem-hero,
.ws-hero,
.ab-hero,
.ct-hero {
  background: linear-gradient(135deg, var(--carfu-navy) 0%, var(--carfu-navy-2) 100%);
  padding: 96px 0;
  width: 100vw;
  margin: 0 0 0 calc(50% - 50vw); /* override any `margin:0` on .oem-hero */
}

/* Hide Storefront's breadcrumb on interior pages so the hero sits flush
   against the header, matching the home page. */
.storefront-breadcrumb {
  display: none;
}

/* Remove the purple focus ring / outline on header nav links after click
   (WordPress accessibility default). Keep :focus-visible for keyboard tab. */
#masthead.site-header .main-navigation a:focus,
#masthead.site-header .main-navigation a:active,
#masthead.site-header .site-header-cart a:focus,
#masthead.site-header .site-header-cart a:active {
  outline: none;
  box-shadow: none;
}

/* ======================================================================
   GLOBAL INTERACTIVE HOVER — Apple-style micro-zoom + soft shadow
   Every clickable button / card / box lifts slightly (scale) and gains a
   faint shadow on hover, with a smooth transition.
   ====================================================================== */

/* --- Buttons --- */
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
ul.products li.product .button,
.carfu-rfq-button,
.carfu-rfq-form .button,
.btn-primary,
.ws-btn,
.ab-btn,
.oem-tl-btn,
.oem-cta-band .btn-primary,
.ct-submit,
.pushbutton-wide,
.opt-btn,
.carfu-modal-lookup-link {
  transition: transform 0.36s ease, box-shadow 0.36s ease;
  will-change: transform;
}
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
ul.products li.product .button:hover,
.carfu-rfq-button:hover,
.carfu-rfq-form .button:hover,
.btn-primary:hover,
.ws-btn:hover,
.ab-btn:hover,
.oem-tl-btn:hover,
.oem-cta-band .btn-primary:hover,
.ct-submit:hover,
.pushbutton-wide:hover,
.opt-btn:hover,
.carfu-modal-lookup-link:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(31, 38, 71, 0.16);
}

/* --- Cards / boxes / tiles --- */
.oem-lead-card,
.oem-cap-card,
.oem-tl-item,
.ws-serve-card,
.ws-benefit-card,
.ws-cat-card,
.ab-num-card,
.ab-ms-item,
.ab-cert-card,
.ab-inside-item,
.ab-client-card,
.ct-card,
.smp-img-card,
.smp-video-box,
.smp-decision-card,
.fb-card,
.mold-stage-card,
.mold-confirm-box,
.qc-card,
.qc-video-box,
.qc-detail-item,
.qc-sig-box,
.dly-card,
.dly-ship-item {
  transition: transform 0.36s ease, box-shadow 0.36s ease;
  will-change: transform;
}
.oem-lead-card:hover,
.oem-cap-card:hover,
.oem-tl-item:hover,
.ws-serve-card:hover,
.ws-benefit-card:hover,
.ws-cat-card:hover,
.ab-num-card:hover,
.ab-ms-item:hover,
.ab-cert-card:hover,
.ab-inside-item:hover,
.ab-client-card:hover,
.ct-card:hover,
.smp-img-card:hover,
.smp-video-box:hover,
.smp-decision-card:hover,
.fb-card:hover,
.mold-stage-card:hover,
.mold-confirm-box:hover,
.qc-card:hover,
.qc-video-box:hover,
.qc-detail-item:hover,
.qc-sig-box:hover,
.dly-card:hover,
.dly-ship-item:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 30px rgba(31, 38, 71, 0.12);
}

/* ======================================================================
   CARD BORDER REMOVAL — drop the 1px border line on all card/tile/box
   surfaces and replace it with a faint surrounding shadow instead.
   Note: .carfu-category-card is excluded — it keeps its thin border.
   ====================================================================== */
.oem-lead-card,
.oem-cap-card,
.oem-tl-item,
.ws-serve-card,
.ws-benefit-card,
.ws-cat-card,
.ab-num-card,
.ab-ms-item,
.ab-cert-card,
.ab-inside-item,
.ab-client-card,
.ct-card,
.smp-img-card,
.smp-video-box,
.smp-decision-card,
.fb-card,
.mold-stage-card,
.mold-confirm-box,
.qc-card,
.qc-video-box,
.qc-detail-item,
.qc-sig-box,
.dly-card,
.dly-ship-item {
  border: none;
  box-shadow: 0 2px 10px rgba(31, 38, 71, 0.07);
}

/* ======================================================================
   GLOBAL BUTTON RADIUS — round every button's corners (no sharp corners)
   ====================================================================== */
.button,
button,
input[type="submit"],
input[type="button"],
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
ul.products li.product .button,
.carfu-hero .button,
.carfu-rfq-button,
.carfu-rfq-form .button,
.btn-primary,
.ws-btn,
.ws-submit,
.ab-btn,
.oem-tl-btn,
.oem-cta-band .btn-primary,
.ct-submit,
.pushbutton-wide,
.opt-btn,
.fb-submit,
.carfu-modal-lookup-link {
  border-radius: 8px !important;
}

/* ----------------------------------------------------------------------
   Remove purple focus ring on click for category cards & product links.
   ---------------------------------------------------------------------- */
.carfu-category-card,
.carfu-category-card:focus,
.carfu-category-card:focus-visible,
.carfu-category-card:active,
.carfu-product-thumb,
.carfu-product-thumb:focus,
.carfu-product-thumb:focus-visible,
.carfu-product-thumb:active,
.carfu-product-title a,
.carfu-product-title a:focus,
.carfu-product-title a:focus-visible,
.carfu-product-title a:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* ----------------------------------------------------------------------
   Model strip on product category pages (above "Explore the lineup").
   Pure-white background with a large, bold Apple-style "{Category} Series"
   heading on top; the cards themselves reuse the homepage category-card look.
   ---------------------------------------------------------------------- */
.carfu-model-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  background: #fff;
  padding-top: 80px;
}
/* Category pages: drop Storefront's default .site-main top padding (grey)
   so the white model strip sits flush under the header — no grey band above
   the "{Category} Series" heading. Also collapse the empty WooCommerce
   products header (its title is already hidden, but it still reserves height). */
body.tax-product_cat .site-main {
  padding-top: 0;
}
body.tax-product_cat .woocommerce-products-header {
  display: none;
}
.carfu-model-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}
.carfu-model-strip-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.15;
  color: #1d1d1f;
  margin: 0 0 24px;
}
.carfu-model-strip .carfu-category-scroller {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 0;
}
.carfu-model-strip .carfu-category-grid {
  padding: 4px 2px 20px;
}
@media (max-width: 768px) {
  .carfu-model-strip-title {
    font-size: 32px;
  }
}

/* --- Model strip: 70% downscale of the category cards + label wrap --- */
.carfu-model-strip .carfu-category-card {
  width: 140px;
  gap: 10px;
}
.carfu-model-strip .carfu-category-media {
  padding: 13px 10px;
}
.carfu-model-strip .carfu-category-card img {
  height: 91px;
}
.carfu-model-strip .carfu-category-name {
  font-size: 12px;
  line-height: 1.3;
  /* Keep the label within the product image width (media box minus its
     horizontal padding). Overflowing text wraps to two centred lines. */
  max-width: 120px;
  width: 120px;
  overflow-wrap: break-word;
  word-break: break-word;
}
