.m-product_with_team_slider__header__container {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  min-height: 48px;
}

@media (max-width: 767px) {
  .m-product_with_team_slider__header__container {
    min-height: unset;
  }
}

.m-product_with_team_slider .m-product_with_team_slider__buttons__actions {
  margin-left: auto;
  width: 100px;
  display: flex;
  gap: 4px;
  position: absolute;
  height: 48px;
  right: 1.5rem;
  top: 0;
}

@media (min-width: 990px) {
  .m-product_with_team_slider .m-product_with_team_slider__buttons__actions {
    right: 5em;
  }
}

@media (min-width: 990px) and (max-width: 1495px) {
  .m-product_with_team_slider .m-product_with_team_slider__buttons__actions {
    right: 2em;
  }
}

@media(max-width:767px) {
  .m-product_with_team_slider .m-product_with_team_slider__buttons__actions {
    display: none;
  }
}

.m-product_with_team_slider .m-product_with_team_slider__buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 24px;
  margin-top: -18px;
  max-width: 100vw;
  justify-content: space-between;
}

.m-product_with_team_slider .m-product_with_team_slider__buttons__container {
  display: flex;
  gap: 1rem;
}

.m-product_with_team_slider .m-product_with_team_slider__buttons__actions .button {
  border-radius: 50px;
  padding: 0;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--black);
}

.m-product_with_team_slider .m-product_with_team_slider__buttons__actions .button::after {
  box-shadow: none;
}

.m-product_with_team_slider .m-product_with_team_slider__buttons__actions--alternate .button {
  background: var(--white);
  border: none;
  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);
}

.m-product_with_team_slider .m-product_with_team_slider__buttons__actions--alternate .button:hover {
  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) !important;
}

.m-product_with_team_slider .m-product_with_team_slider__buttons__actions .button.bg-disabled,
.m-product_with_team_slider .m-product_with_team_slider__buttons__actions .button.swiper-button-disabled {
  pointer-events: none;
  opacity: 0.3;
}

.m-product_with_team_slider .m-product_with_team_slider__buttons__actions--alternate .button.bg-disabled,
.m-product_with_team_slider .m-product_with_team_slider__buttons__actions--alternate .button.swiper-button-disabled {
  pointer-events: none;
  opacity: 0.5;
}

@media (max-width: 767px) {
  .m-product_with_team_slider .m-product_with_team_slider__buttons {
    overflow-x: scroll;
    margin: 0 -15px;
    margin-top: 2.4rem;
    padding: 0 15px;
  }
}

@media (max-width: 1024px) {
  .m-product_with_team_slider__buttons__actions {
    display: none;
  }
}

.m-product_with_team_slider .m-product_with_team_slider__buttons::-webkit-scrollbar {
  display: none;
}

.m-product_with_team_slider .m-product_with_team_slider__button__prev,
.m-product_with_team_slider .m-product_with_team_slider__button__next {
  background-color: white;
  border-color: transparent;
}

.m-product_with_team_slider .button {
  transition: 0.3s linear opacity;
}

.m-product_with_team_slider .button:hover {
  opacity: 0.8;
}

.m-product_with_team_slider .m-product_with_team_slider__cards {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
  gap: 1rem;
}

.m-product_with_team_slider .m-product_with_team_slider__cards.swiper {
  overflow-x: visible;
}

.m-product_with_team_slider .m-product_with_team_slider__cards::-webkit-scrollbar {
  display: none;
}

.m-product_with_team_slider .m-product_with_team_slider__cards.active {
  display: flex;
}

.m-product_with_team_slider .m-product_with_team_slider__header .h3 {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
}

@media screen and (min-width: 1025px) {
  .m-product_with_team_slider .m-product_with_team_slider__header .h3 {
    font-size: 32px;
    line-height: 42px;
  }
}

.m-product_with_team_slider .m-product_with_team_slider__header:has(.m-product_with_team_slider__main-buttons) {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: space-between;
  width: 100%;

  @media (min-width: 768px) {
    padding-right: calc(104px + 1.5rem)
  }

  @media (min-width: 990px) {
    padding-right: calc(104px + 5em)
  }

  @media (min-width: 990px) and (max-width: 1495px) {
    padding-right: calc(104px + 2em)
  }
}

.m-product_with_team_slider .m-product_with_team_slider__main-buttons .ne-btn {
  white-space: nowrap;
}

.m-product_with_team_slider:has(.ne-btn--small) .m-product_with_team_slider__buttons__actions .button {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
}

.m-product_with_team_slider:has(.ne-btn--small) .m-product_with_team_slider__buttons__actions {
  height: 40px;
  margin-top: 2px;
}

.m-product_with_team_slider:has(.ne-btn-secondary) .m-product_with_team_slider__buttons__actions .button {
  background-color: transparent;
  border: 1px solid var(--Button-Colors-secondary-bg);
  color: var(--Button-Colors-secondary-text);
  box-shadow: none;
  transition: 0.3s ease-in-out all;

  path {
    fill: var(--Button-Colors-secondary-text);
  }
}

.m-product_with_team_slider:has(.ne-btn-secondary) .m-product_with_team_slider__buttons__actions .button:hover {
  background-color: var(--Button-Colors-secondary-bg-hover);
}

/* Cards */
.m-product_with_team_slider .custom-collection--product {
  display: flex;
  padding: 16px;
  flex-direction: column;
  z-index: 2;
  position: relative;
  background: var(--olympics-dark-blue);
  border-radius: 12px;
  height: 100%;
}

.m-product_with_team_slider .custom-collection--heading {
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
  font-family: var(--font-body);
  text-align: left;
  text-transform: none;
  color: #ffffff;
  margin-bottom: 4px;
}

.m-product_with_team_slider .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%;
}

.m-product_with_team_slider .new-custom-addcart-wrapper .variant-wrap__label {
  display: block;
  flex: 0 0 18%;
  max-width: 18%;
}

.m-product_with_team_slider .custom-collection--text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  flex: auto;
}

.m-product_with_team_slider .new-custom-addcart-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.m-product_with_team_slider .custom-collection-form-wrapper {
  margin-top: auto;
}

.m-product_with_team_slider .custom-collection--text--inside {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.m-product_with_team_slider .custom-collection--text-wrap {
  display: none;
}

.m-product_with_team_slider .new-custom-addcart-wrapper variant-radios-custom {
  align-items: baseline;
  gap: 16px;
}

.m-product_with_team_slider .custom-collection--product {

  .price,
  .price-item,
  .price--on-sale .price-item--regular {
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    margin: 0 7px 0 0;
    color: #fff;
  }

  .price .price__badge-sale {
    background-color: #ad3932;
    color: #fff;
    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: center;
    margin-bottom: 10px;
  }

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

  .price__container {
    text-align: left;
    margin-bottom: 0;
  }
}

.m-product_with_team_slider .button-style--gold-button .new-custom-addcart-wrapper .new-product-form__buttons .button,
.m-product_with_team_slider .button-style--gold-button .batting-collections-filters button.active,
.batting-collections-filters button.active:hover {
  background: var(--gold-gradient);
  color: var(--black);
  transition: 0.3s linear opacity;
  border: none;
  box-shadow: inset 0px 0px 1px 1px var(--stroke-white-dim) !important;
}

.m-product_with_team_slider .button-style--gold-button .new-custom-addcart-wrapper .new-product-form__buttons .button:hover {
  background: var(--gold-gradient);
  border: none;
  box-shadow: inset 0px 0px 1px 1px var(--stroke-white-dim) !important;
  color: var(--black);
  opacity: 0.8;
}

.m-product_with_team_slider .button-style--gold-button .new-custom-addcart-wrapper .new-product-form__buttons .button:focus,
.m-product_with_team_slider .button-style--gold-button .batting-collections-filters button.active,
.batting-collections-filters button.active:focus {
  background: var(--gold-gradient);
  box-shadow: inset 0px 0px 1px 1px var(--stroke-white-dim) !important;
  border: none;
  color: var(--black);
}

.m-product_with_team_slider .button-style--gold-button .new-custom-addcart-wrapper .new-product-form__buttons .button.loading {
  display: block;
  top: auto;
  left: auto;
}

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

.m-product_with_team_slider .button-style--primary-button .new-custom-addcart-wrapper .new-product-form__buttons .button:hover {
  background: #000;
  border: none;
  box-shadow: none !important;
  color: var(--white);
  opacity: 0.8;
}

.m-product_with_team_slider .button-style--primary-button .new-custom-addcart-wrapper .new-product-form__buttons .button:focus,
.m-product_with_team_slider .button-style--primary-button .batting-collections-filters button.active,
.batting-collections-filters button.active:focus {
  background: #000;
  box-shadow: none !important;
  border: none;
  color: var(--white);
}

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

  svg .path {
    stroke: #fff;
  }
}

/* Button Primary ends */

.m-product_with_team_slider {

  /* Media Wrapper */
  .custom-collection--media {
    margin: -16px;
    padding: 16px;
    text-decoration: none !important;
    display: block;

    @media screen and (min-width: 1440px) {
      margin: -24px;
      padding: 24px;
    }
  }

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

  .product-card__label {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px !important;
    font-style: normal;
    font-weight: 400;
    color: #fff !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: 1;
    min-height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-width: 200px;
  }

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

  /* Media Wrapper ends */
}

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

.m-product_with_team_slider .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 */
.m-product_with_team_slider__cards__container {
  width: 100%;
  height: 100%;
}

.m-product_with_team_slider .swiper-button-prev:after,
.m-product_with_team_slider .swiper-button-next:after {
  content: "";
}

.m-product_with_team_slider .swiper-wrapper {
  display: flex;
}

.m-product_with_team_slider .swiper-slide {
  width: 392px;
  height: auto;
  margin-right: 8px;
}

@media(max-width: 768px) {
  .m-product_with_team_slider .swiper-slide {
    width: 320px;
  }
}

.m-product_with_team_slider__container {
  position: relative;
}

/* Swiper pagination dots */
.m-product_with_team_slider .m-product_with_team_slider__dots {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
}

.m-product_with_team_slider .m-product_with_team_slider__dots .swiper-pagination {
  display: flex;
  flex-direction: row;
  margin: 0 0 0 8px;
  padding: 0;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.m-product_with_team_slider .m-product_with_team_slider__dots .swiper-pagination {
  bottom: -14px;
  margin: 0;
}

.m-product_with_team_slider .m-product_with_team_slider__dots .swiper-pagination span {
  flex-grow: 1;
  list-style: none;
  line-height: 0;
  font-size: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  font-size: 0;
  line-height: 0;
  padding: 2px 0 0;
  width: 100%;
  opacity: 1;
  border-radius: 0;
  height: 2px;
  margin: 0;
}

.m-product_with_team_slider .m-product_with_team_slider__dots .swiper-pagination span.swiper-pagination-bullet-active {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

/* White Card */
.m-product_with_team_slider__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: #000;
    }

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

    .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-top-color: rgba(0, 0, 0, 0.1);
    }

    .custom-collection--team-wrapper .team-wrap__label,
    .custom-collection--color-wrapper .color-wrap__label {
      color: #000;
    }

    .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.20);
    }

    .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.40);
      border-bottom: 1px solid rgba(0, 0, 0, 0.40);
    }

    .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.20);
    }

    .new-custom-addcart-wrapper variant-radios-custom {
      border-top: 1px solid rgba(0, 0, 0, 0.20);
    }

    .team-dropdown-custom-select .team-dropdown-options,
    .color-dropdown-custom-select .color-dropdown-options {
      border: 1px solid rgba(0, 0, 0, 0.20);
      border-top-color: transparent;
    }

    .team-dropdown-container.js-wrapper-open,
    .color-dropdown-container.js-wrapper-open {
      border: 1px solid rgba(0, 0, 0, 0.20);
      border-bottom-color: transparent;
    }

    .team-dropdown-custom-select .team-dropdown-options,
    .color-dropdown-custom-select .color-dropdown-options {
      top: 52px;
    }

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

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

.m-product_with_team_slider:has(.m-product_with_team_slider__cards--white-card--shadow) .m-product_with_team_slider__cards {
  padding-bottom: 16px
}

.m-product_with_team_slider__cards--white-card .custom-collection--product .new-custom-addcart-wrapper .product-form__input input[type=radio]:checked+label {
  background:  #000 !important;
}

.m-product_with_team_slider__cards--white-card .custom-collection--product :is(.price,.price-item,.price--on-sale .price-item--regular) {
  color: #000;
  opacity: 1;
  font-weight: 400;
}

/* Gift Shop Theme */
.m-product_with_team_slider--gift-shop-style .m-product_with_team_slider__dots {
  margin-bottom: 0;
}

.m-product_with_team_slider--gift-shop-style .swiper-slide {
  margin-inline: -1px;
  width: calc(50% + 2px);

  @media (min-width: 768px) {
    width: calc(25% + 2px);
  }
}

.m-product_with_team_slider--gift-shop-style .m-product_with_team_slider__cards--white-card .custom-collection--product {
  border: 1px solid #101326;
  border-top-width: 0px;
  border-bottom-width: 0px;
  background: linear-gradient(143deg, #FFF 0%, #C4CAD5 100%);
  border-radius: 0;
  padding: 16px 16px 0;

  @media (min-width: 768px) {
    padding: 24px 16px 0;
  }
}

.m-product_with_team_slider--gift-shop-style .new-custom-addcart-wrapper variant-radios-custom {
  gap: 8px;
  flex-direction: column;
}

.m-product_with_team_slider--gift-shop-style .m-product_with_team_slider__cards--white-card {
  & .custom-collection--product {
    .new-custom-addcart-wrapper .product-form__input input[type=radio]:checked+label {
      color: #ffffff;
      background-color: #101326;
    }

    .new-custom-addcart-wrapper variant-radios-custom {
      border: none;
      margin: 0;
    }
  }
}

.m-product_with_team_slider--gift-shop-style .new-product-form__buttons {
  margin: 0 -16px;
}

.m-product_with_team_slider--gift-shop-style .new-custom-addcart-wrapper .new-product-form__buttons .button {
  background-color: transparent;
  border: 1px solid #101326;
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  transition: 0.3s linear color;
}

.m-product_with_team_slider--gift-shop-style .new-custom-addcart-wrapper .new-product-form__buttons .button:hover {
  background: transparent;
  opacity: 1;
  color: #ffffff;
}

.m-product_with_team_slider--gift-shop-style .new-custom-addcart-wrapper .new-product-form__buttons .button span::before {
  inset: 0;
  position: absolute;
  background: linear-gradient(135deg,#b64134 4.41%,#79211b 96.87%);
  opacity: 0;
  will-change: opacity;
  transition: 0.3s linear opacity;
  content: '';
  z-index: -1;
}

.m-product_with_team_slider--gift-shop-style .new-custom-addcart-wrapper .new-product-form__buttons .button:hover span::before {
  opacity: 1;
}

.m-product_with_team_slider--gift-shop-style .m-product_with_team_slider__buttons__actions .button {
  background-color: transparent;
}

@media(min-width: 768px) {

  .m-product_with_team_slider--gift-shop-style .m-product_with_team_slider__header .h3 {
    font-size: 48px;
    font-weight: 500;
    line-height: 100%;
  }

  .m-product_with_team_slider--gift-shop-style .m-product_with_team_slider__header__container {
    margin-bottom: 32px;
  }

  .m-product_with_team_slider--gift-shop-style .m-product_with_team_slider .swiper-slide {
    width: 481px;
  }
}

@media(max-width: 768px) {
  .m-product_with_team_slider--gift-shop-style .m-product_with_team_slider .swiper-slide {
    width: 220px;
  }

  .m-product_with_team_slider--gift-shop-style .custom-collection--media {
    margin: 0;
    padding: 0;
  }
}

.m-product_with_team_slider--gift-shop-style .m-product_with_team_slider__cards__container {
  position: relative;
  --padding-negate: 1.5rem;
  width: calc(100% + var(--padding-negate) * 2);
  margin: 0 calc(var(--padding-negate) * -1);

  @media (min-width: 990px) {
    --padding-negate: 5em;
  }

  @media (min-width: 990px) and (max-width: 1495px) {
    --padding-negate: 2em;
  }
}

.m-product_with_team_slider--gift-shop-style .m-product_with_team_slider__cards__container::before,
.m-product_with_team_slider--gift-shop-style .m-product_with_team_slider__cards__container::after {
  content: '';
  position: absolute;
  height: 1px;
  background-color: #101326;
  z-index: 2;
}

.m-product_with_team_slider--gift-shop-style .m-product_with_team_slider__cards__container::before {
  top: 0;
  left: -100%;
  right: -100%;
}

.m-product_with_team_slider--gift-shop-style .m-product_with_team_slider__cards__container::after {
  bottom: 0;
  left: -100%;
  right: -100%;
}

.m-product_with_team_slider--gift-shop-style .new-custom-addcart-wrapper .product-form__input input[type=radio]+label {
  min-height: 32px;
  height: 32px;
  padding: 8px;
}
