:root {
  --evo-brand-secondary: #154295;
  --evo-brand-accent: #d30614;
  --evo-header-background: #fff;
--evo-row-spacing: 20px;
}
/* Make web page not wider than 1224px*/
@media (min-width: 1470px) {
  .container {
    width: 1224px;
  }
}
/* End */
.logo img {
  max-height: 90px !important;
}
.headersection-search {
  padding: 5px 0;
}
header .shoppingtools_container a.account-btn.btn-outlined-invert > i.user-icon::before,
.header-links .theme-icon {
  font-size: 1.7rem;
}
header .shoppingtools_container a.account-btn.btn-outlined-invert {
  gap: 7px;
}
header .shoppingtools_container a.account-btn.btn-outlined-invert > span {
  font-size: 1rem
}
.header-links .head-branch a,
header .shoppingtools_container .toggle-vat-incl-wrapper,
header .minicart_container .cart-btn > a.btn{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: max-content;
}
.header-links .theme-icon {
  height: 1.7rem;
}
.shopping-tools-wrapper.st-vat-toggle a.toggle-vat-incl-wrapper > span {
  order: 2;
  margin: 0;
  font-size: 1rem;
}
header .shoppingtools_container .toggle-vat-incl-wrapper {
  justify-content: flex-end;
  gap: 7px;
}
header .minicart_container .cart-btn > a.btn {
  background: transparent!important;
  color: #fff!important;
  border: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  column-gap: 2px;
}
header .minicart_container .cart-btn > a.btn .minicart_total,
.toolbar .cart-btn > .btn span.minicart_count{
  line-height: 1.2;
}
header .minicart_container .cart-btn > a.btn > i::before {
  content: "";
  font-size: 1.5rem;
}
header .minicart_container .cart-btn > a.btn > i {
  margin: 0;
  width: 100%;
  text-align: center;
}
header .toolbar .cart-btn > .btn span.minicart_count {
  position: relative;
  top: inherit;
  right: inherit;
  color: #fff;
  padding: 0;
  background: none;
  font-size: 1rem;
  font-weight: 400;
  order: 1;
  display: inline-block;
  margin-left: 3px;
  height: revert;
}
.minicart_container {
  padding-left: 0;
}
.toolbar .cart-btn > .btn span.minicart_count::before {
  content: "(";
}
.toolbar .cart-btn > .btn span.minicart_count::after {
  content: ")";
}
.header-switch > .container {
  display: flex;
}
.header-switch .current-branch-banner {
  flex-grow: 1;
}
.open-account {
  color: #164295 !important;
  display: block;
  line-height: 1.5;
  margin: 2px 0;
}
.open-account,
.current-branch-banner a
{
  font-size: 1rem;
}
.open-account:hover,
.open-account:focus {
  color: #d50314;
}
.header-switch .current-branch-banner a {
  display: inline-block;
  color: #164295;
}
.header-switch .current-branch-banner a:hover,
.header-switch .current-branch-banner a:focus {
  color: #fff;
}

.header-switch .current-branch-banner a span:first-of-type::after {
  content: ".";
}
.header-switch .switch-branch-here {
  color: var(--evo-link-color);
  margin-left: 3px;
}
.header-switch .current-branch-banner a:hover .switch-branch-here,
.header-switch .current-branch-banner a:focus .switch-branch-here {
  color: var(--evo-brand-hover-bglight);
}
@media only screen and (max-width: 500px){
  .header-switch > .container {
  flex-direction: column;
  gap: 0.5em;
}
}
.lastviewedproducts_container .product div.product-sku .product-sku-label, .lastviewedproducts_container .tile div.product-sku .product-sku-label, .merchandisingcontent_container .product div.product-sku .product-sku-label, .merchandisingcontent_container .tile div.product-sku .product-sku-label, .productsgrid_container .product div.product-sku .product-sku-label, .productsgrid_container .tile div.product-sku .product-sku-label, .productsrelated_container .product div.product-sku .product-sku-label, .productsrelated_container .tile div.product-sku .product-sku-label, .widget-contract-items-html .product div.product-sku .product-sku-label, .widget-contract-items-html .tile div.product-sku .product-sku-label, .widget-lastviewedproducts-html .product div.product-sku .product-sku-label, .widget-lastviewedproducts-html .tile div.product-sku .product-sku-label {
    background-color: white !important;
    display: inline-block;
    padding: 5px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.catalog-single.has-carousel.has-itemsperpage .tile {
    margin:0px;
    max-width: 90%;
    width: 100%;
    background: white! important;
    padding: 20px;
}
/* Footer Subscription Form */

.subscr-form input.form-control {
    border-radius: 30px;
  padding-left: 25px;
}
.subscr-form input.form-control::placeholder,
.subscr-form input.form-control::-webkit-input-placeholder,
.subscr-form input.form-control::-moz-placeholder{
  color: #404040!important;
}
.subscr-form input.form-control:focus::placeholder,
.subscr-form input.form-control:focus::-webkit-input-placeholder,
.subscr-form input.form-control:focus::-moz-placeholder{
  color: #aaa!important;
}
.subscr-form button.subscr-next {
  background-color: #e71d2a;
  height: 46px;
  top: 0;
  right: 0;
  width: 60px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 10px;
}
.subscr-form .icon-arrow-right::before {
  content: "";
  background-image:url("https://eu.evocdn.io/dealer/1930/content/media/My_Theme/assets/icon/paper-plane-icon.png");
  background-size: contain;
  width: 20px;
  height: 20px;
  display: block;
}
footer .newsletters_container {
  padding: 2.5em;
  background-color: #0002;
}
/* End */
/* ===== MH styling switch branch modal ===== */
#switchBranchModal .modal-header h2 {
  text-align: center;
  font-weight: 500;
}
#switchBranchModal .modal-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 10px;
}

#switchBranchModal .modal-body .alert.alert-warning {
  grid-column: span 3;
}

#switchBranchModal .modal-body .pull-right {
  position: absolute;
  top: 100px;
  right: 10px;
}

#switchBranchModal .modal-body .pull-right i {
  margin: 0;
  font-size: 2rem;
}

#switchBranchModal .modal-body .collection-branch-selector.selected {
  border-color: #abdfd1;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
    rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

#switchBranchModal .collection-branch-selector[data-bid="1181"] {
  --branch-url: url("https://eu.evocdn.io/dealer/1930/content/media/My_Theme/assets/image/selhurst-orpington-branch.jpg");
}
#switchBranchModal .collection-branch-selector[data-bid="1182"] {
  --branch-url: url("https://eu.evocdn.io/dealer/1930/content/media/My_Theme/assets/image/selhurst-croydon-branch.jpg");
}
#switchBranchModal .collection-branch-selector[data-bid="1183"] {
  --branch-url: url("https://eu.evocdn.io/dealer/1930/content/media/My_Theme/assets/image/selhurst-kenley-branch.jpg");
}
#switchBranchModal .collection-branch-selector[data-bid="1184"] {
  --branch-url: url("https://eu.evocdn.io/dealer/1930/content/media/My_Theme/assets/image/selhurst-biggin hill.jpg");
}
#switchBranchModal .collection-branch-selector[data-bid="1189"] {
  --branch-url: url("https://eu.evocdn.io/dealer/1930/content/media/My_Theme/assets/image/selhurst-plumbing-branch.jpg");
}

#switchBranchModal .modal-body .collection-branch-selector {
  background: var(--branch-url);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-y: bottom;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 300px;
  border-radius: 10px;
  position: relative;
}
#switchBranchModal .modal-body h3 {
  font-size: 1.5rem;
  margin-block: 0.5em;
}
#switchBranchModal .modal-body p {
  font-size: 1rem;
}
@media only screen and (max-width: 991px) {
  #switchBranchModal .modal-body .collection-branch-selector {
    grid-column: span 3;
    height: 150px;
    padding-left: 50%;
    justify-content: center;
  }
}

@media only screen and (max-width: 600px) {
  #switchBranchModal .modal-body .collection-branch-selector {
    background: none;
    padding: 20px;
  }
}
/* ===== End ===== */

/* Changing background color of search box */

header section.search .search-form .form-group input {
    border-color: #d3d3d3;
    border-radius: 5px;
    color: var(--evo-text-col);
    height: 46px;
    background-color: white !important;
}

/* End Changing background color of search box */

/* Center Copyright Info */

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

/* End Center Copyright Info */

/* Account Dashboard Changes */

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

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

/* End Account Dashboard Changes */

/* Form Changes */

.quoterequest {
  background: #fff !important;
  padding: 10px !important;
  border: solid 1px lightgray !important;
}

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

.form-control, .input-group .form-control:last-child {
    border-color: #b7b5b5;
    border-radius: 10px;
}

.quoterequest p {
  padding-bottom: 20px !important;
  text-align: left !important;
}

label {
    display: inline-block;
    font-weight: 400;
    margin-bottom: 12px;
    margin-top: 12px;
}

.catalog-grid h2 {
    font-size: 1.75em;
    color: #164295;
    font-style: normal;
    font-weight: 700;
    padding-top: 20px;
  padding-bottom: 20px !important;
    text-align: left;
}

/* End Form Changes */

/* ===== Promo Grid ===== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0; /* flush tiles together */
}

/* ===== Promo Card ===== */
.promo-card {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: clamp(220px, 31vw, 470px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* ===== Overlay (roll-up) ===== */
:root {
  --strip: 60px; /* height of the visible title strip at rest */
}

.promo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(255, 255, 255, 0.85); /* white translucent */
  color: #333;
  transform: translateY(calc(100% - var(--strip)));
  transition: transform 320ms cubic-bezier(.2, .8, .2, 1);
  z-index: 2;
}

.promo-card:hover .promo-overlay,
.promo-card:focus-within .promo-overlay {
  transform: translateY(0%);
}

/* ===== Overlay Content ===== */
.promo-content {
  padding: 1rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}

/* ===== Title ===== */
.promo-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #654421 /* dark text for contrast */
  line-height: 1.1;
}

/* ===== Button ===== */
.promo-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 2px solid #654421;   /* dark border on white overlay */
  border-radius: 999px;
  background: #654421;
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0;               /* hidden at rest */
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.promo-card:hover .promo-btn,
.promo-card:focus-within .promo-btn {
  opacity: 1;
  transform: translateY(0);
}

.promo-btn:hover,
.promo-btn:focus {
  background: transparent;
  color: #654421;
  border: 2px solid #654421; 
  }


/* ===== Responsive ===== */
@media (max-width: 768px) {
  .promo-grid {
    grid-template-columns: 1fr; /* stack on smaller screens */
  }
}


/* Product page color changes */

.productsummary_container .productdetails .prod-code span {
    background-color: #f2f2f2 !important;
    color: var(--evo-text-col);
    font-weight: 400;
}

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

/* END Product page color changes */

.header-links .location-icon {
    left: -2.4em;
    mask-image: url(/images/icon-location.svg);
    -webkit-mask-image: url(/images/icon-location.svg);
    position: absolute;
    top: 0;
    display: none;
}

/* Full width of page container, edge-to-edge */
.brand-section-wrapper{
  width:100%;
  margin:0 auto;
  padding:28px 0;
  text-align:center;
}

.brand-title{
  font-size:1.75rem;
  margin:0 0 24px;
}

/* Desktop: 6 columns */
.roll-brand-section{
  --gap:20px;
  --logo-h:60px;
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:var(--gap);
}

/* Brand card + hover */
.roll-brand-item{
  border:1px solid #e0e0e0;
  border-radius:12px;
  padding:18px 14px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center; /* keeps logo centered */
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, filter .2s ease;
  filter:grayscale(40%);
  text-decoration:none;
}
.roll-brand-item:hover,
.roll-brand-item:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  border-color:#c7d6c9;
  filter:grayscale(0%);
}

/* Logo sizing */
.roll-brand-item img{
  max-width:100%;
  max-height:var(--logo-h);
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  margin:0 auto; /* makes sure image itself is centered */
}

/* Responsive breakpoints */
@media (max-width: 1200px){
  .roll-brand-section{ grid-template-columns:repeat(5, 1fr); }
}
@media (max-width: 992px){
  .roll-brand-section{ grid-template-columns:repeat(4, 1fr); }
}
@media (max-width: 768px){
  .roll-brand-section{ grid-template-columns:repeat(3, 1fr); }
  .brand-title{ font-size:1.75rem; }
  .roll-brand-section{ --logo-h:56px; }
}


.trustedbrandsrow {
  background-color: #f4f4f4 !important; 
  padding-top: 30px !important; 
  margin-top: 30px !important; 
  padding-bottom: 30px !important; 
}
    
.cookiespolicies-banner .cookiespolicies-header, .cookiespolicies-banner .cookiespolicies-text p {
    color: #ffffff !important;
}

section.search {
    font-size: 1.1rem !important;
    font-weight: 600;
    padding: 0 15px;
    width: 100%;
}

.footer i {
    color: #154295;
}

.headersectionicons {
  background: white !important;
}

/* Adding white background to product page and category page and account pages */

#accordion {
    margin: 0;
    background-color: white;
}

.catalog-grid .container {
    padding: 15px 15px;
}

.categoryfiltermenu_container, .filters_container {
    background-color: #f6f8fb;
    border-radius: 5px;
    padding: 35px 20px;
    border: solid 1px lightgray;
}
.myaccount table {
    color: gray;
    background-color: white;
}

.panel-default {
    border-color: #ddd;
    background-color: white;
}

#erpGridVue .grid-container.no-more-tables.gridcontent table {
    display: block;
    overflow-x: auto;
    background-color: white;
}

.invoice-consolidated-payments {
    background-color: #ffffff;
    border-radius: 4px;
    gap: 16px;
    padding: 10px;
}

.myaccount .nav-title li a {
    border: 1px solid var(--evo-border-color, #eaeaea);
    color: var(--evo-text-col);
    font-weight: 500;
    padding: 10px 16px;
    text-align: center;
    transition: background .35s ease;
    background-color: white;
}

/* End Adding white background to product page and category page */

.homeproducts h3 {
  text-align: center !important:
}

.merchandisingcontent_container h3 {
  border-bottom: 0px solid;
}

.merchandisingcontent_container .item-merchandising .owl-nav>div, .merchandisingcontent_container .lastviewedproducts-content .owl-nav>div, .merchandisingcontent_container .productgridwidget .owl-nav>div, .merchandisingcontent_container .productsrelated .owl-nav>div, .productsrelated_container .item-merchandising .owl-nav>div, .productsrelated_container .lastviewedproducts-content .owl-nav>div, .productsrelated_container .productgridwidget .owl-nav>div, .productsrelated_container .productsrelated .owl-nav>div, .widget-contract-items-html .item-merchandising .owl-nav>div, .widget-contract-items-html .lastviewedproducts-content .owl-nav>div, .widget-contract-items-html .productgridwidget .owl-nav>div, .widget-contract-items-html .productsrelated .owl-nav>div, .widget-lastviewedproducts-html .item-merchandising .owl-nav>div, .widget-lastviewedproducts-html .lastviewedproducts-content .owl-nav>div, .widget-lastviewedproducts-html .productgridwidget .owl-nav>div, .widget-lastviewedproducts-html .productsrelated .owl-nav>div {
    background-color: #154295 !important;
    font-size: 15px;
    left: 0;
    margin: 0;
    padding: 1px 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 25px;
}

.merchandisingcontent_container .item-merchandising .owl-nav>div:before, .merchandisingcontent_container .lastviewedproducts-content .owl-nav>div:before, .merchandisingcontent_container .productgridwidget .owl-nav>div:before, .merchandisingcontent_container .productsrelated .owl-nav>div:before, .productsrelated_container .item-merchandising .owl-nav>div:before, .productsrelated_container .lastviewedproducts-content .owl-nav>div:before, .productsrelated_container .productgridwidget .owl-nav>div:before, .productsrelated_container .productsrelated .owl-nav>div:before, .widget-contract-items-html .item-merchandising .owl-nav>div:before, .widget-contract-items-html .lastviewedproducts-content .owl-nav>div:before, .widget-contract-items-html .productgridwidget .owl-nav>div:before, .widget-contract-items-html .productsrelated .owl-nav>div:before, .widget-lastviewedproducts-html .item-merchandising .owl-nav>div:before, .widget-lastviewedproducts-html .lastviewedproducts-content .owl-nav>div:before, .widget-lastviewedproducts-html .productgridwidget .owl-nav>div:before, .widget-lastviewedproducts-html .productsrelated .owl-nav>div:before {
    color: white !important;
}
  
  .testimonial-box {
    box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, .09);
    height: 100%;
    padding: 25px 15px;
    BACKGROUND: WHITE;
}

header .menu .catalog-block {
    background-color: #164395 !important;
      border-top: white 1px solid !important;
}


.productimage_container .productimagesolo {
    border: 1px solid var(--evo-border-color, #eaeaea);
    border-radius: 5px;
    -o-object-fit: contain;
    object-fit: contain;
    width: 100%;
    background: white;
}

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

.header-switch {
    background: #ffffff !important;
    color: #ffffff !important;
    padding: 5px 0;
  border-bottom: 1px solid white !important;
}

.header-switch .current-branch-banner i {
    color: #164295 !important;
}

.header-switch .current-branch-banner strong {
    color: #164295 !important;
}

.header-switch .switch-branch-here:hover,
.header-switch .switch-branch-here:focus {
  color: #ff3131 !important;
}

/** ECOMMDR-638 **/
.tile .live-inventory-v2-wrapper a.live-inventory-v2-collection, .tile .live-inventory-v2-wrapper a.live-inventory-v2-shipping,
.live-inventory-v2-collection,
.live-inventory-v2-wrapper .in-stock, .live-inventory-v2-wrapper .out-stock, .product-stock .in-stock, .product-stock .out-stock {
  width: auto;
}