/*======= Test PLP_002 Start*/
.product-item-v3 {
  .product-item__title {
    margin-bottom: 0;
  }

  .custom-swacthes-insert {
    .custom-swacthes-insert__content-holder {
      display: flex;
      align-items: start;
      gap: 10px;
    }

    .swatch-material {
      margin: 0 0 16px;
      width: 100%;
      list-style: none;
      padding: 0;
      gap: 8px;
      display: grid;
      align-items: center;
      grid-template-columns: repeat(auto-fit, 47px);
      height: 47px;
      overflow: hidden;

      &:blank {
        display: none;
      }

      li {
        margin: 0;
      }
    }

    .custom-swacthes-insert__show-all {
      flex-shrink: 0;
      font-size: 12px;
      line-height: 1.2;
      text-decoration: underline;
      color: #757577;
      min-height: 28px;
      align-items: center;
    }

    .swatch-material__trigger {
      display: block !important;
      padding: 0;
      border-radius: 4px;
      overflow: hidden;
      border: 1px solid #000000;
      transition: border-color 0.2s ease, transform 0.2s ease;
      cursor: pointer;

      img {
        display: block;
        width: 100%;
        height: 100%;
        object-position: center;
        object-fit: cover;
      }

      &.active {
        border-color: #D00026;
      }
    }
  }

  .button--secondary__filled {
    padding-left: 28px;
    padding-right: 28px;
  }

  .product-information__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
  }

  .product-item__price__holder {
    margin-top: 0;
    margin-bottom: 12px;
  }

  .most-popular {
    margin-top: 0;
  }

  .product-item__price__holder-v2 {
    margin-bottom: 16px;

    .price {
      &.sale {
        display: flex;
        flex-direction: column;
      }
    }

    .product-item__price {

    }

    .product__price--strike {
      font-size: 14px;
      line-height: 1.2;
      font-weight: 500;
    }

    .old-price {
      font-size: 14px;
      line-height: 1.2;
      font-weight: 500;
    }

    .new-price {
      font-size: 20px;
      font-weight: 900;
      line-height: 1.2;
      color: #D00026;
    }

    .product__price-discount-label {
      display: inline-block;
      padding: 4px;
      border-radius: 6px;
      font-weight: 900;
      font-size: 12px;
      color: white;
      background-color: #D00026;
    }
  }

  &:not(.product-item-v3--style-v1):not(.product-item-v3--style-v2):not(.product-item-v3--style-v3):not(.product-item-v3--style-v4) {
    .product-slider-button,
    .product-information-review,
    .product-item-v3__button-box-v2,
    .product-item__price__holder-v2,
    .custom-swacthes-insert,
    .swiper-pagination {
      display: none;
    }
  }

  &:not(.product-item-v3--style-v1) {
    .product-item__info {
      .product-item__price__holder-v2 {
        display: none;
      }
    }
  }

  &.product-item-v3--style-control {
    .custom-swacthes-insert {
      display: block !important;
    }
  }

  &:not(.product-item-v3--style-control) {
    .swiper-pagination {
      display: block !important;
    }

    .product-slider-button {
      display: flex !important;
    }
  }

  &.product-item-v3--style-v1,
  &.product-item-v3--style-v2,
  &.product-item-v3--style-v3,
  &.product-item-v3--style-v4 {
    .product-information__top,
    .swatch-material {
      margin-bottom: 24px;
    }

    .product-item__price__holder,
    .product-item-v3__button-box-v1 {
      display: none;
    }

    .product-item__title {
      font-size: 20px;
      letter-spacing: 0;
      line-height: 1.1;
      font-weight: 400;
    }

    .custom-swacthes-insert {
      .most-popular {
        display: none;
      }
    }

    .custom-swacthes-insert__show-all {
      display: inline-flex !important;
    }

    .swatch-material {
      grid-template-columns: repeat(auto-fit, 28px);
      height: 28px;
    }
  }

  &.product-item-v3--style-v1 {
    .product-information__top,
    .product-item__price__holder-v2,
    .swatch-material {
      margin-bottom: 16px;
    }


    .button--secondary__filled {
      width: 100%;
    }

    .product-item-v3__button-box-v2 {
      .product-item__price__holder-v2 {
        display: none;
      }
    }
  }

  &.product-item-v3--style-v3,
  &.product-item-v3--style-v4 {
    .button--secondary__filled {
      min-width: auto;

      span {
        display: none;
      }
    }
  }

  &.product-item-v3--style-v3 {
    .button--secondary__filled {
      background-color: #D00026;

      path {
        stroke: white;
      }
    }
  }
}

.product-information-review {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;

  .product-information-review__rating {
    display: flex;
    align-items: end;
    gap: 4px;
    font-weight: 700;
    line-height: 1;
    color: #212121;

    svg {
      width: 16px;
      height: 16px;
      line-height: 0;
    }
  }

  .product-information-review__reviews {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    line-height: 1;
    color: #737373;

    svg {
      width: 14px;
      height: 14px;
      line-height: 0;
    }
  }
}

.product-item-v3__button-box-v2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;

  .product-item__price__holder-v2 {
    margin-bottom: 0;
  }

  .button--secondary__filled {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    min-width: 138px;
    max-width: 100%;
    width: max-content;
  }
}

/*======= Test PLP_002 END*/