/**
Include icons in scss/css.
Usage: 
 @include icon(close);
*/
/*
Media query mixin.
Usage: 
@include media($bp-l, min)
*/
/*
Mixin to add loading spinner to button/element.
Usage: 
@include loading()
*/
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  padding: 0.375rem 0;
  gap: 1rem;
}

.color-swatches__swatch {
  height: 2rem;
  min-width: 2rem;
  line-height: 2rem;
  border-radius: 100%;
  border: 1px solid #e0e0e0;
  padding: 0 0.625rem;
  flex: 0 0 auto;
  position: relative;
  box-sizing: border-box;
  color: #054040;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.color-swatches__swatch::before {
  content: "";
  position: absolute;
  border: 1px solid transparent;
  inset: -3px;
  transition: border-color 0.3s;
  border-radius: 100%;
}
.color-swatches__swatch::after {
  content: "";
  width: 1px;
  inset: -3px;
  margin: 0 auto;
  transform: rotateZ(-45deg);
  background-color: transparent;
  position: absolute;
  transition: background-color 0.3s;
}
.color-swatches__swatch:hover::before {
  border-color: #054040;
}
.color-swatches__swatch--sold-out::before {
  border-color: #e6e6e6;
}
.color-swatches__swatch--sold-out::after {
  background-color: #e6e6e6;
}
.color-swatches__swatch--sold-out:hover::before {
  border-color: #054040;
}
.color-swatches__swatch--sold-out:hover::after {
  background-color: #054040;
}
.color-swatches__swatch--selected::before {
  border-color: #054040;
}
.color-swatches__swatch--sold-out.color-swatches__swatch--selected::after {
  background-color: #054040;
}
.color-swatches__swatch img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 100%;
  overflow: hidden;
}
.color-swatches__swatch .color-swatch__hex {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  border-radius: 100%;
  overflow: hidden;
}

label.color-swatches__swatch {
  padding: 0;
}

.color-swatch__tooltip {
  font-size: 0.75rem;
  line-height: 160%;
  font-weight: 500;
  display: none;
  visibility: hidden;
  background-color: #054040;
  color: #fff;
  text-align: center;
  padding: 0 0.5rem;
  border-radius: 100px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
}
@media only screen and (min-width: 768px) {
  .color-swatch__tooltip {
    display: block;
  }
}
.color-swatch__tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 4px solid #054040;
  border-color: #054040 transparent transparent transparent;
}

@media only screen and (min-width: 768px) {
  .color-swatch:hover .color-swatch__tooltip {
    visibility: visible;
  }
}

.color-swatches__count {
  font-size: 0.75rem;
  line-height: 160%;
  font-weight: 500;
  display: flex;
  align-items: center;
  color: #1a1a1a;
}

.product-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.product-card [data-bv-show=inline_rating] {
  display: block !important;
}

.product-card__media-container {
  position: relative;
  margin-bottom: 1rem;
  background-color: #f2f2f2;
}

.product-card__media-link {
  display: block;
  padding-top: 100%;
}

.product-card__badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
}
.product-card__badges .image-badge img {
  width: 3rem;
  height: 3rem;
}

.product-card__info-container {
  font-size: 0.875rem;
  line-height: 140%;
  font-weight: 500;
  padding: 0 0.5rem;
  line-height: 130%;
}
@media only screen and (max-width: 767px) {
  .product-card__info-container {
    padding: 0 var(--container-side-space);
  }
}
:where(.product-card--sold-out) .product-card__info-container {
  opacity: 0.6;
}

:where(.product-card--sold-out) .product-card__media-items-wrapper {
  opacity: 0.6;
}

.product-card__media-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: opacity 550ms ease-in-out;
  object-fit: cover;
}
.product-card__media-item:first-child {
  opacity: 0;
}
.product-card__media-item:last-child {
  opacity: 1;
}
.product-card__media-container:hover .product-card__media-item:last-child {
  opacity: 0;
}
.product-card__media-container:hover .product-card__media-item:first-child {
  opacity: 1;
}

.product-card__title {
  font-size: 1.125rem;
  line-height: 150%;
  font-weight: 600;
  letter-spacing: -0.0125rem;
  margin-bottom: 0.375rem;
}
@media only screen and (min-width: 768px) {
  .product-card__title {
    font-size: 1.5rem;
    line-height: 140%;
    font-weight: 600;
    letter-spacing: -0.025rem;
  }
}
.product-card__title a {
  text-decoration: none;
  color: #054040;
}
.product-card__title a:hover {
  text-decoration: none;
}
.product-card__media-container:hover + * .product-card__title a {
  text-decoration-color: currentcolor;
}

.product-card__colors .color-swatches {
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.product-card__colors .color-swatches {
  gap: 0.375rem 0.75rem;
}

.product-card__colors .color-swatches__swatch {
  height: 1.3125rem;
  min-width: 1.3125rem;
  line-height: 1.3125rem;
  padding: 0;
}
.product-card__colors .color-swatches__swatch:not([href])::before, .product-card__colors .color-swatches__swatch--active::before {
  inset: -0.1875rem;
}

.product-card__price {
  color: #1a1a1a;
}
.product-card__price s {
  color: #666;
  margin-right: 0.5rem;
}

[data-bv-show=inline_rating] .bv_main_container .bv_sub_container .bv_text {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #054040 !important;
}

[data-bv-show=inline_rating] .bv_stars_button_container svg {
  stroke: #054040 !important;
  margin-right: 1px !important;
}

.product-card__reviews {
  margin-top: 0.375rem;
  margin-bottom: -0.375rem;
}
.product-card__reviews .star-container {
  width: 1rem;
  height: 1rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.product-card__add-to-cart {
  margin-top: auto;
  padding-top: 24px;
  padding-inline: 1rem;
  display: none;
}
@media only screen and (min-width: 768px) {
  .product-card__add-to-cart {
    padding-top: 1.875rem;
    padding-inline: 0.5rem;
  }
}
.product-carousel-section--quick-add .product-card__add-to-cart--quick-add {
  display: block !important;
}
.quick-view-enabled .product-card__add-to-cart--quick-view {
  display: block !important;
}
.quick-view-enabled .product-card--default-add .product-card__add-to-cart--quick-add {
  display: block !important;
}
.product-card--default-add .product-card__add-to-cart--quick-view {
  display: none !important;
}
.product-card__add-to-cart .primary-button {
  padding-inline: 0.5rem;
}

.quick-view .rc-container-wrapper {
  margin-bottom: 1.5rem;
}
.quick-view .product-details__view-product {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}
.quick-view .product-custom-messaging {
  margin-top: 1.5rem;
}

.quick-view__price {
  margin-bottom: 1.5rem;
}

quick-view-product {
  display: block;
  margin-top: 1.5rem;
}
quick-view-product:empty {
  height: calc(100vh - 6.5rem);
  width: 100%;
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}
quick-view-product:empty::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  left: auto;
  bottom: auto;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border-width: 1px;
  border-style: solid;
  border-color: black black black transparent;
  animation: loading-spinner 0.5s linear infinite;
  width: 3.125rem;
  height: 3.125rem;
  left: calc(50% - 1.5625rem);
  top: calc(50% - 1.5625rem);
  border-width: 0.125rem;
}
