@include export-module('co-catalog-article-list-layout') {
  .co-catalog-article-list {
    font-family: $co-catalog-article-list-font-family;
    font-size: $co-catalog-article-list-font-size;
    transition: all 0.14s ease-out;
    border-style: $co-catalog-article-list-border-style;
    border-width: $co-catalog-article-list-border-width;
    border-color: $co-catalog-article-list-border-color;
    padding: $co-catalog-article-list-padding;
    display: flex;
    flex-direction: column;
    &:hover {
      cursor: pointer;
      border-style: $co-catalog-article-list-hover-border-style;
      border-width: $co-catalog-article-list-hover-border-width;
      border-color: $co-catalog-article-list-hover-border-color;
      .open-icon {
        opacity: 1;
        transition: all .2s ease;
      }
      .extended-shadow-wrapper {
        z-index: 1;
      }

      .description-wrapper {
        .main {
          .main-bottom {
            .main-bottom-left {
              .stock {
                text-decoration: underline;
              }
            }
          }
        }
      }
    }
    &:hover .disabled {
      pointer-events: none;
    }
    .card-wrapper {
      position: relative;
      display: flex;
      flex-direction: row;
      gap: $co-catalog-article-list-card-wrapper-gap;
    }
    .article-list-wrapper {
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .image {
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      width: $co-catalog-article-list-image-width;
      height: $co-catalog-article-list-image-height;

      .co-image {
        height: 100%;
        width: fit-content;
      }
      .no-image-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0.2;
        width: $co-catalog-article-list-image-width;
        height: $co-catalog-article-list-image-height;
        .no-image {
          height: $co-catalog-article-list-no-image-height;
          width: $co-catalog-article-list-no-image-width;
          span {
            font-size: $co-catalog-article-list-no-image-font-size;
          }
        }
      }
    }
    .button-wrapper {
      height: $co-catalog-article-list-button-3d-height;
      position: absolute;
      left: 0;
      top: 0;

      ::ng-deep co-icon {
        display: inline-block;
        width: $co-catalog-article-list-button-3d-icon-width;
        height: $co-catalog-article-list-button-3d-icon-height;
      }
    }
    .right {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      width: $co-catalog-article-list-article-buttons-width;
      .stock-delivery-wrapper {
        font-weight: 500;
        padding: 0;
        .instock-wrapper, .delivery-wrapper, .outstock-wrapper {
          white-space: nowrap;
          font-size: 12px;
          font-weight: 500;
          display: flex;
          text-transform: lowercase;
          align-items: center;
          grid-gap: 3px;
          gap: 3px;
        }
      }
      .on-article-buttons {
        pointer-events: none;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        margin: $co-catalog-article-list-article-buttons-margin;
        transition: all .2s ease-in-out;
        width: $co-catalog-article-list-article-buttons-width;
        > co-button {
          pointer-events: all;
          padding: 0 !important;
          height: $co-catalog-article-list-article-buttons-button-height;
          text-align: center;
          margin: $co-catalog-article-list-article-buttons-button-margin;
          border-radius: $co-catalog-article-list-article-buttons-button-border-radius;
          background: $co-catalog-article-list-article-buttons-background;
          cursor: pointer;
          place-content: center;
          &:hover {
            opacity: 0.8;
          }
          ::ng-deep co-icon {
            width: $co-catalog-article-list-article-buttons-button-size;
            height: $co-catalog-article-list-article-buttons-button-size;
          }
        }
        > co-button.disabled {
          background: #5b6875;
          &:hover {
            opacity: 1;
            pointer-events: none;
          }
        }
      }
      .price {
        font-size: $co-catalog-article-list-article-price-font-size;
        font-weight: $co-catalog-article-list-article-price-font-weight;
        letter-spacing: -0.5px;
      }
    }
    .description-wrapper {
      display: flex;
      flex-direction: column;
      flex-basis: 100%;
      justify-content: space-between;
      margin: $co-catalog-article-list-description-margin;
      .main-bottom {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%;
      }
      .sku {
        font-size: $co-catalog-article-list-article-sku-font-size;
        margin: $co-catalog-article-list-article-sku-margin;
        text-transform: lowercase;
        font-weight: $co-catalog-article-list-article-sku-font-weight;
      }
      .turnover {
        font-size: $co-catalog-article-list-article-turnover-font-size;
        margin: $co-catalog-article-list-article-turnover-margin;
      }

      .description {
        .label {
          font-size: $co-catalog-article-list-article-label-font-size;
          font-weight: $co-catalog-article-list-article-label-font-weight;
        }
        .text {
          font-weight: $co-catalog-article-list-article-desc-font-weight;
          font-size: $co-catalog-article-list-article-desc-font-size;
          white-space: normal;
          &.added {
            font-size: $co-catalog-article-list-article-added-desc-font-size;
            font-weight: $co-catalog-article-list-article-desc-font-weight;
            margin-top: 10px;
          }
          &.buyer {
            font-size: $co-catalog-article-list-article-added-desc-font-size;
            font-weight: $co-catalog-article-list-article-desc-font-weight;
            margin-top: 10px;
          }
        }
        display: flex;
        flex-direction: column;
        margin: 10px 0 5px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;
      }

      .name {
        font-size: $co-catalog-article-list-article-name-font-size;
        font-weight: $co-catalog-article-list-article-name-font-weight;
        margin: $co-catalog-article-list-article-name-margin;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;
      }
      //}
    }
    @media screen and (max-width: 860px) {

    }
  }
}
