/** Shopify CDN: Minification failed

Line 9:16 Expected identifier but found whitespace
Line 9:17 Unexpected "1px"
Line 1121:10 Unexpected "="
Line 1126:9 Expected ":"

**/
  border-bottom: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
  transition: background-color 0.2s ease;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_option_list:hover {
  background: #fffaf5 !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_option_list::before,
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_option_list::after {
  display: none !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_option_list:last-child { border-bottom: 0 !important; }

/* Main product info: image + name/SKU stay beside one another. */
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_last_holder {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_img_holder {
  flex: 0 0 44px !important;
  width: 44px !important;
  max-width: 44px !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_img_holder img {
  width: 44px !important;
  height: 44px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 7px !important;
  background: #fff !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_last_holder_labels {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  line-height: 1.3 !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_label {
  color: #172033 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_info {
  color: #64748b !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}

/* Hide repeating column headings, not the actual quantity or price. */
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_qty_label,
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_prc_label {
  display: none !important;
}

/* Oval quantity pill; preserve app controls and stock display. */
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_qty_holder {
  min-width: 0;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
  align-items: center !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_qty_box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #d1d9e3 !important;
  border-radius: 999px !important;
  background: #fff !important;
  padding: 4px 8px !important;
  min-height: 38px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_qty_box > * {
  flex-shrink: 0;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_qty_box:hover,
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_qty_box:focus-within {
  border-color: #ff7900 !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_stock_qty {
  color: #15803d !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-top: 3px !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_prc_holder {
  flex-shrink: 0;
  font-weight: 700 !important;
  color: #ea580c !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_prc_compare {
  color: #94a3b8 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  opacity: 0.6;
}

/* Totals + full-width Add to Cart; verified MultiVariants IDs. */
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT #multivariants_setbox_footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 8px !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid #e2e8f0 !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_subtotal_h {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  box-sizing: border-box !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_add_to_cart_button_h {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT #multivariants_add_to_cart_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 46px !important;
  padding: 12px 16px !important;
  background: #ff7900 !important;
  border: 1px solid #e56c00 !important;
  color: #fff !important;
  border-radius: 9px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  box-sizing: border-box !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT #multivariants_add_to_cart_button:not(:disabled):hover {
  background: #e86d00 !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT #multivariants_add_to_cart_button:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}
body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_setbox_alert {
  width: 100% !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  border-radius: 7px !important;
  box-sizing: border-box !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

@media (max-width: 767px) {
  body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_top_title {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }
  body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_option_list {
    padding: 8px 4px !important;
  }
  body.theme-template-product #MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_qty_box {
    min-height: 36px !important;
    padding: 3px 6px !important;
  }
}


/* ============================================================
   BPM 2027 — VISUAL RESTORE (AFTER APP STYLES)
   No grid on variant rows. Preserve MultiVariants interactions.
   /* ==========================================
   BPM 2027 — MULTIVARIANTS WIDTH FIX
   Preserve app's original flex layout
   ========================================== */

@media (min-width: 1024px) {

  /* Purchasing panel with MultiVariants */
  body.theme-template-product
  .block-product-purchase__container:has(
    #MULTIVARIANTS_APP_BLOCK_CONTENT
  ) {
    align-items: stretch !important;
  }

  /* App wrapper */
  body.theme-template-product
  .block-product-purchase__container
  .shopify-app-block:has(
    #MULTIVARIANTS_APP_BLOCK_CONTENT
  ) {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    align-self: stretch !important;
    flex: 0 0 auto !important;
  }

  /* Main app containers */
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT,
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_setbox_body,
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_setbox_holder,
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  #multivariants_setbox_footer {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}
/* ==========================================
   BPM 2027 — PREMIUM MULTIVARIANTS CHECKOUT
   Order summary + Add to Cart
   ========================================== */

/* MAIN FOOTER */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_setbox_footer {

  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;

  width: 100% !important;
  gap: 10px !important;

  margin-top: 16px !important;
  padding: 16px 0 0 !important;

  border-top: 1px solid #e2e8f0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

/* ORDER SUMMARY TITLE */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_setbox_footer::before {

  content: "ORDER SUMMARY";

  display: block !important;

  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  line-height: 1.4 !important;

  color: #475569 !important;

  border-left: 3px solid #ff7900 !important;
  padding-left: 10px !important;

  margin-bottom: 2px !important;
}

/* SUMMARY CARD */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_h {

  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;

  width: 100% !important;
  gap: 8px !important;

  padding: 14px 16px !important;

  background: #ffffff !important;
  border: 1px solid #dfe6ee !important;
  border-radius: 10px !important;

  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035) !important;

  box-sizing: border-box !important;
}

/* TOTALS TEXT */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_label {

  width: 100% !important;

  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.7 !important;

  color: #475569 !important;
}

/* TOTAL QUANTITY */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.mvtotalquantity {

  font-size: 14px !important;
  font-weight: 800 !important;
  color: #172033 !important;
}

/* TOTAL PRICE */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_price {

  display: block !important;
  width: 100% !important;

  padding-top: 10px !important;
  margin-top: 2px !important;

  border-top: 1px solid #edf0f4 !important;

  font-size: 25px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;

  color: #ff7900 !important;
  text-align: right !important;
}

/* ADD TO CART WRAPPER */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_add_to_cart_button_h {

  display: block !important;
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* PREMIUM ADD TO CART BUTTON */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_add_to_cart_button {

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 52px !important;

  padding: 13px 18px !important;

  background: #ff7900 !important;
  border: 1px solid #e56c00 !important;
  border-radius: 9px !important;

  color: #ffffff !important;

  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;

  box-shadow: 0 3px 8px rgba(255, 121, 0, 0.12) !important;

  transition: background-color 0.2s ease !important;
  box-sizing: border-box !important;
}

/* BUTTON HOVER */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_add_to_cart_button:not(:disabled):hover {

  background: #e56c00 !important;
}

/* DISABLED STATE */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_add_to_cart_button:disabled {

  background: #fdba74 !important;
  border-color: #fdba74 !important;

  opacity: 1 !important;
  box-shadow: none !important;

  cursor: not-allowed !important;
}

/* VALIDATION MESSAGE */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_setbox_alert {

  width: 100% !important;

  margin: 0 !important;
  padding: 9px 12px !important;

  background: #fff7ed !important;
  border: 1px solid #ffedd5 !important;
  border-radius: 7px !important;

  color: #9a3412 !important;

  font-size: 11px !important;
  line-height: 1.5 !important;
  text-align: center !important;

  box-sizing: border-box !important;
}
/* =============================================
   BPM 2027 — PREMIUM ORDER SUMMARY V2
   Clean totals, inline item count, premium styling
   ============================================= */

/* MAIN SUMMARY CARD */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_h {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;

  width: 100% !important;
  padding: 14px 16px !important;

  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 11px !important;

  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.035) !important;
}

/* ITEMS SELECTED — SINGLE LINE */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_label {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 12px !important;

  border-bottom: 1px solid #edf0f4 !important;

  /* Hide original app-generated text labels */
  font-size: 0 !important;
  line-height: 1 !important;
}

/* REPLACEMENT LABEL */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_label::before {
  content: "Items selected";

  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;

  color: #64748b !important;
}

/* LIVE ITEM COUNT */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.mvtotalquantity {
  display: inline-block !important;

  padding: 0 !important;
  margin: 0 !important;

  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;

  color: #172033 !important;
}

/* ORIGINAL TOTAL — SHOW ONLY WHEN APP PROVIDES IT */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_compare_price {
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 0 4px !important;

  color: #94a3b8 !important;
  font-size: 13px !important;
  text-align: right !important;
}

/* FINAL PRICE ROW */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_price {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;

  width: 100% !important;

  margin: 0 !important;
  padding: 12px 0 0 !important;

  border-top: 0 !important;

  color: #ff7900 !important;

  font-size: 25px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: right !important;
}

/* TOTAL LABEL */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_price::before {
  content: "TOTAL TO PAY";

  flex-shrink: 0;

  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;

  color: #334155 !important;
}

/* ADD TO CART — PREMIUM BPM ORANGE */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_add_to_cart_button {
  width: 100% !important;
  min-height: 52px !important;

  background: #ff7900 !important;
  border: 1px solid #e66c00 !important;
  border-radius: 9px !important;

  color: #ffffff !important;

  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;

  box-shadow: 0 3px 8px rgba(255, 121, 0, 0.12) !important;
}

/* BUTTON HOVER */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_add_to_cart_button:not(:disabled):hover {
  background: #e86d00 !important;
  box-shadow: 0 4px 12px rgba(255, 121, 0, 0.2) !important;
}

/* MOBILE */
@media (max-width: 767px) {
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_subtotal_h {
    padding: 12px !important;
  }

  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_subtotal_price {
    font-size: 22px !important;
  }
}
/* ==========================================
   BPM 2027 — PREMIUM ADD TO CART BUTTON
   ========================================== */

body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_add_to_cart_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 54px !important;
  padding: 14px 20px !important;

  /* Premium BPM orange */
  background: linear-gradient(
    135deg,
    #ff8a1c 0%,
    #ff7900 55%,
    #ed6900 100%
  ) !important;

  color: #ffffff !important;
  border: 1px solid #ea7000 !important;
  border-radius: 10px !important;

  /* Typography */
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;

  /* Subtle depth */
  box-shadow:
    0 3px 0 rgba(174, 73, 0, 0.18),
    0 6px 14px rgba(255, 121, 0, 0.14) !important;

  cursor: pointer !important;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease !important;
}

/* Hover — enabled button only */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_add_to_cart_button:not(:disabled):hover {
  filter: brightness(1.05) !important;
  transform: translateY(-1px) !important;

  box-shadow:
    0 4px 0 rgba(174, 73, 0, 0.16),
    0 9px 18px rgba(255, 121, 0, 0.20) !important;
}

/* Pressed state */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_add_to_cart_button:not(:disabled):active {
  transform: translateY(1px) !important;
  filter: brightness(0.97) !important;

  box-shadow:
    0 1px 3px rgba(174, 73, 0, 0.15) !important;
}

/* Keyboard accessibility */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_add_to_cart_button:focus-visible {
  outline: 3px solid #ffc078 !important;
  outline-offset: 3px !important;
}

/* Disabled state — preserve MultiVariants functionality */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_add_to_cart_button:disabled {
  background: #fdba74 !important;
  color: #ffffff !important;
  border-color: #fdba74 !important;

  box-shadow: none !important;
  transform: none !important;
  filter: none !important;

  cursor: not-allowed !important;
  opacity: 1 !important;
}

/* ==========================================
   MOBILE REFINEMENTS
   ========================================== */

@media (max-width: 767px) {

  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  #multivariants_add_to_cart_button {
    min-height: 50px !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    border-radius: 9px !important;
  }

  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_subtotal_h {
    padding: 12px !important;
  }

  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_subtotal_price {
    font-size: 22px !important;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  #multivariants_add_to_cart_button {
    transition: none !important;
    transform: none !important;
  }
}
/* ==========================================
   BPM — ALIGN ITEM COUNT TO FAR RIGHT
   ========================================== */

body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

/* Push the live quantity to the right */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.mvtotalquantity {
  margin-left: auto !important;
  margin-right: 0 !important;
  padding-right: 0 !important;

  text-align: right !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

/* Keep quantity aligned with the final price */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_price {
  text-align: right !important;
}
/* ==========================================
   BPM — ORIGINAL PRICE BESIDE FINAL PRICE
   ========================================== */

/* Order summary layout */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_h {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
}

/* Items selected stays on its own row */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_label {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid #edf0f4 !important;
}

/* Original crossed-out price */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_compare_price {
  grid-column: 1 !important;
  grid-row: 2 !important;
  justify-self: end !important;
  align-self: center !important;

  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;

  color: #94a3b8 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

/* Final selling price */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_price {
  grid-column: 2 !important;
  grid-row: 2 !important;
  justify-self: end !important;
  align-self: center !important;

  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;

  color: #ff7900 !important;
  font-size: 25px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;

  white-space: nowrap !important;
}

/* Remove the old TOTAL TO PAY pseudo-label */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_price::before {
  display: none !important;
  content: none !important;
}

/* Mobile */
@media (max-width: 767px) {
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_subtotal_price {
    font-size: 22px !important;
  }

  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_subtotal_compare_price {
    font-size: 12px !important;
  }
}
/* ==========================================
   BPM — RESTORE TOTAL TO PAY LABEL
   ========================================== */

/* Keep original and discounted prices inline */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_price {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;

  white-space: nowrap !important;
}

/* Restore TOTAL TO PAY label */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_price::before {
  content: "TOTAL TO PAY" !important;
  display: block !important;

  position: absolute !important;
  left: 16px !important;

  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  line-height: 1.3 !important;

  color: #334155 !important;
}

/* Anchor label within summary card */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_h {
  position: relative !important;
}
/* ==========================================
   BPM 2027 — FIX PREMIUM ORDER SUMMARY
   Proper alignment — no overlapping text
   ========================================== */

/* Summary card layout */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_h {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  column-gap: 10px !important;
  row-gap: 0 !important;

  align-items: center !important;
  position: relative !important;
}

/* ITEMS SELECTED — FIRST ROW */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_label {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 12px !important;

  border-bottom: 1px solid #e2e8f0 !important;
}

/* TOTAL TO PAY — SECOND ROW, LEFT */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_h::before {
  content: "TOTAL TO PAY" !important;

  grid-column: 1 !important;
  grid-row: 2 !important;

  display: block !important;
  position: static !important;

  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  color: #334155 !important;

  margin: 0 !important;
  padding: 12px 0 0 !important;
}

/* ORIGINAL PRICE — SECOND ROW, MIDDLE */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_compare_price {
  grid-column: 2 !important;
  grid-row: 2 !important;

  justify-self: end !important;
  align-self: end !important;

  width: auto !important;
  margin: 0 !important;
  padding: 12px 0 0 !important;
  border: 0 !important;

  font-size: 13px !important;
  color: #94a3b8 !important;
  white-space: nowrap !important;
}

/* FINAL PRICE — SECOND ROW, RIGHT */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_price {
  grid-column: 3 !important;
  grid-row: 2 !important;

  display: block !important;
  position: static !important;

  justify-self: end !important;
  align-self: end !important;

  width: auto !important;
  margin: 0 !important;
  padding: 12px 0 0 !important;
  border: 0 !important;

  font-size: 25px !important;
  font-weight: 800 !important;
  color: #ff7900 !important;

  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* REMOVE THE OLD OVERLAPPING LABEL */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_price::before {
  content: none !important;
  display: none !important;
  position: static !important;
}

/* MOBILE */
@media (max-width: 767px) {
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_subtotal_h {
    column-gap: 7px !important;
  }

  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_subtotal_price {
    font-size: 21px !important;
  }

  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_subtotal_compare_price {
    font-size: 11px !important;
  }
}
/* ==========================================
   BPM — ALIGN ORIGINAL & FINAL PRICES
   ========================================== */

/* Original crossed-out price */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_compare_price {
  align-self: center !important;
  justify-self: end !important;

  padding: 12px 0 0 !important;
  margin: 0 !important;

  line-height: 1.2 !important;
  vertical-align: middle !important;
}

/* Final orange price */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_subtotal_price {
  align-self: center !important;
  justify-self: end !important;

  padding: 12px 0 0 !important;
  margin: 0 !important;

  line-height: 1.2 !important;
}
/* ==========================================
   BPM — HIDE MULTIVARIANTS SUCCESS MESSAGE
   Keep genuine errors visible
   ========================================== */

/* Hide success messages using the existing alert element */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_setbox_alert:has(+ .nothing) {
  display: none !important;
}
/* ==========================================
   BPM 2027 — HIDE SUCCESS CONFIRMATION
   Preserve genuine validation errors
   ========================================== */

/* Hide the entire alert when it contains
   MultiVariants' success message */

body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_setbox_alert:has(.multivariants_notice_ok) {
  display: none !important;
}

/* Preserve error messages */

body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_setbox_alert:not(:has(.multivariants_notice_ok)) {
  display: block;
}
/* ==========================================
   BPM — CLEAN MULTIVARIANTS NOTIFICATIONS
   ========================================== */

/* Hide routine success and zero-selection notices */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_setbox_alert:has(.multivariants_notice_ok),

body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
#multivariants_setbox_alert.bpm-hide-routine-notice {
  display: none !important;
}
/* ==========================================
   BPM 2027 — MOBILE MULTIVARIANTS PRICE FIX
   Keep variant name, quantity and price inline
   ========================================== */

const row = document.querySelector(
  '#MULTIVARIANTS_APP_BLOCK_CONTENT .multivariants_block_option_list'
);

if (row) {
  console.table(
    [
      '.multivariants_block_option_list',
      '.multivariants_block_last_holder',
      '.multivariants_block_qty_holder',
      '.multivariants_block_prc_holder'
    ].map(selector => {
      const el = selector === '.multivariants_block_option_list'
        ? row
        : row.querySelector(selector);

      if (!el) return { selector, found: false };

      const rect = el.getBoundingClientRect();
      const css = getComputedStyle(el);

      return {
        selector,
        width: Math.round(rect.width),
        display: css.display,
        flex: css.flex,
        gridColumn: css.gridColumn,
        position: css.position
      };
    })
  );
}/* ==========================================
  /* ==========================================
   BPM 2027 — MOBILE MULTIVARIANTS LAYOUT
   Compact four-column variant rows
   ========================================== */

@media screen and (max-width: 767px) {

  /* Actual parent containing variant details */
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_last_holder {

    display: grid !important;

    grid-template-columns:
      38px
      minmax(0, 1fr)
      116px
      65px !important;

    align-items: center !important;
    column-gap: 5px !important;

    width: 100% !important;
    min-width: 0 !important;

    padding: 8px 0 !important;
    box-sizing: border-box !important;
  }

  /* PRODUCT IMAGE */
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_img_holder {

    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 38px !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* VARIANT NAME + SKU */
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_last_holder_labels {

    grid-column: 2 !important;
    grid-row: 1 !important;

    min-width: 0 !important;
    width: auto !important;

    margin: 0 !important;
  }

  /* QUANTITY SELECTOR */
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_qty_holder {

    grid-column: 3 !important;
    grid-row: 1 !important;

    width: 116px !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  /* PRICE — FAR RIGHT */
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_prc_holder {

    grid-column: 4 !important;
    grid-row: 1 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;

    width: 65px !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: right !important;
  }

  /* Original and selling prices */
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_prc_compare,

  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_prc_total {

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    text-align: right !important;
    white-space: nowrap !important;
  }

  /* Selling price typography */
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_prc_total {

    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #ff7900 !important;
  }

  /* Sold-out indicator */
  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .mv_out_of_stock_badge {

    grid-column: 3 / 5 !important;
    grid-row: 1 !important;

    justify-self: end !important;
    max-width: 100% !important;
  }

}

/* Narrower phones */
@media screen and (max-width: 370px) {

  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_last_holder {

    grid-template-columns:
      34px
      minmax(0, 1fr)
      106px
      61px !important;

    column-gap: 3px !important;
  }

  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_qty_holder {
    width: 106px !important;
  }

  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_prc_holder {
    width: 61px !important;
  }
}
/* ==========================================
   BPM 2027 — PREMIUM VARIANT ROW DIVIDERS
   Desktop + Mobile
   ========================================== */

/* Add a subtle divider between variants */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_option_list {
  border-bottom: 1px solid #edf0f4 !important;
}

/* Remove divider from the final variant */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_option_list:last-child {
  border-bottom: none !important;
}

/* Comfortable spacing around each row */
body.theme-template-product
#MULTIVARIANTS_APP_BLOCK_CONTENT
.multivariants_block_option_list {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Slightly tighter on mobile */
@media screen and (max-width: 767px) {

  body.theme-template-product
  #MULTIVARIANTS_APP_BLOCK_CONTENT
  .multivariants_block_option_list {
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }

}