.mm-featured-collections-wrapper {
  * {
    letter-spacing: 0;
    box-sizing: border-box;
  }

  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  img {
    width: 100%;
    height: auto;
  }

  .page-width {
    max-width: 1300px;
    margin: 0 auto;
  }

  .mm-tab-pane {
    display: none;
  }

  .mm-tab-pane.active {
    display: block;
  }

  .section-header {
    padding: 21px 20px;
    position: relative;
    z-index: 2;
    text-align: center;
  }

  .heading-overlay {
    display: block;
    font-family: var(--font-heading--family);
    font-size: 90px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    color: rgba(22, 22, 22, 0.10);
    font-weight: 600;
    line-height: 130%;

  }

  .mm-heading {
    text-align: center;
    position: relative;
    display: inline-block;

    * {
      color: #161616;
      font-size: 32px;
      font-weight: 600;
      line-height: 130%;
    }
  }

  .mm-heading::after {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    background: var(--mm-heading-icon);
    top: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    right: -35px;
  }

  .section-header {
    margin-bottom: 35px;
  }

  .mm-tabs-nav {
    padding: 0 20px;
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    max-width: fit-content;
    margin: 0 auto 24px;
  }

  .mm-tabs-nav li {
    min-width: max-content;
  }

  .mm-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    font-family: var(--font-body--family);
    cursor: pointer;
    background: transparent;
    color: #161616;
    font-size: 14px;
    font-weight: 800;
    line-height: 150%;
    border: 1px solid #161616;
    padding: 8px 24px;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }

  .tab-button.active {
    background: #161616;
    color: #ffffff;
  }

  .mm-tabs-content {
    padding: 0 20px;
  }

  .mm-products-grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: 32px;
    column-gap: 16px;
  }

  .mm-product-card {
    width: calc(100% / 2 - 8px);
  }

  .product-card__image-wrapper {
    margin-bottom: 12px;
  }

  .product-card__image-link {
    padding-bottom: 110%;
    display: block;
    position: relative;
  }

  .product-card__image-link .product__card-image--secondary {
    opacity: 0;
    transition: 0.3s;
  }

  .product-card__image-link:hover .product__card-image--secondary {
    opacity: 1;
    transition: 0.5s;
  }

  .product__card-image {
    display: block;
    object-fit: cover;
    height: 100%;
    overflow: hidden;
    position: absolute;
  }

  .product-card__dynamic-content {
    display: none;
  }

  .product-card__dynamic-content.active {
    display: block;
  }

  .product-card__title {
    margin: 0 0 5px 0;
  }

  .product-card__title-link {
    display: block;
    color: #161616;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    text-transform: uppercase;
    font-family: var(--font-heading--family);
  }

  .product-card__price {
    color: #FF1E1E;
    font-size: 12px;
    line-height: 150%;
  }

  .product-card__price.product-card__price--sale {
    color: #161616;
  }

  mm-variant-selects {
    margin-top: 8px;
    display: block;
  }

  .mm-variant-metafields-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: space-between;
    margin-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    padding-top: 8px;
  }

  .variant-metafield-header {
    margin: 0;
    font-size: 8px;
    color: #161616;
  }

  .variant-metafield-content {
    color: #7E7E7E;
  }

  .color_variants-wrapper label.swatch--image {
    background-image: var(--option-color-image);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 32px;
    height: 36px;
    background-color: transparent;
  }

  .product_variants-wrapper {
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .product_variants-wrapper input {
    display: none;
  }

  .fieldset-variant {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
  }

  .fieldset-variant label {
    padding: 6px 16px;
    border-radius: 4px;
    background: #F5F5F5;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 2px solid #F5F5F5;
    font-size: 12px;
    text-transform: capitalize;
  }

  .product_variants-wrapper input[type="radio"]:checked+label {
    border: 2px solid #000;
  }

  .product_variants-wrapper input[type="radio"]+label {
    position: relative;
  }

  .product_variants-wrapper input[type="radio"].is-disabled+label:before {
    content: "";
  }

  .product_variants-wrapper input[type="radio"]+label:before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: linear-gradient(to bottom right, transparent, transparent 48%, var(--color-border, #dadce0) 49%, var(--color-border, #dadce0) 50%, var(--color-border, #dadce0) 51%, transparent 52%, transparent) no-repeat;
    z-index: 1;
  }

  .mm-atc {
    border: 1px solid #161616;
    background: #161616;
    color: #fff;
    width: 100%;
    padding: 6px;
    font-size: 12px;
    font-family: var(--font-body--family);
    font-weight: 800;
    line-height: 150%;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 32px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mm-atc.sold-out {
    cursor: not-allowed;
    opacity: 0.6;
  }

  .mm-atc:hover:not(.sold-out) {
    opacity: 0.8;
  }

  .mm-atc.loading {
    .js-addToCart-text {
      display: none;
    }

    .loading-overlay {
      display: block;
    }
  }

  .mm-atc:disabled {
    cursor: not-allowed;
    opacity: 0.6;
  }

  .product-card__bottom {
    margin-top: 8px;
  }

  @media (min-width: 768px) {
    .mm-product-card {
      width: calc(100% / 3 - 11px);
    }

    .product-card__price {
      font-size: 16px;
    }

    .variant-metafield-header {
      font-size: 14px;
    }
  }

  @media (min-width: 992px) {
    .tab-button {
      font-size: 18px;
      padding: 12px 50px;
    }

    .mm-tabs-nav {
      margin-bottom: 50px;
    }

    .product-card__image-wrapper {
      margin-bottom: 16px;
    }

    .product-card__title-link {
      font-size: 24px;
    }

    .sale-price-wrapper {
      font-size: 18px;
    }

    .mm-variant-metafields-wrapper {
      padding-top: 12px;
      margin-top: 12px;
    }

    .fieldset-variant label {
      font-size: 18px;
    }

    .fieldset-variant,
    .product_variants-wrapper {
      gap: 12px;
    }

    .color_variants-wrapper label.swatch--image {
      width: 48px;
      height: 48px;
    }

    .product-card__bottom {
      margin-top: 16px;
    }

    .mm-atc {
      font-size: 18px;
      height: 51px;
    }

    .mm-products-grid {
      row-gap: 50px;
    }

    .section-header {
      margin-bottom: 80px;
    }

    .heading-overlay {
      font-size: 150px;
    }

  }

}


.loading-overlay {
  border-radius: 50%;
  animation: spin-atc 2s linear infinite;
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  left: calc(50% - 10px);
  top: 5px;
  display: none;
}

@keyframes spin-atc {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (min-width: 992px) {
  .loading-overlay {
    top: 14px;
  }
}