@include export-module('co-catalog-article-tile-layout') {
  .co-catalog-article-tile {
    font-family: $co-catalog-article-tile-font-family;
    font-size: $co-catalog-article-tile-font-size;
    transition: all 0.14s ease-out;
    border-style: $co-catalog-article-tile-border-style;
    border-width: $co-catalog-article-tile-border-width;
    border-color: $co-catalog-article-tile-border-color;
    padding: $co-catalog-article-tile-padding;
    display: flex;
    flex-direction: column;
    &:hover {
      cursor: pointer;
      border-style: $co-catalog-article-tile-hover-border-style;
      border-width: $co-catalog-article-tile-hover-border-width;
      border-color: $co-catalog-article-tile-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;
              }
            }
          }
        }
      }
    }
    .card-wrapper {
      position: relative;
      .selection-checkbox {
        padding-left: 5px;
        padding-top: 5px;
      }
    }
    .article-tile-wrapper {
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .image {
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      width: 100%;
      height: $co-catalog-article-tile-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: 100%;
        height: 100%;
        .no-image {
          height: 40%;
          width: 40%;
          span {
            font-size: 13px;
          }
        }
      }
    }
    .button-wrapper {
      position: absolute;
      left: -10px;
      top: -10px;
      background: rgba(255,255,255,0.5);
      border-radius: 0 0 5px 0;
      padding: 5px;
      co-icon {
        display: inline-block;
        width: 30px;
        height: 30px;
      }
      &.right {
        left: initial;
        right: -10px;
        top: -10px;
        background: rgba(255,255,255,0.5);
        border-radius: 0 0 0 5px;
        height: auto;
        padding: 5px;
        co-icon {
          padding: 2px;
        }
      }
    }
    .description-wrapper {
      display: flex;
      flex-direction: column;
      flex-basis: 100%;
      justify-content: space-between;
      margin: $co-catalog-article-tile-description-margin;
      .main-bottom {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%;
      }
      .on-article-buttons {
        pointer-events: none;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        margin: 0 5px 0 0;
        transition: all .2s ease-in-out;

        > co-button {
          pointer-events: all;
          padding: 0 !important;
          font-size: 0;
          width: 36px;
          height: 36px;
          text-align: center;
          margin: 0;
          border-radius: 5px;
          background: #3E7EFF;
          cursor: pointer;
          justify-content: center;
          .label {
            display: none;
          }
          &:hover {
            opacity: 0.8;
          }

          co-icon {
            width: 28px;
            height: 28px;
            svg [fill] {
              fill: #fff;
            }
          }
          &.configurable {
            co-icon {
              width: 18px;
              height: 18px;
              svg {
                fill: #FFF;
              }
            }
          }
        }
        > co-button.disabled {
          background: #5b6875;
          &:hover {
            opacity: 1;
            pointer-events: none;
          }
        }
      }
      .turnover {
        font-size: 12px;
        margin: 0;
      }

      .added-description {
        font-size: 11px;
        height: 20px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        -webkit-hyphens: auto;
        display: block;
        hyphens: auto;
        width: 100%;
        margin: 5px 0;
        word-wrap: break-word;
      }

      .description {
        font-size: 14px;
        font-weight: bold;
        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: 14px;
        font-weight: normal;
        margin: 10px 0 5px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;
      }

      .delivery {
        font-size: 12px;
        font-weight: bold;
        margin: 20px 0 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;

        ::ng-deep co-level-indicator {
          height: 30px;

          > div {
            justify-content: start;

            div[class*="square-"] {
              background: $co-catalog-article-tile-border-color;
              width: 14px;
              height: 14px;
              margin: 0 3px 0 0;
            }
          }
        }
      }
      .price {
        font-size: 16px;
        margin: 10px 0 10px 0;
        font-weight: 500;
        letter-spacing: -0.5px;
      }
      .instock-wrapper, .outstock-wrapper, .delivery-wrapper {
        font-size: 12px;
        font-weight: 500;
        display: flex;
        text-transform: lowercase;
        align-items: center;
        gap: 3px;
      }
      .sku {
        font-size: 11px;
        margin: 5px 0 5px;
        text-transform: lowercase;
      }
    }

  @media screen and (max-width: 860px) {

    }
  }
}
