/** Shopify CDN: Minification failed

Line 24:3 Cannot use type selector "__main-wrapper" directly after nesting selector "&"
Line 28:3 Cannot use type selector "__image" directly after nesting selector "&"
Line 39:3 Cannot use type selector "__loading-spinner" directly after nesting selector "&"

**/

.product-card__quick-buy {
  height: max-content;
}
.product-gallery__thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.product-card__thumbnail-list {
  justify-content: center;
}
.product-card__quick-buy {
  bottom: var(--spacing-16);
}
.product-gallery {
  &__main-wrapper {
    position: relative;
  }

  &__image {
    width: 100%;
    height: auto;
    opacity: 1;
    transition: opacity 0.3s ease;

    &.is-loading {
      opacity: 0.5;
    }
  }

  &__loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-primary);
    animation: spin 1s linear infinite;

    &.is-active {
      display: block;
    }
  }

  @keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }

}
