.product-intro {
  position: relative;
  background-color: var(--wp--preset--color--custom-kaki);
  color: var(--wp--preset--color--custom-blanc);
  width: 100vw;
  max-width: 100%;
  padding-top: 150px;
}

.product-intro::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  max-width: 100%;
  height: 69px;
  background-color: var(--wp--preset--color--custom-beige);
  transform: translateX(-50%);
}

.product-intro-container {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: var(--wp--style--global--content-size);
  margin: 0 auto;
 }

.product-intro-inner {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  gap: 32px;
  margin: 0 auto;
}

.product-intro-inner-col {
  position: relative;;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  width: calc(50% - 32px);
  min-width: calc(50% - 32px);
}

.product-intro-inner-col:first-child {
  justify-content: space-between;
}

.product-intro-inner-col:last-child {
  width: 50vw;
}

.yoast-breadcrumbs {
  margin-top: var(--wp--preset--spacing--4);
}

.product-intro h1 {
  color: var(--wp--preset--color--custom-blanc);
  margin: var(--wp--preset--spacing--1) 0 var(--wp--preset--spacing--1) 0;
}

.product-intro p {
  margin: 0 0 var(--wp--preset--spacing--4) 0;
}

.product-intro-typologie-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 32px;
}

.product-intro-typologie {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  padding: var(--wp--preset--spacing--1);
  background-color: var(--wp--preset--color--custom-chatain);
}

.product-intro-typologie img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.product-intro-typologie-wrapper .is-style-titre-encadrement {
  margin: 0;
  padding: var(--wp--preset--spacing--1) var(--wp--preset--spacing--2);
}

.product-intro-typologie-wrapper .is-style-titre-encadrement.blanc::before {
  background-image: url(https://www.univrmenuiserie.fr/wp-content/themes/univr/assets/chart/encadrement-blanc.svg);
}

.product-intro-typologie-wrapper .is-style-titre-encadrement.blanc::after {
  background-image: url(https://www.univrmenuiserie.fr/wp-content/themes/univr/assets/chart/encadrement-blanc.svg);
}

.product-intro-swiper-thumbs-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  max-width: 550px;
  gap: 16px;
}

.product-intro-swiper-thumbs {
  width: 100%;
  height: auto;
}

.product-intro-swiper-thumbs .swiper-slide {
  display: flex;
  width: 33.33%;
  height: auto;
  aspect-ratio: 1/1;
  cursor: pointer;
}

.product-intro-swiper-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--wp--preset--color--custom-blanc);
}

.product-intro-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.product-intro-slide-prev,
.product-intro-slide-next {
  width: 39px;
  height: 39px;
  background-image: url(https://www.univrmenuiserie.fr/wp-content/themes/univr/assets/chart/arrow-slider-blanc.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 100%;
  cursor: pointer;
}

.product-intro-slide-prev {
  transform: rotate(180deg);
}

.product-intro-slide-prev:hover,
.product-intro-slide-next:hover {
  background-image: url(https://www.univrmenuiserie.fr/wp-content/themes/univr/assets/chart/arrow-slider-hover.svg);
}

.product-intro-slide-prev.swiper-button-disabled,
.product-intro-slide-next.swiper-button-disabled {
  opacity: 0.5;
}

.product-intro-swiper {
  width: 100%;
  max-width: 800px;
  height: auto;
}

.product-intro-swiper .swiper-slide {
  display: flex;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
}

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

.product-anchors {
  width: 100%;
  padding: var(--wp--preset--spacing--4) 0;
  background-color: var(--wp--preset--color--custom-beige);
}

.product-anchors-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px 64px;
  flex-flow: wrap;
  width: 100%;
  max-width: var(--wp--style--global--content-size);
  margin: 0 auto;
}

.product-anchors-inner .wp-block-button .wp-block-button__link {
  background-color: transparent;
  border: 1px solid var(--wp--preset--color--custom-kaki);
  color: var(--wp--preset--color--custom-kaki);
  min-width: 180px;
}

.product-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 16px auto 0 auto;
}

.product-gallery img {
  width: calc(25% - 12px);
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.product-key-points {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: -84px;
}

.product-key-points-inner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  max-width: var(--wp--style--global--content-size);
  margin: 0 auto;
}

.product-key-points-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 8px;
  left: 0;
  width: 100%;
  height: calc(100% - 8px);
  background-color: var(--wp--preset--color--custom-blanc);
}

.product-key-points-items {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  margin: 32px 0;
}

.product-key-point-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
}

.product-key-point-item::after {
  content: "|";
  color: var(--wp--preset--color--custom-chatain);
}

.product-key-point-item:last-child::after {
  content: none;
}

.product-title {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  max-width: var(--wp--style--global--content-size);
  margin: 0 auto;
}

.product-title h2 {
  text-transform: uppercase;
}

.product-title .is-style-titre-encadrement-top-left {
  padding-left: var(--wp--preset--spacing--3);
}

.product-schema {
  width: 100%;
}

.product-schema-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: var(--wp--style--global--content-size);
  margin: 0 auto;
}

.product-schema-swiper {
  position: relative;
  width: 50%;
  padding-bottom: 18px;
}

.product-schema-swiper .swiper-slide {
  position: relative;
  width: 100%;
  height: auto;
}

.product-schema-swiper .swiper-slide img {
  display: flex;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-top-right-radius: 40px;
}

.product-schema-swiper .swiper-slide p {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin: 0;
  padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--2) var(--wp--preset--spacing--4) var(--wp--preset--spacing--2);
  background-color: var(--wp--preset--color--custom-kaki);
  color: var(--wp--preset--color--custom-blanc);
  text-align: center;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  transform: translateX(-50%);
}

.product-schema-nav {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.product-schema-slide-prev,
.product-schema-slide-next {
  width: 39px;
  height: 39px;
  background-color: var(--wp--preset--color--custom-blanc);
  background-image: url(https://www.univrmenuiserie.fr/wp-content/themes/univr/assets/chart/arrow-slider.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 100%;
  cursor: pointer;
}

.product-schema-slide-prev {
  transform: rotate(180deg);
}

.product-schema-slide-prev:hover,
.product-schema-slide-next:hover {
  background-image: url(https://www.univrmenuiserie.fr/wp-content/themes/univr/assets/chart/arrow-slider-hover.svg);
}

.product-schema-slide-prev.swiper-button-disabled,
.product-schema-slide-next.swiper-button-disabled {
  opacity: 0.5;
}

.product-schema-table {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  width: calc(50% - 32px);
}

.product-schema-table.no-schema {
  width: 100%;
}

.product-schema-table-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: wrap;
  gap: 16px;
  width: 100%;
  padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--3);
  background-color: #F2EEED;
}

.product-schema-table-item:nth-child(even) {
  background-color: #F9F8F8;
}

.product-schema-table-item-title {
  width: calc(40% - 8px);
  font-weight: 600;
  text-transform: uppercase;
}

.product-schema-table-item-value {
  width: calc(60% - 8px);
}

.product-tabs {
  width: 100%;
}

.product-tabs-inner {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 32px;
  width: 100%;
  max-width: var(--wp--style--global--content-size);
  margin: 0 auto;
}

.product-tabs-nav {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-direction: column;
  gap: 16px;
  width: calc(30% - 32px);
  padding: var(--wp--preset--spacing--3) 0;
}

.product-tabs-nav::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: var(--wp--preset--spacing--3);
  width: 50vw;
  height: 100%;
  background-color: var(--wp--preset--color--custom-beige);
}

.product-tab-nav-item {
  padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--3);
  background-color: var(--wp--preset--color--custom-chatain);
  color: var(--wp--preset--color--custom-blanc);
  font-size: var(--wp--preset--font-size--3);
  text-align: right;
  text-transform: uppercase;
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
  transition: background-color 0.3s;
  cursor: pointer;
}

.product-tab-nav-item:hover,
.product-tab-nav-item:focus {
  background-color: var(--wp--preset--color--custom-vert);
}

.product-tab-nav-item.active {
  background-color: var(--wp--preset--color--custom-vert);
}

.product-tabs-nav-select {
  display: none;
}

.product-tabs-content {
  width: 70%;
  max-height: calc(100vh - 150px);
  overflow: auto;
}

.product-tab-content {
  display: none;
}

.product-tab-content.active {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}

.product-tab-content h2,
.product-tab-content h3,
.product-tab-content h4 {
  width: 100%;
  margin: 0;
}

.product-tab-content h2 {
  margin-top: var(--wp--preset--spacing--2);
  margin-bottom: var(--wp--preset--spacing--2);
}

.product-tab-content h3 {
  margin-top: var(--wp--preset--spacing--3);
  margin-bottom: var(--wp--preset--spacing--1);
}

.product-tab-content h2 + h3 {
  margin-top: 0;
}

.product-tab-content h3 + h4,
.product-tab-content h3 + .product-tab-subtitle + h4 {
  margin-top: var(--wp--preset--spacing--1);
}

.product-tab-content h4 {
  margin-top: var(--wp--preset--spacing--3);
  margin-bottom: var(--wp--preset--spacing--1);
}

.product-tab-subtitle {
  width: 100%;
  margin-top: calc(-1 * var(--wp--preset--spacing--1));
  margin-bottom: var(--wp--preset--spacing--1);
}

.product-tab-items {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  width: 100%;
}

.product-tab-item {
  width: calc(25% - 24px);
}

.product-tab-item.large {
  width: calc(50% - 24px);
}

.product-tab-item figure {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #B4B4B4;
  margin: 0;
  width: 100%;
  height: fit-content;
  padding: 16px;
  aspect-ratio: 1/1;
}

.product-tab-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-tab-item.large img {
  width: 100%;
  height: 100%;
}

.product-tab-item p {
  margin: 0;
  margin-top: 10px;
  text-align: center;
}

.product-item-swiper-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.product-item-swiper-slide-prev,
.product-item-swiper-slide-next {
  width: 24px;
  height: 24px;
  background-color: var(--wp--preset--color--custom-blanc);
  background-image: url(https://www.univrmenuiserie.fr/wp-content/themes/univr/assets/chart/arrow-slider.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 100%;
  cursor: pointer;
}

.product-item-swiper-slide-prev {
  transform: rotate(180deg);
}

.product-item-swiper-slide-prev:hover,
.product-item-swiper-slide-next:hover {
  background-image: url(https://www.univrmenuiserie.fr/wp-content/themes/univr/assets/chart/arrow-slider-hover.svg);
}

.product-item-swiper-slide-prev.swiper-button-disabled,
.product-item-swiper-slide-next.swiper-button-disabled {
  opacity: 0.5;
}

.inspirations {
  position: relative;
  width: 100%;
}

.inspirations-nav {
  position: absolute;
  z-index: 2;
  bottom: calc(100% + 48px);
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.inspirations-link {
  margin-right: var(--wp--preset--spacing--2);
}

.inspirations-slide-prev,
.inspirations-slide-next {
  width: 39px;
  height: 39px;
  background-color: var(--wp--preset--color--custom-beige);
  background-image: url(https://www.univrmenuiserie.fr/wp-content/themes/univr/assets/chart/arrow-slider.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 100%;
  cursor: pointer;
}

.single-produits .inspirations-slide-prev,
.single-produits .inspirations-slide-next {
  background-color: unset;
}

.inspirations-slide-prev {
  transform: rotate(180deg);
}

.inspirations-slide-prev:hover,
.inspirations-slide-next:hover {
  background-image: url(https://www.univrmenuiserie.fr/wp-content/themes/univr/assets/chart/arrow-slider-hover.svg);
}

.inspirations-swiper .swiper-wrapper {
  width: 100%;
}

.inspirations-swiper .swiper-wrapper:not(.single) {
  padding-bottom: 48px;
}

.inspirations-swiper .swiper-wrapper.single {
  padding-bottom: 0;
}

.inspirations-slide {
  position: relative;
  display: flex;
  width: 50%;
  text-decoration: none;
  overflow: hidden;
  transform: translateZ(0) translateY(48px)!important;
  transition: transform 0.5s;
}

.inspirations-swiper .inspirations-slide.swiper-slide-active,
.acf-block-preview .inspirations-slide:nth-child(1) {
  transform: translateZ(0) translateY(0)!important;
}

.inspirations-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(127, 133, 117, 0.7);
  mix-blend-mode: multiply;
  transform: translateY(100%);
  transition: all 0.3s;
}

.inspirations-slide:hover::before {
  transform: translateY(0);
}

.inspirations-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 641/390;
  object-fit: cover;
}

.inspirations-slide-hover {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0 var(--wp--preset--spacing--4) var(--wp--preset--spacing--3) var(--wp--preset--spacing--4);
  transform: translateY(100%);
  transition: padding 0.4s, transform 0.4s;
}

.inspirations-slide:hover .inspirations-slide-hover {
  overflow: auto;
  padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--4);
  transform: translateY(0);
}

.inspirations-slide-title,
.inspirations-slide-title span.tag {
  display: inline;
  margin: 0;
  max-width: 250px;
  font-size: var(--wp--preset--font-size--3);
  line-height: 1.8;
  transform: translateY(calc(-100% - var(--wp--preset--spacing--3)));
  transition: transform 0.3s;
}

.inspirations-slide:hover .inspirations-slide-title {
  transform: translateY(0);
}

.inspirations-slide-title span.tag {
  position: relative;
  max-width: 100px;
  padding: 10px 0;
  white-space: pre-wrap;
  background-color: var(--wp--preset--color--custom-kaki);
}

.inspirations-slide-title span.tag:after {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  bottom: 0;
  width: 0.25em;
  background-color: var(--wp--preset--color--custom-kaki);
}

.inspirations-slide-excerpt {
  max-width: 400px;
  margin-top: var(--wp--preset--spacing--3);
}

.is-style-lien-classique.inspirations-slide-read-more div {
  color: var(--wp--preset--color--custom-blanc)!important;
}

.is-style-lien-classique.inspirations-slide-read-more div::after {
  background-color: var(--wp--preset--color--custom-blanc)!important;
}

@media (max-width: 1600px) {
  .product-intro-inner,
  .product-key-points-items,
  .product-title,
  .product-schema-inner,
  .product-tabs-inner,
  .inspirations-title,
  .inspirations,
  .related-products-slider {
    width: calc(100% - 40px);
    max-width: 1080px!important;
  }

  .product-tab-nav-item {
    font-size: var(--wp--preset--font-size--2);
  }
}

@media (max-width: 768px) {
  .product-intro {
    padding-top: 140px;
  }
  .product-intro-inner {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .product-intro-inner-col,
  .product-intro-inner-col:last-child {
    width: 100%;;
  }
  .product-intro p {
    margin-bottom: var(--wp--preset--spacing--2); 
  }
  .product-intro-swiper-thumbs-wrapper {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: flex-end;
  }
  .product-intro-swiper {
    width: 100%;
  }
  .product-gallery {
    flex-flow: wrap;
  }
  .product-gallery img {
    width: calc(50% - 8px);
  }
  .product-key-points {
    margin-top: -32px; 
  }
  .product-key-points-items {
    flex-direction: column;
    margin: 32px 0 0 0;
  }
  .product-key-point-item {
    position: relative;
    width: 100%;
    text-align: center;
  }
  .product-key-point-item::after {
    content: "";
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    width: 10px;
    height: 1px;
    background-color: var(--wp--preset--color--custom-chatain);
  }
  .product-title {
    margin-top: var(--wp--preset--spacing--4);
  }
  .product-title h2 {
    margin-top: 0;
  }
  .product-schema-inner {
    flex-direction: column;
    gap: 0;
    background-color: #F2EEED;
    border-top-right-radius: 40px;
  }
  .product-schema-table-item-title,
  .product-schema-table-item-value {
    width: 100%;
  }
  .product-schema-swiper {
    width: 100%;
  }
  .product-schema-swiper .swiper-slide p {
    padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--2) var(--wp--preset--spacing--3) var(--wp--preset--spacing--2);
  }
  .product-schema-table {
    width: 100%;
  }
  .product-schema-table-item {
    flex-direction: column;
  }
  .product-tabs-inner {
    flex-direction: column;
    gap: 0;
  }
  .product-tabs-nav {
    display: none;
  }
  .product-tabs-nav-select-wrapper {
    position: relative;
    width: 100%;
  }
  .product-tabs-nav-select {
    display: block;
    width: 100%;
    padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--3);
    appearance: none;
    background-color: var(--wp--preset--color--custom-chatain);
    border: none;
    border-radius: 20px;
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--3);
    color: var(--wp--preset--color--custom-blanc);
  }
  .product-tabs-nav-select-wrapper::after {
    content: "";
    position: absolute;
    width: 36px;
    height: 36px;
    background-image: url(https://www.univrmenuiserie.fr/wp-content/themes/univr/assets/chart/arrow-slider-blanc.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    right: var(--wp--preset--spacing--2);
    transform: translateY(-50%) rotate(90deg);
    pointer-events: none;
  }
  .product-tabs-content {
    width: 100%;
    max-height: unset;
    overflow: visible;
  }
  .product-tab-content h2 {
    margin-bottom: var(--wp--preset--spacing--2);
  }
  .product-tab-items {
    gap: 16px;
  }
  .product-tab-item {
    width: calc(50% - 8px);
  }
  .product-tab-item.large {
    width: 100%;
  }
  #product-tabs-personnalisation {
    margin-bottom: var(--wp--preset--spacing--5);
  }
  .inspirations-nav {
    position: relative;
    bottom: unset;
    right: unset;
    justify-content: flex-end;
    flex-flow: wrap;
    margin-bottom: var(--wp--preset--spacing--1);
  }
  .inspirations-swiper,
  .inspirations-swiper .swiper-wrapper {
    padding-bottom: 0;
  }

  .inspirations-slide-title span.tag {
    font-size: 12px;
  }

  .inspirations-slide-hover,
  .inspirations-slide-item:hover .inspirations-slide-item-hover {
    padding: var(--wp--preset--spacing--1);
  }

  .inspirations-slide-hover,
  .inspirations-slide:hover .inspirations-slide-hover {
    padding: var(--wp--preset--spacing--1);
  }

  .inspirations-slide-excerpt {
    font-size: 14px;
    margin-top: 16px;
  }

  
}
