header .header-mobile {
  background-color: #fff !important;
}

header .header-mobile .header-menu .cd-dropdown-trigger-mobile i {
  color: black !important;
}

header .header-mobile .header-cart > a > .minicart_icon {
  color: black !important;
}

header .header-mobile .header-account > a > i {
  color: black !important;
}

@media (min-width: 992px) {
    .modal-lg {
        width: 700px !important;
    }
}
.shopping-tools-wrapper.st-vat-toggle a.toggle-vat-incl-wrapper label {
    cursor: pointer;
    margin: 0;
    color: white !important;
}

.header-links a {
    color: white !important;
    display: inline-flex;
    margin-right: 10px;
    position: relative;
    transition: color .35s ease;
}

.header-links .theme-icon {
    background-color: #1a1a1a !important;
    display: inline-block;
    height: 1.4em;
    mask-position: center;
    -webkit-mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    width: 1.3em;
}

/* CENTER COPYRIGHT TEXT */

.copyright_container {
    font-size: 1em;
    text-align: center;
}

/* END CENTER COPYRIGHT TEXT */

/* Account dashboard color changes */

#cdash_address .with-padding-trl {
    background-color: #ffffff;
    padding: 15px;
}

div.customertools .customertools-container {
    background: #f2f2f2 ;
    color: var(--evo-text-col);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px 24px 40px;
}

  /* End Account dashboard color changes */

.pagesbutton {
  width: 100% !important;
    font-family: inherit !important;
    line-height: inherit !important;
    padding: 10px 40px !important;
    color: #fff !important;
    background: #000 !important;
   border: #000 3px solid !important;
  border-radius: 20px;
}

.pagesbutton:hover {
      color: #000 !important;
    background: #fff !important;
 border: #000 3px solid !important;
    border-radius: 20px;
}

/* Homepage brand changes */

.brandshome {
  background: #f2f2f2 !important;
      padding-top: 20px;
    padding-bottom: 40px;
}

.brandshome h3 {
    font-size:  24px !important;
  margin: 0 0 30px 0;
  font-weight: 800;
    color: #457596 !important;
}

.catalog-single.has-carousel.has-itemsperpage .tile {
    margin: 0;
    max-width: 100%;
    width: 90%;
    background: white;
}

/* End Homepage brand changes */

/* ===== Clean edge-to-edge branch section ===== */

/* ===== Full-width branch section (image flush to left edge) ===== */

.nlb-branch {
  background: #f3f3f3;
  padding: 0;
  width: 100%;
  margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.nlb-branch__inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  min-height: 420px;
}

/* Image column */
.nlb-branch__media {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
}

.nlb-branch__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: none;
  border-radius: 0;
}

/* Text column */
.nlb-branch__content {
  flex: 1 1 50%;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f3f3f3;
}

.nlb-branch__title {
  margin: 0 0 12px 0;
  font-size: 1.9rem;
  line-height: 1.3;
  color: #1b1b1b;
  font-weight: 800;
}

.nlb-branch__desc {
  margin: 0 0 24px 0;
  color: #3a3a3a;
  font-size: 1rem;
  line-height: 1.6;
}

/* Button */
.nlb-branch__btn {
  align-self: flex-start;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nlb-branch__btn:hover {
  background: #fffd14;
    color: #1a1a1a;
  transform: translateY(-2px);
}

/* ===== Responsive: stack on mobile ===== */
@media (max-width: 900px) {
  .nlb-branch__inner {
    flex-direction: column;
    min-height: auto;
  }

  .nlb-branch__media,
  .nlb-branch__content {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .nlb-branch__media img {
    position: relative;
    height: auto;
  }

  .nlb-branch__content {
    padding: 30px 20px;
    text-align: center;
    align-items: center;
  }

  .nlb-branch__btn {
    align-self: center;
  }

  .nlb-branch__title {
    font-size: 1.6rem;
  }
}

/* ===== Homepage Popular Categories ===== */

.pcategories {
  /* Easy theme variables */
  --title-color: #0b2a60;
  --tile-bg: #f3f5f8;
  --tile-bg-hover: #e9edf3;
  --tile-text: #1a1a1a;
  --tile-shadow: 0 4px 14px rgba(16, 24, 40, .08);
  --ring: #dbe4f5;

  --tile-radius: 9999px;       /* pill shape */
  --thumb-size: 60px;
  --gap: 16px;
  --pad-y: 14px;
  --pad-x: 18px;
}

.pcategories * { box-sizing: border-box; }

.pcategories__title {
  margin: 0 0 30px 0;
  font-weight: 800;
  font-size: 24px;
  color: #5a758d !important;
}

.pcategories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

/* Tile */
.pcategories__tile {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: var(--tile-bg);
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--tile-radius);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  will-change: transform;
  outline: none;
}

.pcategories__tile:hover,
.pcategories__tile:focus-visible {
  background: var(--tile-bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--tile-shadow);
}

.pcategories__thumb {
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 var(--thumb-size);
  display: grid;
  place-items: center;
  position: relative;
}

.pcategories__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--ring) inset;
  opacity: .7;
  transition: opacity .18s ease;
}

.pcategories__tile:hover .pcategories__thumb::after,
.pcategories__tile:focus-visible .pcategories__thumb::after {
  opacity: 1;
}

.pcategories__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .25s ease;
}

.pcategories__tile:hover .pcategories__thumb img,
.pcategories__tile:focus-visible .pcategories__thumb img {
  transform: scale(1.06);
}

.pcategories__name {
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a1a !important;
  white-space: nowrap;
}

/* --------- Responsive --------- */
@media (min-width: 560px) {
  .pcategories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 880px) {
  .pcategories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1120px) {
  .pcategories__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pcategories__tile,
  .pcategories__thumb img,
  .pcategories__thumb::after {
    transition: none;
  }
}

/* ===== END Homepage Popular Categories ===== */

.productsummary_container .productdetails .prod-code span {
    background-color: #f2f2f2 !important;
    color: #1a1a1a;
    font-weight: 400;
}

.productspecs_container .tech-specs .item:nth-child(odd) {
    background-color: #f2f2f2 !important;
}

.quoterequest {
    background: #f2f2f2 !important;
    padding: 10px !important;
    border: solid 1px darkgray !important;
  border-radius: 6px !important;
}

.quoterequest .btn-primary {
    width: 100% !important;
    font-weight: 700 !important;
}

.quoterequest p {
  color: #1a1a1a !important;
}


label {
    display: inline-block;
    font-weight: 400;
    margin-bottom: 12px;
    margin-top: 12px;
  color: #1a1a1a !important;
}

.catalog-grid h2 {
    font-size: 1.75em;
    color: #1a1a1a;
    font-style: regular;
    font-weight: 300;
    padding-top: 20px;
    padding-bottom: 20px;
}

.merchandisingcontent_container .item-merchandising .owl-nav>div, .merchandisingcontent_container .lastviewedproducts-content .owl-nav>div, .merchandisingcontent_container .productgridwidget .owl-nav>div, .merchandisingcontent_container .productsrelated .owl-nav>div, .productsrelated_container .item-merchandising .owl-nav>div, .productsrelated_container .lastviewedproducts-content .owl-nav>div, .productsrelated_container .productgridwidget .owl-nav>div, .productsrelated_container .productsrelated .owl-nav>div, .widget-contract-items-html .item-merchandising .owl-nav>div, .widget-contract-items-html .lastviewedproducts-content .owl-nav>div, .widget-contract-items-html .productgridwidget .owl-nav>div, .widget-contract-items-html .productsrelated .owl-nav>div, .widget-lastviewedproducts-html .item-merchandising .owl-nav>div, .widget-lastviewedproducts-html .lastviewedproducts-content .owl-nav>div, .widget-lastviewedproducts-html .productgridwidget .owl-nav>div, .widget-lastviewedproducts-html .productsrelated .owl-nav>div {
    background-color: #f2f2f2;
    font-size: 12px;
    left: 0;
    margin: 0;
    padding: 5px 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.lastviewedproducts_container .product div.product-sku .product-sku-label, .lastviewedproducts_container .tile div.product-sku .product-sku-label, .merchandisingcontent_container .product div.product-sku .product-sku-label, .merchandisingcontent_container .tile div.product-sku .product-sku-label, .productsgrid_container .product div.product-sku .product-sku-label, .productsgrid_container .tile div.product-sku .product-sku-label, .productsrelated_container .product div.product-sku .product-sku-label, .productsrelated_container .tile div.product-sku .product-sku-label, .widget-contract-items-html .product div.product-sku .product-sku-label, .widget-contract-items-html .tile div.product-sku .product-sku-label, .widget-lastviewedproducts-html .product div.product-sku .product-sku-label, .widget-lastviewedproducts-html .tile div.product-sku .product-sku-label {
    background-color: #f2f2f2;
    display: inline-block;
    padding: 5px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.bestsellers h3 {
    font-size:  24px !important;
  margin: 0 0 30px 0;
  font-weight: 800;
    color: #457596 !important;
}

.merchandisingcontent_container h3 {
    border-bottom: 0px solid;
    font-weight: 700;
    line-height: 44px;
    text-align: center;
}

.iconrowheader {
  background: #1a1a1a !important;
}

nav.menu .catalog-block ul.catalog>li>a {
    align-items: center;
    border-bottom: 2px solid transparent;
    color: #1a1a1a !important;
    display: flex;
    font-size: .875em;
    height: 100%;
    line-height: 1.5;
    padding: 7px 15px;
    transition: border .35s ease, color .35s ease !important;
}

.contactformedit {
  border: solid 1px black !important;
  padding: 15px;
  border-radius: 20px !important;
}

.form-control, .input-group .form-control:last-child {
    border-color: #1a1a1a;
    border-radius: 5px;
}

.specialproductspage .evogallery-widget-box {
    height: 500px;
    overflow: hidden;
    width: 100%;
}

.specialproductspage .evogallery-widget-carousel .owl-dot {
    background-color: #ccc;
    height: 20px;
    transition: background .35s ease;
    width: 20px;
  border-radius: 0px !important;
}

.formedits {
  background: #fafafa;
    border: solid 1px black;
    border-radius: 15px;
  padding: 30px !important;
}

#mc_embed_signup .button {
    clear: both;
    background-color: #fff200 !important;
    border: 0 none;
    border-radius: 4px;
    transition: all 0.23s ease-in-out 0s;
    color: #000 !important;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    height: 32px;
    line-height: 32px;
    margin: 0 5px 10px 0;
    padding: 0 22px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: fit-content;
    width: -moz-fit-content;
}

#mc_embed_signup label {
    display: inline-block;
    font-weight: 400;
    margin-bottom: 12px;
    margin-top: 12px;
    color: white !important;
}

.refferal_badge {
    width: 220px;
    height: 40px;
    display: flex;
    padding: 2px 0px;
    justify-content: center;
    align-items: center;
    background: white !important;
}

#mc_embed_signup {
    padding: 0px 0 !important;
}

input.cmn-toggle-round-flat:checked+label, input.cmn-toggle-round-flat:checked+label:after {
    background-color: #fff200 !important;
}

/* ECOMMDR-683 - make menu items display and wrap on tablet */
nav.menu .catalog-block ul.catalog {
  flex-wrap: wrap;
}
@media (max-width:1366px) {
  .header-full .menu .catalog>li:nth-child(n+8) {
    display:block;
  }
}
@media (max-width:1000px) {
  .header-full .menu .catalog>li:nth-child(n+7) {
    display:block;
  }
}
@media (max-width:800px) {
  .header-full .menu .catalog>li:nth-child(n+6) {
    display:block;
  }
}