/* ============================================================
   Metropolitan Pipe — INDUSTRIAL
   ============================================================ */

:root {
  --mp-red: #c41a1a;
  --mp-red-bright: #c41a1a;
  --mp-red-dark: #9b1515;
  --mp-red-deep: #450a0a;
  --mp-dark: #0a0a0c;
  --mp-dark-mid: #111114;
  --mp-dark-light: #1a1a1f;
  --mp-dark-surface: #242428;
  --mp-slate: #b0b0be;
  --mp-steel: #d8d8e4;
  --mp-off-white: #f5f5f7;
  --mp-font: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  --mp-font-condensed: 'Barlow Condensed', 'Barlow', sans-serif;
  --mp-radius: 6px;
  --mp-radius-sm: 4px;
}


/* ========================
   TOP UTILITY BAR — red stripe
   ======================== */
.mp-topbar {
  background: var(--mp-red);
  color: rgba(255,255,255,0.85);
  font-family: var(--mp-font-condensed);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: uppercase;
  padding: 6px 0;
}
.mp-topbar a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.mp-topbar a:hover {
  color: #fff;
  opacity: 0.8;
  text-decoration: underline;
}
.mp-topbar i {
  margin-right: 4px;
  font-size: 11px;
  color: #fff;
}
.mp-topbar-sep {
  margin: 0 10px;
  color: rgba(255,255,255,0.3);
}
.mp-topbar-login {
  color: var(--mp-dark) !important;
  font-weight: 700;
  background: #fff;
  padding: 3px 14px;
  margin-left: 6px;
  border-radius: 2px;
  transition: background 0.2s !important;
}
.mp-topbar-login:hover {
  background: rgba(255,255,255,0.9) !important;
  color: var(--mp-dark) !important;
}
.mp-topbar-login i {
  color: var(--mp-red);
}

@media (max-width: 767.98px) {
  .mp-topbar-left { display: none; }
  .mp-topbar-right { width: 100%; text-align: center; }
}


/* ========================
   MAIN NAVBAR — dark industrial
   ======================== */
.mp-navbar {
  background: var(--mp-dark);
  padding: 0;
  font-family: var(--mp-font);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: none;
}
.mp-navbar .container {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Logos */
.mp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  padding: 2px 0;
}
.mp-logo-circle {
  height: 56px;
  width: auto;
}
.mp-logo-1800 {
  height: 32px;
  width: auto;
}
/* Legacy fallback */
.mp-logo {
  height: 54px;
  width: auto;
  filter: brightness(0) invert(1);
}
@media (min-width: 992px) {
  .mp-logo-circle { height: 62px; }
  .mp-logo-1800 { height: 36px; }
  .mp-logo { height: 60px; }
}

/* Nav links — light on dark */
.mp-nav .nav-link {
  font-family: var(--mp-font-condensed);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--mp-steel);
  padding: 10px 16px !important;
  transition: color 0.15s;
  position: relative;
}
.mp-nav .nav-link:hover,
.mp-nav .nav-link:focus,
.mp-nav .nav-item:hover > .nav-link {
  color: #fff;
}

/* Active underline — red bar */
.mp-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--mp-red);
  transform: scaleX(0);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.mp-nav .nav-link:hover::before,
.mp-nav .nav-item.show .nav-link::before {
  transform: scaleX(1);
}

/* Contact CTA button */
.mp-nav-cta {
  background: var(--mp-red) !important;
  color: #fff !important;
  border-radius: var(--mp-radius-sm) !important;
  padding: 10px 26px !important;
  margin-left: 12px;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  transition: all 0.2s !important;
  border: 2px solid var(--mp-red) !important;
}
.mp-nav-cta:hover {
  background: #fff !important;
  color: var(--mp-red) !important;
  border-color: #111 !important;
}
.mp-nav-cta::before {
  display: none !important;
}

/* Dropdown menus — dark */
.mp-dropdown {
  background: var(--mp-dark-light);
  border: none;
  border-radius: 0 0 4px 4px;
  border-top: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  padding: 6px 0;
  margin-top: 4px !important;
  animation: mpDropIn 0.15s ease-out;
}
@keyframes mpDropIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mp-dropdown .dropdown-item {
  font-family: var(--mp-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--mp-steel);
  padding: 10px 20px;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}
.mp-dropdown .dropdown-item:hover {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-left-color: var(--mp-red);
  padding-left: 22px;
}

/* Hamburger toggle */
.mp-toggler {
  border: 2px solid #444;
  border-radius: 3px;
  padding: 6px 10px;
}
.mp-toggler .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}
.mp-toggler:focus {
  box-shadow: 0 0 0 2px rgba(196,26,26,0.4);
}


/* ========================
   FOOTER — LOCATIONS BAND
   ======================== */
.mp-footer {
  font-family: var(--mp-font);
  margin-top: 40px;
}

.mp-footer-locations {
  background: var(--mp-red);
  padding: 28px 0;
  position: relative;
}
.mp-location {
  position: relative;
}
.mp-location h6 {
  font-family: var(--mp-font-condensed);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.mp-location p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 2px;
  line-height: 1.5;
}
.mp-location a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--mp-font-condensed);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.mp-location a,
.mp-location a:hover {
  color: #fff !important;
  text-decoration: none;
}
.mp-location a:hover {
  opacity: 0.8;
  text-decoration: underline !important;
}


/* ========================
   FOOTER — MAIN
   ======================== */
.mp-footer-main {
  background: var(--mp-dark);
  padding: 48px 0 32px;
  border-top: 4px solid var(--mp-red);
}

/* Brand column */
.mp-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.mp-footer-brand {
  display: inline-block;
  flex: 0 0 auto;
}
.mp-footer-logo {
  height: 48px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.mp-footer-logo-circle {
  height: 64px;
  width: auto;
}
.mp-footer-tagline {
  color: var(--mp-steel);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 300px;
}

/* Toll-free 1800 logo */
.mp-footer-toll-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.mp-footer-1800 {
  height: 36px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s;
}
.mp-footer-toll-logo:hover .mp-footer-1800 { opacity: 1; }

/* Social icons */
.mp-footer-social {
  display: flex;
  gap: 10px;
}
.mp-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--mp-dark-surface);
  color: var(--mp-slate);
  font-size: 18px;
  text-decoration: none;
  border: 1px solid #333;
  transition: all 0.2s;
}
.mp-footer-social a:hover {
  background: var(--mp-red);
  border-color: var(--mp-red);
  color: #fff;
  transform: translateY(-2px);
}
.mp-footer-social-phone {
  background: var(--mp-red) !important;
  border-color: var(--mp-red) !important;
  color: #fff !important;
}
.mp-footer-social-phone:hover {
  background: #fff !important;
  color: var(--mp-red) !important;
  border-color: #fff !important;
}

/* Footer nav columns */
.mp-footer-heading {
  font-family: var(--mp-font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--mp-red);
  display: inline-block;
}
.mp-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mp-footer-links li {
  margin-bottom: 4px;
}
.mp-footer-links a {
  color: var(--mp-steel);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.15s;
  display: inline-block;
}
.mp-footer-links a::before {
  content: '\203A';
  margin-right: 5px;
  color: var(--mp-red);
  font-weight: 700;
  transition: margin-right 0.15s;
}
.mp-footer-links a:hover {
  color: #fff;
}
.mp-footer-links a:hover::before {
  margin-right: 8px;
}


/* ========================
   FOOTER — BOTTOM BAR
   ======================== */
.mp-footer-bottom {
  background: var(--mp-dark-mid);
  padding: 14px 0;
  border-top: 1px solid #1a1a1a;
}
.mp-footer-bottom p {
  color: #777;
  font-size: 13px;
  margin: 0;
  font-family: var(--mp-font);
}
.mp-footer-legal {
  display: flex;
  gap: 20px;
}
.mp-footer-legal a {
  color: #888;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.mp-footer-legal a:hover {
  color: var(--mp-red-bright);
}


/* ========================
   RESPONSIVE — HEADER/FOOTER
   ======================== */
@media (max-width: 991.98px) {
  .mp-navbar .container { padding-top: 8px; padding-bottom: 8px; }
  .mp-logo { height: 44px; }
  .mp-nav .nav-link {
    padding: 12px 0 !important;
    border-bottom: 1px solid #222;
    color: rgba(255,255,255,0.7);
  }
  .mp-nav .nav-link:hover { color: #fff; }
  .mp-nav .nav-link::before { display: none; }
  .mp-nav-cta { margin-left: 0; margin-top: 12px; text-align: center; display: block; }
  .mp-dropdown {
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    background: var(--mp-dark-surface);
  }
  .mp-dropdown .dropdown-item { padding-left: 16px; border-left: none; }
}

@media (max-width: 575.98px) {
  .mp-footer-main { padding: 32px 0 16px; }
  .mp-footer-locations { padding: 20px 0; }
  .mp-footer-toll-num { font-size: 22px; }
}


/* ============================================================
   PAGE / CONTENT STYLES
   ============================================================ */

/* --- Content wrapper --- */
.mp-content {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 500px;
  background: #fff;
}

/* --- Page section --- */
.mp-page {
  padding: 0 0 48px;
}

/* --- Page topbar: section label + breadcrumbs band --- */
.mp-page-topbar {
  background: linear-gradient(180deg, #f7f7f9 0%, #fff 100%);
  border-bottom: 1px solid #eee;
  position: relative;
  margin-bottom: 28px;
  padding: 14px 0 14px;
  overflow: hidden;
}
.mp-page-topbar::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: -30px;
  width: 240px;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 12px,
    rgba(196,26,26,0.055) 12px 16px
  );
  pointer-events: none;
}
.mp-page-topbar > .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.mp-page-section-label {
  font-family: var(--mp-font-condensed);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--mp-red);
  padding: 5px 12px 5px 12px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(196,26,26,0.18);
}
.mp-page-section-label i { font-size: 13px; }
.mp-page-topbar .mp-breadcrumbs,
.mp-page-topbar .mp-breadcrumbs.mp-breadcrumbs-top {
  margin: 0;
  padding: 0;
  border: none;
}
@media (max-width: 575.98px) {
  .mp-page-topbar { padding: 10px 0; margin-bottom: 18px; }
  .mp-page-section-label { font-size: 11px; padding: 4px 10px; }
}

/* --- Typography — BOLD --- */
.mp-h1,
.mp-page h1 {
  font-family: var(--mp-font-condensed);
  font-size: 38px;
  font-weight: 700;
  color: var(--mp-red);
  line-height: 1.08;
  margin: 0 0 24px 0;
  padding-bottom: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
}
.mp-h1::after,
.mp-page h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: var(--mp-red);
  border-radius: 2px;
  box-shadow: 70px 0 0 rgba(196,26,26,0.2), 76px 0 0 rgba(196,26,26,0.1);
}
.mp-h2,
.mp-page h2 {
  font-family: var(--mp-font-condensed);
  font-size: 24px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  margin: 32px 0 12px 0;
  padding-left: 16px;
  border-left: 4px solid var(--mp-red);
  position: relative;
}
.mp-h2::before,
.mp-page h2::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--mp-red);
  opacity: 0.25;
}
.mp-h3,
.mp-page h3 {
  font-family: var(--mp-font-condensed);
  font-size: 19px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 10px 0;
}
.mp-body-text,
.mp-page p,
.mp-page li,
.mp-page td {
  font-family: var(--mp-font);
  font-size: 15px;
  color: #3a3a3a;
  line-height: 1.75;
}
.mp-page a {
  color: var(--mp-red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}
.mp-page a:hover {
  color: var(--mp-red-bright);
}
.mp-page img {
  max-width: 100%;
  height: auto;
}
.mp-page hr {
  border: none;
  border-top: 2px dashed #ddd;
  margin: 24px 0;
}

/* --- Dark Sidebar --- */
.mp-sidebar {
  font-family: var(--mp-font);
  background: var(--mp-dark);
  border-radius: 6px;
  padding: 0;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  border-top: 4px solid var(--mp-red);
  /* Keep sidebar at its natural height — don't stretch with flex row */
  align-self: flex-start;
}
@media (min-width: 992px) {
  .mp-sidebar { position: sticky; top: 96px; }
}
.mp-sidebar .mp-sidebar-heading,
.mp-sidebar h2.mp-sidebar-heading,
.mp-page .mp-sidebar h2.mp-sidebar-heading {
  font-family: var(--mp-font-condensed);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mp-red-bright);
  margin: 0;
  padding: 20px 22px 10px;
  border-bottom: none;
  border-left: none;
  background: none;
}
.mp-sidebar-nav + .mp-sidebar-heading,
.mp-sidebar-nav + h2.mp-sidebar-heading {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
  padding-top: 18px;
}
.mp-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}
.mp-sidebar-nav li {
  border-bottom: none;
}
.mp-sidebar-nav a {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}
.mp-sidebar-nav a:hover {
  color: #fff;
  border-left-color: var(--mp-red);
  background: rgba(255,255,255,0.05);
  padding-left: 26px;
}
.mp-sidebar-nav a::before {
  content: '\203A';
  margin-right: 8px;
  color: var(--mp-red);
  font-weight: 700;
  font-size: 15px;
}
.mp-sidebar-nav:last-child {
  padding-bottom: 16px;
}

/* --- Content column --- */
.mp-page .col-lg-9 {
  padding-top: 28px;
  padding-bottom: 16px;
}
@media (min-width: 992px) {
  .mp-page .col-lg-9 {
    padding-left: 40px;
  }
}

/* --- Breadcrumbs --- */
.mp-breadcrumbs {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 2px solid #eee;
  font-family: var(--mp-font);
  font-size: 13px;
  color: #888;
}
.mp-breadcrumbs.mp-breadcrumbs-top {
  margin: 0 0 18px;
  padding: 10px 0 0;
  border-top: none;
  font-family: var(--mp-font-condensed);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9a9a9a;
}
.mp-breadcrumbs.mp-breadcrumbs-top .breadcrumb_last {
  color: var(--mp-red);
}
.mp-breadcrumbs a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}
.mp-breadcrumbs a:hover {
  color: var(--mp-red);
}

/* --- 404 page --- */
.mp-404-img {
  float: left;
  margin-right: 24px;
  margin-bottom: 16px;
  max-width: 200px;
}

/* --- Archive / blog entries --- */
.mp-entry {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 2px solid #eee;
  padding-left: 16px;
  border-left: 4px solid transparent;
  transition: border-left-color 0.2s;
}
.mp-entry:hover {
  border-left-color: var(--mp-red);
}
.mp-entry:last-child {
  border-bottom: none;
}
.mp-entry-title {
  font-family: var(--mp-font-condensed);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.mp-entry-title a {
  color: #111;
  text-decoration: none;
  transition: color 0.15s;
}
.mp-entry-title a:hover {
  color: var(--mp-red);
}
.mp-entry-meta {
  font-family: var(--mp-font-condensed);
  font-size: 13px;
  color: var(--mp-slate);
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mp-entry-summary {
  font-family: var(--mp-font);
  font-size: 15px;
  color: #444;
  line-height: 1.65;
}
.mp-entry-utility {
  font-size: 13px;
  color: var(--mp-slate);
  margin-top: 8px;
}
.mp-entry-utility a {
  color: var(--mp-slate);
  transition: color 0.2s;
}
.mp-entry-utility a:hover {
  color: var(--mp-red);
}

/* --- Pagination --- */
.mp-pagination {
  display: flex;
  justify-content: space-between;
  font-family: var(--mp-font-condensed);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 24px 0;
  padding: 14px 18px;
  background: var(--mp-dark);
  color: #fff;
  border-radius: 4px;
}
.mp-pagination a {
  color: #fff;
  text-decoration: none;
  transition: color 0.15s;
}
.mp-pagination a:hover {
  color: var(--mp-red-bright);
}

/* --- Search results --- */
.mp-search-title {
  font-family: var(--mp-font-condensed);
  font-size: 30px;
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 4px solid var(--mp-red);
  text-transform: uppercase;
}
.mp-search-title span {
  color: var(--mp-red);
}

/* --- Responsive content --- */
@media (max-width: 991.98px) {
  .mp-sidebar {
    margin-bottom: 28px;
    margin-top: 0;
    order: 2;
  }
  /* Push content above sidebar on mobile */
  .mp-page .row { display: flex; flex-direction: column; }
  .mp-page .col-lg-9 { order: 1; }
  .mp-page .col-lg-3,
  .mp-page .col-md-4 { order: 2; }
  .mp-page h1, .mp-h1 { font-size: 28px; }
  .mp-page h2, .mp-h2 { font-size: 20px; padding-left: 12px; }
}

@media (max-width: 575.98px) {
  .mp-page { padding: 16px 0 32px; }
  .mp-page h1, .mp-h1 { font-size: 24px; }
  .mp-page h2, .mp-h2 { font-size: 18px; }
  .mp-404-img { float: none; display: block; margin: 0 auto 16px; }
  .mp-sidebar-heading { padding: 14px 16px 10px; }
  .mp-sidebar-nav a { padding: 10px 16px; }
  /* Full-width pages (no sidebar) need top padding too */
  .mp-page .container { padding-left: 16px; padding-right: 16px; }
}


/* ============================================================
   PRODUCT PAGES — Brand Grid & Product Lists
   Transforms old touchcarousel into a modern responsive grid
   ============================================================ */

/* Kill the carousel — display as brand logo grid */
#mpProductCarousel,
#mpProductCarousel.touchcarousel,
#mpProductCarousel.touchcarousel.three-d,
.touchcarousel,
.touchcarousel.three-d {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  position: relative !important;
  margin: 0 0 28px 0 !important;
  padding: 0 !important;
  background: none !important;
  text-align: left !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
#mpProductCarousel .touchcarousel-container,
#mpProductCarousel > ul,
.touchcarousel .touchcarousel-container,
.touchcarousel > ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
  gap: 12px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  transform: none !important;
  transition: none !important;
  left: auto !important;
  top: auto !important;
}
#mpProductCarousel .touchcarousel-item,
.touchcarousel .touchcarousel-item {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  margin-right: 0 !important;
  position: static !important;
  float: none !important;
  left: auto !important;
  top: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  border: 2px solid #eee !important;
  border-radius: 6px;
  padding: 12px !important;
  aspect-ratio: 3 / 2;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
#mpProductCarousel .touchcarousel-item:hover,
.touchcarousel .touchcarousel-item:hover {
  border-color: var(--mp-red) !important;
  box-shadow: 0 4px 16px rgba(196,26,26,0.12);
  transform: translateY(-2px);
}
#mpProductCarousel .touchcarousel-item a,
.touchcarousel .touchcarousel-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
#mpProductCarousel .touchcarousel-item img,
#mpProductCarousel img,
.touchcarousel .touchcarousel-item img {
  max-width: 100% !important;
  max-height: 80px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.2s;
}
#mpProductCarousel .touchcarousel-item:hover img,
.touchcarousel .touchcarousel-item:hover img {
  filter: grayscale(0%);
}
/* Hide ALL carousel chrome — arrows, pager, scrollbar */
#mpProductCarousel .touchcarousel-prev,
#mpProductCarousel .touchcarousel-next,
#mpProductCarousel .tc-pager,
#mpProductCarousel .touchcarousel-pager,
#mpProductCarousel .touchcarousel-nav,
#mpProductCarousel .touchcarousel-scrollbar,
#mpProductCarousel .scrollbar-holder,
#mpProductCarousel > a[href="#"],
.touchcarousel-prev,
.touchcarousel-next,
.touchcarousel-pager,
.touchcarousel .tc-pager,
.touchcarousel .touchcarousel-nav,
.touchcarousel .touchcarousel-scrollbar,
.touchcarousel .scrollbar-holder,
.touchcarousel > a[href="#"] {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* --- Product Lists (.mpList) — modern multi-column --- */
.mpList {
  margin-top: 24px !important;
}
.mpList ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mpList li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  font-family: var(--mp-font);
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.4 !important;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s, color 0.15s;
}
.mpList li:hover {
  background: #faf5f5;
  color: var(--mp-red);
}
.mpList li::before {
  content: '\203A';
  margin-right: 8px;
  color: var(--mp-red);
  font-weight: 700;
}

/* --- Old .mpSubContentNav used inline in WP content --- */
.mp-page .mpSubContentNav {
  float: none !important;
  width: 100% !important;
}
.mp-page .mpSubContentNav ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mp-page .mpSubContentNav li {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  float: none !important;
  height: auto !important;
  line-height: normal !important;
  border-bottom: 1px solid #f0f0f0 !important;
}
.mp-page .mpSubContentNav a {
  display: block;
  padding: 12px 14px;
  font-family: var(--mp-font);
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}
.mp-page .mpSubContentNav a:hover {
  color: var(--mp-red);
  border-left-color: var(--mp-red);
  background: #faf5f5;
  padding-left: 18px;
}
.mp-page .mpSubContentNav h1,
.mp-page .mpSubContentNav h2 {
  border-left: none !important;
  padding-left: 0 !important;
}

/* --- Services page images (inline from WP) --- */
.mp-page img[src*="services_"] {
  max-width: 230px;
  height: auto;
  border-radius: 4px;
  margin: 8px 8px 8px 0;
}

/* --- Dark inline CTA blocks used throughout content pages --- */
.mp-page div[style*="background: #0a0a0c"][style*="text-align: center"],
.mp-page div[style*="background:#0a0a0c"][style*="text-align: center"] {
  background:
    linear-gradient(135deg, transparent 0%, transparent 55%, rgba(196,26,26,0.12) 55%, rgba(196,26,26,0.12) 100%),
    radial-gradient(ellipse at top left, rgba(196,26,26,0.18) 0%, transparent 55%),
    #0a0a0c !important;
  border-top: 4px solid var(--mp-red) !important;
  border-radius: 6px !important;
  padding: 32px 32px !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.mp-page div[style*="background: #0a0a0c"][style*="text-align: center"]::before,
.mp-page div[style*="background:#0a0a0c"][style*="text-align: center"]::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: -20px;
  width: 200px;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 12px,
    rgba(255,255,255,0.02) 12px 16px
  );
  pointer-events: none;
}

/* --- Red-bordered callout boxes in content --- */
.mp-page div[style*="border-left: 4px solid #c41a1a"][style*="padding: 20px 24px"],
.mp-page div[style*="border-left:4px solid #c41a1a"][style*="padding: 20px 24px"] {
  background: linear-gradient(90deg, rgba(196,26,26,0.05) 0%, rgba(196,26,26,0) 60%) !important;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* --- Content lists — tighter, with red chevron --- */
.mp-page .entry-content ul,
.mp-page > ul,
.mp-page p + ul {
  padding-left: 0;
  list-style: none;
}
.mp-page .entry-content ul > li,
.mp-page > ul > li {
  position: relative;
  padding: 4px 0 4px 22px;
  line-height: 1.6;
}
.mp-page .entry-content ul > li::before,
.mp-page > ul > li::before {
  content: '\203A';
  position: absolute;
  left: 4px;
  top: 4px;
  color: var(--mp-red);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
}

/* --- Content tables --- */
.mp-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}
.mp-page table th {
  background: var(--mp-dark);
  color: #fff;
  font-family: var(--mp-font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
}
.mp-page table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.mp-page table tr:last-child td { border-bottom: none; }
.mp-page table tr:nth-child(even) td { background: #fafafa; }


/* ============================================================
   CONTACT + LOCATIONS PAGE (unified)
   ============================================================ */

/* Hide default H1::after on contact page hero since we have a custom layout */
.mp-contact-page h1::after { display: none; }

/* Clean up WP autop empty paragraphs inside contact strip */
.mp-contact-strip p:empty,
.mp-contact-locations p:empty,
.mp-contact-delivery p:empty { display: none; }

/* Top red/dark contact strip */
.mp-contact-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0;
  margin: 8px 0 32px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}
.mp-contact-strip-cell {
  padding: 22px 26px;
  color: #fff;
  position: relative;
}
.mp-contact-strip-cell.red {
  background:
    linear-gradient(135deg, transparent 0%, transparent 55%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0.1) 100%),
    #c41a1a;
}
.mp-contact-strip-cell.dark {
  background: #0a0a0c;
  border-left: 1px solid #1c1c20;
}
.mp-contact-strip-label {
  display: block;
  font-family: var(--mp-font-condensed);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.85;
  margin-bottom: 6px;
}
.mp-contact-strip-cell.red .mp-contact-strip-label { color: #ffd8d8; opacity: 1; }
.mp-page .mp-contact-strip-phone-num,
.mp-contact-strip-phone-num {
  font-family: var(--mp-font-condensed);
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 4px;
}
.mp-page .mp-contact-strip-phone-num:hover,
.mp-contact-strip-phone-num:hover { color: #fff; text-decoration: underline; }
.mp-contact-strip-phone-sub {
  font-family: var(--mp-font);
  font-size: 14px;
  color: #ffd8d8;
  margin-left: 6px;
}
.mp-contact-strip-hours-body,
.mp-contact-strip-info-body {
  font-family: var(--mp-font);
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
}
.mp-contact-strip-info-body strong { color: #fff; }

/* Map container */
.mp-contact-map-wrap {
  margin: 0 0 32px;
  position: relative;
}
#mp-locations-map {
  border-radius: 8px !important;
  border: 2px solid #e5e5e5 !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  height: 440px !important;
}

/* Locations grid */
.mp-contact-locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 40px;
}
.mp-contact-loc {
  background: #fff;
  border: 1px solid #e8e8ec;
  border-top: 4px solid var(--mp-red);
  border-radius: 8px;
  padding: 24px 24px 22px;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.mp-contact-loc:hover {
  box-shadow: 0 12px 30px rgba(196,26,26,0.1), 0 4px 10px rgba(0,0,0,0.05);
  transform: translateY(-3px);
}
.mp-contact-loc-tag {
  display: inline-block;
  font-family: var(--mp-font-condensed);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mp-red);
  background: #fff2f2;
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.mp-contact-loc-tag.muted { color: #666; background: #f2f2f4; }
.mp-page .mp-contact-loc h2,
.mp-contact-loc h2 {
  font-family: var(--mp-font-condensed);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 10px;
  padding: 0;
  border: none;
}
.mp-page .mp-contact-loc h2::before,
.mp-contact-loc h2::before { display: none; }
.mp-contact-loc-addr {
  font-family: var(--mp-font);
  font-size: 14px;
  color: #555;
  line-height: 1.55;
  margin-bottom: 12px;
}
.mp-page .mp-contact-loc-phone,
.mp-contact-loc-phone {
  font-family: var(--mp-font-condensed);
  font-size: 22px;
  font-weight: 700;
  color: var(--mp-red);
  text-decoration: none;
  letter-spacing: 0.01em;
  display: block;
}
.mp-page .mp-contact-loc-phone:hover,
.mp-contact-loc-phone:hover { color: #9b1515; text-decoration: none; }
.mp-contact-loc-fax {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}
.mp-contact-loc-hours {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mp-font);
  font-size: 13px;
  color: #444;
  margin-bottom: 14px;
  padding: 8px 10px;
  background: #f7f7f9;
  border-radius: 4px;
  border-left: 3px solid var(--mp-red);
}
.mp-contact-loc-hours i { color: var(--mp-red); font-size: 14px; }
.mp-page .mp-contact-loc-link,
.mp-contact-loc-link {
  margin-top: auto;
  display: inline-block;
  font-family: var(--mp-font-condensed);
  font-size: 13px;
  font-weight: 700;
  color: var(--mp-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  transition: color 0.15s;
}
.mp-contact-loc-link i { margin-left: 4px; transition: transform 0.15s; }
.mp-page .mp-contact-loc-link:hover,
.mp-contact-loc-link:hover { color: #111; }
.mp-contact-loc-link:hover i { transform: translateX(3px); }

/* Form section */
.mp-contact-form-section {
  background: linear-gradient(180deg, #f7f7f9 0%, #fff 100%);
  border: 1px solid #eaeaee;
  border-radius: 10px;
  padding: 40px 36px 32px;
  margin: 0 0 32px;
  position: relative;
  overflow: hidden;
}
.mp-contact-form-section::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: -40px;
  width: 260px;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 14px,
    rgba(196,26,26,0.05) 14px 18px
  );
  pointer-events: none;
}
.mp-contact-form-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.mp-page .mp-contact-form-section h2 {
  font-family: var(--mp-font-condensed);
  font-size: 26px;
  color: #111;
  text-transform: uppercase;
  border: none;
  padding: 0 0 10px;
  margin: 0 0 8px;
  text-align: center;
}
.mp-page .mp-contact-form-section h2::before { display: none; }
.mp-contact-form-sub {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

/* Delivery callout */
.mp-contact-delivery {
  background:
    linear-gradient(135deg, rgba(196,26,26,0.14) 0%, rgba(0,0,0,0) 55%),
    #0a0a0c;
  border-top: 4px solid var(--mp-red);
  border-radius: 8px;
  padding: 30px 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.mp-contact-delivery::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: -20px;
  width: 220px;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 12px,
    rgba(255,255,255,0.025) 12px 16px
  );
  pointer-events: none;
}
.mp-page .mp-contact-delivery h3 {
  font-family: var(--mp-font-condensed);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.mp-page .mp-contact-delivery p,
.mp-contact-delivery p {
  font-size: 14px;
  color: rgba(255,255,255,0.88) !important;
  line-height: 1.6;
  margin: 0;
}
.mp-contact-delivery-btn {
  display: inline-block;
  background: var(--mp-red);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--mp-font-condensed);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  border: 2px solid var(--mp-red);
  white-space: nowrap;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
}
.mp-contact-delivery-btn:hover {
  background: #fff;
  color: var(--mp-red) !important;
  border-color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .mp-contact-strip { grid-template-columns: 1fr; }
  .mp-contact-strip-cell.dark { border-left: none; border-top: 1px solid #1c1c20; }
  .mp-contact-locations { grid-template-columns: repeat(2, 1fr); }
  .mp-contact-delivery { grid-template-columns: 1fr; text-align: center; }
  .mp-contact-delivery-btn { justify-self: center; }
}
@media (max-width: 575.98px) {
  .mp-contact-locations { grid-template-columns: 1fr; gap: 14px; }
  .mp-contact-strip-cell { padding: 18px 20px; }
  .mp-contact-form-section { padding: 28px 20px 24px; }
  #mp-locations-map { height: 320px !important; }
  .mp-contact-strip-phone-num { font-size: 26px; }
}

/* ============================================================
   FORM STYLING — iphorm plugin (contact, credit app, ecommerce)
   ============================================================ */
/* Container */
.iphorm-outer,
.iphorm_1,
.iphorm_2,
.iphorm_3,
.iphorm_4,
.iphorm_5,
.iphorm_6,
.iphorm_7,
.iphorm_8 {
  font-family: var(--mp-font) !important;
}

/* All text inputs, textareas, selects */
.iphorm-outer input[type="text"],
.iphorm-outer input[type="email"],
.iphorm-outer input[type="tel"],
.iphorm-outer input[type="number"],
.iphorm-outer input[type="password"],
.iphorm-outer textarea,
.iphorm-outer select,
.iphorm-element-wrap input[type="text"],
.iphorm-element-wrap textarea,
.iphorm-element-wrap select {
  font-family: var(--mp-font) !important;
  font-size: 14px !important;
  border: 2px solid #ddd !important;
  border-radius: 4px !important;
  padding: 10px 12px !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: #fff !important;
  color: #333 !important;
  -webkit-appearance: none;
  appearance: none;
}
.iphorm-outer input:focus,
.iphorm-outer textarea:focus,
.iphorm-outer select:focus,
.iphorm-element-wrap input:focus,
.iphorm-element-wrap textarea:focus,
.iphorm-element-wrap select:focus {
  border-color: var(--mp-red) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(196,26,26,0.1) !important;
}

/* Labels */
.iphorm-element-label,
.iphorm-outer label,
.iphorm-element-wrap > div:first-child {
  font-family: var(--mp-font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin-bottom: 4px !important;
  text-transform: none !important;
}

/* Section headings inside forms */
.iphorm-outer h2,
.iphorm-group-title,
.iphorm-outer .iphorm-group-title-text {
  font-family: var(--mp-font-condensed) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin: 28px 0 16px !important;
  padding: 0 0 10px !important;
  border-bottom: 3px solid var(--mp-red) !important;
  border-left: none !important;
  padding-left: 0 !important;
}

/* Element spacing */
.iphorm-element-wrap,
.iphorm-elements-wrap > div {
  margin-bottom: 16px !important;
}

/* Columns / multi-field rows */
.iphorm-group-row,
.iphorm-element-columns {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap;
}
.iphorm-group-row > div,
.iphorm-element-columns > div {
  flex: 1;
  min-width: 140px;
}

/* Custom select wrapper (uniform plugin) */
div.selector,
.iphorm-outer div.selector {
  background: #fff !important;
  border: 2px solid #ddd !important;
  border-radius: 4px !important;
  padding: 8px 12px !important;
  font-family: var(--mp-font) !important;
  font-size: 14px !important;
  color: #333 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: auto !important;
  line-height: 1.5 !important;
}
div.selector span {
  color: #333 !important;
  font-size: 14px !important;
}

/* Checkboxes */
.iphorm-outer input[type="checkbox"],
.iphorm-element-wrap input[type="checkbox"] {
  width: auto !important;
  margin-right: 8px !important;
  accent-color: var(--mp-red);
}
div.checker,
.iphorm-outer div.checker {
  margin-right: 8px !important;
}
.iphorm-element-checkboxes label,
.iphorm-element-radios label {
  font-weight: 400 !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center;
  margin-bottom: 6px !important;
}

/* Submit buttons */
.iphorm-submit-wrap,
.iphorm-outer .iphorm-submit-wrap {
  margin-top: 24px !important;
}
.iphorm-submit-wrap input[type="submit"],
.iphorm-submit-wrap button,
.iphorm-outer .iphorm-submit-input,
.iphorm-outer input[type="submit"],
.iphorm-submit-wrap input[type="image"] {
  background: var(--mp-red) !important;
  color: #fff !important;
  font-family: var(--mp-font-condensed) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 14px 40px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
}
.iphorm-submit-wrap input:hover,
.iphorm-submit-wrap button:hover {
  background: var(--mp-red-bright) !important;
}

/* CAPTCHA */
.iphorm-element-captcha img {
  border-radius: 4px !important;
  margin-top: 6px !important;
}

/* Error messages */
.iphorm-error,
.iphorm-element-error {
  color: var(--mp-red) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* Required asterisks */
.iphorm-required-star {
  color: var(--mp-red) !important;
}

/* Form description/notes */
.iphorm-element-description {
  font-size: 12px !important;
  color: #888 !important;
  margin-top: 4px !important;
  line-height: 1.4 !important;
}

/* Mobile form fixes */
@media (max-width: 575.98px) {
  .iphorm-group-row,
  .iphorm-element-columns {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .iphorm-submit-wrap input[type="submit"],
  .iphorm-submit-wrap button {
    width: 100% !important;
    text-align: center !important;
  }
}


/* ============================================================
   DIRECTIONS PAGE
   ============================================================ */
/* Convert float layout to responsive grid */
.mp-page div[style*="float: left; width: 300px"],
.mp-page div[style*="float: left; width: 280px"] {
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--mp-off-white);
  border-radius: 6px;
  border-left: 4px solid var(--mp-red);
}
@media (min-width: 768px) {
  .mp-page div[style*="float: left; width: 300px"],
  .mp-page div[style*="float: left; width: 280px"] {
    float: left !important;
    width: 31% !important;
    margin-right: 2.5% !important;
  }
}


/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */
@media (max-width: 767.98px) {
  /* Top bar */
  .mp-topbar {
    font-size: 18px;
    padding: 10px 0;
    text-align: center;
  }
  .mp-topbar i { font-size: 16px; }
  .mp-topbar-sep { margin: 0 9px; }
  .mp-topbar-login { padding: 5px 13px; font-size: 15px; }

  /* Brand: keep both logos visible on mobile, tighter gap */
  .mp-brand { gap: 8px; }
  .mp-logo-circle { height: 44px; }
  .mp-logo-1800 { height: 26px; }

  /* Content */
  .mp-content { padding: 0 12px; }
  .mp-page .col-lg-9 { padding-left: 12px; padding-right: 12px; }

  /* Product grid — 2 columns on mobile */
  .touchcarousel .touchcarousel-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .touchcarousel .touchcarousel-item {
    padding: 10px;
  }

  /* Product lists — single column on mobile */
  .mpList ul {
    grid-template-columns: 1fr !important;
  }

  /* Directions cards stack */
  .mp-page div[style*="float: left; width: 300px"],
  .mp-page div[style*="float: left; width: 280px"] {
    float: none !important;
    width: 100% !important;
    margin-right: 0 !important;
  }

  /* Contact page stack */
  .mp-page div[style*="float: right; width: 600px"] {
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
  }
  .mp-page div[style*="width: 355px"] {
    width: 100% !important;
  }

  /* Footer */
  .mp-footer-locations .row { text-align: center; }
  .mp-footer-bottom {
    text-align: center;
  }
  .mp-footer-bottom .d-flex {
    flex-direction: column !important;
    gap: 8px;
  }
  .mp-footer-legal { justify-content: center; }

  /* Service page images */
  .mp-page img[src*="services_"] {
    max-width: 100%;
    display: block;
    margin: 8px auto;
  }
  /* Generic float images on mobile */
  .mp-page img[style*="float: right"],
  .mp-page img[style*="float:right"] {
    float: none !important;
    display: block;
    margin: 16px auto !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
}

@media (max-width: 400px) {
  .touchcarousel .touchcarousel-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .mp-page h1, .mp-h1 { font-size: 22px; }
}


/* ============================================================
   HOMEPAGE MOBILE FIXES
   ============================================================ */
@media (max-width: 767.98px) {
  /* Hero section */
  .mpContent h1[style*="font-size: 48px"],
  .mp-content h1[style*="font-size: 48px"] {
    font-size: 28px !important;
    line-height: 1.15 !important;
  }
  /* Hero buttons — stack and full width */
  .mpContent a[style*="padding: 14px 36px"],
  .mp-content a[style*="padding: 14px 36px"] {
    display: block !important;
    text-align: center !important;
    margin-bottom: 10px !important;
    margin-right: 0 !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
  }
  /* Hero container padding */
  .mpContent div[style*="padding: 64px"],
  .mp-content div[style*="padding: 64px"] {
    padding: 36px 16px 32px !important;
  }
  /* Hero subtitle */
  .mpContent p[style*="font-size: 17px"],
  .mp-content p[style*="font-size: 17px"] {
    font-size: 14px !important;
  }
  /* Hero "Why" stats box — show on mobile too but simplified */
  .mpContent div[style*="padding: 28px 32px"][style*="border-radius: 8px"] {
    padding: 20px !important;
    margin-top: 20px;
  }

  /* Section headings */
  .mpContent h2[style*="font-size: 34px"],
  .mp-content h2[style*="font-size: 34px"] {
    font-size: 24px !important;
  }
  .mpContent h2[style*="font-size: 36px"],
  .mp-content h2[style*="font-size: 36px"] {
    font-size: 24px !important;
  }
  .mpContent h2[style*="font-size: 30px"],
  .mp-content h2[style*="font-size: 30px"] {
    font-size: 22px !important;
  }
  .mpContent h2[style*="font-size: 26px"],
  .mp-content h2[style*="font-size: 26px"] {
    font-size: 20px !important;
  }

  /* Section container padding */
  .mpContent > .container[style*="padding: 48px"],
  .mp-content > .container[style*="padding: 48px"] {
    padding: 28px 16px !important;
  }

  /* Product/Service cards — tighter padding */
  .mpContent div[style*="padding: 28px 24px"],
  .mp-content div[style*="padding: 28px 24px"] {
    padding: 20px 16px !important;
  }
  .mpContent h3[style*="font-size: 20px"],
  .mp-content h3[style*="font-size: 20px"] {
    font-size: 17px !important;
  }

  /* eCommerce CTA section */
  .mpContent div[style*="padding: 56px 0"],
  .mp-content div[style*="padding: 56px 0"] {
    padding: 32px 0 !important;
  }
  /* eCommerce buttons — stack full width */
  .mpContent a[style*="padding: 16px 40px"],
  .mp-content a[style*="padding: 16px 40px"] {
    display: block !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }

  /* Location card */
  .mpContent div[style*="padding: 32px"][style*="border-radius: 8px"][style*="background: #0a0a0c"],
  .mp-content div[style*="padding: 32px"][style*="border-radius: 8px"][style*="background: #0a0a0c"] {
    padding: 24px 20px !important;
    margin-top: 24px;
  }

  /* Brand grid */
  .mpContent div[style*="grid-template-columns: repeat(auto-fill, minmax(120px"],
  .mp-content div[style*="grid-template-columns: repeat(auto-fill, minmax(120px"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .mpContent div[style*="aspect-ratio: 3/2"][style*="padding: 16px"],
  .mp-content div[style*="aspect-ratio: 3/2"][style*="padding: 16px"] {
    padding: 10px !important;
  }

  /* Industries grid — single column */
  .mpContent div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 8px"],
  .mp-content div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 8px"] {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  /* News/updates cards */
  .mpContent div[style*="padding: 16px 20px"][style*="border-radius: 4px"],
  .mp-content div[style*="padding: 16px 20px"][style*="border-radius: 4px"] {
    padding: 14px 16px !important;
  }

  /* Dark CTA blocks in WP content (service pages etc) */
  .mp-page div[style*="padding: 28px 32px"][style*="border-radius: 6px"][style*="text-align: center"] {
    padding: 24px 16px !important;
  }
  .mp-page span[style*="font-size: 22px"][style*="text-transform: uppercase"] {
    font-size: 18px !important;
  }
  .mp-page a[style*="padding: 12px 32px"][style*="border-radius: 4px"] {
    padding: 12px 20px !important;
    font-size: 14px !important;
    display: block !important;
    margin: 10px auto 0 !important;
    max-width: 280px;
  }
  /* Callout boxes */
  .mp-page div[style*="border-left: 4px solid #c41a1a"][style*="padding: 20px 24px"] {
    padding: 16px !important;
  }

  /* Service page hero images */
  .mp-page img[style*="max-height: 360px"] {
    max-height: 200px !important;
  }

  /* Service landing page grid cards */
  .mp-page div[style*="grid-template-columns: repeat(auto-fill, minmax(280px"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 400px) {
  /* Extra small — tighten further */
  .mpContent h1[style*="font-size: 48px"],
  .mp-content h1[style*="font-size: 48px"] {
    font-size: 24px !important;
  }
  .mpContent div[style*="padding: 64px"],
  .mp-content div[style*="padding: 64px"] {
    padding: 28px 12px 24px !important;
  }
  /* Brand grid 2 columns at very small */
  .mpContent div[style*="grid-template-columns: repeat(auto-fill, minmax(120px"],
  .mp-content div[style*="grid-template-columns: repeat(auto-fill, minmax(120px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
