@import '../../../../../assets/scss/variables';

.product-detail-container {
  // display: grid;
  // grid-template-columns: auto;
  background-color: white;
  padding: 20px 0 0 0;
  border-radius: 5px;
  box-shadow: 0px 0px 10px 0px #dce2e9;
  -moz-box-shadow: 0px 0px 10px 0px #dce2e9;
  -webkit-box-shadow: 0px 0px 10px 0px #dce2e9;
  height: calc(100% - 70px);
  overflow-y: scroll;
  scroll-behavior: smooth;

  & > div:not(.other-formats) {
    padding: 0 20px;
  }
}

.general-details {
  display: grid;
  grid-template-columns: min-content auto;
  grid-gap: 35px;
}

.product-details {
  display: grid;
  grid-template-columns: auto;
  margin-top: 20px;
}

.recommandations {
  display: grid;
  grid-template-columns: auto;
}

.feature-icons {
  position: absolute;
  z-index: 25;
  right: 30px;
  top: 182px;
  padding: 0 !important;

  lib-icon {
    margin-right: 10px;
  }
}

.print-btn-move-down {
  position: relative;
  top: 32px;
}

.details {
  height: 105px;
  white-space: pre-wrap;
}

.details-full {
  height: auto;
  white-space: pre-wrap;
}

.details span {
  font-size: 16px;
  line-height: 21px;
}

.autor-print {
  display: grid;
  grid-template-columns: auto min-content;
  grid-gap: 5px;

  .print {
    font-family: 'Open Sans';
    font-size: 18px;
    font-weight: 700;
    color: #f70400;
    cursor: pointer;
  }
}

.product-image-container {
  max-height: 315px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}

.product-image {
  display: block;
  max-height: 315px;
  max-width: 195px;
  -moz-box-shadow: 0 0 18px 0 #b8b3b7;
  -webkit-box-shadow: 0 0 18px 0 #b8b3b7;
  box-shadow: 0 0 18px 0 #b8b3b7;
  border-radius: 10px;
}

.img-magnifying-glass {
  width: 27px;
  position: relative;
  margin-left: 150px;
  margin-top: -45px;
  cursor: pointer;
  z-index: 20;
}

.product-image:hover {
  cursor: pointer;
}

.product-info {
  display: grid;
  grid-template-columns: auto;
}

.title {
  width: 84%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  span {
    font-size: 26px;
    font-weight: bold;
  }
}

.promo-points {
  font-size: 16px;
  color: #1f466c;
}

.standart-text {
  font-size: 16px;
}

.recommanded-age {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 20px;
}

.type-price {
  display: grid;
  grid-template-columns: auto auto;
  margin-top: 20px;
}

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

  img {
    padding-right: 8px;
  }
}

.type {
  display: grid;
  grid-template-columns: min-content auto;
  grid-gap: 13px;
}

.type span {
  font-size: 18px;
  font-weight: bold;
}

.home-icon {
  padding-left: 15px;
  margin-top: -2px;
}

.stock-label span {
  font-size: 18px;
  font-weight: bold;
  padding-left: 8px;
  position: relative;
  bottom: 1px;
}

.category {
  font-size: 16px;
  color: #1f466c;
  overflow-wrap: break-word;
}

.price {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;

  span {
    font-size: 20px;
    font-weight: bold;
  }
}

.quantity-category {
  display: grid;
  grid-template-columns: auto;
}

.publisher-quantity {
  display: grid;
  grid-template-columns: auto auto;
  margin-top: 20px;

  .quantity-wrapper {
    display: grid;
    grid-template-columns: auto min-content;
    grid-gap: 5px;
  }

  .e-book-download {
    display: grid;
    grid-template-columns: auto max-content;
    grid-gap: 5px;
  }
}

.stock-quantity,
.download-text {
  span {
    font-size: 18px;
    font-weight: bold;
  }
}

.separator {
  background-color: $hima-content-color;
  height: 3px;
  margin-top: 26px;
}

.actions {
  display: inline;
  padding-top: 15px;
}

.action-partly-loaded {
  padding-top: 16px;
}

.more-btn {
  font-size: 16px;
  font-weight: bold;
  color: #1f466c;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  bottom: 22px;
  // right: 10px;

  margin-top: 1px;
  align-self: right;
  background-color: white;
  width: 10%;
  position: relative;
  right: -90.1%;
  cursor: pointer;
}

.opened {
  bottom: 0px;
  margin-bottom: 10px;
  left: 0px;
  padding-left: 20px;
  padding-top: 10px;
}

.product-staus-info {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-top: 12px;

  .rating-status {
    font-size: 16px;
    font-weight: bold;
    color: #1f466c;
    margin-left: 10px;
  }

  .rating-status:hover {
    cursor: pointer;
  }

  .stars-wrapper img {
    width: 12px;
  }
}

.partly-loaded {
  margin-top: 58px;
}

// .recommendations {
//   z-index: 60;
// }

// app-recommendations {
//   padding: 0;
// }

// .product-recommendations {
//   background-color: #fff;
//   box-shadow: 0px -2px 18px 0px #dce2e9;
//   z-index: 11;
//   position: relative;
//   // position: fixed;
//   border-radius: 4px 4px 0 0;
//   bottom: 3px;
//   // padding: 20px;
// }

.no-data-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 30%;
  height: 50px;

  span {
    font-size: 16px;
    font-weight: 600;
    color: #1f466c;
    line-height: 21px;
  }
}

.lang-ean-age-availability-status {
  display: grid;
  grid-template-columns: auto 250px;
  grid-gap: 5px;

  .avilability-status {
    display: grid;
    grid-template-columns: auto;
    padding-top: 15px;

    .status-icons {
      display: grid;
      grid-template-columns: auto min-content;
    }

    .availability-status-text {
      font-size: 18px;
      font-weight: bold;
      line-height: 21px;
      text-align: end;
      margin-left: auto;
    }
  }
}

.recommendation-card-icon {
  position: relative;
  z-index: 100;
  right: 0;
  top: calc(100% - 69px);
  left: calc(100% - 95px);
}

.stock-loading {
  max-height: 25px;
}

.ship-icon {
  margin-right: 5px;
}

/*
  ##Device = Big Desktops
*/
@media (min-width: 1281px) {
  .more-btn {
    bottom: 21px;
  }

  .opened {
    bottom: 5px;
    margin-left: -18px;
  }

  .details {
    min-height: 105px;
  }
}

/*
  ##Device = Laptops, Desktops, Ipad pro
*/
@media (min-width: 1025px) and (max-width: 1280px) {
  .more-btn {
    bottom: 21px;
  }

  .opened {
    bottom: 5px;
    margin-left: -18px;
  }

  .details {
    min-height: 105px;
  }
}

/*
  ##Device = Tablets, Ipads
*/
@media (min-width: 768px) and (max-width: 1024px) {
  .details {
    height: 105px;
  }
}

/*
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
*/
@media (min-width: 481px) and (max-width: 767px) {
}

/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
*/
@media (min-width: 320px) and (max-width: 480px) {
}
