:root {
  /*** Global ***/
  --theme-primary: #000000;
  --theme-secondary: #b11a02;
  --theme-tertiary: #fff;
  --theme-text: #545454;
  --theme-lightgrey: #aaaaaa;
  --evo-brand-default: #b11901;

  /* Top Bar */
  --topbar-bg: #fff;
  --topbar-icons: var(--theme-primary);
  --topbar-text: var(--theme-text);
  --topbar-hover: #aaa !important;
  
  /* Main Header */
  --header-bg: #fff;
  --header-icons: #b11a02;
  --header-text: #2b2b2b;
  --header-hover: #b11a02;
  
  /* Header Search Bar */
  --search-bg: #fff;
  --search-icons: #b11a02;
  --search-text: #000;
  --search-focus: var(--theme-primary);
  
  /* Main Navigation */
  --nav-bg: #000;
  --nav-border: #dfdfdf;
  --nav-icons: var(--theme-primary);
  --nav-text: #fff;
  --nav-hover: #b11801;
  
  /* USP Strip */
  --strip-bg: #fff;
  --strip-icons: #b11a02;
  --strip-text: var(--theme-text);
  --strip-hover: #aaa !important;
  
  /* Footer */
  --footer-bg: #454545;
  --footer-icons: #fff;
  --footer-text: #fff;
  --footer-hover: #b11a02;
  
  /* Footer Newsletter Input */
  --footnews-bg: #fff;
  --footnews-icons: var(--theme-primary);
  --footnews-text: var(--theme-text);
  --footnews-focus: var(--theme-primary);
  
  /* Footer Social Icons */
  --footsocial-bg: #b11901;
  --footsocial-icons: #fff;
  --footsocial-bg-hover: var(--theme-tertiary);
  --footsocial-icons-hover: #000;
  
  /* Footer Search */
  --footsearch-text: #000;
  
  /* Title Underline Colour */
  --title-underline: var(--theme-primary);
  
  /* Simple / Link Boxes */
  --linkbox-bg: var(--theme-primary);
  --linkbox-text: #fff;
  --linkbox-hover-bg: var(--theme-tertiary);
  --linkbox-hover-text: #fff;
}

/* Search bar edits */
.header-full .search_container section.search .search-form .form-group input {
  height: 50px;
  border: 3px solid #b11901 !important;
}

/* Banner rollover */
.page-content a > img {
  transition: 0.35s opacity;
}
.page-content a:hover > img {
  opacity: 0.7;
}

/* Hide ECI's default branch banner — replaced by #mdh-branch-banner (footer block) */
.current-branch-banner {
  display: none !important;
}

#mdh-branch-banner {
  --mdh-bar-bg: #1f1b1a;   /* smoky black, same as the header strip and footer */
  --mdh-open: #90ee90;
  --mdh-soon: #ffd27a;
  --mdh-closed: #ffb3b3;
  background: var(--mdh-bar-bg);
  border-bottom: 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  padding: 6px 0;
  position: relative;
  z-index: 100;
}

#mdh-branch-banner .mdh-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 15px;
}

#mdh-branch-banner .mdh-pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

#mdh-branch-banner .mdh-hours {
  font-size: 12px;
  white-space: nowrap;
}

#mdh-branch-banner .mdh-status { font-weight: 700; }
#mdh-branch-banner .mdh-open   { color: var(--mdh-open); }
#mdh-branch-banner .mdh-soon   { color: var(--mdh-soon); }
#mdh-branch-banner .mdh-closed { color: var(--mdh-closed); }

#mdh-branch-banner .mdh-divider {
  opacity: 0.4;
  font-size: 11px;
}

/* Store switcher — now shows a dropdown arrow so it reads as clickable */
#mdh-store-select {
  background-color: rgba(255,255,255,0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 26px 3px 8px;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.2s;
}
#mdh-store-select:hover { background-color: rgba(255,255,255,0.25); }
#mdh-store-select:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#mdh-store-select option { background: #555; color: #fff; }

@media only screen and (max-width: 480px) {
  #mdh-branch-banner .mdh-hours { white-space: normal; text-align: center; }
  #mdh-branch-banner .mdh-lead-divider { display: none; }
}

/* Pick-up location modal (moved here from the old script's injected \3c style>) */
#switchBranchModal .modal-header h2 { text-align: center; font-weight: 500; }
#switchBranchModal .modal-body { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 10px; }
#switchBranchModal .modal-body .alert.alert-warning { grid-column: 1 / -1; }
#switchBranchModal .collection-branch-selector { padding: 0; text-align: center; border-radius: 10px; }
#switchBranchModal .collection-branch-selector h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#switchBranchModal .collection-branch-selector.selected {
  border-color: #abdfd1;
  box-shadow: rgba(0,0,0,.1) 0 20px 25px -5px, rgba(0,0,0,.04) 0 10px 10px -5px;
}
#switchBranchModal .address-container { padding: 10px 10px 0; }
#switchBranchModal .map-container iframe { display: block; width: 100%; height: 250px; border: 0; }
#switchBranchModal .pull-right { margin-left: 5px; }
#switchBranchModal .pull-right i { margin: 0; }
@media only screen and (max-width: 767px) {
  #switchBranchModal .modal-body { grid-template-columns: 1fr; }
  #switchBranchModal .collection-branch-selector { background: none; }
}

/* Home sticky banner */
.homestickybanner {
  background: #000000;
  padding-top: 25px;
  padding-bottom: 10px;
  margin-top: -5px;
}

/* Home product carousel */
.merchandisingcontent_container .catalog-single {
  margin-top: 7px;
  padding: 0;
}

.topcateline {
  border: 0;
  border-bottom: 4px solid #000;
  margin-bottom: 1.5em;
}

/* Making Brand Name Bigger */
.catalog-single .product-brand a {
  color: #b11901;
  font-size: 2.2em;
  font-weight: 1000;
}

/* Form spacing */
.form-group label {
  color: #333;
  margin-top: 15px;
}

.ex-searchresult .quoteme-wrapper,
.ex-category .quoteme-wrapper {
  display: block !important;
}

/* Account dropdown (header): white card, brand rows. Hover and the theme's pre-highlight (.simulated-hover)
   show a blush row with a red left edge, not a solid red block. */
.shoppingtools_container .account-dropdown { border: 1px solid #e4dfdb !important; border-radius: 12px !important; box-shadow: 0 14px 32px -12px rgba(31,27,26,.35) !important; padding: 6px !important; font-family: 'Poppins', sans-serif !important; }
.shoppingtools_container .account-dropdown .pointer { margin: 0 !important; padding: 9px 12px 9px 14px !important; border-radius: 8px !important; border-left: 3px solid transparent !important; background: transparent !important; color: #2b2b2b !important; transition: background .12s, border-color .12s; }
.shoppingtools_container .account-dropdown .pointer + .pointer { margin-top: 2px !important; }
.shoppingtools_container .account-dropdown .pointer a { display: block; font: 600 14px/1.3 'Poppins', sans-serif !important; color: #2b2b2b !important; text-decoration: none !important; }
.shoppingtools_container .account-dropdown .pointer .description { font: 400 12px/1.4 'Poppins', sans-serif !important; color: #6b6461 !important; }
.shoppingtools_container .account-dropdown .pointer:hover,
.shoppingtools_container .account-dropdown .pointer.simulated-hover { background: #fbece9 !important; border-left-color: #b11a02 !important; }
.shoppingtools_container .account-dropdown .pointer:hover a,
.shoppingtools_container .account-dropdown .pointer.simulated-hover a { color: #b11a02 !important; }

@media only screen and (min-width: 769px) {
  .cd-dropdown-content > .has-children > ul {
    flex-flow: row wrap;
  }
}

/* ===== MDH homepage polish =====
   Makes the homepage sections share one look:
   same font for headings, same white panel, same spacing between rows. */

/* 1. The theme forces Lato on every h2/h3. Our sections use Poppins. */
.mdh-dept h2, .mdh-shelf h2, .mdh-shelf h3, .mdh-svc h2, .mdh-svc h3,
.mdh-guides h2, .mdh-trust strong,
.widget-lastviewedproducts-html h2, .widget-lastviewedproducts-html h3 {
  font-family: 'Poppins', sans-serif !important;
}

/* 2. One panel style for every section */
.mdh-dept, .mdh-shelf, .mdh-svc, .mdh-guides {
  background: #fff !important;
  border: 1px solid #e4dfdb !important;
  border-radius: 12px !important;
  padding: 24px 24px 26px !important;
  margin-top: 0 !important;
  margin-bottom: 28px !important;
  box-sizing: border-box;
}

/* 3. One heading size for every section */
.mdh-dept-title, .mdh-guides-title, .mdh-svc-title, .mdh-shelf h2 {
  font-size: 24px !important; font-weight: 700 !important; color: #2b2b2b !important;
}

/* 4. Even spacing: trust strip sits right under the hero */
.mdh-trust { margin-top: -12px !important; margin-bottom: 28px !important; }

/* 5. Recently viewed: match the others */
.widget-lastviewedproducts-html h2, .widget-lastviewedproducts-html h3 {
  font-size: 24px !important; font-weight: 700 !important; color: #2b2b2b !important;
}

@media (max-width: 599px) {
  .mdh-dept, .mdh-shelf, .mdh-svc, .mdh-guides {
    border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important;
    padding: 20px 12px 22px !important; margin-bottom: 16px !important;
  }
  .mdh-dept-title, .mdh-guides-title, .mdh-svc-title, .mdh-shelf h2,
  .widget-lastviewedproducts-html h2, .widget-lastviewedproducts-html h3 { font-size: 20px !important; }
  .mdh-trust { margin-top: 0 !important; margin-bottom: 16px !important; }
}

/* ===== MDH header polish ===== */

/* Utility row (top bar widget): sits on the black header, not in a white box */
.mdh-util {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 38px; padding: 4px 0; box-sizing: border-box;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-family: 'Poppins', sans-serif; font-size: 13px; color: #d9d4d1;
}
.mdh-util-slot { min-width: 0; }
.mdh-util-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.mdh-util-links li { margin: 0; padding: 0; }
.mdh-util-fallback, .mdh-util-links a {
  display: inline-flex; align-items: center; gap: 6px;
  color: #d9d4d1 !important; text-decoration: none !important; white-space: nowrap;
}
.mdh-util-fallback:hover, .mdh-util-links a:hover { color: #fff !important; }
.mdh-util-links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mdh-util a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Store banner when it sits inside the utility row */
#mdh-branch-banner.is-inline { background: transparent; border: 0; padding: 0; z-index: auto; }
#mdh-branch-banner.is-inline .mdh-banner-inner { justify-content: flex-start; padding: 0; }

/* Call link in the store banner */
#mdh-branch-banner .mdh-call {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff !important; font-weight: 600; text-decoration: none !important; white-space: nowrap;
}
#mdh-branch-banner .mdh-call svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#mdh-branch-banner .mdh-call:hover .mdh-call-num { text-decoration: underline; }
#mdh-branch-banner .mdh-call-short { display: none; }
@media (max-width: 767px) {
  #mdh-branch-banner .mdh-pin { order: 0; }
  #mdh-branch-banner #mdh-store-select { order: 1; }
  #mdh-branch-banner .mdh-call { order: 2; background: #b11a02; padding: 3px 12px; border-radius: 999px; font-size: 13px; }
  #mdh-branch-banner .mdh-call-num, #mdh-branch-banner .mdh-call-divider, #mdh-branch-banner .mdh-lead-divider { display: none; }
  #mdh-branch-banner .mdh-call-short { display: inline; }
  #mdh-branch-banner .mdh-hours { order: 3; flex-basis: 100%; text-align: center; }
}

/* Main menu bar: same font as the rest of the site */
.menu .catalog-block .cd-dropdown-trigger,
.menu .catalog-block .additional_links li.menuitem > a {
  font-family: 'Poppins', sans-serif !important; font-size: 14px; font-weight: 600; letter-spacing: .01em; color: #fff;
}
.menu .cd-dropdown-content a { font-family: 'Poppins', sans-serif !important; }

/* ===== MDH blog guides (.mdh-guide) ===== */
.mdh-guide { max-width: 860px; margin: 0 auto; font-family: 'Poppins', sans-serif; color: #2b2b2b; font-size: 16px; line-height: 1.65; }
.mdh-guide h2 { font-family: 'Poppins', sans-serif !important; font-size: 24px; font-weight: 700; color: #2b2b2b; margin: 40px 0 14px; scroll-margin-top: 90px; }
.mdh-guide h3 { font-family: 'Poppins', sans-serif !important; font-size: 18px; font-weight: 700; color: #2b2b2b; margin: 0 0 8px; }
.mdh-guide p { margin: 0 0 12px; }
.mdh-guide ul { margin: 0 0 12px; padding-left: 22px; }
.mdh-guide li { margin: 4px 0; }
.mdh-guide a { color: #b11a02; font-weight: 600; }
.mdh-guide-lead { font-size: 18px; color: #4a4542; }

.mdh-guide-glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; }
.mdh-guide-glance div { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; border: 1px solid #e4dfdb; background: #fff; }
.mdh-guide-glance .mdh-glance-label { display: block; padding: 7px 14px; background: #b11a02; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mdh-guide-glance strong { display: block; flex: 1; padding: 12px 14px; background: #fbece9; color: #2b2b2b; font-size: 16px; font-weight: 700; line-height: 1.3; }

.mdh-guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; background: #2b2624; color: #fff; border-radius: 12px; padding: 18px 22px; margin: 22px 0; }
.mdh-guide-cta strong { font-size: 18px; color: #fff; }
.mdh-guide-cta p { margin: 4px 0 0; font-size: 14px; color: #e3dcd8; max-width: 52ch; }
.mdh-guide-cta p a { color: #fff; }
.mdh-guide-cta > a { background: #b11a02; color: #fff !important; padding: 10px 18px; border-radius: 8px; text-decoration: none !important; white-space: nowrap; }
.mdh-guide-cta > a:hover { background: #8e1401; }

.mdh-guide-toc { background: #fff; border: 1px solid #e4dfdb; border-left: 4px solid #b11a02; border-radius: 10px; padding: 16px 20px; margin: 22px 0; }
.mdh-guide-toc > strong { display: block; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #6b6461; margin-bottom: 6px; }
.mdh-guide-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.mdh-guide-toc li { margin: 0 0 6px; break-inside: avoid; }
.mdh-guide-toc a { text-decoration: none; }
.mdh-guide-toc a:hover { text-decoration: underline; }

.mdh-guide-tools { columns: 2; column-gap: 32px; }
.mdh-guide-tools li { margin: 0 0 6px; break-inside: avoid; }
.mdh-guide-stage { display: inline-block; vertical-align: middle; margin-right: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #b11a02; padding: 3px 10px; border-radius: 999px; }

.mdh-guide-step { background: #fff; border: 1px solid #e4dfdb; border-radius: 10px; padding: 16px 20px 6px; margin: 0 0 14px; }
.mdh-guide-tip, .mdh-guide-warn, .mdh-guide-note { border-radius: 8px; padding: 10px 14px; font-size: 15px; }
.mdh-guide-tip { background: #eef6ec; }
.mdh-guide-warn { background: #fbece9; }
.mdh-guide-note { background: #f6f5f3; }
.mdh-guide-shop { font-size: 14px; color: #6b6461; border-top: 1px dashed #e4dfdb; padding-top: 10px; }
.mdh-guide-fine { font-size: 13px; color: #6b6461; }

@media (max-width: 599px) {
  .mdh-guide { font-size: 15.5px; }
  .mdh-guide h2 { font-size: 21px; }
  .mdh-guide-glance { grid-template-columns: 1fr 1fr; }
  .mdh-guide-toc ol, .mdh-guide-tools { columns: 1; }
  .mdh-guide-step { padding: 14px 14px 4px; }
  .mdh-guide-cta > a { width: 100%; text-align: center; box-sizing: border-box; }
}
/* ===== MDH materials quote form (.mdh-quote) ===== */
.mdh-quote { max-width: 860px; margin: 0 auto; font-family: 'Poppins', sans-serif; color: #2b2b2b; font-size: 16px; line-height: 1.55; }
.mdh-quote h2 { font-family: 'Poppins', sans-serif !important; font-size: 28px; font-weight: 700; margin: 0 0 8px; color: #2b2b2b; }
.mdhq-head p { color: #4a4542; font-size: 17px; margin: 0 0 12px; }
.mdhq-trust { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.mdhq-trust li { background: #fff; border: 1px solid #e4dfdb; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.mdhq-trust li::before { content: "\2713"; color: #b11a02; margin-right: 6px; }

.mdhq-step { font-family: 'Poppins', sans-serif !important; font-size: 19px; font-weight: 700; margin: 28px 0 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.mdhq-step span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #b11a02; color: #fff; font-size: 14px; }
.mdhq-step small { flex-basis: 100%; font-size: 13px; font-weight: 400; color: #6b6461; }

.mdhq-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mdhq-type { background: #fff; border: 1px solid #e4dfdb; border-radius: 10px; padding: 12px 10px; font: 600 14px 'Poppins', sans-serif; color: #2b2b2b; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.mdhq-type:hover { border-color: #b11a02; }
.mdhq-type[aria-pressed="true"] { background: #b11a02; border-color: #b11a02; color: #fff; }

.mdhq-section { display: none; background: #fff; border: 1px solid #e4dfdb; border-radius: 10px; padding: 16px 18px; margin: 0 0 14px; }
.mdhq-section.is-on { display: block; }
.mdhq-pick { background: #f6f5f3; border-radius: 8px; padding: 10px 14px; font-size: 14px; color: #6b6461; }
.mdh-quote.has-type .mdhq-pick { display: none; }

.mdhq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
.mdh-quote label { display: block; font-size: 13px; font-weight: 600; color: #4a4542; margin: 0; }
.mdh-quote label input, .mdh-quote label select, .mdh-quote label textarea, .mdhq-fallback textarea {
  display: block; width: 100%; box-sizing: border-box; margin-top: 4px; height: auto; min-height: 42px;
  border: 1px solid #d6d0cc; border-radius: 8px; padding: 9px 11px; font: 400 15px 'Poppins', sans-serif; color: #2b2b2b; background: #fff; box-shadow: none; }
.mdh-quote label input:focus, .mdh-quote label select:focus, .mdh-quote textarea:focus { border-color: #b11a02; outline: 2px solid rgba(177,26,2,.15); }
.mdhq-wide { grid-column: 1 / -1; }
.mdhq-common { margin-top: 14px; }
.mdhq-notes-label { margin-top: 14px !important; }

.mdhq-area { font-size: 14px; font-weight: 600; color: #b11a02; margin: 10px 0 0; }
.mdhq-area:empty { display: none; }
.mdhq-note { font-size: 14px; background: #eef6ec; border-radius: 8px; padding: 9px 12px; margin: 12px 0 0; }
.mdhq-email-plans { display: none; font-size: 14px; background: #f6f5f3; border-left: 3px solid #b11a02; border-radius: 6px; padding: 10px 12px; margin: 12px 0 0; }
.mdhq-email-plans.is-on { display: block; }
.mdh-quote a { color: #b11a02; font-weight: 600; }

/* Without JavaScript: show the plain message box, hide the builder */
.mdhq-needs-js { display: none; }
.mdh-quote.mdhq-js .mdhq-needs-js { display: block; }
.mdh-quote.mdhq-js .mdhq-fallback { display: none; }
.mdhq-fallback label { font-size: 14px; font-weight: 600; }

.mdhq-submit { display: block; width: 100%; color: #fff !important; border: 0; cursor: pointer; margin-top: 22px; padding: 14px 18px !important; font: 600 17px 'Poppins', sans-serif !important; border-radius: 10px !important; background: #b11a02 !important; border-color: #b11a02 !important; }
.mdhq-submit:hover { background: #8e1401 !important; }
.mdhq-fine { font-size: 14px; color: #6b6461; text-align: center; margin: 12px 0 0; }

@media (max-width: 599px) {
  .mdh-quote h2 { font-size: 23px; }
  .mdhq-types { grid-template-columns: 1fr 1fr; }
  .mdhq-grid { grid-template-columns: 1fr; }
  .mdhq-section { padding: 14px; }
}

/* ===== MDH delivery page (.mdh-dlv) ===== */
.mdh-dlv { max-width: 980px; margin: 0 auto; font-family: 'Poppins', sans-serif; color: #2b2b2b; font-size: 16px; line-height: 1.6; }
.mdh-dlv h1, .mdh-dlv h2, .mdh-dlv h3 { font-family: 'Poppins', sans-serif !important; color: #2b2b2b; }
.mdh-dlv h2 { font-size: 24px; font-weight: 700; margin: 36px 0 10px; }
.mdh-dlv h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.mdh-dlv p { margin: 0 0 12px; }
.mdh-dlv a { color: #b11a02; font-weight: 600; }

.mdh-dlv-hero { background: #2b2624; color: #fff; border-radius: 14px; padding: 28px 28px 24px; margin: 10px 0 8px; }
.mdh-dlv-kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ff8f7a; margin: 0 0 6px !important; }
.mdh-dlv-hero h1 { color: #fff !important; font-size: 34px; font-weight: 700; line-height: 1.15; margin: 0 0 10px; }
.mdh-dlv-hero > p { color: #e3dcd8; max-width: 62ch; }
.mdh-dlv-facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mdh-dlv-facts li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 10px 14px; }
.mdh-dlv-facts strong { display: block; font-size: 20px; color: #fff; }
.mdh-dlv-facts span { font-size: 13px; color: #d9d4d1; }

.mdh-dlv-map { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid #e4dfdb; aspect-ratio: 4 / 3; max-height: 560px; width: 100%; background: #f6f5f3; }
.mdh-dlv-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.mdh-dlv-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mdh-dlv-card { background: #fff; border: 1px solid #e4dfdb; border-top: 4px solid #b11a02; border-radius: 10px; padding: 16px 18px; }
.mdh-dlv-sub { font-size: 13px; color: #6b6461; }
.mdh-dlv-card dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0 0 10px; }
.mdh-dlv-card dt { font-weight: 400; color: #4a4542; }
.mdh-dlv-card dd { margin: 0; font-weight: 700; font-size: 18px; text-align: right; }
.mdh-dlv-ex { font-size: 14px; background: #f6f5f3; border-radius: 8px; padding: 8px 12px; margin: 0 !important; }
.mdh-dlv-small { font-size: 13px; color: #6b6461; margin-top: 8px !important; }

.mdh-dlv-calc { background: #fbece9; border-radius: 12px; padding: 18px 20px; margin: 18px 0; }
.mdh-dlv-calc-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px 16px; align-items: end; margin-top: 8px; }
.mdh-dlv-calc label { display: block; font-size: 13px; font-weight: 600; color: #4a4542; margin: 0 !important; }
.mdh-dlv-calc input, .mdh-dlv-calc select { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; height: 44px; border: 1px solid #d6d0cc; border-radius: 8px; padding: 8px 11px; font: 400 15px 'Poppins', sans-serif; background: #fff; }
.mdh-dlv-out { background: #b11a02; color: #fff; border-radius: 10px; padding: 8px 18px; text-align: center; min-width: 140px; }
.mdh-dlv-out span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.mdh-dlv-out strong { font-size: 26px; line-height: 1.2; }
.mdh-dlv-note { font-size: 13px; color: #4a4542; margin: 10px 0 0 !important; }
.mdh-dlv-note:empty { display: none; }

.mdh-dlv-reward { border: 1px dashed #b11a02; border-radius: 10px; padding: 12px 16px; margin: 0 0 8px; }
.mdh-dlv-reward strong { color: #b11a02; }
.mdh-dlv-reward p { margin: 2px 0 0; font-size: 15px; }

.mdh-dlv-steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.mdh-dlv-steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid #e4dfdb; border-radius: 10px; padding: 12px 16px 12px 56px; }
.mdh-dlv-steps li::before { content: counter(s); position: absolute; left: 16px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: #b11a02; color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.mdh-dlv-tip { background: #eef6ec; border-radius: 8px; padding: 10px 14px; font-size: 15px; }

.mdh-dlv-place { background: #fff; border: 1px solid #e4dfdb; border-radius: 10px; padding: 16px 20px 6px; }
.mdh-dlv-place ul { padding-left: 20px; margin: 0 0 12px; }
.mdh-dlv-place li { margin: 4px 0; }

.mdh-dlv-cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mdh-dlv-cats a { display: block; background: #fff; border: 1px solid #e4dfdb; border-radius: 8px; padding: 10px 12px; text-decoration: none !important; color: #2b2b2b !important; font-size: 14px; }
.mdh-dlv-cats a:hover { border-color: #b11a02; color: #b11a02 !important; }

.mdh-dlv-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; background: #2b2624; color: #fff; border-radius: 12px; padding: 18px 22px; margin: 32px 0 10px; }
.mdh-dlv-cta strong { font-size: 18px; color: #fff; }
.mdh-dlv-cta p { margin: 4px 0 0; font-size: 14px; color: #e3dcd8; }
.mdh-dlv-cta p a { color: #fff; }
.mdh-dlv-cta > a { background: #b11a02; color: #fff !important; padding: 10px 18px; border-radius: 8px; text-decoration: none !important; white-space: nowrap; }

@media (max-width: 767px) {
  .mdh-dlv-hero { padding: 22px 18px; border-radius: 0; margin-left: -15px; margin-right: -15px; }
  .mdh-dlv-hero h1 { font-size: 26px; }
  .mdh-dlv-facts { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .mdh-dlv-facts li { padding: 8px 10px; }
  .mdh-dlv-facts strong { font-size: 16px; }
  .mdh-dlv-prices { grid-template-columns: 1fr; }
  .mdh-dlv-map { aspect-ratio: 1 / 1; }
  .mdh-dlv-calc-row { grid-template-columns: 1fr 1fr; }
  .mdh-dlv-out { grid-column: 1 / -1; }
  .mdh-dlv-cats { grid-template-columns: 1fr 1fr; }
  .mdh-dlv-cta > a { width: 100%; text-align: center; box-sizing: border-box; }
}
.mdh-dlv-towns { font-size: 14px; color: #4a4542; margin-top: 12px !important; }

/* ===== MDH main navigation bar ===== */
/* Smoky-black bar that continues the header, red accent line underneath */
.menu .catalog-block {
  background: linear-gradient(180deg, #2e2725 0%, #1f1b1a 55%, #171312 100%) !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  border-bottom: 3px solid #b11a02 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 16px -10px rgba(0,0,0,.55);
}
/* "Departments" is a red tab on the left, lit from above */
.menu .catalog-block .cd-dropdown-trigger {
  background: linear-gradient(180deg, #d02a0e 0%, #b11a02 55%, #951401 100%) !important;
  border-radius: 6px 6px 0 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  transition: background .15s;
}
.menu .catalog-block .cd-dropdown-trigger.dropdown-is-active { background: #8e1401 !important; }
.menu .catalog-block .cd-dropdown-trigger:hover { background: linear-gradient(180deg, #b8220a 0%, #951401 100%) !important; }
/* ===== MDH footer ===== */
footer.footer {
  background: #1f1b1a !important;
  border-top: 4px solid #b11a02;
  font-family: 'Poppins', sans-serif !important;
  color: #cfc8c4;
  padding-top: 40px !important;
}
/* Menu titles. On phones the theme turns each menu into a tap-to-open list, so titles keep a soft divider (desktop removes it) */
footer.footer .foot-menu h4.title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; position: relative;
  border-bottom: 1px solid rgba(255,255,255,.14) !important;
}
footer.footer .foot-menu ul { list-style: none; margin: 0 !important; padding: 0 !important; }
footer.footer .foot-menu li { margin: 0 !important; padding: 0 !important; line-height: 1.4; }
footer.footer .foot-menu li a {
  display: inline-block; padding: 4px 0 !important;
  font-family: 'Poppins', sans-serif !important; font-size: 14px; color: #cfc8c4 !important;
  text-decoration: none !important; transition: color .15s, transform .15s;
}
footer.footer .foot-menu li a:hover,
footer.footer .foot-menu li a:focus-visible { color: #fff !important; transform: translateX(3px); }
footer.footer .foot-menu li.active a { color: #fff !important; }

/* Bottom rows: copyright, search, payment logos, social */
footer.footer .footersection-2,
footer.footer .footersection-3 { font-family: 'Poppins', sans-serif !important; font-size: 13px; color: #a9a19d; }
footer.footer .footersection-2 { border-top: 1px solid rgba(255,255,255,.1) !important; padding-top: 18px !important; margin-top: 28px; }
footer.footer .footersection-3 { border-top: 1px solid rgba(255,255,255,.1) !important; padding-top: 14px !important; padding-bottom: 14px !important; }
footer.footer .social-icons a { background: #b11a02 !important; color: #fff !important; transition: background .15s; }
footer.footer .social-icons a:hover { background: #8e1401 !important; }

/* Desktop: five even columns on a centered grid */
@media (min-width: 768px) {
  footer.footer .footersection-1 { max-width: 1200px; margin: 0 auto; }
  footer.footer .footersection-1 > .row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; margin: 0; }
  footer.footer .footersection-1 > .row::before,
  footer.footer .footersection-1 > .row::after { display: none; }
  footer.footer .footersection-1 > .row > .col { width: auto; float: none; padding: 0; }
  footer.footer .foot-menu h4.title { border-bottom: 0 !important; margin: 0 0 14px; padding: 0 0 10px; }
  footer.footer .foot-menu h4.title::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: #b11a02;
  }
  footer.footer .footersection-2, footer.footer .footersection-3 { max-width: 1200px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 768px) and (max-width: 991px) {
  footer.footer .footersection-1 > .row { grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
}

/* ===== MDH header v2: white logo row, pill nav, store callout ===== */


/* Nav links as soft 3D pill buttons ("Departments" keeps its red tab) */
.menu .container li.menuitem:hover,
.menu .catalog-block .additional_links li.menuitem:hover { background: transparent !important; }  /* theme filled the whole cell on hover */
.menu .catalog-block .additional_links li.menuitem { padding: 6px 5px; }
.menu .catalog-block .additional_links li.menuitem > a {
  display: inline-block; border: 1px solid rgba(177,26,2,.9); border-radius: 999px; padding: 3px 14px !important;
  color: #f2eeec !important; text-decoration: none !important;
  background: linear-gradient(180deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,0) 60%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 2px 4px rgba(0,0,0,.35) !important;
  transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}
.menu .catalog-block .additional_links li.menuitem > a:hover,
.menu .catalog-block .additional_links li.menuitem > a:focus-visible,
.menu .catalog-block .additional_links li.menuitem.active > a,
.menu .catalog-block .additional_links li.menuitem > a[href*="materials-quote"] {
  background: linear-gradient(180deg, #d02a0e 0%, #b11a02 55%, #951401 100%);
  border-color: #8e1401; color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 8px rgba(0,0,0,.45) !important;
}
.menu .catalog-block .additional_links li.menuitem > a:hover,
.menu .catalog-block .additional_links li.menuitem > a:focus-visible { transform: translateY(-1px); }
.menu .catalog-block .additional_links li.menuitem > a:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.3) !important;
}
/* Free quote stays the solid one, a shade brighter on hover */
.menu .catalog-block .additional_links li.menuitem > a[href*="materials-quote"]:hover {
  background: linear-gradient(180deg, #e0341a 0%, #c11f05 55%, #a11702 100%);
}

/* "Select your store" callout next to the store picker */
#mdh-branch-banner .mdh-pin::after {
  content: "Select your store \2192"; font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .02em; color: #ffb3a6; white-space: nowrap;
}
@media (max-width: 767px) { #mdh-branch-banner .mdh-pin::after { display: none; } }

/* Wide screens: store info centered in the utility row, help links stay right */
@media (min-width: 1200px) {
  .mdh-util { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .mdh-util-slot { grid-column: 2; grid-row: 1; }
  .mdh-util-links { grid-column: 3; grid-row: 1; justify-self: end; }
  #mdh-branch-banner.is-inline .mdh-banner-inner { justify-content: center; }
}

/* ===== MDH header v3: warm sunburst behind the logo ===== */
/* Smoky-black store strip on top, warm cream logo row with soft red rays
   coming from behind the logo, smoky-black nav bar below. The background
   runs the full width of the screen; the rays follow the logo, which sits
   124px in from the left edge of the page container. The cream shifts
   color at 61.8% across (golden ratio). */
.header-full {
  --mdh-sun-x: 124px;   /* screens up to 1366px: container is full width */
  --mdh-sun: var(--mdh-sun-x) 137px;
  background:
    linear-gradient(to bottom, rgba(31,27,26,0) calc(100% - 92px), rgba(31,27,26,.16) calc(100% - 48px), rgba(31,27,26,0) calc(100% - 48px)),
    radial-gradient(circle at var(--mdh-sun), rgba(255,255,255,.95) 0, rgba(255,255,255,.55) 110px, rgba(253,244,238,0) 320px),
    radial-gradient(ellipse 950px 240px at var(--mdh-sun), rgba(253,244,238,0) 35%, #f6e4d9 100%),
    repeating-conic-gradient(from 0deg at var(--mdh-sun), rgba(177,26,2,.07) 0deg 4deg, rgba(177,26,2,0) 4deg 11deg),
    linear-gradient(90deg, #fdf6f1 0%, #f8e9df 61.8%, #f1d8ca 100%) !important;
}
@media (min-width: 1367px) { .header-full { --mdh-sun-x: calc(50% - 466px); } }  /* 1180px container */
@media (min-width: 1470px) { .header-full { --mdh-sun-x: calc(50% - 601px); } }  /* 1450px container */

/* Smoky black (same as the footer) for the store strip; the nav bar is in "MDH main navigation bar" */
.header-full .headersection-2 {
  background: #1f1b1a; position: relative; z-index: 2;
  box-shadow: 0 6px 12px -8px rgba(0,0,0,.45);
}

/* ===== MDH Departments drop-down ===== */
@media (min-width: 992px) {
  /* Whole menu: soft shadow, rounded bottom */
  .menu .cd-dropdown.dropdown-is-active {
    box-shadow: 0 22px 44px -12px rgba(31,27,26,.35);
    border-radius: 0 0 0 12px;
  }
  /* Left list of departments: warm cream column */
  .menu .cd-dropdown .cd-dropdown-content { background: #faf6f3; border-radius: 0 0 0 12px; }
  .menu .cd-dropdown .cd-dropdown-content > li { border-bottom: 1px solid #f0e8e3 !important; }
  .menu .cd-dropdown .cd-dropdown-content > li > a {
    font-family: 'Poppins', sans-serif !important; font-size: 14px; font-weight: 500; color: #2b2b2b !important;
    border-left: 3px solid transparent; transition: background .12s, color .12s, border-color .12s;
  }
  .menu .cd-dropdown .cd-dropdown-content > li:hover > a,
  .menu .cd-dropdown .cd-dropdown-content > li:focus-within > a {
    background: #fff !important; color: #b11a02 !important; border-left-color: #b11a02;
  }

  /* Right panel: groups flow down in columns, so no big empty rows */
  .menu .cd-dropdown .cd-secondary-dropdown {
    display: block !important; columns: 4 200px; column-gap: 28px;
    padding: 22px 28px 10px !important; box-sizing: border-box;
    height: auto !important; min-height: 100%; overflow: visible !important;
    border-radius: 0 0 12px 0; box-shadow: 0 22px 44px -12px rgba(31,27,26,.35);
  }
  .menu .cd-dropdown .cd-secondary-dropdown > li {
    display: block !important; width: auto !important; float: none !important; margin: 0 !important;
    break-inside: avoid; padding: 0 0 18px !important; border: 0 !important; height: auto !important;
  }
  /* Group headings */
  .menu .cd-dropdown .cd-secondary-dropdown > li > a {
    font-family: 'Poppins', sans-serif !important; font-size: 15px !important; font-weight: 700 !important;
    color: #2b2b2b !important; line-height: 1.3; padding: 0 0 8px !important; margin-bottom: 6px;
    height: auto !important;
  }
  .menu .cd-dropdown .cd-secondary-dropdown > li.go-back { display: none !important; }
  .menu .cd-dropdown .cd-secondary-dropdown > li > a:hover { color: #b11a02 !important; }
  /* Links under each heading */
  .menu .cd-dropdown .cd-secondary-dropdown > li > ul > li > a {
    font-family: 'Poppins', sans-serif !important; font-size: 14px !important; line-height: 1.35; color: #4a4542 !important;
    padding: 4px 0 !important; height: auto !important; transition: color .12s, transform .12s;
  }
  .menu .cd-dropdown .cd-secondary-dropdown > li > ul > li > a:hover { color: #b11a02 !important; transform: translateX(3px); }
}

/* ===== MDH phone header + phone menu ===== */
@media (max-width: 991px) {
  /* Logo row: the same warm sunburst as desktop, rays from the centered logo */
  .header-mobile {
    background:
      radial-gradient(circle at 50% 50%, rgba(255,255,255,.95) 0, rgba(255,255,255,.55) 60px, rgba(253,244,238,0) 170px),
      radial-gradient(ellipse 420px 140px at 50% 50%, rgba(253,244,238,0) 35%, #f6e4d9 100%),
      repeating-conic-gradient(from 0deg at 50% 50%, rgba(177,26,2,.07) 0deg 4deg, rgba(177,26,2,0) 4deg 11deg),
      linear-gradient(90deg, #f1d8ca 0%, #fdf6f1 50%, #f1d8ca 100%) !important;
    border-bottom: 3px solid #b11a02;
    box-shadow: 0 6px 14px -10px rgba(0,0,0,.45);
  }
  .header-mobile .fa { color: #2b2b2b; }

  /* Slide-out menu: smoky black with the red accents */
  .header-mobile .cd-dropdown {
    background: linear-gradient(180deg, #2a2321 0%, #1f1b1a 40%, #171312 100%) !important;
    font-family: 'Poppins', sans-serif !important;
  }
  .header-mobile .cd-dropdown .dropdown-extras { background: #171312 !important; border-bottom: 1px solid rgba(255,255,255,.08); }
  .header-mobile .cd-dropdown .dropdown-extras a { font-family: 'Poppins', sans-serif !important; font-size: 13px; color: #e9e4e1 !important; }
  .header-mobile .cd-dropdown h3 {
    background: #2b2624 !important; font-family: 'Poppins', sans-serif !important; font-weight: 700;
    letter-spacing: .02em; border-bottom: 3px solid #b11a02;
  }
  .header-mobile .cd-dropdown-content li { border-bottom: 1px solid rgba(255,255,255,.08) !important; }
  .header-mobile .cd-dropdown-content a {
    font-family: 'Poppins', sans-serif !important; font-size: 15px !important; font-weight: 500;
    color: #f2eeec !important; border-bottom: 0 !important; background: transparent !important;
  }
  .header-mobile .cd-dropdown-content a:active,
  .header-mobile .cd-dropdown-content a:hover { background: rgba(177,26,2,.18) !important; color: #fff !important; }
  .header-mobile .cd-dropdown-content .has-children > a::before,
  .header-mobile .cd-dropdown-content .has-children > a::after { background: #e0341a !important; }
  .header-mobile .cd-dropdown-content .go-back > a,
  .header-mobile .cd-dropdown-content .go-back-mobile > a { color: #ffb3a6 !important; font-weight: 600; }
}

/* Quote form: delivery-area note */
.mdhq-area-note { background: #fbece9; border-left: 4px solid #b11a02; border-radius: 6px; padding: 10px 14px; font-size: 14px !important; color: #2b2b2b !important; margin: 0 0 12px !important; }

/* ===== MDH contact page (.mdh-ct) ===== */
.mdh-ct { max-width: 980px; margin: 0 auto; font-family: 'Poppins', sans-serif; color: #2b2b2b; font-size: 16px; line-height: 1.6; }
.mdh-ct h1, .mdh-ct h2 { font-family: 'Poppins', sans-serif !important; color: #2b2b2b; }
.mdh-ct a { color: #b11a02; font-weight: 600; }
.mdh-ct-hero { background: #2b2624; color: #fff; border-radius: 14px; padding: 28px 28px 24px; margin: 10px 0 18px; }
.mdh-ct-kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ff8f7a; margin: 0 0 6px !important; }
.mdh-ct-hero h1 { color: #fff !important; font-size: 36px; font-weight: 700; line-height: 1.1; margin: 0 0 10px; }
.mdh-ct-hero > p { color: #e3dcd8; max-width: 62ch; margin: 0 0 16px; }
.mdh-ct-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.mdh-ct-quick a { border: 1px solid #b11a02; border-radius: 999px; padding: 6px 14px; color: #fff !important; font-size: 14px; text-decoration: none !important; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0)); }
.mdh-ct-quick a:first-child, .mdh-ct-quick a:hover { background: linear-gradient(180deg, #d02a0e, #b11a02 55%, #951401); }

.mdh-ct-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.mdh-ct-store { background: #fff; border: 1px solid #e4dfdb; border-top: 4px solid #b11a02; border-radius: 12px; padding: 18px 20px 12px; }
.mdh-ct-store h2 { font-size: 22px; font-weight: 700; margin: 0 0 2px; }
.mdh-ct-now { font-size: 14px; font-weight: 600; margin: 0 0 10px !important; min-height: 1.4em; }
.mdh-ct-now.is-open { color: #2e7d32; }
.mdh-ct-now.is-closed { color: #b11a02; }
.mdh-ct-lines { list-style: none; padding: 0; margin: 0 0 12px; }
.mdh-ct-lines li { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px solid #f0e8e3; font-size: 15px; }
.mdh-ct-lines span { width: 46px; flex-shrink: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6b6461; padding-top: 2px; }
.mdh-ct-hours { display: none; width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 8px; }
.mdh-ct-hours.is-on { display: table; }
.mdh-ct-hours caption { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6b6461; padding: 4px 0 6px; }
.mdh-ct-hours th, .mdh-ct-hours td { padding: 3px 8px; text-align: left; font-weight: 400; }
.mdh-ct-hours td { text-align: right; }
.mdh-ct-hours tr.is-today { background: #fbece9; font-weight: 700; }
.mdh-ct-hours tr.is-today th { font-weight: 700; }
.mdh-ct-hours-link { font-size: 14px; margin: 0 !important; }

.mdh-ct-form { background: #fff; border: 1px solid #e4dfdb; border-radius: 12px; padding: 22px 24px 20px; max-width: 980px; box-sizing: border-box; }

@media (max-width: 767px) {
  .mdh-ct-hero { padding: 22px 18px; }
  .mdh-ct-hero h1 { font-size: 28px; }
  .mdh-ct-stores { grid-template-columns: 1fr; }
  .mdh-ct-form { padding: 18px 14px; }
}

/* ===== MDH about page (.mdh-ab) ===== */
.mdh-ab .mdh-ct-hero h1 { font-size: 32px; max-width: 22ch; }
.mdh-ab-h { font-family: 'Poppins', sans-serif !important; font-size: 24px; font-weight: 700; margin: 34px 0 14px; }
.mdh-ab h3 { font-family: 'Poppins', sans-serif !important; font-size: 17px; font-weight: 700; margin: 0 0 4px; color: #2b2b2b; }
.mdh-ab p { margin: 0 0 10px; }
.mdh-ab-lead { color: #4a4542; }

.mdh-ab-time { list-style: none; padding: 0; margin: 0; position: relative; }
.mdh-ab-time::before { content: ""; position: absolute; left: 39px; top: 8px; bottom: 8px; width: 2px; background: #e4cfc6; }
.mdh-ab-time li { display: flex; gap: 18px; align-items: flex-start; margin: 0 0 16px; position: relative; }
.mdh-ab-year { flex: 0 0 80px; text-align: center; background: linear-gradient(180deg, #d02a0e, #b11a02 55%, #951401); color: #fff; font-weight: 700; font-size: 15px; border-radius: 999px; padding: 6px 0; position: relative; z-index: 1; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.mdh-ab-time li > div { background: #fff; border: 1px solid #e4dfdb; border-radius: 10px; padding: 14px 18px 6px; flex: 1; }

.mdh-ab-cats { grid-template-columns: repeat(4, 1fr); }

.mdh-ab-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mdh-ab-help > div { background: #fff; border: 1px solid #e4dfdb; border-top: 3px solid #b11a02; border-radius: 10px; padding: 14px 16px 6px; }
.mdh-ab-help p { font-size: 15px; color: #4a4542; }

.mdh-ab-thanks { margin: 30px 0 0; background: #fbece9; border-radius: 12px; padding: 20px 24px 12px; font-size: 17px; }
.mdh-ab-sign { font-size: 15px; font-weight: 600; color: #b11a02; }

@media (max-width: 767px) {
  .mdh-ab .mdh-ct-hero h1 { font-size: 25px; }
  .mdh-ab-time::before { left: 31px; }
  .mdh-ab-year { flex-basis: 64px; font-size: 13px; }
  .mdh-ab-time li { gap: 10px; }
  .mdh-ab-cats { grid-template-columns: 1fr 1fr; }
  .mdh-ab-help { grid-template-columns: 1fr; }
}
.mdh-ab-badge { display: inline-block; background: #fbece9; border: 1px dashed #b11a02; border-radius: 999px; padding: 4px 14px; font-size: 14px; color: #2b2b2b; }
.mdh-ab-badge strong { color: #b11a02; }

/* Quote form: window & door item lines. Each row: .o-head (category + remove), .o-fields (questions for that category), .o-foot (brand, qty, details) */
.mdhq-sub { font-family: 'Poppins', sans-serif !important; font-size: 15px; font-weight: 700; margin: 18px 0 8px; }
.mdhq-sub small { display: block; font-size: 12px; font-weight: 400; color: #6b6461; }
.mdhq-open { margin: 0 0 8px; padding: 12px 14px; background: #faf6f3; border: 1px solid #efe7e2; border-radius: 8px; }
.mdhq-open .o-head { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 10px; }
.mdhq-open .o-head label { flex: 0 1 260px; }
.mdhq-rm { border: 1px solid #d6d0cc; background: #fff; border-radius: 8px; line-height: 1; color: #6b6461; cursor: pointer; }
.mdhq-rm:hover { color: #b11a02; border-color: #b11a02; }
.mdhq-open .o-head .mdhq-rm { margin-left: auto; height: 34px; width: auto; padding: 0 12px; font-size: 13px; }
.mdhq-open .o-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 12px; padding: 10px 0; border-top: 1px dashed #e4cfc6; border-bottom: 1px dashed #e4cfc6; }
.mdhq-open .o-foot { display: grid; grid-template-columns: 1.2fr .5fr 2fr; gap: 10px 12px; margin-top: 10px; }
.mdhq-add { border: 1px dashed #b11a02; background: #fff; color: #b11a02; font: 600 14px 'Poppins', sans-serif; border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.mdhq-add:hover { background: #fbece9; }
@media (max-width: 767px) {
  .mdhq-open .o-fields { grid-template-columns: 1fr 1fr; }
  .mdhq-open .o-foot { grid-template-columns: 1fr 1fr; }
  .mdhq-open .o-foot .o-det { grid-column: 1 / -1; }
}

/* ===== MDH special orders page (.mdh-so) ===== */
.mdh-so-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mdh-so-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e4dfdb; border-top: 4px solid #b11a02; border-radius: 12px; padding: 16px 18px; }
.mdh-so-card h3 { font-family: 'Poppins', sans-serif !important; font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.mdh-so-card p { font-size: 15px; color: #4a4542; margin: 0 0 10px; }
.mdh-so-brands { font-size: 13px !important; font-weight: 600; color: #2b2b2b !important; background: #faf6f3; border-radius: 6px; padding: 6px 10px; }
.mdh-so-act { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.mdh-so-act a { border: 1px solid #b11a02; border-radius: 999px; padding: 6px 14px; font-size: 14px; text-decoration: none !important; color: #b11a02 !important; }
.mdh-so-act a.is-main, .mdh-so-act a:hover { background: linear-gradient(180deg, #d02a0e, #b11a02 55%, #951401); color: #fff !important; }
@media (max-width: 991px) { .mdh-so-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .mdh-so-grid { grid-template-columns: 1fr; } }
.mdh-so-logos { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.mdh-so-logos a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 64px; padding: 10px 12px; background: #fff; border: 1px solid #e4dfdb; border-radius: 10px; font: 700 15px 'Poppins', sans-serif; color: #2b2b2b !important; text-decoration: none !important; box-shadow: 0 2px 6px rgba(31,27,26,.06); transition: transform .15s, box-shadow .15s, border-color .15s, color .15s; }
.mdh-so-logos a:hover { transform: translateY(-2px); border-color: #b11a02; color: #b11a02 !important; box-shadow: 0 8px 16px -8px rgba(31,27,26,.3); }
.mdh-so-logos li:last-child a { border-style: dashed; color: #b11a02 !important; }

/* ===== MDH Onyx Collection page (.mdh-ox) ===== */
.mdh-ox { max-width: 1080px; margin: 0 auto; font-family: 'Poppins', sans-serif; color: #2b2b2b; font-size: 16px; line-height: 1.6; }
.mdh-ox h1, .mdh-ox h2, .mdh-ox h3 { font-family: 'Poppins', sans-serif !important; color: #2b2b2b; }
.mdh-ox h2 { font-size: 26px; font-weight: 700; margin: 0; }
.mdh-ox h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.mdh-ox p { margin: 0 0 12px; }
.mdh-ox a { color: #b11a02; font-weight: 600; }
.mdh-ox img { max-width: 100%; height: auto; display: block; }
.mdh-ox details > summary { cursor: pointer; }

/* Hero */
.ox-hero { background: #2b2624; color: #fff; border-radius: 14px; padding: 30px 30px 24px; margin: 10px 0 14px; }
.ox-kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ff8f7a; margin: 0 0 6px !important; }
.ox-hero h1 { color: #fff !important; font-size: 36px; font-weight: 700; line-height: 1.12; margin: 0 0 10px; max-width: 20ch; }
.ox-hero > p { color: #e3dcd8; max-width: 62ch; }
.ox-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 4px; }
.ox-facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ox-facts li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 10px 14px; }
.ox-facts strong { display: block; font-size: 17px; color: #fff; }
.ox-facts span { font-size: 13px; color: #d9d4d1; }

/* Buttons: soft 3D pills */
.mdh-ox .ox-btn { display: inline-block; border-radius: 999px; padding: 11px 22px; font-size: 15px; font-weight: 600; text-decoration: none !important; line-height: 1.2; text-align: center; }
.mdh-ox .ox-btn-main { background: linear-gradient(180deg, #d02a0e, #b11a02 55%, #951401); color: #fff !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 6px rgba(0,0,0,.25); }
.mdh-ox .ox-btn-main:hover { background: #8e1401; }
.mdh-ox .ox-btn-line { border: 1px solid rgba(255,255,255,.55); color: #fff !important; }
.mdh-ox .ox-btn-line:hover { background: rgba(255,255,255,.12); }

/* Banner menu */
.ox-menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 8px; }
.ox-menu a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid #e4dfdb; transition: transform .15s, box-shadow .15s; }
.ox-menu a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.14); }
.ox-menu img { width: 100%; }

/* Sections */
.ox-sec { padding: 34px 0 6px; border-top: 1px solid #e4dfdb; margin-top: 26px; scroll-margin-top: 20px; }
.ox-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ox-sec-head h2 { position: relative; padding-left: 14px; }
.ox-sec-head h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 3px; background: #b11a02; }
.mdh-ox .ox-sec-head .ox-q { border: 1px solid #b11a02; border-radius: 999px; padding: 6px 16px; font-size: 14px; text-decoration: none !important; }
.mdh-ox .ox-sec-head .ox-q:hover { background: linear-gradient(180deg, #d02a0e, #b11a02 55%, #951401); color: #fff !important; }
.ox-lead { font-size: 17px; color: #4a4542; max-width: 72ch; }
.ox-small { font-size: 13px; color: #6b6461; }
.ox-h3 { margin-top: 22px !important; }
.ox-group { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b6461; margin: 16px 0 6px !important; }
.ox-sub { margin-top: 24px; }

/* Grids and cards */
.ox-grid { display: grid; gap: 14px; margin: 12px 0; }
.ox-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ox-grid-4 { grid-template-columns: repeat(4, 1fr); }
.ox-grid-5 { grid-template-columns: repeat(5, 1fr); }
.ox-grid-6 { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ox-card { background: #fff; border: 1px solid #e4dfdb; border-top: 4px solid #b11a02; border-radius: 12px; padding: 12px 14px 14px; }
.ox-card img { width: 100%; height: 150px; object-fit: contain; background: #fff; border-radius: 8px; margin-bottom: 10px; }
.ox-card p { font-size: 14px; color: #4a4542; margin: 0 0 6px; }
.ox-spec { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ox-spec li { background: #faf6f3; border-radius: 6px; padding: 3px 9px; font-size: 13px; }
.ox-fig { margin: 0; text-align: center; }
.ox-fig img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 1px solid #e4dfdb; border-radius: 10px; padding: 6px; box-sizing: border-box; }
.ox-fig figcaption { font-size: 13px; font-weight: 600; margin-top: 6px; line-height: 1.3; }
.ox-fig figcaption small { display: block; font-weight: 400; color: #6b6461; }
.ox-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0; }
.ox-panel { background: #faf6f3; border-radius: 12px; padding: 16px 18px; }
.ox-panel img { width: 100%; border-radius: 8px; margin-bottom: 10px; }
.ox-panel p { font-size: 15px; margin: 0; }
.ox-kit { display: grid; grid-template-columns: 260px 1fr; gap: 18px; align-items: center; background: #fff; border: 1px solid #e4dfdb; border-radius: 12px; padding: 14px; margin: 12px 0; }
.ox-kit img { width: 100%; border-radius: 8px; }
.ox-list { padding-left: 20px; margin: 8px 0 12px; }
.ox-list li { margin: 4px 0; }
.ox-chips { list-style: none; padding: 0; margin: 8px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.ox-chips li { border: 1px solid #b11a02; color: #b11a02; border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 600; }
.ox-stats > div { background: #fbece9; border-radius: 10px; padding: 10px 14px; }
.ox-stats strong { display: block; font-size: 18px; }
.ox-stats span { font-size: 13px; color: #4a4542; }
.ox-diagrams img { width: 100%; border: 1px solid #e4dfdb; border-radius: 10px; background: #fff; }
.ox-tip { background: #eef6ec; border-radius: 8px; padding: 10px 14px; font-size: 15px; margin: 12px 0 !important; }
.ox-more { background: #fff; border: 1px solid #e4dfdb; border-radius: 10px; padding: 0 16px; margin: 10px 0; }
.ox-more > summary { font-weight: 600; padding: 12px 0; color: #2b2b2b; }
.ox-more[open] { padding-bottom: 12px; }
.ox-sizes { margin: 0 0 8px; }
.ox-sizes dt { font-weight: 700; margin-top: 8px; }
.ox-sizes dd { margin: 0; font-size: 14px; color: #4a4542; }

/* Color swatches */
.ox-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.mdh-ox .ox-sw { display: block; width: 100%; padding: 0; background: #fff; border: 2px solid #e4dfdb; border-radius: 10px; overflow: hidden; cursor: pointer; text-align: center; font: 600 13px 'Poppins', sans-serif; color: #2b2b2b; }
.ox-sw img { width: 100%; aspect-ratio: 177 / 95; object-fit: cover; }
.ox-sw span { display: block; padding: 5px 4px; }
.ox-sw:hover { border-color: #b11a02; }
.ox-sw[aria-pressed="true"] { border-color: #b11a02; box-shadow: 0 0 0 2px #b11a02; }
.ox-sw[aria-pressed="true"] span { background: #b11a02; color: #fff; }
.ox-sw.no-img span { padding: 30px 4px; background: #faf6f3; }
.ox-sw.no-img[aria-pressed="true"] span { background: #b11a02; }
.ox-tray { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #faf6f3; border: 1px dashed #b11a02; border-radius: 12px; padding: 12px 16px; margin: 18px 0 0; }
.ox-tray p { margin: 0; }
.ox-tray .ox-btn { opacity: .55; }
.ox-tray.has-picks .ox-btn { opacity: 1; }
.ox-js .ox-tray { position: sticky; bottom: 10px; z-index: 5; box-shadow: 0 4px 14px rgba(0,0,0,.12); }

/* Designer */
.ox-steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ox-steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid #e4dfdb; border-radius: 10px; padding: 12px 14px 12px 52px; font-size: 15px; }
.ox-steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: #b11a02; color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.ox-frame { border: 1px solid #e4dfdb; border-radius: 12px; overflow: hidden; background: #1f1b1a; }
.ox-frame iframe { display: block; width: 100%; height: 780px; border: 0; background: #fff; }
.ox-frame-cover { text-align: center; padding: 30px 20px 26px; background: radial-gradient(circle at 50% 30%, #3a312e 0%, #1f1b1a 70%); }
.ox-cover-art { width: 200px; max-width: 60%; height: auto; display: block; margin: 0 auto 10px; }
.mdh-ox .ox-cover-title { color: #fff; font-size: 24px; font-weight: 700; margin: 0 0 4px; }
.mdh-ox .ox-cover-sub { color: #d9d4d1; margin: 0 0 16px; }
.ox-frame-cover .ox-btn { font-size: 17px; padding: 14px 32px; }
.ox-frame-cover .ox-small { color: #b9b1ad; margin: 12px 0 0 !important; }
.ox-frame-alt { background: #faf6f3; margin: 0 !important; padding: 8px 14px; }
.ox-paste { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: end; background: #fbece9; border-radius: 12px; padding: 16px 18px; margin: 14px 0 0; }
.ox-paste label { display: block; font-size: 14px; font-weight: 600; color: #4a4542; margin: 0 !important; }
.ox-paste input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; height: 46px; border: 1px solid #d6d0cc; border-radius: 8px; padding: 8px 12px; font: 400 15px 'Poppins', sans-serif; background: #fff; }
.ox-paste .ox-small { grid-column: 1 / -1; margin: 0 !important; color: #8e1401; }
.ox-paste-row { display: flex; gap: 8px; margin-top: 4px; }
.ox-paste-row input { flex: 1; min-width: 0; margin-top: 0; }
.mdh-ox .ox-grab { flex: none; height: 46px; padding: 0 16px; border: 1px solid #b11a02; border-radius: 8px; background: #fff; color: #b11a02; font: 600 14px 'Poppins', sans-serif; cursor: pointer; }
.mdh-ox .ox-grab:hover { background: #b11a02; color: #fff; }
.mdh-ox .ox-paste .ox-link-ok { color: #2f6b2a; }
.ox-paste.has-link input { border-color: #2f6b2a; background: #eef6ec; }

/* Closing band */
.ox-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; background: #2b2624; color: #fff; border-radius: 12px; padding: 20px 24px; margin: 36px 0 10px; }
.ox-cta strong { font-size: 19px; color: #fff; }
.ox-cta p { margin: 4px 0 0; font-size: 14px; color: #e3dcd8; }
.ox-cta p a { color: #fff; }
.mdh-ox .ox-cta > a { background: linear-gradient(180deg, #d02a0e, #b11a02 55%, #951401); color: #fff !important; padding: 12px 22px; border-radius: 999px; text-decoration: none !important; white-space: nowrap; }

@media (max-width: 991px) {
  .ox-grid-6 { grid-template-columns: repeat(4, 1fr); }
  .ox-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .ox-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .ox-hero { padding: 22px 18px; border-radius: 0; margin-left: -15px; margin-right: -15px; }
  .ox-hero h1 { font-size: 27px; }
  .ox-hero-btns .ox-btn { flex: 1 1 100%; }
  .ox-facts li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 8px 10px; }
  .ox-facts strong { font-size: 15px; }
  .ox-menu { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mdh-ox h2 { font-size: 22px; }
  .ox-grid-3, .ox-two, .ox-steps { grid-template-columns: 1fr; }
  .ox-grid-4 { grid-template-columns: 1fr 1fr; }
  .ox-grid-5, .ox-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .ox-card img { height: 130px; }
  .ox-kit { grid-template-columns: 1fr; }
  .ox-swatches { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ox-frame-cover { padding: 24px 16px 22px; }
  .mdh-ox .ox-cover-title { font-size: 21px; }
  .ox-paste { grid-template-columns: 1fr; }
  .ox-paste .ox-btn, .mdh-ox .ox-cta > a, .ox-tray .ox-btn { width: 100%; box-sizing: border-box; }
}

/* Designer sits right under the hero; help strip ties its steps to the detail sections */
.ox-sec.ox-design { border-top: 0; margin-top: 4px; padding-top: 10px; }
.ox-help { background: #faf6f3; border-radius: 12px; padding: 14px 16px; margin: 14px 0 0; }
.ox-help-title { font-weight: 700; margin: 0 0 10px !important; }
.ox-help-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 10px; }
.mdh-ox .ox-help-steps a { display: grid; grid-template-columns: 46px 1fr; column-gap: 12px; align-items: center; background: #fff; border: 1px solid #e4dfdb; border-left: 4px solid #b11a02; border-radius: 8px; padding: 9px 11px; text-decoration: none !important; color: #2b2b2b !important; }
.mdh-ox .ox-help-steps a:hover { border-color: #b11a02; }
.ox-help-steps span:not(.mdh-badge) { display: block; font-size: 14px; font-weight: 700; }
.ox-help-steps small { display: block; font-size: 12px; font-weight: 400; color: #6b6461; line-height: 1.35; }
.ox-help .ox-small { margin: 0 !important; }
.mdh-ox .ox-browse { font-size: 22px; margin: 34px 0 12px; padding-top: 26px; border-top: 1px solid #e4dfdb; }
.mdh-ox .ox-back { position: fixed; left: 50%; transform: translateX(-50%); white-space: nowrap; bottom: 16px; z-index: 50; background: #1f1b1a; color: #fff !important; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 10px 18px; font-size: 14px; text-decoration: none !important; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.mdh-ox .ox-back:hover { background: #b11a02; }
.mdh-ox .ox-back[hidden] { display: none; }
.ox-tray-btns { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mdh-ox .ox-tray-back { font-size: 14px; }
@media (max-width: 991px) { .ox-help-steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .mdh-ox .ox-back { bottom: 12px; }
  .ox-tray-btns { width: 100%; justify-content: space-between; }
}

/* Buttons don't inherit the page font */
.mdh-ox button, .mdh-ox input { font-family: 'Poppins', sans-serif; }

/* Designer: one iframe, inline on desktop, full-screen layer on phones (or on request) */
.ox-full-bar, .ox-resume { display: none; }
.ox-frame.is-full { position: fixed; inset: 0; z-index: 2000; border: 0; border-radius: 0; display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.ox-frame.is-full .ox-full-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; padding: 8px 10px; padding-top: max(8px, env(safe-area-inset-top)); background: #1f1b1a; border-bottom: 3px solid #b11a02; }
.mdh-ox .ox-full-close { background: none; border: 0; color: #e9e4e1; font: 600 14px 'Poppins', sans-serif; padding: 8px 6px; cursor: pointer; }
.mdh-ox .ox-full-bar .ox-btn { padding: 9px 16px; font-size: 14px; border: 0; cursor: pointer; }
.ox-frame.is-full iframe { flex: 1; height: auto; min-height: 0; }
.ox-frame.is-full .ox-frame-alt { display: none; }
html.ox-locked, html.ox-locked body { overflow: hidden; }
@media (max-width: 767px) {
  .ox-frame:not(.is-full) iframe, .ox-frame:not(.is-full) .ox-frame-alt { display: none; }
  .ox-frame:not(.is-full) .ox-resume { display: block; text-align: center; padding: 22px 16px; color: #e9e4e1; }
  .mdh-ox .ox-resume p { margin: 0 0 12px; color: #e9e4e1; }
  .ox-paste-row { flex-direction: column; }
  .mdh-ox .ox-grab { width: 100%; }
}

/* Help steps: icon badge beside the title and note (house rule lives in the site-wide "MDH icon badges" section) */
.ox-help-steps a > .mdh-badge { grid-row: 1 / span 2; }
.ox-help-steps a > span:not(.mdh-badge), .ox-help-steps a > small { grid-column: 2; }

/* Cover: art beside the text on wider screens so it doesn't look lost */
@media (min-width: 768px) {
  .ox-frame-cover { display: flex; align-items: center; justify-content: center; gap: 44px; padding: 34px 40px; text-align: left; }
  .ox-cover-art { width: 260px; max-width: none; margin: 0; flex: none; }
  .ox-cover-text { max-width: 440px; }
  .mdh-ox .ox-cover-title { font-size: 28px; }
}
@media (max-width: 767px) {
  .ox-help-steps { grid-template-columns: 1fr; }
  .mdh-ox .ox-help-steps a { grid-template-columns: 40px 1fr; }
}

/* ===== MDH page frame, breadcrumb trail and page titles ===== */
/* The white content box becomes a rounded card that stands off the gray page */
.ex-content-page section.catalog-grid > .container,
.ex-category section.catalog-grid > .container,
.ex-searchresult section.catalog-grid > .container,
.ex-product section.catalog-single > .container {
  border: 1px solid #ece6e2; border-radius: 16px;
  box-shadow: 0 1px 2px rgba(31,27,26,.05), 0 10px 28px -14px rgba(31,27,26,.22);
  margin-top: 6px; margin-bottom: 28px;
}
/* Breadcrumb: a small cream pill, links in brand red, chevron separators */
.row-breadcrumb .breadcrumb {
  display: inline-flex; align-items: center; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  background: #faf6f3 !important; border: 1px solid #efe7e2; border-radius: 999px;
  margin: 16px 0 6px !important; padding: 6px 16px !important; text-align: left;
  font: 500 13px/1.4 'Poppins', sans-serif !important; color: #6b6461; white-space: nowrap;
}
.row-breadcrumb .breadcrumb::-webkit-scrollbar { display: none; }
.row-breadcrumb { text-align: left !important; }
.row-breadcrumb .breadcrumb > li { font: inherit !important; color: #6b6461 !important; padding: 0 !important; }
.row-breadcrumb .breadcrumb > li + li::before { content: "\203A" !important; color: #c4b8b2 !important; padding: 0 9px !important; font: 400 16px/1 'Poppins', sans-serif !important; }
.row-breadcrumb .breadcrumb a { color: #b11a02 !important; font-weight: 600; text-decoration: none !important; }
.row-breadcrumb .breadcrumb a:hover { text-decoration: underline !important; }
.row-breadcrumb .breadcrumb .fa-chevron-left { display: none; }
/* Category and product titles in Poppins, category titles get the short red underline */
.ex-category h1.catalog-name { font-family: 'Poppins', sans-serif !important; font-weight: 700; letter-spacing: -.01em; color: #2b2b2b; position: relative; padding-bottom: 12px !important; margin: 8px 0 16px !important; }
.ex-category h1.catalog-name::after { content: ""; position: absolute; left: 6px; bottom: 0; width: 46px; height: 4px; border-radius: 2px; background: #b11a02; }
.ex-product h1.product-name { font-family: 'Poppins', sans-serif !important; font-weight: 700; color: #2b2b2b; }
@media (max-width: 767px) {
  .ex-content-page section.catalog-grid > .container,
  .ex-category section.catalog-grid > .container,
  .ex-searchresult section.catalog-grid > .container,
  .ex-product section.catalog-single > .container { margin-left: 8px; margin-right: 8px; border-radius: 14px; }
  .row-breadcrumb .breadcrumb { margin-top: 12px !important; }
  .ex-category h1.catalog-name { font-size: 26px; }
}

/* Department icons (added by the footer nav-icons snippet) */
.mdh-nav-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -5px; margin-right: 10px; }
.menu .cd-dropdown-content > li > a .mdh-nav-ico { color: #b11a02; }
.header-mobile .cd-dropdown-content > li > a .mdh-nav-ico { color: #ff7a63; }

/* Homepage shelf: store toggle (added by the shelf store-switch snippet) */
.mdh-shelf-switch { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; font: 500 13px 'Poppins', sans-serif; color: #6b6461; }
.mdh-shelf-switch span { margin-right: 2px; }
.mdh-shelf-switch button { border: 1px solid #b11a02; background: #fff; color: #b11a02; border-radius: 999px; padding: 5px 14px; font: 600 13px 'Poppins', sans-serif; cursor: pointer; }
.mdh-shelf-switch button:hover { background: #fbece9; }
.mdh-shelf-switch button[aria-pressed="true"] { background: linear-gradient(180deg, #d02a0e, #b11a02 55%, #951401); color: #fff; cursor: default; }
.mdh-shelf-switch.is-busy { opacity: .6; pointer-events: none; }

/* Quote form: what we read from the customer's Onyx 3D design */
.mdhq-oxdesign { background: #eef6ec; border-left: 4px solid #2f6b2a; border-radius: 8px; padding: 12px 16px; margin: 12px 0 4px; }
.mdhq-oxdesign-title { font-weight: 700; margin: 0 0 6px !important; color: #2b2b2b; }
.mdhq-oxdesign-title small { display: block; font-weight: 400; font-size: 13px; color: #4a4542; }
.mdhq-oxdesign-list { margin: 0; padding-left: 18px; font-size: 14px; }
.mdhq-oxdesign-list li { margin: 2px 0; }
.mdhq-oxdesign-status { font-size: 13px; color: #6b6461; margin: 6px 0 0 !important; }
.mdhq-oxdesign-status:empty { display: none; }

/* ===== MDH icon badges (house rule for icons on pages, not menus) =====
   One stroked icon set. On pages an icon always sits in a soft square badge:
   28px icon in a 46px badge (46 = 28 x 1.618), 12px corners, vertically centered beside
   its text. Light surfaces: blush badge, red icon. Dark surfaces: add .on-dark.
   Phones: 24px icon in a 40px badge. */
.mdh-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fbece9; color: #b11a02; }
.mdh-badge svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mdh-badge.on-dark { background: rgba(208, 42, 14, .22); color: #ff8f7a; box-shadow: inset 0 0 0 1px rgba(255, 143, 122, .18); }
@media (max-width: 767px) {
  .mdh-badge { width: 40px; height: 40px; border-radius: 10px; }
  .mdh-badge svg { width: 24px; height: 24px; }
}

/* Special Orders cards: badge + title on one line */
.mdh-so-top { display: flex; align-items: center; gap: 12px; margin: 2px 0 10px; }
.mdh-so-top h3 { margin: 0 !important; }
/* ===== MDH category pages: subcategory tiles, side menu, category callout ===== */
/* Subcategory tiles become brand cards (white, red top border, 12px corners) */
.ex-category .cat-tiles { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.ex-category .cat-tiles .tileparent { float: none; padding: 8px !important; border: 0 !important; }
.ex-category .cat-tiles .tileparent_placeholder { display: none; }
.ex-category .cat-tiles .tile { height: 100%; margin: 0; padding: 0 !important; background: #fff; border: 1px solid #e4dfdb !important; border-top: 4px solid #b11a02 !important; border-radius: 12px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.ex-category .cat-tiles .tile:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(31, 27, 26, .12); }
.ex-category .cat-tiles .tile a { display: flex; flex-direction: column; height: 100%; color: #2b2b2b; text-decoration: none !important; }
.ex-category .cat-tiles .cat-thumb-container { position: relative; flex: none; margin: 0 !important; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; overflow: hidden; background: #faf6f3 !important; border-radius: 0 !important; }
.ex-category .cat-tiles .cat-thumb-container img { position: absolute; top: 14px; left: 14px; width: calc(100% - 28px) !important; height: calc(100% - 28px) !important; max-width: none !important; max-height: none !important; object-fit: contain; border-radius: 0 !important; background: transparent !important; }
.ex-category .cat-tiles .cat-thumb-container img[src$="/img/picture.png"] { top: 25%; left: 25%; width: 50% !important; height: 50% !important; opacity: .3; }
.ex-category .cat-tiles .tile p { margin: 0 !important; padding: 12px 14px 14px !important; font-family: 'Poppins', sans-serif !important; font-size: 16px; font-weight: 600; line-height: 1.3; text-align: center; color: #2b2b2b; }
.ex-category .cat-tiles .tile a:hover p { color: #b11a02; }
.ex-category .subcategorieslist_container .gridtools { display: none; }  /* "3 categories" count adds nothing */
@media (max-width: 767px) {
  .ex-category .cat-tiles .tileparent { width: 50% !important; padding: 6px !important; }
  .ex-category .cat-tiles .tile p { font-size: 14px; padding: 10px 8px 12px !important; }
}

/* Side menu as a brand card (pages that have filters keep it) */
.ex-category .category-filters { background: #fff !important; border: 1px solid #e4dfdb; border-top: 4px solid #b11a02; border-radius: 12px; overflow: hidden; padding: 0 0 6px !important; }
.ex-category .category-filters .filter-title { background: transparent !important; padding: 14px 16px 6px !important; text-align: left !important; }
.ex-category .category-filters .filter-title span { font-family: 'Poppins', sans-serif !important; font-size: 12px !important; font-weight: 700; letter-spacing: .1em; color: #6b6461 !important; }
.ex-category .category-filters .arrow-down { display: none; }
.ex-category .category-filters .filter-section { padding: 0 !important; }
.ex-category .category-filters .category-link a { display: block; padding: 9px 16px; border-top: 1px solid #f0ebe7; font-family: 'Poppins', sans-serif !important; font-size: 15px !important; color: #2b2b2b !important; text-decoration: none !important; }
.ex-category .category-filters .category-link a:hover { color: #b11a02 !important; background: #fdf6f1; }

/* Department pages (subcategory tiles, no filters): the side menu only repeats the tiles, so drop it and give the tiles the full width */
/* (:has() can't be nested, so "no filters" is the outer :not(:has(...))) */
.ex-category .catalog-grid .row:has(> .col-lg-10 .subcategorieslist_container .tileparent):not(:has(.filters_container > *)) > .filter-container { display: none; }
.ex-category .catalog-grid .row:has(> .col-lg-10 .subcategorieslist_container .tileparent):not(:has(.filters_container > *)) > .col-lg-10 { width: 100%; }

/* Category description box (EvoX renders it as .catalog-content above the tiles): plain text reads as body copy */
.ex-category .catalog-content { padding: 0 !important; margin: 0 0 4px !important; }
.ex-category .catalog-content > p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: #4a4542; }

/* Category callout: paste live/category-description-<name>.html into that category's description box (HTML/source view) */
.mdh-cat-cta { display: flex; align-items: center; gap: 16px; margin: 4px 0 16px; padding: 16px 18px; background: #fdf6f1; border: 1px solid #e4dfdb; border-left: 4px solid #b11a02; border-radius: 12px; }
.mdh-cat-cta-text { flex: 1; min-width: 0; }
.mdh-cat-cta h2 { margin: 0 0 2px !important; font-family: 'Poppins', sans-serif !important; font-size: 18px !important; font-weight: 700; color: #2b2b2b; }
.mdh-cat-cta p { margin: 0 !important; font-size: 15px; line-height: 1.45; color: #4a4542; }
.mdh-cat-cta-btn { flex: none; padding: 10px 20px; border-radius: 999px; background: linear-gradient(180deg, #d02a0e, #b11a02 55%, #951401); box-shadow: 0 2px 6px rgba(149, 20, 1, .3); color: #fff !important; font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.mdh-cat-cta-btn:hover { background: #8e1401; }
@media (max-width: 767px) {
  .mdh-cat-cta { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .mdh-cat-cta-text { flex-basis: calc(100% - 52px); }
  .mdh-cat-cta-btn { width: 100%; text-align: center; }
}
.mdh-cat-head h1.catalog-name { margin-top: 4px !important; }
.mdh-cat-head:empty { display: none; }
/* Category pages: EvoX's bottom-zone Subscribe band ships unconfigured ("Insert your text here"); hide it */
.ex-category .newsletters_container { display: none; }
/* ===== Icons in EvoX description boxes =====
   The editor strips <svg> and mangles data: images, so the drawing lives here and the description carries only a class:
   <span class="mdh-badge mdh-i-truss"> </span>. The icon is a mask, so it takes the badge color (red; coral with .on-dark).
   Add an icon: one --ico line, same 24x24 stroked drawing as source/icons.py, stroke='black'. */
.mdh-badge[class*="mdh-i-"] { font-size: 0 !important; line-height: 0; }
.mdh-badge[class*="mdh-i-"]::before { content: ""; width: 28px; height: 28px; background-color: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
@media (max-width: 767px) { .mdh-badge[class*="mdh-i-"]::before { width: 24px; height: 24px; } }
.mdh-i-truss { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 18L12 6l10 12z M2 18h20 M12 6v12 M7 12l5 6 M17 12l-5 6'/%3E%3C/svg%3E"); }
/* ===== Header mini-cart drop-down =====
   Same card as the account drop-down: white, rounded, Poppins. "To cart" is the one red main button;
   "Apply coupon" is the outlined secondary. Totals sit on the cream panel instead of gray. Icons keep their own font. */
.minicart_container .cart-dropdown .arrow_box { background: #fff !important; border: 1px solid #e4dfdb !important; border-radius: 12px !important; box-shadow: 0 14px 32px -12px rgba(31,27,26,.35) !important; overflow: hidden; }
.minicart_container .cart-dropdown :is(h3, span, div, td, th, a, p, input, button, label, strong, b) { font-family: 'Poppins', sans-serif !important; }
.minicart_container .cart-dropdown .header { background: #faf6f3 !important; border-bottom: 1px solid #efe7e2 !important; color: #2b2b2b !important; font-weight: 600; }
.minicart_container .cart-dropdown .header .fa { color: #b11a02 !important; }
.minicart_container .cart-dropdown a.to-cart { background: linear-gradient(180deg, #d02a0e, #b11a02 55%, #951401) !important; border: 0 !important; border-radius: 999px !important; box-shadow: 0 2px 6px rgba(149, 20, 1, .3) !important; color: #fff !important; font-weight: 600 !important; text-decoration: none !important; }
.minicart_container .cart-dropdown a.to-cart:hover { background: #8e1401 !important; }
.minicart_container .cart-dropdown .coupon_apply { background: #fff !important; border: 1px solid #b11a02 !important; border-radius: 999px !important; box-shadow: none !important; color: #b11a02 !important; font-weight: 600 !important; }
.minicart_container .cart-dropdown .coupon_apply:hover { background: #fbece9 !important; }
.minicart_container .cart-dropdown .coupon_code,
.minicart_container .cart-dropdown .cart-search-input,
.minicart_container .cart-dropdown table.minicart input { border: 1px solid #d6d0cc !important; border-radius: 8px !important; box-shadow: none !important; color: #2b2b2b !important; }
.minicart_container .cart-dropdown input:focus { border-color: #b11a02 !important; outline: 2px solid rgba(177, 26, 2, .15); }
.minicart_container .cart-dropdown .softgraybackground { background: #faf6f3 !important; border-top: 1px solid #efe7e2; }
.minicart_container .cart-dropdown table.minicart td { vertical-align: middle; border-color: #f0e8e3 !important; color: #2b2b2b; }
.minicart_container .cart-dropdown table.minicart a { color: #2b2b2b !important; text-decoration: none !important; }
.minicart_container .cart-dropdown table.minicart a:hover { color: #b11a02 !important; }
.minicart_container .cart-dropdown table.minicart .fa { color: #6b6461 !important; }
.minicart_container .cart-dropdown table.minicart .fa:hover { color: #b11a02 !important; }
.minicart_container .cart-dropdown .emptyminicart { color: #6b6461; font-size: 15px; }

/* Quote form: wait screen while we read the customer's Onyx 3D design (added by the form script) */
.mdhq-wait { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(31, 27, 26, .55); }
.mdhq-wait[hidden] { display: none; }
html.mdhq-waiting, html.mdhq-waiting body { overflow: hidden; }
.mdhq-wait-card { max-width: 380px; padding: 26px 28px 22px; background: #fff; border-top: 4px solid #b11a02; border-radius: 12px; box-shadow: 0 20px 44px -12px rgba(0, 0, 0, .45); text-align: center; font-family: 'Poppins', sans-serif; }
.mdhq-wait-spin { display: block; width: 40px; height: 40px; margin: 0 auto 14px; border: 4px solid #fbece9; border-top-color: #b11a02; border-radius: 50%; animation: mdhq-spin .8s linear infinite; }
@keyframes mdhq-spin { to { transform: rotate(360deg); } }
.mdhq-wait-card .mdhq-wait-title { margin: 0 0 6px !important; font-size: 18px; font-weight: 700; color: #2b2b2b; }
.mdhq-wait-card .mdhq-wait-sub { margin: 0 !important; font-size: 14px; line-height: 1.45; color: #4a4542; }
@media (prefers-reduced-motion: reduce) { .mdhq-wait-spin { animation-duration: 2.4s; } }