:root {
  /*** Global ***/
  --theme-primary: #ffd504; /* yellow */
  --theme-secondary: #e7f5fa; /* lightblue */
  --theme-tertiary: #207bc1; /* blue */
  --theme-text: #3a3a3a; /* dark grey */
  --theme-lightgrey: #207bc1; /* bright blue */

  /* Top Bar */
  --topbar-bg: var(--theme-lightgrey);
  --topbar-icons: var(--theme-primary);
  --topbar-text: #fff ;
  --topbar-hover: #ffd504;

  /* Main Header */
  --header-bg: #207bc1;
  --header-icons: var(--theme-primary);
  --header-text: #fff;
  --header-hover: #ffd504;
  
  /* Header Search Bar */
  --search-bg: #fff;
  --search-icons: var(--theme-primary);
  --search-text: #207bc1;
  --search-focus: var(--theme-primary);
  
  /* Main Navigation */
  --nav-bg: #207bc1;
  --nav-border: #ffd504;
  --nav-icons: var(--theme-primary);
  --nav-text: #fff;
  --nav-hover: #ffd504;
  
  /* USP Strip */
  --strip-bg: #fff;
  --strip-icons: var(--theme-primary);
  --strip-text: #000;
  --strip-hover: var(--theme-tertiary);
  
  /* Footer */
  --footer-bg: #207bc1;
  --footer-icons: #fff;
  --footer-text: #fff;
  --footer-hover: #ffd504;
  
  /* Footer Newsletter Input*/
  --footnews-bg: #fff;
  --footnews-icons: var(--theme-primary);
  --footnews-text: #000000;
  --footnews-focus: var(--theme-primary);
  
  /* Footer Social Icons */
  --footsocial-bg: #207bc1;
  --footsocial-icons: #fff;
  --footsocial-bg-hover: #ffd504;
  --footsocial-icons-hover: #fff;
  
  /* Title Underline 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;
}
:root {
  --cbs-blue: 207 72% 44%;
  --cbs-dark-blue: 210 100% 20%;
  --cbs-yellow: 50 100% 50%;
  --cbs-white: 0 0% 100%;
  --cbs-black: 0 0% 0%;
  --cbs-success: 93 73% 25%; /* #3B6D11 */
}
.menu.expanded .catalog .submenu .submenucontainer > li > a {
    color: #207bc1;
}

 /* Button Improvements */
.btn.btn-outline-primary {
  border-radius: 5px; 
  transition: 0.3s; 
}
.btn.btn-outline-primary:hover {
  border-radius: 5px; /* Keep the rounded corners on hover */
}
button,
a.btn {
  border-radius: 5px !important;
}
.incr-btn {
  border-radius: 5px !important;
}
.delete-btn {
  border-radius: 5px !important;
}

/* Product Label Ribbon Banner Updates */
.ribbon-wrapper {
  border-radius: 3px;
  margin: 0;
}

.ribbon-side,
.ribbon-tips {
  display: none; /* Hide the side and tip elements */
}
.ribbon {
  font-family: Arial, sans-serif;
  font-size: 11.5px !important;
  font-weight: 600; 
  padding: 3px 5px !important;
  border-radius: 3px !important;
  transition: transform 0.3s ease;
}
.ribbon-wrapper:hover .ribbon {
  transform: scale(1.1);
}
  /* Out of Stock Label */
  .live-outstock {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    color: #fff !important;
    background-color: rgb(164, 20, 20);
}
  /* Available Label 1 */
.live-stock-content.in-stock {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    color: #fff !important; 
    background-color: #00B67A; 
}



  /* Product Page Social Links */
.social-links {
    display: flex;
    justify-content: center; 
     gap: 3px;
}

/* Rounded Corners on Add to Cart */
.softgraybackground {
    border-radius: 5px !important;
}

/* Branch Banner Selector */
.current-branch-banner .container a {
  font-weight: bold;
  color: black;
}

.current-branch-banner {
    background: #ffd504;
    font-size: 14px;
    padding: 9px 0;
  }

.current-branch-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  height: 10px;
}

/* Catalog Name Format */
.catalog-name {
  padding-left: 0px !important;
}

/* Account Switch Banner */
.switch-account-header p {
    color: #317cc5;
    font-size: 12px;
    margin-bottom: 0px;
    margin-top: 0px;
    text-align: center;
}

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

/* Start of add Sticky Header - EvoX */
.menubarStick {
  position: fixed !important;
  top: 0;
  width:100%;
  z-index: 15;
  background: #207bc1;
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
}

.headersection-2.menubarStick > .row-2 {
   max-width: 1450px;
    margin: 0 auto;
}
/* change me to the height of the sticky row */
.menubarHeader {
    padding-top:105px;
}
/* End of add Sticky Header EvoX */

/* Header Height Adjust */
.headersection-1 {
    height: 25px !important;
}
.headersection-2 {
    height: 105px !important;
}

/* Mobile Logo Adjust */
@media only screen and (max-width: 425px){
header .header-mobile .logo img {
    max-width: 110px;
}
}
@media only screen and (max-width: 769px){
header .header-mobile .logo img {
/* change this for mobile landscape view */
    max-width: 125px;
}
}

/* Featured Items Button */
.btn-widget-action {
    background-color: #207bc1 !important;
    color: #fff !important;  
    transition: background-color 0.3s ease; 
}
.btn-widget-action:hover {
    background-color: #ffd504 !important;
    color: #000 !important;  
}

/* Header Logo Adjust */
header .widgetlogo .logo img {
    max-width: 165px !important;
}

/* Header Mobile Landscape Mode */
@media screen and (orientation: landscape) {
    .header-desktop {
        width: 100%;  /* Ensure the header takes up the full width */
    }
   
}
@media (min-width: 768px) {
    /* Brands Slider Formatting */
    .brands_container {
        padding-left: 50px;  
        padding-right: 50px;
    }
    /* Recently Viewed Formatting */
    .lastviewedproducts_container {
        padding-left: 50px;  
        padding-right: 50px;
    }
}

/* Panel Formatting */
.panel-group {
    margin-bottom: 1em;
  	margin-top: 1em;
}


/* Highlight Menu Item */
li.standOut > a {
	display: inline-block;/*bug fix*/
	position: relative;
	text-decoration: none;
}
li.standOut > a::after {
	content: 'UPDATED!';
	position: absolute;
        bottom: 99%;
	right:11%;
	background: #00B67A;
	padding: 0px 6px 0px 5px;
	color: #fff;
	white-space: nowrap;
	opacity: 1;
	font-size: 12px;
	font-weight: bold;
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-ms-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
}
li.standOut > a::before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-top: 8px solid #5bd2ec;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-ms-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
	opacity: 1;
	right: 12%;
	bottom: 88%;
  
}
li.standOut > a:hover::after {
	bottom: 89%;
}
 li.standOut > a:hover::before {
	bottom: 78%;
}
li.standOut > a::after {
	
    -webkit-animation: fadeinndnd 1s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadeinnd 1s; /* Firefox < 16 */
        -ms-animation: fadeinnd 1s; /* Internet Explorer */
         -o-animation: fadeinnd 1s; /* Opera < 12.1 */
            animation: fadeinnd 1s;
}
 li.standOut > a::before {
	
    -webkit-animation: fadeinnd 1.6s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadeinnd 1.6s; /* Firefox < 16 */
        -ms-animation: fadeinnd 1.6s; /* Internet Explorer */
         -o-animation: fadeinnd 1.6s; /* Opera < 12.1 */
            animation: fadeinnd 1.6s;
}

@keyframes fadeinnd {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadeinnd {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadeinnd {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadeinnd {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadeinnd {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* End Highlight Menu Item */

/* Swith Account Button Option from the Orders or Invoices Table */
div#myOrdersListErp,
div#myOrdersList,
div#myAwaitApprovalsList,
div#myRewardsHistory,
div#invoiceHistory {
    margin-top: 2.7em;
}
.switch-account-custom {
  position: absolute;
  top: 0;
  right: 2em;
  margin-left: 2px;
  font-weight: bold;
  padding: 5px 20px !important;
}
.invoice-history .switch-account-custom, .myawaitapproval .switch-account-custom {
  right: 10px;
}
@media (max-width:767px) {
  .switch-account-custom {
    position: relative;
    display: flex;
    justify-content: center;
    right: 0 !important;
  }
}

/* Start of EvoX Video Banner */
.tagline {
    z-index: 10;
}
.tagline:first-child {
    height: 54vh;
    min-width: 250px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
   display: -webkit-box; 
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex; 
   display: flex;
   -webkit-box-align: center;
   -moz-box-align: center;
   -ms-flex-align: center;
   -webkit-align-items: center;
   align-items: center;
}
section#section-top {
    height: 54vh;
    overflow: hidden;
}
.video-filter {
    z-index: 0;
    background-color: #2d364157;
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
}
.bgvid-c {
    height: 54vh;
    width: 100%;
    overflow: hidden;
    position: absolute;
}
#bgvid {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    width: 100vw;
    position: relative;
    object-fit: cover;
}
#section-top h1 {
    color: #fff;
}
.img-icon {
    width: 10px;
    margin-top: -3px;
    margin-left: 5px;
}
.btn-white {
    background: transparent;
    border: 1px white solid;
    color: white;
}
.btn-white:hover {
    background: rgba(255, 255, 255, 0.37);
    color: white;
}
#section-top .btn-primary {
    border: 1px solid;
    border-color: white;
}
@media only screen and (max-width: 600px) {
    #section-top {
        height: 45vh;
    }
    #bgvid {
        height: 100%;
    }
}
@media only screen and (max-width: 600px) {
    #section-top h1 {
        font-size: 24px; /* Adjust as necessary */
    }
    #section-top .btn {
        font-size: 14px; /* Adjust as necessary */
        padding: 8px 12px; /* Adjust as necessary */
    }
}
/* End of EvoX Video Banner */

/* Mobile Class */
.mobile {
  display: none;
}

@media only screen and (max-width: 769px) {
  .mobile {
    display: block;
  }
}

/* Relocate Compare / Rewards Floating Icon Button */
.floating-buttons {
    bottom: 50px !important;
    right: 85px !important;
}
  	.rewards-tab {
      right: 25px !important;
}

/* Header Menu Dropdown */
.verticalmenu {
  display: flex;
  align-items: center;
}

.additional_links {
  list-style: none;
  display: flex;
  align-items: stretch;
  width: 100%;
  flex-grow: 1;
  flex-wrap: wrap;
  margin-left: 40px;
  /* Paratus making the menu centered */
  justify-content: space-evenly;
}
.additional_links > li.has-submenu {
  position: relative;
}
.additional_links > li.has-submenu > a {
  padding-right: 30px;
  position: relative;
}
.additional_links > li.has-submenu > a::after {
  content: "\f107";
  font-family: FontAwesome;
  color: #fff;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.additional_links > li > a {
  color: #fff;
  padding: 7px 1em;
  display: inline-block;
  user-select: none;
}
.additional_links > li > a:hover, .additional_links > li > a:focus-visible {
  background-color: #195f95;
}
.additional_links > li > .submenu {
  width: auto;
  min-height: auto;
  overflow: hidden;
  position: absolute;
  top: 100%;
  left: 0 !important;
  z-index: 100;
  background: #fff;
  margin-bottom: 0;
  list-style: none;
  display: none;
  padding: 20px 40px;
  gap: 20px;
  box-shadow: 5px 5px 27px rgba(0, 0, 0, 0.2);
}
.additional_links > li > .submenu > li {
  margin: 0;
}
.additional_links > li > .submenu a {
  color: #071928;
}
.additional_links > li > .submenu a:hover, .additional_links > li > .submenu a:focus-visible {
  text-decoration: underline;
}
.additional_links > li > .submenu > .has-submenu {
  min-width: 200px;
}
.additional_links > li > .submenu > .has-submenu > a {
  font-weight: 700;
}
.additional_links > li > .submenu .submenu {
  list-style: none;
  padding-left: 0;
  flex-direction: column;
}
.additional_links > li.active::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  position: absolute;
  transform: translateY(27px);
  right: 0;
}
.additional_links > li.active .submenu {
  display: flex;
  flex-direction: column;
}
@media only screen and (max-width: 1200px) {
  .additional_links > li .submenu .nLeft {
    grid-gap: 5px;
  }
}

/* END Header Menu Dropdown */

/* Center Header 2 Strip Vertically */
.header-full .vertical-align {
    justify-content: space-between;
    padding-top: 0px !important;
    padding-bottom: 15px;
}

/* Fix Catalog Menu Display Issue */
.container.verticalmenu {
    box-sizing: content-box !important;
}

.mobFourBoxes {
  flex-wrap: wrap;
  margin-top: 20px;
}
.mobFourBox {
  width: calc(50% - 5px);
  margin-bottom: 10px;
}
.mobFourBox:before {
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  background: white;
  opacity: 0.0;
}
.mobFourBox h1 {
  position: absolute;
  top: 50%;
  margin: 0;
  font-size: 18px;
  text-align: center;
  width: 100%;
  transform: translateY(-50%);
  color: white;
}
/* Click For Details added to Live Inventory */
/* Initial styles for the span */
.live_inventory_locations {
    position: relative; /* Needed to position the pseudo-element */
    cursor: pointer;    /* Change the cursor to indicate the element is clickable */
}

/* Define the hover tooltip */
.live_inventory_locations::after {
    content: 'See Quantity by Location';   /* The text you want to display */
    position: absolute;   /* Position it with respect to the .live_inventory_locations element */
    bottom: 100%;         /* Position it above the element */
    left: 50%;            /* Center it horizontally */
    transform: translateX(-50%); /* Further ensure it's horizontally centered */
    padding: 5px 10px;    /* Some padding for aesthetics */
    background-color: rgba(0,0,0,0.7); /* Semi-transparent black background */
    color: white;         /* White text */
    border-radius: 5px;   /* Rounded corners */
    pointer-events: none; /* Make sure the tooltip doesn't interfere with clicks */
    opacity: 0;           /* Start off fully transparent */
    transition: opacity 0.3s; /* Optional: animate the opacity change */
    white-space: nowrap;  /* Prevent wrapping */
    min-width: 150px;     /* Adjust as needed to prevent wrapping */
  	font-size: 75%;       /* Reduce font size to 75% */
}

/* Show the tooltip on hover */
.live_inventory_locations:hover::after {
    opacity: 1;
}
/* Media query to disable hover effect on likely touch devices */
@media (hover: none) and (pointer: coarse) {
    /* Disable the tooltip altogether */
    .live_inventory_locations::after {
        display: none;
    }
}

/* Quotes 2.0 */
#salesquote .actions-fixed {
  display: flex;
}
/* Infinite Scroll Row */
.row.gridtools.load-more-infinite-scroll.fixed-bottom {
    display: none; !important
}
/* VAT Toggle White */
label[for="included_vat_130117"] {
    color: white !important;
}

/*MH Test*/
.row.account-message {
    display: none;
}

/* Search box on mobile*/

.headersection-5 {
	display:none;
}
@media only screen and (max-width: 768px) {
	.headersection-5 {
		display:block;
	}
}
@media only screen and (max-width: 770px) {
  .searchisfullwidth {
    display: block;
    margin-bottom: 20px;
  }
}
@media only screen and (max-width: 770px) { 
  .header-search {
  display: none;
  }
}
header section.search .search-form .form-group input {
  border-radius: 25px;
  border: 2px solid #ffd504 !important;
}

/* Accordion Menu Styles */
.arrow {
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

#myaccordion input:checked + label .arrow {
  transform: rotate(180deg);
}

.hidecontent {
  display: none;
}

#myaccordion label {
  box-shadow: 0 0 20px #d4d4d4;
  display: block;    
  padding: 8px 22px;
  margin: 20px 0 1px 0;
  cursor: pointer;
  background: #ccc;
  color: #000;
  transition: background 0.5s ease;
}

#myaccordion label:hover {
  background: #eeeeee;
}

.content {
  box-shadow: 0 0 20px #d4d4d4;
  background: #fff;
  padding: 10px 25px;
  border: 1px solid #d4d4d4;
  margin: -1px 0 0 0;
  max-height: 0; /* Start with max-height of 0 */
  overflow: hidden; /* Hide overflowing content */
  transition: max-height 0.5s ease-out; /* Smooth transition */
}

#myaccordion input:checked + label + .content {
  max-height: 500px; /* Set a reasonable max-height */
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 600px) {
  #myaccordion label {
    padding: 5px 10px;
  }

  #myaccordion .content {
    padding: 5px 15px;
  }
}
/* Accordion Menu Improvements */
#myaccordion label {
    box-shadow: 0 0 20px #d4d4d4;
    display: block;
    padding: 8px 22px;
    margin: 20px 0px 1px 0px;
    cursor: pointer;
    background: #ccc !important;
    color: #000 !important;
    transition: ease .5s;
    border-radius: 5px;
}

#myaccordion label:hover {
    background: #ffd504 !important;
    color: #000 !important;
}
#myaccordion .content {
    box-shadow:0 0 20px #d4d4d4;
    background: #ffff;
    padding: 10px 25px;
    border: 1px solid #d4d4d4;
    margin: -1 0 0 0;
    border-radius: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
#myaccordion input:checked + label + .content {
    display: block;
    max-height: 5000px;
}

/* Accordion Menu Responsive Design */
@media screen and (max-width: 600px) {
    #myaccordion label {
        padding: 5px 10px;
    }

    #myaccordion .content {
        padding: 5px 15px;
    }
}

.myaccount .gridtools .actionBar {
  display: flex;
  align-content: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.myaccount .gridtools .actionBar .btn {
  margin-top: 0;
}

.myaccount .actionBar .addaddresssm {
  padding: 0;
  font-size: 0.875em;
  margin: 0;
}

/* Paratus Badge Pop Up Stylings */

.badgedriven-pop .modal-header {
  border-bottom: 0px !important;
  }
.badgedriven-pop .modal-body {
  padding-top: 0px !important;
  max-width: 500px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.badgedriven-pop h2 {
  text-transform: none; 
  font-weight: 700;
  color: #000;
  margin-bottom: 25px;
}
.badgedriven-pop h3 { 
  text-transform: none;   
  font-weight: 700;  
  color:#207bc1;
  margin-bottom: 20px;
}
.badgedriven-pop p  {
  color: #000 !important;
}
.badgedriven-pop .boldstatement  {
  font-weight: 700;
  margin-top: 30px;
}
.badgedriven-pop ol li  {
  text-align:left;
  margin-bottom: 0px;
  color: #000 !important;  
}
.badgedriven-pop ol li::marker {
  color: #207bc1;
}   
.badgedriven-pop img {
  max-width: 250px;
}

/* CBS Approved Badge */
.ex-product .b590 .ribbon-side, .b590 .ribbon-tips, .ex-category .b590 .ribbon-side, .b590 .ribbon-tips, .ex-searchresult .b590 .ribbon-side, .b590 .ribbon-tips, .ex-searchresult .b590 .ribbon-side, .ex-content-page .b590 .ribbon-side, .b590 .ribbon-tips {
  display: none;
}
.ex-product .b590 .ribbon {
  padding: 55px !important;
  margin-bottom: 15px;
  background-color: transparent !important;
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/CBS-Approved.png");
  background-position: left;
  background-repeat: no-repeat; 
  background-size: contain; 
}
.ex-product .b590 .ribbon span, .ex-category .b590 .ribbon span, .ex-searchresult .b590 .ribbon span, .ex-content-page  .b590 .ribbon span {
  display: none;
}
.ex-product .b590 .ribbon-side {
  border-left: 0px;
}
.ex-category .b590 .ribbon, .ex-searchresult .b590 .ribbon, .ex-content-page .b590 .ribbon {
  margin-left: 5px;
  padding: 45px !important;
  margin-bottom: 15px;
  background-color: transparent !important;
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/CBS-Approved.png");
  background-position: left;
  background-repeat: no-repeat; 
  background-size: contain; 
}
.ex-category .b590 .ribbon-side, .ex-searchresult .b590 .ribbon-side, .ex-content-page .b590 .ribbon-side {
  border-left: 10px;
  border-color: #fff;
}
.owl-item .b590 .ribbon {
display:none;
}
/* CBS Bahamian Made Badge */
.ex-product .b609 .ribbon-side, .b609 .ribbon-tips, .ex-category .b609 .ribbon-side, .b609 .ribbon-tips, .ex-searchresult .b609 .ribbon-side, .b609 .ribbon-tips, .ex-searchresult .b609 .ribbon-side, .ex-content-page .b609 .ribbon-side, .b609 .ribbon-tips {
  display: none;
}
.ex-product .b609 .ribbon {
  padding: 55px !important;
  margin-bottom: 15px;
  background-color: transparent !important;
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/Bahamian-Made.png");
  background-position: left;
  background-repeat: no-repeat; 
  background-size: contain; 
}
.ex-product .b609 .ribbon span, .ex-category .b609 .ribbon span, .ex-searchresult .b609 .ribbon span, .ex-content-page  .b609 .ribbon span {
  display: none;
}
.ex-product .b609 .ribbon-side {
  border-left: 0px;
}
.ex-category .b609 .ribbon, .ex-searchresult .b609 .ribbon, .ex-content-page .b609 .ribbon {
  margin-left: 5px;
  padding: 45px !important;
  margin-bottom: 15px;
  background-color: transparent !important;
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/Bahamian-Made.png");
  background-position: left;
  background-repeat: no-repeat; 
  background-size: contain; 
}
.ex-category .b609 .ribbon-side, .ex-searchresult .b609 .ribbon-side, .ex-content-page .b609 .ribbon-side {
  border-left: 10px;
  border-color: #fff;
}
.owl-item .b609 .ribbon {
display:none;
}

/*MH Inv2.0*/
.productgridwidget .flex-buttons .live-inventory-v2-wrapper .out-stock,
.product-shopping-actions-addtocart .flex-buttons .live-inventory-v2-wrapper .out-stock,
.catalog-single.has-carousel .flex-buttons .live-inventory-v2-wrapper .out-stock {
  display: block !important;
  background: #e84141;
  width: 100% !important;
  padding: 10px 1px;
  border-radius: 5px;
  color: #fff !important;
  font-weight: 400;
  text-transform: capitalize;
}

.productgridwidget .flex-buttons .live-inventory-v2-wrapper .out-stock:hover,
.product-shopping-actions-addtocart .flex-buttons .live-inventory-v2-wrapper .out-stock:hover,
.catalog-single.has-carousel .flex-buttons .live-inventory-v2-wrapper .out-stock:hover {
   background: #ffd504;
}

.product-shopping-actions-addtocart .flex-buttons button[disabled="disabled"],
.productgridwidget .flex-buttons button[disabled="disabled"],
.catalog-single.has-carousel .flex-buttons button[disabled="disabled"] {
  display: none !important;
}

.live-inventory-v2-add-to-cart-wrapper {
  /*gap: 5px 0;*/
}

/* menu */

header .header-full .cd-dropdown-content {
	 width: 1440px;
	 height: 720px !important;
	 display: grid;
	 grid-template-columns: 300px 300px;
	 grid-auto-rows: min-content;
	 background: #f1f6fa;
	 padding: 30px !important;
	 overflow: auto;
}
 @media (max-width: 1469px) {
	 header .header-full .cd-dropdown-content {
		 width: 1170px !important;
	}
}
 @media (max-width: 1366px) {
	 header .header-full .cd-dropdown-content {
		 width: 98vw !important;
	}
}
 @media (max-width: 1100px) {
	 header .header-full .cd-dropdown-content {
		 grid-template-columns: 300px;
	}
}
 header .header-full .cd-dropdown-content .menu-active {
	 background: #fff;
}
 header .header-full .dropdown-is-active .cd-dropdown-content .menu-active .cd-secondary-dropdown {
	 visibility: visible !important;
}
 header .header-full .cd-dropdown-content > li {
	 border-radius: 8px;
	 display: flex;
	 align-items: center;
}
 header .header-full .cd-dropdown-content > li.has-children::before {
	 content: "";
	 width: 16px;
	 height: 16px;
	 background-size: contain;
	 filter: brightness(0) saturate(100%) invert(31%) sepia(76%) saturate(677%) hue-rotate(167deg) brightness(116%) contrast(92%);
	 position: relative;
	 display: inline-block;
	 flex-shrink: 0;
	 margin-left: 15px;
}
 header .header-full .cd-dropdown-content > li.has-children > a {
	 padding-top: 4px;
	 padding-bottom: 4px;
	 padding-left: 15px;
	 width: 100%;
}
 header .header-full .cd-dropdown-content > li.has-children > a::before, header .header-full .cd-dropdown-content > li.has-children > a::after {
	 width: 7px;
	 height: 2px;
	 background: #000;
	 margin-left: auto;
}
 header .header-full .cd-dropdown-content > li.has-children > a::before {
	 top: 23px;
}
 header .header-full .cd-dropdown-content > li.has-children > a::after {
	 top: 19px;
}
 header .header-full .cd-dropdown-content > li:not(.has-children) > a {
	 padding: 0;
	 font-weight: 600;
}
 header .header-full .cd-dropdown-content > li:hover > a {
	 box-shadow: none;
	 font-weight: 400;
}
 header .header-full .cd-dropdown-content .cd-secondary-dropdown {
	 width: 750px !important;
	 height: 660px !important;
	 display: grid !important;
	 grid-template-columns: repeat(3, 1fr);
	 gap: 10px 15px;
	 overflow: auto;
	 border-radius: 30px;
	 box-shadow: none;
	 position: absolute !important;
	 top: 30px !important;
	 right: 30px !important;
	 left: unset !important;
	 padding: 10px 30px 30px;
	 visibility: hidden !important;
}
 @media (max-width: 1469px) {
	 header .header-full .cd-dropdown-content .cd-secondary-dropdown {
		 width: 500px !important;
		 grid-template-columns: 1fr 1fr;
	}
}
 @media (max-width: 1366px) {
	 header .header-full .cd-dropdown-content .cd-secondary-dropdown {
		 width: calc(97vw - 660px) !important;
	}
}
 @media (max-width: 1100px) {
	 header .header-full .cd-dropdown-content .cd-secondary-dropdown {
		 width: calc(97vw - 360px) !important;
	}
}
 header .header-full .cd-dropdown-content .cd-secondary-dropdown > li {
	 width: 100%;
	 border: 0 !important;
	 padding-left: 0;
}
 header .header-full .cd-dropdown-content .cd-secondary-dropdown > li > a {
	 font-weight: 600 !important;
	 color: #252122;
	 font-size: 16px !important;
}
 header .header-full .cd-dropdown-content .cd-secondary-dropdown > li.go-back + li {
	 grid-column: 1 / 4;
}
 @media (max-width: 1469px) {
	 header .header-full .cd-dropdown-content .cd-secondary-dropdown > li.go-back + li {
		 grid-column: 1 / 3;
	}
}
 header .header-full .cd-dropdown-content .cd-secondary-dropdown > li.go-back + li a {
	 font-size: 18px !important;
	 font-weight: 700;
}
 header .header-full .cd-dropdown-content .cd-secondary-dropdown > li li a {
	 font-size: 14px !important;
	 color: #545454;
	 padding: 0;
}
 header .header-full .cd-dropdown-content .cd-secondary-dropdown > li li.menu-see-all {
	 margin-top: 5px;
}
 header .header-full .cd-dropdown-content .cd-secondary-dropdown > li li.menu-see-all a {
	 color: #207bc1;
	 font-weight: 700;
}
 header .header-full .cd-dropdown-content .cd-secondary-dropdown > li li.menu-see-all a::after {
	 content: "\f054 ";
	 font-family: fontawesome;
	 font-weight: 400;
	 font-size: 12px;
	 padding-left: 10px;
}
 header .header-full .cd-dropdown-content .cd-secondary-dropdown > li li.menu-see-all a:hover {
	 text-decoration: underline;
}
 header .header-full .cd-dropdown-content .menu-top-brands {
	 margin-top: 20px;
	 grid-column: 1 / 3;
}
 @media (max-width: 1100px) {
	 header .header-full .cd-dropdown-content .menu-top-brands {
		 grid-column: 1 / 2;
	}
}
 header .header-full .cd-dropdown-content .menu-top-brands h3 {
	 display: block;
	 color: #252122;
	 font-size: 18px;
	 background: 0;
	 padding: 0;
	 border: 0;
	 margin: 0 0 20px;
	 font-weight: 700;
}
 header .header-full .cd-dropdown-content .menu-top-brands-inner {
	 display: flex;
	 flex-wrap: wrap;
	 gap: 15px;
}
 header .header-full .cd-dropdown-content .menu-top-brand {
	 width: calc(25% - 12px);
	 min-height: 85px;
	 background: #fff;
	 border-radius: 20px;
	 padding: 10px 25px;
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 border: 2px solid #fff;
	 transition: 0.3s border;
}
 header .header-full .cd-dropdown-content .menu-top-brand:hover {
	 border-color: #207bc1;
}
 @media (max-width: 1100px) {
	 header .header-full .cd-dropdown-content .menu-top-brand {
		 width: calc(55% - 24px);
	}
}
 .nav-icon-appliances::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-appliances.svg");
}
 .nav-icon-automotive::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-automotive.svg");
}
 .nav-icon-bath::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-bath.svg");
}
 .nav-icon-blinds::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-blinds.svg");
}
 .nav-icon-building::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-building.svg");
}
 .nav-icon-cleaning::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-cleaning.svg");
}
 .nav-icon-electrical::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-electrical.svg");
}
 .nav-icon-flooring::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-flooring.svg");
}
 .nav-icon-hardware::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-hardware.svg");
}
 .nav-icon-kitchen::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-kitchen.svg");
}
 .nav-icon-lawn::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-lawn.svg");
}
 .nav-icon-lighting::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-lighting.svg");
}
 .nav-icon-outdoor::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-outdoor.svg");
}
 .nav-icon-paint::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-paint.svg");
}
 .nav-icon-plumbing::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-plumbing.svg");
}
 .nav-icon-storage::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-storage.svg");
}
 .nav-icon-tools::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-tools.svg");
}
 .nav-icon-windows::before {
	 background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-windows.svg");
}
 

/* end menu */

.fa-brands::before {
  font-family: FontAwesome;
}

.shopping-cart .cart-resume {
  max-width: 340px;
}

@media (max-width: 1200px) {
  .shopping-cart .cart-resume {
    float: none;
  }
}

.promotion_discount {
  position: relative;
  isolation: isolate;
}

.promotion_discount .row > img {

}

.promotion_discount .row > img {
  display: block;
  position: relative;
  top: -60px;
  margin-bottom: -60px;
  z-index: -1;
}

.mobile .promotion_discount {
 margin-top: 20px; 
}

/* ===== MH Thank You page stiling ===== */
#thankYou .hero-banner-grid-sp {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, 3fr);
  gap: 20px;
}

#thankYou .banner-grid__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#thankYou .banner-grid__inner {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

#thankYou .banner-grid__inner::after {
  content: "";
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.25) 100%
  );
  pointer-events: none;
}

#thankYou .banner-grid__inner:hover::after {
  opacity: 1;
}

#thankYou .gr-s {
  grid-column: span 3;
  grid-row: span 1;
}
#thankYou .gr-l {
  grid-column: span 6;
  grid-row: span 2;
}

#thankYou .gr-w {
  grid-column: span 6;
  grid-row: span 1;
}

@media (min-width: 1200px) {
  #thankYou .container {
    width: 100%;
  }
}
@media only screen and (max-width: 991px) {
  #thankYou .row {
    display: flex;
    flex-wrap: wrap;
  }
  #thankYou .row > div:first-of-type{
    order: 2;
  }
}
@media only screen and (max-width: 517px) {
  #thankYou .gr-l {
    grid-column: span 8;
  }
  #thankYou .hero-banner-grid-sp {
    grid-template-rows: repeat(4, auto);
  }
  #thankYou .gr-s {
    grid-column: span 4;
    grid-row: span 1;
  }
  #thankYou .gr-w {
    grid-column: span 8;
  }
  #thankYou .gr-w:last-of-type {
    grid-column: 1/9;
    grid-row: 3/4;
  }
}
/* ===== End ===== */

/* ===== MH Popout gift reminder ===== */
body:has(.menubarHeader) .gift-reminder{
  top:110px;
}
.gift-reminder {
  max-width: 600px;
  text-align: center;
  background-color: var(--theme-primary);
  padding: 5px 15px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  top: 205px;
  right: 30px;
  font-size: 0.95rem;
  position: fixed;
  z-index: 13;
  opacity: 1;
  transition: all 0.35s ease;
  border: 1px solid #808080;
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.13), 0 24px 46px rgba(0, 0, 0, 0.2);
  visibility: visible;
}
.gift-reminder span::selection{
    background-color: #000;
}
.gift-reminder p {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: #000;
}
div.gift-reminder.inactive {
  opacity: 0;
  top: 0;
  visibility: hidden;
}
@media only screen and (max-width: 767px) {
  .gift-reminder {
    top: 30px;
    right:50%;
    transform: translateX(50%);
    padding: 10px 15px;
    width: min(90vw,400px);
  }
}
.gift-promotion-container {
  padding-top: 15px;
  max-width: 485px;
}
.gift-promotion-container p {
  padding: 5px 10px;
}
.gift-promotion-container .bg-warning,
.gift-promotion-container .bg-info {
  --bs-bg-opacity: 0.3;
}
.gift-promotion-container p {
  border-radius: 5px;
  line-height: 1.5;
  font-weight: 500;
}
.gift-promotion-container .text-danger {
  display: revert;
}
.gift-promotion-container .bg-info {
 background-color: #dff0d8;
}
.gift-promotion-container strong {
  background-color: var(--theme-primary);
}
/* ===== End ===== */

/* ===== MH variant product styling *SKU-MOJO* ===== 
.ex-sku-mojo {
  .variantproducts_container .gridcontent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1em;
    margin-inline: 1em;
  }

  .variant-products-wrapper .table-wrapper {
    display: none;
  }

  .variantproducts_container .product .variant-product-image img {
    object-fit: contain;
    object-position: center;
    height: 100%;
    mix-blend-mode: darken;
  }

  .variantproducts_container .gridcontent::before {
    display: none;
  }

  .variantproducts_container .gridcontent .mask {
    position: absolute;
  }

  .variantproducts_container .gridcontent > .product {
    display: flex;
    align-items: center;
    flex-direction: column;
    border: solid 1px #e8e8e8;
    padding: 1em;
    position: relative;
    background-color: #fff;
    border-radius: 10px;
  }

  .variantproducts_container .gridcontent > .product > * + * {
    margin-top: 1em;
  }

  .variantproducts_container .gridcontent > .product > .variant-product-image {
    order: 1;
    position: relative;
    padding: 1em;
    height: 250px;
    background-color: #fff;
  }

  .variantproducts_container
    .gridcontent
    > .product
    > .variant-product-description {
    order: 2;
    text-align: center;
    border-top: 1px solid #e8e8e8;
    padding-top: 10px;
    flex: 1;
  }

  .variantproducts_container .gridcontent > .product > .variant-product-sku {
    font-size: 0.85rem;
    font-weight: 700;
    background-color: var(--theme-lightgrey);
    padding: 0.35em 0.45em;
    border-radius: 5px;
    color: white;
    order: 3;
  }

  .variantproducts_container .gridcontent > .product > .variant-product-price {
    order: 4;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
  }

  .variantproducts_container
    .gridcontent
    > .product
    > .variant-product-price
    > * {
    padding: 0;
    margin: 0;
  }

  .variantproducts_container .gridcontent > .product > .variant-product-qty {
    order: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .variantproducts_container
    .gridcontent
    > .product
    > .variant-product-qty:has(.quoteme-wrapper) {
    flex-direction: column;
    gap: 5px;
  }

  .variantproducts_container
    .gridcontent
    > .product
    > .variant-product-price
    .footer-wrapper-price {
    background-color: var(--theme-primary);
    padding: 0.3em 0.5em;
    border-radius: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
  }

  .variantproducts_container
    .gridcontent
    > .product
    > .variant-product-options {
    display: none;
  }

  .variantproducts_container
    .gridcontent
    > .product
    > .variant-product-image
    .divquickview {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
  }

  .variantproducts_container
    .gridcontent
    > .product
    > .variant-product-sku::before {
    content: "Item SKU:";
  }

  .variantproducts_container
    .gridcontent
    > .product
    > .variant-product-qty
    > * {
    width: auto;
    padding: 0;
    margin: 0;
  }
  .variantproducts_container button {
    display: revert!important;
  }

  @media only screen and (max-width: 1267px) {
    .variantproducts_container .gridcontent {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  @media only screen and (max-width: 1100px) {
    .variantproducts_container .gridcontent {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media only screen and (max-width: 860px) {
    .variantproducts_container .gridcontent {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media only screen and (max-width: 500px) {
    .variantproducts_container .gridcontent {
      grid-template-columns: 1fr;
    }
  }
}
/* ===== End ===== */

/* ===== MH delivery indicator styling ===== 
.productaddtocart_container .sp-flex {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.productaddtocart_container .sp-flex h3,
.productaddtocart_container .sp-flex span {
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0;
  text-wrap: wrap;
}

.productaddtocart_container .sp-flex span {
  font-size: 0.65rem;
}
.productaddtocart_container .sp-flex .in-stock {
  --stock-color: #3db54a;
  position: relative;
}

.productaddtocart_container .sp-flex .in-stock::before {
  content: "";
  background-color: var(--stock-color);
  width: 25px;
  height: 25px;
  position: absolute;
  bottom: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.productaddtocart_container .sp-flex .out-of-stock {
  --stock-color: #e54842;
}
.productaddtocart_container .sp-flex > * {
  border: 2px solid var(--stock-color);
  padding: 5px;
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}
.productaddtocart_container .sp-flex img {
  max-width: 100%;
  width: 70%;
  margin-top: auto;
}
/* ===== End ===== */

/* ===== MH Special Order badge styling ===== */

/*.ex-product .b1168 .ribbon span,
.ex-category .b1168 .ribbon span,
.ex-searchresult .b1168 .ribbon span,
.ex-content-page .b1168 .ribbon span {
  display: none;
}*/
.b1168 .ribbon span,
.b1168 .ribbon-side,
.b1168 .ribbon-tips {
  display: none!important;
}

.ex-product .b1168 .ribbon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  background-color: transparent !important;
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/MH Folder/CBS-special-order-badge-v3.png");
  background-position: left;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}

.tileparent .b1168 .ribbon {
  width: 75px;
  height: 75px;
  background-color: transparent !important;
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/MH Folder/CBS-special-order-badge-v3.png");
  background-position: left;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}

/*.ex-product .b1168 .ribbon-side,
.b1168 .ribbon-tips,
.ex-category .b1168 .ribbon-side,
.b1168 .ribbon-tips,
.ex-searchresult .b1168 .ribbon-side,
.b1168 .ribbon-tips,
.ex-searchresult .b1168 .ribbon-side,
.ex-content-page .b1168 .ribbon-side,
.b1168 .ribbon-tips {
  display: none;
}*/

#cbsSpecialOrderLabel {
  text-align: center;
  font-weight: 700;
}
/* ===== End ===== */

/* ===== MH delivery/collection visualisation ===== 
.delivery-option.unavailable {
  --bg-icon-cd: url("https://us.evocdn.io/dealer/1324/content/media/MH Folder/icons/delivery-unavailable.png");
  --text-cd: #f5333f;
}
.delivery-option.available {
  --bg-icon-cd: url("https://us.evocdn.io/dealer/1324/content/media/MH Folder/icons/delivery-available.png");
  --text-cd: #219653;
}
.collection-option.unavailable {
  --bg-icon-cd: url("https://us.evocdn.io/dealer/1324/content/media/MH Folder/icons/collection-unavailable.png");
  --text-cd: #f5333f;
}
.collection-option.available {
  --bg-icon-cd: url("https://us.evocdn.io/dealer/1324/content/media/MH Folder/icons/collection-available.png");
  --text-cd: #219653;
}
.special-option.unavailable {
  --bg-icon-cd: url("https://us.evocdn.io/dealer/1324/content/media/MH Folder/icons/special-order-unavaliable.png");
  --text-cd: #f5333f;
}
.special-option.available {
  --bg-icon-cd: url("https://us.evocdn.io/dealer/1324/content/media/MH Folder/icons/special-order-avaliable.png");
  --text-cd: #219653;
}

.cd-container {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.cd-wrapper {
  border: 2px #ccc solid;
  border-radius: 10px;
  position: relative;
  padding: 10px 5px;
  margin-bottom: 20px;
  order: 2;
}

.cd-wrapper h3 {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  background: #eee;
  padding: 0 7px;
  width: max-content;
  font-size: 1.1rem;
  font-weight: 500;
}

.cd-options {
  display: flex;
  gap: 5px;
}

.cd-tile {
  width: 50%;
  min-height: 100px;
  height: auto;
  border-radius: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--bg-icon-cd);
  background-size: 50px;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: 7px;
  border: 1px solid var(--text-cd);
  cursor: pointer;
}
.special-option {
  width: 100%;
}

.cd-tile p {
  --margin-top-cd: 60px;
  margin: 0;
  margin-top: var(--margin-top-cd);
  color: var(--text-cd);
  line-height: 1.2;
  font-size: 0.9rem;
  font-weight: 700;
  text-wrap: wrap;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 0 5px 5px;
  pointer-events: none;
}

.unavailable {
  background-color: #f8d1d4;
}
.available {
  background-color: #c5f3d9;
}
.special-order {
  order: 3;
}
.default-branch {
  border-color: black;
  order: 1;
}
.default-branch::after {
  content: "";
  background: url("https://us.evocdn.io/dealer/1324/content/media/MH Folder/icons/current-branch-v2.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 40px;
  height: 40px;
  position: absolute;
  top: -20px;
  right: -10px;
}
.tileparent .buttons.group {
  height: auto!important;
}
.tileparent .delivery-collection {
    margin-top: 20px;
}
@media only screen and (max-width: 1200px) {
  .cd-options {
    flex-direction: column;
  }
  .cd-tile {
    width: 100%;
    min-height: 70px;
  }
}

@media only screen and (max-width: 991px) {
  .cd-options {
    flex-direction: row;
  }
  .cd-tile {
    width: 50%;
    min-height: 100px;
  }
  .special-option {
    width: 100%;
  }
}
.lastviewedproducts_container .cd-wrapper,
.gridlist-grid .cd-wrapper,
.gridlist-list .cd-wrapper,
.merchandisingcontent_container .cd-wrapper{
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    margin-bottom: 15px;
}
.lastviewedproducts_container .cd-options,
.gridlist-grid .cd-options,
.gridlist-list .cd-options,
.merchandisingcontent_container .cd-options{
    flex-direction: column;
    width: 100%;
}
.lastviewedproducts_container .cd-tile,
.gridlist-grid .cd-tile,
.gridlist-list .cd-tile,
.merchandisingcontent_container .cd-tile{
    width: 100%;
    min-height: auto;
    background-position-x: 5px;
    background-position-y: center;
    background-size: 23px;
    padding: 5px 5px 5px 25px;
}
.lastviewedproducts_container .cd-tile.special-option-only,
.gridlist-grid .cd-tile.special-option-only,
.gridlist-list .cd-tile.special-option-only,
.merchandisingcontent_container .cd-tile.special-option-only{
    background-size: 30px;
    padding-left: 33px;
}
.lastviewedproducts_container .cd-tile p,
.gridlist-grid .cd-tile p,
.gridlist-list .cd-tile p,
.merchandisingcontent_container .cd-tile p{
    margin: 12px 0 12px 12px;
    margin: 0;
    padding: 0;
}
.lastviewedproducts_container .cd-tile.delivery-option,
.gridlist-grid .cd-tile.delivery-option,
.gridlist-list .cd-tile.delivery-option,
.merchandisingcontent_container .cd-tile.delivery-option{
    display: none;
}
.merchandisingcontent_container .cd-wrapper h3 {
  border-bottom: none;
  line-height: revert;
}
.merchandisingcontent_container .delivery-collection {
margin-top: 20px;
}
/* ===== End ===== */

/* ===== MH Can't find you're looking for dialog styling ===== */
#cant-find-contact textarea {
  max-width: 100%;
}
.cant-find-wrapper {
  position: fixed;
  left: 0;
  top: 50%;
  transform-origin: left top;
  transform: rotate(-90deg) translateX(-50%) translateY(-35px);
  background-color: var(--theme-primary, #ffd504);
  z-index: 99;
  padding: 5px 20px;
  transition: transform 0.4s;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}
.cant-find-wrapper::before,
.cant-find-wrapper::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
}
.cant-find-wrapper::before{
  left: 10%;
  background: linear-gradient(107deg,rgba(238, 28, 37, 0) 0%, rgba(250, 250, 250, 0.5) 100%);;
  transform: skew(-30deg)
}
  .cant-find-wrapper::after{
  left: -80%;
  background: linear-gradient(90deg, rgba(238, 28, 37, 0) 0%, rgba(250, 250, 250, 0.4) 100%) ;
  transform: skew(30deg)
}
.cant-find-wrapper:hover{
  transform: rotate(-90deg) translateX(-50%) translateY(0);
}
.cant-find-wrapper p {
  margin: 0;
  text-align: center;
}
.cant-find-wrapper p:last-of-type {
  font-weight: 700;
  font-size: 1.1rem;
}
.cant-find-wrapper a {
  color: black;
  position: relative;
   z-index: 2;
}
#cant-find-contact .modal-body > div {
  margin-top: 1em;
}
#cant-find-contact h3 {
    font-weight: 700;
    text-align: center;
    padding-block: 10px;
    background: url("https://us.evocdn.io/dealer/1324/content/media/MH Folder/CBS-special-order-badge-v3-tile.png");
    background-size: 45px;
    background-position-x: 15px;
    background-position-y: center; 
    background-repeat: no-repeat; 
}
@media only screen and (max-width: 600px){
  #cant-find-contact h3{
    padding-inline: 60px;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }
}
@media only screen and (max-width: 500px){
.cant-find-wrapper {
  padding: 3px 7px;
  transform: rotate(-90deg) translateX(-50%) translateY(-20px);
}

.cant-find-wrapper a p:first-of-type{
  font-size: 0.6rem;
}
  .cant-find-wrapper a p:last-of-type{
  font-size: 0.8rem;
}
}
@media only screen and (max-width: 400px){
  #cant-find-contact h3{
    padding-inline: 15px 30px;
    background: none;
  }
}
/* ===== End ===== */

/*===== MH landing page styling ===== */
.page-content.onecolumn:has(.landingpage-hero-title) {
  margin: 0;
}

.landingpage-hero-title {
  position: relative;
  background-color: #2a2a2a;
  min-height: 420px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.landingpage-hero-title > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.landingpage-hero-title .container {
  position: relative;
  z-index: 1;
  height: 100%;
}

.landingpage-hero-title .content-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #fff;
}

.landingpage-hero-title h1 {
  font-size: 48px;
  margin: 0 0 25px;
  color: #fff;
}

.landingpage-hero-title p:last-child {
  margin-bottom: 0;
}

.landingpage-introtext h2 {
  font-size: 40px;
  margin: 0 0 30px;
}

.landingpage-introtext p {
  margin: 0 0 25px;
}

.catalog-grid:has(.landingpage-introtext) .row-breadcrumb {
  display: none;
}

.htmlcontent_container:has(.landingpage-buttons) {
  margin: 0;
}

.landingpage-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.landingpage-buttons .btn {
  width: 35%;
  padding: 1.5rem;
  font-size: 1.35rem;
  min-width: max-content;
}

@media (max-width: 500px) {
  .landingpage-buttons {
  flex-direction: column;
  align-items: center;
  }
  .landingpage-buttons .btn {
  min-width: min(300px, 90%);
  }
}

.landingpage-category-boxes {
  background: #f3f3f3;
  padding: 70px 0;
  margin-top: 30px;
}

.landingpage-category-boxes h2 {
  text-align: center;
  font-size: 36px;
  color: #444242;
  margin: 0 0 25px;
}

.landingpage-category-boxes p {
  text-align: center;
  margin: 0;
}

.landingpage-category-boxes .container {
  background-color: revert;
}

.lp-categoryboxes-inner {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 991px) {
  .lp-categoryboxes-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 500px) {
  .lp-categoryboxes-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.lp-categorybox {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px;
  height: 285px;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
}

.lp-categorybox > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: 0.35s all;
}

.lp-categorybox > div {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  position: relative;
}

.lp-categorybox > div img {
  flex-shrink: 0;
}

.lp-categorybox > div::after {
  content: "Explore...";
  position: absolute;
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  bottom: 100%;
  opacity: 0;
  transition: 0.35s all;
  transform: translateX(-20px);
}

.lp-categorybox::after {
  content: "";
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  position: absolute;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: -1;
  transition: 0.35s all;
}

.lp-categorybox:hover > img {
  transform: scale(1.05);
}

.lp-categorybox:hover > div::after {
  opacity: 1;
  transform: translateX(0);
}

.lp-categorybox:hover::after {
  opacity: 0.75;
}

.zonebottom:has(.landingpage-category-boxes) > div {
  margin-bottom: 0;
}

.gotAnyQuestions {
  background: #2a2a2a;
  position: relative;
  padding: 0 30px;
}

.gotAnyQuestions > img {
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  left: 50%;
  object-fit: cover;
}
.gotAnyQuestions a {
  margin-top: 20px;
}

.gotAnyQuestions a:hover,
.gotAnyQuestions a:focus {
  color: #ffffff;
}

.gotAnyQuestions .questionsInner {
  padding: 100px 100px 100px 0;
  width: 50%;
}

.gotAnyQuestions h3 {
  color: #fff;
  font-size: 26px;
  margin: 0 0 30px;
}

.gotAnyQuestions p {
  color: #fff;
  margin: 0 0 30px;
}

.gotAnyQuestions .questionsLink {
  color: #fff;
  margin: 15px 0;
}
.gotAnyQuestions .customButton {
  display: inline-block;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .gotAnyQuestions > img {
    display: none;
  }
}

@media (max-width: 768px) {
  .gotAnyQuestions .questionsInner {
    width: 100%;
    padding: 50px 0;
  }
}
/* ===== END landing page style ===== */
.message-stock-wrapper {
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
}
.message-stock-wrapper p {
       line-height: 1.3;
    margin: 0;
}
.message-stock-wrapper i::before{
  font-family: FontAwesome;
  content: "\f05a";
  display: inline-block;
  font-size: 1.2em;
  font-style: normal;
  margin-right: 8px;
  vertical-align: middle;
}

/* ===== HM adjust mobile nav ===== */
#mobileVueNav {
  --nav-padding: 40px 0 0;
  --nav-grid-columns: repeat(5, calc(20% - 3px));
  --nav-grid-rows: repeat(auto-fill, 100px);
  --nav-pseudo-top: 25px;
  display: grid;
  grid-template-columns: var(--nav-grid-columns);
  grid-template-rows: var(--nav-grid-rows);
  gap: 3px;
  padding-inline: 5px;
}
#mobileVueNav:not(:has(.go-back-mobile.hide)) {
  --nav-padding: 0 15px 0 0;
  --nav-grid-columns: repeat(3, calc(33.33% - 3px));
  --nav-grid-rows: repeat(auto-fill, 70px);
  --nav-pseudo-top: 50%;
}
#mobileVueNav:not(:has(.go-back-mobile.hide)) > li.additional_link:not(.has-children) > a {
    padding: 0;
}
#mobileVueNav .go-back-mobile > a {
    padding: 0 0 0 20px;
}
#mobileVueNav:not(:has(.go-back-mobile.hide)) > li::before {
  background: none;
}
#mobileVueNav > li {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px;
  position: relative;
  order: 50;
}
#mobileVueNav .nav-icon-new-soon {
    order: 1;
}
#mobileVueNav .nav-icon-clearance {
    order: 2;
}
#mobileVueNav .nav-icon-deals-promotions {
    order: 3;
}
#mobileVueNav > li > a {
  line-height: 1.3;
  white-space: wrap;
  font-size: 0.75rem;
  text-align: center;
  border: none;
  padding: var(--nav-padding);
  height: auto;
  overflow: visible;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#mobileVueNav > li::before {
  content: "";
  width: calc(100% - 10px);
  height: 30px;
  background-size: 25px;
  background-position: center;
  background-repeat: no-repeat;
  filter: invert(1);
  position: absolute;
  top: 15px;
}
#mobileVueNav > li > a::before,
#mobileVueNav > li > a::after {
  top: var(--nav-pseudo-top);
  right: 3px;
}
#mobileVueNav .go-back-mobile > a::before,
#mobileVueNav .go-back-mobile > a::after {
  left: 5px;
}
#mobileVueNav .standOut > a::before {
  display: none;
}
#mobileVueNav .standOut > a::after {
  top: -5px;
  bottom: unset;
  right: 50%;
  transform: translateX(50%);
}

.nav-icon-new-soon::before {
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-new-soon.svg");
}
.nav-icon-clearance::before {
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-clearance-bk.svg");
}
.nav-icon-about-us::before {
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-about-us-3.svg");
}
.nav-icon-deals-promotions::before {
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-deals-promotion.svg");
}
.nav-icon-store-locations::before {
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-store-locations-bk.svg");
}
.nav-icon-customer-service::before {
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-customer-service.svg");
}
.nav-icon-project-sales::before {
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-project-sales.svg");
}
.nav-icon-diy::before {
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-diy.svg");
}
.nav-icon-quick-order::before {
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-quick-order.svg");
}
.nav-icon-blog::before {
  background-image: url("https://us.evocdn.io/dealer/1324/content/media/My_Theme/icons/icon-blog.svg");
}

/* ===== HM indicate customer role on dashboard ===== */
.dashboard-intro::after {
  --user-role: "";
  position: absolute;
  content: var(--user-role);
  top: 10px;
  right: 10px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
}
.ex-r-924 .dashboard-intro::after {
  --user-role: "Guest (Logged Out) User";
}
.ex-r-937 .dashboard-intro::after {
  --user-role: "Rewards Individual / Private";
}
.ex-r-938 .dashboard-intro::after {
  --user-role: "Preferred Contractor Admin - Cash/Credit";
}
.ex-r-948 .dashboard-intro::after {
  --user-role: "Individual/Private - Credit Account";
}
.ex-r-949 .dashboard-intro::after {
  --user-role: "Small Business Admin - Credit Account";
}
.ex-r-950 .dashboard-intro::after {
  --user-role: "Enterprise Admin - Credit Account";
}
.ex-r-952 .dashboard-intro::after {
  --user-role: "Purchasing Only User";
}
.ex-r-953 .dashboard-intro::after {
  --user-role: "Staff Member - Cash/Credit";
}
.ex-r-9996 .dashboard-intro::after {
  --user-role: "Rewards Company Admin";
}
.ex-r-1049 .dashboard-intro::after {
  --user-role: "Financial View & Purchasing User";
}
/* ===== End ===== */
/* ===== Cearance and New Style ===== */
.header-full .cd-dropdown-content li.nav-icon-new-soon,
.header-full .cd-dropdown-content li.nav-icon-clearance {
  position: relative;
  overflow: visible;
}
.header-full .cd-dropdown-content li.nav-icon-new-soon > a,
.header-full .cd-dropdown-content li.nav-icon-clearance > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  border: 0.5px solid #d5dee6;
  border-radius: 8px;
  padding: 3px 16px !important;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  width: 100%;
  margin-bottom: 10px;
  margin-inline: 10px;
}
.header-full .cd-dropdown-content li.nav-icon-new-soon:hover > a,
.header-full .cd-dropdown-content li.nav-icon-clearance:hover > a {
  border-color: #b8c8d8;
  font-weight: 600 !important;
}
/* Corner badge tags */
.cd-dropdown-content li.nav-icon-new-soon > a::after,
.cd-dropdown-content li.nav-icon-clearance > a::after {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  color: #fff;
  line-height: 1.4;
}
#mobileVueNav li.nav-icon-new-soon > a::after,
#mobileVueNav li.nav-icon-clearance > a::after {
  top: 0;
  right: 0;
}
.cd-dropdown-content li.nav-icon-new-soon > a::after {
  content: "New";
  background-color: #2e8b57;
}
.cd-dropdown-content li.nav-icon-clearance > a::after {
  content: "Sale";
  background-color: #c0392b;
}
/* ===== Available to order ===== */
.available-to-order-product .btn-add-to-cart,
.available-to-order-product .btn-add-to-cart-collection,
.available-to-order-product .inputquantity,
.available-to-order-product .live-inventory-v2-wrapper {
  display: none!important;
}
#available-to-order-quote {
  --available-to-order-bg-image: url("https://images.unsplash.com/photo-1592838064575-70ed626d3a0e?fm=jpg&q=60&w=3000&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  padding: 0!important;
}
#available-to-order-quote .modal-dialog {
  max-width: 800px;
  margin: 40px auto;
  padding-inline: 15px;
  width: auto;
}
#available-to-order-quote .modal-content.available-to-order-modal {
  display: flex;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px hsla(var(--cbs-black) / 18%), 0 4px 12px hsla(var(--cbs-black) / 8%);
}
#available-to-order-quote .available-to-order-modal__aside {
  width: 35%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 2rem 1.5rem;
  color: hsl(var(--cbs-white));
  background-color: hsl(var(--cbs-dark-blue));
  background-image: linear-gradient(hsla(var(--cbs-dark-blue) / 85%), hsla(var(--cbs-dark-blue) / 85%)), var(--available-to-order-bg-image);
  background-size: cover;
  background-position: center;
}
#available-to-order-quote .available-to-order-modal__aside-icon {
  font-size: 2rem;
  color: hsl(var(--cbs-yellow));
}
#available-to-order-quote .available-to-order-modal__aside-title {
  font-size: 1.05rem;
  font-weight: 700;
}
#available-to-order-quote .available-to-order-modal__aside-text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: hsla(var(--cbs-white) / 80%);
}
#available-to-order-quote .available-to-order-modal__main {
  position: relative;
  flex: 1;
  min-width: 0;
}
#available-to-order-quote .available-to-order-modal__main .close {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: hsla(var(--cbs-black) / 6%);
  color: hsla(var(--cbs-black) / 55%);
  opacity: 1;
  text-shadow: none;
  transition: background 0.15s;
  z-index: 1;
}
#available-to-order-quote .available-to-order-modal__main .close:hover {
  background: hsla(var(--cbs-black) / 10%);
}
#available-to-order-quote .modal-body {
  padding: 1.5rem 1.5rem 1.25rem;
}
#available-to-order-quote .available-to-order-modal__product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin: 34px 0 16px;
  background: hsla(var(--cbs-blue) / 6%);
  border-radius: 10px;
}
#available-to-order-quote .available-to-order-modal__product-image {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  background: hsla(var(--cbs-black) / 6%);
}
#available-to-order-quote .available-to-order-modal__product-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsla(var(--cbs-black) / 30%);
  font-size: 1.2rem;
}
#available-to-order-quote .available-to-order-modal__product-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--cbs-blue));
}
#available-to-order-quote .available-to-order-modal__product-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: hsl(var(--cbs-black));
}
#available-to-order-quote .available-to-order-form .form-group {
  margin-bottom: 12px;
}
#available-to-order-quote .available-to-order-form label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--cbs-dark-blue));
}
#available-to-order-quote .available-to-order-form .form-control {
  width: 100%;
  padding: 6px 14px;
  font-size: 0.95rem;
  color: hsl(var(--cbs-black));
  background: hsl(var(--cbs-white));
  border: 1.5px solid hsla(var(--cbs-black) / 12%);
  border-radius: 9px;
  transition: border-color 0.15s, box-shadow 0.15s;
  height: auto;
}
#available-to-order-quote .available-to-order-form textarea.form-control {
  resize: vertical;
  min-height: 68px;
}
#available-to-order-quote .available-to-order-form .form-control:focus {
  outline: none;
  border-color: hsl(var(--cbs-blue));
  box-shadow: 0 0 0 3px hsla(var(--cbs-blue) / 18%);
}
#available-to-order-quote .available-to-order-form .g-recaptcha {
  margin: 2px 0 14px;
}
#available-to-order-quote .available-to-order-form .response-message {
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 0.9rem;
}
#available-to-order-quote .available-to-order-form .response-message:not(.hide) {
  display: block;
  margin-bottom: 14px;
}
#available-to-order-quote .available-to-order-form button[type="submit"] {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: hsl(var(--cbs-white));
  background: hsl(var(--cbs-blue));
  border: none;
  border-radius: 9px;
  transition: background 0.15s, transform 0.08s;
}
#available-to-order-quote .available-to-order-form button[type="submit"]:hover {
  background: hsl(var(--cbs-dark-blue));
}
#available-to-order-quote .available-to-order-form button[type="submit"]:active {
  transform: scale(0.98);
}
#available-to-order-quote .available-to-order-form button[type="submit"] .loading {
  margin-left: 2px;
}
@media only screen and (max-width: 620px) {
  #available-to-order-quote .modal-content.available-to-order-modal {
    flex-direction: column;
  }
  #available-to-order-quote .available-to-order-modal__aside {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    padding: 1.25rem 1.5rem;
  }
  #available-to-order-quote .available-to-order-modal__aside-icon {
    font-size: 1.5rem;
  }
  #available-to-order-quote .available-to-order-modal__aside-text {
    display: none;
  }
  #available-to-order-quote .available-to-order-modal__product {
    margin-top: 16px;
  }
}
@media only screen and (max-width: 480px) {
  #available-to-order-quote .modal-dialog {
    margin: 24px auto;
  }
}
@media only screen and (max-width: 380px) {
  #available-to-order-quote .available-to-order-modal__product {
    position: relative;
  }
  #available-to-order-quote .available-to-order-modal__product-image {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    opacity: 15%;
  }
}
/* ===== test ===== */
:root {
  --cbs-danger: 4 62% 36%;
  --cbs-border-color: 42 28% 91%; /* #eeeae1 */
  --cbs-box-shadow: 0 14px 32px hsla(var(--cbs-dark-blue) / 7%), 0 3px 8px hsla(var(--cbs-black) / 6%);
  --cbs-text-muted: 37 8% 39%; /* #6b655b */
}
/* Tile rules are shared by #grid, #list, Owl carousels (.owl-carousel .owl-stage) */
#grid {
  container-type: inline-size;
  container-name: grid;
  column-gap: 0;
  row-gap: 15px;
}

#grid .hm-product {
  width: 25%;
}
@container grid (max-width: 1400px) {
  #grid .hm-product {
    width: 33.33%;
  }
}
@container grid (max-width: 1000px) {
  #grid .hm-product {
    width: 50%;
  }
}
@container grid (max-width: 650px) {
  #grid .hm-product {
    width: 100%;
  }
}
#grid .tileparent.hm-product,
.owl-carousel .owl-stage .tileparent.hm-product {
  border: none;
}
#grid .hm-available-to-order .flex-buttons,
#list .hm-available-to-order .flex-buttons,
.owl-carousel .owl-stage .hm-available-to-order .flex-buttons,
#grid .hm-available-to-order .inputquantity,
#list .hm-available-to-order .inputquantity,
.owl-carousel .owl-stage .hm-available-to-order .inputquantity {
  display: none;
}
.owl-carousel .owl-stage .tileparent.hm-product {
  height: 100%;
}
#grid .tileparent.hm-product.tileparent_placeholder {
  display: none;
}
.owl-carousel .owl-stage .tileparent.hm-product,
.owl-stage .tileparent.hm-product .tile {
  width: 350px;
}
.owl-carousel .owl-stage {
  padding-block: 0 25px;
}
#grid .hm-product .tile,
.owl-carousel .owl-stage .tileparent.hm-product .tile {
  background-color: hsl(var(--cbs-white));
  max-width: 100%;
  border: 1px solid hsl(var(--cbs-border-color)) !important;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
#grid .hm-product[data-configurableproduct="true"] .tile,
.owl-carousel .owl-stage .tileparent.hm-product[data-configurableproduct="true"] .tile {
  height: auto;
  height: 100%;
}
#grid .hm-product .tile:hover,
.owl-carousel .owl-stage .tileparent.hm-product .tile:hover {
  border-color: hsla(var(--cbs-blue) / 25%);
  box-shadow: var(--cbs-box-shadow);
}
/* ---- image ---- */
#grid .hm-product .tile > a,
.owl-carousel .owl-stage .tileparent.hm-product .tile > a {
  background: linear-gradient(160deg, hsla(var(--cbs-blue) / 5%) 0%, hsla(var(--cbs-white) / 0%) 62%);
  padding-top: 20px;
}
#grid .hm-product img,
.owl-carousel .owl-stage .tileparent.hm-product img {
  padding-bottom: 20px;
  mix-blend-mode: multiply;
}
/* ---- actions ---- */
#grid .hm-product .product-list-actions,
.owl-carousel .owl-stage .tileparent.hm-product .product-list-actions,
#list .hm-product .product-list-actions {
  position: static;
  margin: 0;
  display: block;
}
#grid .hm-product .showlistlighbox,
.owl-carousel .owl-stage .tileparent.hm-product .showlistlighbox,
#list .hm-product .showlistlighbox {
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
#grid .hm-product .tile:hover .showlistlighbox,
.owl-carousel .owl-stage .tileparent.hm-product .tile:hover .showlistlighbox,
#list .hm-product:hover .showlistlighbox,
#list .hm-product .showlistlighbox:focus-visible {
  opacity: 1;
}
#grid .hm-product .showquickview,
.owl-carousel .owl-stage .tileparent.hm-product .showquickview,
#list .hm-product .showquickview {
  width: 100%;
  height: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding-block: 10px;
  box-shadow: none;
  border-top: 1px solid hsl(var(--cbs-border-color));
  transition: 0.35s ease;
}
#grid .hm-product .showquickview:hover,
.owl-carousel .owl-stage .tileparent.hm-product .showquickview:hover,
#list .hm-product .showquickview:hover {
  background-color: hsla(var(--cbs-blue) / 4%);
}
#grid .hm-product .showquickview .quickview-icon,
.owl-carousel .owl-stage .tileparent.hm-product .showquickview .quickview-icon,
#list .hm-product .showquickview .quickview-icon {
  position: static;
  margin: 0;
  mix-blend-mode: multiply;
}
#grid .hm-product .showquickview span,
.owl-carousel .owl-stage .tileparent.hm-product .showquickview span,
#list .hm-product .showquickview span {
  color: #16181c;
  font-size: 14px;
  font-weight: 600;
  position: static;
}
#grid .hm-product .showquickview .fa-spinner,
.owl-carousel .owl-stage .tileparent.hm-product .showquickview .fa-spinner,
#list .hm-product .showquickview .fa-spinner {
  position: static;
  padding-block: 3px;
}
/* ---- brand ---- */
#grid .hm-product .brand-label,
.owl-carousel .owl-stage .tileparent.hm-product .brand-label {
  display: flex;
  justify-content: space-between;
  /*! line-height: 75px; */
  /*! flex-grow: 1; */
  align-items: center;
}
/* ---- manufacturer ref ---- */
#grid .hm-product .manufacturer-ref,
.owl-carousel .owl-stage .tileparent.hm-product .manufacturer-ref,
#list .hm-product .manufacturer-ref {
  color: hsl(var(--cbs-text-muted));
  font-weight: 400;
}
/* ---- indicators ---- */
#grid .hm-product .indicators-grid:not(:has(*)),
.owl-carousel .owl-stage .tileparent.hm-product .indicators-grid:not(:has(*)) {
  display: none;
}
/* ---- badges ---- */
#grid .hm-product .badges-wrapper,
.owl-carousel .owl-stage .tileparent.hm-product .badges-wrapper,
#list .hm-product .badges-wrapper {
  left: 5px;
}
#grid .hm-product .ribbon-wrapper .ribbon,
.owl-carousel .owl-stage .tileparent.hm-product .ribbon-wrapper .ribbon,
#list .hm-product .ribbon-wrapper .ribbon {
  border-radius: 10px !important;
  padding: 1px 7px !important;
  font-size: 12px !important;
}
#grid .hm-product .ribbon-wrapper .ribbon:hover,
.owl-carousel .owl-stage .tileparent.hm-product .ribbon-wrapper .ribbon:hover,
#list .hm-product .ribbon-wrapper .ribbon:hover {
  transform: none;
}
/* ---- tile footer ---- */
#grid .hm-product .footer-wrapper,
.owl-carousel .owl-stage .tileparent.hm-product .footer-wrapper {
  border-top: 1px solid hsl(var(--cbs-border-color));
  padding-top: 10px;
  min-height: unset;
}
#grid .hm-product .footer-wrapper,
.owl-carousel .owl-stage .tileparent.hm-product .footer-wrapper,
#grid .hm-product .buttons.group,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group {
  padding-inline: 15px;
  height: auto !important;
}
.owl-carousel .owl-stage .tileparent.hm-product .footer {
  padding: 0;
}
#grid .hm-product .footer,
.owl-carousel .owl-stage .tileparent.hm-product .footer {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.owl-carousel .owl-stage .tileparent.hm-product .footer-wrapper {
  display: flex;
  flex-direction: column;
}
#grid .hm-product .footer-wrapper-description,
.owl-carousel .owl-stage .tileparent.hm-product .footer-wrapper-description {
  display: flex;
  flex-direction: column;
}
.owl-carousel .owl-stage .tileparent.hm-product .footer-wrapper-description {
  flex-grow: 1;
}
#grid .hm-product .hm-footer-bottom,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 15px;
  margin-top: 10px;
  border-top: 1px solid hsl(var(--cbs-border-color));
  font-size: 10px;
  background-color: hsla(var(--cbs-black) / 2%);
  margin-top: auto;
  min-height: 47px;
}
#grid .hm-product .tile:hover .hm-footer-bottom,
.owl-carousel .owl-stage .tileparent.hm-product .tile:hover .hm-footer-bottom {
  background-color: hsla(var(--cbs-blue) / 4%);
}
#grid .hm-product .hm-footer-bottom__left,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom__left {
  flex: 1 1 auto;
  min-width: 0;
}
#grid .hm-product .hm-footer-bottom__right,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
/* ---- title ---- */
#grid .hm-product .product-name a,
.owl-carousel .owl-stage .tileparent.hm-product .product-name a,
#list .hm-product .product-name a,
#productCompare #productCompareModal .product-name a {
  color: hsl(var(--cbs-dark-blue));
  transition: color 0.35s ease;
  font-size: 1rem;
  line-height: 1.4;
}
#grid .hm-product .product-name a:hover,
.owl-carousel .owl-stage .tileparent.hm-product .product-name a:hover,
#list .hm-product .product-name a:hover,
#productCompare #productCompareModal .product-name a:hover {
  color: hsl(var(--cbs-blue));
}
/* ---- sku ----- */
.merchandisingcontent_container .hm-product .product-sku {
    gap: 5px;
}
#grid .hm-product .hm-sku-category,
.owl-carousel .owl-stage .tileparent.hm-product .hm-sku-category {
  display: flex;
  align-items: center;
  gap: 5px;
}
#grid .hm-product .product-sku,
.owl-carousel .owl-stage .tileparent.hm-product .product-sku {
  font-size: 0.85rem;
  color: hsl(var(--cbs-text-muted));
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
}
/* ---- category ---- */
#grid .hm-product .product-category,
.owl-carousel .owl-stage .tileparent.hm-product .product-category,
#list .hm-product .product-category {
  margin-block: 10px 15px;
  height: 100%;
  display: flex;
  align-items: center;
}
#grid .hm-product .product-category strong,
.owl-carousel .owl-stage .tileparent.hm-product .product-category strong,
#list .hm-product .product-category strong {
  display: none;
}
#grid .hm-product .product-category a,
.owl-carousel .owl-stage .tileparent.hm-product .product-category a,
#list .hm-product .product-category a {
  color: hsl(var(--cbs-dark-blue));
  font-weight: 700;
  font-size: 0.85rem;
  background-color: hsla(var(--cbs-blue) / 4%);
  padding: 4px 10px;
  border-radius: 30px;
  border: 1px solid hsla(var(--cbs-blue) / 40%);
  display: inline-block;
  transition:
    color 0.35s ease,
    background-color 0.35s ease;
}
#grid .hm-product .product-category,
.owl-carousel .owl-stage .tileparent.hm-product .product-category,
#list .hm-product .product-category {
  margin: 0;
}
#grid .hm-product .product-category a,
.owl-carousel .owl-stage .tileparent.hm-product .product-category a,
#list .hm-product .product-category a {
  border: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
  text-decoration: underline;
}
#grid .hm-product .product-category a::before,
.owl-carousel .owl-stage .tileparent.hm-product .product-category a::before,
#list .hm-product .product-category a::before {
  content: "·";
  display: inline-block;
  text-decoration: none;
  margin-right: 0.25em;
}
#grid .hm-product .product-category a:hover,
.owl-carousel .owl-stage .tileparent.hm-product .product-category a:hover,
#list .hm-product .product-category a:hover {
  color: hsl(var(--cbs-white));
  background-color: hsla(var(--cbs-blue) / 100%);
}
#grid .hm-product .product-category a:hover,
.owl-carousel .owl-stage .tileparent.hm-product .product-category a:hover,
#list .hm-product .product-category a:hover {
  color: hsl(var(--cbs-dark-blue));
  background-color: transparent;
  text-decoration: none;
}
/* ---- price ---- */
#grid .hm-product .footer-wrapper-price,
.owl-carousel .owl-stage .tileparent.hm-product .footer-wrapper-price {
  border-top: 1px solid hsl(var(--cbs-border-color));
  padding-top: 10px;
  display: flex;
  align-items: first baseline;
  flex-wrap: wrap;
  margin-top: 10px;
}
#grid .hm-product .footer-wrapper-price > *,
.owl-carousel .owl-stage .tileparent.hm-product .footer-wrapper-price > * {
  order: 5;
}
#grid .hm-product .footer-wrapper-price .price-from {
    order: 1;
}
#grid .hm-product .footer-wrapper-price .list-attribute,
.owl-carousel .owl-stage .tileparent.hm-product .footer-wrapper-price .list-attribute {
  width: 100%;
}
#grid .hm-product .footer-wrapper-price .price-header,
.owl-carousel .owl-stage .tileparent.hm-product .footer-wrapper-price .price-header,
#details .product-shopping-actions .price-header {
  width: 100%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-align: left;
}
#grid .hm-product .footer-wrapper-price:has(.uominclude) .price-label,
.owl-carousel .owl-stage .tileparent.hm-product .footer-wrapper-price:has(.uominclude) .price-label,
#details .product-shopping-actions:has(.uominclude) .price-label {
  width: 100%;
}
#grid .hm-product .footer-wrapper-price .has-price,
.owl-carousel .owl-stage .tileparent.hm-product .footer-wrapper-price .has-price,
#grid .hm-product .footer-wrapper-price .price-header,
.owl-carousel .owl-stage .tileparent.hm-product .footer-wrapper-price .price-header {
  color: hsl(var(--cbs-dark-blue));
  order: 1;
  /*! width: 100%; */
}
#grid .hm-product[data-configurableproduct="true"] .price-from,
.owl-carousel .owl-stage .tileparent.hm-product[data-configurableproduct="true"] .price-from {
  width: 100%;
}
#grid .hm-product[data-configurableproduct="true"] .btn,
.owl-carousel .owl-stage .tileparent.hm-product[data-configurableproduct="true"] .btn {
  margin-inline: auto;
}
#grid .hm-product .uom,
.owl-carousel .owl-stage .tileparent.hm-product .uom {
  font-size: 1rem;
  font-weight: 600;
  order: 2;
}
#grid .hm-product .uom:has(.uominclude),
.owl-carousel .owl-stage .tileparent.hm-product .uom:has(.uominclude) {
  /*   flex-grow: 1; */
}
#grid .hm-product .uom .uominclude,
.owl-carousel .owl-stage .tileparent.hm-product .uom .uominclude {
  flex-grow: 1;
  font-size: 0.8rem;
}
#grid .hm-product .uom .uomvalue,
.owl-carousel .owl-stage .tileparent.hm-product .uom .uomvalue {
  color: hsl(var(--cbs-text-muted));
  font-weight: 400;
}
#grid .hm-product .price-label-inc-vat,
.owl-carousel .owl-stage .tileparent.hm-product .price-label-inc-vat,
#list .hm-product .price-label-inc-vat {
  color: hsl(var(--cbs-text-muted));
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 5px;
  order: 3;
}
#grid .hm-product .price-label-inc-vat::before,
.owl-carousel .owl-stage .tileparent.hm-product .price-label-inc-vat::before,
#list .hm-product .price-label-inc-vat::before {
  content: "· ";
}
/* ---- buttons group ----- */
#grid .hm-product .buttons.group,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group,
#list .hm-product .buttons.group {
  display: flex;
  flex-wrap: wrap;
}
#grid .hm-product .buttons.group > *,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group > *,
#list .hm-product .buttons.group > * {
  width: 100%;
}
#grid .hm-product .available-to-order-header,
.owl-carousel .owl-stage .tileparent.hm-product .available-to-order-header,
#details .available-to-order-header,
#list .hm-product .available-to-order-header,
#productCompare #productCompareModal .buttons.group > .available-to-order-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: hsl(var(--cbs-success));
  background: hsla(var(--cbs-success, 93 73% 25%) / 10%);
  border: 1px solid hsla(var(--cbs-success, 93 73% 25%) / 22%);
  border-radius: 20px;
  width: 100%;
  /*! max-width: 400px; */
}
#grid .hm-product .btn-available-to-order,
.owl-carousel .owl-stage .tileparent.hm-product .btn-available-to-order,
#details .btn-available-to-order,
#list .hm-product .btn-available-to-order {
  margin: 0;
}
#grid .hm-product .available-to-order-header svg,
.owl-carousel .owl-stage .tileparent.hm-product .available-to-order-header svg,
#list .hm-product .available-to-order-header svg,
#productCompare #productCompareModal .buttons.group > .available-to-order-header svg {
  width: 16px;
  height: 16px;
}
#grid .hm-product .hm-stock-info:not(:has(*)),
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info:not(:has(*)),
#list .hm-product .hm-stock-info:not(:has(*)),
#productCompare #productCompareModal .hm-stock-info:not(:has(*)) {
  display: none !important;
}
#grid .hm-product .buttons.group .flex-buttons,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group .flex-buttons {
  margin-top: 0;
  width: 81%;
}
#grid .hm-product .buttons.group .inputquantity,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group .inputquantity,
#list .hm-product .buttons.group .inputquantity,
#productCompare #productCompareModal .buttons.group .inputquantity {
  width: 15%;
  margin-bottom: 0;
  margin-right: 3%;
  border-radius: 10px;
  border-color: hsl(var(--cbs-blue));
  transition: box-shadow 0.35s ease;
}
#grid .hm-product .buttons.group .inputquantity:focus,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group .inputquantity:focus,
#list .hm-product .buttons.group .inputquantity:focus,
#productCompare #productCompareModal .buttons.group .inputquantity:focus {
  box-shadow: 0 0 12px hsla(var(--cbs-blue) / 30%);
}
#grid .hm-product .buttons.group .btn,
#grid .hm-product .buttons.group .btn span,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group .btn,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group .btn span,
#grid .hm-product .buttons.group .live-inventory-v2-wrapper .out-stock,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group .live-inventory-v2-wrapper .out-stock,
#list .hm-product .product-shopping-actions .btn,
#list .hm-product .product-shopping-actions .btn span,
#list .hm-product .buttons.group .live-inventory-v2-wrapper .out-stock,
#productCompare #productCompareModal .buttons.group .btn-add-to-cart,
#productCompare #productCompareModal .buttons.group > .btn-available-to-order {
  display: flex;
  justify-content: center;
  align-items: center;
  color: hsl(var(--cbs-white));
  background: hsl(var(--cbs-blue));
  font-weight: 700;
  box-shadow: 0 2px 6px hsla(var(--cbs-blue) / 28%);
  border-radius: 10px !important;
  font-size: 0.9rem;

  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}
#grid .hm-product .buttons.group .btn span,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group .btn span,
#list .hm-product .product-shopping-actions .btn span {
    margin: 0;
}
#grid .hm-product .buttons.group .live-inventory-v2-wrapper .out-stock,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group .live-inventory-v2-wrapper .out-stock,
#list .hm-product .buttons.group .live-inventory-v2-wrapper .out-stock {
  background: hsl(var(--cbs-danger));
  box-shadow: 0 2px 6px hsla(var(--cbs-danger) / 28%);
}
#grid .hm-product .buttons.group .live-inventory-v2-wrapper .out-stock:hover,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group .live-inventory-v2-wrapper .out-stock:hover,
#list .hm-product .buttons.group .live-inventory-v2-wrapper .out-stock:hover {
  background: hsl(var(--cbs-yellow));
  box-shadow: 0 2px 6px hsla(var(--cbs-yellow) / 28%);
}
#grid .hm-product .buttons.group .live-inventory-v2-wrapper .out-stock {
  background: hsl(var(--cbs-danger));
  box-shadow: 0 2px 6px hsla(var(--cbs-danger) / 28%);
}
#grid .hm-product .buttons.group .btn[disabled]:not(:has(i.fa-spinner.fa-spin)),
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group .btn[disabled]:not(:has(i.fa-spinner.fa-spin)),
#list .hm-product .buttons.group .btn[disabled]:not(:has(i.fa-spinner.fa-spin)),
#productCompare #productCompareModal .buttons.group .btn[disabled]:not(:has(i.fa-spinner.fa-spin)) {
  display: none !important;
}
#grid .hm-product .buttons.group .btn:hover,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group .btn:hover,
#list .hm-product .product-shopping-actions .btn:hover,
#productCompare #productCompareModal .buttons.group .btn-add-to-cart:hover,
#productCompare #productCompareModal .buttons.group > .btn-available-to-order:hover {
  background: hsl(var(--cbs-dark-blue));
  box-shadow: 0 6px 16px hsla(var(--cbs-dark-blue) / 30%);
}
#grid .hm-product .buttons.group .live-inventory-v2-wrapper .in-stock,
.owl-carousel .owl-stage .tileparent.hm-product .buttons.group .live-inventory-v2-wrapper .in-stock,
#list .hm-product .buttons.group .live-inventory-v2-wrapper .in-stock {
  display: none;
}
/* ---- branch ---- */

#grid .hm-product .hm-branch,
.owl-carousel .owl-stage .tileparent.hm-product .hm-branch,
#list .hm-product .hm-branch {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

#grid .hm-product .hm-branch > svg,
.owl-carousel .owl-stage .tileparent.hm-product .hm-branch > svg,
#list .hm-product .hm-branch > svg {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  color: #8a8478;
}

#grid .hm-product .hm-branch__label,
.owl-carousel .owl-stage .tileparent.hm-product .hm-branch__label,
#list .hm-product .hm-branch__label {
  display: none;
}

#grid .hm-product .hm-branch__name,
.owl-carousel .owl-stage .tileparent.hm-product .hm-branch__name,
#list .hm-product .hm-branch__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #4e4b44;
  text-decoration: none;
  cursor: pointer;
  font-size: 11px;
}

#grid .hm-product .hm-branch__change,
.owl-carousel .owl-stage .tileparent.hm-product .hm-branch__change {
  flex: 0 0 auto;
  color: #6b655b;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  pointer-events: none;
}

#grid .hm-product .hm-branch:hover .hm-branch__name,
.owl-carousel .owl-stage .tileparent.hm-product .hm-branch:hover .hm-branch__name,
#grid .hm-product .hm-branch:hover .hm-branch__change,
.owl-carousel .owl-stage .tileparent.hm-product .hm-branch:hover .hm-branch__change,
#list .hm-product .hm-branch:hover .hm-branch__name {
  color: #16181c;
  text-decoration: underline;
}

/* ---- quicklist + compare ---- */

#grid .hm-product .hm-footer-bottom .addtoquicklist-wrapper,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .addtoquicklist-wrapper {
  margin: 0;
  padding: 0;
  display: inline-flex;
}
#grid .hm-product .hm-footer-bottom .addtoquicklist-wrapper .tooltip,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .addtoquicklist-wrapper .tooltip {
  display: none !important;
}
#grid .hm-product .hm-footer-bottom .addtoquicklist,
#grid .hm-product .hm-footer-bottom .ql-loginmsg,
#grid .hm-product .hm-footer-bottom .product-compare-action,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .addtoquicklist,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .ql-loginmsg,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .product-compare-action,
#list .hm-product .hm-footer-bottom .addtoquicklist,
#list .hm-product .hm-footer-bottom .ql-loginmsg,
#list .hm-product .hm-footer-bottom .product-compare-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1;
  color: #4e4b44;
  text-decoration: underline;
  white-space: nowrap;
  cursor: pointer;
  border-top: none;
  font-weight: 700;
}
#grid .hm-product .hm-footer-bottom .addtoquicklist:hover,
#grid .hm-product .hm-footer-bottom .ql-loginmsg:hover,
#grid .hm-product .hm-footer-bottom .product-compare-action:hover,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .addtoquicklist:hover,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .ql-loginmsg:hover,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .product-compare-action:hover,
#list .hm-product .hm-footer-bottom .addtoquicklist:hover,
#list .hm-product .hm-footer-bottom .ql-loginmsg:hover,
#list .hm-product .hm-footer-bottom .product-compare-action:hover {
  color: #16181c;
  text-decoration: none;
}

#grid .hm-product .hm-footer-bottom .addtoquicklist .fa-plus,
#grid .hm-product .hm-footer-bottom .ql-loginmsg .fa-plus,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .addtoquicklist .fa-plus,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .ql-loginmsg .fa-plus {
  font-size: 10px;
  color: #8a8478;
}
#grid .hm-product .hm-footer-bottom .addtoquicklist .fa-plus::before,
#grid .hm-product .hm-footer-bottom .ql-loginmsg .fa-plus::before,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .addtoquicklist .fa-plus::before,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .ql-loginmsg .fa-plus::before {
  display: none;
}

#grid .hm-product .hm-footer-bottom .product-compare-action .fa-stack,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .product-compare-action .fa-stack,
#list .hm-product .hm-footer-bottom .product-compare-action .fa-stack {
  width: 12px;
  height: 12px;
  line-height: 15px;
}
#grid .hm-product .hm-footer-bottom .product-compare-action .fa-stack-1x,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .product-compare-action .fa-stack-1x,
#list .hm-product .hm-footer-bottom .product-compare-action .fa-stack-1x {
  font-size: 12px;
  line-height: inherit;
}
#grid .hm-product .hm-footer-bottom .product-compare-action .fa-square-o,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .product-compare-action .fa-square-o,
#list .hm-product .hm-footer-bottom .product-compare-action .fa-square-o {
  color: #b8b2a6;
}
#grid .hm-product .hm-footer-bottom .product-compare-action .fa-check,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .product-compare-action .fa-check {
  color: hsl(var(--cbs-blue-dark));
}

#grid .hm-product .hm-footer-bottom .product-compare-action:focus-visible,
#grid .hm-product .hm-footer-bottom .addtoquicklist:focus-visible,
#grid .hm-product .hm-footer-bottom .ql-loginmsg:focus-visible,
#grid .hm-product .hm-branch__name:focus-visible,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .product-compare-action:focus-visible,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .addtoquicklist:focus-visible,
.owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom .ql-loginmsg:focus-visible,
.owl-carousel .owl-stage .tileparent.hm-product .hm-branch__name:focus-visible,
#list .hm-product .hm-footer-bottom .product-compare-action:focus-visible,
#list .hm-product .hm-footer-bottom .addtoquicklist:focus-visible,
#list .hm-product .hm-footer-bottom .ql-loginmsg:focus-visible,
#list .hm-product .hm-branch__name:focus-visible {
  outline: 2px solid #16181c;
  outline-offset: 2px;
}

/* ---- narrow tiles ---- */

@media (max-width: 480px) {
  #grid .hm-product .hm-footer-bottom,
  .owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom {
    gap: 8px;
  }
  #grid .hm-product .hm-footer-bottom__right,
  .owl-carousel .owl-stage .tileparent.hm-product .hm-footer-bottom__right {
    gap: 12px;
  }
}
/* ---- STOCK ---- */
/* ============================================================
   Stock info – tile layout (#grid, #list, Owl carousels)
   Default branch first, special order last, dividers via 1px gap
   ============================================================ */

#grid .hm-product .hm-stock-info,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info,
#list .hm-product .hm-stock-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  margin: 8px 0;
  border: 1px solid hsl(var(--cbs-border-color));
  border-radius: 6px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
}

#grid .hm-product .hm-stock-info--empty,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info--empty,
#list .hm-product .hm-stock-info--empty,
#productCompare #productCompareModal .hm-stock-info--empty {
  display: none;
}

#grid .hm-product .hm-stock-skeleton,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-skeleton,
#list .hm-product .hm-stock-skeleton,
#productCompare #productCompareModal .hm-stock-skeleton {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  background: hsl(var(--cbs-white));
}

#grid .hm-product .hm-stock-skeleton__title,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-skeleton__title,
#grid .hm-product .hm-stock-skeleton__status,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-skeleton__status,
#list .hm-product .hm-stock-skeleton__title,
#list .hm-product .hm-stock-skeleton__status,
#productCompare #productCompareModal .hm-stock-skeleton__title,
#productCompare #productCompareModal .hm-stock-skeleton__status {
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, hsla(var(--cbs-blue) / 30%) 25%, hsla(var(--cbs-blue) / 40%) 50%, hsla(var(--cbs-blue) / 30%) 75%);
  background-size: 200% 100%;
  animation: hm-stock-loading 1.2s linear infinite;
}

#grid .hm-product .hm-stock-skeleton__title,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-skeleton__title,
#list .hm-product .hm-stock-skeleton__title,
#productCompare #productCompareModal .hm-stock-skeleton__title {
  width: 45%;
}
#grid .hm-product .hm-stock-skeleton__status,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-skeleton__status,
#list .hm-product .hm-stock-skeleton__status,
#productCompare #productCompareModal .hm-stock-skeleton__status {
  width: 35%;
}

@keyframes hm-stock-loading {
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #grid .hm-product .hm-stock-skeleton__title,
  .owl-carousel .owl-stage .tileparent.hm-product .hm-stock-skeleton__title,
  #grid .hm-product .hm-stock-skeleton__status,
  .owl-carousel .owl-stage .tileparent.hm-product .hm-stock-skeleton__status,
  #list .hm-product .hm-stock-skeleton__title,
  #list .hm-product .hm-stock-skeleton__status,
  #productCompare #productCompareModal .hm-stock-skeleton__title,
  #productCompare #productCompareModal .hm-stock-skeleton__status {
    animation: none;
  }
}

/* ---------- Rows ---------- */

#grid .hm-product .hm-stock-info .hm-stock-branch,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-branch,
#list .hm-product .hm-stock-info .hm-stock-branch {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  background: hsl(var(--cbs-white));
}
#grid .hm-product .hm-stock-info .hm-stock-branch + .hm-stock-branch,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-branch + .hm-stock-branch,
#list .hm-product .hm-stock-info .hm-stock-branch + .hm-stock-branch {
  border-bottom: 1px solid hsl(var(--cbs-border-color));
}
#grid .hm-product .hm-stock-info .hm-stock-branch--default,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-branch--default,
#list .hm-product .hm-stock-info .hm-stock-branch--default,
#productCompare #productCompareModal .hm-stock-branch--default {
  order: 0;
  background: hsl(var(--cbs-blue) / 6%);
  box-shadow: inset 3px 0 0 hsl(var(--cbs-blue));
}

#grid .hm-product .hm-stock-info .hm-stock-branch--special,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-branch--special,
#list .hm-product .hm-stock-info .hm-stock-branch--special,
#productCompare #productCompareModal .hm-stock-branch--special {
  order: 2;
  align-items: flex-start;
}

/* Special order: full title, status text allowed to wrap */
#grid .hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-branch__title,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-branch__title,
#list .hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-branch__title {
  flex-shrink: 0;
  overflow: visible;
}

#grid .hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-branch__options,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-branch__options,
#list .hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-branch__options {
  flex-shrink: 1;
  min-width: 0;
}

#grid .hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-option,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-option,
#list .hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-option {
  display: block;
  text-align: right;
}

#grid .hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-option__text,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-option__text,
#list .hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-option__text {
  display: inline;
  white-space: normal;
}

#grid .hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-option__icon,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-option__icon,
#list .hm-product .hm-stock-info .hm-stock-branch--special .hm-stock-option__icon {
  display: inline-block;
  margin-right: 4px;
  vertical-align: -2px; /* sit on the text baseline */
}

/* ---------- Branch name ---------- */

#grid .hm-product .hm-stock-info .hm-stock-branch__title,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-branch__title,
#list .hm-product .hm-stock-info .hm-stock-branch__title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 400;
  color: hsl(var(--cbs-text-muted));
  text-overflow: ellipsis;
  white-space: nowrap;
  border: none;
  line-height: 1.4;
}

#grid .hm-product .hm-stock-info .hm-stock-branch--default .hm-stock-branch__title,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-branch--default .hm-stock-branch__title,
#list .hm-product .hm-stock-info .hm-stock-branch--default .hm-stock-branch__title,
#productCompare #productCompareModal .hm-stock-branch--default .hm-stock-branch__title {
  font-weight: 600;
  color: hsl(var(--cbs-dark-blue));
}

/* ---------- Status ---------- */

#grid .hm-product .hm-stock-info .hm-stock-branch__options,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-branch__options,
#list .hm-product .hm-stock-info .hm-stock-branch__options,
#productCompare #productCompareModal .hm-stock-branch__options {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

#grid .hm-product .hm-stock-info .hm-stock-option,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-option,
#list .hm-product .hm-stock-info .hm-stock-option,
#productCompare #productCompareModal .hm-stock-option {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  cursor: pointer;
}

#grid .hm-product .hm-stock-info .hm-stock-option--in-stock,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-option--in-stock,
#list .hm-product .hm-stock-info .hm-stock-option--in-stock,
#productCompare #productCompareModal .hm-stock-option--in-stock {
  color: hsl(var(--cbs-success));
}

#grid .hm-product .hm-stock-info .hm-stock-option--out-of-stock,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-option--out-of-stock,
#list .hm-product .hm-stock-info .hm-stock-option--out-of-stock,
#productCompare #productCompareModal .hm-stock-option--out-of-stock {
  color: hsl(var(--cbs-danger));
  cursor: default;
}

#grid .hm-product .hm-stock-info .hm-stock-option--special.hm-stock-option--in-stock,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-option--special.hm-stock-option--in-stock,
#list .hm-product .hm-stock-info .hm-stock-option--special.hm-stock-option--in-stock,
#productCompare #productCompareModal .hm-stock-option--special.hm-stock-option--in-stock {
  color: hsl(var(--cbs-dark-blue));
}

#grid .hm-product .hm-stock-info .hm-stock-option--in-stock:hover .hm-stock-option__text,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-option--in-stock:hover .hm-stock-option__text,
#list .hm-product .hm-stock-info .hm-stock-option--in-stock:hover .hm-stock-option__text,
#productCompare #productCompareModal .hm-stock-option--in-stock:hover .hm-stock-option__text {
  text-decoration: underline;
  text-underline-offset: 2px;
}

#grid .hm-product .hm-stock-info .hm-stock-option__text,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-option__text,
#list .hm-product .hm-stock-info .hm-stock-option__text,
#productCompare #productCompareModal .hm-stock-option__text {
  margin: 0;
  white-space: nowrap;
  font-weight: 700;
}

/* ---------- Icon ---------- */

#grid .hm-product .hm-stock-info .hm-stock-option__icon,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-option__icon,
#list .hm-product .hm-stock-info .hm-stock-option__icon,
#productCompare #productCompareModal .hm-stock-option__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

#grid .hm-product .hm-stock-info .hm-stock-option__icon svg,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-option__icon svg,
#list .hm-product .hm-stock-info .hm-stock-option__icon svg,
#productCompare #productCompareModal .hm-stock-option__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor; /* icon follows the status colour */
}

#grid .hm-product .hm-stock-info .hm-stock-option--out-of-stock .hm-stock-option__icon,
.owl-carousel .owl-stage .tileparent.hm-product .hm-stock-info .hm-stock-option--out-of-stock .hm-stock-option__icon,
#list .hm-product .hm-stock-info .hm-stock-option--out-of-stock .hm-stock-option__icon,
#productCompare #productCompareModal .hm-stock-option--out-of-stock .hm-stock-option__icon {
  opacity: 0.6;
}
/* ============================================================
   Quickview (#details) – styled to match .hm-product tiles
   ============================================================ */
#productquickview .modal-body {
  padding: 10px 25px 20px;
}
#productquickview .modal-header {
  padding: 15px 20px;
}
#productquickview .modal-header h3 {
  font-weight: 700;
  color: hsl(var(--cbs-dark-blue));
  font-size: 1.2rem;
  margin: 0;
}
#details > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  margin: 0;
}

/* ---- image ---- */
#details .prod-image {
  position: relative;
  /*! padding: 30px 20px; */
  border: 1px solid hsl(var(--cbs-border-color));
  border-radius: 20px;
  background: linear-gradient(160deg, hsla(var(--cbs-blue) / 5%) 0%, hsla(var(--cbs-white) / 0%) 62%);
  overflow: hidden;
  width: 35%;
  /*! max-height: 400px; */
  display: block;
}
#details .magnify {
  padding: 20px;
  background: transparent;
}
#details .prod-image > .magnify {
  display: flex;
  justify-content: center;
}
#details .prod-image img {
  max-height: 400px;
  mix-blend-mode: darken;
}
#details .badges-wrapper {
  left: 0;
}
#details .ms-view {
  background: transparent;
}
/* ---- details ---- */
#details .productdetails {
  width: 65%;
}
/* ---- summary ---- */

#details .product-summary .margindiv {
  margin-bottom: 6px;
}
#details .brand-label a {
  color: hsl(var(--cbs-text-muted));
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}
#details .brand-label a:hover {
  color: hsl(var(--cbs-blue));
}
#details .product-name h3 {
  margin: 0 0 4px;
  color: hsl(var(--cbs-dark-blue));
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
}

#details .prod-sku {
  padding: 0;
  background: none;
  color: hsl(var(--cbs-text-muted));
  font-size: 0.85rem;
  font-weight: 400;
}

#details .prod-cat-name strong,
#details .manufacturer-ref strong {
  color: hsl(var(--cbs-text-muted));
  font-weight: 400;
}
#details .prod-cat-name strong::after,
#details .manufacturer-ref strong::after {
  content: ":";
}
#details .prod-cat-name a {
  color: hsl(var(--cbs-text-muted));
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
}
#details .prod-cat-name a:hover {
  text-decoration: none;
}

#details .manufacturer-ref {
  color: hsl(var(--cbs-text-muted));
  font-size: 0.85rem;
}

#details .prod-description {
  margin: 0 0 20px;
  padding-top: 15px;
  border-top: 1px solid hsl(var(--cbs-border-color));
  color: hsl(var(--cbs-text-muted));
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- shopping card ---- */
#details .product-shopping-actions {
  float: none;
  padding: 0;
  border: 1px solid hsl(var(--cbs-border-color));
  border-radius: 20px !important;
  background: hsl(var(--cbs-white));
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  /*! width: 162%; */
  /*! margin-left: -59.5%; */
}
#details .product-shopping-actions:hover {
  border-color: hsla(var(--cbs-blue) / 25%);
  box-shadow: var(--cbs-box-shadow);
}
#details .product-shopping-actions .buttons.group {
  padding-inline: 20px;
  margin: 0;
}
#details .product-shopping-actions .buttons.group::after {
  width: 100%;
}
/* ---- price ---- */
#details .prod-price {
  padding-block: 15px;
  border-bottom: 1px solid hsl(var(--cbs-border-color));
}
#details .prod-price .row {
  margin: 0;
}
#details .prod-price .col-sm-12 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 0;
  gap: 5px;
}
#details .prod-price .price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  padding: 0;
}
#details .prod-price .has-price {
  color: hsl(var(--cbs-dark-blue));
  font-size: 1.6rem;
  font-weight: 700;
}
#details .prod-packsize,
#details .price .margindiv {
  display: inline;
  color: hsl(var(--cbs-text-muted));
  font-size: 1rem;
  font-weight: 400;
}
#details .price .margindiv {
  font-size: 0.9rem;
}
#details .price-label-inc-vat {
  margin: 0;
  color: hsl(var(--cbs-text-muted));
  font-size: 0.85rem;
  font-weight: 600;
}
#details .price-label-inc-vat::before {
  content: "·";
}
/* #details .prod-price .margindiv:not(:has(*)) {
  display: none !important;
} */

/* ---- add to cart area ---- */
#details .product-shopping-actions-addtocart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
  padding-top: 15px;
  margin-top: 0 !important;
  justify-content: center;
}
#details .product-shopping-actions-addtocart > br {
  display: none;
}

/* qty + buttons + notes first, full width */
#details .product-shopping-actions-addtocart > span {
  order: -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

/* full-width divider before the footer links */
#details .product-shopping-actions-addtocart::before {
  content: "";
  order: 0;
  flex: 0 0 calc(100% + 40px);
  margin: 15px -20px 0;
  border-top: 1px solid hsl(var(--cbs-border-color));
}
#details .product-shopping-actions-addtocart:has(.available-to-order-header)::before {
  display: none;
}

/* ---- quantity ---- */
#details .qnt-count {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  height: 40px;
  margin: 0;
  border: 1px solid hsl(var(--cbs-border-color));
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.35s ease;
  padding: 0;
}
#details .qnt-count:focus-within {
  box-shadow: 0 0 12px hsla(var(--cbs-blue) / 30%);
}
#details .qnt-count .incr-btn-quick {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  margin: 0;
  color: hsl(var(--cbs-dark-blue));
  font-weight: 700;
  text-decoration: none;
  background: hsla(var(--cbs-blue) / 5%);
}
#details .qnt-count .incr-btn-quick:hover {
  background: hsla(var(--cbs-blue) / 12%);
}
#details .qnt-count .inputquantity {
  width: 44px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  text-align: center;
}

/* ---- buttons ---- */
#details .flex-buttons {
  flex: 1 1 0;
  min-width: 0;
  margin-top: 0;
}
#details .product-shopping-actions .btn {
  border: none;
  border-radius: 10px !important;
  background: hsl(var(--cbs-blue));
  font-weight: 700;
  box-shadow: 0 2px 6px hsla(var(--cbs-blue) / 28%);
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}
#details .product-shopping-actions .btn.btn-available-to-order {
  width: 100%;
  max-width: 400px;
  margin-inline: 0;
}
#details .product-shopping-actions .btn:hover {
  background: hsl(var(--cbs-dark-blue));
  box-shadow: 0 6px 16px hsla(var(--cbs-dark-blue) / 30%);
}

/* inventory links under the buttons */
#details .live-inventory-v2-wrapper,
#productCompare #productCompareModal .live-inventory-v2-wrapper {
  margin-top: 4px;
  font-size: 12px;
}
#details .live-inventory-v2-wrapper:has(> a:empty),
#productCompare #productCompareModal .live-inventory-v2-wrapper:has(> a:empty) {
  display: none;
}
#details .live-inventory-v2-wrapper a,
#productCompare #productCompareModal .live-inventory-v2-wrapper a {
  color: hsl(var(--cbs-text-muted));
}
#details .live-inventory-v2-wrapper a.in-stock,
#productCompare #productCompareModal .live-inventory-v2-wrapper a.in-stock {
  color: hsl(var(--cbs-success));
}
#details .live-inventory-v2-select-branch {
  margin-top: 6px;
}
#details .live-inventory-v2-select-branch a {
  color: hsl(var(--cbs-text-muted));
  text-decoration: underline;
  text-underline-offset: 2px;
}
#details .live-inventory-v2-select-branch a:hover {
  color: #16181c;
  text-decoration: none;
}

/* branch note */
#details .flex-notes {
  width: 100%;
  font-size: 11px;
  color: #4e4b44;
  margin: 0;
}
#details .flex-notes .live-inventory-v2-delivery-preferred-location:empty {
  display: none;
}
#details .switch-branch-trigger {
  color: #4e4b44;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
#details .switch-branch-trigger:hover {
  color: #16181c;
  text-decoration: none;
}

/* ---- footer links: Quicklist · Compare · Quote Me ---- */
#details .product-shopping-actions-addtocart > .addtoquicklist,
#details .product-shopping-actions-addtocart > .ql-loginmsg,
#details .product-shopping-actions-addtocart > .product-compare-action,
#details .product-shopping-actions-addtocart > .quoteme-link {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding-block: 12px 14px;
  border: none;
  color: #4e4b44;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: underline;
  white-space: nowrap;
  cursor: pointer;
}
#details .product-shopping-actions-addtocart > .addtoquicklist:hover,
#details .product-shopping-actions-addtocart > .ql-loginmsg:hover,
#details .product-shopping-actions-addtocart > .product-compare-action:hover,
#details .product-shopping-actions-addtocart > .quoteme-link:hover {
  color: #16181c;
  text-decoration: none;
}
#details .addtoquicklist .fa-plus,
#details .ql-loginmsg .fa-plus,
#details .quoteme-link .fa {
  font-size: 11px;
  color: #8a8478;
}
#details .product-compare-action .fa-stack {
  width: 12px;
  height: 12px;
  line-height: 15px;
}
#details .product-compare-action .fa-stack-1x {
  font-size: 12px;
  line-height: inherit;
}
#details .product-compare-action .fa-square-o {
  color: #b8b2a6;
}
#details .product-compare-action .fa-check {
  color: hsl(var(--cbs-dark-blue));
}
#details .product-shopping-actions-addtocart > *:focus-visible,
#details .switch-branch-trigger:focus-visible {
  outline: 2px solid #16181c;
  outline-offset: 2px;
}
@media (max-width: 800px) {
  #details .product-shopping-actions {
    width: 162%;
    margin-left: -59.5%;
  }
}
/* ---- small screens ---- */
@media (max-width: 500px) {
  #details .prod-image,
  #details .productdetails,
  #details .product-shopping-actions {
    width: 100%;
  }
  #details .productdetails {
    padding-inline: 0;
  }
  #details .prod-description {
    padding-inline: 5px;
  }
  #details .product-shopping-actions {
    margin-inline: 0;
  }
  #details .prod-image img {
    max-height: 200px;
  }
  #details .ms-slide,
  #details .ms-view {
    max-height: 250px;
  }
  #productquickview .modal-body {
    padding-block: 0;
  }
}
@media (max-width: 380px) {
  #details .flex-buttons {
    flex-basis: 100%;
  }
  #details .qnt-count .inputquantity {
    flex-grow: 1;
  }
  #details .product-shopping-actions-addtocart > span {
    justify-content: center;
  }
}

/* --- fix --- */
@media (min-width: 1470px) {
  .page-content .container {
    max-width: 1450px;
    width: 100%;
  }
}
@media (min-width: 1200px) {
  .page-content .container {
    width: 100%;
  }
}
/* === HLEPER REMOVE === 
.product-hide-row.product-hide-row {
  display: block !important;
}*/
#list {
  container-type: inline-size;
  container-name: list;
}
#list .container-fluid {
  padding-inline: 0;
}
/* the template's own "Item SKU" label duplicates the meta line */
#list .hm-product .product-content > .product-sku {
  display: none;
}
/* category inside the meta line: the meta separator replaces the grid's "·" */
#list .hm-product .hm-list-meta .product-category a::before {
  display: none;
}
/* ---- card ---- */
#list .hm-product {
  --hm-list-pad: 22px; /* one padding value for all three columns */
  margin: 0 0 15px;
  padding: 0;
  background-color: hsl(var(--cbs-white));
  border: 1px solid hsl(var(--cbs-border-color)) !important;
  border-radius: 20px;
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
#list .hm-product:hover {
  border-color: hsla(var(--cbs-blue) / 25%) !important;
  box-shadow: var(--cbs-box-shadow);
}
#list .hm-product .product-row {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0 !important;
}
/* Bootstrap clearfix pseudo elements would become flex items */
#list .hm-product .product-row::before,
#list .hm-product .product-row::after {
  display: none;
}
#list .hm-product .product-row > [class*="col-"] {
  float: none;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0 !important; /* .imagecontent has an inline margin */
  padding: var(--hm-list-pad) !important;
  box-sizing: border-box;
}
/* image column: the Quick View bar sits flush on the bottom edge */
#list .hm-product .product-row > .imagecontent {
  padding: 0 !important;
}
/* ---- image column ---- */
#list .hm-product .imagecontent {
  position: relative;
  flex: 0 0 230px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, hsla(var(--cbs-blue) / 5%) 0%, hsla(var(--cbs-white) / 0%) 62%);
  border-right: 1px solid hsl(var(--cbs-border-color));
}
#list .hm-product .imgthumbnail {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 160px;
  padding-bottom: 20px;
  border: none;
  background: transparent;
}
#list .hm-product .imgthumbnail .thumb-align {
  display: none;
}
#list .hm-product .imgthumbnail img {
  max-width: 100%;
  max-height: 190px !important;
  width: auto;
  height: auto;
  mix-blend-mode: multiply;
  padding-inline: 20px;
}
/* ---- quick view bar (overrides) ---- */
#list .hm-product .product-list-actions {
  max-width: none;
  margin: 0 !important;
  padding: 0;
}
#list .hm-product .showquickview {
  width: 100% !important;
  margin: 0;
  border-radius: 0;
  background-color: hsl(var(--cbs-white));
  border: none;
  border-top: 1px solid hsl(var(--cbs-border-color));
}
/* ---- content column ---- */
#list .hm-product .product-content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* brand + MNF ref */
#list .hm-product .brand-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  height: auto;
  min-height: 0;
  margin: 0;
  line-height: 1.3;
}
#list .hm-product .brand-label > a {
  display: inline-flex;
  align-items: center;
  color: hsl(var(--cbs-text-muted));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}
#list .hm-product .brand-label > a:hover {
  color: hsl(var(--cbs-blue));
}
#list .hm-product .brand-label img {
  width: auto;
  max-width: 110px;
  max-height: 24px;
  mix-blend-mode: multiply;
}
#list .hm-product .manufacturer-ref {
  margin: 0;
  font-size: 0.85rem;
}
#list .hm-product .brand-label > a + .manufacturer-ref::before {
  content: "·";
  margin-right: 10px;
}
/* title */
#list .hm-product .product-name {
  margin: 0;
}
#list .hm-product .product-name a {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}
/* SKU · pack size · lead time (built by JS) */
#list .hm-product .hm-list-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: 2px;
  color: hsl(var(--cbs-text-muted));
  font-size: 0.85rem;
}
#list .hm-product .hm-list-meta__item {
  display: inline;
  margin: 0;
  padding: 0;
}
#list .hm-product .hm-list-meta__item + .hm-list-meta__item::before {
  content: "·";
  margin-inline: 8px;
}
#list .hm-product .hm-list-meta__item strong {
  color: hsl(var(--cbs-dark-blue));
  font-weight: 600;
}
/* selling points – one line each, full text stays in the li title tooltip */
#list .hm-product .product-points {
  margin: 4px 0 0;
}
#list .hm-product .product-points ul {
  margin: 0;
  padding-left: 2px;
  list-style: disc inside; /* inside, so overflow:hidden on li doesn't clip the marker */
}
#list .hm-product .product-points li {
  overflow: hidden;
  color: #4e4b44;
  font-size: 0.875rem;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#list .hm-product .product-points li::marker {
  color: hsla(var(--cbs-blue) / 60%);
}
/* show the first 4 points only – remove this rule to show all */
#list .hm-product .product-points li:nth-child(n + 5) {
  display: none;
}
#list .hm-product .multiple-uom-label:not(.hide) {
  margin: 0;
  font-size: 0.85rem;
}
#list .hm-product .multiple-uom-label a {
  color: hsl(var(--cbs-blue));
}
/* content footer: indicator chips (built by JS) */
#list .hm-product .hm-list-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 14px;
}
#list .hm-product .hm-list-footer:not(:has(.hm-indicator)) {
  display: none;
}
#list .hm-product .hm-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 !important; /* inline padding-left */
}
#list .hm-product .hm-indicators:not(:has(*)) {
  display: none;
}
#list .hm-product .hm-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  color: #4e4b44;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  background: hsl(var(--cbs-white));
  border: 1px solid hsl(var(--cbs-border-color));
  border-radius: 30px;
}
/* ---- shopping actions column ---- */
#list .hm-product .product-shopping-actions {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  background-color: hsla(var(--cbs-black) / 2%);
  border-left: 1px solid hsl(var(--cbs-border-color));
  transition: background-color 0.35s ease;
}
#list .hm-product:hover .product-shopping-actions {
  background-color: hsla(var(--cbs-blue) / 4%);
}
#list .hm-product .softgraybackground {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: none;
}
#list .hm-product .softgraybackground > .row {
  margin: 0;
}
#list .hm-product .softgraybackground > .row > [class*="col-"] {
  float: none;
  width: 100%;
  padding: 0;
}
#list .hm-product .softgraybackground > .row:has(> .product-shopping-actions-extras:not(:has(*))) {
  display: none;
}
/* price */
#list .hm-product .product-shopping-actions-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
}
#list .hm-product .product-shopping-actions-prices .price-header {
  width: 100%;
  margin: 0 0 2px;
  color: hsl(var(--cbs-dark-blue));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: left;
  text-transform: uppercase;
}
#list .hm-product .product-shopping-actions-prices .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  margin: 0;
  padding: 0;
  color: hsl(var(--cbs-dark-blue));
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}
#list .hm-product .product-shopping-actions-prices .uom {
  color: hsl(var(--cbs-text-muted));
  font-size: 1rem;
  font-weight: 400;
}
#list .hm-product .product-shopping-actions-prices .multiple-uom {
  width: 100%;
}
#list .hm-product .price-label-inc-vat {
  margin: 0;
  order: 0;
}
/* add to cart */
#list .hm-product .product-shopping-actions-addtocart {
  margin-top: 14px;
  padding-top: 0;
  border-top: none;
}
#list .hm-product .buttons.group {
  align-items: flex-start;
  margin: 0;
  padding: 0;
}
#list .hm-product .buttons.group .inputquantity {
  flex: 0 0 48px;
  width: 48px;
  min-width: 0;
  margin: 0 8px 0 0;
  padding-inline: 4px;
  text-align: center;
}
#list .hm-product .buttons.group .flex-buttons {
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
#list .hm-product .buttons.group .flex-buttons .flex {
  display: flex;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
}
#list .hm-product .buttons.group .flex-buttons .flex-50 {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}
#list .hm-product .buttons.group .flex-buttons .btn {
  width: 100%;
  min-width: 0;
  padding-inline: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#list .hm-product .product-shopping-actions .btn {
  border: none;
}
#list .hm-product .live-inventory-v2-select-branch {
  margin-top: 6px;
  font-size: 12px;
}
#list .hm-product .live-inventory-v2-select-branch a {
  color: hsl(var(--cbs-text-muted));
  text-decoration: underline;
  text-underline-offset: 2px;
}
#list .hm-product .live-inventory-v2-select-branch a:hover {
  color: #16181c;
  text-decoration: none;
}
/* available to order */
#list .hm-product .available-to-order-header {
  max-width: none;
  margin: 0 0 10px;
}
#list .hm-product .btn.btn-available-to-order {
  width: 100%;
  padding-block: 9px;
}
#list .hm-product .hm-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 14px;
}
#list .hm-product .hm-footer-bottom .hm-footer-bottom__right {
    display: flex;
    gap: 5px;
}
#list .hm-product .hm-footer-bottom .tooltip {
  display: none !important;
}
#list .hm-product .hm-footer-bottom .addtoquicklist,
#list .hm-product .hm-footer-bottom .ql-loginmsg,
#list .hm-product .hm-footer-bottom .product-compare-action {
  border: none;
}
#list .hm-product .hm-footer-bottom .addtoquicklist .fa-plus,
#list .hm-product .hm-footer-bottom .ql-loginmsg .fa-plus {
  display: none;
}
#list .hm-product .hm-footer-bottom .product-compare-action .fa-check {
  color: hsl(var(--cbs-dark-blue));
}
/* stock info */
#list .hm-product .hm-stock-info {
  margin: 12px 0 0;
}
/* ---- responsive (container queries on #list) ---- */
@container list (max-width: 1000px) {
  #list .hm-product .imagecontent {
    flex-basis: 190px;
  }
  #list .hm-product .product-shopping-actions {
    flex-basis: 300px;
  }
}
/* actions drop below image + content */
@container list (max-width: 780px) {
  #list .hm-product .product-row {
    flex-wrap: wrap;
  }
  #list .hm-product .product-shopping-actions {
    flex: 1 0 100%;
    border-left: none;
    border-top: 1px solid hsl(var(--cbs-border-color));
  }
}
/* fully stacked */
@container list (max-width: 520px) {
  #list .hm-product {
    --hm-list-pad: 16px;
  }
  #list .hm-product .imagecontent {
    flex: 1 0 100%;
    border-right: none;
    border-bottom: 1px solid hsl(var(--cbs-border-color));
  }
  #list .hm-product .imgthumbnail {
    min-height: 0;
  }
  #list .hm-product .imgthumbnail img {
    max-height: 170px !important;
  }
  #list .hm-product .product-content {
    flex-basis: 100%;
  }
}

/* ============================================================
   Compare modal (#productCompareModal) – styled to match .hm-product tiles
   Site-wide (the compare bar is on every page). Uses the tile tokens:
   --cbs-border-color, --cbs-box-shadow, --cbs-text-muted, --cbs-blue, --cbs-dark-blue, ...
   The modal splits each product over 4 rows (image + name / SKU + category / price / buttons);
   one continuous card is drawn per product column down those rows.
   Rules identical to the tiles are merged into the tile groups above (stock rows, buttons,
   Available to Order pill, quantity, product name, availability link); this section only
   holds what is specific to the compare modal or differs from the tiles.
   ============================================================ */

/* ---- dialog ---- */
#productCompare #productCompareModal .modal-dialog {
  width: min(1240px, calc(100% - 30px));
  max-width: none;
  margin: 30px auto;
}
#productCompare #productCompareModal .modal-content {
  overflow: hidden;
  border: 1px solid hsl(var(--cbs-border-color));
  border-radius: 20px;
  box-shadow: var(--cbs-box-shadow);
}

/* ---- header ---- */
#productCompare #productCompareModal .modal-header {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 62px 16px 22px;
  background: linear-gradient(160deg, hsla(var(--cbs-blue) / 5%) 0%, hsla(var(--cbs-white) / 0%) 62%);
  border-bottom: 1px solid hsl(var(--cbs-border-color));
}
#productCompare #productCompareModal .modal-header::before,
#productCompare #productCompareModal .modal-header::after {
  display: none;
}
#productCompare #productCompareModal .modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: hsl(var(--cbs-dark-blue));
}
#productCompare #productCompareModal .modal-title .fa {
  color: hsl(var(--cbs-blue));
}
#productCompare #productCompareModal .modal-header .close {
  display: grid;
  place-items: center;
  float: none;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  top: 25px;
  font-size: 22px;
  line-height: 1;
  color: hsl(var(--cbs-text-muted));
  text-shadow: none;
  background: hsl(var(--cbs-white));
  border: 1px solid hsl(var(--cbs-border-color));
  border-radius: 50%;
  opacity: 1;
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}
#productCompare #productCompareModal .modal-header .close:hover {
  color: hsl(var(--cbs-dark-blue));
  background: hsla(var(--cbs-blue) / 6%);
}

#productCompare #productCompareModal .modal-footer:not(:has(*)) {
  display: none;
}

/* ---- body ---- */
#productCompare #productCompareModal .modal-body {
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding: 20px 22px 26px;
}
#productCompare #productCompareModal .modal-body > br {
  display: none;
}

/* left column: helper text + Clear all */
#productCompare #productCompareModal .modal-body > .row > .col-sm-2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
}
#productCompare #productCompareModal .modal-body > .row > .col-sm-2 .text-muted {
  font-size: 0.9rem;
  line-height: 1.5;
  color: hsl(var(--cbs-text-muted));
}
#productCompare #productCompareModal .clear-all {
  align-self: flex-start;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: hsl(var(--cbs-dark-blue));
  background: hsl(var(--cbs-white));
  border: 1px solid hsla(var(--cbs-blue) / 40%);
  border-radius: 30px;
  box-shadow: none;
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}
#productCompare #productCompareModal .clear-all:hover,
#productCompare #productCompareModal .clear-all:focus-visible {
  color: hsl(var(--cbs-white));
  background: hsl(var(--cbs-blue));
  border-color: hsl(var(--cbs-blue));
}

/* ---- one card per product column, drawn across the 4 rows ---- */
#productCompare #productCompareModal .col-sm-10 > .row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -6px;
}
#productCompare #productCompareModal .col-sm-10 > .row::before,
#productCompare #productCompareModal .col-sm-10 > .row::after {
  display: none;
}
#productCompare #productCompareModal .col-sm-10 > .row > [class*="col-"] {
  position: relative;
  float: none;
  padding: 0 18px; /* 6px gutter + 12px inside the card */
}
#productCompare #productCompareModal .col-sm-10 > .row > [class*="col-"]::before {
  content: "";
  position: absolute;
  inset: 0 6px;
  z-index: 0;
  background: hsl(var(--cbs-white));
  border-inline: 1px solid hsl(var(--cbs-border-color));
  pointer-events: none;
}
#productCompare #productCompareModal .col-sm-10 > .row > [class*="col-"] > :not(.remove-compare) {
  position: relative;
  z-index: 1;
}
/* card top (image + name row) */
#productCompare #productCompareModal .col-sm-10 > .row:first-child > [class*="col-"]::before {
  border-top: 1px solid hsl(var(--cbs-border-color));
  border-radius: 20px 20px 0 0;
}
/* card bottom (buttons row) */
#productCompare #productCompareModal .col-sm-10 > .row:last-child > [class*="col-"] {
  padding-bottom: 14px;
}
#productCompare #productCompareModal .col-sm-10 > .row:last-child > [class*="col-"]::before {
  background: hsla(var(--cbs-black) / 2%);
  border-bottom: 1px solid hsl(var(--cbs-border-color));
  border-radius: 0 0 20px 20px;
}
/* the tile script marks the buttons row as a tile: keep it a plain row here */
#productCompare #productCompareModal .col-sm-10 > .row.tileparent {
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

/* ---- row 1: image + name ---- */
#productCompare #productCompareModal .remove-compare {
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 16px;
  color: hsl(var(--cbs-text-muted));
  background: hsl(var(--cbs-white));
  border: 1px solid hsl(var(--cbs-border-color));
  border-radius: 50%;
  cursor: pointer;
  transition:
    color 0.35s ease,
    border-color 0.35s ease;
}
#productCompare #productCompareModal .remove-compare:hover {
  color: hsl(var(--cbs-danger));
  border-color: hsla(var(--cbs-danger) / 40%);
}
#productCompare #productCompareModal .product-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  margin: 0 -12px 12px;
  padding: 18px;
  background: linear-gradient(160deg, hsla(var(--cbs-blue) / 5%) 0%, hsla(var(--cbs-white) / 0%) 62%);
  border-bottom: 1px solid hsl(var(--cbs-border-color));
  border-radius: 19px 19px 0 0;
}
#productCompare #productCompareModal .product-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
#productCompare #productCompareModal .product-name {
  margin: 0 0 10px;
}
#productCompare #productCompareModal .product-name a {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.95rem;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
#productCompare #productCompareModal .product-name a:hover {
  text-decoration: none;
}
#productCompare #productCompareModal .product-name strong {
  font-weight: 700;
}

/* ---- row 2: indicators, SKU, category ---- */
#productCompare #productCompareModal .product-indicators {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  font-size: 13px;
  color: hsl(var(--cbs-text-muted));
}
#productCompare #productCompareModal .product-itemsku,
#productCompare #productCompareModal .product-category {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 5px;
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: hsl(var(--cbs-text-muted));
}
#productCompare #productCompareModal .product-itemsku .text-muted::after,
#productCompare #productCompareModal .product-category .text-muted::after {
  content: ":";
}
#productCompare #productCompareModal .product-itemsku strong {
  font-weight: 600;
  color: hsl(var(--cbs-text-muted));
}
#productCompare #productCompareModal .product-category a {
  font-weight: 700;
  color: hsl(var(--cbs-dark-blue));
  text-decoration: underline;
}
#productCompare #productCompareModal .product-category a:hover {
  text-decoration: none;
}

/* ---- row 3: price ---- */
#productCompare #productCompareModal .col-sm-10 hr {
  display: none;
}
#productCompare #productCompareModal .product-shopping-actions-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid hsl(var(--cbs-border-color));
}
#productCompare #productCompareModal .product-shopping-actions-prices .price {
  margin: 0;
  padding: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: hsl(var(--cbs-dark-blue));
}
#productCompare #productCompareModal .product-shopping-actions-prices .uom {
  font-size: 0.95rem;
  font-weight: 400;
  color: hsl(var(--cbs-text-muted));
}
#productCompare #productCompareModal .product-shopping-actions-prices .uomblock {
  align-self: center;
  padding: 2px 9px;
  font-size: 0.75rem;
  font-weight: 800;
  color: hsl(var(--cbs-dark-blue));
  background: hsla(var(--cbs-blue) / 10%);
  border-radius: 999px;
}

/* ---- row 4: quantity + Add to Cart / Available to Order ---- */
#productCompare #productCompareModal .buttons.group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 12px 0 0;
}
#productCompare #productCompareModal .buttons.group > * {
  margin: 0;
}
#productCompare #productCompareModal .buttons.group .inputquantity {
  flex: 0 0 52px;
  margin: 0;
  width: 52px;
  height: 40px;
  padding-inline: 4px;
  text-align: center;
  border: 1px solid hsl(var(--cbs-blue));
  box-shadow: none;
}
#productCompare #productCompareModal .live-inventory-v2-add-to-cart-wrapper {
  flex: 1 1 0;
  min-width: 0;
}
#productCompare #productCompareModal .buttons.group .btn-add-to-cart,
#productCompare #productCompareModal .buttons.group > .btn-available-to-order {
  width: 100%;
  height: 40px;
  padding-inline: 10px;
  border: none;
}
#productCompare #productCompareModal .live-inventory-v2-wrapper {
  text-align: left;
}
#productCompare #productCompareModal .live-inventory-v2-wrapper a.in-stock {
  font-weight: 700;
}
#productCompare #productCompareModal .buttons.group > .available-to-order-header {
  margin: 0;
  max-width: none;
}

/* ---- stock rows: shared tile rules above; compact, stacked rows here ---- */
#productCompare #productCompareModal .hm-stock-info {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
  border: 1px solid hsl(var(--cbs-border-color));
  border-radius: 8px;
}
#productCompare #productCompareModal .hm-stock-skeleton {
  padding: 8px 9px;
}
#productCompare #productCompareModal .hm-stock-branch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  order: 1;
  padding: 6px 10px;
  background: hsl(var(--cbs-white));
  border-top: 1px solid hsl(var(--cbs-border-color));
}
#productCompare #productCompareModal .hm-stock-branch--default {
  order: 0;
  background: hsla(var(--cbs-blue) / 6%);
  border-top: 0;
}
#productCompare #productCompareModal .hm-stock-branch--special {
  order: 2;
}
#productCompare #productCompareModal .hm-stock-branch__title {
  flex-shrink: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  color: hsl(var(--cbs-text-muted));
  border: none;
}
#productCompare #productCompareModal .hm-stock-branch__options {
  flex-shrink: 1;
  gap: 8px;
  min-width: 0;
}
#productCompare #productCompareModal .hm-stock-option {
  align-items: flex-start;
  text-align: left;
}
#productCompare #productCompareModal .hm-stock-option__text {
  white-space: normal;
}
#productCompare #productCompareModal .hm-stock-option__icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
}

/* ---- attribute table ---- */
#productCompare #productCompareModal .modal-body > .attribute {
  background: hsl(var(--cbs-white));
  border-inline: 1px solid hsl(var(--cbs-border-color));
  transition: background-color 0.2s ease;
}
/* first table row: top of the table card */
#productCompare #productCompareModal .modal-body > :not(.attribute) + .attribute {
  margin-top: 22px;
  border-top: 1px solid hsl(var(--cbs-border-color));
  border-radius: 20px 20px 0 0;
}
#productCompare #productCompareModal .modal-body > .attribute:last-child {
  border-bottom: 1px solid hsl(var(--cbs-border-color));
  border-radius: 0 0 20px 20px;
}
#productCompare #productCompareModal .modal-body > .attribute + .attribute {
  border-top: 1px solid hsl(var(--cbs-border-color));
}
/* plain rows with dividers instead of fixed stripes (stripes break when empty rows are hidden) */
#productCompare #productCompareModal .modal-body > .attribute.striped {
  background: hsl(var(--cbs-white));
}
#productCompare #productCompareModal .modal-body > .attribute:hover {
  background: hsla(var(--cbs-blue) / 4%);
}
/* rows where no product has a value ("-" everywhere) are hidden */
#productCompare #productCompareModal .modal-body > .attribute:not(:has(.col-sm-10 strong)) {
  display: none;
}
#productCompare #productCompareModal .attribute > .row {
  display: flex;
  align-items: stretch;
  margin: 0;
}
#productCompare #productCompareModal .attribute > .row::before,
#productCompare #productCompareModal .attribute > .row::after {
  display: none;
}
#productCompare #productCompareModal .attribute > .row > .col-sm-2 {
  display: flex;
  align-items: center;
  float: none;
  padding: 10px 14px 10px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: hsl(var(--cbs-dark-blue));
}
#productCompare #productCompareModal .attribute > .row > .col-sm-10 {
  float: none;
  padding-inline: 15px;
}
#productCompare #productCompareModal .attribute .col-sm-10 > .row > [class*="col-"] {
  padding-block: 10px;
  font-size: 0.9rem;
  color: hsl(var(--cbs-dark-blue));
}
#productCompare #productCompareModal .attribute .col-sm-10 > .row > [class*="col-"]::before {
  content: none; /* no card background inside the table */
}
#productCompare #productCompareModal .attribute .col-sm-10 strong {
  font-weight: 600;
}
#productCompare #productCompareModal .attribute .col-sm-10 span {
  color: hsla(var(--cbs-text-muted) / 60%);
}
#productCompare #productCompareModal .attribute .visible-xs.text-muted {
  margin-bottom: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--cbs-text-muted));
}

/* ---- phones ---- */
@media (max-width: 767px) {
  #productCompare #productCompareModal .modal-dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  #productCompare #productCompareModal .modal-body {
    padding: 14px 12px 18px;
  }
  #productCompare #productCompareModal .modal-body > .row > .col-sm-2 {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }
  #productCompare #productCompareModal .product-thumbnail {
    height: 120px;
  }
  #productCompare #productCompareModal .attribute > .row > .col-sm-10 {
    width: 100%;
    padding-inline: 6px;
  }
  #productCompare #productCompareModal .attribute .col-sm-10 > .row > [class*="col-"] {
    padding-inline: 12px;
  }
  /* narrow cards: smaller quantity box and button text so "Add to Cart" fits */
  #productCompare #productCompareModal .buttons.group .inputquantity {
    flex-basis: 42px;
    width: 42px;
  }
  #productCompare #productCompareModal .buttons.group .btn-add-to-cart,
  #productCompare #productCompareModal .buttons.group > .btn-available-to-order {
    padding-inline: 6px;
    font-size: 0.8rem;
  }
}
/* ===== end test ===== */
.ex-u-2671095 .product-hide-row {
  display: block!important;
}
/* ==========================================================================
   Catalogue header + intro block (generic)
   Applies to every category grid (#productsgrid_xxxxxx).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Category header + intro copy
   -------------------------------------------------------------------------- */
.productsgrid_container .catalog-name{
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 14px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  color: hsl(var(--cbs-dark-blue));
  letter-spacing: -0.01em;
}

.productsgrid_container .catalog-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 68px;
  height: 4px;
  border-radius: 4px;
  background: hsl(var(--cbs-yellow));
}

.productsgrid_container .catalog-content {
  max-width: 900px;
  margin: 0 0 6px;
}

.productsgrid_container .catalog-content p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: hsl(var(--cbs-black) / 88%);
}

.productsgrid_container .catalog-content a {
  color: hsl(var(--cbs-blue));
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.productsgrid_container .catalog-content a:hover,
.productsgrid_container  .catalog-content a:focus {
  color: hsl(var(--cbs-dark-blue));
  border-bottom-color: currentColor;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   2. Intro block (copy column + callout)
   -------------------------------------------------------------------------- */
.productsgrid_container .catalog-content:has(.hm-cat-intro) {
  max-width: none;
}

.productsgrid_container .hm-cat-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin: 4px 0 0;
}

/* no callout → copy takes the full width */
.productsgrid_container .hm-cat-intro:not(:has(> .hm-cat-intro__cta)) {
  grid-template-columns: minmax(0, 1fr);
}

.productsgrid_container .hm-cat-intro .hm-cat-intro__lead {
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(var(--cbs-black) / 88%);
}

.productsgrid_container .hm-cat-intro p {
  margin: 0 0 12px;
}

/* chips */
.productsgrid_container .hm-cat-intro p.hm-cat-intro__chips-label {
  margin: 18px 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--cbs-black) / 52%);
}

.productsgrid_container .hm-cat-intro .hm-cat-intro__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.productsgrid_container .hm-cat-intro .hm-cat-intro__chips a.hm-cat-intro__chip {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: hsl(var(--cbs-dark-blue));
  background: hsl(var(--cbs-blue) / 6%);
  border: 1px solid hsl(var(--cbs-dark-blue) / 12%);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.productsgrid_container .hm-cat-intro .hm-cat-intro__chips a.hm-cat-intro__chip:hover,
.productsgrid_container .hm-cat-intro .hm-cat-intro__chips a.hm-cat-intro__chip:focus {
  color: hsl(var(--cbs-white));
  background: hsl(var(--cbs-blue));
  border-color: hsl(var(--cbs-blue));
  text-decoration: none;
}

/* callout */
.productsgrid_container .hm-cat-intro .hm-cat-intro__cta {
  padding: 20px 20px 22px;
  color: hsl(var(--cbs-white));
  background: hsl(var(--cbs-blue));
  border-radius: 12px;
}

.productsgrid_container .hm-cat-intro p.hm-cat-intro__cta-title {
  margin: 10px 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: hsl(var(--cbs-white));
}

.productsgrid_container .hm-cat-intro p.hm-cat-intro__cta-text {
  margin: 0 0 16px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: hsl(var(--cbs-white) / 78%);
}

.productsgrid_container .hm-cat-intro a.hm-cat-intro__cta-btn {
  display: block;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: hsl(var(--cbs-dark-blue));
  background: hsl(var(--cbs-yellow));
  border: 0;
  border-radius: 8px;
  transition: background 0.15s, transform 0.08s;
}

.productsgrid_container .hm-cat-intro a.hm-cat-intro__cta-btn:hover,
.productsgrid_container .hm-cat-intro a.hm-cat-intro__cta-btn:focus {
  color: hsl(var(--cbs-dark-blue));
  background: hsl(var(--cbs-white));
  text-decoration: none;
}

.productsgrid_container .hm-cat-intro a.hm-cat-intro__cta-btn:active {
  transform: translateY(1px);
}

.productsgrid_container .hm-cat-intro .hm-cat-intro__cta-address {
  display: block;
  margin-top: 10px;
  font-size: 0.76rem;
  text-align: center;
  color: hsl(var(--cbs-white) / 62%);
  word-break: break-word;
}
/* --------------------------------------------------------------------------
   3. Toolbar (items found / pagination / sort)
   -------------------------------------------------------------------------- */
.productsgrid_container .gridtools {
  padding: 0;
}
.productsgrid_container .gridtools .listtoolstop {
  align-items: center;
  margin: 22px 0 10px;
  padding: 10px 14px;
  background: hsl(var(--cbs-blue) / 4%);
  border: 1px solid hsl(var(--cbs-border-color));
  border-radius: 10px;
}

.productsgrid_container .gridtools .listtoolstop .itemsfound {
  font-size: 0.9rem;
  color: hsl(var(--cbs-dark-blue));
}

.productsgrid_container .gridtools .listtoolstop .itemsfound b {
  font-weight: 800;
  color: hsl(var(--cbs-dark-blue));
}

.productsgrid_container .gridtools .sortby span {
  font-size: 0.85rem;
  color: hsl(var(--cbs-dark-blue));
}

.productsgrid_container .gridtools .sortby select.productorderby {
  height: 34px;
  padding: 4px 10px;
  font-size: 0.85rem;
  color: hsl(var(--cbs-dark-blue));
  background: hsl(var(--cbs-white));
  border: 1px solid hsl(var(--cbs-border-color));
  border-radius: 8px;
  box-shadow: none;
}
.productsgrid_container .gridtools .pagination li {
  background: hsl(var(--cbs-white));
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   4. Small screens
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .productsgrid_container .catalog-name {
    font-size: 1.6rem;
  }
  .productsgrid_container .hm-cat-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .productsgrid_container .hm-cat-intro .hm-cat-intro__cta {
    padding: 16px 16px 18px;
  }
}
/* ============================================================
   TEMPORARY PATCH: stock block on product pages that still use the OLD layout
   5-stock-info adds .hm-stock-info--actions to every product page, but its styles live in the
   new PDP stylesheet (scoped to .details__addtocart). This styles it everywhere else.
   Remove once every product page uses the new layout.
   ============================================================ */
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 10px 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  background: hsl(var(--cbs-white, 0 0% 100%));
  border: 1px solid hsl(var(--cbs-border-color, 42 28% 91%));
  border-radius: 8px;
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions):not(:has(*)),
.hm-stock-info--actions.hm-stock-info--empty:not(.details__addtocart .hm-stock-info--actions) {
  display: none;
}

/* rows: branch name above its lines (fits the narrow old buy box) */
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-branch {
  display: flex;
  flex-direction: column;
  gap: 3px;
  order: 1;
  padding: 7px 10px;
  border-top: 1px solid hsl(var(--cbs-border-color, 42 28% 91%));
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-branch--default {
  order: 0;
  background: hsla(var(--cbs-blue, 207 72% 44%) / 6%);
  border-top: 0;
  box-shadow: inset 3px 0 0 hsl(var(--cbs-blue, 207 72% 44%));
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-branch--special {
  order: 2;
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-branch__title {
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: hsl(var(--cbs-text-muted, 37 8% 39%));
  border: none;
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-branch--default .hm-stock-branch__title {
  font-weight: 700;
  color: hsl(var(--cbs-dark-blue, 210 100% 20%));
}

/* availability lines */
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-branch__options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-option {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-weight: 700;
  cursor: pointer;
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-option--in-stock {
  color: hsl(var(--cbs-success, 142 60% 30%));
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-option--out-of-stock {
  color: hsl(var(--cbs-danger, 4 62% 36%));
  cursor: default;
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-option--special.hm-stock-option--in-stock {
  color: hsl(var(--cbs-dark-blue, 210 100% 20%));
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-option--in-stock:hover .hm-stock-option__text {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-option__text {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

/* the fix for the giant icons: give the inline SVGs a size */
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-option__icon {
  display: inline-flex;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 1px;
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-option__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
}
.hm-stock-info--actions:not(.details__addtocart .hm-stock-info--actions) .hm-stock-option--out-of-stock .hm-stock-option__icon {
  opacity: 0.6;
}