.m-hardwood-classics-collection {
  position: relative;
  overflow: hidden;

  .hardwood-collections-grid .batting-custom-collection {
    padding: 0;
  }

  @media(max-width: 767px) {
    .batting-collections-grid {
      margin: 0 -4px;
    }
  }

  .batting-custom-collection--full-width.batting-custom-collection .custom-collection--product {
    flex: 0 0 calc(50% - 24px);
    max-width: calc(50% - 24px);
    border-radius: 12px;
    padding: 16px;

    @media screen and (min-width: 1024px) {
      padding: 24px;
      flex: 0 0 calc(25% - 24px);
      max-width: calc(25% - 24px);
    }

    @media(max-width: 767px) {
      margin: 2px;
      flex: 0 0 calc(100% - 4px);
      max-width: calc(100% - 4px);
    }
  }


  .custom-collection-img-frame {
    margin-bottom: 12px;
    flex: 0 0 100%;

    @media (min-width: 768px) {
      margin-bottom: 24px;
    }
  }

  .custom-collection--image-wrap {
    width: 100%;

    img {
      box-shadow: none;
      aspect-ratio: 1/1;
    }
  }

  .custom-collection--heading {
    color: var(--hardwood-cream);
    font-family: "Phosphate";
    font-size: 20px;
    font-weight: 400;
    line-height: 78%;
    text-align: left;
    letter-spacing: -0.4px;

    @media(min-width: 768px) {
      font-size: 24px;
      letter-spacing: -0.48px;
      max-width: 75%;
    }
  }

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

  .new-custom-addcart-wrapper variant-radios-custom {
    padding-bottom: 8px;
    padding-top: 0;
    margin-top: 12px;
    border: none;

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

  .batting-custom-collection--full-width.batting-custom-collection .custom-collection--product.custom-collection--product--transparent {
    order: 4 !important;
    flex: 0 0 calc(100% - 24px);
    max-width: calc(100% - 24px);
    padding: 0;
    display: flex;

    @media(min-width: 1024px) {
      flex: 0 0 calc(50% - 24px);
      max-width: calc(50% - 24px);
    }

    @media(max-width: 767px) {
      flex: 0 0 calc(100% - 4px);
      max-width: calc(100% - 4px);
    }
  }

  .custom-collection--product--transparent img {
    transition: scale 0.3s ease-in-out;
  }

  .custom-collection--product--transparent:hover img {
    scale: 1.01;
  }

  .batting-collections-grid .batting-custom-collection {
    padding-block: 0;
  }

  .custom-collection--media {
    padding-block: 0;
    margin-block: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: space-between;
  }

  .batting-custom-collection .custom-collection--product .custom-collection--product__featured-image {
    rotate: none;
    max-width: none;
    width: 100%;
    scale: 1;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;

    img {
      width: 100%;
      object-fit: cover;

      @media(min-width: 768px) {
        height: 100%;
      }

      @media(max-width: 767px) {
        aspect-ratio: 179 / 133;
      }
    }
  }

  .product-card__label {
    top: 0;
  }

  .custom-collection--product .price {
    margin: 0;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
  }

  .price--on-sale .price__sale {
    display: flex;
    gap: 4px;
  }

  .price__regular .price-item--regular {
    margin: 0 !important;
  }

  .ne-product-card-disclosure {
    height: 17px;
  }

  .ne-product-card-disclosure-text {
    left: auto !important;
    right: 0;
  }

  .custom-collection--product .price__container {
    text-align: left;
    margin-bottom: 0;
    flex: none;
  }

  .ne-product-card-disclosure svg path {
    stroke: currentColor
  }

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

  .hardwood-collections-filters {
    place-self: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
  }

  .hardwood-collections-filters button {
    background-color: transparent;
    cursor: pointer;
    transition: 0.3s ease-in-out all;

    display: inline-flex;
    height: 48px;
    padding: 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 2px solid var(--hardwood-dark-green, #2F7);

    /* shadow */
    box-shadow:
      inset 0 0 4px var(--hardwood-light-green),
      inset 0 0 12px var(--hardwood-light-green),
      0 0 4px 0 var(--hardwood-light-green),
      0 0 12px 0 var(--hardwood-light-green);
    color: var(--hardwood-dark-green, #2F7);

    /* shadow */
    text-shadow: 0 0 4px var(--hardwood-light-green), 0 0 12px var(--hardwood-light-green);
    font-family: "Digital Numbers";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 0.8;
    letter-spacing: -0.01em;
    text-transform: uppercase;
  }

  .hardwood-collections-filters button:hover {
    box-shadow: inset 0 0 8px var(--hardwood-light-green),
              inset 0 0 16px var(--hardwood-light-green),
              0 0 8px 0 var(--hardwood-light-green),
              0 0 16px 0 var(--hardwood-light-green) !important;
  }

  .hardwood-collections-filters button.active {
    background-color: var(--hardwood-dark-green, #2F7);
    color: #22221F;
    box-shadow: inset 0 0 8px var(--hardwood-light-green),
              inset 0 0 16px var(--hardwood-light-green),
              0 0 8px 0 var(--hardwood-light-green),
              0 0 16px 0 var(--hardwood-light-green) !important;
  }

  .new-custom-addcart-wrapper .new-product-form__buttons .button {
    padding: 12px 24px;
  }
}
