:root{--primary:#F58220;--secondary:#2A1F16;--bg:#ffffff;--text:#222222;--muted:#666666;--radius:10px;--font-head:'Oswald',sans-serif;--font-body:'Source Sans 3',sans-serif}
*{box-sizing:border-box}body{margin:0;font-family:var(--font-body);background:var(--bg);color:var(--text);line-height:1.6}
h1,h2,h3,h4{font-family:var(--font-head);line-height:1.15;margin:0 0 .5em}h1{font-size:clamp(2.2rem,5vw,3.8rem)}h2{font-size:clamp(1.6rem,3vw,2.4rem)}
a{color:var(--primary)}img{max-width:100%;display:block}.container{max-width:1160px;margin:0 auto;padding:0 24px}.narrow{max-width:760px}
.center{text-align:center}.muted{color:var(--muted)}.mf-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.btn{display:inline-block;padding:.8em 1.4em;border-radius:var(--radius);font-weight:600;text-decoration:none;border:2px solid var(--primary);cursor:pointer;font:inherit;font-weight:600}
.btn-primary{background:var(--primary);color:#fff}.btn-ghost{color:var(--primary);background:transparent}.btn-sm{padding:.45em 1em;font-size:.875rem}
.mf-topbar{background:var(--secondary);color:#fff;font-size:.85rem;padding:8px 0}.mf-topbar a{color:#fff;margin-left:14px;text-decoration:none}.mf-topbar .btn{border-color:#fff}
.mf-header{background:var(--bg);border-bottom:1px solid rgba(127,127,127,.2);padding:14px 0;z-index:10}.mf-header.sticky{position:sticky;top:0}
.mf-logo{font-family:var(--font-head);font-weight:700;font-size:1.3rem;color:var(--text);text-decoration:none}.mf-logo img{height:40px}
.mf-nav{display:flex;gap:22px;align-items:center}.mf-nav a{color:var(--text);text-decoration:none;font-weight:500}.mf-nav a[aria-current]{color:var(--primary)}.mf-nav .btn{color:#fff}
.mf-burger{display:none;background:none;border:0;font-size:1.6rem;color:var(--text);cursor:pointer}
@media(max-width:760px){.mf-burger{display:block}.mf-header .mf-row{flex-wrap:wrap}.mf-nav{display:none;width:100%;flex-direction:column;align-items:flex-start;padding-top:12px}.mf-header .open .mf-nav{display:flex}.mf-topbar .mf-row{flex-direction:column}}
.mf-hero{padding:96px 0}.mf-hero .eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;color:var(--primary);font-weight:700}.lead{font-size:1.2rem;color:var(--muted);max-width:620px}
.mf-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.mf-hero.centered{background-size:cover;background-position:center;color:#fff;text-align:center;padding:150px 0}
.mf-hero.centered .lead{color:#eee;margin:0 auto}.mf-hero.centered .mf-actions{justify-content:center}.mf-hero.minimal{padding:140px 0 100px}.mf-hero.minimal h1{font-size:clamp(2.8rem,7vw,5.5rem)}
.mf-split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}.mf-split img{border-radius:var(--radius);width:100%;aspect-ratio:4/3;object-fit:cover}.mf-split.reverse>img{order:-1}
@media(max-width:760px){.mf-split{grid-template-columns:1fr}.mf-split.reverse>img{order:0}.mf-hero{padding:60px 0}}
.mf-section{padding:80px 0}.mf-section.alt{background:rgba(127,127,127,.07)}.mf-grid{display:grid;gap:24px;margin-top:40px}.cols-2{grid-template-columns:repeat(2,1fr)}.cols-3{grid-template-columns:repeat(3,1fr)}.cols-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:760px){.mf-grid{grid-template-columns:1fr}}.mf-card{padding:28px;border:1px solid rgba(127,127,127,.2);border-radius:var(--radius)}.mf-icon{font-size:1.6rem;color:var(--primary);margin-bottom:10px}.mf-card p{color:var(--muted);margin:0}
.mf-faq{border-bottom:1px solid rgba(127,127,127,.25);padding:18px 0}.mf-faq summary{font-weight:600;cursor:pointer;font-size:1.05rem}.mf-faq p{color:var(--muted)}
.mf-form{display:grid;gap:16px;margin-top:28px}.mf-form label{display:grid;gap:6px;font-weight:600;font-size:.9rem}.mf-form input,.mf-form textarea{font:inherit;padding:12px;border:1px solid rgba(127,127,127,.35);border-radius:var(--radius);background:transparent;color:inherit}
.mf-footer{background:var(--secondary);color:#ddd;padding:60px 0 24px}.mf-footer strong{color:#fff;font-size:1.2rem}.mf-footer h4{color:#fff}.mf-footer a{display:block;color:#ddd;text-decoration:none;margin:6px 0}
.mf-footer-grid{display:grid;grid-template-columns:2fr repeat(auto-fit,minmax(140px,1fr));gap:32px}.mf-copy{border-top:1px solid rgba(255,255,255,.15);margin-top:40px;padding-top:20px;font-size:.85rem}
@media(max-width:760px){.mf-footer-grid{grid-template-columns:1fr}}
:where(.dx) .hero{padding:0;margin-top:20px}:where(.dx) .hero-slider{position:relative;height:520px;overflow:hidden;border-radius:var(--radius);background:#111}
:where(.dx) .slide{position:absolute;inset:0;background-size:cover;background-position:center;display:flex;align-items:center;opacity:0;visibility:hidden;transition:opacity .8s ease}:where(.dx) .slide.active{opacity:1;visibility:visible}
:where(.dx) .hero-content{max-width:600px;margin:0 60px;color:#fff}:where(.dx) .slide-title{font-size:clamp(2rem,5vw,3.6rem);color:#fff;margin:0}:where(.dx) .hero-content p{margin-top:1rem;font-size:1.2rem}
:where(.dx) .hero-buttons{display:flex;flex-wrap:wrap;gap:15px;margin-top:25px}:where(.dx) .hero-buttons a{display:inline-block;padding:14px 28px;font-weight:700;text-transform:uppercase;text-decoration:none;border-radius:var(--radius)}
:where(.dx) .hero-buttons .btn-primary{background:var(--primary);color:#fff}:where(.dx) .hero-buttons .btn-secondary{background:#fff;color:#111}
:where(.dx) .slider-btn{position:absolute;bottom:30px;width:50px;height:50px;border:0;border-radius:50%;background:rgba(255,255,255,.9);font-size:1.2rem;cursor:pointer;z-index:2}:where(.dx) .prev{right:90px}:where(.dx) .next{right:30px}
:where(.dx) .slider-dots{position:absolute;bottom:45px;left:60px;display:flex;gap:10px;z-index:2}:where(.dx) .dot{width:12px;height:12px;border:0;padding:0;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer}:where(.dx) .dot.active{background:var(--primary)}
:where(.dx) .search-strip{background:var(--secondary);padding:15px 0;margin-top:10px}:where(.dx) .search-grid{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px}
:where(.dx) .search-grid input,:where(.dx) .search-grid select{width:100%;min-height:48px;padding:0 14px;border:0;border-radius:var(--radius);font:inherit}:where(.dx) .search-grid button{min-height:48px;padding:0 30px;border:0;border-radius:var(--radius);background:var(--primary);color:#fff;font:inherit;font-weight:700;text-transform:uppercase;cursor:pointer}
:where(.dx) .section-title{text-align:center;margin:60px 0 25px}:where(.dx) .section-title h2{text-transform:uppercase;margin:0}
:where(.dx) .categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px}:where(.dx) .category-card{position:relative;display:block;height:200px;overflow:hidden;border-radius:var(--radius)}
:where(.dx) .category-card img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}:where(.dx) .category-card:hover img{transform:scale(1.08)}:where(.dx) .category-label{position:absolute;inset:auto 0 0 0;padding:12px;background:rgba(0,0,0,.65);color:#fff;font-family:var(--font-head);font-weight:700;text-align:center}
:where(.dx) .trust-bar{background:rgba(127,127,127,.08);margin-top:45px}:where(.dx) .trust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}:where(.dx) .trust-item{text-align:center;padding:25px}:where(.dx) .trust-item h3{margin-bottom:8px}:where(.dx) .trust-item p{margin:0;color:var(--muted)}
:where(.dx) .promotions,:where(.dx) .product-grid{display:grid;gap:20px}:where(.dx) .promotions.cols-2,:where(.dx) .product-grid.cols-2{grid-template-columns:repeat(2,1fr)}:where(.dx) .promotions.cols-3,:where(.dx) .product-grid.cols-3{grid-template-columns:repeat(3,1fr)}:where(.dx) .promotions.cols-4,:where(.dx) .product-grid.cols-4{grid-template-columns:repeat(4,1fr)}
:where(.dx) .promo-card,:where(.dx) .product-card{border:1px solid rgba(127,127,127,.25);background:#fff;border-radius:var(--radius);overflow:hidden}:where(.dx) .promo-card a,:where(.dx) .product-card a{color:inherit;text-decoration:none;display:block}
:where(.dx) .promo-card img{width:100%;height:220px;object-fit:cover}:where(.dx) .promo-body{padding:20px}:where(.dx) .promo-card p{margin:0;color:var(--muted)}
:where(.dx) .product-card{padding:15px}:where(.dx) .product-card img{width:100%;height:220px;object-fit:contain}:where(.dx) .product-card h3{margin-top:15px;font-size:1.1rem}:where(.dx) .product-card strong{display:block;margin-top:10px;color:var(--primary)}
:where(.dx) .brand-section{background:var(--secondary);color:#fff;padding:50px 0;margin-top:50px}:where(.dx) .brand-section .section-title{margin-top:0}:where(.dx) .brand-section .section-title h2{color:#fff}
:where(.dx) .brand-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px}:where(.dx) .brand{display:flex;align-items:center;justify-content:center;min-height:90px;padding:15px;background:#fff;color:#111;font-family:var(--font-head);font-weight:700;font-size:1.3rem;text-decoration:none;border-radius:var(--radius)}:where(.dx) .brand img{max-height:60px;object-fit:contain}
@media(max-width:1024px){:where(.dx) .promotions[class*=cols-]{grid-template-columns:1fr}:where(.dx) .product-grid[class*=cols-]{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){:where(.dx) .hero-slider{height:420px}:where(.dx) .hero-content{margin:0 25px}:where(.dx) .hero-buttons{flex-direction:column;align-items:flex-start}:where(.dx) .search-grid{grid-template-columns:1fr}:where(.dx) .product-grid[class*=cols-]{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){:where(.dx) .slide,:where(.dx) .category-card img{transition:none}}

/* Global custom CSS */
/* Blue Ox dealer template — edit these styles in Code View. */
:root {
  --blue: #0054A6;
  --orange: var(--primary);
  --dark: var(--secondary);
  --light: #F5F5F5;
  --border: #DDDDDD;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
.container {
  width: min(1400px, 95%);
  max-width: none;
  margin: auto;
  padding: 0;
}
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* Announcement bar */
.mf-topbar {
  background: #f7f7f7;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: .85rem;
  padding: 0;
}
.mf-topbar .container { padding: .5rem 0; }
.mf-topbar-meta { display: flex; align-items: center; gap: 14px; }
.mf-topbar a { color: var(--blue); margin: 0; font-weight: 600; }

/* Header and navigation */
.mf-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 0;
}
.mf-header .mf-row { height: 80px; position: relative; }
.mf-logo {
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  white-space: nowrap;
}
.mf-nav { display: flex; align-items: center; gap: 2rem; }
.mf-nav a { color: var(--text); font-weight: 600; }
.mf-nav a:hover, .mf-nav a[aria-current] { color: var(--blue); }
.mf-burger { color: var(--blue); font-size: 2rem; }

/* Hero slider */
.hero { margin-top: 20px; }
.hero-slider {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--dark);
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.hero-content { max-width: 650px; margin-left: 60px; color: white; }
.hero-content h1 {
  margin: 0;
  color: white;
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 1;
  text-transform: uppercase;
}
.hero-content p { margin-top: 1rem; font-size: 1.2rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 25px; }
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition: opacity .3s;
}
.btn-primary { background: var(--orange); color: white; }
.btn-secondary { background: white; color: #111; }
.btn-primary:hover, .btn-secondary:hover { opacity: .9; }
.slider-btn {
  position: absolute;
  bottom: 30px;
  z-index: 25;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  color: #111;
  cursor: pointer;
  font-size: 20px;
}
.slider-btn:hover { color: var(--blue); }
.prev { right: 90px; }
.next { right: 30px; }
.slider-dots {
  position: absolute;
  left: 25px;
  bottom: 42px;
  display: flex;
  gap: 10px;
  z-index: 25;
}
.dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
}
.dot.active { background: var(--orange); }

/* Product search */
.search-strip { background: var(--dark); padding: 15px 0; margin-top: 10px; }
.search-grid { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; }
.search-grid input, .search-grid select {
  width: 100%;
  height: 48px;
  border: none;
  padding: 0 15px;
  background: white;
  color: #222;
  font: inherit;
}
.search-grid button {
  border: none;
  background: var(--orange);
  color: white;
  font-weight: 700;
  padding: 0 30px;
  cursor: pointer;
}

/* Section titles and category cards */
.section-title { text-align: center; margin: 60px 0 25px; }
.section-title h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  text-transform: uppercase;
}
.categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; }
.category-card {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-radius: 10px;
  display: block;
  scroll-margin-top: 110px;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.75);
  color: white;
  text-align: center;
  padding: 10px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .5px;
}

/* Dealer trust bar */
.trust-bar { background: #f6f6f6; margin-top: 45px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { text-align: center; padding: 25px; }
.trust-item h3 { margin-bottom: 8px; }
.trust-item p { margin: 0; }

/* Promotions */
.promotions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card { border: 1px solid var(--border); background: #fff; }
.promo-card img { width: 100%; height: 220px; object-fit: cover; }
.promo-card h3 { margin-bottom: 10px; }
.promo-card p { margin: 0; }

/* Featured brands */
.brand-section { background: var(--dark); color: white; padding: 50px 0; margin-top: 50px; }
.brand-section .section-title { margin-top: 0; }
.brand-section .section-title h2 { color: white; }
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.brand {
  background: white;
  color: #222;
  padding: 20px;
  text-align: center;
  font-weight: 700;
  border-radius: 8px;
}

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { border: 1px solid var(--border); padding: 15px; background: white; }
.product-card img { width: 100%; height: 220px; object-fit: contain; }
.product-card h3 { margin-top: 15px; }
.product-card strong { display: block; margin-top: 10px; color: var(--orange); }

/* Footer */
.mf-footer { background: #222; color: white; padding: 60px 0 24px; margin-top: 60px; }
.mf-footer-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
.mf-footer strong { color: white; font-family: var(--font-head); font-size: 1.2rem; }
.mf-footer h4 { color: white; font-family: var(--font-head); font-size: 1.1rem; }
.mf-footer a { display: block; margin-bottom: 8px; color: #ddd; }
.mf-footer a:hover { color: white; }
.mf-footer p { color: #ddd; }

@media (max-width: 1024px) {
  .mf-nav { gap: 1rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .promotions { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .mf-header .mf-row { flex-wrap: nowrap; }
  .mf-burger { display: block; }
  .mf-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: -2.5vw;
    right: -2.5vw;
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
  }
  .mf-header .open .mf-nav { display: flex; }
  .mf-nav a { padding: 16px 20px; border-bottom: 1px solid #eee; }
  .hero-slider { height: 420px; }
  .hero-content { margin: 0 25px; }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .search-grid { grid-template-columns: 1fr; }
  .search-grid button { min-height: 48px; }
  .trust-grid, .product-grid, .mf-footer-grid, .promotions { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .mf-logo { font-size: 1.55rem; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .category-card img { transition: none; }
}
