/* LAYOUT
------------------------------------------ */

.tj-product-area {
    padding-top: 0 !important;
}

.shop-banner__container {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 50vh;
    padding: 15px;
}
    
.shop-banner__content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2025/12/shop-banner.webp');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 40px;
}

.shop-banner__content h2 {
    font-size: 5rem;
    color: #ffffff;
    margin-top: 1rem;
}

.golden-bottom-border {
    position: absolute;
    top: 7px;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    z-index: -1;
    background: linear-gradient(
  to right,
  #c3922e 1%,
  #e5ce89 15%,
  #fffbcc 25%,
  #f8efba 30%,
  #e7d18d 41%,
  #cca246 55%,
  #c3922e 60%,
  #eed688 87%,
  #fffbcc 100%
);
}

.pb-shop {
  padding: 10rem 0;
}

.pb-shop-search {
    position: absolute;
    width: 60%;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, calc(50% - 7px));
    background: #fff;
    border-radius: 30px;
}

.pb-shop-search__inner {
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.pb-shop-search__inner input {
    all: unset;
    width: 80%;
    padding: 2rem;
}

#pb-shop-search::placeholder {
    opacity: 0.5;
}

#pb-shop-search-btn {
    color: #fff;
    background: url('/wp-content/uploads/2025/11/btn-bg.png') center / contain no-repeat;
    padding: 2rem;
}

.pb-shop-search__clear {
    color: red;
    padding: 1rem 0 1rem 1rem;
    font-size: 2rem;
}

.pb-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pb-no-results__content {
    text-align: center;
}

.trapezoid-shape__search {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -10px;
    background: #fff;
    border-radius: 30px;
    transform: skewY(-1deg);
    z-index: -1;
    pointer-events: none;
}

.pb-shop__inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

/* Filters column (left) */
/* 1) ensure ancestors don’t block sticky (change selectors to your real wrappers) */
#content,
.site-content,
.tj-product-area,
.woocommerce {
  overflow: visible;
}

/* 2) sticky + allow filter column scrolling */
.pb-shop__filters {
  position: sticky;
  top: 200px;
  max-height: calc(100vh - 120px);
}


.pb-shop__filters-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}


/* =====================================
   Parent checkbox — indeterminate state
   (straight line instead of checkmark)
   ===================================== */

/* Hide checkmark visuals when indeterminate */
.pb-filter-checkbox__input:indeterminate + .pb-filter-checkbox__box {
  position: relative;
}

/* Draw the horizontal line */
.pb-filter-checkbox__input:indeterminate + .pb-filter-checkbox__box::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    height: 70%;
    transform: translate(-50%, -50%);
    background-color: #006838;
    width: 70%;
    border-radius: 2px;
}

/* Results section (right) */
.pb-shop__results {
  flex: 1;
}

.pb-shop__header {
  margin-bottom: 1.5rem;
}

.pb-shop__title {
  font-size: 1.8rem;
  margin: 0 0 0.25rem;
}

.pb-shop__subtitle {
  margin: 0;
  opacity: 0.7;
}

.pb-shop__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

/* LOAD MORE BUTTON
------------------------------------------ */

.pb-shop__load-more-wrap {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.pb-load-more {
  width: 100%;
  border: none;
  background: #ffffff;
  border-radius: 20px;
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #364E52;
}

.pb-load-more__label {
  white-space: nowrap;
}

.pb-load-more__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  position: relative;
}

/* little down arrow inside the red circle */
.pb-load-more__icon::before {
  content: "";
  background-image: url('/wp-content/uploads/2025/12/load-more.svg');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}


/* FILTERS WRAPPER CARD
------------------------------------------ */

.pb-filter-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pb-filter-list__item {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 1rem;
  width: 300px;
}

/* Parent row */

.pb-filter-category {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pb-filter-category__main {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  cursor: pointer;
  padding-left: 20px;
}

.pb-filter-category__label {
  font-size: 0.9rem;
  font-weight: 600;
}

.pb-filter-category__arrow {
  width: 8px;
  height: 8px;
  position: absolute;
  pointer-events: none;
}

.pb-filter-category__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border: solid red;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-3px);
  transform-origin: center;
  margin: auto;
}

/* Checkbox RIGHT side */

.pb-filter-checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.pb-filter-checkbox__input,
.pb-filter-subcheckbox__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pb-filter-checkbox__box,
.pb-filter-subcheckbox__box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #b5c8be;
  background: #ECF0F0;
  position: relative;
  cursor: pointer;
}

.gray-expand {
    width: 1px;
    height: calc(100% - 70px);
    position: absolute;
    left: 22px;
    top: 40px;
    background-color: #C9D1D1;
}

/* CHECK MARK */

.pb-filter-checkbox__box::after,
.pb-filter-subcheckbox__box::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 12px;
  border: 2px solid #006838;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
  top: 1px;
  left: 5px;
  opacity: 0;
}

.pb-filter-checkbox__input:checked + .pb-filter-checkbox__box,
.pb-filter-subcheckbox__input:checked + .pb-filter-subcheckbox__box {
  background: #ECF0F0;
  border: 1px solid #006838;
}

.pb-filter-checkbox__input:checked + .pb-filter-checkbox__box::after,
.pb-filter-subcheckbox__input:checked + .pb-filter-subcheckbox__box::after {
  opacity: 1;
}

/* SUB CATEGORIES */

.pb-filter-sublist {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0.5rem 0 0 0.7rem;
  display: none; /* hidden by default – opened via JS */
}

/* Show sublist when its parent LI is open (top level) */
/*.pb-filter-list__item.pb-filter-list__item--open > .pb-filter-sublist {*/
/*  display: block;*/
/*}*/

/* OPTIONAL: if you will have sub-sub levels using .pb-filter-sublist__item */
.pb-filter-sublist__item.is-open > .pb-filter-sublist {
  display: block;
}

/* Sub-level row layout */
.pb-filter-subrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 5px;
}

/* The 2nd-level chevron (clickable) */
.pb-filter-subtoggle{
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 18px;
  position: relative;
  text-decoration: none;
}

/* Draw the chevron */
.pb-filter-subtoggle::before{
  content:"";
  width: 8px;
  height: 8px;
  border: solid red;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transform-origin: center;
  display:block;
}

/* Rotate chevron when sub-level item is open */
.pb-filter-sublist__item--open .pb-filter-subtoggle::before{
  transform: rotate(-135deg) translate(-1px, 1px);
}


.pb-filter-list__item--has-children .pb-filter-sublist {
  /* background is inherited because it's inside the same li */
}

.pb-filter-sublist__item {
  position: relative;
  padding: 0.25rem 0 1rem 0.8rem;
}

.pb-filter-subcheckbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  width: 100%;
}

/* When parent is expanded, rotate arrow */

.pb-filter-list__item--open .pb-filter-category__arrow::before {
  transform: rotate(-135deg) translate(-2px, 1px);
}


/* RESULTS GRID
------------------------------------------ */

/* Case 1: theme wraps products in a Bootstrap-like .row inside #pb-products-wrapper */
/* We convert that row to a 3-column CSS grid */
#pb-products-wrapper {
    margin-top: 4rem;
}
#pb-products-wrapper > .row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1.75rem;
  row-gap: 5rem;
  margin-left: 0;   /* cancel bootstrap negative margins if any */
  margin-right: 0;
  list-style: none !important;
}

/* Reset Bootstrap column padding on children */
#pb-products-wrapper > .row > * {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: auto !important;
  list-style: none !important;
}

.pb-product-card, .pb-product-card__inner, .trapezoid-shape {
    transition: all 250ms ease-in-out;
}

.trapezoid-shape::after {
    content: "";
    position: absolute;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: -1;
}

.pb-product-card__inner::before, .trapezoid-shape::before {
    content: "";
    position: absolute;
    width: calc(100% + 3px);
    height: calc(100% + 3px);
    border-radius: 20px;
    background: linear-gradient(
              to bottom,
              #c3922e 7%,
              #e5ce89 15%,
              #fffbcc 25%,
              #f8efba 30%,
              #e7d18d 41%,
              #cca246 55%,
              #c3922e 60%,
              #eed688 87%,
              #fffbcc 100%
            );
    z-index: -2;
    opacity: 0;
    
}

.pb-product-card:hover .pb-product-card__inner::before, .pb-product-card:hover .trapezoid-shape::before {
    opacity: 1;
}

.pb-product-card:hover .pb-product-card__image img {
    transform: scale(1.05) translateY(-5px);
}

/* Just in case Bootstrap sets flexbox on row items */
#pb-products-wrapper > .row > li.pb-product-card {
  flex: 0 0 auto;
}

/* Hide short description ONLY on shop grid */
.post-type-archive-product .pb-product-card__subtitle {
  display: none;
}


.pb-products-count {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #000;
}

/* Case 2: default WooCommerce <ul class="products"> layout */
ul.products {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

/* Remove WooCommerce default floats / widths */
ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  list-style: none !important;
}


/* PRODUCT CARD
------------------------------------------ */

.pb-product-card__inner {
  position: relative;
  background-color: #ffffff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.trapezoid-shape {
    position: absolute;
    top: -40px;
    width: 100%;
    height: 100px;
    background: #fff;
    border-radius: 20px;
    transform: skewY(5deg);
    z-index: -1;
}

.pb-product-card__badges {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.pb-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pb-badge--primary {
  background: #ffcc00;
  color: #262626;
}

.pb-badge--secondary {
  background: #00a869;
  color: #ffffff;
}

.pb-product-card__image-link {
  display: block;
}

.pb-product-card__image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.8rem;
}

.pb-product-card__image img {
  max-height: 180px;
  width: auto;
  display: block;
}

.pb-product-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

html[dir="rtl"] .pb-product-card__info {
    align-items: flex-end;
}

.pb-product-card__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  font-family: "Conthrax", sans-serif;
}

.pb-product-card__title a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  flex-direction: column;
}

/* TYPE TAGS ABOVE TITLE */

.pb-product-card__tags {
  margin-bottom: 0.3rem;
}

.pb-product-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 7px 1px 2px;
  border-top-right-radius: 15px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  font-style: italic;
}

/* Colors per tag type */
.pb-product-card__tag--gpl {
  background-color: #88AF3F; /* green */
}

.pb-product-card__tag--lubrifiant {
  background-color: #EF3F29; /* red */
}

.pb-product-card__tag--glaciol {
  background-color: #019BFD; /* blue */
}

.pb-product-card__tag--carburant {
  background-color: #000000; /* black */
}

.pb-product-card__tag--entretien {
  background-color: #88AF3F; /* green */
}


.pb-product-card__title-1 {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #364E52;
}

.pb-product-card__title-2 {
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #364E52;
}


.pb-product-card__subtitle {
  font-size: 1rem;
  opacity: 1;
  color: #364E52;
}

.pb-single__docs {
    display: flex;
}

.pb-single__pdf {
    display: flex;
    align-items: center;
    position: relative;
    width: 282px;
    height: 65px;
}

.pb-single__pdf span {
    color: #fff;
    font-weight: 600;
    margin-left: 10%;
}

.downloadPDF-animation {
    position: absolute;
    display: grid;
    place-items: center;
    left: 230px;
    top: 50%;
    transform: translateY(-56%);
    width: 33px;
    height: 33px;
    overflow: hidden;
    border-radius: 50%;
}

.downloadPDF-animation img {
    position: relative;
    transform: translateY(-100%);
    animation: downloadPDF 3s linear infinite;
    will-change: transform;
    width: 20px;
    height: 20px;
}

@keyframes downloadPDF {
  0%   { transform: translateY(-200%); } /* start above */
  33%  { transform: translateY(0%); }    /* arrive center */
  66%  { transform: translateY(0%); }    /* hold (pause) */
  100% { transform: translateY(200%); }  /* continue below */
}

.pb-single__pdf::before {
    content: "";
    position: absolute;
    background: url('/wp-content/uploads/2026/01/dw-btn.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.pb-single_tags {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.pb-single_tags div {
    display: flex;
    padding: 10px 15px;
    border-radius: 20px;
    color: #364E52;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #fff;
}

.pb-product-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.pb-product-card__price {
  font-weight: 700;
}

.pb-product-card__cta .button {
  border-radius: 999px;
}

/* POPUP
------------------------------------------ */
.cf7-popup {
  position: fixed;
  inset: 0;
  z-index: 9999999 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease-in-out;
}

.cf7-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.cf7-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

.cf7-popup__content {
  position: relative;
  width: 70%;
  height: 70%;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  transform: translateY(30px) scale(0.5);
  opacity: 0;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
  z-index: 999999;
}

.cf7-popup.active .cf7-popup__content {
  transform: translateY(0) scale(0.7);
  opacity: 1;
}

.cf7-popup__close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 24px;
  background: none;
  border: 0;
  cursor: pointer;
  transition: transform 250ms ease;
}
.cf7-popup__close:hover {
  transform: scale(1.1);
  color: red;
}



/* ANIMATIONS & LOADING STATES
------------------------------------------ */

/* Support both naming patterns just in case JS uses either */
.pb-shop-results--loading,
.pb-shop__results--loading {
  position: relative;
  opacity: 0.6;
  pointer-events: none;
}

.pb-shop-results--animate-in ul.products li,
.pb-shop__results--animate-in ul.products li {
  animation: pb-card-fade-in 0.35s ease;
}

/* When loading, make icon spin */
.pb-load-more.is-loading .pb-load-more__icon::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    border-top-color: #ffffff;
    position: absolute;
    top: 5px;
    left: 6px;
    animation: pb-spin 0.7s linear infinite;
}

/* Hide the arrow while loading */
.pb-load-more.is-loading .pb-load-more__icon {
    background: #e53232;
}
.pb-load-more.is-loading .pb-load-more__icon::after {
    display: none;
}

@keyframes pb-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


@keyframes pb-card-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*Single product styles*/

.pb-related > * {
    list-style: none;
}

.pb-single {
    display: flex;
    min-height: 65vh;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.pb-single-page {
  padding: 150px 0 100px 0;
}

.pb-single__media {
    width: 50%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.pb-single__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.pb-single__media-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55%;
    height: 55%;
}

.pb-single__media-box img {
    width: 100%;
}

.pb-single__content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pb-single__content .pb-product-card__tag {
    font-size: 1rem;
}

.pb-single__content .pb-product-card__title-1 {
    font-size: 1rem;
}

.pb-single__content .pb-product-card__title-2 {
    font-size: 3rem;
    line-height: 0.9;
    width: 100%;
}

.pb-single .pb-product-card__title {
    padding: 0;
    gap: 1rem;
}
.pb-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
}
.pb-hero__mediaBox {
  background: #fff;
  border: 2px solid #e8c56a;
  border-radius: 24px;
  padding: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pb-badge {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 6px 0 8px;
}
.pb-subtitle {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 10px;
}
.pb-title {
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.pb-desc {
  margin: 0 0 18px;
  opacity: 0.75;
  max-width: 560px;
}
.pb-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #e53935;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.pb-cta__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.pb-chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pb-chip {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 12px;
}

.pb-tabs {
  margin-top: 1rem;
  background: transparent;
  padding: 0;
  position: relative;
}

/* White only on labels row */
.pb-tabs__nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
}

.pb-tab {
  font-weight: 700;
  cursor: pointer;
  padding: 2rem 3rem 2rem 2rem;
  position: relative;
  min-width: 250px;
  transition: all 220ms ease;
  z-index: 2;
  color: #364E52;
}

.pb-tabs__highlight{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 1;
  background-image: url('/wp-content/uploads/2025/12/tabs-nav-bgg.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 280ms ease, width 280ms ease;
  pointer-events: none;
}
 
 .pb-tab::after {
    content: "";
    opacity: 0;
    position: absolute;
    left: 47%;
    transform: translateX(-50%);
    bottom: 15px;
    width: 0px;
    height: 2px;
    background: #e53935;
    transition: all 220ms ease;
}
    
.pb-tab.is-active::after {
    opacity: 1;
    width: 50px;
}


/* White only on content box */
.pb-tabs__panel {
  opacity: 0;
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  margin-top: -15px;
  position: absolute;
  left: -7px;
  right: 0;
  transform: translateX(40px); /* default */
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.pb-tabs__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pb-tabs__panel ul li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
}

.pb-tabs__panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  background: url("/wp-content/uploads/2026/02/gazala-bulletpoint.svg") no-repeat center / contain;
}

.pb-tabs__panel.from-left  { transform: translateX(-40px); }
.pb-tabs__panel.from-right { transform: translateX(40px); }

.pb-tabs__panel.is-active {
  opacity: 1;
  position: relative;
  transform: translateX(0);
  pointer-events: auto;
}

.pb-related {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6rem;
}

.pb-related__titles p {
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 800;
  color: #006838;
  text-align: center;
}

.pb-related__titles h3 {
  font-size: 3rem;
  font-weight: 800;
  color: #002A17;
  text-align: center;
}

.pb-related .pb-product-card__subtitle {
  display: none;
}

/* Single product: related grid = 4 columns */
.pb-related .row li {
    width: 280px !important;
    flex-grow: 1;
}

.pb-related ul.products .row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* If you want it always a single line: */
.pb-related ul.products {
  row-gap: 0; /* optional */
}


/*SIngle product contenance */
/* Hero image transition */
#pb-single-hero img{
  opacity: 1;
  transition: opacity 250ms ease;
  will-change: opacity;
}

#pb-single-hero img.is-fading{
  opacity: 0;
}

.pb-cont-carousel h6 {
    color: #364E52;
    font-family: "Conthrax", sans-serif;
}

.pb-contenances {
    display: flex;
    gap: 20px;
}

.pb-contenances img {
    width: 18px;
    height: 27px;
}

.pb-cont-carousel button {
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* RESPONSIVE
------------------------------------------ */

@media (max-width: 1024px) {
    
  .pb-single-page {
        padding: 50px 0 100px 0;
  }

  #pb-products-wrapper > .row,
  ul.products {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  
  .pb-single__media {
      width: 45%;
      height: 400px;
  }
  
  .pb-single__content {
      width: 55%;
  }
  
  .pb-single__content {
      gap: 0.5rem;
  }
  
  .pb-single__content .pb-product-card__tag {
    font-size: 0.6rem;
  }
  
  .pb-single .pb-product-card__title {
      gap: 0.5rem;
  }
  
  .pb-single__content .pb-product-card__title-1 {
      font-size: 1rem;
  }
  
  .pb-single__content .pb-product-card__title-2 {
      width: 100%;
      font-size: 2rem;
  }
  
  .pb-single_tags div {
      padding: 5px 10px;
      font-size: 0.6rem;
  }
  
  .downloadPDF-animation {
      left: 306px;
  }
  
  .pb-tabs__nav {
      flex-wrap: nowrap;
      gap: 0;
  }
  
  .pb-tab {
      padding: 1rem 2rem 2rem 1rem;
      font-size: 0.8rem;
  }
  
  .pb-tabs__panel {
      width: 110%;
  }
  
  .pb-related .row {
      display: grid;
      column-gap: 1rem;
      row-gap: 5rem;
      grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .pb-related .row li {
      width: 100% !important;
  }
  
}

@media (max-width: 575px) {
    .pb-tabs__highlight {
        height: 101%;
    }
    .pb-tabs__panel {
        border-radius: 10px;
    }
    .pb-related__titles h3 {
  font-size: 2rem;
    }
    .pb-shop-search__clear {
        display: none !important;
    }
    .pb-shop {
        padding: 6rem 0;
    }
    .shop-banner__container {
    height: 35vh;
}
    /* Filters stop being sticky on small screens */
  .pb-shop__filters {
    position: static;
    max-height: none;
    overflow: visible;
  }
  
  
  .pb-shop__results {
    width: 100%;
  }
  
  .pb-filter-list__item {
    width: 100%;
  }
    
    .pb-shop__inner {
    flex-direction: column;
  }
    
  .pb-related > .row,
  .pb-related .row li {
    width: 100% !important;
}

.pb-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pb-title {
    font-size: 34px;
  }

.pb-related > .row {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 6rem;
}
  .pb-single-page {
      padding: 110px 0 50px 0;
  }
  .pb-single {
      height: unset;
      flex-direction: column;
  }
  .pb-single__content, .pb-single__media {
      width: 100%;
  }
  .pb-single__content .pb-product-card__title-1 {
    font-size: 1rem;
}

.pb-single__content .pb-product-card__title-2 {
    font-size: 3.5rem;
    width: 100%;
}
.pb-tabs__nav {
    flex-wrap: unset;
    gap: unset;
}
.pb-tab {
    font-size: 0.6rem;
    min-width: unset;
    padding: 1.5rem 1rem;
}
#pb-products-wrapper > .row, ul.products {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.shop-banner__content h2 {
    font-size: 3rem;
    text-align: center;
}
.pb-shop__filters {
    width: 100%;
}
.pb-shop-search {
    width: 80%;
}
.pb-shop-search__inner {
    padding: 0 .5rem;
}
.pb-shop-search__inner input {
    width: 100%;
    padding: 1rem;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    white-space: nowrap;
}
#pb-shop-search-btn {
    padding: 1rem;
    position: absolute;
    margin-bottom: -10px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}
.downloadPDF-animation {
    left: 141px;
    width: 20px;
    height: 20px;
}
/*.pb-single_tags {*/
/*    justify-content: center;*/
/*}*/
.pb-tabs__panel {
    top: -8px;
    left: -7px;
    width: 104%;
}

.pb-single__pdf {
    height: 40px;
}

.pb-single__pdf::before {
    width: 95%;
}

.pb-single__pdf span {
    font-size: 12px;
}

.downloadPDF-animation img {
    width: 10px;
    height: 10px;
}

.custom-popup .dist-form__title {
    line-height: 1.2rem;
}

.custom-popup .dist-form__row {
    gap: 10px;
}

.custom-popup .message {
    margin-top: 10px !important;
}

.custom-popup .dist-form__body, .custom-popup .dist-form__actions {
    margin-top: unset;
}

.custom-popup .dist-form__consent-text {
    font-size: 10px;
    line-height: 16px;
}

.cf7-popup__content {
    width: 90%;
    height: 98%;
}

.cf7-popup.active .cf7-popup__content {
    transform: translateY(0) scale(1);
}
}
