/**
 * Product teaser
 */

.product-teaser {
  padding: 2rem .5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.product-teaser a:hover {
  text-decoration: none;
}
.product-teaser a {
  font-weight: var(--fw-medium);
  font-family: initial;
}
.product-teaser__image {
  position: relative;
}
.product-teaser__promo-badge {
  position: absolute;
  top: 0.5rem;
  left: 3px;
  background-color: var(--color-system--alert);
  color: var(--color-brand--4);
  border-radius: 2px;
  padding: 2px 4px;
  font-weight: var(--fw-demi);;
  font-family: var(--font-primary);
  font-size: 0.875rem;
}
.product-teaser__image img,
.product-teaser__image picture {
  display: block;
  max-width: 100%;
  height: auto;
}
h2.product-teaser__title  {
  font-family: var(--font-primary);
  font-weight: var(--fw-medium);
  color: #0A3A25;
  font-size: var(--heading-size-s);
  text-align: center;
  line-height: 120%;
}
.product-teaser__bio {
  display: inline-block;
  border-radius: 5px;
  background-color: var(--color-brand--2);
  color: var(--color-brand--4);
  padding: 5px 8px 4px;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: var(--fw-demi);;
  line-height: 130%;
  vertical-align: initial;
  font-family: var(--font-primary);
  margin: 0.15rem 0.2rem;
  line-height: normal;
}
.product-teaser__type {
  display: none;
}
.product-teaser__commerce {
  display: flex;
  flex-direction: column-reverse;
}
.product-teaser__prices {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}
.product-teaser__prices span {
  font-family: var(--font-primary);
  font-weight: var(--fw-demi);;
  line-height: 130%
}
.product-teaser__price-cross {
  text-decoration: line-through;
  font-size: 0.75rem;
  color: var(--color-brand--2);
}
.product-teaser__add-to-cart .form-actions {
  margin: 0;
  display: flex;
}
.product-teaser__add-to-cart .attribute-widgets {
  display: none;
  visibility: hidden;
}
.product-teaser__see-more {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 1rem 0;
  justify-content: center;
}
.product-teaser__add-to-cart .button--add-to-cart,
a.product-teaser__see-more-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: var(--font-primary);
  border-radius: 80px;
  transition: ease background-color 0.3s;
  text-decoration: none;
  width: initial;
  border: 1px solid;
  font-weight: var(--fw-medium);
  line-height: 120%;
  margin: 0 auto;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  background-color: var(--color-brand--2);
  color: var(--color-brand--4);
  border-color: var(--color-brand--2);
}
a.product-teaser__see-more-link {
  margin: 0;
}
.product-teaser__add-to-cart .button--add-to-cart:disabled,
.product-teaser__add-to-cart .button--add-to-cart:disabled:hover{
  background-color: var(--color-neutral--3);
  border-color: var(--color-neutral--3);
  cursor: default;
}
.product-teaser__add-to-cart .button--add-to-cart:hover,
a.product-teaser__see-more-link:hover {
  text-decoration: none;
  background-color: var(--color-brand--1);
  color: var(--color-brand--4);
  border-color: var(--color-brand--1);
}
.product-teaser__add-to-cart.disabled .button--add-to-cart {
  pointer-events: none;
  background-color: var(--color-neutral--3);
  border-color: var(--color-neutral--3);
}
.product-teaser__add-to-cart.disabled .product-variation-quantity {
  display: none;
}
@media all and (min-width: 1000px){
  h2.product-teaser__title  {
    text-align: left;
    margin-bottom: 0;
    line-height: 150%;
  }
  .product-teaser__type {
    display: block;
    margin-top: 0.5rem;
    font-family: var(--font-primary);
    font-size: var(--content-size-m);
    line-height: 130%;
  }
  .product-teaser__commerce {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    justify-content: space-between;
  }
  .product-teaser__see-more {
    justify-content: flex-start;
  }
}


/**
 * Product Teaser Homepage
 */

.product-teaser--homepage {

}
.product-teaser--homepage:first-child {
  margin-top: -6rem;
}
.product-teaser--homepage:last-child {
  margin-top: -7rem;
}
.product-teaser--homepage {
  width: calc(50% - .5rem);
  float: right;
}
.product-teaser--homepage:nth-child(even) {
  margin-top: 2rem;
  margin-right: 1rem;
}
@media all and (min-width: 850px){
  .product-teaser--homepage .product-teaser__title {
    text-align: left;
  }
  .product-teaser--homepage .product-teaser__type {
    display: block;
  }
  .product-teaser--homepage .product-teaser__commerce {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    justify-content: space-between;
  }
  .product-teaser--homepage .product-teaser__see-more {
    justify-content: flex-start;
  }
}
@media all and (min-width: 1000px){
  .product-teaser--homepage {
    float: none;
    width: 30%;
  }
  .product-teaser--homepage:first-child,
  .product-teaser--homepage:nth-child(even),
  .product-teaser--homepage:nth-child(2n+3) {
    margin: 0;
  }
  .product-teaser--homepage .product-teaser__title {
    text-align: center;
  }
  .product-teaser--homepage .product-teaser__type {
    display: none;
  }
  .product-teaser--homepage .product-teaser__commerce {
    flex-direction: column-reverse;
    align-items: initial;
    justify-content: initial;
    gap: 0.5rem;
    margin: 0;
  }
  .product-teaser--homepage .product-teaser__see-more {
    justify-content: center;
  }
}
@media all and (min-width: 1300px){
  .product-teaser--homepage .product-teaser__title {
    margin-top: 1rem;
    font-size: 1.3em;
    text-align: left;
  }
  .product-teaser--homepage .product-teaser__type {
    display: block;
  }
  .product-teaser--homepage .product-teaser__commerce {
    flex-direction: row;
    align-items: center;
    margin: 1rem 0;
    justify-content: space-between;
  }
  .product-teaser--homepage .product-teaser__promo-badge {
    top: 1.5rem;
    left: 0.5rem;
  }
  .product-teaser--homepage .product-teaser__see-more {
    justify-content: flex-start;
  }
}


/**
 * Product Teaser Search
 */

.product-teaser.product-teaser--search .product-teaser__commerce {
  justify-content: center;
  margin: 0.2rem;
}

.product-teaser.product-teaser--search h2.product-teaser__title {
  font-family: var(--font-condensed);
  font-weight: var(--fw-demi);
  font-size: var(--heading-size-xs);
  text-decoration: none;
}
.product-teaser.product-teaser--search a {
  text-decoration: none;
}
.product-teaser.product-teaser--search:hover h2.product-teaser__title  {
  color: var(--color-brand--2);
}
.product-teaser.product-teaser--search .product-teaser__bio {
  display: none;
}




/**
 * Cart Flyout Adjustments
 */

.product-teaser .product-variation-quantity,
.product-teaser .variations-select  {
  display: none;
  visibility: hidden;
}
