:root {
  /*** Global ***/
  --theme-primary: #083576; /* blue */
  --theme-secondary: #083576; /* blue */
  --theme-tertiary: #e5102c; /* red */
  --theme-text: #3a3a3a; /* dark grey */
  --theme-lightgrey: #f2f2f2; /* light grey */

  /* Top Bar */
  --topbar-bg: #083576;
  --topbar-icons: #ffd603;
  --topbar-text: #FFFFFF;
  --topbar-hover: var(--theme-tertiary);
  

  
  /* Main Header */
  --header-bg: #fff;
  --header-icons: var(--theme-primary);
  --header-text: var(--theme-text);
  --header-hover: var(--theme-tertiary);
  
  /* Header Search Bar */
  --search-bg: var(--theme-lightgrey);
  --search-icons: var(--theme-primary);
  --search-text: var(--theme-text);
  --search-focus: var(--theme-primary);
  
  /* Main Navigation */
  --nav-bg: #f2f2f2;
  --nav-border: #dfdfdf;
  --nav-icons: var(--theme-primary);
  --nav-text: var(--theme-text);
  --nav-hover: var(--theme-tertiary);
  
  /* USP Strip */
  --strip-bg: #FFFFFF;
  --strip-icons: var(--theme-primary);
  --strip-text: var(--theme-text);
  --strip-hover: var(--theme-tertiary);
  
  /* Footer */
  --footer-bg: #083576;;
  --footer-icons: var(--theme-primary);
  --footer-text: #ffffff;
  --footer-hover: var(--theme-tertiary);
  
  /* Footer Newsletter Input*/
  --footnews-bg: #fff;
  --footnews-icons: var(--theme-primary);
  --footnews-text: var(--theme-text);
  --footnews-focus: var(--theme-primary);
  
  /* Footer Social Icons */
  --footsocial-bg: var(--theme-primary);
  --footsocial-icons: #fff;
  --footsocial-bg-hover: var(--theme-tertiary);
  --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;
}
 /* Custom Store CSS */
.top-bar ul li strong {
    font-size: 1.5em;
}

.ex-branch-details-widget {
    margin-top: 126px;
}
.menu.expanded .catalog .submenu .submenucontainer > li > a {
    color: #083576;
}

  /* Volume Discount Box - Product Page */

.quantitybreak-productpage {
    background-color: #efefef;
    border: 4px solid #073576;
    border-radius: 2px;
    color: #000;
    margin-top: 10px;
    padding: 15px 8px;
    text-align: center;
}

/*** Current Branch Banner ***/

.current-branch-banner {
    background: #e5102c;
    font-size: 20px;
  font-weight: 600;
    padding: 25px 0;
  }

@media only screen and (max-width: 768px) {
  .current-branch-banner {
    padding: 55px;
  }
}

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

/*** Homepage Trust Pilot Widget */

.trustpilot-widget {
  padding-top: 0px;
  padding-bottom: 30px;
}

/*** Menu Navigation Colour */

.menu .catalog-block {
    background: #073576 !important;
}
.cd-dropdown-trigger.dropdown-is-active {
    background-color: #e4102c !important;
}

.strip-img {
    width: 60px !important;
    height: 60px !important;
}

@media (max-width:768px){
  #productStockModal .modal-body .table td {
    width: 50%; 
  }
}

/*** Hiding for mobile version */

@media only screen and (min-width:769px) {
  .desktop-hide{
    display:none !important;
  }
}
@media (max-width:768px){
  .catalog-content.desktop{
    display:none !important;
  }
}
/* Fixes a custom design issue with the cart button showing cut out in the PDP for live inventory v2 */
.ex-product .catalog-single .product-shopping-actions .product-shopping-actions-addtocart .live-inventory-v2-add-to-cart-wrapper button {
  width: 100%;
}
.ex-product .catalog-single .product-shopping-actions .product-shopping-actions-addtocart .live-inventory-v2-add-to-cart-wrapper {
  max-width: none;
}
  
/* ===== MH delivery/collection customise ===== */
.flex-notes{
  display:none !important;
}
.catalog-grid .tile .footer .footer-wrapper {
  min-height: auto;
}

.product-name {
  min-height: 41px;
}
.tileparent .tile .buttons.group .flex-buttons {
  min-height: 88px;
  margin-bottom: 0 !important;
}

.tileparent .tile .footer-wrapper .footer-wrapper-price {
  margin-top: 0 !important;
}

.addtoquicklist-wrapper {
  order: 4 !important;
}

.buttons.group {
  height: auto !important;
}

.buttons.group,
.footer-wrapper,
.footer-wrapper-description {
  height: auto !important;
}
/*===*/
.cd-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}
.delivery-collection {
  order: 3;
}
.collection-delivery {
  order: 3;
}

.cd-wrapper.available {
  --bg-color-collection: #219653;
}
.cd-wrapper.unavailable {
  --bg-color-collection: #f5333f;
}

.cd-wrapper {
  border: 2px #ccc solid;
  border-radius: 30px;
  position: relative;
  padding: 0px;
  padding-left: 40px;
  margin-bottom: 7px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  background-color: #eee;
}

.cd-wrapper h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  text-wrap: wrap;
  margin: 0;
  text-transform: uppercase;
}
.cd-wrapper.delivery-option.unavailable h3 {
  font-size: 0.75rem;
}
.cd-wrapper p {
  margin: 0;
  text-wrap: wrap;
  line-height: 1.1;
  font-size: 0.65rem;
  text-align: center;
  font-weight: 700;
}

.cd-wrapper::before,
.cd-wrapper::after {
  content: "";
  height: 100%;
  aspect-ratio: 1/1;
  position: absolute;
}

.cd-wrapper::before {
  background-color: var(--bg-color-collection);
  top: 0;
  left: 0;
  border-radius: 30px;
  border-top-right-radius: 0;
}

.cd-wrapper::after {
  background-image: url("https://eu.evocdn.io/dealer/1716/content/media/My_Theme/icons/collection-icon.svg");
  background-repeat: no-repeat;
  background-size: 22px;
  top: 7px;
  left: 7px;
  filter: invert(0.2) brightness(5);
}
.cd-wrapper.delivery-option::after {
  background-image: url("https://eu.evocdn.io/dealer/1716/content/media/My_Theme/icons/delivery-icon.svg");
}

.cd-wrapper.delivery-option {
  background-color: #888;
}

.cd-wrapper.delivery-option h3 {
  color: #fff;
}
.tileparent:has(button.has-modifiers) .delivery-collection {
    margin-top: 15px;
}
.tileparent:has(button.has-modifiers) .collection-delivery {
    margin-top: 15px;
}
.tileparent button.has-modifiers {
    margin-inline: auto;
}
@media only screen and (max-width: 768px) {
.tileparent:has(button.has-modifiers) .delivery-collection{
margin-top: 10px !important;
}
}
/* ===== 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="839"] {
  --branch-url: url(https://eu.evocdn.io/dealer/1716/content/media/My_Theme/assets/bordon-branch-v5.jpg);
}
#switchBranchModal .collection-branch-selector[data-bid="840"] {
  --branch-url: url(https://eu.evocdn.io/dealer/1716/content/media/My_Theme/assets/alton-branch-v1.jpg);
}
#switchBranchModal .collection-branch-selector[data-bid="841"] {
  --branch-url: url(https://eu.evocdn.io/dealer/1716/content/media/My_Theme/assets/haslemere-branch-v1.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;
}

@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 ===== */