/*
Theme Name: Divi Child
Template: Divi
Description: Divi Child Theme
Author: Astuces Divi
Author URL: https://fabien-seo.com
*/

.archive-product__wrapper, .single-product__wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  max-width: 1080px;
  margin: 40px auto;
  font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
}

.single-product__images {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.single-product__content {
  width: 100%;
}

.single-product__wrapper figure {
  position: relative;
  width: 48%;
  height: 0;
  margin-top: 10px;
  padding-bottom: 48%;
}

.single-product__wrapper figure.noimage {
  background-color: #ddd;
}


.single-product__wrapper figure:first-child {
  position: relative;
  width: 100%;
  height: 0;
  margin-top: 0;
  padding-bottom: 100%;
}

.card-product img, .single-product__wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.archive-product__container h1, .single-product__content h1 {
  text-transform: uppercase;
  font-size: 36px;
  line-height: 1.4em;
}

.archive-product__container h1 {
  padding-top: 40px;
  text-align: center;
}

.single-product__qty {
  font-weight: bold;
}

.single-product__price {
  margin-top: 20px;
  font-size: 30px;
}

.card-product {
  width: 100%;
  margin-top: 10px;
  padding: 0 5px;
  color: #000;
}

.card-product figure {
  position: relative;
  width: 100%;
  height: 0;
  margin-top: 0;
  padding-bottom: 100%;
}

.card-product figure.noimage {
  background-color: #ddd;
}

.card-product__title {
  margin-top: 10px;
  font-size: 16px;
}

.add-to-cart {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .single-product__images {
    width: 50%;
    padding-right: 10px;
  }

  .single-product__content {
    width: 50%;
    padding-left: 10px;
  }

  .card-product {
    width: 25%;
  }
}
