/* ==========================================================================
   Madsen Performance — Design Tokens
   ========================================================================== */
:root {
  --ink: #121315;
  --ink-soft: #4a4d53;
  --gray-600: #666666;
  --gray-400: #8c8f96;
  --gray-200: #e4e5e8;
  --gray-100: #f4f4f6;
  --white: #ffffff;
  --near-black: #0d0d0f;
  --near-black-alt: #151517;
  --line-dark: rgba(255,255,255,0.1);

  --orange: #f55b1f;
  --orange-600: #dd4c14;
  --coral: #ff9a8f;
  --orange-glow: rgba(245, 91, 31, 0.28);

  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 0px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--gray-600);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; color: var(--gray-600); }

::selection { background: var(--orange); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ==========================================================================
   Reusable elements
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 14px;
}
.section-dark .eyebrow,
.hero .eyebrow { color: var(--coral); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 600;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--orange-glow);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--gray-200);
}
.btn-outline:hover { border-color: var(--ink); transform: translateY(-1px); }
.section-dark .btn-outline, .hero .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.section-dark .btn-outline:hover, .hero .btn-outline:hover { border-color: var(--white); }
.btn-sm { padding: 11px 20px; font-size: 12.5px; }
.btn-block { width: 100%; justify-content: center; }

.section { padding: 110px 0; }
.section-alt { background: var(--gray-100); }
.section-dark {
  background: var(--near-black);
  color: var(--gray-400);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--gray-400); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-title { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
.section-lead { margin-top: 18px; font-size: 17px; color: var(--gray-600); }
.section-dark .section-lead { color: var(--gray-400); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.3s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 34px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 190px 0 0;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #1a1b1e 0%, var(--near-black) 60%);
  color: var(--gray-400);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 65%);
  opacity: 0.5;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,0.9) 25%, transparent 85%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
}
.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.08;
  margin-top: 10px;
  color: var(--white);
  font-weight: 700;
}
.hero-title .accent { color: var(--orange); }
.hero-sub {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: 17px;
  color: var(--gray-400);
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.manifest {
  position: relative;
  z-index: 1;
  margin-top: 96px;
  border-top: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.03);
}
.manifest-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 30px 28px;
  flex-wrap: wrap;
}
.manifest-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 40px;
}
.manifest-value {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.manifest-div {
  width: 1px;
  height: 28px;
  background: var(--line-dark);
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 90px;
}
.about-copy .btn { margin-top: 30px; }

.about-badge { display: flex; justify-content: center; }
.stamp { width: 220px; height: 220px; color: var(--gray-200); }
.stamp-ring-outer { fill: none; stroke: var(--gray-200); stroke-width: 1; }
.stamp-ring-inner { fill: none; stroke: var(--orange); stroke-width: 1; stroke-dasharray: 2 4; opacity: 0.5; }
.stamp-text {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  fill: var(--gray-400);
  text-transform: uppercase;
}
.stamp-mp {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  fill: var(--ink);
  text-anchor: middle;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
.advantage-card {
  background: var(--white);
  padding: 32px 26px;
  border-top: 2px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.advantage-card:hover { border-top-color: var(--orange); background: var(--gray-100); }
.advantage-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--ink);
  margin-bottom: 18px;
}
.advantage-card h3 {
  font-size: 17px;
  margin: 4px 0 10px;
}
.advantage-card p { font-size: 14.5px; }

/* ==========================================================================
   Services — what we do
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
.service-card {
  background: var(--white);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s var(--ease);
}
.service-card:hover { background: var(--gray-100); }
.service-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.service-card p { font-size: 14.5px; }

/* ==========================================================================
   How it works
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--gray-200);
}
.step { position: relative; }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--orange);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 14.5px; }

/* ==========================================================================
   Request / Contact form
   ========================================================================== */
.apply-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.apply-list { margin-top: 26px; }
.apply-list li {
  font-size: 14.5px;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}
.apply-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 1px;
  background: var(--orange);
}

.apply-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 40px;
}
.form-row { margin-bottom: 20px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.apply-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form textarea {
  width: 100%;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}
.apply-form input:focus, .apply-form textarea:focus {
  border-color: var(--orange);
  outline: none;
}
.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--gray-400);
  text-align: center;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.contact-cards { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  border: 1px solid var(--line-dark);
  padding: 26px;
  background: var(--near-black-alt);
}
.contact-card p { font-size: 17px; color: var(--white); }
.contact-card a:hover { color: var(--orange); }
.contact-map {
  border: 1px solid var(--line-dark);
  overflow: hidden;
  min-height: 320px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--near-black);
  padding: 70px 0 0;
  color: var(--gray-400);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand .brand-logo { height: 56px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: var(--gray-400); }
.footer-heading {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact p, .footer-contact a {
  font-size: 14.5px;
  color: var(--gray-400);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 28px;
  margin-top: 20px;
}
.footer-bottom p { font-size: 12.5px; color: var(--gray-400); text-align: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 20px 28px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-200);
  }

  .about-grid { grid-template-columns: 1fr; }
  .about-badge { order: -1; }
  .advantages-grid { grid-template-columns: 1fr 1fr; }

  .services-grid { grid-template-columns: 1fr 1fr; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 46px; }
  .steps::before { display: none; }

  .apply-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 76px 0; }
  .advantages-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .manifest-item { padding: 0 18px; }
  .form-row-split { grid-template-columns: 1fr; }
  .hero { padding-top: 150px; }
}

/* ==========================================================================
   Products — shared page chrome
   ========================================================================== */
.main-nav a.is-active { color: var(--ink); }
.main-nav a.is-active::after { width: 100%; }

.page-hero {
  position: relative;
  padding: 140px 0 56px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, #1a1b1e 0%, var(--near-black) 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.08; color: var(--white); }
.page-hero h1 .accent { color: var(--orange); }
.page-hero .section-lead { max-width: 560px; margin-top: 14px; font-size: 16px; color: var(--gray-400); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-hidden] { opacity: 0.5; }
.breadcrumb [aria-current] { color: var(--coral); }

/* ==========================================================================
   Products — image carousel
   ========================================================================== */
.carousel { position: relative; height: 100%; }
.carousel-viewport { display: block; overflow: hidden; height: 100%; touch-action: pan-y; }
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}
.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7%;
  user-select: none;
  -webkit-user-drag: none;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  margin-top: -19px;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px -8px rgba(18,19,21,0.35);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}
.carousel-dots button {
  pointer-events: auto;
  width: 18px;
  height: 3px;
  padding: 0;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  transition: background 0.2s var(--ease), width 0.2s var(--ease);
}
.carousel-dots button[aria-current="true"] { background: var(--orange); width: 26px; }
.carousel-count {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--gray-200);
  padding: 4px 9px;
}
/* On cards, arrows appear on hover; always visible on touch screens */
.product-card .carousel-btn { opacity: 0; }
.product-card:hover .carousel-btn,
.product-card .carousel-btn:focus-visible { opacity: 1; }
@media (hover: none) { .product-card .carousel-btn { opacity: 1; } }

/* ==========================================================================
   Products — catalog
   ========================================================================== */
.catalog { padding: 48px 0 100px; }

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--gray-200);
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
}
.order-steps li {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border-right: 1px solid var(--gray-200);
}
.order-steps li:last-child { border-right: none; }
.order-steps span {
  flex: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  padding-top: 1px;
}
.order-steps strong { display: block; font-family: var(--font-display); font-size: 14.5px; color: var(--ink); margin-bottom: 3px; }
.order-steps p { font-size: 13px; line-height: 1.5; }

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr 170px 260px;
  gap: 16px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 22px;
}
.filter-group label,
.filter-label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.catalog-toolbar > * { min-width: 0; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink-soft);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip-count { opacity: 0.55; margin-left: 6px; }

.field {
  width: 100%;
  min-height: 42px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}
.field:focus { border-color: var(--orange); outline: none; }
select.field {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  font-size: 14px;
}
.catalog-meta strong { color: var(--ink); }
.link-reset {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  cursor: pointer;
}
.link-reset:hover { color: var(--orange-600); }
.link-reset[hidden] { display: none; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.product-card:hover { border-color: var(--gray-400); box-shadow: 0 18px 40px -26px rgba(18,19,21,0.4); }
.product-card[hidden] { display: none; }
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  padding: 5px 9px;
  pointer-events: none;
}
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}
.product-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.product-card h3 { font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.product-card h3 a:hover { color: var(--orange); }
.product-fit { font-size: 13.5px; line-height: 1.55; margin-bottom: 16px; }
.product-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: 13px;
  padding: 14px 0;
  border-top: 1px solid var(--gray-200);
  margin: auto 0 16px;
}
.product-specs dt { color: var(--gray-400); }
.product-specs dd { margin: 0; color: var(--ink); font-weight: 500; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-actions .btn { justify-content: center; padding: 12px 12px; font-size: 13px; box-shadow: none; }

.product-card-cta {
  background: var(--near-black);
  border-color: var(--near-black);
  justify-content: center;
  padding: 36px 30px;
}
.product-card-cta:hover { border-color: var(--orange); }
.product-card-cta h3 { color: var(--white); font-size: 22px; }
.product-card-cta p { color: var(--gray-400); font-size: 14.5px; margin: 12px 0 26px; }
.product-card-cta .eyebrow { color: var(--coral); }
.product-card-cta .btn { align-self: flex-start; }

.catalog-empty {
  border: 1px dashed var(--gray-200);
  padding: 48px 24px;
  text-align: center;
}
.catalog-empty h3 { font-size: 19px; margin-bottom: 8px; }
.catalog-empty p { margin-bottom: 20px; }
.catalog-empty[hidden] { display: none; }

.brand-note { margin-top: 40px; font-size: 12px; color: var(--gray-400); }

/* ==========================================================================
   Products — detail page
   ========================================================================== */
.pdp { padding: 116px 0 80px; }
.pdp .breadcrumb a:hover { color: var(--ink); }
.pdp .breadcrumb [aria-current] { color: var(--orange); }

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.carousel-lg {
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.carousel-lg .carousel-track img { padding: 6%; }
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.gallery-thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  overflow: hidden;
  opacity: 0.7;
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gallery-thumb:hover { opacity: 1; border-color: var(--gray-400); }
.gallery-thumb[aria-current="true"] { opacity: 1; border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.gallery-note { margin-top: 12px; font-size: 12px; color: var(--gray-400); }

.pdp-info { position: sticky; top: 104px; }
.pdp-info h1 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.12; margin-bottom: 14px; }
.pdp-summary { font-size: 16px; margin-bottom: 24px; }
.pdp-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--gray-200);
  margin: 0 0 24px;
}
.pdp-meta div { padding: 13px 16px; border-right: 1px solid var(--gray-200); }
.pdp-meta div:last-child { border-right: none; }
.pdp-meta dt {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 3px;
}
.pdp-meta dd { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 15px; }
.pdp-features { margin-bottom: 28px; }
.pdp-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.pdp-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 11px; height: 2px;
  background: var(--orange);
}
.pdp-cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-bottom: 18px; }
.pdp-cta .btn { justify-content: center; }

.order-box {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 18px 20px;
}
.order-box-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.order-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-glow); }
.order-box strong { font-family: var(--font-display); font-size: 14.5px; color: var(--ink); }
.order-box p { font-size: 13.5px; line-height: 1.55; }
.order-box-call { margin-top: 8px; }
.order-box a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--orange); }
.order-box a:hover { color: var(--orange); }

.pdp-tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pdp-tabs a {
  flex: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0 0 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.pdp-tabs a:hover { color: var(--ink); border-bottom-color: var(--orange); }

.pdp-section { scroll-margin-top: 100px; margin-bottom: 64px; }
.pdp-section:last-child { margin-bottom: 0; }
.pdp-section > h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 18px; }
.pdp-prose { max-width: 760px; }
.pdp-prose p { font-size: 15.5px; margin-bottom: 16px; }
.pdp-prose h3 { font-size: 17px; margin: 28px 0 10px; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin: 30px 0 0;
}
.spec-grid div { background: var(--white); padding: 20px; }
.spec-grid dt {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.spec-grid dd { margin: 0; font-size: 14px; color: var(--ink); }

.fitment-table-wrap { overflow-x: auto; border: 1px solid var(--gray-200); background: var(--white); }
.fitment-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.fitment-table th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--gray-100);
  padding: 13px 18px;
  border-bottom: 1px solid var(--gray-200);
}
.fitment-table td { padding: 12px 18px; border-bottom: 1px solid var(--gray-200); color: var(--gray-600); vertical-align: top; }
.fitment-table tr:last-child td { border-bottom: none; }
.fitment-table td:first-child { font-family: var(--font-display); font-weight: 600; color: var(--ink); white-space: nowrap; }
.fitment-table td:nth-child(2) { color: var(--ink); font-weight: 500; }
.fitment-table tbody tr:hover td { background: var(--gray-100); }
.fit-flag { color: var(--orange-600); font-weight: 600; }

.fitment-warning {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--orange);
  color: var(--ink-soft);
  font-size: 14px;
}
.fitment-warning strong { font-family: var(--font-display); color: var(--ink); }

.contents-list { display: grid; gap: 8px; max-width: 640px; }
.contents-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 13px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.contents-list .qty { flex: none; font-family: var(--font-display); font-weight: 700; color: var(--orange); min-width: 26px; }

.inquire-product {
  margin-top: 26px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--orange);
}
.inquire-product .eyebrow { margin-bottom: 4px; }
.inquire-product p { color: var(--ink); font-family: var(--font-display); font-weight: 600; }

.apply-form select.field { background-color: var(--gray-100); }
.form-row-split-3 { grid-template-columns: 2fr 1fr; }
.form-note a { color: var(--orange); }

/* Featured products strip on the home page */
#products { padding-bottom: 0; }
.featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.featured-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 18px;
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.featured-card:hover { border-color: var(--gray-400); box-shadow: 0 18px 40px -26px rgba(18,19,21,0.4); }
.featured-card img { aspect-ratio: 1 / 1; object-fit: contain; }
.featured-card h3 { font-size: 17px; line-height: 1.3; margin-bottom: 6px; }
.featured-card p { font-size: 13.5px; }
.featured-more { margin-top: 32px; }

@media (max-width: 960px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .catalog-toolbar { grid-template-columns: 1fr 1fr; }
  .catalog-toolbar .filter-group-cats { grid-column: 1 / -1; }
  .order-steps { grid-template-columns: 1fr 1fr; }
  .order-steps li:nth-child(2) { border-right: none; }
  .order-steps li:nth-child(-n+2) { border-bottom: 1px solid var(--gray-200); }

  .pdp { padding-top: 104px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery { max-width: 460px; width: 100%; margin: 0 auto; }
  .pdp-info { position: static; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .page-hero { padding: 116px 0 40px; }
  .catalog { padding: 32px 0 72px; }
  .order-steps { grid-template-columns: 1fr; margin-bottom: 32px; }
  .order-steps li { border-right: none; border-bottom: 1px solid var(--gray-200); padding: 14px 16px; }
  .order-steps li:last-child { border-bottom: none; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -28px; padding: 0 28px 4px; scrollbar-width: none; }
  .chip { flex: none; }
  .product-grid { grid-template-columns: 1fr; }
  .gallery-thumb { width: 54px; height: 54px; }
  .pdp-meta { grid-template-columns: 1fr 1fr 1fr; }
  .pdp-meta div { padding: 11px 12px; }
  .pdp-meta dd { font-size: 14px; }
  .pdp-cta { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .form-row-split-3 { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 96px 1fr; gap: 16px; padding: 14px; }
}
