/*
Theme Name: Hello Elementor Child
Description: Thème enfant de Hello Elementor
Template: hello-elementor
Version: 1.0.0
*/

.hidden {
  display: none !important;
}

.custom-button {
  display: inline-flex;
  align-items: center;
  position: relative;
  border: 2px solid var(--product-cat-color, #316191);
  padding: 10px 70px 10px 20px;
  background: transparent;
  color: var(--product-cat-color, #316191) !important;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  width: auto !important;
  max-width: max-content;
  box-sizing: border-box;
  white-space: normal;
}

.custom-button::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  aspect-ratio: 1 / 1;
  height: 100%;
  background-color: var(--product-cat-color, #316191);
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  border-left: 1px solid #fff !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='white' d='M31 0H15v2h13.59L.29 30.29 1.7 31.7 30 3.41V16h2V1a1 1 0 0 0-1-1z'/></svg>");
}

.custom-button:hover,
.custom-button:focus {
  color: #fff !important;
  background-color: var(--product-cat-color, #316191) !important;
}

.custom-input {
  font-size: 16px !important;
  color: var(--primary-blue) !important;
  background: transparent !important;
  border: unset !important;
  border-bottom: 2px solid var(--product-cat-color, #316191) !important;
  border-radius: 0 !important;
}

.custom-input:focus {
  outline: none !important;
}

.custom-input[disabled],
.custom-input:disabled {
  background: #f5f5f5 !important;
  color: #aaa !important;
  cursor: not-allowed !important;
}

.page-header {
  margin: 20px;
  text-align: center;
}

.page-header .entry-title {
  font-size: 50px;
  font-weight: bold;
  background-image: linear-gradient(var(--light-blue), var(--light-blue));
  background-size: 100% 12px;
  background-repeat: no-repeat;
  background-position: left bottom;
  box-decoration-break: clone;
  display: inline;
  line-height: 1.2;
  margin-block-end: 100px !important;
}

/*******single product page ***************/
.section-title {
  text-align: center
}

.section-title span {
  font-size: 48px;
  font-weight: 500;
  background-image: linear-gradient(#BCD2ED, #BCD2ED);
  background-size: 100% 12px;
  background-repeat: no-repeat;
  background-position: left bottom;
  box-decoration-break: clone;
  line-height: 1.2;
  margin-block-end: 100px !important;
  padding: 0 10px;
}

.woocommerce-product-csv-wrapper {
  clear: both;
  width: 100%;
  margin-top: 30px;
  padding-inline: 30px;
}

.woocommerce-product-csv-table .filter-select {
  font-size: 12px;
  padding: 2px 5px;
  height: auto;
  min-width: 60px;
  margin-top: 2px;
}

.woocommerce-product-csv-table .quantity-input {
  width: 60px;
  padding: 5px 8px;
  font-size: 14px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  appearance: none;
  -moz-appearance: textfield;
}

.woocommerce-product-csv-table .quantity-input::-webkit-outer-spin-button,
.woocommerce-product-csv-table .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.csv-table-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 400px;
  width: 100%;
  margin-top: 20px;
  padding: 0px;
}

.woocommerce-product-csv-table thead th {
  position: sticky;
  top: 0;
  background: #f2f2f2;
  z-index: 10;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

.quantity-input {
  width: 50px;
}

#csv-add-to-cart-button {
  display: none;
  margin-top: 10px;
}

.renfrence-section {
  margin-block-end: 3em;
}

.product_title {
  color: var(--product-cat-color, #333) !important;
}

.woocommerce-product-csv-title {
  color: var(--product-cat-color, #333);
}

.product-main-container {
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  width: 100%;
}

#primary {
  overflow-x: hidden !important;
}

.product-main-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 100vw - 100%);
  height: 100%;
  background-color: #f0f0f0;
  z-index: -1;
}

.product-main-container::after {
  content: "";
  display: table;
  clear: both;
}

.product-inner-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.product-images {
  flex: 1;
  max-width: 50%;
  padding: 5px;
}

.summary {
  flex: 1;
  max-width: 50%;
  margin: 0;
  padding: 25px 5px;
}

#discover-btn {
  margin-top: 1.5em;
}

.product-images .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 100% !important;
}

.product-images .woocommerce-product-gallery__wrapper {
  width: 100% !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before {
  border: 2px solid var(--product-cat-color, #333) !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after {
  background: var(--product-cat-color, #333) !important;
}

.product-csv-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  border: 2px solid var(--product-cat-color, #333);
  border-radius: 4px;
  overflow: visible;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  max-width: 250px;
  z-index: 1;
}

.product-csv-dropdown-arrow {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  cursor: pointer;
  pointer-events: auto;
}

.product-csv-dropdown-arrow svg {
  width: 18px;
  height: 18px;
  fill: var(--product-cat-color, #333);
}

.product-csv-dropdown-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 250px;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--product-cat-color, #333);
  padding: 10px 40px 10px 18px;
  background-color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--product-cat-color, #333);
  height: 50px;
}

.selected-option {
  flex-grow: 1;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  max-height: 200px;
  overflow-y: auto;
}

.dropdown-menu li {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
  color: var(--product-cat-color, #333);
}

.dropdown-menu li:hover,
.dropdown-menu li:focus {
  background-color: #f0f0f0;
}

.dropdown-menu li.selected {
  background-color: #e6f3ff;
  font-weight: bold;
}

.csv-inner-wrapper {
  background-color: #f5f5f5;
  padding: 20px;
  margin-top: -20px;
}

.csv-table-wrapper {
  margin-bottom: 15px;
}

:root {
  --primary-blue: #316191;
  --light-blue: #D9E8E9;
  --gallery-max-width: 450px;
  --thumb-gap: 10px;
}

.woocommerce-product-gallery {
  width: 100%;
  max-width: var(--gallery-max-width);
  margin: 0 auto;
  box-sizing: border-box;
}

.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image {
  width: 100%;
  max-width: var(--gallery-max-width);
  margin: 0 auto;
}

.woocommerce-product-gallery__image img.wp-post-image {
  width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: contain;
  padding: 9px;
}

.woocommerce-product-gallery__thumbnails {
  width: 100%;
  max-width: var(--gallery-max-width);
  margin: 10px 0;
  box-sizing: border-box;
}

.woocommerce-product-gallery__thumbnails .slick-track {
  display: flex !important;
  justify-content: center;
  gap: var(--thumb-gap);
}

.woocommerce-product-gallery__thumbnails .slick-slide {
  width: calc(50% -5px) !important;
  margin: 0 !important;
  position: relative !important;
}

.woocommerce-product-gallery__thumbnails .thumbnail-slide img {
  width: 100%;
  aspect-ratio:1;
  display: block;
  object-fit: cover;
}

.thumbnails-slider .thumbnail-slide img.flex-active,
.thumbnails-slider .thumbnail-slide img:hover {
  border: 2px solid #ccc;
  opacity: 0.8;
}

.woocommerce-product-gallery__image img {
  transition: src 0.3s ease;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  position: absolute;
  top: auto !important;
}

.thumbnail-slide .woocommerce-product-gallery__trigger {
  position: absolute;
  top: auto !important;
  bottom: 0.5em !important;
}

.woocommerce div.product .woocommerce-product-gallery>.woocommerce-product-gallery__trigger:not(.custom-trigger) {
  display: none !important;
}

.woocommerce-product-gallery__image {
  position: relative;
}

.woocommerce-product-gallery__trigger.custom-trigger {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.3s ease;
}

.thumbnails-slider .slick-dots li button:before {
  font-size: 10px;
  color: #007bff;
  opacity: 0.5;
}

.thumbnails-slider .slick-dots li.slick-active button:before {
  color: #007bff;
  opacity: 1;
}

.thumbnails-slider .slick-dots li {
  margin: 0 3px;
}

.woocommerce div.product {
  padding: 10px;
}



@media (max-width: 860px) {
  .quote-request-form .form-row {
    flex: 1 1 100% !important;
  }
}

/*****Quotes********************************/
#quote-request-form {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px
}

#custom-quote-table {
  flex: 1;
  margin-top: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--light-blue);
}

.quote-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 50px 10px;  
  align-items: center;
  padding: 15px;
  border-top: 2px solid var(--primary-blue);
  column-gap: 15px;
}

.quote-row:last-child {
  border-bottom: 2px solid var(--primary-blue);
}

.quote-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-product-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  min-width: 60px;
}

.quote-product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-product-name {
  font-weight: 500;
  font-size: 1em;
  color: var(--primary-blue);
}

.quote-product-reference {
  font-size: 0.88em;
  color: #666;
  white-space: normal; 
  word-break: break-word;
  overflow-wrap: anywhere;  
}



.quote-quantity input {
  width: 100%;
  padding: 6px;
  max-width: 70px;
  text-align: center;
  border: 2px solid var(--primary-blue);
  background: transparent;
  color: var(--primary-blue);
  font-weight: 500;
}

.quote-quantity input:focus {
  outline: none !important;
  border: 1px solid var(--primary-blue);
}

.quote-remove {
  flex: 0 0 30px;
  text-align: center;
}

.quote-remove a {
  font-size: 1.3em;
  color: var(--primary-blue);
  text-decoration: none;
}

.quote-remove a:hover {
  color: var(--primary-blue);
}

.quote-request-form {
  flex: 1;
  margin-top: 30px;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

#quote-request-form h3 {
  margin-bottom: 0;
  font-size: 1.3em;
  flex-basis: 100%;
}

.quote-request-form .form-row {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(50% - 7.5px);
  min-width: 100px;
}

.quote-request-form .form-row:last-child {
  flex-basis: 100%;
}

.quote-request-form label {
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--primary-blue);
}

.notice {
  padding: 12px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-weight: 600;
  display: none;
}

.notice.success {
  background-color: #d4edda;
  color: #155724;
}

.notice.error {
  background-color: #f8d7da;
  color: #721c24;
}

.submit-quote-form {
  margin-top: 1em;
}

/********************lightbox***************/
.custom-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: auto;
  box-sizing: border-box;
}

.lightbox-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.image-wrapper {
  position: relative;
  width: 100%;
  text-align: center;
}

.lb_img {
  max-width: 100%;
  max-height: 60vh;
  border-radius: 6px;
  margin-bottom: 10px;
}

.lightbox-card .prev:hover,
.lightbox-card .next:hover,
.lightbox-card .close:hover,
.lightbox-card .prev:focus,
.lightbox-card .next:focus,
.lightbox-card .close:focus {
  color: #007bff !important;
  background: none !important;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2em;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 2em;
  color: #333;
  cursor: pointer;
  border-radius: 50%;
  padding: 0 10px;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.thumbnail-bar {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.thumbnail-bar img.thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.7;
  border: 2px solid transparent;
  border-radius: 4px;
}

.thumbnail-bar img.thumbnail.active {
  opacity: 1;
  border-color: #333;
}

.woocommerce-page-title-wrapper {
  display: inline-block;
  overflow: hidden;
}

.woocommerce-products-header__title.page-title {
  height: 150px !important;
  display: flex !important;
  align-items: center;
  position: absolute !important;
  top: 220px;
}

.woocommerce-products-header__title.page-title span {
  color: #fff;
  font-size: 60px;
  font-weight: 600;
  display: inline;
  background-image: linear-gradient(var(--category-color, #EDEDED), var(--category-color, #EDEDED));
  background-size: 100% 13px;
  background-repeat: no-repeat;
  background-position: left bottom;
  line-height: 1.2;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/***************Category page *********/
.shop-layout .products.columns-3 {
  li.product {
    margin-bottom: 1% !important;
  }

  li.product,
  .product {
    float: left;
    width: 32.33% !important;
    margin-right: 1% !important;
    clear: none !important;
  }
}

ul.products{
  margin-top:20px !important;
}

ul.products li.product {
  position: relative;
  overflow: hidden;
  padding: 20px !important;
  background: #ededed;
  min-height: 250px;
}

ul.products li.product .product-permalink-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  text-decoration: none;
  padding: 15px;
}

ul.products li.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--category-color, #333);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

ul.products li.product:hover::before {
  opacity: 0.62;
}

ul.products li.product img {
  position: relative;
  z-index: 1;
  width: 150px !important;
  height: 150px !important;
  display: block;
  margin: 0 auto 0 auto !important;
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .button,
.custom-short-description {
  position: relative;
  z-index: 3;
  font-size: 12px;
  margin-top: 4px;
}

ul.products li.product .woocommerce-loop-product__title {
  color: var(--category-color, #333);
  padding: 0px !important;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
}

ul.products li.product:hover .woocommerce-loop-product__title,
ul.products li.product:hover .custom-short-description {
  color: #fff;
}

ul.products li.product:hover .arrow-svg {
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

ul.products li.product:hover .arrow-svg svg path {
  fill: #fff;
}

.selected-category {
  font-weight: 700;
  color: #000;
  font-size: larger;
}

.custom-short-description {
  color: var(--category-color, #333);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  height: 2.8em !important;
}

.arrow-svg {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 30px;
  height: 30px;
  pointer-events: none;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.arrow-svg svg path {
  fill: var(--category-color, #333);
}

.arrow-svg svg {
  width: 18px;
  height: 18px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 2em;
}

.shop-layout:not(:has(.shop-categories-block)) {
  grid-template-columns: 1fr;
}

.category-toggle-mobile {
  display: none !important;
}

.shop-products-block {
  min-width: 0;
}

.term-description {
  display: none;
}

.shop-term-description {
  color: #333335;
  font-weight: 200;
  font-size: 22px;
  line-height: 1.2;
  text-align: justify;
  text-justify: inter-word;
  margin-block: 20px;
  margin-right: 1% !important;

}

.woocommerce-breadcrumb {
  text-align: right;
  color: var(--category-color, var(--product-cat-color, #767676)) !important;
  margin-right: 1% !important;
}

.woocommerce-breadcrumb a {
  color: var(--category-color, var(--product-cat-color, #767676)) !important;
}

.woocommerce-no-products-found {
  margin-top: 15px;
}

@media (max-width: 1024px) {
  .shop-layout:has(.shop-categories-block) .products.columns-3 {
    display: block !important;
  }

  li.product{
    float: left;
    width: 49% !important;
    margin-right: 2% !important;
    clear: none !important;
  }

  li.product:nth-child(2n) {
    margin-right: 0 !important;
  }

  li.product:nth-child(2n+1) {
    clear: both !important;
  }

  li.product {
    margin-bottom: 2% !important;
  }


}

@media (max-width: 768px) {
  .product-inner-container {
    flex-direction: column;
  }

  .product-images,
  .summary {
    max-width: 100%;
  }

  li.product, .product {
    width: 98% !important;
  }
}

.woocommerce-breadcrumb,
.shop-term-description {
  margin-right: 2% !important;
}

.category-header {
  height: 400px !important;
}

.woocommerce-products-header__title.page-title {
  top: 280px !important;
}

.category-list {
  top: 410px !important;
}

@media (max-width: 780px) {
  .shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }

  .shop-categories-block {
    width: 90%;
  }

  .shop-products-block {
    width: 100%;
  }

  .shop-categories-block {
    position: relative;
  }

  .category-toggle-mobile {
    display: flex !important;
    background: var(--category-color, #333);
    padding: 20px 30px !important;
    justify-content: space-between;
  }

  .woocommerce-products-header {
    text-align: center;
    margin-bottom: 30px;
  }

  .category-list {
    display: none;
    position: sticky !important;
    max-width: 90vw;
    width: 100% !important;
    padding-top: 10px !important;
    z-index: 5;
  }

  .woocommerce-products-header__title.page-title {
    position: absolute;
    top: 325px !important;
    left: 50%;
    transform: translateX(-50%);
    max-width: 95vw;
    text-align: center;
    word-wrap: break-word;
  }

  .category-header {
    height: 480px !important;
  }

  .shop-categories-block {
    position: absolute;
    top: 500px;
  }

  #quote-request-form {
    display: flex;
    flex-direction: column-reverse;
  }

  #custom-quote-table {
    width: 100%
  }

  .woocommerce-product-csv-wrapper {
  padding-inline: 15px;
}
}

@media (max-width: 480px) {
  .shop-categories-block {
    width: 95%;
  }

  .shop-layout .shop-products-block ul.products.columns-3 li.product {
    float: none !important;
    width: 100% !important;
    margin-right: 0 !important;
    clear: both !important;
  }

  .woocommerce-products-header__title.page-title span {
    font-size: 40px !important;
    max-width: 80vw;
  }

  .csv-inner-wrapper {
    padding: 0;
  }

  body:not([class*=elementor-page-]) .site-main {
    max-width: 95% !important;
  }

  .section-title {
    font-size: 20px;
  }

  .page-header .entry-title {
    font-size: 40px;
  }

  .category-link span,
  .category-link span {
    font-size: 20px !important;
  }

  .quote-product-image {
    display: none;
  }

  .quote-product-name {
    font-size: 0.88em;
  }

  .quote-product-reference {
    font-size: 0.8em;
  }

  .quote-quantity {
    flex: 0 0 40px;
  }

  .woocommerce-products-header__title.page-title {
    top: 320px !important;
  }
}

@media (max-width: 332px) {
  .woocommerce-products-header__title.page-title {
    margin-top: 25px;
  }
}

/*******Category Menu********/
.category-toggle-mobile,
.category-list .category-link {
  display: block;
  position: relative;
  padding: 5px 5px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
  font-size: 22px;
}

.category-list .category-link {
  border-bottom: 2px solid #fff;
  margin-bottom: 15px;
  padding-bottom: 10px;
}

.category-list .category-link a {
  color: #fff;
  text-decoration: none;
  flex-grow: 1;
}

.category-list,
.subcategory-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list {
  padding: 30px;
  background: var(--category-color, #333);
  position: absolute;
  top: 350px;
  width: 350px;
}

.category-list .category-item {
  position: relative;
  margin-bottom: 8px;
}

.subcategory-list {
  display: none;
}

.category-link span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.category-toggle {
  position: static;
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
  fill: #fff;
  flex-shrink: 0;
  cursor: pointer;
}

.subcategory-list .subcategory-item>.product-link {
  font-size: 16px;
  font-weight: normal;
  padding: 5px 10px;
  display: block;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.subcategory-list .subcategory-item>.product-link:hover {
  background: #BCD2ED5C;
}

.subcategory-item.active a,
.category-link.no-child-link.active a {
  background: #BCD2ED5C;
  padding: 4px 8px;
  display: inline-block;
  transition: background 0.3s ease, color 0.3s ease;
}

.category-toggle-mobile.open .category-toggle,
.category-item.has-children.open .category-toggle {
  transform: rotate(0deg);
}

.category-item.has-children.open>.category-wrapper>.subcategory-list {
  display: block !important;
}

/********************************/
.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*=elementor-page-]) .site-main {
  max-width: 90%;
}

.site-main,
#content {
  margin-bottom: 30px;
}

#content {
  min-height: 60vh;
}

body:not([class*=elementor-page-]) .site-main {
  max-width: 1140px;
  padding: 0 2em;
}

@media (max-width: 990px) {
  body:not([class*=elementor-page-]) .site-main {
    max-width: 90%;
    padding: 0;
  }
}

.woocommerce .woocommerce-breadcrumb {
  margin: 15px 0 !important;
}

.quote-product-link {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
}

.checkbox_container {
  display: flex;
  align-items: center;
  margin-top: 1em;
}

.checkbox_container label {
  font-size: 0.88em !important;
  color: #666 !important;
  font-weight: 400 !important;
  margin: 0 !important;
  margin-left: 5px !important;
  line-height: 20px;
}

.checkbox_container input {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  background-color: white !important;
  border: 1px solid var(--primary-blue) !important; 
  cursor: pointer !important;
  position: relative !important;
}

.checkbox_container input:checked {
  background-color: var(--primary-blue) !important; 
  border-color: var(--primary-blue) !important;
}

.checkbox_container input:checked::after {
  content: "" !important;
  position: absolute !important;
  top: 3px !important;
  left: 7px !important;
  width: 5px !important;
  height: 10px !important;
  border: solid white !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
}
