.m-golf-product-slider__description > * + * {
  margin-top: 16px;
}

.m-golf-product-slider__container {
  display: flex;
  flex-direction: column-reverse;
  gap: 24px;

  @media (min-width: 990px) {
    flex-direction: row;
  }
}

.m-golf-product-slider__container > div {
  flex: 0 0 auto;
  width: 100%;

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

.m-golf-product-slider__left-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.m-golf-product-slider__right-content picture,
.m-golf-product-slider__left-content picture {
  display: block;
  aspect-ratio: 1;
  max-width: 709px;
}

.m-golf-product-slider__right-content picture img,
.m-golf-product-slider__left-content picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border-radius: 8px;
  overflow: hidden;
}

.m-golf-product-slider__right-content--contain picture img,
.m-golf-product-slider__left-content--contain picture img {
  object-fit: contain;
}

.m-golf-product-slider__left-content picture {
  max-width: 404px;
}

@media (min-width: 990px) {
  .m-golf-product-slider__container:has(.m-golf-product-slider__left-content picture) .m-golf-product-slider__right-content {
    padding-top: 130px;
  }

  .m-golf-product-slider__right-content picture {
    margin-left: auto;
  }
}

/* Slider Action */
.m-golf-product-slider__button-wrapper,
.m-golf-product-slider__main-buttons {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.m-golf-product-slider__button-wrapper .button {
  padding: 14px 24px;
  font-weight: 700;
}

.m-golf-product-slider__button-wrapper .button.ne-btn--nfl {
  font-weight: 500;
}

.m-golf-product-slider__button-wrapper .button--secondary {
  background-color: #e8e3dd;
  border-color: #e8e3dd;
}

.m-golf-product-slider__buttons__actions {
  width: 100px;
  display: flex;
  gap: 4px;
  height: 48px;
  top: 0;
}

.m-golf-product-slider__buttons__actions .m-golf-product-carousel-arrow {
  border-radius: 50px;
  padding: 0;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--black);
  cursor: pointer;
}

.m-golf-product-slider__buttons__actions .m-golf-product-carousel-arrow::after {
  box-shadow: none;
}

.m-golf-product-slider__buttons__actions--alternate .m-golf-product-carousel-arrow {
  background: transparent;
  border-color: #e8e3dd;
  color: #e8e3dd;
}

.m-golf-product-slider__buttons__actions .m-golf-product-carousel-arrow.bg-disabled,
.m-golf-product-slider__buttons__actions .m-golf-product-carousel-arrow.swiper-button-disabled {
  pointer-events: none;
  opacity: 0.3;
}

.m-golf-product-slider__buttons__actions--alternate .m-golf-product-carousel-arrow.bg-disabled,
.m-golf-product-slider__buttons__actions--alternate .m-golf-product-carousel-arrow.swiper-button-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.m-golf-product-carousel .prevArrow,
.m-golf-product-carousel .nextArrow {
  background-color: #e8e3dd;
  border-color: transparent;
}

.m-golf-product-carousel .m-golf-product-carousel-arrow {
  transition: 0.3s linear opacity;
}

.m-golf-product-carousel .m-golf-product-carousel-arrow:hover {
  opacity: 0.8;
}

/* Slider Action */

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

.m-golf-product-carousel .m-golf-product-carousel__cards.swiper {
  overflow: visible;
}

.m-golf-product-carousel .m-golf-product-carousel__cards::-webkit-scrollbar {
  display: none;
}

.m-golf-product-carousel .m-golf-product-carousel__cards.active {
  display: flex;
}

/* Cards */
.m-golf-product-carousel .custom-collection--product {
  display: flex;
  padding: 16px;
  flex-direction: column;
  z-index: 2;
  position: relative;
  background: #131313;
  border-radius: 16px;
  height: 100%;
}

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

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

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

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

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

.m-golf-product-carousel .custom-collection-form-wrapper {
  margin-top: auto;
}

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

.m-golf-product-carousel .custom-collection--text-wrap {
  display: none;
}

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

.m-golf-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 */
.m-golf-product-carousel .button-style--primary-button .new-custom-addcart-wrapper .new-product-form__buttons .button,
.m-golf-product-carousel .button-style--primary-button .batting-collections-filters button.active,
.batting-collections-filters button.active:hover {
  background: #000 !important;
  color: #e8e3dd !important;
  transition: 0.3s linear opacity;
  border: none;
  box-shadow: none !important;
}

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

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

.m-golf-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 */

.m-golf-product-carousel {
  margin-top: 32px;

  @media (min-width: 768px) {
    margin-top: 40px;
  }

  /* 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: 254 / 230;
    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 */
}

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

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

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

.m-golf-product-carousel .swiper-wrapper {
  display: flex;
}

.m-golf-product-carousel .swiper-slide {
  width: 296px;
  height: auto;
  margin-right: 8px;
}

.m-golf-product-carousel__container {
  position: relative;
}

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

/* White Card */
.m-golf-product-carousel__cards--white-card {
  .custom-collection--product {
    border: 1px solid #e8e3dd;
    background: #e8e3dd;

    .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: transparent !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;
    }
  }
}

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

.m-golf-product-carousel:has(.m-golf-product-carousel__cards--white-card--shadow) .m-golf-product-carousel__cards {
  padding-bottom: 16px;
}

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

/* NFL Theme CSS */
.m-golf-product-slider__wrapper--nfl {
  .m-golf-product-slider__container {
    padding-top: 40px;
  }

  .m-golf-product-slider__button-wrapper {
    gap: 16px;
  }

  .m-golf-product-slider__buttons__actions {
    gap: 1px;
  }

  .m-golf-product-slider__buttons__actions .m-golf-product-carousel-arrow {
    border: none;
    box-shadow: none;
  }

  .ne-corner-box .ne-corner-box__content svg path {
    fill: var(--white);
  }

  .m-golf-product-carousel .swiper-slide {
    margin-right: 1px;
  }
}

@media (min-width: 768px) {
  .m-golf-product-slider__wrapper--nfl {
    border-top: 1px solid var(--white);
    position: relative;

    .m-golf-product-slider__container {
      border-left: 1px solid var(--white);
      padding-left: 30px;
    }
  }

  .m-golf-product-slider__wrapper--nfl::before {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    top: -1px;
    left: 100%;
    background-color: var(--white);
  }
}

@media (max-width: 767px) {
  .m-golf-product-slider__button-wrapper {
    justify-content: space-between;
  }
}
