/**---------------------------------------------------------**/
/**-----------    COMPARISON TABLE - master    --------**/
/**---------------------------------------------------------**/
#wrapper {
  max-width: 100%;
  /*pacth v3 preview*/
}

.comparison-table {
  --FONT-CLARINS: "ClarinsRegular", "Clarins";
  --FONT-GOTHAM-LIGHT: "Gotham_Light";
  --FONT-GOTHAM-BOOK: "Gotham SSm book A", "Gotham SSm book B", "Gotham Book", Helvetica, Arial, sans-serif;
  --FONT-GOTHAM-MEDIUM: "Gotham SSm medium A", "Gotham SSm medium B", "Gotham Medium", "GothamMedium", Helvetica, Arial, sans-serif;
  font-family: var(--FONT-GOTHAM-BOOK);
  --RED: #B40024;
  --CHARCOAL: #333;
  --STONE: #B0A9A5;
  --HOVER: 0 0 7px 0 rgba(0, 0, 0, 0.15);
  --FOCUS-VISIBLE: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #6893d2;
  --label-color: #f5efeb;
  --border-color: #d3ccc8;
  --background-color: #ffffff;
  --padding: 20px;
  --image-size: 230px;
  --num-cols: 10;
  --max-cols: 5;
  --padd-v-1: 8px;
  --padd-v-2: 16px;
  --padd-v-3: 24px;
  --padd-v-4: 32px;
  --padd-h-1: 20px;
  --padd-h-2: 40px;
  --padd-h-3: 60px;
  --padd-h-4: 80px;
  --label-h: 37px;
  --captionHeight: calc(26px + var(--padd-v-3) * 2);
  container-type: inline-size;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  max-width: calc(var(--image-size) * var(--max-cols) + 0.5 * var(--max-cols) * 1px);
  margin: 0 auto;
  margin-top: 40px;
}

@media (max-width: 1279px) {
  .comparison-table {
    width: 100%;
  }
}

@media (max-width: 761px) {
  .comparison-table {
    margin-top: 16px;
  }
}

.comparison-table * {
  box-sizing: border-box;
  user-drag: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/***comparison-table NAV****/


.comparison-table-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  height: 44px;
  margin-top: var(--padd-v-2);
  gap: var(--padd-h-2);
  background-color: #fff;
  transition: opacity 0.25s ease-in-out;
}

.comparison-table-nav__scrollbar {
  transition: opacity 0.25s ease-in-out;
}

.comparison-table-nav[data-sticky] {
  position: sticky;
  bottom: -1px;
  z-index: 3;
}

@media (max-width: 761px) {
  .comparison-table-nav {
    padding-left: var(--padding);
    padding-right: var(--padding);
  }
}

@media (min-width: 762px) {
  .comparison-table-nav__scrollbar {
    opacity: 0;
  }

  .comparison-table:hover .comparison-table-nav__scrollbar {
    opacity: 1;
  }
}

.comparison-table-nav__controls {
  display: flex;
  gap: var(--padd-v-1);
}

.comparison-table-nav__scrollbar {
  flex: 1;
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  outline: 0;
}

.comparison-table-nav__scrollbar::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
}

.comparison-table-nav__thumb {
  position: absolute;
  padding: 0;
  top: 0;
  left: 0;
  width: 50%;
  height: 44px;
  display: flex;
  align-items: center;
  background-color: transparent;
  border: 0px solid;
  outline: 0 !important;
  cursor: pointer;
}

.comparison-table-nav__thumb::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--CHARCOAL);
}

.comparison-table-nav__scrollbar:hover .comparison-table-nav__thumb::before {
  height: 4px;
  border-radius: 2px;
}

.comparison-table-nav__thumb[data-grabbing="1"]::before {
  height: 4px;
  border-radius: 2px;
}

.comparison-table-nav__thumb[data-anim="1"]::before {
  animation: TouchScrollbar linear 0.25s both;
  border-radius: 2px;
}

@keyframes TouchScrollbar {
  0% {
    height: 4px;
  }

  100% {
    height: 1px;
  }

}

.comparison-table-nav__scrollbar:focus-visible .comparison-table-nav__thumb::before {
  box-shadow: var(--FOCUS-VISIBLE);
  height: 4px;
  border-radius: 2px;
}

.comparison-table-nav__arrow {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 5px !important;
  box-sizing: border-box;
  background-color: #fff !important;
  border: 0px solid !important;
  outline: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  min-width: unset !important;
  cursor: pointer;
}

.comparison-table-nav__arrow::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("../img/arrow.svg");
  transition: transform 0.15s linear;
  pointer-events: none;
}

.comparison-table-nav__arrow[disabled] {
  pointer-events: none;
}

.comparison-table-nav__arrow[disabled]::before {
  opacity: 0.5;
}

.comparison-table-nav__arrow:focus-visible {
  box-shadow: var(--FOCUS-VISIBLE);
}

.comparison-table-nav__arrow[data-action="previous"]::before {
  transform: scaleX(-1);
}

@media (min-width: 761px) {
  .comparison-table-nav__arrow:hover {
    box-shadow: var(--HOVER);
  }

  .comparison-table-nav__arrow[data-action="next"]:hover::before {
    animation: arrowHoverNext 0.5s linear;
  }

  .comparison-table-nav__arrow[data-action="previous"]:hover::before {
    animation: arrowHoverPrevious 0.5s linear;
  }

  @keyframes arrowHoverNext {
    0% {
      transform: translateX(0px);
    }

    50% {
      transform: translateX(3px);
    }

    100% {
      transform: translateX(0px);
    }

  }

  @keyframes arrowHoverPrevious {
    0% {
      transform: scaleX(-1);
    }

    50% {
      transform: scaleX(-1) translateX(3px);
    }

    100% {
      transform: scaleX(-1);
    }
  }
}



/***comparison-table TITLE****/
.comparison-table-caption {
  font-size: 20px;
  line-height: 26px;
  font-family: var(--FONT-GOTHAM-MEDIUM);
  font-weight: normal;
  color: var(--CHARCOAL);
  text-align: center;
  padding: var(--padd-v-3);
}

.comparison-table caption {
  position: sticky;
  left: 0px;
  top: 0;
  width: 100%;
  background-color: #fff;
}


/***comparison-table CTAS****/
.comparison-table-cta {
  background-color: var(--WHITE) !important;
  display: inline-flex;
  color: var(--CHARCOAL) !important;
  padding: 14px 16px;
  font-weight: normal;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 15px;
  font-family: var(--FONT-GOTHAM-MEDIUM);
  cursor: pointer;
  text-align: center;
  border-radius: 5px !important;
  height: 44px;
  box-sizing: border-box;
  text-transform: unset !important;
  letter-spacing: unset !important;
  outline: 0 !important;
  border: 1px solid var(--STONE);
  place-items: center;
}

.comparison-table-cta:hover {
  background-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--HOVER);
}

.comparison-table-cta:active {
  background-color: rgba(255, 255, 255, 0.5);
}

.comparison-table-cta:focus-visible {
  box-shadow: var(--FOCUS-VISIBLE);
}

/***comparison-table TABLE ***/


.comparison-table .comparison-table-wrapper {
  position: relative;
  top: 0;
  left: 0;
}

.comparison-table .comparison-table-wrapper::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0;
  width: 10px;
  height: var(--captionHeight);
  background-color: #fff;
  display: block;
  z-index: 2;
}

.comparison-table .comparison-table-wrapper::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 0;
  width: 10px;
  height: var(--captionHeight);
  background-color: #fff;
  display: block;
  z-index: 2;
}

.comparison-table table {
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border-collapse: collapse;
  background-color: #fff;
  container-type: inline-size;

  border: 1px solid var(--border-color);
  border-top: none;
  overflow-x: scroll;
  scroll-behavior: initial;
  scrollbar-width: none;
}

@media (max-width: 761px) {
  .comparison-table table {
    /*overscroll-behavior-x: contain;*/
  }

}

.comparison-table thead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-collapse: collapse;
  position: relative;
}


.comparison-table tbody {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-collapse: collapse;
  border-top: 0px;
  margin-top: 0px !important;
  z-index: 2;
}

.comparison-table tr {
  border-collapse: collapse;
}

.comparison-table th {
  padding: 0;
  width: var(--image-size);
}

.comparison-table-products__row {
  display: flex;

}

.comparison-table-products__row[data-infos="image"] {
  z-index: 51;
}

.comparison-table-products__row[data-infos="image"] th {
  border-top: 1px solid var(--border-color);
}

.comparison-table-products {
  display: flex;
  justify-content: flex-start;

  height: 100%;
  margin-bottom: -1px;
}

.comparison-table-products th:nth-child(1) {
  position: absolute;
  left: 0;
  width: 0px;
  overflow: hidden;
}


.comparison-table-products th {
  padding: 0;
}

.comparison-table-product {
  display: flex;
  width: var(--image-size);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  box-sizing: border-box;
  height: 100%;
}

.comparison-table-product__infos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  height: 100%;
  background-color: var(--background-color);
  width: 100%;
  gap: var(--padd-v-2);
  padding: var(--padd-v-2) var(--padd-h-1);
  padding-bottom: var(--padd-v-3);
  flex: 1;
  border-left: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  box-sizing: border-box;
}

.comparison-table-products th:nth-child(2) .comparison-table-product__infos {
  border-left: 0px;
}

th+td .comparison-table-product__infos {
  border-left: 0px;
}

.comparison-table-product__name {
  font-family: var(--FONT-GOTHAM-MEDIUM);
  font-size: 14px;
  line-height: 20px;
  font-weight: normal;
  color: var(--CHARCOAL);
  text-align: center;
  flex: 1;
}

.comparison-table-product>i-tag-tc-event {
  z-index: 2;
}

.comparison-table-product__packshot {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-color);
  width: var(--image-size);
  height: var(--image-size);
  box-sizing: border-box;
  border-left: 1px solid var(--border-color);
  outline: 0 !important;
  cursor: pointer;
}

.comparison-table-products[data-sticky="1"][data-collapse="1"] .comparison-table-product__packshot>img {
  border-bottom: 1px solid var(--border-color);
}

.comparison-table-products th:nth-child(2) .comparison-table-product__packshot {
  border-left: 0px;
}

.comparison-table-product__packshot::before {
  content: "";
  display: block;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  position: absolute;
  border-radius: 0;
  top: 3px;
  left: 3px;
  z-index: 1;
}

.comparison-table-product__packshot:focus-visible::before {
  box-shadow: var(--FOCUS-VISIBLE);
}

th+td .comparison-table-product__packshot {
  border-left: 0px solid var(--border-color);
}

.comparison-table-product__packshot>img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.comparison-table-concerns__row {
  background-color: var(--background-color);
  position: relative;
  display: flex;
  justify-content: flex-start;
  max-width: calc(var(--image-size) * var(--max-cols));
  outline: 0;
  width: calc(var(--image-size) * var(--max-cols));
}


.comparison-table-concerns th {
  position: sticky;
  left: 0;
  top: 0;
  width: 0;
  height: 40px;
  z-index: 2;
}

.comparison-table-concerns th span {
  position: absolute;
  width: 100cqw;
  background-color: var(--label-color);
  height: var(--label-h);
  border-top: #D3CCC8 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--FONT-GOTHAM-MEDIUM);
  font-size: 14px;
  line-height: 20px;
  font-weight: normal;
  color: var(--CHARCOAL);
  text-align: center;
}


@media (max-width: 761px) {
  .comparison-table-concerns th span {
    width: 100vw;
    text-align: left;
    padding-left: var(--padd-h-1);
    justify-content: flex-start;
  }
}

.comparison-table-concerns td {
  padding: 0;
  box-sizing: border-box;
  width: calc(var(--image-size) + var(--padding) * 2);
  outline: 0 !important;
}

.comparison-table-concerns td ul {
  padding: 0;
  margin: 0;
  height: 100%;
  border-left: 1px solid var(--border-color);
  list-style: none;
  padding: var(--padd-v-2) var(--padding);
  padding-top: calc(var(--padd-v-2) + var(--label-h));
  box-sizing: border-box;
  width: var(--image-size);
  text-align: center;
  position: relative;
  font-family: var(--FONT-GOTHAM-BOOK);
  font-size: 14px;
  line-height: 20px;
  font-weight: normal;
  color: var(--CHARCOAL);
  text-align: center;
}

.comparison-table-concerns td ul strong {
  font-family: var(--FONT-GOTHAM-MEDIUM);
  font-weight: normal;
}

.comparison-table-concerns th+td ul {
  border-left: 0px;
}

.comparison-table-concerns td ul::before {
  content: "";
  display: block;
  width: calc(100% - 12px);
  height: calc(100% - 12px - 37px);
  position: absolute;
  border-radius: 3px;
  top: 43px;
  left: 6px;
  z-index: 1;
}

.comparison-table-concerns td ul li span {
  display: block;
}

.comparison-table-concerns td:focus-visible ul::before {}

.comparison-table-concerns img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: var(--padding);
}

/**pre render CSS for no-js version*/
#comparison-table-data .comparison-table {
  display: flex;
  flex-direction: column;
  width: calc(100% - 80px);
  margin: 0 auto;
  max-width: 1380px;
  padding-bottom: var(--padd-v-3);
}

#comparison-table-data .comparison-table-items-list {
  height: 0px;
  overflow: hidden;

}

#comparison-table-data .comparison-table-header p {
  margin: 0;
  font-size: 20px;
  line-height: 26px;
  font-family: var(--FONT-GOTHAM-MEDIUM);
  font-weight: normal;
  color: var(--CHARCOAL);
  text-align: center;
  padding: var(--padd-v-3);
}

#comparison-table-data .comparison-table-products-list {
  display: flex;
  overflow-x: scroll;
  border: 1px solid var(--border-color);
  scrollbar-width: thin;
}


#comparison-table-data .comparison-table-product {
  width: 230px;
  min-width: 230px;
  height: auto;
  border-right: 1px solid var(--border-color);
  border-left: 0px;
}

#comparison-table-data .comparison-table-product img {
  width: 100%;
  height: auto;
}

#comparison-table-data .comparison-table-product-price,
.comparison-table-product-description {
  height: 0px;
  overflow: hidden;
}

#comparison-table-data .comparison-table-product:last-child {
  border-right: 0px;
}

#comparison-table-data .comparison-table-product-name {
  padding: 16px 20px;
  font-family: var(--FONT-GOTHAM-MEDIUM);
  font-size: 14px;
  line-height: 20px;
  font-weight: normal;
  color: var(--CHARCOAL);
  text-align: center;
}

#comparison-table-data .comparison-table-product a {
  background-color: var(--WHITE) !important;
  display: inline-flex;
  color: var(--CHARCOAL) !important;
  padding: 14px 16px;
  font-weight: normal;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 15px;
  font-family: var(--FONT-GOTHAM-MEDIUM);
  cursor: pointer;
  text-align: center;
  border-radius: 5px !important;
  height: 44px;
  box-sizing: border-box;
  text-transform: unset !important;
  letter-spacing: unset !important;
  outline: 0 !important;
  border: 1px solid var(--STONE);
  place-items: center;
}

#comparison-table-data .comparison-table-product ul {
  list-style: none;
  margin: 0;
  padding: 16px 0px;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  text-align: center;
  font-family: var(--FONT-GOTHAM-BOOK);
  font-size: 14px;
  line-height: 20px;
  font-weight: normal;
  color: var(--CHARCOAL);
  text-align: center;
}

#comparison-table-data .comparison-table-product ul li {
  padding: 0px 20px;
  padding-top: 16px;
}

#comparison-table-data .comparison-table-product ul li span {
  display: block;
}