#grid .elf-promo {
 display: none; 
}

.cookiespolicies-float-bottom, .cookiespolicies-float-top {
  border: 1px solid #CCC;
   border-top-left-radius: 4px;
  border-top-right-radius: 4px;
    left: 20%;
    margin-left: calc(50% - 50vw);
    position: fixed;
    width: 60%; !important
    z-index: 999999999;
    right: 20%;
 
  color: #000; !important
  
  
}

.termly-styles-consent-banner-fa199d {
    left: 50%;
    top: 30% !important;
    transform: translate(-50%, -50%);
    position: fixed;
    opacity: 0;
}

.termly-styles-root-f9c495 {
    left: 25% !important;
    width: 50% !important;
    height: auto !important;
}

@media (max-width: 844px) {
    .termly-styles-consent-banner-fa199d {
        top: 50% !important;
    }

    .termly-styles-root-f9c495 {
        width: 90% !important; /* Adjust width for smaller screens */
        left: 5% !important;   /* Center the modal horizontally */
    }
}

.termly-styles-message-e9e76f.termly-styles-message-a323da::before {
    content: "Privacy Settings";
    display: block; /* Ensures it appears as a separate block before the element */
    font-weight: bold; /* Makes the text bold */
    font-size: 18px; /* Sets the font size */
    color: #000; /* Optional: Sets the text color */
    margin-bottom: 10px; /* Adds spacing below the inserted content */
    font-family: Arial, sans-serif; /* Optional: Specifies the font family */
}
/** sof Gavin Evox Category Tile Enhancements (Anti-Blur Optimised) **/

body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .tileparent {
  border-top: none;
}

body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .catalog-grid .tile {
  border-right: none;
  margin-bottom: 20px;
}

body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .cat-tiles .tile {
  padding: 15px;
  text-align: center;
  transition: box-shadow 0.3s ease;

  /* Anti-blur enhancements */
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .cat-tiles .tile:hover {
  /* Removed scale to prevent text rendering blur */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .cat-tiles .tile .cat-thumb-container {
  width: 170px;
  height: 170px;
  margin: 0 auto 10px auto;
  border: 1px solid #ccc;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;

  /* Optional: smoother rendering */
  backface-visibility: hidden;
  transform: translateZ(0);
}

body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .cat-tiles .tile:hover .cat-thumb-container {
  border-color: #673ab7;
  box-shadow: 0 0 10px rgba(103, 58, 183, 0.5);
}

body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .cat-tiles .tile .cat-thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.3s ease;

  /* Improve GPU rendering and reduce pixel shift */
  backface-visibility: hidden;
  transform: translateZ(0);
}

body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .cat-tiles .tile:hover .cat-thumb-container img {
  transform: scale(1.1);
}

body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .cat-tiles a p {
  font-weight: 700;
  text-align: center;
  font-size: 1.05rem;
  font-family: 'Poppins', sans-serif;
  transform: translateZ(0); /* helps with scale/blur effects */
}

/* Responsive: 2 tiles per row on tablets */
@media (max-width: 768px) {
  body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .catalog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .catalog-grid .tile {
    flex: 0 1 45%;
    max-width: 45%;
    padding: 0;
    margin: 0 0 20px 0;
  }

  body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .cat-tiles .tile .cat-thumb-container {
    width: 140px;
    height: 140px;
  }

  body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .cat-tiles a p {
    font-size: 0.95rem;
  }
}

/* Responsive: 1 tile per row on phones */
@media (max-width: 520px) {
  body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .catalog-grid .tile {
    flex: 0 1 100%;
    max-width: 320px;
    margin: 0 auto 20px auto;
  }

  body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .cat-tiles .tile .cat-thumb-container {
    width: 130px;
    height: 130px;
  }

  body.ex-category:not(.ex-name-schoolshop):not(.ex-category-clothingworkwear):not(.ex-category-technology) .cat-tiles a p {
    font-size: 0.9rem;
  }
}
/** Gavin Evox Sidebar Category List Fix – Enhanced for Crisper Text **/

.shop-filters .filter-section .categories li {
  margin-bottom: 0; /* Remove extra gap between items */
}

.shop-filters .filter-section .categories li a {
  color: #493493;
  font-weight: 700;
  font-size: 1rem;
  padding: 5px 16px 5px 28px; /* more left padding for dot spacing */
  display: block;
  border-radius: 25px;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  line-height: 1.2;

  /* Anti-blur improvements */
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Hover effect with no translateX (less blur) */
.shop-filters .filter-section .categories li a:hover {
  background-color: #f4f0fc;
  color: #673ab7;
  box-shadow: 0 0 6px rgba(103, 58, 183, 0.15);
}

/* Dot */
.shop-filters .filter-section .categories li a::before {
  content: '';
  position: absolute;
  left: 14px; /* distance from text */
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: #673ab7;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show dot only on hover */
.shop-filters .filter-section .categories li a:hover::before {
  opacity: 1;
}

/* Active item style */
.shop-filters .filter-section .categories li a.active {
  background-color: #e9dbff;
  color: #673ab7;
  font-weight: 800;
}
/** eof **/

/** sof hide stock div for plp configurable products**/
body.ex-category .product[data-configurableproduct="true"] .stockMsg {
    display: none;
}
/** eof **/