/** Shopify CDN: Minification failed

Line 279:3 Cannot use type selector "--prev" directly after nesting selector "&"

**/
.featured-product__title-wrapper {
  margin-bottom: 2rem;
  text-align: center;
}

.featured-product__title {
  margin: 0;
  color: rgb(var(--color-foreground));
}

.featured-product-card {
  position: relative;
  border-radius: 2rem;
  padding: 1.6rem;
  max-width: 100%;
  margin: 0 auto;

  @media screen and (min-width: 750px) {
    padding: 2.4rem;
    border-radius: 2.4rem;
  }

  @media screen and (min-width: 990px) {
    padding: 6.7rem 16.3rem 6.8rem 11rem;
    max-width: 130rem;
    border-radius: 2.8rem;
  }

  capacity-swap {
    color: rgb(var(--color-foreground));
  }

  .capacity-selector-wrap {
    margin-bottom: 0;
  }

  .capacity-pill {
    flex: 0 0 auto;
    width: max-content;
    color: rgb(var(--color-foreground));
    border-color: transparent;
    background-color: transparent;
    padding: 0.4rem 1.2rem;
    font-size: 1.5rem;

    &:hover {
      border-color: rgba(var(--color-foreground), 0.45);
    }

    &.is-active {
      border-color: rgba(var(--color-foreground), 0.9);
      background-color: transparent;
    }
  }

  .capacity-nav {
    border-color: transparent;
    background-color: transparent;
    color: rgb(var(--color-foreground));

    &:hover {
      border-color: transparent;
      opacity: 0.75;
    }
  }
}

.featured-product-card__content {
  display: flex;
  flex-direction: column;
  gap: 3rem;

  @media screen and (min-width: 750px) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: 'media details';
    gap: 0;
    align-items: center;
  }
}

.featured-product-card__details {
  display: contents;

  @media screen and (min-width: 750px) {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    grid-area: details;
    align-self: center;
    min-width: 0;
  }
}

.featured-product-card__header {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;

  @media screen and (min-width: 750px) {
    order: 1;
  }
}

.featured-product-card__media {
  width: 100%;
  order: 2;

  @media screen and (min-width: 750px) {
    grid-area: media;
    align-self: center;
    justify-self: center;
    order: initial;
  }
}

.featured-product-card__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  order: 3;

  @media screen and (min-width: 750px) {
    order: 2;
    justify-content: center;
  }
}

.featured-product-card__badge-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 0;

  &:empty {
    display: none;
  }

  .badge {
    @media screen and (min-width: 750px) {
      font-size: 1.9rem;
      padding: 1rem 1.4rem;
    }
  }
}

.featured-product-card__heading {
  font-size: 2.4rem;
  line-height: 1.3;
  margin: 0;
  color: rgb(var(--color-foreground));
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;

  @media screen and (min-width: 750px) {
    font-size: 2.8rem;
  }
}

.featured-product-card__image-wrapper {
  position: relative;
  background-color: #fff;
  border-radius: 1.6rem;
  padding: 2rem 0.8rem 2.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  aspect-ratio: 1.281 / 1;
  overflow: hidden;

  @media screen and (min-width: 750px) {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 2.4rem 1.2rem 3.2rem;
  }

  @media screen and (min-width: 990px) {
    padding: 3rem 1.6rem 4rem;
    border-radius: 2rem;
  }

  & > svg,
  .placeholder-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .placeholder-svg {
    fill: rgba(0, 0, 0, 0.08);
  }
}

.featured-product-card__track {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 100%;
  align-self: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;

  &::-webkit-scrollbar {
    display: none;
  }

  img {
    cursor: zoom-in;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.featured-product-card__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.featured-product-card__media-nav {
  position: static;
  flex: 0 0 auto;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: opacity 0.15s ease, color 0.15s ease;

  &[hidden] {
    display: none;
  }

  &:hover {
    color: rgba(0, 0, 0, 0.85);
  }

  &:disabled {
    opacity: 0.25;
    cursor: default;
  }

  &--prev,
  &--next {
    left: auto;
    right: auto;
    top: auto;
    transform: none;
  }
}

.featured-product-card__dots {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.featured-product-card__dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;

  &.is-active {
    background: rgba(0, 0, 0, 0.55);
    transform: scale(1.1);
  }
}

.featured-product-card__zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: rgba(0, 0, 0, 0.65);
  background: transparent;
  cursor: pointer;

  &:hover {
    color: rgba(0, 0, 0, 0.9);
  }

  .svg-wrapper,
  svg {
    width: 1.8rem;
    height: 1.8rem;
    pointer-events: none;
  }
}

.featured-product-zoom {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  transition: opacity 0.2s ease;

  &.is-open {
    opacity: 1;
  }
}

.featured-product-zoom__image {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.8rem;
  background: #fff;
}

.featured-product-zoom__close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.15s ease;

  &:hover {
    background: rgba(255, 255, 255, 0.22);
  }
}

.featured-product-card__capacity {
  width: 100%;
}

.featured-product-card__price {
  margin: 0;

  .price,
  .price--bold.red .price__regular {
    color: rgb(var(--color-foreground));
    font-size: 1.9rem;
    font-weight: 700;

    @media screen and (min-width: 750px) {
      font-size: 2.1rem;
    }
  }

  .price__container {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .price__regular {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 1.15;
  }

  .price__sale {
    display: none;
  }

  .price--on-sale .price__regular {
    display: none;
  }

  .price--on-sale .price__sale,
  .price--bold.red.price--on-sale .price__sale {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: .2rem;
    line-height: 1.15;
  }

  .price .price-item {
    margin: 0;
  }

  .price__regular .price-item--regular,
  .price--on-sale .price-item--sale,
  .price--bold.red.price--on-sale .price__sale .price-item--sale {
    color: rgb(var(--color-foreground));
    font-size: 1.9rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.15;

    @media screen and (min-width: 750px) {
      font-size: 2.1rem;
    }
  }

  .price--on-sale .price-item--regular {
    color: rgba(var(--color-foreground), 0.55);
    font-size: 1.6rem;
    font-weight: 400;
    text-decoration: line-through;
    line-height: 1.15;
  }
}

.featured-product-card__description {
  margin: 0;

  &:empty {
    display: none;
  }

  .card-description__list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: rgb(var(--color-foreground));
    font-size: 1.6rem;
    line-height: 1.55;

    @media screen and (min-width: 750px) {
      font-size: 2.1rem;
    }
  }

  .card-description__list-item {
    padding-left: 0;
    line-height: 1.15;
  }
}

.featured-product-card__variants,
.featured-product-card__text,
.featured-product-card__rating,
.featured-product-card__app-block {
  margin: 0;
}

.featured-product-card__actions {
  margin-top: 0.4rem;

  .product-form__buttons {
    margin: 0;
    width: 100%;
  }

  .shopify-payment-button {
    display: none;
  }

  .product-form__submit {
    width: 100%;
    max-width: 100%;
    background-color: rgba(var(--color-button), var(--alpha-button-background));
    border-color: rgba(var(--color-button), var(--alpha-button-border));
    color: rgb(var(--color-button-text));
    font-weight: 700;
    min-height: 4.8rem;
    border-radius: 999px;
    text-transform: none;
    font-size: 1.6rem;
    letter-spacing: 0;

    &:hover {
      background-color: rgba(var(--color-button), 0.85);
      border-color: rgba(var(--color-button), 0.85);
    }

    &:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    @media screen and (min-width: 750px) {
      width: auto;
      min-width: 18rem;
      padding-inline: 3.2rem;
      font-size: 2.4rem;
    }
  }
}

.featured-product-card__variants {
  color: rgb(var(--color-foreground));

  label,
  legend,
  .product-form__input {
    color: rgb(var(--color-foreground));
  }

  input[type='radio'] + label {
    border-color: rgba(var(--color-foreground), 0.3);
    color: rgb(var(--color-foreground));
    background-color: transparent;
  }

  input[type='radio']:checked + label {
    border-color: rgba(var(--color-foreground), 0.75);
    background-color: rgba(var(--color-foreground), 0.1);
  }
}

.featured-product-card__text {
  color: rgb(var(--color-foreground));
  font-size: 1.4rem;
}
