/**
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()
*/
.product-details__option-wrapper {
  margin-bottom: 1rem;
}

.product-details__option-header {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  column-gap: 2.5rem;
  align-items: center;
}

.product-details__option-name {
  font-size: 0.875rem;
  line-height: 140%;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-details__option-selected {
  font-size: 0.875rem;
  line-height: 140%;
  font-weight: 500;
}

.product-details__option-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-details__option-label {
  font-size: 0.75rem;
  line-height: 140%;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.2px;
  padding: 0.75rem 1.5rem;
  border: 1px solid #e6e6e6;
  border-radius: 6.25rem;
  display: inline-block;
  cursor: pointer;
  color: #054040;
  text-decoration: none;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.product-details__option-label:hover {
  border-color: #054040;
}
.product-details__option-label--selected {
  background-color: #50fcce;
  border-color: #50fcce;
}
.product-details__option-label--selected:hover {
  border-color: #50fcce;
}
.product-details__option-label--sold-out {
  border-color: #e6e6e6;
  color: #595959;
}
.product-details__option-label--sold-out:hover {
  border-color: #595959;
}

.product-details__option-label--selected.product-details__option-label--sold-out {
  background-color: #e6e6e6;
  border-color: #e6e6e6;
}

.product-details__option-name-value {
  font-size: 0.875rem;
  line-height: 140%;
  font-weight: 500;
  text-transform: none;
}
.product-details__option-name-value span {
  letter-spacing: 0;
  animation: opacity-appear 0.3s ease 1;
}

.product-details__option-color-values {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.product-details__option-color-values .color-swatches {
  padding: 2px 0;
}
.product-details__option-color-values a {
  height: 2rem;
  min-width: 2rem;
  line-height: 2rem;
  border-radius: 6.25rem;
  border: 1px solid #e0e0e0;
  padding: 0 0.625rem;
  flex: 0 0 auto;
  position: relative;
  box-sizing: border-box;
  color: black;
  text-decoration: none;
}
.product-details__option-color-values a:not([href])::before {
  content: "";
  position: absolute;
  border: 1px solid black;
  inset: -4px;
  border-radius: 100%;
}
.product-details__option-color-values a.is-sold-out::after {
  content: "";
  width: 1px;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: rotateZ(-45deg);
  height: 100%;
  background-color: white;
  position: absolute;
}
.product-details__option-color-values a img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 100%;
  overflow: hidden;
}

.bundle-details {
  width: 100%;
  box-sizing: border-box;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 var(--container-side-space);
  display: block;
  transition: 0.3s ease;
}
.global-bundle-product-loading .bundle-details {
  opacity: 0.7;
  pointer-events: none;
}

.bundle-details__header {
  margin: 2rem 0;
}

.bundle-details__badge {
  --badge-custom-bg-color: #50fcce;
  margin-bottom: 0.5rem;
}

.bundle-details__title {
  font-size: 1.5rem;
  line-height: 140%;
  font-weight: 600;
  letter-spacing: -0.0625rem;
  margin-bottom: 0.25rem;
}
@media (min-width: 992px) {
  .bundle-details__title {
    font-size: 2rem;
  }
}

.bundle-details__price {
  margin-bottom: 0.75rem;
}

.bundle-details__description {
  max-width: 40rem;
}

.bundle-details__modal-link {
  display: inline-flex;
  margin-left: 0.25rem;
}

.bundle-details__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.bundle-details__actions button {
  width: auto;
}

.bundle-details__oos-message {
  color: #b50808;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.bundle-details__products {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(22.5rem, 1fr));
  margin-bottom: 2.5rem;
}

.bundle-details__product > form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.bundle-details__product .subscription-widget {
  padding: 0;
}
.bundle-details__product .product-details__option-wrapper {
  margin: 0;
}
.bundle-details__product .product-details__option-label {
  padding: 0.375rem 1.5rem;
}
.bundle-details__product .product-details__option-name {
  font-size: 0.75rem;
}
.bundle-details__product .product-details__option-name * {
  font-size: inherit;
}
.bundle-details__product .subscription-widget__option-badge,
.bundle-details__product .subscription-widget__option-content {
  display: none;
}
.bundle-details__product .subscription-widget__option {
  padding: 0.75rem;
}

.bundle-details__product-header {
  display: flex;
  gap: 1rem;
}
.bundle-details__product-header > div {
  margin-top: auto;
}

.bundle-details__product-title {
  font-size: 1.125rem;
  line-height: 150%;
  font-weight: 600;
  letter-spacing: -0.0125rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 992px) {
  .bundle-details__product-title {
    font-size: 1.25rem;
  }
}

.bundle-details__product-color-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bundle-details__product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.bundle-details__product-plans {
  width: 100%;
}

#rich-quick-view-product {
  transition: 0.3s ease;
}
#rich-quick-view-product:empty {
  height: 25rem;
}
#rich-quick-view-product[loading] {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
  pointer-events: none;
  opacity: 0.7;
}
#rich-quick-view-product[loading]::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;
}

.template-bundles .modal__window {
  border-radius: 1rem;
}
.template-bundles .modal__window-content {
  padding: 1.5rem;
}
.template-bundles .modal__close {
  top: 0.5rem;
  right: 0.5rem;
}

@media only screen and (max-width: 767px) {
  #rich-quick-view {
    align-items: flex-end;
  }
  #rich-quick-view .modal__window {
    width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  #rich-quick-view .modal__window-content {
    padding-inline: 0;
    max-height: 70vh;
  }
}
#rich-quick-view .modal__window {
  max-width: 50rem;
}
