/** Shopify CDN: Minification failed

Line 1699:0 Expected "}" to go with "{"

**/
:root {
  --mask-size: 40px;
  --mask-left: transparent;
  --mask-right: transparent;
  --mask-top: transparent;
  --mask-bottom: transparent;
}

/* Utilitaires pour le dégradé de scroll */
.scroll-fade-h {
  -webkit-mask-image: linear-gradient(
    to right,
    var(--mask-left) 0%,
    black var(--mask-size),
    black calc(100% - var(--mask-size)),
    var(--mask-right) 100%
  );
  mask-image: linear-gradient(
    to right,
    var(--mask-left) 0%,
    black var(--mask-size),
    black calc(100% - var(--mask-size)),
    var(--mask-right) 100%
  );
  transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
}

.scroll-fade-v {
  -webkit-mask-image: linear-gradient(
    to bottom,
    var(--mask-top) 0%,
    black var(--mask-size),
    black calc(100% - var(--mask-size)),
    var(--mask-bottom) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    var(--mask-top) 0%,
    black var(--mask-size),
    black calc(100% - var(--mask-size)),
    var(--mask-bottom) 100%
  );
  transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
}

.configurator #configurator-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  margin-block: 60px;
  padding-inline: 10px;

  & > .configurator-left-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    width: 52%;
    max-width: 800px;
    min-width: 0;
    overflow: hidden;

    & > .shopify-app-block {
      width: 100%;
    }
  }
}

.configurator-left-section-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  max-width: 1000px;
  margin: auto;
}

.configurator-right-section {
  width: 48%;
  max-width: 662px;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  & > * {
    border-radius: 12px;
  }
}

.configurator #configurator-content-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
  width: 100%;
  padding: 30px;
}

.configurator-form-header {
  & * {
    text-transform: unset;
  }

  & > h1 {
    background-image: linear-gradient(90deg, #99a0a7, #475159);
    color: transparent;
    background-clip: text;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
  }

  & > h2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
  }

  & > .configurator-price-energy-badge-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;

    & > .clim-price {
      font-size: 30px;
      font-weight: 500;
      margin-block: 0;
    }

    & .configurator-price-compare {
      text-decoration: line-through;
      color: #858585;
      font-size: 0.7em;
      margin-right: 10px;
      font-weight: 400;
    }

    & .price--on-sale .configurator-price-sale {
      color: #d32f2f;
    }

    & .price--on-sale {
      display: flex;
      align-items: center;
      gap: 8px;
    }
  }

  & > .configurator-header-badges {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
    flex-wrap: wrap;

    & > .configurator-badge {
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;
      flex: 1;

      & > svg,
      & > img {
        min-width: 20px;
        margin-right: 5px;
      }

      & > .configurator-badge_right-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        & * {
          line-height: 1.2;
        }

        & > .configurator-badge__title {
          font-size: 15px;
          font-weight: 700;
          padding-top: 3px;
        }

        & > .configurator-badge__description {
          font-size: 15px;
          font-weight: 400;
        }
      }
    }
  }

  & > .configurator-banner-container {
    & > .configurator-banner {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
      padding: 15px;
      border-radius: 8px;
      gap: 10px;

      & > svg,
      & > img {
        min-width: 25px;
        margin-right: 5px;
      }

      & > .configurator-banner_right-side {
        display: flex;
        flex-direction: column;
        justify-content: center;

        & * {
          line-height: 1.2;
        }

        & > .configurator-banner__title {
          font-size: 16px;
          font-weight: 600;
        }

        & > .configurator-banner__description {
          font-size: 15px;
          font-weight: 400;
        }

        & p {
          margin-block: 0;
        }
      }
    }
  }
}

.configurator--disabled {
  opacity: 0.5;
  pointer-events: none;
}

.configurator #configurator-content-form > * {
  width: 100%;
  max-width: 750px;
}

.configurator #configurator-content-form > .configurator-container-card {
  position: relative;
  border: 1px solid #dfdfdf;
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  margin-inline: 25px;
  margin-block: 7px;
}

.configurator-badge-text {
  position: absolute;
  top: -11px;
  right: 3%;
  background: linear-gradient(90deg, #096ed5 0%, #59abff 100%);
  color: white;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 13px;
  z-index: 10;
}

.configurator-content-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  position: relative;

  &:has(.configurator-title-icon-arrow) {
    cursor: pointer;
    margin-bottom: 0;
  }

  & h3 {
    margin: 0;
    font-size: 13px;
  }

  & .configurator-title-icon {
    margin-right: 10px;
  }

  & .configurator-content-title-left {
    display: inline-flex;
    align-items: center;
    justify-content: left;
  }
}

.configurator-content-type-cards {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 15px;
  margin-top: -15px;
  padding-bottom: 8px;
  gap: 10px;
  scrollbar-width: thin;
  --mask-size: 15px;

  & > .clim-split-card {
    flex-shrink: 0;
    position: relative;
    width: 135px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    border: 1px solid #a4bdd5;
    border-radius: 5px;
    background-color: #f2f8fe;
    cursor: pointer;
    padding: 10px 5px;

    & > img {
      margin-bottom: 10px;
    }

    & > .clim-split-card__title {
      font-size: 13px;
      font-weight: 600;
      margin: 0;
      text-transform: unset;
    }

    & > .clim-split-card__subtitle {
      font-size: 13px;
      font-weight: 400;
      color: #858585;
      margin: 0;
      line-height: 1;
      text-align: center;
    }

    & > .clim-split-card__price {
      font-size: 14px;
      font-weight: 600;
      color: #242424;
      margin: 0;
    }
  }
}

.configurator-explanation-under-card {
  font-size: 14px;
  font-weight: 400;
  color: #565656;
  margin: 0;
  margin-top: 12px;
  line-height: 1;
}

.configurator-content-power-cards {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 15px;
  margin-top: -15px;
  padding-bottom: 8px;
  gap: 10px;
  scrollbar-width: thin;
  --mask-size: 15px;

  /* Assuming a default mask size for this */
  & > .configurator-option-chip {
    flex-shrink: 0;
  }
}

.configurator-option-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  border-radius: 5px;
  border: 1px solid #a4bdd5;
  background-color: #f2f8fe;
  cursor: pointer;
  padding: 10px;
  min-height: 42px;

  &:has(.configurator-option-chip__plus) {
    border: none;
    min-width: 42px;
    justify-content: center;
  }

  & > .configurator-option-chip__plus {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    line-height: 1;
    color: #016fd0;
  }

  &:has(.configurator-option-chip__price:not(:empty)) {
    min-width: 135px;
  }

  &:not(:has(.configurator-option-chip__price:not(:empty))) {
    & > .configurator-option-chip__text {
      margin: 0;
    }
  }

  & > .configurator-option-chip__text {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    margin-right: 10px;
    line-height: 1;
  }

  & > .configurator-option-chip__price {
    font-size: 12px;
    font-weight: 400;
    margin: 0;
  }
}

.configurator-content-readyclim-cards {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 15px;
}

& .configurator-content-readyclim-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Component Price Strikethrough Styles */
.clim-split-card__price,
.configurator-option-chip__price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.clim-split-card__price s,
.configurator-option-chip__price s {
  text-decoration: line-through;
  color: #858585;
  font-size: 0.9em;
  font-weight: 400;
}

.clim-split-card__price .configurator-price-sale,
.configurator-option-chip__price .configurator-price-sale {
  color: #181825;
}

.clim-split-card__price .configurator-price-compare + .configurator-price-sale,
.configurator-option-chip__price
  .configurator-price-compare
  + .configurator-price-sale {
  color: #d32f2f;
  font-weight: 600;
}

.configurator-collapsible-toggle {
  position: absolute;
  width: 100%;
  height: 100%;
}

.configurator-collapsible-content {
  height: auto;
  overflow: hidden;
  transition: height 220ms ease;
}

.configurator--collapsed > .configurator-collapsible-content {
  height: 0;
  margin-top: 0;
}

.open-collapsible,
.close-collapsible {
  display: none;
}

/* Information Cards Styles */
.configurator-informations {
  display: flex;
  flex-direction: column;
  margin-block: 20px;
  width: 100%;

  & > .configurator-information-card {
    border-top: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;

    &:last-child {
      border-bottom: 1px solid #e0e0e0;
    }

    & > .configurator-information-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 0;
      cursor: pointer;

      & > h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #333;
      }

      & > .configurator-information-card-collapsible-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        position: relative;
      }
    }

    &.configurator--collapsed .configurator-content {
      height: 0;
      padding: 0 20px;
    }

    & > .configurator-content {
      padding: 20px 0;
      transition: height 0.3s ease;
      overflow: hidden;
    }

    & > .characteristics-container {
      display: flex;
      flex-direction: column;

      & > .characteristic-item {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        margin: 0;
        color: #202020;

        &:nth-child(odd) {
          background-color: #f8f8f8;
        }

        & > .label {
          font-weight: 600;
        }

        & > .value {
          font-weight: 400;
        }
      }
    }

    & > .accessories-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;

      & > .accessory-item {
        display: inline-flex;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 15px;
        margin: 0;
        background-color: #f8f9fa;
        border-radius: 8px;

        & > img {
          width: 45px;
          height: 45px;
          object-fit: cover;
        }

        & > .label {
          color: #202020;
        }
      }
    }

    & > .documents-container {
      display: grid;
      justify-content: space-around;
      align-items: center;
      gap: 20px;
      grid-template-columns: repeat(2, 1fr);

      & > .document-item {
        display: inline-flex;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        text-decoration: none;
        color: inherit;

        & > svg {
          max-width: 32px;
          max-height: 32px;
          width: 100%;
          height: 100%;
        }

        & > .document-item__text {
          display: flex;
          flex-direction: column;
          justify-content: flex-start;
          align-items: flex-start;
          gap: 5px;
          font-weight: 600;
          font-size: 15px;

          & > h6 {
            margin: 0;
            color: #202020;
            text-transform: none;
          }

          & > p {
            margin: 0;
            color: #737373;
          }
        }
      }
    }
  }
}

/* Configurator gallery - Simplified */
.configurator-gallery {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-block: 10px 24px;
  max-width: 100%;
  width: 100%;
}

/* Miniatures à gauche */
.configurator-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  max-height: 45vh;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 4px;
  --mask-top: 1;
  --mask-bottom: 0;
  --mask-size: 15px;
}

.configurator-gallery-thumb {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  background: #fff;
  border: none;
  border-color: transparent;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border 0.15s ease;
  overflow: hidden;
  padding: unset;
  line-height: unset;
}

.configurator-gallery-thumb:hover,
.configurator-gallery-thumb:focus-visible {
  border: solid 1px #cfd7df;
}

.configurator-gallery-thumb.active {
  border: solid 2px #cfd7df;
}

.configurator-gallery-thumb > img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* Image principale à droite */
.configurator-gallery-hero {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.configurator-gallery-hero-img {
  width: 100%;
  height: 45vh;
  object-fit: contain;
  opacity: 1;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y;
}

/* Navigation avec flèches */
.configurator-gallery-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.configurator-gallery-arrow {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  color: #1f2d3d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  padding: unset;
  text-transform: unset;
  line-height: unset;
}

.configurator-gallery-arrow:hover {
  background: #fff;
}

.configurator-gallery-arrow:active {
  transform: scale(0.96);
}

/* Simple Image Modal */
.configurator-image-modal {
  position: fixed;
  inset: 0;
  z-index: 31;
  display: none;
}

.configurator-image-modal[aria-hidden="false"] {
  display: block;
}

.configurator-image-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.configurator-image-modal__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
}

.configurator-image-modal__img {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  opacity: 0;
  transition: opacity 250ms ease;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y;
}

.configurator-image-modal__nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.configurator-image-modal__nav .configurator-gallery-arrow {
  pointer-events: auto;
}

body.configurator-image-modal--open {
  overflow: hidden;
}

/* Version mobile simplifiée */
@media (max-width: 990px) {
  .configurator .configurator-gallery {
    /* La galerie est déplacée par JavaScript dans le formulaire */
    margin-top: 20px;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: center;
  }

  /* Styles de la galerie sur mobile */
  .configurator-gallery-thumbs {
    flex-direction: row;
    max-width: 100%;
    overflow-x: scroll;
    overflow-y: visible;
    max-height: none;
    margin-bottom: 16px;
    gap: 8px;
    padding-right: 0;
    align-self: flex-start;
    --mask-size: 15px;
  }

  .configurator-gallery-hero {
    height: 400px;
  }

  .configurator-gallery-arrow {
    width: 40px;
    height: 40px;
  }
}

.configurator-content-wifi-cards {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 15px;
  margin-top: -15px;
  padding-bottom: 8px;
  margin-top: 10px;
  scrollbar-width: thin;
  --mask-size: 15px;

  & > .configurator-option-chip {
    flex-shrink: 0;
    min-width: unset;
  }
}

.configurator-content-services-cards {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 15px;
  margin-top: -15px;
  padding-bottom: 8px;
  margin-top: 10px;
  scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(to right, black 99%, transparent 100%);
  mask-image: linear-gradient(to right, black 99%, transparent 100%);

  & > .configurator-option-chip {
    flex-shrink: 0;
  }
}

.clim-badge {
  position: absolute;
  width: 77%;
  top: -13px;
  background: linear-gradient(90deg, #096ed5, #59abff);
  color: #fff;
  font-size: 13px;
  border-radius: 5px;
  padding-inline: 7px;
}

.configurator--selected-card {
  border: 2px solid #0071e3 !important;
}

.configurator-content-footer {
  display: flex;
  flex-direction: column;

  & > .configurator-content-footer-total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    font-size: 22px;
    font-weight: 600;
    & > .price--on-sale {
      display: flex;
      align-items: center;
      gap: 8px;
    }
  }
  
  & > .configurator-content-footer-deee {
    text-align: right;
    margin-top: 0;
  }
 
  & > .configurator-content-footer-add-to-cart {
    background: #202020;
    color: white;
    border-radius: 25px;
    border: none;
    padding: 14px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;

    &:hover {
      background: #333333;
    }

    &.loading {
      cursor: not-allowed;
      opacity: 0.7;
      position: relative;
      color: transparent;

      &::after {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        top: calc(50% - 11px);
        left: calc(50% - 11px);
        border: 2px solid white;
        border-radius: 50%;
        border-top-color: transparent;
        animation: spin 0.6s linear infinite;
      }
    }
  }
}

/* === PAYMENT METHODS STYLES === */
.configurator-payment-methods {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;

  & > .configurator-payment-methods__item {
    background: white;
    width: 42px;
    height: 25px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.configurator-content-legal-text {
  font-size: 11px;
  font-weight: 400;
  color: #7e7e7e;
  padding-top: 15px;
  margin: 0;
  line-height: 1;
}

#configurator-alma-widget {
  display: flex;
  justify-content: center;
  margin-block: 15px;
}

/* === MODAL DRAWER STYLES === */
.configurator-modal-button {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: unset;
  text-transform: unset;
  height: unset;
  line-height: unset;
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: #737373;
  cursor: pointer;
  margin-left: auto;
  white-space: nowrap;
  z-index: 1;

  & img {
    width: 16px;
    height: 16px;
  }
}

.configurator-title-icon-arrow {
  display: flex;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.configurator--collapsed {
  & .configurator-modal-button {
    display: none;
  }

  & .configurator-title-icon-arrow {
    transform: rotate(-90deg);
  }
}

/* Masquer la section services si la carte services n'a plus d'un enfant (minimum attendu) */
.configurator-content-split-services:not(
    :has(.configurator-content-services-cards > :nth-child(2))
  ) {
  display: none;
}

.configurator-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;

  &.active {
    opacity: 1;

    & > .configurator-modal-drawer {
      right: 0;
    }
  }

  & > .configurator-modal-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;

    & > .configurator-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      border-bottom: 1px solid #e0e0e0;

      & h2 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
        text-transform: unset;
      }

      & > .configurator-modal-close {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        padding: unset;
        height: unset;
        line-height: unset;
      }
    }

    .configurator-modal-content {
      flex: 1;
      overflow: hidden;
      display: flex;
      flex-direction: column;

      & > .configurator-modal-image {
        & > img {
          width: 100%;
          height: auto;
          max-height: 42vh;
          object-fit: cover;
        }
      }

      & > .configurator-modal-tabs {
        display: flex;
        padding: 5px 20px;
        gap: 15px;

        & .configurator-modal-tab {
          background: #0071e31a;
          border: none;
          padding: 7px;
          cursor: pointer;
          border: 1px solid #a4bdd5;
          transition: all 0.2s ease;
          border-radius: 5px;
          transition: none;

          &:hover {
            color: #0071e3;
          }

          &.active {
            border: 2px solid #0071e3;
            color: #0071e3;
            font-weight: 600;
          }
        }
      }

      & > .configurator-modal-tab-content {
        flex: 1;
        overflow-y: auto;
        padding: 20px;

        & > .configurator-modal-tab-panel {
          display: none;

          &.active {
            display: block;
          }

          & img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            margin-bottom: 15px;
          }

          & p {
            line-height: 1.6;
            margin-bottom: 10px;
          }

          & .modal-description {
            line-height: 1.6;
            margin-bottom: 15px;

            & p {
              margin-bottom: 10px;
            }

            & strong {
              font-weight: 600;
            }

            & em {
              font-style: italic;
            }
          }
        }
      }
    }
  }
}

/* Styles pour la modale des fiches énergétiques */
.configurator-header-energy-badge {
  & > .configurator-modal-button {
    margin: 0;

    & > img {
      height: 25px;
      width: auto;
    }
  }
}

.energy-sheet-content {
  padding: 0 !important;

  & .energy-sheet-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;

    & .energy-sheet-item {
      display: flex;
      justify-content: center;
      align-items: center;

      & img {
        max-width: 100%;
        height: auto;
      }
    }
  }

  & .energy-sheet-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #666;
    font-style: italic;
  }
}

/* Mobile responsive pour les modales */
@media (max-width: 768px) {
  .configurator-modal-drawer {
    max-width: 100%;
  }

  .configurator-modal-tabs {
    flex-wrap: wrap;

    & .configurator-modal-tab {
      flex: 1;
      min-width: 0;
      font-size: 12px;
      padding: 12px 8px;
    }
  }

  .energy-sheet-content {
    & .energy-sheet-gallery {
      padding: 15px;
      gap: 15px;

      & .energy-sheet-item img {
        border-radius: 6px;
      }
    }
  }
}

/* Mobile responsive - Layout vertical */
@media screen and (max-width: 1000px) {
  .configurator #configurator-content {
    flex-direction: column-reverse;
    align-items: center;
    padding-inline: 0;

    & > .configurator-left-section + .configurator-right-section {
      max-width: 750px;
      width: 100%;

      & > .configurator-informations {
        padding: 0;
        margin: 0;
      }
    }
  }

  .configurator-left-section,
  #configurator-content-form,
  .configurator-informations {
    width: 100% !important;
    max-width: 750px;
  }

  .configurator-left-section {
    margin-bottom: 20px;
  }

  #configurator-content-form {
    margin-bottom: 20px;
    padding: 15px !important;
    max-width: 750px !important;
  }

  .configurator-header-badges {
    flex-direction: column;
  }

  .configurator-content-type-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 10px;
    margin-top: 0;
    padding-bottom: 0;
  }

  .configurator-content-type-cards > .clim-split-card {
    width: 100%;
  }
  
  .configurator-content-type-cards > .clim-split-card {
    min-height: 2.2em; 
  }
}

/* Section CTA "Besoin d'un conseil ?" */
.configurator-cta-section {
  background: url("/cdn/shop/files/cta-background.jpg?v=1764683731")
    center/cover;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
}

/* Ombre dégradée gauche -> droite par-dessus l'image */
.configurator-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.4) 28%,
    rgba(0, 0, 0, 0.18) 58%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

.configurator-cta-content {
  position: relative;
  z-index: 2;
}

.configurator-cta-content h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.configurator-cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.configurator-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.configurator-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 300px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 0.5px solid #ffffff40;
  cursor: pointer;
  min-width: 140px;
  text-align: center;
  background: #ffffff4f;
  color: #fff;
  backdrop-filter: blur(41.85px);
  box-shadow: 0px 39.52px 88.35px 0px #0000001a,
    0px 160.42px 160.42px 0px #00000017, 0px 362.69px 218.54px 0px #0000000d,
    0px 644px 258.06px 0px #00000003, 0px 1006.69px 281.31px 0px #00000000;

  & > svg {
    margin-left: 8px;
  }
}

.configurator-cta-button:hover {
  backdrop-filter: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(129, 129, 129, 0.4);
}

.configurator-info-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  flex-wrap: wrap;
  background: linear-gradient(
    257.72deg,
    #f1f4f7 2.53%,
    #fdf5ee 39.18%,
    #ebf0f4 99.03%
  );
}

.configurator-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  width: auto;
  justify-content: center;
}

.configurator-info-item + .configurator-info-item {
  position: relative;
  margin-left: 10px;
}

.configurator-info-item + .configurator-info-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  transform: translateY(-50%);
  width: 1px;
  height: 42px;
  background-color: #e0e0e0;
}

.configurator-info-item__icon {
  position: relative;
  width: 18px;
  & > svg {
    position: absolute;
    top: -18px;
  }
}

.configurator-info-item__text {
  display: flex;
  flex-direction: column;
}

.configurator-info-item__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

.configurator-info-item__subtitle {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
}

/* Responsive */
@media (max-width: 768px) {
  .configurator-cta-section {
    padding: 20px;
    margin-bottom: 15px;
  }

  /* Ombre un peu plus douce sur mobile */
  .configurator-cta-section::before {
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.3) 30%,
      rgba(0, 0, 0, 0.12) 60%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .configurator-cta-content h3 {
    font-size: 18px;
  }

  .configurator-cta-content p {
    font-size: 13px;
  }

  .configurator-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .configurator-cta-button {
    width: 100%;
    min-width: auto;
    padding: 14px 20px;
  }

  .configurator-info-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  .configurator-info-item {
    justify-content: flex-start;
    width: 100%;
    padding: 12px 0;
  }

  .configurator-info-item + .configurator-info-item {
    margin-left: 0;
    margin-top: 0;
  }

  .configurator-info-item + .configurator-info-item::before {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 1px;
  }
}
/* Compare At Price Styles */
.configurator-price-compare {
  text-decoration: line-through;
  color: #888;
  font-size: 0.9em;
  font-weight: normal;
}

.price--on-sale .configurator-price-sale {
  color: #d32f2f;
}

/* Useful Products Block */
.configurator-useful-products {
  width: 100%;
  max-width: 750px;
}

.configurator-useful-products__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #242424;
}

.configurator-useful-products-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  padding-bottom: 10px;
  scrollbar-width: thin;
  --mask-size: 15px;
}

.configurator-useful-card {
  flex-shrink: 0;
  width: 380px;
  min-height: 120px;
  display: flex;
  align-items: center;
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 10px;
  transition: background-color 0.2s ease;
}

.configurator-useful-card:hover {
  background-color: #f0f0f0;
}

.configurator-useful-card__left {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  margin-right: 12px;
}

.configurator-useful-card__left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.configurator-useful-card__right-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.configurator-useful-card__name,
.configurator-useful-card__price {
  font-size: 15px;
  font-weight: 600;
  color: #242424;
  line-height: 1.2;
  text-decoration: none;
}

.configurator-useful-card__name:hover {
  text-decoration: underline;
}

.configurator-useful-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 12px;
}

.configurator-useful-card__add-container {
  flex-shrink: 0;
}

.configurator-useful-card__add.loading {
  cursor: not-allowed;
  opacity: 0.7;
  position: relative !important;
  color: transparent !important;

  &::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: calc(50% - 9px);
    left: calc(50% - 9px);
    border: 2px solid #ccc;
    border-radius: 50%;
    border-top-color: #202020;
    animation: spin 0.6s linear infinite;
  }

  & .btn__icon {
    visibility: hidden;
  }
}

.configurator-useful-card__out-of-stock {
  font-weight: 600;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
