/**
 * Arterra - Sélection artisanale
 * Grille compatible avec Bootstrap 4.0.0-alpha.5 du thème Classic.
 */

#arterra-selection {
  box-sizing: border-box;
  position: relative;
  left: 50%;
  width: 100vw;
  margin: 0 0 0 -50vw;
  padding: 52px 0;
  overflow: hidden;
  background: #f6f2ef;
}

#arterra-selection *,
#arterra-selection *::before,
#arterra-selection *::after {
  box-sizing: inherit;
}

#arterra-selection .arterra-selection__inner {
  width: 100%;
  max-width: 1600px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

#arterra-selection .arterra-selection__layout,
#arterra-selection .arterra-selection__products {
  display: flex;
  flex-wrap: wrap;
}

#arterra-selection .arterra-selection__layout {
  align-items: center;
}

#arterra-selection .arterra-selection__editorial {
  max-width: 430px;
  padding: 20px 30px 20px 0;
}

#arterra-selection .arterra-selection__title {
  margin: 0 0 16px;
  color: #3f393f;
  font-size: 2rem;
  line-height: 1.2;
}

#arterra-selection .arterra-selection__introduction {
  font-weight: 500;
  font-size: 14px;
  line-height: 25px;
  color: #3f393f;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}

#arterra-selection .arterra-selection__cta {
  padding: 10px 22px;
  border: 1px solid rgba(182,151,130,.6);
  border-radius: 0 22px 22px 22px;
  background: #b0826e;
  color: #fff;
  font-weight: 600;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

#arterra-selection .arterra-selection__cta:hover,
#arterra-selection .arterra-selection__cta:focus {
  border-color: #3f393f;
  background: #3f393f;
  color: #fff;
  text-decoration: none;
}

#arterra-selection .arterra-selection__product-column {
  display: flex;
  margin-bottom: 20px;
}

#arterra-selection .arterra-selection__product {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(182,151,130,.6);
  border-radius: 0 20px 20px 20px;
}

#arterra-selection .arterra-selection__image-link {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #eae5df;
  border-radius: 0 20px 0 0;
}

#arterra-selection .arterra-selection__image {
  border-bottom: 1px solid rgba(182,151,130,.6);
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 220ms ease;
  border-radius: 0 20px 20px 20px;
}

#arterra-selection .arterra-selection__image-link:hover .arterra-selection__image,
#arterra-selection .arterra-selection__image-link:focus .arterra-selection__image {
  transform: scale(1.025);
}

#arterra-selection .arterra-selection__product-content {
  flex: 1 1 auto;
  padding: 4px 6px;
  text-align: center;
  background: #eae5df;
  border-radius: 0 0 20px 20px;
}

#arterra-selection .arterra-selection__product-title {
  margin: 5px auto 10px;
  display: inline-block;
  background: #ffffff;
  border-radius: 20px;
  border: solid 1px rgba(182,151,130,.6);
  padding: 1px 12px 3px 12px;
  /*margin: 0 0 7px;*/
  font-size: 15px;
  line-height: 1.35;
}

#arterra-selection .arterra-selection__product-title a {
  color: #3f393f;
}

#arterra-selection .arterra-selection__product-title a:hover,
#arterra-selection .arterra-selection__product-title a:focus {
  color: #b0826e;
}

#arterra-selection .arterra-selection__price {
  margin: 0;
  color: #3f393f;
  font-weight: 600;
}

@media (max-width: 991px) {
  #arterra-selection .arterra-selection__editorial {
    max-width: 760px;
    padding: 0 0 30px;
  }
}

@media (max-width: 543px) {
  #arterra-selection {
    padding: 38px 0 22px;
  }

  #arterra-selection .arterra-selection__title {
    font-size: 1.6rem;
  }

  #arterra-selection .arterra-selection__product-column {
    margin-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #arterra-selection .arterra-selection__cta,
  #arterra-selection .arterra-selection__image {
    transition: none;
  }
}
