.true-fans-product-slider__wrapper {
  --_padding-sm: 16px;
  --_padding-inline: max(var(--_padding-sm), calc((100% - var(--_max-width)) / 2));
  padding-inline: var(--_padding-inline);
  padding-block: 40px;

  width: 100%;
  background: var(--_background-color, #000000);

  @media (min-width: 768px) {
    --_padding-sm: 32px;

    padding-block: 48px;
  }
}

.true-fans-product-slider__header__container {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 768px) {
  .true-fans-product-slider__header__container {
    margin-bottom: 24px;
    min-height: 48px;
  }
}

.true-fans-product-slider__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.true-fans-product-slider__logo--img {
  width: 32px;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  display: block;

  @media (min-width: 768px) {
    width: 48px;
  }
}

.true-fans-product-slider__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 8px;

  @media (min-width: 768px) {
    gap: 16px;
  }
}

.true-fans-product-slider__header .h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-family: var(--font-body);
  color: var(--_heading-color, #fff);

  @media (min-width: 768px) {
    font-size: 32px;
  }
}

.true-fans-product-slider__buttons__actions {
  margin-left: auto;
  display: flex;
  gap: 4px;
  height: 48px;

  @media (min-width: 768px) {
    gap: 8px;
  }
}

.true-fans-product-slider__buttons__actions .button-arrow {
  border-radius: 50px;
  padding: 0;
  width: 48px;
  height: 48px;
  aspect-ratio: 1;
  padding: 0;
  border: none;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  display: none;

  @media (min-width: 768px) {
    display: inline-block;
  }
}

.true-fans-product-slider__buttons__actions .button-arrow.bg-disabled,
.true-fans-product-slider__buttons__actions .button-arrow.swiper-button-disabled {
  pointer-events: none;
  opacity: 0.3;
}

.true-fans-product-slider__buttons__actions .button-arrow,
.true-fans-product-slider__buttons__actions .button {
  transition: 0.3s linear opacity;
}

.true-fans-product-slider__buttons__actions .button:focus,
.true-fans-product-slider__buttons__actions .button:focus-visible {
  box-shadow: 0 0 0 2px #4a90e2 !important;
}

.true-fans-product-slider__buttons__actions .button-arrow:hover,
.true-fans-product-slider__buttons__actions .button:hover {
  opacity: 0.8;
}

.true-fans-product-carousel .true-fans-product-carousel__cards {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
  gap: 1rem;
}

.true-fans-product-carousel .true-fans-product-carousel__cards.swiper {
  overflow: visible;
}

.true-fans-product-carousel .true-fans-product-carousel__cards::-webkit-scrollbar {
  display: none;
}

.true-fans-product-carousel .true-fans-product-carousel__cards.active {
  display: flex;
}

/* Cards */
.true-fans-product-carousel .custom-collection--product {
  display: flex;
  padding: 16px;
  flex-direction: column;
  z-index: 2;
  position: relative;
  background: #131313;
  border-radius: 16px;
  box-shadow: 0px 9px 19px 0px rgba(0, 0, 0, 0.04), 0px 2.01px 4.244px 0px rgba(0, 0, 0, 0.02), 0px 0.599px 1.264px 0px rgba(0, 0, 0, 0.02);
  height: 100%;
}

.true-fans-product-carousel .custom-collection--heading {
  font-size: 16px;
  font-weight: 700;
  line-height: 0.95;
  font-family: var(--font-body);
  letter-spacing: -0.03em;
  text-align: left;
  text-transform: none;
  color: #e8e3dd;
  margin-bottom: 4px;
}

.true-fans-product-carousel .custom-collection--team-name {
  font-family: var(--font-body);
  text-align: left;
  text-transform: none;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 400;
  line-height: 130%;
}

.true-fans-product-carousel .new-custom-addcart-wrapper .variant-wrap__label {
  display: block;
  flex: 0 0 14%;
  max-width: 14%;
  font-size: 14px;
}

.true-fans-product-carousel .custom-collection--text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  flex: auto;
}

.true-fans-product-carousel .new-custom-addcart-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.true-fans-product-carousel .custom-collection-form-wrapper {
  margin-top: auto;
}

.true-fans-product-carousel .custom-collection--text--inside {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.true-fans-product-carousel .custom-collection--text-wrap {
  display: none;
}

.true-fans-product-carousel .new-custom-addcart-wrapper variant-radios-custom {
  align-items: baseline;
  gap: 16px;
  margin: 0;
}

.true-fans-product-carousel .custom-collection--product {
  .price,
  .price-item,
  .price--on-sale .price-item--regular {
    opacity: 0.7;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 500;
    margin: 0 7px 0 0;
    color: #fff;
  }

  .price .price__badge-sale {
    background-color: #ad3932;
    color: #e8e3dd;
    border-color: #ad3932;
  }

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

  .price {
    margin-top: 4px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .price__container {
    flex: 0 0 100%;
    text-align: left;
  }

  .price {
    margin-inline: 0;
    justify-content: flex-start;
  }
}

/* Button Primary */
.true-fans-product-carousel .button-style--primary-button .new-custom-addcart-wrapper .new-product-form__buttons .button,
.true-fans-product-carousel .button-style--primary-button .batting-collections-filters button.active,
.batting-collections-filters button.active:hover {
  background: #000;
  color: #e8e3dd;
  transition: 0.3s linear opacity;
  border: none;
  box-shadow: none !important;
}

.true-fans-product-carousel .button-style--primary-button .new-custom-addcart-wrapper .new-product-form__buttons .button:hover {
  background: #000;
  border: none;
  box-shadow: none !important;
  color: #e8e3dd;
  opacity: 0.8;
}

.true-fans-product-carousel .button-style--primary-button .new-custom-addcart-wrapper .new-product-form__buttons .button:focus,
.true-fans-product-carousel .button-style--primary-button .batting-collections-filters button.active,
.batting-collections-filters button.active:focus {
  background: #000;
  box-shadow: none !important;
  border: none;
  color: #e8e3dd;
}

.true-fans-product-carousel .button-style--primary-button .new-custom-addcart-wrapper .new-product-form__buttons .button.loading {
  display: block;
  top: auto;
  left: auto;

  svg .path {
    stroke: #e8e3dd;
  }
}

/* Button Primary ends */

.true-fans-product-carousel {
  /* Media Wrapper */
  .custom-collection--media {
    text-decoration: none !important;
    display: block;
  }

  .custom-collection-img-frame {
    margin-bottom: 16px;
    position: relative;
    padding: 20px 9px;
  }

  .product-card__label {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px !important;
    font-style: normal;
    font-weight: 400;
    color: #e8e3dd !important;
    line-height: 130%;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 12px;
    border-radius: 1000px;
    z-index: 2;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.18);
  }

  .product-card__label.sale {
    background-color: #ad3932;
  }

  .custom-collection--image-wrap {
    background-color: transparent;
    width: 100%;
    height: auto;
    aspect-ratio: 230 / 214;
    min-height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-width: 100%;
  }

  .custom-collection--image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    object-fit: contain;
    height: 100%;
  }

  /* Media Wrapper ends */
}

.true-fans-product-carousel .new-custom-addcart-wrapper .product-form__input input[type='radio'] + label {
  min-height: 32px;
  padding: 6px 8px;
  height: auto;
  min-width: unset;
  width: auto;
}

.true-fans-product-carousel .new-custom-addcart-wrapper .new-custom-variant-selector-wrapper {
  justify-content: flex-start;
}

.replacechild {
  height: 100%;
}

.new-custom-addcart-wrapper .product-form__input {
  justify-content: flex-start !important;
}

/* Swiper Slider */
.true-fans-product-carousel__cards__container {
  width: 100%;
  height: 100%;
}

.true-fans-product-carousel .swiper-button-prev:after,
.true-fans-product-carousel .swiper-button-next:after {
  content: '';
}

.true-fans-product-carousel .swiper-wrapper {
  display: flex;
}

.true-fans-product-carousel .swiper-slide {
  width: 257px;
  height: auto;
  margin-right: 8px;

  @media (min-width: 768px) {
    width: 348px;
  }
}

.true-fans-product-carousel__container {
  position: relative;
}

/* Swiper pagination dots */
.true-fans-product-carousel .true-fans-product-carousel__dots {
  display: none;
}

/* White Card */
.true-fans-product-carousel__cards--white-card {
  .custom-collection--product {
    border: 1px solid #fff;
    background: #fff;

    .custom-collection--heading {
      color: #000;
    }

    .custom-collection--team-name {
      color: rgba(0, 0, 0, 0.7);
    }

    .custom-collection--text-wrap {
      color: #000;
    }

    .price,
    .price-item,
    .price--on-sale .price-item--regular {
      color: rgba(0, 0, 0, 0.7);
    }

    .new-custom-addcart-wrapper .product-form__input input[type='radio'] + label {
      color: #000;
      border-color: rgba(0, 0, 0, 0.2);
    }

    .new-custom-addcart-wrapper .product-form__input input[type='radio'] + label:hover {
      border-color: rgba(0, 0, 0, 0.5);
    }

    .new-custom-addcart-wrapper .product-form__input input[type='radio']:checked + label {
      border-color: #000;
      background-color: rgba(0, 0, 0, 0.05) !important;
      color: #000 !important;
    }

    .new-custom-addcart-wrapper .product-form__input input[type='radio']:focus + label,
    .new-custom-addcart-wrapper .product-form__input input[type='radio']:focus-visible + label,
    .new-custom-addcart-wrapper .product-form__input input[type='radio']:focus-within + label {
      border-color: #000;
    }

    .new-custom-addcart-wrapper .product-form__input input[type='radio'].disabled + label,
    .new-custom-addcart-wrapper .product-form__input input[type='radio']:disabled + label {
      color: #000;
      background: rgba(0, 0, 0, 0.2);
      border-color: rgba(0, 0, 0, 0.2);
    }

    .new-custom-addcart-wrapper .variant-wrap__label {
      color: #000;
    }

    .custom-collection--team-wrapper,
    .custom-collection--color-wrapper {
      border: none;
      margin: 0;
    }

    .custom-collection--team-wrapper .team-wrap__label,
    .custom-collection--color-wrapper .color-wrap__label {
      color: #000;
      font-size: 14px;
    }

    .team-dropdown-container,
    .color-dropdown-container {
      border: none;
    }

    .team-dropdown-custom-select .team-dropdown-select-wrapper,
    .color-dropdown-custom-select .color-dropdown-select-wrapper {
      border: 1px solid rgba(0, 0, 0, 0.2);
    }

    .team-dropdown-custom-select.open .team-dropdown-select-wrapper,
    .color-dropdown-custom-select.open .color-dropdown-select-wrapper {
      border-color: rgba(0, 0, 0, 0.4);
      border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    }

    .team-dropdown-custom-select .team-dropdown-selected-option,
    .color-dropdown-custom-select .color-dropdown-selected-option {
      color: #000;
    }

    .team-dropdown-custom-select .team-dropdown-select-wrapper::after,
    .color-dropdown-custom-select .color-dropdown-select-wrapper::after {
      border-color: #000;
    }

    #team-dropdown-search,
    .team-dropdown-search,
    #color-dropdown-search,
    .color-dropdown-search {
      border-bottom: 1px solid rgba(0, 0, 0, 0.2);
      padding: 8px 12px 8px 20px;
      height: 32px;
    }

    .team-dropdown-custom-select .team-dropdown-options,
    .color-dropdown-custom-select .color-dropdown-options {
      border-top-color: transparent;
    }

    .team-dropdown-container.js-wrapper-open,
    .color-dropdown-container.js-wrapper-open {
      border-bottom-color: transparent;
    }

    .team-dropdown-custom-select .team-dropdown-options,
    .color-dropdown-custom-select .color-dropdown-options {
      top: 52px;
      max-height: 200px;
      padding-top: 2px;
    }

    .price__badge-sold-out {
      background-color: #000;
      color: #fff;
      opacity: 0.5;
    }
  }
}

.true-fans-product-carousel__cards--white-card--shadow .custom-collection--product {
  box-shadow: 0px 16px 16px 0px rgba(0, 0, 0, 0.04);
}

.true-fans-product-carousel__cards--white-card .custom-collection--product :is(.price, .price-item, .price--on-sale .price-item--regular) {
  font-weight: 400;
  opacity: 1;
}

.custom-collection--text shopify-payment-terms {
  display: none;
}
