:root {
  --color-primary: #eb8c00;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
}

.product-box-wrap {
  position: relative;
  box-shadow: 0 0 4px var(--color-primary);
}

.product-box {
  position: relative;
  display: flex;
  width: 100%;
  margin: 0 auto;
}

.product-box .product-image { margin:auto;}

.product-box .product-image img {
  width: 100%; padding: 2% 0;
}

.product-box .indicate-item {
  overflow: visible;
  position: absolute;
  width: 32px;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: color .2s;
  animation: 2s infinite image-map-pulse;
}

.product-box .indicate-item-icon {
  line-height: 32px;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
}

.product-box .indicate-item:hover .indicate-item-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-box .indicate-item-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.5rem);
  padding: 2px 10px;
  border-radius: 2px;
  border: 1px solid var(--color-primary);
  background-color: #fff;
  opacity: 0;
  white-space: nowrap;
  transform: translate(-50%, 2rem);
  transition: transform .2s, opacity .2s, border-color .2s, color .2s;
}

.product-box .indicate-item.item-0 {
  left: 70%;
  top: 11%;
}

.product-box .indicate-item.item-1 {
  left: 75%;
  top: 74%;
}

.product-box .indicate-item.item-2 {
  left: 44%;
  top: 77%;
}

.product-box .indicate-item.item-3 {
  left:20%;
  top: 68%;
}

.product-box .indicate-item.item-4 {
  left: 24%;
  top: 30%;
}

.product-box-mask.display-none {
  display: none;
}

.product-box-mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, .4);
  z-index: 1;
}

.product-box-mask .product-info-panel {
  position: absolute;
  width:84%;
  top: 35px;
  left: 50%;
  background-color: white;
  opacity: 0;
  border: 1px solid var(--color-primary);
}

.product-box-mask .product-info-panel.fade-up {
  animation: block-fade-up 400ms ease forwards;
}

.product-info-panel .product-info-content {
  display: flex;
  padding: 24px;
}

.product-info-panel .product-info-content-left {
  width: 150px;
}

.product-info-panel .product-info-content-right {
  width: 0;
  flex-grow: 1;
  margin-left: 16px;
}

.product-info-panel .product-info-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  line-height: 46px;
  text-align: center;
  font-size: 40px;
  background-color: rgba(0, 0, 0, .14);
  color: white;
  cursor: pointer;
}

.product-info-panel .product-info-button {
  position: absolute;
  padding: 44px 14px;
  top: 70px;
  font-size: 22px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, .14);
  opacity: .4;
  color: white;
  transition: 150ms;
}

.product-info-panel .product-info-button:hover {
  opacity: 1;
}

.product-info-panel .product-info-button.prev {
  left: 0;
  transform: translateX(-100%);
}

.product-info-panel .product-info-button.next {
  right: 0;
  transform: translateX(100%);
}

.product-info-panel .product-info-content-title {
  font-size: 24px;
}

.product-info-panel .product-info-content-desc {
  margin-top: 16px;
}

.product-info-panel .product-info-content-desc p {
  margin-bottom: 16px;
}

.product-info-panel .product-info-content-read-more {
  display: inline-block;
  padding: 5px 20px;
  font-size: 16px;
  color: white;
  background-color: var(--color-primary);
  cursor: pointer;
}

.product-info-panel .product-info-content-read-more:empty {
  display: none;
}

.product-info-panel .product-info-content-img {
  width: 100%;
}

@keyframes image-map-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(235, 140, 0, .4);
  }

  100% {
    box-shadow: 0 0 0 2rem rgba(235, 140, 0, 0);
  }
}

@keyframes block-fade-up {
  0% {
    opacity: 0;
    transform: translate(-50%, 10%);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}