.up-container.up-type-product {
  background: #ebebeb !important;
  box-shadow: none !important;
  border: none !important;
}

.up-container.up-type-product .up-products-header,
.up-container.up-type-product .products-related-header,
.up-container.up-type-product .up-product-name,
.up-container.up-type-product .up-product-name a,
.up-container.up-type-product select,
.up-container.up-type-product option {
  color: #000 !important;
}

.up-container.up-type-product .up-price {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  white-space: normal !important;
  margin-top: 8px !important;
}

.up-container.up-type-product .up-price-common-percentage {
  color: #fff !important;
  background: #e60000 !important;
  border-radius: 999px !important;
  padding: 5px 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.up-container.up-type-product .up-price-common {
  color: #000 !important;
  opacity: 1 !important;
  text-decoration: line-through !important;
  text-decoration-color: #e60000 !important;
  text-decoration-thickness: 2px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.up-container.up-type-product .up-price-current,
.up-container.up-type-product .up-price-value {
  color: #000 !important;
  font-size: 1.2em !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.up-container.up-type-product .up-price-common .up-price-value {
  font-size: 1em !important;
}

.up-container.up-type-product .up-image {
  border-radius: 18px !important;
  overflow: hidden !important;
  padding: 3px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.up-container.up-type-product .up-image img {
  border-radius: 15px !important;
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.up-container.up-type-product .up-product-details .up-product-add-to-cart {
  margin-top: 12px !important;
  width: 100% !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

.up-container.up-type-product .up-product-details .up-product-add-to-cart a {
  border-radius: 9px !important;
  padding-left: 16px !important;
  padding-right: 22px !important;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: auto !important;
  max-width: max-content !important;
  white-space: nowrap !important;
  position: relative !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.up-container.up-type-product .up-product-details .up-product-add-to-cart a::before {
  content: "" !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  border-radius: 50% !important;
  border: 2px solid #fff !important;
  background: transparent !important;
  display: inline-block !important;
  box-sizing: border-box !important;
}

.up-container.up-type-product .up-product-details .up-product-add-to-cart a::after {
  content: "" !important;
  width: 9px !important;
  height: 5px !important;
  border-left: 3px solid #fff !important;
  border-bottom: 3px solid #fff !important;
  transform: rotate(-45deg) !important;
  position: absolute !important;
  left: 22px !important;
  top: 18px !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
}

.up-container.up-type-product .up-product-details .up-product-add-to-cart a.ralvon-upsell-added::after {
  opacity: 1 !important;
}

.up-container.up-type-product .up-quantity {
  display: none !important;
}

.up-container.up-type-product .up-product-variants {
  width: 100% !important;
  max-width: 360px !important;
  margin-left: auto !important;
  margin-top: 12px !important;
}

.up-container.up-type-product .up-variants {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 48px !important;
  border-radius: 10px !important;
  color: #000 !important;
  background: #fff !important;
  font-weight: 700 !important;
  padding-left: 16px !important;
  padding-right: 38px !important;
  box-sizing: border-box !important;
}

body.ralvon-hide-upsell-popup #colorbox,
body.ralvon-hide-upsell-popup #cboxOverlay {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  .up-container.up-type-product .up-price {
    gap: 8px !important;
  }

  .up-container.up-type-product .up-product-details .up-product-add-to-cart a {
    min-height: 44px !important;
    font-size: 15px !important;
  }

  .up-container.up-type-product .up-product-details .up-product-add-to-cart {
    justify-content: flex-end !important;
  }

  .up-container.up-type-product .up-product-variants {
    max-width: 100% !important;
    margin-left: 0 !important;
  }
}
.up-container.up-type-product .up-product-add-to-cart a.ralvon-upsell-removing {
  opacity: .55 !important;
  pointer-events: none !important;
}