.product-details-btn {
  background: transparent;
  color: black;
  border: none;
  padding: 0;
  margin-top: 15px;
  position: relative;
}
.product-details-btn:hover,
.product-details-btn:focus,
.product-details-btn:active {
  background-color: transparent;
  color: black;
  border: none;
}
.product-details-btn:after {
  content: '';
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -2px;
  border-top: 1px solid black;
}
/* Modal styles */
.product-details-modal {
  font-family: 'Noto Sans SC Medium', PingFang SC, MicrosoftYaHeiUI, Microsoft Yahei, arial, sans-serif !important;
}
@media (max-width: 768px) {
  .product-details-modal {
    width: 100%;
    top: unset;
    left: 50% !important;
    transform: translate(-50%, 0);
    height: 90%;
    bottom: 0;
  }
}
.product-details-modal .modal-inner-wrap {
  max-width: 1280px;
}
@media (max-width: 768px) {
  .product-details-modal .modal-inner-wrap {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-height: 90% !important;
    background: white !important;
  }
}
.product-details-modal .modal-header {
  padding: 20px;
}
@media (max-width: 768px) {
  .product-details-modal .modal-header {
    box-shadow: none;
    padding: 30px;
  }
}
.product-details-modal .modal-header .action-close {
  margin: 20px;
}
.product-details-modal .modal-header .action-close::before {
  font-size: 24px;
  line-height: 24px;
}
.product-details-modal .modal-header .modal-title,
.product-details-modal .modal-footer {
  display: none;
}
.product-details-modal .modal-content {
  padding: 30px;
}
@media (max-width: 768px) {
  .product-details-modal .modal-content {
    padding: 0 !important;
    background: white;
  }
}
.product-details-modal .product-details-popup {
  display: inline-block;
  width: 100%;
  /* Product media section */
  /* Product info section */
  /* Collapsible sections */
}
.product-details-modal .product-details-popup .product-details-container {
  display: inline-block;
  width: 100%;
}
@media (max-width: 768px) {
  .product-details-modal .product-details-popup .product-details-container {
    display: flex;
    flex-wrap: wrap;
  }
  .product-details-modal .product-details-popup .product-details-container .page-title {
    padding: 0 15px;
  }
}
.product-details-modal .product-details-popup .product-media {
  float: left;
  width: 67%;
}
@media (max-width: 768px) {
  .product-details-modal .product-details-popup .product-media {
    width: 100%;
    margin-bottom: 15px;
  }
}
.product-details-modal .product-details-popup .product-media .page-title {
  font-size: 18px;
  line-height: 25px;
  margin-bottom: 14px;
  font-weight: 500 !important;
}
@media (min-width: 769px) {
  .product-details-modal .product-details-popup .product-media .page-title {
    display: none;
  }
}
.product-details-modal .product-details-popup .product-info {
  float: right;
  width: 30%;
}
@media (max-width: 768px) {
  .product-details-modal .product-details-popup .product-info {
    width: 100%;
    padding: 0 15px;
  }
}
.product-details-modal .product-details-popup .product-info .page-title {
  font-size: 18px;
  line-height: 25px;
  margin-bottom: 14px;
  font-weight: 500 !important;
}
@media (max-width: 768px) {
  .product-details-modal .product-details-popup .product-info .page-title {
    display: none;
  }
}
.product-details-modal .product-details-popup .product-info .product-info-price {
  font-size: 18px;
}
.product-details-modal .product-details-popup .product-info .product-info-price .price {
  font-size: 24px;
  line-height: 24px;
  font-weight: 500;
}
.product-details-modal .product-details-popup .product-info .product-info-price .old-price {
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
  color: #aaa;
  text-decoration: line-through;
  margin-left: 10px;
}
.product-details-modal .product-details-popup .product-info .stock-container {
  display: flex;
  justify-content: space-between;
  padding-bottom: 13.5px;
}
.product-details-modal .product-details-popup .product-info .stock-container .stock-status span {
  font-size: 13px;
}
.product-details-modal .product-details-popup .product-info .stock-container .stock-status .out-of-stock {
  color: #999;
}
.product-details-modal .product-details-popup .product-info .product-info-sku {
  font-size: 13px;
  color: #999;
}
.product-details-modal .product-details-popup .collapsible_info .panel {
  padding: 10px 0;
  display: none;
}
.product-details-modal .product-details-popup .collapsible_info .panel.active {
  display: block;
}
.product-details-modal .product-details-popup .product.attribute.overview {
  font-size: 13px;
  margin-bottom: 13.5px;
}
.product-details-modal .product-details-popup .product.attribute.overview .value {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-details-modal .product-details-popup .product.attribute.overview .value ~ .open {
  text-decoration: none;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
  cursor: pointer;
  color: #000;
}
.product-details-modal .product-details-popup .product.attribute.overview.open-text .value {
  display: block !important;
}
.product-details-modal .product-details-popup .product-info-color {
  border-top: 1px solid #c1c1c1;
  padding: 15px 0;
  margin-bottom: 13.5px;
  border-bottom: 1px solid #c1c1c1;
}
