/* TPS: sticky add to cart Long Chau */
/* Floating white bar à la Long Châu — brand green #008b4b; keep Shopee ATC + BHX Buy */

body.has-sticky-product-cart {
  padding-bottom: 96px !important;
}

body.has-sticky-product-cart .back-to-top.active {
  bottom: 100px !important;
}

/* —— Active sticky bar: floating card over content —— */
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active,
body.single-product .product-info form.cart .sticky-add-to-cart.sticky-add-to-cart--active {
  position: fixed !important;
  z-index: 999 !important;
  left: 50% !important;
  right: auto !important;
  bottom: 16px !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  max-width: min(1200px, calc(100vw - 32px)) !important;
  margin: 0 !important;
  padding: 12px 18px !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #D1D5DB !important;
  border-top: 1px solid #D1D5DB !important;
  border-radius: 18px !important;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 12px 28px -4px rgba(0, 0, 0, 0.14) !important;
  font-size: 14px !important;
  animation: none !important;
}

/* Hide non-UI nodes in the sticky flex row */
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active > style,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active > script,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active > input.is_buy_now,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active > input[name="is_buy_now"] {
  display: none !important;
}

/* —— Product block: thumb | title | price —— */
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .sticky-add-to-cart__product {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  max-width: 360px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important; /* keep thumb+title inside bar padding */
  box-sizing: border-box !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .sticky-add-to-cart-img,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active img.sticky-add-to-cart-img {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  object-position: center !important;
  flex: 0 0 52px !important;
  background: #f3f4f6 !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .product-title-small {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 280px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  overflow: hidden !important; /* clamp only — do not spill outside bar */
  text-overflow: ellipsis !important;
  word-break: break-word !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .product-title-small strong {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-weight: 600 !important;
  color: inherit !important;
}

/* Price — bold brand green */
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price-wrapper,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .product-page-price,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .woocommerce-variation-price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  margin: 0 4px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price-wrapper .price,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #008b4b !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price ins,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price ins .amount,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price .amount,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price-wrapper .amount {
  color: #008b4b !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  text-decoration: none !important;
  background: transparent !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price del,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price del .amount {
  display: none !important; /* LC shows current price cleanly */
}


/* Currency đ / ₫ — smaller, normal weight (match PDP) */
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price .woocommerce-Price-currencySymbol,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price-wrapper .woocommerce-Price-currencySymbol,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price .amount .woocommerce-Price-currencySymbol,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price bdi .woocommerce-Price-currencySymbol,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__price .woocommerce-Price-currencySymbol,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__opt-price .woocommerce-Price-currencySymbol {
  font-size: 0.78em !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  vertical-align: baseline !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* —— Qty: neat rounded (align with PDP qty chrome) —— */
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity.buttons_added {
  display: inline-flex !important;
  align-items: stretch !important;
  flex: 0 0 auto !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity .minus,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity .plus,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity .button.is-form {
  width: 34px !important;
  min-width: 34px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f9fafb !important;
  color: #374151 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 42px !important;
  box-shadow: none !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity .minus {
  border-right: 1px solid #e5e7eb !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity .plus {
  border-left: 1px solid #e5e7eb !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity input.qty,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity input[type="number"] {
  width: 40px !important;
  min-width: 40px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  box-shadow: none !important;
  -moz-appearance: textfield !important;
}

/* —— CTAs: keep Shopee ATC + BHX Buy; fit sticky row —— */
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .single_add_to_cart_button,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .buy_now_button,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active button.buy_now_button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 132px !important;
  max-width: none !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border-radius: 999px !important; /* LC pill */
  font-size: 14px !important;
  white-space: nowrap !important;
}

/* Soften Shopee ATC corners to pill while keeping colors from tps-pdp-shopee */
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .single_add_to_cart_button,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active button.single_add_to_cart_button.button.alt {
  border-radius: 999px !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .buy_now_button,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active button.buy_now_button {
  border-radius: 999px !important;
  /* solid brand green primary (LC “Chọn mua” role → Mua ngay) */
  background-color: #008b4b !important;
  background-image: linear-gradient(90deg, #00753f 0%, #008b4b 48%, #3aad5c 100%) !important;
  color: #fff !important;
  border: 0 !important;
}

/* Variations wrap inside sticky (variable products) */
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .woocommerce-variation-add-to-cart,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .single_variation_wrap {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .variations,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .woocommerce-variation-description {
  display: none !important;
}

/* —— Tablet —— */
@media (max-width: 849px) {
  body.has-sticky-product-cart {
    padding-bottom: 88px !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active,
  body.single-product .product-info form.cart .sticky-add-to-cart.sticky-add-to-cart--active {
    bottom: 12px !important;
    width: calc(100% - 20px) !important;
    padding: 10px 12px !important;
    gap: 10px !important;
    border-radius: 16px !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .sticky-add-to-cart-img,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active img.sticky-add-to-cart-img {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    flex-basis: 44px !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .product-title-small {
    max-width: 180px !important;
    font-size: 12px !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price ins .amount,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price .amount {
    font-size: 15px !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .single_add_to_cart_button,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .buy_now_button {
    min-width: 110px !important;
    padding: 0 12px !important;
    height: 40px !important;
    min-height: 40px !important;
    font-size: 13px !important;
  }
}

/* —— Mobile: compact row (title already hide-for-small); optional 2-line if tight —— */
@media (max-width: 549px) {
  body.has-sticky-product-cart {
    padding-bottom: 108px !important;
  }

  body.has-sticky-product-cart .back-to-top.active {
    bottom: 112px !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active,
  body.single-product .product-info form.cart .sticky-add-to-cart.sticky-add-to-cart--active {
    bottom: 10px !important;
    width: calc(100% - 16px) !important;
    max-width: 100% !important;
    padding: 8px 10px !important;
    gap: 8px !important;
    border-radius: 14px !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .sticky-add-to-cart__product {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 8px) !important;
    gap: 8px !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .sticky-add-to-cart-img,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active img.sticky-add-to-cart-img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex-basis: 40px !important;
    border-radius: 8px !important;
  }

  /* Flatsome hide-for-small already hides title; ensure price stays visible when present */
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .product-title-small.hide-for-small {
    display: none !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price-wrapper {
    margin: 0 !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .price .amount {
    font-size: 14px !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity.buttons_added {
    height: 38px !important;
    order: 2 !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity .minus,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity .plus,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity .button.is-form,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity input.qty {
    height: 38px !important;
    line-height: 38px !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity .minus,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity .plus {
    width: 30px !important;
    min-width: 30px !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .quantity input.qty {
    width: 34px !important;
    min-width: 34px !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .single_add_to_cart_button,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .buy_now_button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
    order: 3 !important;
  }

  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .single_add_to_cart_button .tps-atc-icon,
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .single_add_to_cart_button .tps-shopee-cart-icon {
    width: 18px !important;
    height: 18px !important;
  }
}


/* —— Specificity beat tps-pdp-shopee form.cart CTA radius (4px) —— */
body.single-product .product-info form.cart .sticky-add-to-cart.sticky-add-to-cart--active .single_add_to_cart_button,
body.single-product .product-info form.cart .sticky-add-to-cart.sticky-add-to-cart--active button.single_add_to_cart_button.button.alt,
body.single-product .product-info form.cart .sticky-add-to-cart.sticky-add-to-cart--active .buy_now_button,
body.single-product .product-info form.cart .sticky-add-to-cart.sticky-add-to-cart--active button.buy_now_button {
  border-radius: 999px !important;
  height: 42px !important;
  min-height: 42px !important;
  flex: 0 0 auto !important;
  min-width: 132px !important;
  max-width: none !important;
  width: auto !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

body.single-product .product-info form.cart .sticky-add-to-cart.sticky-add-to-cart--active,
body.single-product form.cart .sticky-add-to-cart.sticky-add-to-cart--active {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 16px !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  max-width: min(1200px, calc(100vw - 32px)) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 12px 28px -4px rgba(0, 0, 0, 0.14) !important;
  border: 1px solid #D1D5DB !important;
  border-top: 1px solid #D1D5DB !important;
  padding: 12px 18px !important;
  justify-content: center !important;
  gap: 14px !important;
  z-index: 999 !important;
}

@media (max-width: 549px) {
  body.single-product .product-info form.cart .sticky-add-to-cart.sticky-add-to-cart--active .single_add_to_cart_button,
  body.single-product .product-info form.cart .sticky-add-to-cart.sticky-add-to-cart--active .buy_now_button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* —— Sticky variation dropdown (Long Châu–style, brand green) —— */
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active {
  overflow: visible !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var {
  position: relative !important;
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 5 !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__price {
  display: none;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #008b4b !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var.has-price .tps-sticky-var__price {
  display: block !important;
}

/* Hide native sticky price-wrapper when our sync price is present (avoid double) —
   variable products usually have no sticky price; keep simple untouched. */
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active.tps-has-sticky-var .sticky-add-to-cart__product .price-wrapper {
  display: none !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  max-width: 200px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 12px 0 14px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 999px !important;
  background: #f9fafb !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  transition: border-color 0.15s ease, background 0.15s ease !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__pill:hover,
body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var.is-open .tps-sticky-var__pill {
  border-color: #008b4b !important;
  background: #fff !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__pill-label {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 150px !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__chev {
  flex: 0 0 auto !important;
  color: #6b7280 !important;
  transition: transform 0.15s ease !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var.is-open .tps-sticky-var__chev {
  transform: rotate(180deg) !important;
  color: #008b4b !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__menu {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: calc(100% + 10px) !important;
  top: auto !important;
  min-width: 220px !important;
  max-width: min(320px, 80vw) !important;
  max-height: 280px !important;
  overflow-y: auto !important;
  margin: 0 !important;
  padding: 8px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 16px 32px -8px rgba(0, 0, 0, 0.16) !important;
  z-index: 1000 !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__menu[hidden] {
  display: none !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__opt {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: left !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__opt:hover {
  background: #f3f4f6 !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__opt.is-selected {
  background: #f0faf4 !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__check {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  border: 1.5px solid #d1d5db !important;
  background: #fff !important;
  box-sizing: border-box !important;
  position: relative !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__opt.is-selected .tps-sticky-var__check {
  border-color: #008b4b !important;
  background: #008b4b !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__opt.is-selected .tps-sticky-var__check::after {
  content: "" !important;
  position: absolute !important;
  left: 5px !important;
  top: 2px !important;
  width: 5px !important;
  height: 9px !important;
  border: solid #fff !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__opt-label {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__opt-price {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  color: #008b4b !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

@media (max-width: 849px) {
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__price {
    font-size: 15px !important;
  }
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__pill {
    height: 32px !important;
    max-width: 140px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__pill-label {
    max-width: 100px !important;
  }
}

@media (max-width: 549px) {
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: flex-end !important;
  }
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__price {
    font-size: 14px !important;
  }
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__pill {
    height: 30px !important;
    max-width: 120px !important;
  }
  body.single-product .sticky-add-to-cart.sticky-add-to-cart--active .tps-sticky-var__menu {
    left: auto !important;
    right: 0 !important;
    min-width: 200px !important;
  }
}
