@charset "UTF-8";

#itemDetail-cont #pi_cart {
    display: flex;
    flex-direction: column;
}
#itemDetail-cont #pi_cart > * { order: 10 }
#itemDetail-cont #pi_cart > .icons { order: 1; }
#itemDetail-cont #pi_cart > h1 { order: 2; }
#itemDetail-cont #pi_cart > .review-summary-container { order: 3; }

#itemDetail-cont #pi_cart .cancel {
  display: inline-block !important;
  vertical-align: middle;
}

.custom-manual-trigger {
  display: inline-block;
  margin-top: 10px;
  cursor: pointer;
}

.custom-manual-trigger img {
  width: 100%;
  display: block;
  transition: 0.3s;
}

.custom-manual-trigger:hover img {
  opacity: 0.7;
}

.custom-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: 0.3s;
}

.custom-video-modal.is-open {
  display: flex;
  opacity: 1;
}

.custom-video-modal__content {
  position: relative;
  width: 100%;
  max-width: 800px;
  background-color: #000;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.custom-video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  z-index: 10;
}

.custom-video-modal__close:hover {
  opacity: 0.7;
}

.custom-video-modal__close-icon {
  display: block;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  clip-path: polygon(
    20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%,
    80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%
  );
  -webkit-clip-path: polygon(
    20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%,
    80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%
  );
}

.custom-video-modal__iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
}

.custom-video-modal__iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media screen and (max-width: 768px) {
  .custom-video-modal {
    padding: 10px;
  }

  .custom-video-modal__close {
    top: -38px;
    width: 36px;
    height: 36px;
  }

  .custom-video-modal__close-icon {
    width: 18px;
    height: 18px;
  }
}