:host {
  display: block;
  position: relative;
}

.grid-container {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: auto auto 1fr;
  grid-template-areas: 'cover title' 'cover comment' 'cover details';
}

.cover {
  grid-area: cover;

  .thumbnail {
    max-width: 59px;
    max-height: 111px;
    box-shadow: 0 0 18px 0 #b8b3b7;
    border-radius: 6px;
  }
}

.comment {
  grid-area: comment;
  margin-bottom: 15px;
  font-size: 20px;
  color: rgba(190, 129, 0, 1);
}

.title {
  grid-area: title;
  margin-bottom: 3px;

  display: flex;
  justify-content: space-between;

  .product-name {
  }

  .processing-status {
    color: #557596;
    display: flex;
    flex-direction: row;
    align-items: center;

    .close ::ng-deep img {
      width: 12px;
      height: 12px;
    }
  }
}

.details {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: auto auto auto;
  grid-template-areas: 'item-type order-date' 'item-number quantity' 'price target-branch';
  grid-area: details;
}

.item-type {
  grid-area: item-type;
}

.order-date {
  grid-area: order-date;
}

.item-number {
  grid-area: item-number;
}

.quantity {
  grid-area: quantity;
}

.price {
  grid-area: price;
}

.target-branch {
  grid-area: target-branch;
}

.spec {
  display: flex;

  *:nth-child(1) {
    width: 150px;
  }

  // *:nth-child(2) {
  // }
}

.paid {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  lib-icon {
    height: 24px;
  }
}

.tags {
  position: absolute;
  top: -16px;
  right: 0;
}

.feature-spacing {
  height: 40px;
}
