﻿.card {
  border-radius: 0px;
}
.card:hover {
  cursor: default;
}

.Product {
  padding-top: 40px;
  padding-bottom: 100px;
}

.ProductCover {
  display: flex;
  flex-direction: column;
  position: relative;
}
.ProductCover .carousel-indicators {
  display: flex;
  margin: 0;
  height: calc(90px + 8px);
  justify-content: flex-start !important;
  align-items: stretch;
  bottom: 0;
}
.ProductCover .carousel-indicators button {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex: 0 1 100%;
  width: auto;
  max-width: 100px;
  height: auto;
  margin: 8px;
  border: none;
  border-radius: 5px;
  background-color: transparent;
  opacity: 1;
  overflow: hidden;
  text-indent: unset;
  transition: opacity 0.6s ease;
}
.ProductCover .carousel-indicators button:first-of-type {
  margin-left: 0;
}
.ProductCover .carousel-indicators button:last-of-type {
  margin-right: 0;
}
.ProductCover .carousel-indicators button img {
  height: 100%;
}
.ProductCover .carousel-indicators button[data-bs-toggle=modal] {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF !important;
  padding: 12px;
  background-color: #FF3A1E !important;
}
.ProductCover .carousel-indicators button[data-bs-toggle=modal] span {
  color: #FFF !important;
}
.ProductCover .carousel-inner {
  margin-bottom: calc(90px + 15px);
  max-height: 541px;
  position: relative;
}
.ProductCover .carousel-inner.Loading {
  background: #C4C4C4;
}
.ProductCover .carousel .progress {
  width: 50%;
  margin: 260px auto;
  border-radius: 1rem;
  background-color: #F2F2F2;
}
.ProductCover .carousel .progress-bar {
  border-radius: 1rem;
}

.ProductRecommend {
  margin-top: 160px;
}
.ProductRecommend .carousel-inner {
  padding: 0 50px;
}
.ProductRecommend .carousel-control-prev, .ProductRecommend .carousel-control-next {
  width: 50px;
}
.ProductRecommend .carousel .card {
  flex: 1;
  margin: 10px;
}
.ProductRecommend .carousel .card-body {
  overflow: hidden;
  padding: 10px 12px;
}
.ProductRecommend .carousel .card-text {
  word-break: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 18px;
  max-height: 34px;
  -webkit-line-clamp: 2; /* number of lines to show */
  -webkit-box-orient: vertical;
}

.dropdown-menu[aria-labelledby=shareProductInfo] {
  width: 320px;
  max-width: 320px;
  height: auto;
  border: none;
  border-radius: 5px;
  padding: 0;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.modal#previewProdcutThreeD .ProductCover .carousel-indicators button[data-bs-target] {
  max-width: 120px;
}
.modal#previewProdcutThreeD .ProductCover .carousel-indicators button[data-bs-target].active {
  box-shadow: 0 0 0 2px #248DEE;
}

@media (max-width: 700px) {
  .ProductCover .carousel-indicators {
    overflow-x: scroll;
    width: 100%;
  }
  .ProductCover .carousel-indicators button {
    flex: 0 0 150px;
    max-width: fit-content;
    margin: 8px 4px;
  }
}
