.ms-virtual-sale {
  display: flex;
  width: 100%;
  line-height: 20px;
  font-size: 14px;
  padding: 10px 20px;
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: left;
  box-sizing: border-box;
}

.ms-virtual-sale svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.ms-virtual-sale p {
  margin: 0;
}

.ms-delivery-time-tips {
  display: flex;
  width: 100%;
  line-height: 20px;
  font-size: 14px;
  padding: 10px 20px;
  margin-bottom: 1rem;
  text-align: left;
  box-sizing: border-box;
}

.ms-delivery-time-tips svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.ms-delivery-time-tips p {
  margin: 0;
}

/* purchase-conversion {
  display: flex;
  flex-direction: column;
  justify-content: center;
} */

.ms-Dynamic-Stock {
  display: flex;
  margin-bottom: 1rem;
  padding: 10px;
  font-size: 14px;
  line-height: 20px;
  align-items: center;
}

.ms-Dynamic-Stock p,
.ms-add-cart-tips p {
  margin: 0;
}

.ms-Dynamic-Stock svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.ms-add-cart-tips {
  font-size: 14px;
  padding: 10px;
  margin-bottom: 1rem;
}

.bouncing {
  animation: bounce 2s;
}

.wobble {
  animation: wobble 2s;
}

.rubberBand {
  animation: rubberBand 2s;
}

.swing {
  animation: swing 2s;
}

@keyframes swing {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-10px);
  }

  50% {
    transform: translateX(10px);
  }

  75% {
    transform: translateX(-10px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}

@keyframes wobble {
  0% {
    transform: translateX(0%);
  }

  15% {
    transform: translateX(-25%) rotate(-5deg);
  }

  30% {
    transform: translateX(20%) rotate(3deg);
  }

  45% {
    transform: translateX(-15%) rotate(-3deg);
  }

  60% {
    transform: translateX(10%) rotate(2deg);
  }

  75% {
    transform: translateX(-5%) rotate(-1deg);
  }

  100% {
    transform: translateX(0%);
  }
}

@keyframes rubberBand {
  0% {
    transform: scale3d(1, 1, 1);
  }

  30% {
    transform: scale3d(1.1, 0.9, 1);
  }

  40% {
    transform: scale3d(0.9, 1.1, 1);
  }

  50% {
    transform: scale3d(1.05, 0.95, 1);
  }

  65% {
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    transform: scale3d(1.02, 0.98, 1);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}

.buy_bottom-checkout_safe {
  margin-bottom: 1rem;
}

.ms-buy_bottom-checkout_security_trust {
  margin: 15px 0 20px;
}

.ms-checkout-safe-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 10px;
  margin-top: 10px;
  width: 100%;
  border: 1px solid #eee;
  border-radius: 4px;
}

.mini_cart_bottom-checkout_safe {
  max-height: 180px;
  overflow-y: auto;
}

.mini_cart_bottom-checkout_safe::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.mini_cart_bottom-checkout_safe::-webkit-scrollbar-thumb {
  border-radius: 2px;
  -webkit-box-shadow: inset 0 0 2px #fff;
  background: #ccc;
}

.mini_cart_bottom-checkout_safe::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 2px #eee;
  border-radius: 2px;
  background: #eee;
}

.ms-checkout-safe-img-icon {
  margin: 5px 0;
  flex: 0 0 100px;
  height: 40px;
  padding: 7px 5px;
  border: 1px solid #eee;
  border-radius: 2px;
  object-fit: contain;
}

.mini_cart_bottom-checkout_safe .ms-checkout-safe-img-icon {
  flex: 0 0 70px;
}

.ms-checkout-safe-img-pc,
.ms-checkout-safe-img-m {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.ms-checkout-safe-img-m {
  display: none;
}

.ms-checkout-safe-text-after {
  margin-top: 20px;
  padding: 15px;
  background-color: #eee;
}

.ms-checkout-safe-text-after p,
.ms-checkout-safe-text p {
  margin: 0;
}

.ms-websafe-global {
  position: fixed;
  bottom: 5px;
  right: 0;
  z-index: 98;
  cursor: pointer;
  max-width: 160px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  background-color: #fff;
}

.ms-websafe-global p {
  padding: 0;
  margin: 0;
}

.ms-websafe-base {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 7px 0 7px 10px;
  line-height: 24px;
  color: var(--color_websafe_safe, #38b336);
}

.ms-websafe-base svg path {
  fill: var(--color_websafe_safe, #38b336);
}

.ms-websafe-title {
  padding: 0 10px 0 7px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0;
}

.ms-websafe-icon {
  width: 24px;
  height: 24px;
}

.ms-websafe-security {
  display: none;
  max-width: 100%;
}

.ms-websafe-login .ms-websafe-security,
.ms-websafe-register .ms-websafe-security {
  display: block;
}

.ms-websafe-security-text {
  box-sizing: border-box;
  font-size: 12px;
  line-height: 1.515;
  color: #999;
  padding: 1px 10px;
  text-align: center;
  background: #eee;
}

.login .ms-websafe-security-text p,
.ms-websafe-security-text p {
  margin: .5em 0;
}

.product-message-btn-content {
  width: 100%;
}

.ms-websafe-safe-clause {
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-left: 4px solid var(--color_websafe_safe, #38b336);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}

.ms-websafe-domain {
  position: relative;
  flex: 1;
  box-sizing: border-box;
  padding: 0 12px;
  text-align: left;
  color: #999;
  font-size: 12px;
  position: relative;
  word-break: break-word;
}

.ms-websafe-domain:before {
  content: '';
  display: block;
  width: 1px;
  height: 75%;
  background: #d1d1d1;
  position: absolute;
  left: 0;
  top: 12.5%;
}

.ms-websafe-SafeClause-list {
  display: flex;
  font-size: 12px;
  line-height: 1.515;
  padding: 1px 0;
  background: #eee;
}

.ms-websafe-SafeClause-item {
  position: relative;
  padding: 0.5em 4px;

  flex: 1;
  word-break: break-all;
}

.ms-websafe-SafeClause-item:not(:first-child):before {
  content: '';
  display: block;
  width: 1px;
  height: 75%;
  background: #d1d1d1;
  position: absolute;
  left: 0;
  top: 12.5%;
}

.websafe-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  animation: bounceInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes bounceInDown {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes bounceInDown {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

.bounceInDown {
  -webkit-animation-name: bounceInDown;
  animation-name: bounceInDown;
}

.websafe-modal-content {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 0;
  width: 490px;
  max-height: 500px;
  background-color: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  border-radius: 5px;
  overflow-y: auto;

}

.websafe-close-btn {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  font-size: 24px;
  color: #333;
  line-height: 1;
  padding: 10px;
  cursor: pointer;
}

.websafe-close-btn:hover,
.websafe-close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.websafe-modal-content .ms-websafe-base {
  padding: 0 30px 15px;
}

.websafe-modal-content .ms-websafe-base .ms-websafe-title {
  font-size: 20px;
}

.websafe-modal-content .websafe-hostweb {
  padding: 20px 30px 35px;
  color: #fff;
  background: var(--color_websafe_safe, #38b336);
  line-height: 1.515;
}

.websafe-hostweb dt {
  font-size: 20px;
  padding: 0;
  margin: 0;
}

.websafe-hostweb dd {
  font-size: 14px;
  padding: 5px 0 0;
  margin: 0;
}

.websafe-certified {
  margin-top: -15px;
  padding: 0 30px 15px;
  font-weight: 1.515;
}

.websafe-certified dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #eee;
  padding: 15px 20px;
  margin: 0 0 15px;
}

.websafe-certified dt {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  padding: 0;
  margin: 0;
  width: 60%;
}

.websafe-certified dd {
  color: var(--color_websafe_safe, #38b336);
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 35%;
}

.websafe-certified dd span {
  padding-right: 3px;
}

.websafe-certified svg path {
  fill: var(--color_websafe_safe, #38b336);
}

.ms-websafe-register,
.ms-websafe-login {
  margin: 0 auto;
  width: 100%;
  max-width: 160px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  border: 1px solid #ccc;
  overflow: hidden;
  background-color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.ms-websafe {
  cursor: pointer;
}

.ms-websafe-register .ms-websafe-security,
.ms-websafe-login .ms-websafe-security {
  height: auto;
}

/* .ms-websafe-register p,
.ms-websafe-login p {
  margin: 0 !important;
} */

.shopping-advertisement-title {
  white-space: nowrap;
}

.shopping-advertisement-coupon,
.shopping-image-text,
.shopping-text-type {
  margin-top: 10px;
}

.grapic_ad_flow_top,
.ms-mini-shopping-process-advertisement {
  margin-bottom: 10px;
}

.ms-mini-shopping-process-advertisement .shopping-advertisement-coupon {
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
}

.ms-mini-shopping-process-advertisement .coupon {
  height: 60px;
}

.ms-mini-shopping-process-advertisement .coupon svg {
  margin-right: -2px;
}

.ms-mini-shopping-process-advertisement .coupon svg:last-child {
  margin-right: 0;
  margin-left: -2px;
}

.ms-mini-shopping-process-advertisement .coupon-value {
  margin-right: -2px;
}

.ms-mini-shopping-process-advertisement .shopping-advertisement-title {
  flex: 1;
  padding: 10px 10px 0px 10px;
  text-align: center;
  min-width: 120px;
}

.ms-mini-shopping-process-advertisement .image-text-number {
  font-size: 42px;
  margin-left: 10px;
}

.ms-mini-shopping-process-advertisement .image-text-text {
  font-size: 14px;
}

.ms-mini-shopping-process-advertisement .image-text-discount {
  font-size: 30px;
}

.ms-websafe-global p img,
.ms-Dynamic-Stock p img,
.ms-add-cart-tips p img,
.ms-checkout-safe-text-after p img,
.ms-checkout-safe-text p img,
.ms-websafe-register p img,
.ms-websafe-login p img,
.ms-mini-shopping-process-advertisement p img,
.grapic_ad_flow_top p img {
  max-width: 100% !important;
}

.ms-websafe-global p video,
.ms-Dynamic-Stock p video,
.ms-add-cart-tips p video,
.ms-checkout-safe-text-after p video,
.ms-checkout-safe-text p video,
.ms-websafe-register p video,
.ms-websafe-login p video,
.ms-mini-shopping-process-advertisement p video,
.grapic_ad_flow_top p video {
  max-width: 100% !important;
}

.ms-websafe-global p table,
.ms-Dynamic-Stock p table,
.ms-add-cart-tips p table,
.ms-checkout-safe-text-after p table,
.ms-checkout-safe-text p table,
.ms-websafe-register p table,
.ms-websafe-login p table,
.ms-mini-shopping-process-advertisement p table,
.grapic_ad_flow_top p table {
  width: 100%;
  border-collapse: collapse;
}

.ms-websafe-global p thead,
.ms-Dynamic-Stock p thead,
.ms-add-cart-tips p thead,
.ms-checkout-safe-text-after p thead,
.ms-checkout-safe-text p thead,
.ms-websafe-register p thead,
.ms-websafe-login p thead,
.ms-mini-shopping-process-advertisement p thead,
.grapic_ad_flow_top p thead {
  background-color: #f0f0f0;
  font-weight: 700;
}

.ms-websafe-global p th,
.ms-Dynamic-Stock p th,
.ms-add-cart-tips p th,
.ms-checkout-safe-text-after p th,
.ms-checkout-safe-text p th,
.ms-websafe-register p th,
.ms-websafe-login p th,
.ms-mini-shopping-process-advertisement p th,
.grapic_ad_flow_top p th,
.ms-websafe-global p td,
.ms-Dynamic-Stock p td,
.ms-add-cart-tips p td,
.ms-checkout-safe-text-after p td,
.ms-checkout-safe-text p td,
.ms-websafe-register p td,
.ms-websafe-login p td,
.ms-mini-shopping-process-advertisement p td,
.grapic_ad_flow_top p td {
  border: 1px solid #ddd;
  padding: 5px 10px;
  text-align: center;
  font-size: 12px;
}

@media screen and (max-width: 640px) {
  .ms-checkout-safe-img-icon {
    flex: 0 0 70px;
  }

  .ms-checkout-safe-img-m {
    display: inline-block;
  }

  .ms-checkout-safe-img-pc {
    display: none;
  }

  .websafe-modal-content {
    width: 100%;
  }

  .coupon-value {
    width: 20%;
    padding-bottom: 5px;
    min-width: 100px;
  }
}

.product-portfoliosales-content {
  margin: 0;
}

.product_title_top-sale_num,
.product_title_top-add_cart_tip {
  margin-bottom: 1rem;
}