/* Empêche le scroll horizontal parasite (carrousels / flèches) */
body.page-product,
body.page-product #smooth-wrapper,
body.page-product #smooth-content,
body.page-product main {
  overflow-x: hidden;
  max-width: 100%;
}

.cl-horizontal-scroll-viewport {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  box-sizing: border-box;
}

.cl-horizontal-scroll-viewport > .swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Espace sous le footer (barre prix mobile fixe) */
@media (max-width: 990px) {
  body.page-product #smooth-content {
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  }
  body.page-product #smooth-content footer {
    padding-bottom: calc(48px + 100px + env(safe-area-inset-bottom, 0px));
  }
}

/* Sections below-the-fold : rendu différé (PageSpeed) */
.page-product .info,
.page-product .product-accessories,
.page-product .reviews,
.page-product .form-contact-wrap,
.page-product .product-detail-block,
.page-product .product-variantes {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}

.product-top {
  max-width: 1384px;
  padding: 0 32px;
  margin: 178px auto 64px;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style-type: none;
}
.breadcrumbs-list li a {
  color: rgba(29, 29, 29, 0.5);
  transition: ease 0.3s;
}
.breadcrumbs-list li a:visited {
  color: rgba(29, 29, 29, 0.5);
}
.breadcrumbs-list li a:hover {
  color: #1D1D1D;
}

.bredcrumb-icon {
  fill: rgba(29, 29, 29, 0.5);
  width: 7px;
  height: 12px;
}

.present {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  max-width: 1384px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
  min-width: 0;
}

.product-swiper-wrap {
  position: relative;
  width: 60%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.product-swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.present-right {
  width: 40%;
  min-width: 0;
}

.present-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-weight: 600;
}

.present-status {
  text-transform: uppercase;
}

.present-title {
  margin: 32px 0;
}

.present-title--raised {
  margin-top: 8px;
}

.present-top:empty {
  display: none;
}

.present-btns {
  display: flex;
  gap: 12px;
  padding-top: 32px;
  flex-wrap: nowrap;
  align-items: center;
}

.favourites-btn {
  padding: 16px;
  background-color: #f4f4f4;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease 0.3s;
  cursor: pointer;
}

.cl-new button.favourites-btn:not(.is-favorite) {
  background-color: #f4f4f4;
}

#favoriteToggle.btnFavoriteToggle.favourites-btn {
  width: 64px;
  height: 64px;
  padding: 10px;
}

.cl-new button#favoriteToggle.favourites-btn:not(.is-favorite) {
  background-color: #f4f4f4;
}

.cl-new button#favoriteToggle.favourites-btn:not(.is-favorite):hover {
  background-color: #f00041;
}

.cl-new button#favoriteToggle.favourites-btn.is-favorite {
  background-color: #f00041;
}

.cl-new button#favoriteToggle.favourites-btn.is-favorite:hover {
  background-color: #d9003a;
}

.favourites-btn svg {
  width: 32px;
  height: 32px;
  transition: ease 0.3s;
  margin-bottom: 0;
  fill: transparent;
  stroke: #1d1d1d;
  color: #1d1d1d;
}

#favoriteToggle.btnFavoriteToggle.favourites-btn svg {
  width: 40px;
  height: 40px;
}

.cl-new button#favoriteToggle.favourites-btn:not(.is-favorite):hover svg,
.cl-new button#favoriteToggle.favourites-btn.is-favorite:hover svg {
  fill: #fff;
  stroke: #fff;
  color: #fff;
}

#favoriteToggle.btnFavoriteToggle.favourites-btn.is-favorite svg {
  width: 44px;
  height: 44px;
  fill: #fff;
  stroke: #fff;
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.card {
  display: flex;
  overflow: hidden;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Galerie produit desktop : 1 grande (même largeur que la rangée des 3) + 3 petites */
.page-product #lightgallery.grid {
  --cl-gallery-hero-max-h: 460px;
  --cl-gallery-gap: 8px;
  --cl-gallery-thumb-less: 50px;
  container-type: inline-size;
  container-name: product-gallery;
}

.card-hero {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  aspect-ratio: unset;
  height: var(--cl-gallery-hero-max-h);
  max-height: var(--cl-gallery-hero-max-h);
}

.card-thumb {
  grid-column: span 1;
  width: 100%;
  aspect-ratio: unset;
  /* carré de colonne − 50px */
  height: calc((100cqi - 2 * var(--cl-gallery-gap)) / 3 - var(--cl-gallery-thumb-less));
}

/* Anciennes classes (fallback) */
.card-3x {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  aspect-ratio: unset;
  height: var(--cl-gallery-hero-max-h, 460px);
  max-height: var(--cl-gallery-hero-max-h, 460px);
}

.card-2x {
  grid-column: span 1;
  width: 100%;
  aspect-ratio: unset;
  height: calc((100cqi - 2 * var(--cl-gallery-gap, 8px)) / 3 - var(--cl-gallery-thumb-less, 50px));
}

@media (max-width: 768px) {
  .product-top {
    padding: 0 16px;
    margin: 108px 0 48px;
  }
  .product-top nav {
    display: none;
  }
  .present {
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    max-width: 100%;
    overflow: visible;
  }
  .present > * {
    min-width: 0;
    max-width: 100%;
  }
  .present-left, .present-right {
    width: 100%;
  }
  .product-swiper-wrap {
    width: 100%;
  }
  .product-swiper {
    width: 100%;
    overflow: hidden;
  }
  .grid {
    display: flex;
    gap: 0;
  }
  .page-product .product-swiper .card-hero,
  .page-product .product-swiper .card-thumb,
  .page-product .product-swiper .card-3x,
  .page-product .product-swiper .card-2x {
    aspect-ratio: 396 / 500;
  }

  .grid:not(.swiper-wrapper) .card-hero,
  .grid:not(.swiper-wrapper) .card-thumb,
  .grid:not(.swiper-wrapper) .card-3x,
  .grid:not(.swiper-wrapper) .card-2x {
    aspect-ratio: 1;
  }
  .present-reviews {
    font-size: 14px;
  }
  .present-status {
    text-transform: unset;
  }
  .present-title {
    margin: 24px 0;
  }
}
.info {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.info-left {
  max-width: 400px;
  width: 100%;
}

.info-left > .h2,
.info-left > .h3 {
  margin: 0;
}

.info-right {
  max-width: 880px;
  width: 100%;
}
.info-right p {
  margin: 16px 0;
}

@media (max-width: 1100px) {
  .info {
    flex-direction: column;
    gap: 24px;
  }
}

.product-detail-block__row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.product-detail-block__row--stacked {
  margin-top: 48px;
}

.product-detail-block__aside {
  max-width: 400px;
  width: 100%;
  flex-shrink: 0;
}

.product-detail-block__aside .h2,
.product-detail-block__aside .h3 {
  margin: 0;
}

/* Titres de sections fiche produit : pas d'espace au-dessus */
.page-product .info-left > .h2,
.page-product .info-left > .h3,
.page-product .product-detail-block__aside > .h2,
.page-product .product-detail-block__aside > .h3,
.page-product .product-variantes__head > .h2,
.page-product .product-variantes__head > .h3,
.page-product .product-accessories .section-top > .h2,
.page-product .product-accessories .section-top > .h3 {
  padding-top: 0;
}

/* Tableau variantes : masquer la ligne d'en-têtes (Article, Référence, Prix…) */
.page-product .table-variantes > tr:first-child {
  display: none;
}

.product-detail-block__content {
  max-width: 880px;
  width: 100%;
  min-width: 0;
}

@media (max-width: 1100px) {
  .product-detail-block__row {
    flex-direction: column;
    gap: 24px;
  }
}

/* Blocs Documents, Variantes, Accessoires, CAD : espacement compact */
.page-product .product-detail-block {
  max-width: 1384px;
  margin: 0 auto;
  padding: 35px 32px;
  box-sizing: border-box;
}

.page-product .product-detail-block.cl-container {
  padding: 35px 32px;
}

.page-product .product-detail-block .section-top,
.page-product .product-detail-block .product-detail-block__head {
  margin-bottom: 32px;
}

.page-product .product-detail-block .product-detail-block__head--sub {
  margin-top: 8px;
  margin-bottom: 24px;
}

.documents {
  max-width: 1384px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.documents.product-detail-block {
  padding: 35px 32px;
}

.documents-grid {
  width: 100%;
  max-width: 880px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.document-cell {
  width: calc((100% - 64px) / 3);
}
.document-cell .link3 {
  margin-top: 16px;
}

.document-img {
  width: 100%;
  aspect-ratio: 280/160;
  border: 1px solid #A8A8A8;
  display: flex;
}
.document-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.bim-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  max-width: 880px;
}

.bim-cell__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #eee;
  color: #1d1d1d;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
  min-width: min(100%, 200px);
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bim-cell__link:hover {
  background: #1d1d1d;
  color: #fff;
}

.bim-cell__icon {
  width: auto;
  height: 25px;
  max-height: 25px;
  flex-shrink: 0;
  object-fit: contain;
}

.bim-cell__label {
  font-weight: 500;
}

.product-variantes__table-wrap {
  max-width: 880px;
  width: 100%;
}

/* Dans les tableaux (variantes / accessoires), le bouton panier ne doit pas
   hériter du position:absolute prévu pour les cartes du swiper, sinon il
   sort du tableau et se retrouve positionné par rapport à la page. */
.page-product .table-variantes .product-bag-btn {
  position: static;
  right: auto;
  bottom: auto;
  display: inline-flex;
  vertical-align: middle;
}

.product-variantes .variants-show-more-btn {
  margin-top: 20px;
}

.product-accessories .goods-swiper {
  margin-top: 0;
}

.product-accessories-viewport .goods-nav {
  z-index: 10;
}

.page-product .product-accessories-viewport {
  padding: 0;
  overflow: hidden;
}

.page-product .product-accessories-viewport > .product-accessories-swiper {
  overflow: hidden;
}

.goods-slide {
  position: relative;
}

.goods-slide-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.goods-slide-photo-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.goods-slide-photo-link .goods-img {
  transition: opacity 0.2s ease;
}

.goods-slide-photo-link:hover .goods-img {
  opacity: 0.92;
}

.product-accessories-table .accessory-table-photo-link {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.product-accessories-table .accessory-table-photo-link img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}

.product-accessories-table .accessory-table-photo-link:hover img {
  opacity: 0.92;
}

.goods-slide-title-link {
  color: inherit;
  text-decoration: none;
}

.goods-slide-title-link:hover {
  text-decoration: underline;
}

.goods-slide-crm {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  cursor: pointer;
}

.documents-grid--bim .document-img img {
  width: auto;
  height: 40px;
  max-width: 64px;
  object-fit: contain;
}

@media (max-width: 1000px) {
  .document-cell {
    width: calc((100% - 32px) / 2);
  }
}
@media (max-width: 768px) {
  .page-product .product-detail-block,
  .page-product .product-detail-block.cl-container,
  .documents.product-detail-block {
    padding: 35px 16px;
  }
  .documents {
    padding: 35px 16px;
  }
  .document-cell {
    width: fit-content;
  }
  .document-cell .link3 {
    margin-top: 8px;
  }
  .document-img {
    max-width: 360px;
  }
}
.goods-swiper {
  overflow: hidden;
  margin-top: 48px;
  width: 100%;
  max-width: 100%;
}

.goods-img {
  aspect-ratio: 648/465;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
}

.goods-slide-info {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 16px;
}

body.page-product .product-accessories .goods-slide-info {
  align-items: center;
}

body.page-product .product-accessories .goods-slide-title {
  font-size: 18px;
  line-height: 1.3;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-product .product-accessories .goods-slide-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

/* Prix accessoire: compact et aligné avec le nom */
body.page-product .product-accessories .goods-slide-price {
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

body.page-product .product-accessories .goods-slide-actions {
  display: flex;
  align-items: center;
}

body.page-product .product-accessories .product-bag-btn {
  position: static;
  right: auto;
  bottom: auto;
  flex-shrink: 0;
}

.page-product .product-accessories-table-wrap {
  max-width: 880px;
  width: 100%;
}

.page-product .product-accessories-table .variant-cell-ref,
.page-product .product-accessories-table .variant-cell-name,
.page-product .product-accessories-table .variant-cell-price,
.page-product .product-accessories-table .variant-cell-cart {
  vertical-align: middle;
}

.page-product .product-accessories-table .variant-cell-cart {
  white-space: nowrap;
}

.goods-nav {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50px;
  border: 0;
  padding: 0;
  background-color: white;
  top: 44%;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: ease 0.3s;
}
.goods-nav svg {
  width: 24px;
  height: 24px;
  fill: #1D1D1D;
  transition: ease 0.3s;
}
.goods-nav:hover {
  background-color: #1D1D1D;
}
.goods-nav:hover svg {
  fill: white;
}

.goods-prev {
  left: -20px;
}
.goods-prev svg {
  transform: rotate(180deg);
}

.goods-next {
  right: -20px;
}

.goods-swiper .swiper-button-disabled {
  opacity: 0;
  cursor: default;
}

.page-product .product-accessories .product-swiper-nav-rail,
.page-product .reviews .product-swiper-nav-rail {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.page-product .product-accessories .product-swiper-nav-rail .goods-nav,
.page-product .reviews .product-swiper-nav-rail .reviews-nav {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  margin: 0;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
}

.page-product .product-accessories .product-swiper-nav-rail .goods-prev svg,
.page-product .reviews .product-swiper-nav-rail .reviews-prev svg {
  transform: rotate(180deg);
}

.page-product .product-accessories .product-swiper-nav-rail .goods-nav::after,
.page-product .reviews .product-swiper-nav-rail .reviews-nav::after {
  content: none;
}

.page-product .product-accessories .product-swiper-nav-rail .goods-nav:focus-visible,
.page-product .reviews .product-swiper-nav-rail .reviews-nav:focus-visible {
  outline: 2px solid #1D1D1D;
  outline-offset: 2px;
}

.labels {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transition: ease 0.3s;
}

.product-label {
  padding: 7px 12px;
  background-color: white;
  border-radius: 50px;
  color: #1D1D1D;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  transition: ease 0.3s;
}
.product-label.dark {
  background-color: #1D1D1D;
  color: white;
}

.favourites {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease 0.3s;
}
.favourites svg {
  fill: transparent;
  cursor: pointer;
  transition: ease 0.3s;
  width: 60px;
  height: 60px;
}
.favourites:hover svg {
  fill: white;
}

.product-bag-btn {
  position: absolute;
  right: 16px;
  bottom: 60px;
  width: 32px;
  height: 32px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: ease 0.3s;
}
.product-bag-btn svg {
  transition: ease 0.3s;
  width: 18px;
  height: 18px;
}
.product-bag-btn:hover {
  background-color: #1D1D1D;
}
.product-bag-btn:hover svg {
  fill: white;
}

@media (max-width: 768px) {
  .goods-swiper {
    margin-top: 32px;
  }
  .product-bag-btn {
    bottom: 54px;
  }
}
.reviews {
  max-width: 1384px;
  margin: 0 auto;
  padding: 100px 32px;
}

.page-product .product-accessories .section-top,
.page-product .reviews .section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.page-product .product-accessories .section-top > .h3,
.page-product .reviews .section-top > .h3 {
  margin: 0;
}

.page-product .reviews .section-top {
  margin-bottom: 16px;
}

.page-product .reviews .reviews-swiper {
  margin-top: 0;
}

.reviews-viewport {
  padding: 0;
  overflow: hidden;
}

.reviews-swiper {
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.reviews-slide {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 24px;
}

.reviews-slide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 20px;
  margin-bottom: 16px;
}

.reviews-slide-top .subtitle {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.3;
}

.reviews-slide-stars {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1;
  align-self: center;
}

.reviews-slide-bottom {
  margin-top: 16px;
}

.reviews-nav {
  position: absolute;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50px;
  background-color: white;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: ease 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.reviews-nav svg {
  width: 24px;
  height: 24px;
  fill: #1D1D1D;
  transition: ease 0.3s;
}
.reviews-nav:hover {
  background-color: #1D1D1D;
}
.reviews-nav:hover svg {
  fill: white;
}

.reviews-prev {
  left: -20px;
}
.reviews-prev svg {
  transform: rotate(180deg);
}

.reviews-next {
  right: -20px;
}

.reviews-swiper .swiper-button-disabled {
  opacity: 0;
  cursor: default;
}

@media (max-width: 768px) {
  .reviews {
    padding: 50px 16px;
  }
  .page-product .product-accessories .section-top,
  .page-product .reviews .section-top {
    gap: 12px;
  }
  .reviews-viewport {
    padding: 0;
  }
  .page-product .reviews .reviews-swiper {
    margin-top: 16px;
  }
  .reviews-swiper {
    margin-top: 32px;
    overflow: hidden;
  }
  .reviews-slide {
    padding: 16px;
  }
}

/* Galerie produit : flèche suivante à droite */
@media (max-width: 1100px) {
  .page-product .product-swiper-wrap {
    padding: 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-product .product-swiper {
    overflow: hidden;
    width: 100%;
  }

  .page-product #lightgallery.swiper-wrapper {
    display: flex !important;
    gap: 0;
  }

  .page-product .product-swiper .swiper-slide {
    width: 100% !important;
    height: auto;
    flex-shrink: 0;
  }

  .page-product .product-swiper .swiper-slide.card,
  .page-product .product-swiper .swiper-slide.card-hero,
  .page-product .product-swiper .swiper-slide.card-thumb,
  .page-product .product-swiper .swiper-slide.card-3x,
  .page-product .product-swiper .swiper-slide.card-2x {
    aspect-ratio: 396 / 500;
    display: block;
    width: 100%;
  }

  .page-product .product-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .page-product .product-gallery-prev {
    display: none !important;
  }

  .page-product .product-swiper-wrap .product-gallery-next,
  .page-product .product-swiper-wrap .swiper-button-next.product-gallery-next {
    display: flex !important;
    position: absolute;
    width: 56px;
    height: 56px;
    top: 50%;
    right: 0 !important;
    left: auto !important;
    margin: 0 !important;
    transform: translate(50%, -50%);
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .page-product .product-swiper-wrap .product-gallery-next,
  .page-product .product-swiper-wrap .swiper-button-next.product-gallery-next {
    right: 12px !important;
    transform: translateY(-50%) !important;
  }
}

/* Flèches carrousels accessoires / avis (mobile) — partiellement hors cadre */
@media (max-width: 768px) {
  .page-product .product-swiper-wrap {
    width: 100%;
    max-width: 100%;
  }

  .page-product .product-accessories .product-swiper-nav-rail,
  .page-product .reviews .product-swiper-nav-rail {
    gap: 8px;
    margin-bottom: 0;
  }

  .page-product .product-accessories .product-swiper-nav-rail .goods-nav,
  .page-product .reviews .product-swiper-nav-rail .reviews-nav {
    display: flex;
    width: 44px;
    height: 44px;
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
  }
}
.form-contact-wrap {
  width: 100%;
  background-color: #ebebeb;
}

.form-contact-wrap .form {
  padding-bottom: 48px;
}

body.page-product footer.cl-new-footer {
  margin-top: 0;
}

body.page-product footer.cl-new-footer .cl-contact-btns {
  display: none;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1384px;
  margin: 0 auto;
  padding: 100px 32px 150px;
}

.form-section {
  display: flex;
  gap: 32px;
  justify-content: space-between;
}
.form-section .h2 {
  max-width: 520px;
  width: 100%;
}

.contact-form {
  max-width: 630px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form .subtitle {
  margin-bottom: 8px;
}

.form-section-subtitle {
  margin: 16px 0 32px;
  max-width: 500px;
  font-size: 18px;
}

.form-section-block {
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-section-block:first-of-type {
  margin-top: 0;
}

.form-section-block.foo-items-logistique {
  margin-top: 15px;
}

.form-section--contact.form-section--contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  width: 100%;
}

.form-section-col--consult {
  max-width: 560px;
}

.form-section-consult-text {
  margin: 0 0 32px;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.45;
  color: #1d1d1d;
}

.grey.form-section-consult-text {
  color: #5f5f5f;
}

.text.grey b,
.text.grey strong {
  color: #1d1d1d;
  font-weight: 600;
}

.form-section-col--showrooms .form-section-block {
  margin: 0;
}

.form-section-col--showrooms .menu-expo-grid {
  margin-top: 0;
}

@media (max-width: 900px) {
  .form-section-col--showrooms .menu-expo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.form-section--contact .form-section-left {
  max-width: 520px;
}

.form-section-consult-title {
  margin: 0 0 16px;
}

.form-section-addr {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  color: #1d1d1d;
}

.form-section--contact .cl-contact-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
}

@media (max-width: 900px) {
  .form-section--contact.form-section--contact-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-section-col--consult {
    max-width: none;
  }
}

@media (max-width: 1100px) {
  .form-section {
    flex-direction: column;
  }
  .form-section .h2 {
    font-size: 32px;
  }
}
@media (max-width: 768px) {
  .form-contact-wrap .form {
    padding-bottom: 40px;
  }
  .form {
    padding: 50px 16px 80px;
  }
  .form-container {
    padding: 100px 0 0;
  }
}

.page-product .cl-llms-txt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Fiche produit : actions, galerie (~2 lignes visibles), tables, modaux (sans Bootstrap) === */
.cl-new .btn-black.order-btn,
.cl-new button.btn-black.order-btn {
  background-color: #1d1d1d !important;
  color: #fff !important;
  border: 1px solid #1d1d1d;
}
.cl-new .btn-black.order-btn:hover {
  background-color: #fff !important;
  color: #1d1d1d !important;
}

.present-btns .order-btn {
  align-self: center;
  flex-shrink: 0;
}

.cl-new .present-btns .order-btn--compact-cta {
  font-size: 14px;
  line-height: 1.25;
  padding: 10px 14px;
  min-height: 42px;
}

.cl-new .order-btn-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  padding: 0;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cl-new .order-btn-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.cl-new .order-btn-icon--print-pdf .order-btn-icon-duo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.cl-new .order-btn-icon--print-pdf .order-btn-icon-duo svg {
  width: 24px;
  height: 24px;
}

.cl-new .order-btn-icon .order-btn-icon-spinner {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: present-btn-spin 0.8s linear infinite;
}

@keyframes present-btn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Bouton « Voir les tarifs » / « Ajouter au panier » : même ligne que favori */
.cl-new .present-btns .btnstartLogin.btn-black.order-btn,
.cl-new .present-btns .present-btns-tarifs.btn-black.order-btn,
.cl-new .present-btns .present-btns-cart.btn-black.order-btn,
.cl-new .present-btns .present-btns-online.btn-black.order-btn {
  text-transform: none;
  font-size: 17px;
  height: 64px;
  min-height: 64px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  max-width: none;
  white-space: nowrap;
  line-height: 1.25;
  text-align: center;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  align-self: center;
}
.cl-new .present-btns #favoriteToggle.favourites-btn {
  flex: 0 0 64px;
}
.cl-new .present-btns .present-btns-cart--added {
  background-color: #008c0c !important;
  border-color: #008c0c !important;
  color: #fff !important;
}
.cl-new .present-btns .present-btns-cart--added:hover {
  background-color: #007018 !important;
  border-color: #007018 !important;
  color: #fff !important;
}
.cl-new .present-btns .btnstartLogin.btn-black.order-btn b {
  font-weight: 700;
  color: inherit;
}

.present-price-aside {
  align-self: center;
  font-weight: 600;
  font-size: 18px;
  flex: 1;
  min-width: 0;
  text-align: left;
}
.present-price-aside-sign {
  font-size: 13px;
  opacity: 0.8;
  margin-left: 6px;
}

.btn-cl-jaune {
  background-color: #ffb800 !important;
  color: #1d1d1d !important;
  border-color: #ffb800 !important;
}

.present-stock-banner {
  margin-top: 14px;
  margin-bottom: 8px;
  background-color: #eee;
  border-radius: 8px;
}

.present-stock-banner--after-cart {
  margin-top: 12px;
  margin-bottom: 4px;
}

.present-stock-banner--after-cart + .present-btns {
  padding-top: 16px;
}
.present-stock-more {
  cursor: pointer;
}

.delivery-hint-underline {
  position: relative;
  display: inline-block;
  text-decoration: underline;
  text-decoration-style: dashed;
  cursor: help;
}

.delivery-hint-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: max-content;
  max-width: min(280px, 70vw);
  padding: 8px 10px;
  border-radius: 6px;
  background: #1d1d1d;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  text-decoration: none;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.delivery-hint-underline:hover .delivery-hint-tooltip,
.delivery-hint-underline:focus .delivery-hint-tooltip,
.delivery-hint-underline:focus-within .delivery-hint-tooltip {
  visibility: visible;
  opacity: 1;
}

@media (min-width: 1101px) {
  /* Grille desktop : 1 grande en haut + 3 petites en dessous */
  .page-product .product-swiper-wrap,
  .page-product .product-swiper {
    overflow: hidden !important;
  }

  .page-product #lightgallery.grid.swiper-wrapper {
    --cl-gallery-hero-max-h: 460px;
    --cl-gallery-gap: 8px;
    --cl-gallery-thumb-less: 50px;
    container-type: inline-size;
    container-name: product-gallery;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--cl-gallery-gap) !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    transition-duration: 0ms !important;
    flex-direction: unset !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
  }

  .page-product .product-swiper .swiper-slide {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    flex-shrink: 1 !important;
    position: relative !important;
  }

  /* Même largeur que les 3 miniatures réunies ; hauteur plafonnée à part */
  .page-product .product-swiper .swiper-slide.card-hero,
  .page-product .product-swiper .swiper-slide.card-3x {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: unset !important;
    height: var(--cl-gallery-hero-max-h) !important;
    max-height: var(--cl-gallery-hero-max-h) !important;
  }

  .page-product .product-swiper .swiper-slide.card-hero img,
  .page-product .product-swiper .swiper-slide.card-3x img,
  .page-product .product-swiper .swiper-slide.card-thumb img,
  .page-product .product-swiper .swiper-slide.card-2x img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .page-product .product-swiper .swiper-slide.card-thumb,
  .page-product .product-swiper .swiper-slide.card-2x {
    grid-column: span 1;
    width: 100% !important;
    aspect-ratio: unset !important;
    height: calc((100cqi - 2 * var(--cl-gallery-gap)) / 3 - var(--cl-gallery-thumb-less)) !important;
  }
}

@media (min-width: 769px) {
  .page-product #lightgallery .swiper-slide.gallery-slide-desktop-extra {
    display: none !important;
  }
}

.cl-iframe-modal-shell:not([hidden]),
.cl-emp-print-mdl:not([hidden]),
.cl-pdf-doc-modal-shell:not([hidden]),
.cl-pdf-doc-modal-shell.is-open {
  display: flex !important;
}
.cl-iframe-modal-shell,
.cl-emp-print-mdl,
.cl-pdf-doc-modal-shell {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
  isolation: isolate;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.cl-iframe-modal-shell__backdrop,
.cl-emp-print-mdl__backdrop,
.cl-pdf-doc-modal-shell__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.cl-pdf-doc-modal-shell__panel {
  position: relative;
  z-index: 1;
  width: min(calc(100vw - 32px), 440px);
  max-width: 440px;
  margin: 0 auto;
  align-self: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  padding: 20px 20px 16px;
  max-height: min(calc(100dvh - 32px), 90vh);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cl-pdf-doc-modal-shell__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  color: #1d1d1d;
  padding: 4px 8px;
}

.cl-pdf-doc-modal-shell__form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.cl-pdf-doc-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

/* Interrupteurs documents PDF (comme ancien site : slider-checkbox) */
.cl-pdf-doc-modal-shell .slider-checkbox {
  position: relative;
  display: block;
  margin: 12px 0;
}

.cl-pdf-doc-modal-shell .slider-checkbox.cl-pdf-doc-modal__base {
  margin-top: 0;
  margin-bottom: 12px;
}

.cl-pdf-doc-modal-shell .slider-checkbox.cl-pdf-doc-modal__base + .slider-checkbox {
  margin-top: 4px;
}

.cl-pdf-doc-modal-shell .slider-checkbox input {
  position: absolute;
  opacity: 0;
  width: 40px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  z-index: 2;
  top: 0;
  left: 0;
}

.cl-pdf-doc-modal-shell .slider-checkbox .labelCK {
  position: relative;
  display: block;
  padding-left: 46px;
  font-size: 14px;
  line-height: 1.4;
  color: #1d1d1d;
  font-weight: 400;
  cursor: pointer;
}

.cl-pdf-doc-modal-shell .slider-checkbox .labelCK::before,
.cl-pdf-doc-modal-shell .slider-checkbox .labelCK::after {
  position: absolute;
  border-radius: 10px;
  transition: background-color 0.3s, left 0.3s;
  content: "";
}

.cl-pdf-doc-modal-shell .slider-checkbox .labelCK::before {
  left: 0;
  top: 0;
  width: 40px;
  height: 20px;
  background-color: #888;
  box-sizing: border-box;
}

.cl-pdf-doc-modal-shell .slider-checkbox .labelCK::after {
  left: 1px;
  top: 1px;
  width: 18px;
  height: 18px;
  background: #fff;
}

.cl-pdf-doc-modal-shell .slider-checkbox input:checked + .labelCK::before {
  background-color: #f8b82b;
}

.cl-pdf-doc-modal-shell .slider-checkbox input:checked + .labelCK::after {
  left: 21px;
}

.cl-pdf-doc-modal-shell .slider-checkbox input:focus-visible + .labelCK::before {
  box-shadow: 0 0 0 2px rgba(248, 184, 43, 0.45);
}

.cl-pdf-doc-modal-shell .cl-pdf-doc-modal__scroll {
  max-height: min(50vh, 360px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
}

.cl-pdf-doc-modal-shell .cl-pdf-submit.btn-black.order-btn {
  width: 100%;
  max-width: 100%;
  margin-top: 16px;
  border-radius: 100px;
  min-height: 52px;
  padding: 16px 24px;
  font-size: 16px;
  text-transform: uppercase;
  box-sizing: border-box;
  align-self: stretch;
}

.cl-pdf-doc-modal-shell .cl-pdf-print-row .cl-pdf-submit.btn-black.order-btn {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 0;
}

.cl-pdf-print-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.cl-iframe-modal-shell__panel {
  position: relative;
  width: min(96vw, 1100px);
  height: 80vh;
  max-height: min(80vh, calc(100dvh - 32px));
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  flex-shrink: 1;
}

/* Connexion / inscription : tenir dans la fenêtre (padding shell inclus) */
.cl-iframe-modal-shell--login {
  padding: 12px !important;
  align-items: center !important;
  justify-content: center !important;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cl-iframe-modal-shell--login .cl-iframe-modal-shell__panel {
  width: min(calc(100vw - 24px), 800px);
  height: auto;
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  flex: 0 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cl-iframe-modal-shell--login .cl-iframe-modal-shell__body {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Hauteur pilotée par JS (postMessage) - pas de height:!important qui bloque le inline style */
.cl-iframe-modal-shell--login .cl-iframe-modal-shell__body iframe {
  width: 100% !important;
  min-height: 320px;
  max-height: calc(100dvh - 24px);
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: block !important;
  flex: 1 1 auto;
  min-height: 0;
  vertical-align: top;
  overflow: auto;
}

.cl-iframe-modal-shell__close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 5;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.cl-iframe-modal-shell__body {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.cl-iframe-modal-shell:not(.cl-iframe-modal-shell--login) .cl-iframe-modal-shell__body {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.cl-iframe-modal-shell:not(.cl-iframe-modal-shell--login) .cl-iframe-modal-shell__body iframe {
  flex: 1 1 auto;
  width: 100% !important;
  min-height: 0;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: block !important;
}

.cl-emp-print-mdl__panel {
  position: relative;
  margin: 0 auto;
  background: #fff;
  align-self: center;
  margin-top: 10vh;
  border-radius: 12px;
  max-width: 720px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cl-emp-print-mdl__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  z-index: 2;
}

.info-right .table-info td,
.info-right .table-info th {
  padding: 6px 0 !important;
  line-height: 1.35;
  color: #1d1d1d;
}

/* Valeurs (2e colonne) : contraste AA, plus foncé que rgba(.5) */
.page-product .info-right .table-info tr td:last-child,
.info-right .table-info tr td:last-child {
  color: #595959;
}

.info-right .table-info td a {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  text-transform: none;
  letter-spacing: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.info-right .table-info td a:hover {
  color: #1d1d1d;
}

.table-variantes td {
  padding: 6px 8px !important;
  vertical-align: top;
  line-height: 1.3;
  color: #1d1d1d;
}

.table-variantes .variant-col-ref,
.table-variantes .variant-cell-ref {
  vertical-align: middle;
}

.table-variantes .variant-cell-price {
  vertical-align: middle;
}

.table-variantes .variant-cell-cart {
  vertical-align: middle;
}

.variant-cell-article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.variant-cell-article-text {
  flex: 1;
  min-width: 0;
}

.variant-cell-article-link {
  color: inherit;
  text-decoration: none;
}

.variant-cell-article-link:hover {
  text-decoration: underline;
}

.variant-cell-ref-tools {
  margin-top: 8px;
}

.variant-ref-mobile {
  display: none;
}

.variant-ref-mobile a {
  color: inherit;
  text-decoration: underline;
}

.variant-color-swatch {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  background-color: #f4f4f4;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.variant-color-swatch--html,
.variant-color-swatch--texture {
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.variant-color-swatch__texture,
.variant-color-swatch img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cl-variant-color-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}

.cl-variant-color-modal[hidden] {
  display: none !important;
}

.cl-variant-color-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.cl-variant-color-modal__panel {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 720px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cl-variant-color-modal__close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.cl-variant-color-modal__img {
  max-width: 100%;
  max-height: calc(90vh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.cl-variant-color-modal__img[hidden] {
  display: none !important;
}

.cl-variant-color-modal__solid {
  width: min(280px, 70vw);
  height: min(280px, 70vw);
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.cl-variant-color-modal__solid[hidden] {
  display: none !important;
}

.cl-variant-color-modal__caption {
  margin: 0;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

body.cl-variant-color-modal-open {
  overflow: hidden;
}

.product-gallery-nav {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50px;
  background-color: #fff;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: ease 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  line-height: 0;
}

.product-gallery-nav svg {
  width: 24px;
  height: 24px;
  fill: #1d1d1d;
}

.product-gallery-prev {
  display: none;
}

.product-gallery-next {
  right: 0;
  left: auto;
}

.product-swiper-wrap {
  overflow: visible;
}

.product-swiper {
  overflow: hidden;
}

@media (min-width: 1101px) {
  .page-product .product-gallery-nav {
    display: none !important;
  }
}

.cl-mobile-price-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 max(16px, env(safe-area-inset-left, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  pointer-events: none;
}

.cl-mobile-price-bar.is-visible {
  display: block;
  pointer-events: auto;
}

.cl-mobile-price-bar--cta-only.is-visible {
  background-color: transparent;
}

/* Prix affiché (ex. prixSurSite 4) : fond opaque même en mode cta-only */
.cl-mobile-price-bar--cta-only:has(.cl-mobile-price-bar__price).is-visible,
.cl-mobile-price-bar--cta-only:has(.cl-mobile-price-bar__amount).is-visible {
  background-color: #fff;
  box-shadow: 0 -8px 32px rgba(29, 29, 29, 0.08);
}

.cl-mobile-price-bar--cta-only .cl-mobile-price-bar__inner {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.cl-mobile-price-bar--cta-only:has(.cl-mobile-price-bar__price) .cl-mobile-price-bar__inner,
.cl-mobile-price-bar--cta-only:has(.cl-mobile-price-bar__amount) .cl-mobile-price-bar__inner {
  background-color: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: none;
}

.cl-mobile-price-bar[hidden] {
  display: none !important;
}

.cl-mobile-price-bar__inner {
  background-color: #fff;
  border: none;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 -8px 32px rgba(29, 29, 29, 0.08);
}

.cl-mobile-price-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.cl-mobile-price-bar__row--center {
  justify-content: center;
  text-align: center;
}

.cl-mobile-price-bar__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
}

.cl-mobile-price-bar__amount {
  font-family: Medium, sans-serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1d1d1d;
}

.cl-mobile-price-bar__currency {
  font-family: Regular, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  color: rgba(29, 29, 29, 0.55);
}

.cl-mobile-price-bar__actions {
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
}

.cl-mobile-price-bar__btn {
  text-transform: none;
  font-size: 16px;
  line-height: 1.25;
  padding: 14px 22px;
  white-space: nowrap;
  width: auto;
  max-width: none;
}

.cl-mobile-price-bar__btn--added {
  background-color: #008c0c !important;
  border-color: #008c0c !important;
  color: #fff !important;
}

.cl-mobile-price-bar__btn--added:hover {
  background-color: #007018 !important;
  border-color: #007018 !important;
  color: #fff !important;
}

.cl-mobile-price-bar__cta {
  width: 100%;
  text-transform: none;
  font-size: 16px;
  line-height: 1.25;
  padding: 14px 22px;
  border-radius: 100px;
}

@media (max-width: 990px) {
  body.page-product {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 420px) {
  .cl-mobile-price-bar__row {
    gap: 12px;
  }

  .cl-mobile-price-bar__amount {
    font-size: 20px;
  }

  .cl-mobile-price-bar__btn,
  .cl-mobile-price-bar__cta {
    font-size: 15px;
    padding: 12px 18px;
  }
}

@media (max-width: 767px) {
  .table-variantes > tr:first-child {
    display: none;
  }

  .table-variantes > tr:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .table-variantes > tr:not(:first-child) > td {
    display: block;
    width: 100% !important;
    padding: 0 !important;
  }

  .table-variantes .variant-cell-name {
    order: 1;
  }

  .table-variantes .variant-col-ref,
  .table-variantes .variant-cell-ref {
    display: none !important;
  }

  .table-variantes .variant-ref-mobile {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #666;
  }

  .table-variantes .variant-cell-price {
    order: 2;
    text-align: left !important;
  }

  .table-variantes .variant-cell-cart {
    order: 3;
    text-align: left !important;
  }

  .product-accessories-table .variant-cell-cart {
    order: 2;
  }

  .product-accessories-table .variant-cell-price {
    order: 3;
  }

  .table-variantes > tr:not(:first-child) > td:not(.variant-cell-ref):not(.variant-cell-name):not(.variant-cell-price):not(.variant-cell-cart) {
    order: 4;
  }
}

.product-documents__actions {
  margin-top: 20px;
}

.document-cell__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.document-cell__link:hover .document-cell__title {
  text-decoration: underline;
}

.document-cell__title {
  display: block;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .present-price-aside {
    flex-basis: 100%;
  }
  #lightgallery .swiper-slide.gallery-slide-desktop-extra {
    display: flex !important;
  }

  .cl-iframe-modal-shell {
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  .cl-iframe-modal-shell__panel {
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .cl-iframe-modal-shell--login .cl-iframe-modal-shell__panel {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
  }

  .cl-iframe-modal-shell--login .cl-iframe-modal-shell__body,
  .cl-iframe-modal-shell--login .cl-iframe-modal-shell__body iframe {
    flex: 0 0 auto !important;
    max-height: 100dvh !important;
    min-height: 280px !important;
  }

  .cl-iframe-modal-shell:not(.cl-iframe-modal-shell--login) .cl-iframe-modal-shell__body,
  .cl-iframe-modal-shell:not(.cl-iframe-modal-shell--login) .cl-iframe-modal-shell__body iframe {
    flex: 1 1 auto !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
  }

  .cl-iframe-modal-shell__close {
    top: 12px;
    right: 16px;
  }
}
