.up-product-wrapper {
  margin: 18px 0 10px;
}

.up-product-wrapper .up-container,
.up-product-wrapper .up-container.up-type-product,
.up-product-wrapper .up-container.template-classic {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.up-product-wrapper .up-products-header,
.up-product-wrapper .products-related-header,
.up-product-wrapper .up-products-header.products-related-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-family: "new_font", sans-serif !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #1f4f8f !important;
  text-align: left !important;
}

.up-product-wrapper .up-products-header::after,
.up-product-wrapper .products-related-header::after,
.up-product-wrapper .up-products-header.products-related-header::after {
  content: "" !important;
  flex: 1 1 auto !important;
  height: 1px !important;
  background: linear-gradient(90deg, rgba(36, 79, 136, 0.18), rgba(36, 79, 136, 0.06) 42%, rgba(36, 79, 136, 0)) !important;
}

.up-product-wrapper .up-products {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.up-product-wrapper .up-product {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
}

.up-product-wrapper .up-product+.up-product::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  width: min(100%, 1040px) !important;
  height: 1px !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(90deg, rgba(36, 79, 136, 0), rgba(36, 79, 136, 0.16) 18%, rgba(36, 79, 136, 0.16) 82%, rgba(36, 79, 136, 0)) !important;
  pointer-events: none !important;
}

.up-product-wrapper .up-product.as-hidden {
  display: none !important;
}

.up-product-wrapper .up-product.active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.up-product-wrapper .up-product-information {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
  width: 100% !important;
  padding: 10px 0 !important;
}

.up-product-wrapper .up-product-selector {
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.up-product-wrapper input.up-product-selector[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  border: 1px solid #c8d4df !important;
  border-radius: 5px !important;
  background: #fff !important;
  cursor: pointer !important;
  position: relative !important;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
}

.up-product-wrapper input.up-product-selector[type="checkbox"]:hover {
  border-color: #7aa2d1 !important;
  box-shadow: 0 0 0 3px rgba(34, 80, 151, 0.08) !important;
}

.up-product-wrapper input.up-product-selector[type="checkbox"]:checked {
  background: #225097 !important;
  border-color: #225097 !important;
}

.up-product-wrapper input.up-product-selector[type="checkbox"]:checked::after {
  content: "" !important;
  position: absolute !important;
  left: 5px !important;
  top: 2px !important;
  width: 4px !important;
  height: 8px !important;
  border: solid #fff !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
}



.up-product-wrapper .up-product-details {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  text-align: left !important;
}

.up-product-wrapper .up-product-name {
  display: block !important;
  flex: 1 1 320px !important;
  min-width: 0 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.up-product-wrapper .up-product-name a,
.up-product-wrapper .up-product-url,
.up-product-wrapper .up-product-details .up-product-name .up-product-selector-shortcut {
  display: inline !important;
  font-family: "new_font", sans-serif !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  color: #163d70 !important;
  text-decoration: none !important;
  word-break: break-word !important;
}

.up-product-wrapper .up-product-name a:hover,
.up-product-wrapper .up-product-url:hover,
.up-product-wrapper .up-product-details .up-product-name .up-product-selector-shortcut:hover {
  color: #2f6fb8 !important;
  text-decoration: none !important;
}


.up-product-wrapper .up-price {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  margin-left: auto !important;
  text-align: right !important;
  position: relative !important;
}

.up-product-wrapper .up-price-current,
.up-product-wrapper .up-price-value {
  display: inline-block !important;
  margin: 0 !important;
  font-family: "new_font", sans-serif !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  color: #225097 !important;
  white-space: nowrap !important;
}

.up-product-wrapper .up-price .up-price-common {
  display: none !important;
}

.up-product-wrapper .up-price .up-price-common-percentage,
.up-product-wrapper .up-price .up-saving-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 0 !important;
  padding: 5px 11px !important;
  min-height: 34px !important;
  border-radius: 7px !important;
  font-family: "new_font", sans-serif !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
  color: #6b8f1b !important;
  background: #e6efd0 !important;
  border: 0 !important;
  white-space: nowrap !important;
  cursor: default !important;
}

.up-product-wrapper .up-price .up-saving-badge {
  position: relative !important;
  text-decoration: underline dotted rgba(107, 143, 27, 0.65) !important;
  text-underline-offset: 3px !important;
  cursor: help !important;
}

.up-product-wrapper .up-price .up-saving-badge:hover {
  background: #dfe9c4 !important;
}

.up-product-wrapper .up-saving-tooltip {
  position: absolute !important;
  right: 0 !important;
  left: auto !important;
  bottom: calc(100% + 10px) !important;
  top: auto !important;
  z-index: 999 !important;
  width: auto !important;
  max-width: min(360px, calc(100vw - 24px)) !important;
  padding: 12px 14px 14px !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #232427 0%, #1c1d20 100%) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24) !important;
  color: #fff !important;
  display: none !important;
}

.up-product-wrapper .up-saving-tooltip.is-visible {
  display: block !important;
}

.up-product-wrapper .up-saving-tooltip::before {
  content: "" !important;
  position: absolute !important;
  right: 100px !important;
  left: auto !important;
  bottom: -8px !important;
  top: auto !important;
  width: 16px !important;
  height: 16px !important;
  background: #1c1d20 !important;
  transform: rotate(45deg) !important;
  border-radius: 2px !important;
}



.up-product-wrapper .up-saving-tooltip-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.up-product-wrapper .up-saving-tooltip-row+.up-saving-tooltip-row {
  margin-top: 10px !important;
}

.up-product-wrapper .up-saving-tooltip-label {
  font-family: "new_font", sans-serif !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.up-product-wrapper .up-saving-tooltip-value {
  font-family: "new_font", sans-serif !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
}

.up-product-wrapper .up-saving-tooltip-value.is-accent {
  color: #ff2a22 !important;
}

.up-product-wrapper .up-saving-tooltip-bottom {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 10px !important;
}

.up-product-wrapper .up-saving-tooltip-icons {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
}

.up-product-wrapper .up-saving-tooltip-icons--bundle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.up-product-wrapper .up-saving-tooltip-iconbox {
  width: 40px !important;
  height: 30px !important;
  border-radius: 8px !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  flex: 0 0 40px !important;
}

.up-product-wrapper .up-saving-tooltip-iconbox img {
  max-width: 30px !important;
  max-height: 30px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.up-product-wrapper .up-saving-tooltip-icons--bundle .up-saving-tooltip-iconbox + .up-saving-tooltip-iconbox {
  position: relative !important;
}


.up-product-wrapper .up-saving-tooltip-plus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 14px !important;
  min-height: 14px !important;
  margin: 0 !important;
  font-family: Arial, sans-serif !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-align: center !important;
}

.up-product-wrapper .up-saving-tooltip-plus::before {
  content: none !important;
}

.up-product-wrapper .up-saving-tooltip-badge {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  margin-left: 4px !important;
  border-radius: 8px !important;
  background: #e6efd0 !important;
  color: #6b8f1b !important;
  font-family: "new_font", sans-serif !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}

.up-product-wrapper .up-saving-tooltip-badge::before {
  content: "" !important;
  position: absolute !important;
  left: -10px !important;
  top: 50% !important;
  width: 12px !important;
  height: 16px !important;
  background: #e6efd0 !important;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  transform: translateY(-50%) !important;
}

.up-product-wrapper .up-product-variants {
  display: none !important;
}

.up-product-wrapper .up-more {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.up-product-wrapper .up-more-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  font-family: "new_font", sans-serif !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  color: #315e9e !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
}

.up-product-wrapper .up-more-link::after {
  content: "›" !important;
  display: inline-block !important;
  font-size: 14px !important;
  line-height: 1 !important;
  transform: translateY(-1px) rotate(90deg) !important;
  transition: transform 0.18s ease !important;
}

.up-product-wrapper .up-more-link:not(.up-closed)::after {
  transform: translateY(-1px) rotate(-90deg) !important;
}

.up-product-wrapper .up-more-link:hover {
  color: #1f4f8f !important;
  text-decoration: none !important;
}

.up-product-wrapper .up-add-to-cart-prompt {
  display: none !important;
}

@media (max-width: 767px) {
  .up-product-wrapper {
    margin: 14px 0 8px !important;
  }

  .up-product-wrapper .up-products-header,
  .up-product-wrapper .products-related-header,
  .up-product-wrapper .up-products-header.products-related-header {
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .up-product-wrapper .up-product-information {
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 0 !important;
  }


  .up-product-wrapper .up-product-details {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px 10px !important;
  }

  .up-product-wrapper .up-product-name {
    flex: 1 1 100% !important;
  }


  .up-product-wrapper .up-price {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    text-align: left !important;
    width: auto !important;
  }

  .up-product-wrapper .up-product-name a,
  .up-product-wrapper .up-product-url,
  .up-product-wrapper .up-product-details .up-product-name .up-product-selector-shortcut {
    font-size: 12px !important;
  }


  .up-product-wrapper .up-price-current,
  .up-product-wrapper .up-price-value {
    font-size: 17px !important;
  }

  .up-product-wrapper .up-price .up-price-common {
    font-size: 14px !important;
  }

  .up-product-wrapper .up-more-link {
    font-size: 11px !important;
  }

  .up-product-wrapper .up-price .up-price-common-percentage,
  .up-product-wrapper .up-price .up-saving-badge {
    min-height: 30px !important;
    padding: 4px 9px !important;
    font-size: 11px !important;
  }

  .up-product-wrapper .up-saving-tooltip {
    right: -16px !important;
    left: auto !important;
    bottom: calc(100% + 10px) !important;
    top: auto !important;
    width: auto !important;
    max-width: min(280px, calc(100vw - 16px)) !important;
    padding: 10px 10px 12px !important;
  }

  .up-product-wrapper .up-saving-tooltip::before {
    right: 58px !important;
    bottom: -8px !important;
    top: auto !important;
    left: auto !important;
  }

  .up-product-wrapper .up-saving-tooltip-row {
    gap: 10px !important;
  }

  .up-product-wrapper .up-saving-tooltip-label,
  .up-product-wrapper .up-saving-tooltip-value {
    font-size: 12px !important;
  }

  .up-product-wrapper .up-saving-tooltip-bottom {
    gap: 12px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .up-product-wrapper .up-saving-tooltip-icons {
    gap: 8px !important;
  }

  .up-product-wrapper .up-saving-tooltip-icons--bundle {
    gap: 8px !important;
  }

  .up-product-wrapper .up-saving-tooltip-badge {
    min-height: 28px !important;
    padding: 0 10px !important;
    margin-left: 12px !important;
    font-size: 11px !important;
  }

  .up-product-wrapper .up-saving-tooltip-badge::before {
    left: -10px !important;
    width: 10px !important;
    height: 12px !important;
    clip-path: polygon(0 50%, 100% 0, 100% 100%) !important;
  }

  .up-product-wrapper .up-saving-tooltip-iconbox {
    width: 34px !important;
    height: 26px !important;
  }

  .up-product-wrapper .up-saving-tooltip-plus {
    min-width: 10px !important;
    min-height: 10px !important;
    font-size: 14px !important;
  }

  .up-product-wrapper .up-price {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .up-product-wrapper .up-price-current,
  .up-product-wrapper .up-price-value {
    order: 1 !important;
  }

  .up-product-wrapper .up-saving-badge {
    order: 2 !important;
    margin-left: 8px !important;
  }
}
