/*
 Theme Name:   WE Roberts
 Theme URI:    https://www.engineroom.uk
 Description:  
 Author:       EngineRoom
 Author URI:   https://engineroom.uk
 Template:     bricks
 Version:      1.01
 Text Domain:  bricks
*/   

/* Header */ 

.header-top__icon-box__fave .content {
  margin-top: 2px;
}

.box-finder-container {
    display: flex;
    align-items: center;
    margin: 20px;
    font-size: var(--text-xs);
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px auto;
    > * {
      margin-right: 15px;
    }
}

@media (max-width: 991px) {
  .box-finder-container {
    flex-direction: column;
    gap: 15px;
    margin: 20px auto;
    align-items: center;
  }
  span.size-label {
    font-size: 15px;
    display: none;
  }
}

.box-finder-bar {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}

.box-finder-show {
  height: 80px; /* Set to the height you want when it's shown */
}

@media (max-width: 991px) {
  .box-finder-show {
    height: unset; /* Set to the height you want when it's shown */
  }
}


.box-finder-container .box-finder-dimension-filter-choice .box-finder-dimension-toggle-label {
  font-size:13px !important;
}
  
.size-selector {
    display: flex;
    align-items: center;

    input {
      display: none;
    }
  
    label {
      width: 30px;
      height: 30px;
      display: inline-block;
      margin: 0 5px;
      cursor: pointer;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: 2px solid transparent;
        border-radius: 4px;
      }
    }
  
    input:checked + label img {
      border-color: #7bb741;
    }
}
  
.size-input {
    display: flex;
    align-items: center;
  
    label {
      margin-bottom:0;
      color:var(--secondary);
      font-weight:500;
    }

    span {
      font-size:16px;
      padding:0 15px;
    }

    input {
      width: 80px;
      text-align: center;
      margin: 0 0 0 5px;
      height: 30px;
      border-radius:3px;
      top: 2px;
    }
}
  
.unit-selector, .approx-selector {
    display: flex;
    align-items: center;

    input {
      margin-right: 5px;
    }

    input[type="radio"] {
      display: none;
    }
}
  
.search-button {
    padding: 8px 20px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition:all 0.2s ease-in-out;
    height: 40px;
}

.search-button:hover {
  background-color: var(--primary);
}
  
.note {
    font-size: var(--text-xs);
    color: #666;
}
  
.unit-toggle-wrapper, .approx-toggle-wrapper {
    display: flex;
    position: relative;
    cursor: pointer;
    height: 30px;
    background-color: #e6ede5;
    border-radius: 15px;
    justify-content: space-between;
    margin-bottom: 0;

    &::before {
      content: "";
      position: absolute;
      top: 2px;
      width: 48px;
      height: 26px;
      background-color: #fff;
      border-radius: 13px;
      transition: left 0.3s;
    }

    .toggle-label {
      text-align: center;
      line-height: 30px;
      z-index: 1;
      transition: color 0.3s;
    }
}
  
.unit-toggle-wrapper {
    width: 120px;

    &::before {
      width: 36px;
    }

    .toggle-label {
      width: 40px;
    }

    input#mm:checked ~ &::before {
      left: 2px;
    }

    input#cm:checked ~ &::before {
      left: 42px;
    }

    input#inch:checked ~ &::before {
      left: 82px;
    }

    input#mm:checked ~ & .mm,
    input#cm:checked ~ & .cm,
    input#inch:checked ~ & .inch {
      color: var(--secondary);
    }
}
  
.approx-toggle-wrapper {
    width: 130px;

    &::before {
      width: 62px;
    }

    .toggle-label {
      width: 65px;
    }

    input#minimum:checked ~ &::before {
      left: 2px;
    }

    input#approx:checked ~ &::before {
      left: 50px;
    }

    input#minimum:checked ~ & .minimum,
    input#approx:checked ~ & .approx {
      color: var(--secondary);
    }
}


.input:focus, input:not([type=submit]):focus, select:focus, textarea:focus, button:focus {
	outline:none !important;
}

#basket-close-btn {
  cursor:pointer;
}

/* Mega Menu */
.ubermenu-skin-grey-white {
  background:transparent;
}

.ubermenu-item-level-0 span {
  font-family: 'Inter' !important;
}

.ubermenu.ubermenu-disable-submenu-scroll .ubermenu-item>.ubermenu-submenu.ubermenu-submenu-type-mega {
  padding: 30px;
}

a.ubermenu-target.ubermenu-target-with-image.ubermenu-item-layout-default.ubermenu-item-layout-image_above {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  background: #357c2c;
  height: 80px;
  border-right: 1px solid #508b47;
  padding: 0;
  justify-content: center;
  padding:0 5px;
}

.ubermenu-main .ubermenu-nav .ubermenu-item.ubermenu-item-level-0 > .ubermenu-target.box-finder {
  height: 80px;
  background: #caebc6;
  justify-content: center;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size:15px;
  color:var(--primary);
}

span#box-finder-btn:hover {
  background: linear-gradient(180deg, #E9F0EB 0%, #FFFFFF 100%); 
  color: var(--secondary);
}

a.ubermenu-target.ubermenu-target-with-image.ubermenu-item-layout-default.ubermenu-item-layout-image_above img {
  width: 50px;
  object-fit: contain;
  height: 32px;
}

a.ubermenu-target.ubermenu-target-with-image.ubermenu-item-layout-default.ubermenu-item-layout-image_above:hover {
  /* background: linear-gradient(#E9F0EB, #FFFFFF); */
  background-color:#25660f;
  transition: 0.3s all ease-in-out;
}

/* Target the image and span inside the hovered 'a' element */
a.ubermenu-target.ubermenu-target-with-image.ubermenu-item-layout-default.ubermenu-item-layout-image_above:hover img.ubermenu-image.ubermenu-image-size-full {
  /* filter: invert(1); */
  transition: 0.3s all ease-in-out;  /* Add transition for smooth effect */
}

a.ubermenu-target.ubermenu-target-with-image.ubermenu-item-layout-default.ubermenu-item-layout-image_above:hover span.ubermenu-target-title.ubermenu-target-text {
  transition: 0.3s all ease-in-out;  /* Add transition for smooth effect */
}

a.ubermenu-target.ubermenu-target-with-image.ubermenu-item-layout-default.ubermenu-item-layout-image_above span {
  font-weight: 500;
}

/* Target the column headers in UberMenu */
.ubermenu-item-header .ubermenu-target-title {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 500; /* Adjust weight as needed */
}

.ubermenu-item-header .ubermenu-target-title {
  border: 1px solid #cbd6d6;
  display: block !important;
  text-align: center;
  height: 100%;
  padding: 20px;
  border-radius: 10px;
}

.ubermenu-item-header .ubermenu-target-title img {
  margin: 0 auto 12px;
  height: 80px;
  width: auto;
  display: block;
}

.ubermenu-item-header ul .ubermenu-target-title {
  font-family: 'Inter', sans-serif !important;
  font-size:15px;
  font-weight:400;
}

a#box-finder-btn span::after {
  content: "";
  display: inline-block;
  margin-left: 10px;
  width: 15px;
  height: 15px;
  background-image: url(/wp-content/themes/we-roberts/img/down-chev.svg);
  background-size: contain;
  background-repeat: no-repeat;
  top: 6px;
  position: relative;
}


.btn-grad-bg {
 background: linear-gradient(180deg, #E9F0EB 50%, #FFFFFF 100%) !important; 
  color: #007b00 !important;
}

/* VAT Toggle */

.toggle-switch-vat {
  position: relative;
  display: flex;
  width: 150px;
}

#vat-toggle {
  display: none;
}

.vat-toggle-wrapper {
  display: flex;
  align-items: center;
  background-color: #e6ede6;
  border-radius: 30px;
  padding: 5px;
  width: 150px;
  height: 40px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.toggle-label {
  flex: 1;
  text-align: center;
  color: #4b7747;
  font-size: 13px;
  position: relative;
  z-index: 2;
}

.vat-toggle-wrapper::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 70px;
  height: 30px;
  background-color: #ffffff;
  border-radius: 30px;
  transition: transform 0.3s ease;
  z-index: 1;
}

#vat-toggle:checked + .vat-toggle-wrapper::before {
  transform: translateX(70px);
}

#vat-toggle:checked + .vat-toggle-wrapper .inc-vat {
  color: #4b7747;
}

#vat-toggle:not(:checked) + .vat-toggle-wrapper .exc-vat {
  color: #4b7747;
}

span.vat-label {
  font-size: 13px;
  color: var(--primary);
}



/*Woocommerce Product Gallery */ 

.woocommerce-product-gallery {
  display: flex;
  flex-direction: column;
}

.woocommerce-product-gallery .main-image img {
  width: 100%;
  height: auto;
}

.woocommerce-product-gallery .thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.woocommerce-product-gallery .thumbnails .thumbnail img {
  width: 100px;
  height: auto;
  cursor: pointer;
}






/* Product Display Page  */
span.availability-text {
  color: var(--primary);
}

/* Product Listing Page */
form.cart table.variations tr, form.woocommerce-cart-form table.variations tr {
  border-bottom-style: none !important;
  border-top-style: none !important;
}

table.variations {
  margin: 0 !important;
}

form.cart table.variations td, form.woocommerce-cart-form table.variations td {
  padding: 0 !important;
}





/* Contact Page */
body .gform_wrapper.gravity-theme input[type=text], body .gform_wrapper.gravity-theme input[type=email], body .gform_wrapper.gravity-theme input[type=tel], body .gform_wrapper.gravity-theme .gfield textarea {
	border-radius:5px;
	outline:0 none;
	padding:14px 15px;
	line-height:1.2;
	color:var(--shade);
}

body .gform_wrapper.gravity-theme .gfield textarea.small {
	height:140px;
}

body .gform_wrapper.gravity-theme form {
	margin:0;
}

body .gform_wrapper.gravity-theme .gform_fields {
	grid-row-gap:20px;
}

body .gform_wrapper.gravity-theme input[type=text]::placeholder, body .gform_wrapper.gravity-theme input[type=email]::placeholder, body .gform_wrapper.gravity-theme input[type=tel]::placeholder, body .gform_wrapper.gravity-theme .gfield textarea::placeholder {
	color:#788576;
	color:var(--shade-trans-70);
}

body .gform_wrapper.gravity-theme .gform_footer {
	padding:20px 0 0 0;
	margin:0;
}

body .gform_wrapper.gravity-theme .gform_footer input {
	margin:0;
	border:0 none;
	font-weight:600;
	text-transform:uppercase;
	font-size:15px;
	border-radius:999px;
	background-color:var(--accent);
	color:var(--white);
	padding:15px 30px;
  transition:all 0.2s ease-in-out;
}

body .gform_wrapper.gravity-theme .gform_footer input:hover {
  background-color:var(--primary);
}

.whatsapp-link a, .whatsapp-link a:hover {
	color:var(--white);
}











/* No UI Filter Slider */
.noUi-target {
  background: #e9f0e6;
  border-radius: 10px;
  height: 10px; /* Adjust height as needed */
}

.noUi-origin {
  width: 100% !important;
}

.noUi-connect {
  background: #357c2c !important;
}

.noUi-horizontal {
  height: 8px !important;
}

.noUi-base {
  background: #E9F0EB !important;
  height: 6px !important;
}

.noUi-horizontal .noUi-handle {
  background: white;
  border: 1px solid #347C2C;
  border-radius: 50%;
  width: 14px !important;
  height: 14px !important;
  top: -4px !important; /* Adjust position to center the handles */
}

.noUi-handle.noUi-handle-upper {
  right: -1px !important;
}
.noUi-handle.noUi-handle-lower {
  right: -13px !important;
}



.noUi-horizontal .noUi-handle:before,
.noUi-horizontal .noUi-handle:after {
  display: none;
}

.price-label-container {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: #2F3A2D;
}

.price-label {
  margin: 0;
}






/* Pagination */ 
#pagination {
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-link {
  display: inline-block;
  padding: 5px;
  font-size:15px;
  margin: 0 2px;
  text-decoration: none;
  color: #c8c8c8;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Inter';
  transition: all 0.3s ease-in-out;
}

.page-link.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.page-link.active {
  color: black;
  font-weight: 700;
  opacity: 100%;
}

.page-link.prev-link,
.page-link.next-link {
  font-weight: bold;
  color: black;
}

a.page-link:hover {
  color: black;
}

.page-link.next-link {
  padding-left:10px;
}

.page-link.prev-link {
  padding-right:10px;
}





/* Dimension Toggle */
.toggle-switch-dimension {
  display: flex;
  align-items: center;
  background-color: #edf1eb;
  border-radius: 30px;
  padding: 5px;
  width: 200px; /* Adjusted width to fit all labels */
  position: relative;
  height:40px;
}

.toggle-switch-dimension input[type="radio"] {
  display: none;
}

.dimension-label {
  flex: 1;
  text-align: center;
  color: #4b7747;
  font-size: 13px;
  z-index: 2;
  position: relative;
  cursor: pointer;
  top: 2px;
}

.toggle-slider {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 60px;
  height: 30px;
  background-color: #ffffff;
  border-radius: 30px;
  transition: transform 0.3s ease;
  z-index: 1;
}

/* Updated CSS for unique IDs */
input[id^="dimension-mm"]:checked ~ .toggle-slider {
  transform: translateX(0);
}

input[id^="dimension-cm"]:checked ~ .toggle-slider {
  transform: translateX(65px);
}

input[id^="dimension-inch"]:checked ~ .toggle-slider {
  transform: translateX(130px);
}


.filter-bar-dimension-switch-wrapper .toggle-switch-dimension {
  width: 100%; /* Adjusted width to fit all labels */
}

.filter-bar-dimension-switch-wrapper .toggle-slider {
  width: 93px;
}

/* Updated CSS for unique IDs */
.filter-bar-dimension-switch-wrapper input[id^="dimension-mm"]:checked ~ .toggle-slider {
  transform: translateX(0);
}

.filter-bar-dimension-switch-wrapper input[id^="dimension-cm"]:checked ~ .toggle-slider {
  transform: translateX(88px);
}

.filter-bar-dimension-switch-wrapper input[id^="dimension-inch"]:checked ~ .toggle-slider {
  transform: translateX(175px);
}




/* Product Loading Placeholder */

.loading-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px; 
  background: white;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: var(--radius-m);

}

.loading-spinner {
  border: 4px solid #E9F0EB;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left-color: #347C2C;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}


/* Product Page Dropdown Sorting */ 
#sorting-dropdown {
  width: 230px;
  border-radius: 5px;
  font-size:14px;
  height:40px;
  line-height:1.4;
}

/* Dimsneion Filter */

#dimension-filter-form {
  display: flex;
  gap: 10px;
}

.filter-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.filter-field label {
  font-size: var(--text-xs);
  font-weight: bold;
  color: green;
  margin-bottom: 5px;
  background: white;
  padding: 0px 5px;
  position: absolute;
  top: -7px;
  left: 6px;
}

.filter-field input {
  width: 100%;
  text-align: center;
  font-size: 14px;
  border: 1px solid #CBD6D6;
  border-radius: 3px;
  padding: 5px;
  text-align: center;
  height: 38px;
  padding-top: 7px;
}


.box-svg img {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.box-svg img:hover {
  filter: brightness(0) saturate(100%) invert(21%) sepia(83%) saturate(1276%) hue-rotate(53deg) brightness(89%) contrast(90%);

}

.box-svg.active img {
  filter: brightness(0) saturate(100%) invert(21%) sepia(83%) saturate(1276%) hue-rotate(53deg) brightness(89%) contrast(90%);
}





/* Dimension Loading Animation */
.dimension-loading-animation {
  display: none;
  width: 100%;
  height: 20px;
  background-color: #fafafa;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
}

.dimension-loading-animation::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;

  background: linear-gradient(to right, #fcfcfc 0%, #e0e0e0 50%, #f0f0f0 100%);
  animation: loading-placeholder 1.5s infinite;
}

@keyframes loading-placeholder {
  0% {
      transform: translateX(-100%);
  }
  50% {
      transform: translateX(0%);
  }
  100% {
      transform: translateX(100%);
  }
}








/* Dimension Filter Choice */
.dimension-filter-choice {
  position: relative;
  display: flex;
  width: 100%; /* Adjust the width based on your design */
  background-color: #e6ede6;
  border-radius: 30px;
  padding: 5px;
  height: 40px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.dimension-filter-choice input[type="radio"] {
  display: none;
}

.dimension-filter-choice .dimension-toggle-label {
  flex: 1;
  text-align: center;
  color: #4b7747;
  font-size: 13px;
  z-index: 2;
  position: relative;
  cursor: pointer;
  top: 2px;
}

.dimension-filter-choice .toggle-slider {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 132px; /* Adjust based on the number of options and width */
  height: 30px;
  background-color: #ffffff;
  border-radius: 30px;
  transition: transform 0.3s ease;
  z-index: 1;
}

.dimension-filter-choice input#filter-type-minimum:checked ~ .toggle-slider {
  transform: translateX(0);
}

.dimension-filter-choice input#filter-type-approx:checked ~ .toggle-slider {
  transform: translateX(138px); /* Adjust based on the width of the container */
}

.dimension-filter-choice input#filter-type-minimum:checked + label[for="filter-type-minimum"] {
  color: #4b7747;
}

.dimension-filter-choice input#filter-type-approx:checked + label[for="filter-type-approx"] {
  color: #4b7747;
}


/* Product Listing View */
.view-toggle {
  display: inline-flex;
  border-radius: 5px;
  overflow: hidden;
  border: none;
  height: 43px;
}

.view-toggle input[type="radio"] {
  display: none;
}

.view-toggle-label {
  padding: 17px;
  cursor: pointer;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  margin: 0;
}

.view-toggle-label svg {
  width: 24px;
  height: 24px;
}

.view-toggle-label.grid-label {
  background-color: #E9F0EB;
}

.view-toggle-label.list-label {
  background-color: #E9F0EB;
}

.view-toggle input[type="radio"]:checked + .view-toggle-label {
  background-color: #2c6e39;
  color: white;
}

.view-toggle input[type="radio"]:not(:checked) + .view-toggle-label svg rect {
  fill: #2c6e39;
}

/* Hover effect */
.view-toggle-label:hover {
  background-color: #e0e0e0;
}




/* Wishlist Popup */
.wishlist-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #fff;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.wishlist-popup img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.wishlist-popup-content p {
  margin: 0;
}

.wishlist-popup-content {
  display: flex;
  align-items: center;
}

.wishlist-heart:hover {
  background-color: #ececec !important;
}

.product-view-list .wishlist-heart {
  height: 35px;
  width: 35px;
  cursor: pointer !important;
}

.product-highlight-labels {
    margin-bottom: 5px;
}

.highlight-label {
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    padding: 3px 8px;
    display: inline-block;
    color: #fff;
    margin-right: 5px;
}

.highlight-bestseller {
    background-color: #4B0082; /* Indigo */
}

.highlight-sale {
    background-color: #FF4500; /* OrangeRed */
}

.highlight-clearance {
    background-color: #B22222; /* Firebrick */
}

.spinner {
  animation: spin 1s linear infinite;
  width: 15px;
  height: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.product-item {
  border: 1px solid #cbd6d6;
  border-radius: var(--radius-m);
}


/* Sidecart */ 
#sidecart {
  position: fixed;
  top: 0;
  height: 100%;
  background-color: #fff;
  transition: transform 0.3s ease-in-out;
  transform: translateX(100%);
}

/* Sidecart Product Removal Placeholder */
.removal-spinner .spinner {
  border: 4px solid #E9F0EB;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left-color: #347C2C;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

button.button.remove-from-cart-button {
  padding: 0;
  margin: 0;
  background: none;
  display: block;
  color: var(--primary);
}

.cart-item-quantity {
  font-size: var(--text-s);
  font-weight: 600;
}





/* Dimension Loading Animation */
.product-listing-variation-price-loader {
  display: none;
  width: 100%;
  height: 20px;
  background-color: #fafafa;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
}

.product-listing-variation-price-loader::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;

  background: linear-gradient(to right, #fcfcfc 0%, #e0e0e0 50%, #f0f0f0 100%);
  animation: loading-placeholder 1.5s infinite;
}

@keyframes loading-placeholder {
  0% {
      transform: translateX(-100%);
  }
  50% {
      transform: translateX(0%);
  }
  100% {
      transform: translateX(100%);
  }
}


/* My Account Section */ 

nav.woocommerce-MyAccount-navigation {
  background: white !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  min-width: 18% !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  line-height: unset !important;
}

li.woocommerce-MyAccount-navigation-link {
    border-top: 1px solid #dee0e081;
    border-bottom: 1px solid #dee0e07d;
    padding: 10px 0px;
    font-family: 'Inter';
    font-size: var(--text-m);
    color: #2F3A2D;
}

/* Out of Stock Button */ 

.out-of-stock-btn {
  background: #75b84270 !important;
  cursor: not-allowed !important;
  color: #347d2c !important;
}

.availability-text.out-of-stock {
  color: #FF0000;
}

.availability-text.on-backorder {
  color: orange;
}


/* Product Listing Pricing Quantity Button Group */
.price-tier-buttons {
  display: flex;
  justify-content: space-between;
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  overflow: hidden;
  max-width: 100%;
  /* margin: 20px auto; */
}

.price-tier-button {
  flex: 1;
  padding: 5px;
  text-align: center;
  font-size: var(--text-xs);
  background-color: #f7f7f7;
  border: none;
  border-right: 1px solid #e1e1e1;
  cursor: pointer;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.2;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.price-tier-button:last-child {
  border-right: none;
}

.price-tier-button:hover {
  background-color: #75B843;
  color: #ffffff;
}

.price-tier-button:hover span {
  color: #ffffff;
}

.price-tier-button:hover span.woocommerce-Price-amount.amount bdi {
  color: #ffffff;
}

.price-tier-button:hover span.woocommerce-Price-currencySymbol {
  color: #ffffff;
}

.price-tier-button span {
  display: block;
  font-size: 10px;
  color: #2F3A2D
}

.price-tier-button span.woocommerce-Price-amount.amount bdi {
  display: flex;
  font-family: 'Inter';
  font-size: 12px;
  color: #000000;
  font-weight: 600;
}

.price-tier-button span.woocommerce-Price-currencySymbol {
  font-size: 12px;
  color: #000000;
}

.price-tier-button.active {
  background-color: #75B843;
  color: #ffffff;
}

.price-tier-button.active span {
  color: #ffffff;
}

.price-tier-button.active span.woocommerce-Price-amount.amount bdi {
  color: #ffffff;
}

.price-tier-button.active span.woocommerce-Price-currencySymbol {
  color: #ffffff;
}

.woocommerce-info {
    background-color: #E9F0EB !important;
    color: var(--primary) !important;
}

a.woocommerce-Button.wc-forward.button {
  background: var(--primary)!important;
}

.woocommerce-notices-wrapper .woocommerce-message {
  color: var(--primary) !important;
  background-color: #E9F0EB !important;
}

.woocommerce-MyAccount-content a.button {
  background: var(--primary) !important;
  color: white !important;
  border-radius: 20px;
}

button.woocommerce-Button.button {
  background: var(--primary) !important;
  color: white !important;
  border-radius: 20px;
}



/* Custom Pricing Table */ 
.product-pricing-table {
  width: 100%;
  border-collapse: separate; /* Change to separate to ensure the border displays correctly */
  margin: 20px 0px 0px 0px;
  font-size: 16px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ddd; /* Add this line to create a border around the entire table */
}

.product-pricing-table thead,
.product-pricing-table tbody,
.product-pricing-table tr {
  display: contents; /* Allow the grid to apply directly to the elements inside */
}

.product-pricing-table th,
.product-pricing-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #DEE0E0;
  background-color: #fff;
}

.product-pricing-table th {
  background-color: #E9F0EB;
  font-weight: bold;
  text-align: left;
  display: flex;
  justify-content: left;
  align-items: center;
}

.product-pricing-table th:last-child {
  display:none;
}
  
.product-pricing-table th:nth-child(3) {
  grid-column: 3 / span 2;
  text-align: left;
  justify-content: left;
}

.product-pricing-table th:last-child,
.product-pricing-table td:last-child {
  text-align: center;
}

.product-pricing-table tbody tr td {
  display: flex;
  align-items: center;
}

.product-pricing-table button.price-tier-button {
  height: 38px;
  cursor: pointer;
  background-color: var(--primary-medium);
  font-weight: 600;
  border-radius: 999px;
  color: #fff;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0px;
  padding-top: 0.8em;
  padding-right: 2em;
  padding-bottom: 0.8em;
  padding-left: 2em;
  transition: all 0.2s ease-in-out;
  align-items: center;
  border-width: 0;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
}

.product-pricing-table td.price-per-unit {
  font-weight: 600;
}

.product-pricing-table .price-tier-button:hover {
  background-color: #218838;
}

.product-pricing-table .top-left-corner {
  border-top-left-radius: 8px;
}

.product-pricing-table .product-pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.product-pricing-table .product-pricing-table tbody tr:first-child td:first-child {
  border-top-left-radius: 8px;
}

.product-pricing-table .product-pricing-table tbody tr:first-child td:last-child {
  border-top-right-radius: 8px;
}

.product-pricing-table .product-pricing-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

.product-pricing-table .product-pricing-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}





/* Custom Search Form */

.custom-search-form {
  display: flex;
  height: 40px;
  position: relative;
}

.custom-search-form input {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size:14px;
}

.custom-search-form input::placeholder {
  color: var(--primary);
}


button.search-button-main {
  width: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary);
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

button.search-button-main img {
  width: 20px;
}

.suggestions {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  background: #fff;
  border: none;
  width: 400px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  border-top: 0 !important;
  transform: translateY(40px);
}

.suggestions-mobile {
  width: 100vw;
}

.suggestions li {
    padding: 10px;
    display: flex;
    align-items: center;
}

.suggestions li a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.suggestions li a img {
    border-radius: 3px;
}

.suggestions li a .highlight-item {
  background-color: #4B0082;
  color: #fff;
  font-size: 11px;
  padding: 2px 5px;
  border-radius: 6px;
  margin-right: 4px;
  font-weight: 700;
  transform: translateY(-2px);
  display: inline-block;
  text-transform: uppercase;
}

.suggestions li a .highlight-item.highlight-item--sale {
  background-color: #FF4D00;
}
.suggestions li a .highlight-item.highlight-item--clearance {
  background-color: #C30010;
}

.search-wrapper-mobile input {
  background: #E9F0EB;
  border: none;
}

.search-wrapper-mobile input::placeholder {
  color: #196516;
}

.close-suggestions {
  background-color: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 54px;
  opacity: 0.5;
  display: none;
}

.custom-search-form-mobile .search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

#custom_search_term_mobile {
  width: 100%;
  padding-right: 40px; /* Enough space for the search icon */
}

.custom-search-form-mobile .search-icon-button {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.custom-search-form-mobile .search-icon-button svg {
  width: 20px;
  height: 20px;
}




/* Cart Style */


  .woocommerce-cart-form table {
    border-collapse: separate; /* Ensure borders are shown individually */
  }

  .woocommerce-cart-form table thead th {
      border-bottom: 1px solid #CBD6D6 !important; /* Apply a border to the bottom of the header cells */
      border-top: 1px solid #CBD6D6 !important; /* Apply a border to the bottom of the header cells */
  }

  .woocommerce-cart-form table thead th:first-child {
    border-left: 1px solid #CBD6D6 !important; /* Apply a border to the bottom of the header cells */
    border-top-left-radius: 5px;
  }

  .woocommerce-cart-form table thead th:last-child {
    border-right: 1px solid #CBD6D6 !important; /* Apply a border to the bottom of the header cells */
    border-top-right-radius: 5px;
  }

  tr.woocommerce-cart-form__cart-item.cart_item td:first-child {
    border-left: 1px solid #CBD6D6;
  }

  tr.woocommerce-cart-form__cart-item.cart_item td {
    border-bottom: 1px solid #ced8d8 !important;
    border-radius: 0;
  }

  tr.woocommerce-cart-form__cart-item.cart_item td:last-child {
    border-right: 1px solid #CBD6D6;
  }

  .woocommerce-cart-form tbody tr:nth-last-child(2) td {
    border-bottom: 1px solid #CBD6D6 !important;
    border-radius: 5px;
  }

  td.product-remove {
    padding-right: 40px !important;
  }

  td.actions {
    position: relative;
    top: 16px;
    padding: 2rem 0rem !important;
  }

  input#coupon_code {
    border-color: #CBD6D6;
    border-radius: 5px;
    line-height: 1.5;
    padding: 5px;
  }

  .woocommerce-form-coupon-toggle .showcoupon {
    font-weight: 700 !important;
}

  .woocommerce-form-coupon-toggle .woocommerce-info {
    background: white !important;
  }

  button.button.cart-update-cart-button {
    background: white !important;
    padding: 1rem;
    border-radius: 99px;
    border: 4px solid #CBD6D6 !important;
    font-weight: 600;
    color: var(--primary) !important;
    text-transform: uppercase;
  }

  button.button.cart-apply-coupon-button {
    background: var(--primary) !important;
    padding: 1rem 2rem;
    border-radius: 99px;
    border: 4px solid var(--primary) !important;
    font-weight: 600;
    color: var(--white) !important;
    text-transform: uppercase;
  }

  form.cart .quantity, form.woocommerce-cart-form .quantity {
    display: flex;
    width: 100% !important;
    padding-left: 50px;
    padding-right: 50px;
    min-width: 200px;
  }

  form.cart .quantity .qty, form.woocommerce-cart-form .quantity .qty {
    min-width: 70px !important;
  }

  @media (max-width: 991px) {
    .woocommerce-cart-form .product-quantity .quantity {
        max-width: 100%;
        padding: 0;
        min-width: 130px;
    }
    .woocommerce-cart .woocommerce-cart-form tbody td {
      border-radius: 0 !important;
      padding-left: 5px;
      padding-right: 5px;
    }

    .payment-gateway-icon-wrapper {
      padding-left: 3rem;
      padding-right: 3rem;
    }
  }




  .product-remove a.remove {
    /* Replace the icon with a custom one, using Font Awesome for example */
    font-family: 'FontAwesome';
    content: "\f00d"; /* FontAwesome close icon */
    text-decoration: none; /* Remove underline */
    color: white; /* Icon color */

    /* Style the background */
    background-color: #186616; /* Red background */
    border-radius: 50%; /* Make it circular */
    padding: 10px; /* Add padding around the icon */
    display: inline-block; /* Ensure it's inline-block */
    line-height: 0; /* Ensure the icon is centered */

    /* Add hover effect */
    transition: background-color 0.3s ease;
  }

  .product-remove a.remove:hover {
      background-color: #cc0000; /* Darker red on hover */
  }

  /* Optionally, add a custom SVG or image as the background */
  .product-remove a.remove {
      background-image: url('../wp-content/themes/we-roberts/img/box-test.png');
      background-size: cover;
      background-repeat: no-repeat;
      width: 23px;
      height: 23px;
      text-indent: -5px;
      position: relative;
      padding-top: 10px;
  }

  .woocommerce-cart-form .product-remove a {
    font-size: 21px;
  }

  th.product-remove {
    padding: 0rem 3rem !important;
  }

  tr.woocommerce-cart-form__cart-item.cart_item .product-name {
    color: #196516;
    font-weight: 500;
    font-family: 'Inter';
  }

  th.product-subtotal {
    padding: 0rem 3rem;
  }

  td.product-subtotal {}

  p.product-sku {
    color: #788576;
    font-weight: 400;
  }

  p.product-variation {
    color: #111111;
    font-weight: 400;
    margin: 0;
  }

  td.product-thumbnail img {
      border: 1px solid #CBD6D6;
      border-radius: 5px;
  }

  span.action.minus {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }

  span.action.plus {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  form.cart .quantity, form.woocommerce-cart-form .quantity {
    display: flex;
  }

  .cart_totals table.shop_table.shop_table_responsive {
    background: white;
    border: none;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  
  .cart_totals h2 {
      margin-bottom: 2rem !important;
  }

  a.checkout-button.button.alt.wc-forward {
    background: #75B843;
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 999px;
    color: white;
    font-weight: 600;
  }

  table.shop_table.shop_table_responsive.cart-totals-inner {
    padding: 4rem 3rem 3rem 3rem;
    margin-bottom: 0;
  }

  table.shop_table.shop_table_responsive.cart-totals-inner tr td {
    border-top: 1px solid #CBD6D6;
    border-right: 1px solid #CBD6D6;
    text-align: right;
    padding: 2rem;
    border-top-right-radius: 5px;
  }

  table.shop_table.shop_table_responsive.cart-totals-inner tr th {
      border-top: 1px solid #CBD6D6 !important;
      border-left: 1px solid #CBD6D6;
      padding: 2rem;
      border-top-left-radius: 5px;
  }

  table.shop_table.shop_table_responsive.cart-totals-inner tr:last-child th {
    border-bottom: 1px solid #CBD6D6;
    border-bottom-left-radius: 5px;
  }

  table.shop_table.shop_table_responsive.cart-totals-inner tr:last-child td {
    border-bottom: 1px solid #CBD6D6;
    border-bottom-right-radius: 5px;
  }

  td.cart-total-wrapper {
    display: flex;
    flex-direction: column;
  }

  .payment-gateway-icon-wrapper {
    width: 100%;
    background: white;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  tr.cart-subtotal th {
    color: var(--primary);
  }

  td.cart-total-wrapper span.woocommerce-Price-amount.amount bdi {
    color: var(--primary);
  }

  /*Checkout*/ 


  div#checkout_custom_fields {
    margin-bottom: 50px;
    background: #eaf1ec;
    padding: 20px;
    border-radius: var(--radius-m);
  }

  .woocommerce-form-coupon-toggle .woocommerce-info {
    background: white;
    padding: 0;
  }

  .woocommerce-form-coupon-toggle .woocommerce-info {
    display: block;
    margin-bottom: 20px;
    color: #2F3A2D;
  }

  .coupon-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  a.showcoupon {
    text-decoration: none !important;
    font-weight: 400 !important;
  }

  .coupon-wrapper button {
    background: var(--accent) !important;
    color: white !important;
    border-radius: 999px;
    text-transform: uppercase;
    font-size: var(--text-s);
}

  .brxe-woocommerce-checkout-customer-details h3 {
    margin-bottom: 20px;
  }

  table.shop_table.woocommerce-checkout-review-order-table thead {
    display: none;
  }

  .woocommerce-checkout-review-order-table tr.cart_item td {
    border-bottom: 1px solid #dddedf !important;
  }

  .woocommerce-checkout-review-order-table p.product-variation {
    display: none !important;
  }

  .woocommerce-checkout-review-order-table p.product-sku {
    display: none !important;
  }

  .woocommerce-checkout-review-order-table td.product-total {
    text-align: right;
  }

  .woocommerce-checkout-review-order-table tr.cart-subtotal td, tr.cart-subtotal th {
    border-bottom: 1px solid #dddedf;
  }

  .woocommerce-checkout-review-order-table tr.cart-subtotal td {
    text-align: right;
  }

  .woocommerce-checkout-review-order-table tr.cart-subtotal th {
    color: #2f3a2c;
  }

  .woocommerce-checkout-review-order-table tr.order-total td {
    text-align: right;
    display: flex;
    flex-direction: column;
  }


  .woocommerce-checkout-review-order-table tr.order-total span.woocommerce-Price-amount.amount {
    color: var(--primary) !important;
  }

  .woocommerce-checkout #payment .payment_methods .payment_box {
    background-color: #ffffff !important;
  }

  p.testmode-info {
    margin-bottom: 30px;
  }

  button#place_order {
    margin-top: 20px;
  }

  ul.woocommerce-SavedPaymentMethods.wc-saved-payment-methods {
    list-style: none;
    padding: 0 !important;
  }

  .payment_box.payment_method_stripe {
    padding: 0 !important;
  }

  p.form-row.woocommerce-SavedPaymentMethods-saveNew.woocommerce-validated input {
    position: relative;
    top: 4px;
  }

  p.form-row.woocommerce-SavedPaymentMethods-saveNew.woocommerce-validated label {
    margin-left: 10px;
  }

  a.added_to_cart.wc-forward {
    display: none !important;
}

body ul.woocommerce-shipping-methods li {
  margin-bottom: 2px;
}

body .wc-payment-form {
  margin:0;
}

body ul.woocommerce-shipping-methods input[type=radio] {
  margin-right:6px;
}


/* Cart Popup */
.cart-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #28a745;
  color: white;
  padding: 15px;
  border-radius: 5px;
  z-index: 9999;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}


/* My Account Icons */
.woocommerce-MyAccount-navigation-link--dashboard a::before {
  content: '';
  display: inline-block;
  width: 16px; /* Set the width of the icon */
  height: 16px; /* Set the height of the icon */
  margin-right: 8px; /* Add some space between the icon and the text */
  background-image: url('/wp-content/themes/we-roberts/img/home-account.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle; /* Align it properly with the text */
}

.woocommerce-MyAccount-navigation-link--favourites a::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url('/wp-content/themes/we-roberts/img/fav-account.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.woocommerce-MyAccount-navigation-link--orders a::before  {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url('/wp-content/themes/we-roberts/img/shopping-cart.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}
.woocommerce-MyAccount-navigation-link--downloads a::before  {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url('/wp-content/themes/we-roberts/img/download.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}
.woocommerce-MyAccount-navigation-link--edit-address a::before  {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url('/wp-content/themes/we-roberts/img/map-pin.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.woocommerce-MyAccount-navigation-link--payment-methods a::before  {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url('/wp-content/themes/we-roberts/img/fav-account.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.woocommerce-MyAccount-navigation-link--edit-account a::before  {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url('/wp-content/themes/we-roberts/img/account.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before  {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url('/wp-content/themes/we-roberts/img/log-out.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.woocommerce-MyAccount-navigation-link--request_statement a::before  {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url('/wp-content/themes/we-roberts/img/fav-account.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}


a.button.request-statement {
  margin-top: 20px;
  background: var(--accent);
  color: white;
  font-size: var(--text-s);
  border-radius: 999px;
  transition: 0.3s all ease-in-out;
}

a.button.request-statement:hover {
  background: var(--primary);
}

/* Success message styling */
.request-statement-success {
  padding: 10px 15px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  margin-top: 10px;
  font-size: 16px;
}

/* Error message styling */
.request-statement-error {
  padding: 10px 15px;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  margin-top: 10px;
  font-size: 16px;
}



/* Login Dropdown Toggle */ 

.woocommerce-form-login-toggle .woocommerce-info {
  background-color: #caebc6 !important;
  color: var(--primary) !important;
  padding: 20px;

}

/* .before-checkout {
  margin-top: 20px;
} */

.woocommerce-form-login-toggle .woocommerce-info a {
  text-decoration: none !important;
}

form.woocommerce-form.woocommerce-form-login.login {
  padding: 20px;
  background: #ffffff;
  border: 1px solid;
  border-top: 0;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-color: #caebc6;
}

button.woocommerce-button.button.woocommerce-form-login__submit {
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-transform: uppercase;
  font-size: var(--text-s);
  padding: 10px 20px;
  margin-top: 10px;
}


/* shipping methods */
ul#shipping_method {
  width: 195px;
  display: flex;
  flex-direction: column;
  align-items: end;
  text-align: left;
}

ul.woocommerce-shipping-methods li {
  margin-bottom: 15px;
  width: 100%;
}

/*order recieved page */

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
  border-radius: 10px;
}

p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--primary);
}

.woocommerce-order-details table {
  border-radius: 10px !important;
  border-collapse: separate !important;
}

.woocommerce-order-details table tfoot tr {
  background: white;
  border-radius: 10px;
}

.woocommerce-order-details, .woocommerce-order-downloads {
  padding: 0px;
}

h2.woocommerce-order-details__title {
  margin-bottom: 20px;
}

section.woocommerce-customer-details {
  padding: 0;
}

.woocommerce .woocommerce-columns {
  display: flex;
  flex-direction: row;
  align-items: start;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #dddedf;
}

p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
  margin-top: 80px;
  margin-bottom: 80px;
}

/* Filter Checkboxes */
/* Hide the default checkbox */
input[type="checkbox"].filter-checkbox {
  display: none;
}

/* Custom checkbox styling */
.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: var(--text-s);
  font-family: 'Arial', sans-serif;
  color: #333;
}

/* The empty custom checkmark box (unchecked state) */
.custom-checkmark {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 1px solid #d0d0d0; /* Light grey border */
  margin-right: 10px;
  box-sizing: border-box;
  background-color: #fff; /* White background */
  transition: all 0.3s ease;
  border-radius:3px;
}

/* Checked state (this will be dynamically applied via JS) */
.custom-checkmark.checked {
  border-color: #d0d0d0; /* Green border when checked */
  background-color: #ffffff;
  background-image: url('/wp-content/themes/we-roberts/img/check.svg'); /* Your SVG path */
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hover effect */
.custom-checkbox:hover .custom-checkmark {
  border-color: #2d5e2a;
}

.header-basket-container span.cart-count {
  background: var(--accent);
  line-height: 0;
  border-radius: 999px;
  font-size: 11px;
  width: 22px;
  display: flex;
  height: 22px;
  justify-content: center;
  align-items: center;
  padding-bottom: 1px;
  color: white;
  font-weight: 600;
  position: absolute;
  top: -11px;
  right: -3px;
}

.header-basket-container span.cart-count.hide-empty-count {
  display: none;
}

/* Text pages */ 

.rich-text-block h2,
.rich-text-block h3,
.rich-text-block h4,
.rich-text-block h5 {
  margin:0 0 0.4em;
}

.accordion-title {
  gap:10px;
}

/* Footer */

.engineroom img {
  display:inline-block;
  vertical-align: middle;
  margin:-2px 0 0 1px;
}

.copyright br {
  display:none;
}

/* Responsive */

@media only screen and (max-width:1499px) {
  a.ubermenu-target.ubermenu-target-with-image.ubermenu-item-layout-default.ubermenu-item-layout-image_above {
    font-size:11px;
  }

  .ubermenu-main .ubermenu-nav .ubermenu-item.ubermenu-item-level-0 > .ubermenu-target.box-finder {
    font-size: 13px;
    padding: 5px;
  }

  body .brxe-woocommerce-checkout-order-review {
    font-size:15px;
  }
}

@media only screen and (max-width:1199px) {
  .product-pricing-table {
    font-size: 14px;
  }

  .product-pricing-table button.price-tier-button {
    height:30px;
    padding-left: .5em;
    padding-right: .5em;
    font-size:14px;
  }

  #product-grid.product-view-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  a#box-finder-btn span::after {
    margin-left:5px;
  }

  body .brxe-woocommerce-checkout-order-review, body .woocommerce-checkout #payment .payment_methods .payment_box {
    font-size:13px;
  }

  body .woocommerce-checkout .padding--l {
    padding:15px;
  }

  body .woocommerce-checkout .shop_table tbody tr td, body .woocommerce-checkout .shop_table th, body .woocommerce-checkout-review-order-table tr.cart-subtotal th, body .woocommerce-checkout-review-order-table tr.cart-subtotal td, body .woocommerce-checkout .shop_table td, body .woocommerce-checkout-review-order-table tr.order-total td {
    padding:10px;
  }

  body .woocommerce-checkout #payment {
    padding:10px;
  }

  body .woocommerce-checkout .place-order .button {
    line-height:34px;
    font-size:15px !important;
  }

  body ul.woocommerce-shipping-methods input[type=radio]+label {
    font-size: 12px;
    font-weight: 600;
  }

  button#place_order {
    margin-top: 15px;
  }

  ul#shipping_method {
    width:170px;
  }
}

@media only screen and (max-width:991px) {
  .search-wrapper-mobile input {
    border-radius:0;
  }

  .ubermenu.ubermenu-mobile-modal .ubermenu-mobile-footer .ubermenu-mobile-close-button {
    background-color:var(--shade);
    color:#d1decd;
    text-transform: uppercase;
    font-weight: 600;
  }

  body .ubermenu.ubermenu-mobile-modal .ubermenu-mobile-footer .ubermenu-mobile-close-button .ubermenu-icon-essential, body .ubermenu.ubermenu-mobile-modal .ubermenu-mobile-footer .ubermenu-mobile-close-button .fas.fa-times {
    margin-right:5px;
  }

  .product-pricing-table button.price-tier-button {
    font-size:13px;
  }
}

@media only screen and (max-width:767px) {
  .quantity-holder > div {
    width:100%;
  }

  .product-pricing-table th,
  .product-pricing-table td {
    padding: 5px 10px;
  }

  .product-pricing-table {
    font-size: 13px;
  }

  body .price-tier-buttons-container {
    width:100% !important;
  }

  .product-list-quantity-input > div {
    width: calc(100% - 62px);
  }
}

.quantity-input {
  padding: 0 !important;
}

@media only screen and (max-width:767px) {
  #product-grid.product-view-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .hero-carousel__hero-slide:before {
    content:" ";
    display: block;
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background-color:var(--shade-trans-60);
    z-index: 1;
  }

  .hero-carousel__button {
    background-color:var(--accent) !important;
  }

  body .woocommerce-checkout .shop_table tbody tr td, body .woocommerce-checkout .shop_table th, body .woocommerce-checkout-review-order-table tr.cart-subtotal th, body .woocommerce-checkout-review-order-table tr.cart-subtotal td, body .woocommerce-checkout #payment, body .woocommerce-checkout .shop_table td, body .woocommerce-checkout-review-order-table tr.order-total td {
    padding:10px 3px;
  }

  ul#shipping_method {
    width:120px;
  }

  ul.woocommerce-shipping-methods li {
    display:flex;
  }

  body ul.woocommerce-shipping-methods input[type=radio]+label {
    line-height:1.5;
  }
}

@media only screen and (max-width:479px) {
  .header-top__icon-box .content {
    display:none;
  }

  .header-basket-container span.cart-count {
    top: -11px;
    right: -11px;
  }

  .search-wrapper-mobile input {
    font-size:13px;
  }

  .pad--xxl, .padding--xxl {
    padding-left: var(--space-m);
    padding-right: var(--space-m);
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }

  .splide__arrows {
    display:none;
  }

  .pad-header--xs {
    padding-left:15px;
    padding-right:15px;
  }

  .header-top__icon-wrapper {
    padding-right:10px;
  }

  body.home main#brx-content {
    display:flex;
    flex-direction: column;
  }

  body.home main#brx-content section.hero-carousel {
    order:1;
  }

  body.home main#brx-content section.popular-categories {
    order:2;
  }

  body.home main#brx-content section.best-selling {
    order:3;
  }

  body.home main#brx-content section.usps {
    order:4;
  }

  body.home main#brx-content section.about {
    order:5;
  }

  body.home main#brx-content section.info-boxes {
    order:6;
  }

  .single_add_to_cart_button {
    font-size:12px;
  }

  .brxe-single-product-add-to-cart .brxe-div {
    gap:15px;
  }

  .copyright br {
    display:block;
  }
}




.wer-gallery-main-image {
  padding: 10px;
  border: 1px solid #CBD6D6;
  border-radius: 10px;
  margin-bottom: 10px;
  height: 550px;
  display: flex;
  justify-content: center;
}

.wer-gallery-main-image img {
  height: 100%;
  object-fit: contain;
  cursor: zoom-in !important;
}

.wer-gallery-sub-image-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.wer-gallery-item {
  padding: 1rem;
  border: 1px solid #CBD6D6;
  border-radius: 10px;
  height: 80%;
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
}

.wer-gallery-item:hover {
  border-color: #186616;
}

.wer-gallery-item img {
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

 /* Lightbox CSS */
#main-image-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 600px;
  cursor: crosshair;
}

@media screen and (max-width: 767px) {
  #main-image-container {
    height: 300px;
  }
}


/* Main image zoom effect */
#main-gallery-image {
  transition: transform 0.1s ease;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  position: absolute;
}

/* Lightbox CSS */
.lightbox {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
}

.close, .prev, .next {
  position: absolute;
  top: 50%;
  font-size: 30px;
  color: white;
  cursor: pointer;
  padding: 10px;
  background-color: rgba(0,0,0,0.5);
}

.close {
  top: 20px;
  right: 30px;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.close:hover, .prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}




/* Carousel */
button.splide__pagination__page.is-active {
  background: #347C2C !important;
}

button.splide__pagination__page {
background: #347C2C33 !important;
}

ul.splide__pagination.splide__pagination--ltr {
  display: none;
}

@media (max-width: 991px) {
  ul.splide__pagination.splide__pagination--ltr {
    display: flex;
  }
}
  


/* FAQ Sections */ 

/* FAQ Sections */
.custom-accordion {
  width: 100%;
}

/* FAQ Section Heading */
.faq-heading {
  font-size: 36px;
  font-weight: 600;
  color: #2F5520; /* Green color */
  margin-bottom: 20px;
}

/* Accordion Item */
.accordion-item {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Accordion Button */
.accordion-button {
  width: 100%;
  padding: 15px;
  font-size: 20px;
  font-weight: 500;
  color: #2F3A2D; /* Default color */
  background-color: #fff;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-bottom 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd; /* Bottom border by default */
  font-family: 'Inter';
}

/* Accordion Button on Hover */
.accordion-button:hover {
  background-color: #e6ede6;
}

/* When the accordion is expanded */
.accordion-button[aria-expanded="true"] {
  color: #196516; /* Green color when expanded */
  border-bottom: none !important; /* Remove bottom border when expanded */
}

/* Accordion Content */
.accordion-collapse {
  display: none;
}

/* Accordion Body */
.accordion-body {
  padding: 20px;
  background-color: #fff;
  border-top: 0px solid #ddd;
  border-radius: 5px;
  font-size: var(--text-m);
}

/* Chevron Icon */
.accordion-icon {
  transition: transform 0.3s ease;
}

/* Rotate the chevron when accordion is expanded */
.accordion-button[aria-expanded="true"] .accordion-icon svg {
  transform: rotate(180deg);
}

.accordion-button[aria-expanded="true"] {
  border-radius: 5px;
}

button.accordion-button {
  border-radius: 5px;
}

html {
  scroll-behavior: smooth;
}












/* Category Accordion */

/* Container styles */
.category-product-category-accordion {
  margin: 20px 0;
}

.category-product-category-accordion * {
  font-family: 'Inter' !important;
}



/* Accordion item */
.category-product-category-accordion .category-accordion-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
}

/* Accordion header (top-level categories) */
.category-product-category-accordion .category-accordion-header {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  padding: 10px;
  color: var(--text-dark-muted);
  background-color: #fff;
  border: none;
  outline: none;
  transition: background-color 0.3s ease;
}


.category-product-category-accordion .category-accordion-header.active.has-subcategories::after {
  transform: rotate(180deg); /* rotate to point up when active */
}

.category-product-category-accordion .category-accordion-header:hover {
  background-color: #f0f0f0;
}

/* Subcategory list */
.category-product-category-accordion .category-accordion-content {
  display: none;
  padding-left: 30px;
  margin-top: 3px;
  margin-bottom: 10px;
  
}

.category-product-category-accordion .category-sub-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-product-category-accordion .category-sub-category-list li {
  font-size: 14px;
  padding: 5px 0;
  color: #333;
}

.category-product-category-accordion .category-sub-category-list li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.category-product-category-accordion .category-sub-category-list li a:hover {
  color: #007b00; /* hover effect */
}

/* Active category style */
.category-product-category-accordion .category-sub-category-list li.active a {
  font-weight: bold;
  color: #007b00; /* active category color */
}

h3.category-accordion-header.active {
  font-weight: 700;
  color: var(--primary);
}

/* Accordion content for open categories */
.category-product-category-accordion .category-accordion-header.active + .category-accordion-content {
  display: block;
}

/* Style the selected category */
.category-accordion-header a.active-category {
  font-weight: bold;
  color: #007b00; /* Green color */
}

/* Style the selected subcategory */
.category-sub-category-list li a.active-subcategory {
  font-weight: bold;
  color: #007b00; /* Green color */
}

/* Style the accordion SVG icon */
.category-accordion-header .accordion-icon {
  margin-left: auto; /* To push the SVG to the right */
  display: flex;
  align-items: center;
  transition: transform 0.3s ease; /* For rotation animation */
}

/* Rotate the SVG when the accordion is active */
.category-accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}



.list-out-of-stock {
  color: red;
  font-weight: 600;
}

@media(max-width: 1024px) {
  .woocommerce-cart .nested-add-to-cart-form .single_add_to_cart_button.brxe-nested_add_to_cart,
  .single-product .nested-add-to-cart-form .bricks-button.brxe-nested_add_to_cart {
    gap: 0;
    padding-left: 0;
    padding-right: 0;
    font-size: 0;
  }

  .product-item.brxe-fnbydf .brxe-kotlbs.brxe-quantity-input {
    width: 60px;
  }
  .woocommerce-account .brxe-container#brxe-dkbkyh {
    flex-direction: column;
  }
}
@media(max-width: 991px) {
  .header-top__right-wrapper {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

.dimension-output {
  font-size: 12px;
}

.wer-gallery-container {
  position: relative;
}
.wer-gallery-container .product-highlight-labels {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9;
}
.is-product-highlight #main-image-container {
  border: 2px solid rgba(75, 0, 110, 0.40);
}
.is-product-highlight--sale #main-image-container {
  border: 2px solid rgba(255, 77, 0, 0.5);
}
.is-product-highlight--clearance #main-image-container {
  border: 2px solid rgba(195, 0, 16, 0.40);
}

.brxe-woocommerce-checkout-customer-details input {
  border-color: #CBD6D6;
  border-radius: 5px;
  line-height: 1.5;
  padding: 10px;
}

.rich-text-block table {
  width: 100%;
  border-collapse: collapse !important;
  table-layout: fixed;
  border: 1px solid #e5e7eb !important;
  font-size: 1.25rem;
  line-height: 1.5;
}

.rich-text-block th,
.rich-text-block td {
  padding: 10px 12px;
  border: 1px solid #e5e7eb !important;
  vertical-align: top;
  color: #111827;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.rich-text-block th {
  background: #f9fafb;
  font-weight: 600;
  text-align: left;
}

.rich-text-block tbody tr:nth-child(even) td {
  background: #fafafa;
}

.rich-text-block caption {
  caption-side: bottom;
  padding-top: .5rem;
  font-size: .875rem;
  color: #6b7280;
  text-align: left;
}

@media (max-width: 600px) {
  .rich-text-block table { font-size: 0.9rem; }
  .rich-text-block th,
  .rich-text-block td { padding: 8px 10px; }
}

.brxe-fnbydf .brxe-mwazjo.brxe-div{
  row-gap: calc(var(--space-xs) / 4) !important;
}
.brxe-fnbydf .brxe-ovjvad.brxe-div{
  margin-bottom: 5px !important;
}
.brxe-fnbydf .brxe-spxpyo.brxe-image{
  width: 90px !important;
  height: 90px !important;
  max-width: 90px !important;
  min-width: 90px !important;
  min-height: 90px !important;
  max-height: 85px !important;
}

.brxe-fnbydf .brxe-uoqirb.brxe-nested_add_to_cart,
.brxe-zqoqal .brxe-cnrarp.brxe-nested_add_to_cart{
  color: #fff !important;
}

#brxe-jgfcsd input[type="text"],
#brxe-jgfcsd input[type="email"],
#brxe-jgfcsd input[type="password"],
#brxe-jgfcsd select{
  border-color: #CBD6D6;
  border-radius: 5px;
  line-height: 1;
  padding: 10px;
  font-size: 14px;
}