@include export-module('co-card-layout') {
  .co-card {
    display: block;
    .co-card-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      //flex-shrink: 0;
      //flex-grow: 0;
      //width: 150px;
      //height: 220px;
      border-radius: 5px;
      padding: 10px;
      transition: all 0.14s ease-out;
      .content-wrapper {
        position: relative;
        width: 100%;
        padding-top: 100%;
      }
      .image {
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;
        background-color: white;
        border-radius: 15%;
        overflow: hidden;
      }
      .check {
        position: absolute;
        background-color: #8faba6;
        z-index: 1;
        border-radius: 50%;
        transform: scale(1.1);
        right: 7px;
        top: 7px;
        ::ng-deep svg {
          transform: scale(0.9);
        }
      }
      .magnify {
        position: absolute;
        visibility: hidden;
        top: 1px;
        left: 1px;
        z-index: 2; /* above co-icon.check */
        ::ng-deep svg {
          transform: scale(1.5);
        }
      }
      .info {
        position: absolute;
        bottom: 12px;
        right: 10px;
        box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
        background-color: #ffffffad;
        border: 2px solid #4a4a49;
        width: 28px;
        height: 28px;
        co-icon {
          width: 28px;
          height: 28px;
          svg [fill] {
            fill: #4a4a49;
          }
        }
        &:hover {
          border: 2px solid #ffffff;
          background-color: #4a4a49;
          co-icon {
            svg [fill] {
              fill: #FFF;
            }
          }
        }
      }
      .co-level-indicator {
        position: absolute;
        bottom: 1px;
        left: 50%;
        transform: translateX(-50%);
      }
      .description-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
      }
    }
    &.border-hover:hover {
      .co-card-wrapper {
        box-shadow: 0 0 3px 2px rgba(128, 128, 128, 0.4);
        background-color: initial;
      }
    }

    &:hover {
      .co-card-wrapper {
        background-color: rgb(228, 233, 232);
      }
    }

    &:hover co-button.magnify {
      visibility: visible;
    }
    co-image {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    span.description {
      font-size: $cc-input-font-size;
      margin-top: 10px;
      text-align: center;
    }

    span.price {
      //position: absolute;
      //bottom: 10px;
      font-weight: bold;
    }
  }
}
