/*
 * Ronix_Descuento_Metodo_de_pago V.5.4
 * Ronix 2026 — payment-price UI
 * The WooCommerce/WoodMart native selling price is always the primary price.
 */
:root{
  --ronix-special-color:#2563eb;
  --ronix-yape:#6b21a8;
  --ronix-yape-bg:#faf5ff;
  --ronix-yape-border:#eadcff;
  --ronix-muted:#737780;
  --ronix-text:#111827;
}

/* =========================
   SHARED / SHOP / SINGLE
   ========================= */
.ronix-pp-payment-block,
.ronix-pp-shortcode{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  clear:both!important;
  float:none!important;
  box-sizing:border-box!important;
}

/* Store cards: compact by design — tighter vertical rhythm while preserving the native price hierarchy. */
.ronix-pp-context-loop{
  margin:5px 0 0!important;
  padding:0!important;
  line-height:1!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

/* Single product: keep the existing location, only refine spacing. */
.ronix-pp-context-single{
  margin:5px 0 0!important;
  padding:0!important;
  line-height:1!important;
}

.ronix-pp-payment-row,
.ronix-pp-shortcode-row{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:4px 5px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  line-height:1!important;
  overflow:visible!important;
}

/* Yape price is deliberately secondary to the native WooCommerce price. */
.ronix-pp-payment-row .ronix-pp-special,
.ronix-pp-payment-row .ronix-pp-special .woocommerce-Price-amount,
.ronix-pp-payment-row .ronix-pp-special bdi,
.ronix-pp-shortcode-price,
.ronix-pp-shortcode-price .woocommerce-Price-amount,
.ronix-pp-shortcode-price bdi{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  color:var(--ronix-special-color,#2563eb)!important;
  font-size:var(--ronix-special-size,22px)!important;
  font-weight:700!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  letter-spacing:-.01em!important;
}

.ronix-pp-gateway-logo,
.ronix-pp-shortcode-logo,
.ronix-pp-cart-logo{
  display:block!important;
  flex:0 0 auto!important;
  width:20px!important;
  height:20px!important;
  max-width:20px!important;
  max-height:20px!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  border:0!important;
  border-radius:4px!important;
  box-shadow:none!important;
}

.ronix-pp-method-label,
.ronix-pp-shortcode-method-label{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 1 auto!important;
  min-width:0!important;
  width:auto!important;
  max-width:120px!important;
  margin:0!important;
  padding:0!important;
  color:var(--ronix-yape)!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.15!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}

.ronix-pp-savings{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 1 auto!important;
  min-width:0!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:3px 7px!important;
  border:1px solid var(--ronix-yape-border)!important;
  border-radius:6px!important;
  background:var(--ronix-yape-bg)!important;
  color:var(--ronix-yape)!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:1.1!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  box-sizing:border-box!important;
}

/* Product page: visually refined, but still secondary. */
.single-product .ronix-pp-shortcode{
  margin:5px 0 0!important;
}
.single-product .ronix-pp-shortcode-row{
  gap:6px!important;
}

/* =========================
   CART / MINI-CART / CHECKOUT
   ========================= */
.ronix-cart-price{
  display:inline-flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:4px!important;
  margin:0!important;
  padding:0!important;
  line-height:1.15!important;
}

.ronix-cart-regular{
  color:#8b8f98!important;
  font-size:.86em!important;
  text-decoration:line-through!important;
  white-space:nowrap!important;
}

.ronix-cart-sale{
  color:var(--ronix-text)!important;
  font-size:1em!important;
  font-weight:700!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}

.ronix-cart-price.is-yape-applied .ronix-cart-sale{
  color:var(--ronix-special-color,#2563eb)!important;
}

.ronix-cart-payment-price{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:4px 6px!important;
  width:100%!important;
  max-width:100%!important;
  margin:3px 0 0!important;
  padding:0!important;
  line-height:1.15!important;
}

.ronix-cart-payment-label{
  display:inline-flex!important;
  align-items:center!important;
  color:var(--ronix-yape)!important;
  font-size:10px!important;
  font-weight:700!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

.ronix-cart-payment-special{
  color:var(--ronix-special-color,#2563eb)!important;
  font-size:12px!important;
  font-weight:700!important;
  white-space:nowrap!important;
  flex:0 0 auto!important;
}

.ronix-pp-cart-logo{
  flex:0 0 auto!important;
  width:18px!important;
  height:18px!important;
  max-width:18px!important;
  max-height:18px!important;
  object-fit:contain!important;
}

.ronix-cart-payment-saving{
  display:inline-flex!important;
  align-items:center!important;
  padding:2px 6px!important;
  border:1px solid var(--ronix-yape-border)!important;
  border-radius:5px!important;
  background:var(--ronix-yape-bg)!important;
  color:var(--ronix-yape)!important;
  font-size:9px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}

.ronix-cart-payment-applied{
  display:inline-flex!important;
  align-items:center!important;
  padding:2px 6px!important;
  border-radius:5px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  font-size:9px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}

.woocommerce-cart .ronix-cart-payment-price,
.woocommerce-checkout .ronix-cart-payment-price,
.widget_shopping_cart .ronix-cart-payment-price{
  font-size:inherit!important;
}

/* Legacy percentage UI is intentionally hidden in V.5. */
.ronix-pp-payment-discount,
.ronix-pp-shortcode-discount,
.ronix-shop-savings{
  display:none!important;
}

/* =========================
   MOBILE
   ========================= */
@media(max-width:767px){
  .ronix-pp-context-loop{margin-top:5px!important;}
  .ronix-pp-payment-row,
  .ronix-pp-shortcode-row{
    gap:4px 5px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex-wrap:wrap!important;
  }

  .ronix-pp-payment-row .ronix-pp-special,
  .ronix-pp-payment-row .ronix-pp-special .woocommerce-Price-amount,
  .ronix-pp-payment-row .ronix-pp-special bdi,
  .ronix-pp-shortcode-price,
  .ronix-pp-shortcode-price .woocommerce-Price-amount,
  .ronix-pp-shortcode-price bdi{
    font-size:var(--ronix-special-size,18px)!important;
  }

  .ronix-pp-gateway-logo,
  .ronix-pp-shortcode-logo,
  .ronix-pp-cart-logo{
    width:18px!important;
    height:18px!important;
    max-width:18px!important;
    max-height:18px!important;
  }

  .ronix-pp-method-label,
  .ronix-pp-shortcode-method-label{
    font-size:10px!important;
    max-width:100px!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .ronix-pp-savings{
    font-size:9px!important;
    padding:3px 6px!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .ronix-cart-payment-price{gap:3px 5px!important;}
  .ronix-cart-payment-special{font-size:11px!important;}
  .ronix-cart-payment-label{font-size:10px!important;max-width:110px!important;}
  .ronix-pp-cart-logo{width:17px!important;height:17px!important;max-width:17px!important;max-height:17px!important;}
}


/* =========================
   CLASSIC CHECKOUT — YAPE AFTER SUBTOTAL
   ========================= */
.woocommerce-checkout-review-order-table .ronix-checkout-yape-row th,
.woocommerce-checkout-review-order-table .ronix-checkout-yape-row td{
  border-top:1px solid #e5e7eb!important;
  padding-top:12px!important;
  padding-bottom:12px!important;
  vertical-align:middle!important;
}
.ronix-checkout-yape-label{
  display:inline-block!important;
  color:#111827!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.25!important;
}
.ronix-checkout-yape-content{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:5px 7px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.ronix-checkout-yape-price,
.ronix-checkout-yape-price .woocommerce-Price-amount,
.ronix-checkout-yape-price bdi{
  color:#2563eb!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
.ronix-checkout-yape-logo{
  flex:0 0 auto!important;
  width:22px!important;
  height:22px!important;
  max-width:22px!important;
  max-height:22px!important;
  object-fit:contain!important;
  border:0!important;
}
.ronix-checkout-yape-method{
  color:#6b21a8!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.15!important;
  max-width:140px!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
.ronix-checkout-yape-saving{
  display:inline-flex!important;
  align-items:center!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding:3px 7px!important;
  border:1px solid #eadcff!important;
  border-radius:6px!important;
  background:#faf5ff!important;
  color:#6b21a8!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:1.1!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.ronix-checkout-yape-applied{
  display:inline-flex!important;
  align-items:center!important;
  padding:3px 7px!important;
  border-radius:6px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  font-size:10px!important;
  font-weight:700!important;
}
@media(max-width:767px){
  .woocommerce-checkout-review-order-table .ronix-checkout-yape-row th,
  .woocommerce-checkout-review-order-table .ronix-checkout-yape-row td{
    padding-top:9px!important;
    padding-bottom:9px!important;
  }
  .ronix-checkout-yape-content{
    justify-content:flex-end!important;
    gap:4px 5px!important;
  }
  .ronix-checkout-yape-label{font-size:13px!important;}
  .ronix-checkout-yape-price,
  .ronix-checkout-yape-price .woocommerce-Price-amount,
  .ronix-checkout-yape-price bdi{font-size:14px!important;}
  .ronix-checkout-yape-logo{width:19px!important;height:19px!important;max-width:19px!important;max-height:19px!important;}
  .ronix-checkout-yape-method{font-size:10px!important;max-width:110px!important;}
  .ronix-checkout-yape-saving{font-size:9px!important;padding:3px 6px!important;}
}

/* =========================
   V5.16 CHECKOUT — MARKETING YAPE
   Based on the supplied working CheckoutWC integration.
   ========================= */
.woocommerce-checkout-review-order-table .ronix-checkout-yape-row.ronix-checkout-yape-marketing th,
.woocommerce-checkout-review-order-table .ronix-checkout-yape-row.ronix-checkout-yape-marketing td{
  padding-top:10px!important;
  padding-bottom:10px!important;
  border-top:1px solid #e9edf3!important;
  vertical-align:middle!important;
}
.ronix-checkout-yape-row .ronix-checkout-yape-label{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  color:#111827!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.2!important;
}
.ronix-checkout-yape-optional{
  display:inline-flex!important;
  margin-left:7px!important;
  padding:3px 7px!important;
  border-radius:999px!important;
  background:#f3f4f6!important;
  color:#6b7280!important;
  font-size:9px!important;
  font-weight:700!important;
  line-height:1!important;
  vertical-align:middle!important;
}
.ronix-checkout-yape-row.is-applied .ronix-checkout-yape-optional{
  background:#eff6ff!important;
  color:#2563eb!important;
}
.ronix-checkout-yape-content{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:5px 7px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.ronix-checkout-yape-price,
.ronix-checkout-yape-price .woocommerce-Price-amount,
.ronix-checkout-yape-price bdi{
  color:#2563eb!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
.ronix-checkout-yape-logo{
  width:22px!important;
  height:22px!important;
  max-width:22px!important;
  max-height:22px!important;
  object-fit:contain!important;
  flex:0 0 auto!important;
}
.ronix-checkout-yape-method{
  color:#6b21a8!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.1!important;
  max-width:140px!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
.ronix-checkout-yape-saving{
  display:inline-flex!important;
  align-items:center!important;
  padding:3px 7px!important;
  border:1px solid #eadcff!important;
  border-radius:6px!important;
  background:#faf5ff!important;
  color:#6b21a8!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
@media(max-width:767px){
  .woocommerce-checkout-review-order-table .ronix-checkout-yape-row.ronix-checkout-yape-marketing th,
  .woocommerce-checkout-review-order-table .ronix-checkout-yape-row.ronix-checkout-yape-marketing td{
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
  .ronix-checkout-yape-row .ronix-checkout-yape-label{font-size:13px!important;}
  .ronix-checkout-yape-optional{font-size:8px!important;margin-left:4px!important;padding:3px 6px!important;}
  .ronix-checkout-yape-content{gap:4px 5px!important;}
  .ronix-checkout-yape-price,
  .ronix-checkout-yape-price .woocommerce-Price-amount,
  .ronix-checkout-yape-price bdi{font-size:15px!important;}
  .ronix-checkout-yape-logo{width:19px!important;height:19px!important;max-width:19px!important;max-height:19px!important;}
  .ronix-checkout-yape-method{font-size:10px!important;max-width:105px!important;}
  .ronix-checkout-yape-saving{font-size:9px!important;padding:3px 6px!important;}
}

/* Ronix 5.17 - forced checkout marketing block */
.ronix-checkout-yape-forced{border-top:1px solid #e7eaf0!important;border-bottom:1px solid #e7eaf0!important;background:#f8fbff!important}
.ronix-checkout-yape-forced th,.ronix-checkout-yape-forced td{padding:11px 0!important;vertical-align:middle!important}
.ronix-checkout-yape-head{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ronix-checkout-yape-forced .ronix-checkout-yape-label{font-size:14px!important;font-weight:800!important;color:#111827!important}
.ronix-checkout-yape-optional{font-size:10px!important;font-weight:700!important;color:#2563eb!important;background:#eff6ff!important;border:1px solid #dbeafe!important;border-radius:999px!important;padding:3px 7px!important}
.ronix-checkout-yape-callout{display:block;margin-top:3px;font-size:11px!important;font-weight:600!important;color:#6b7280!important}
.ronix-checkout-yape-forced .ronix-checkout-yape-content{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:wrap!important;min-width:0!important}
.ronix-checkout-yape-forced .ronix-checkout-yape-price,.ronix-checkout-yape-forced .ronix-checkout-yape-price .woocommerce-Price-amount,.ronix-checkout-yape-forced .ronix-checkout-yape-price bdi{color:#2563eb!important;font-size:18px!important;font-weight:800!important;white-space:nowrap!important}
.ronix-checkout-yape-forced .ronix-checkout-yape-logo{width:24px!important;height:24px!important;object-fit:contain!important;flex:0 0 auto!important}
.ronix-checkout-yape-forced .ronix-checkout-yape-method{font-size:11px!important;font-weight:700!important;color:#6b21a8!important}
.ronix-checkout-yape-forced .ronix-checkout-yape-saving{font-size:10px!important;font-weight:800!important;color:#6b21a8!important;background:#faf5ff!important;border:1px solid #eadcff!important;border-radius:6px!important;padding:4px 7px!important;white-space:nowrap!important}
.ronix-yape-payment-saving{margin:8px 0 0 27px!important;padding:8px 10px!important;border-radius:8px!important;background:#f8fbff!important;border:1px solid #dbeafe!important;color:#2563eb!important;font-size:12px!important;font-weight:700!important;line-height:1.3!important}
.ronix-yape-payment-saving strong{color:#2563eb!important}
@media(max-width:767px){
 .ronix-checkout-yape-forced th,.ronix-checkout-yape-forced td{padding:9px 0!important}
 .ronix-checkout-yape-forced .ronix-checkout-yape-price,.ronix-checkout-yape-forced .ronix-checkout-yape-price .woocommerce-Price-amount,.ronix-checkout-yape-forced .ronix-checkout-yape-price bdi{font-size:16px!important}
 .ronix-checkout-yape-forced .ronix-checkout-yape-content{justify-content:flex-start!important;margin-top:5px!important}
 .ronix-yape-payment-saving{margin-left:0!important;font-size:11px!important}
}

/* V5.23 — checkout hierarchy refinement */
.woocommerce-checkout-review-order-table .ronix-checkout-yape-forced th,
.woocommerce-checkout-review-order-table .ronix-checkout-yape-forced td{
  padding-top:7px!important;
  padding-bottom:7px!important;
}
.ronix-checkout-yape-forced .ronix-checkout-yape-label{
  font-size:13px!important;
  line-height:1.15!important;
}
.ronix-checkout-yape-forced .ronix-checkout-yape-optional{
  font-size:8px!important;
  padding:2px 6px!important;
  margin-left:3px!important;
}
.ronix-checkout-yape-forced .ronix-checkout-yape-callout{
  font-size:10px!important;
  line-height:1.2!important;
  margin-top:2px!important;
}
.ronix-checkout-yape-forced .ronix-checkout-yape-price,
.ronix-checkout-yape-forced .ronix-checkout-yape-price .woocommerce-Price-amount,
.ronix-checkout-yape-forced .ronix-checkout-yape-price bdi{
  font-size:16px!important;
}
.ronix-checkout-yape-forced .ronix-checkout-yape-logo{
  width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important;
}
.ronix-checkout-yape-forced .ronix-checkout-yape-method{
  font-size:10px!important;max-width:125px!important;
}
.ronix-checkout-yape-forced .ronix-checkout-yape-saving{
  font-size:9px!important;padding:3px 6px!important;
}
.ronix-yape-payment-saving{
  margin:6px 0 0 26px!important;
  padding:6px 9px!important;
  border-radius:7px!important;
  font-size:11px!important;
  line-height:1.2!important;
}
@media(max-width:767px){
  .woocommerce-checkout-review-order-table .ronix-checkout-yape-forced th,
  .woocommerce-checkout-review-order-table .ronix-checkout-yape-forced td{padding-top:6px!important;padding-bottom:6px!important}
  .ronix-checkout-yape-forced .ronix-checkout-yape-label{font-size:12px!important}
  .ronix-checkout-yape-forced .ronix-checkout-yape-price,
  .ronix-checkout-yape-forced .ronix-checkout-yape-price .woocommerce-Price-amount,
  .ronix-checkout-yape-forced .ronix-checkout-yape-price bdi{font-size:15px!important}
  .ronix-yape-payment-saving{margin-left:0!important;font-size:10px!important;padding:5px 8px!important}
}

/* V5.24 — checkout payment-method marketing: Transferencia only.
 * Yape/Mercado Pago is intentionally not decorated inside its payment option. */
.woocommerce-checkout .ronix-transfer-payment-saving{
  margin:8px 0 0 27px!important;
  padding:8px 10px!important;
  border-radius:8px!important;
  background:#f8fbff!important;
  border:1px solid #dbeafe!important;
  color:#2563eb!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.3!important;
  box-sizing:border-box!important;
}
.woocommerce-checkout .ronix-transfer-payment-saving::before{
  content:'✓';
  display:inline-block;
  margin-right:6px;
  font-weight:800;
}
@media(max-width:767px){
  .woocommerce-checkout .ronix-transfer-payment-saving{
    margin-left:0!important;
    margin-top:6px!important;
    padding:6px 8px!important;
    font-size:11px!important;
  }
}


/* V5.25 — checkout payment-option marketing alerts.
 * Only the exact “Paga con Yape QR” and “Transferencia Bancaria/Directa”
 * options receive these alerts. Generic “Yape” (Mercado Pago) is excluded. */
.woocommerce-checkout .ronix-checkout-payment-alert{
  display:block!important;
  width:calc(100% - 27px)!important;
  margin:8px 0 0 27px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  border:1px solid #dbeafe!important;
  border-radius:7px!important;
  background:#f5f9ff!important;
  color:#2563eb!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.25!important;
}
.woocommerce-checkout .ronix-checkout-payment-alert::before{
  content:'✓';
  margin-right:6px;
  font-weight:900!important;
}
.woocommerce-checkout .ronix-checkout-yape-alert{color:#2563eb!important;}
.woocommerce-checkout .ronix-checkout-transfer-alert{color:#2563eb!important;}
@media(max-width:767px){
  .woocommerce-checkout .ronix-checkout-payment-alert{
    width:100%!important;
    margin:6px 0 0 0!important;
    padding:6px 8px!important;
    font-size:10px!important;
  }
}

/* V5.26 — single checkout marketing banner */
.woocommerce-checkout-review-order-table .ronix-checkout-savings-banner-row td{
  padding:8px 0!important;
  border-top:0!important;
  border-bottom:0!important;
  background:transparent!important;
}
.woocommerce-checkout .ronix-checkout-savings-banner{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:9px 11px!important;
  border:1px solid #dbeafe!important;
  border-radius:8px!important;
  background:#f5f9ff!important;
  color:#1d4ed8!important;
}
.woocommerce-checkout .ronix-checkout-savings-banner-icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 22px!important;
  width:22px!important;
  height:22px!important;
  border-radius:50%!important;
  background:#2563eb!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
}
.woocommerce-checkout .ronix-checkout-savings-banner-copy{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
  min-width:0!important;
}
.woocommerce-checkout .ronix-checkout-savings-banner-copy strong{
  color:#1d4ed8!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:800!important;
}
.woocommerce-checkout .ronix-checkout-savings-banner-copy span{
  color:#64748b!important;
  font-size:10px!important;
  line-height:1.25!important;
  font-weight:500!important;
}
@media(max-width:767px){
  .woocommerce-checkout-review-order-table .ronix-checkout-savings-banner-row td{
    padding:6px 0!important;
  }
  .woocommerce-checkout .ronix-checkout-savings-banner{
    gap:7px!important;
    padding:7px 8px!important;
  }
  .woocommerce-checkout .ronix-checkout-savings-banner-icon{
    flex-basis:20px!important;
    width:20px!important;
    height:20px!important;
    font-size:11px!important;
  }
  .woocommerce-checkout .ronix-checkout-savings-banner-copy strong{
    font-size:11px!important;
  }
  .woocommerce-checkout .ronix-checkout-savings-banner-copy span{
    font-size:9px!important;
  }
}

/* V5.28 — unified checkout savings panel: only the checkout promotional block */
.woocommerce-checkout-review-order-table .ronix-checkout-savings-panel-row td{
  padding:6px 0!important;
  border:0!important;
  background:transparent!important;
}
.woocommerce-checkout .ronix-checkout-savings-panel{
  width:100%!important;
  box-sizing:border-box!important;
  border:1px solid #dbeafe!important;
  border-radius:8px!important;
  background:#f8fbff!important;
  overflow:hidden!important;
}
.woocommerce-checkout .ronix-checkout-savings-panel .ronix-checkout-savings-banner{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:7px 9px!important;
  border:0!important;
  border-bottom:1px solid #e5eefc!important;
  border-radius:0!important;
  background:#f1f7ff!important;
}
.woocommerce-checkout .ronix-checkout-savings-panel .ronix-checkout-savings-banner-icon{
  flex:0 0 20px!important;
  width:20px!important;
  height:20px!important;
  font-size:11px!important;
}
.woocommerce-checkout .ronix-checkout-savings-panel .ronix-checkout-savings-banner-copy strong{
  font-size:11px!important;
  line-height:1.2!important;
}
.woocommerce-checkout .ronix-checkout-savings-panel .ronix-checkout-savings-banner-copy span{
  font-size:9px!important;
  line-height:1.2!important;
}
.woocommerce-checkout .ronix-checkout-payment-option{
  padding:7px 9px!important;
  border-bottom:1px solid #e5eefc!important;
}
.woocommerce-checkout .ronix-checkout-payment-option:last-child{
  border-bottom:0!important;
}
.woocommerce-checkout .ronix-checkout-payment-option-main{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-width:0!important;
}
.woocommerce-checkout .ronix-checkout-payment-option-title{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
}
.woocommerce-checkout .ronix-checkout-payment-option-label{
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:700!important;
  color:#111827!important;
}
.woocommerce-checkout .ronix-checkout-payment-option-value{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
}
.woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-price{
  color:#2563eb!important;
  font-size:18px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-logo{
  width:22px!important;
  height:22px!important;
  object-fit:contain!important;
  flex:0 0 22px!important;
}
.woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-method{
  font-size:9px!important;
  font-weight:700!important;
  color:#6b21a8!important;
  white-space:nowrap!important;
}
.woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-saving{
  display:inline-flex!important;
  align-items:center!important;
  padding:3px 6px!important;
  border:1px solid #e9d5ff!important;
  border-radius:5px!important;
  background:#faf5ff!important;
  color:#6b21a8!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.woocommerce-checkout .ronix-checkout-payment-option-callout{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  margin-top:3px!important;
  color:#64748b!important;
  font-size:9px!important;
  line-height:1.2!important;
}
.woocommerce-checkout .ronix-checkout-payment-option-callout span{
  color:#2563eb!important;
  font-weight:800!important;
}
.woocommerce-checkout .ronix-checkout-payment-option.is-applied{
  background:#f7fbff!important;
}
@media(max-width:767px){
  .woocommerce-checkout-review-order-table .ronix-checkout-savings-panel-row td{padding:5px 0!important;}
  .woocommerce-checkout .ronix-checkout-savings-panel .ronix-checkout-savings-banner{padding:6px 8px!important;}
  .woocommerce-checkout .ronix-checkout-payment-option{padding:6px 8px!important;}
  .woocommerce-checkout .ronix-checkout-payment-option-main{align-items:flex-start!important;}
  .woocommerce-checkout .ronix-checkout-payment-option-label{font-size:10px!important;}
  .woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-price{font-size:17px!important;}
  .woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-logo{width:20px!important;height:20px!important;flex-basis:20px!important;}
}

/* V5.29 — Ronix 2026 checkout savings panel refinement. */
.woocommerce-checkout-review-order-table .ronix-checkout-savings-panel-row td{padding:7px 0!important;}
.woocommerce-checkout .ronix-checkout-savings-panel{
  border:1px solid #d9e5f8!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(15,23,42,.04)!important;
}
.woocommerce-checkout .ronix-checkout-savings-panel .ronix-checkout-savings-banner{
  min-height:38px!important;
  padding:7px 10px!important;
  background:#f5f9ff!important;
  border-bottom:1px solid #e6edf8!important;
}
.woocommerce-checkout .ronix-checkout-savings-panel .ronix-checkout-savings-banner-icon{
  width:20px!important;height:20px!important;flex-basis:20px!important;
  background:#2563eb!important;color:#fff!important;border-radius:50%!important;
}
.woocommerce-checkout .ronix-checkout-savings-panel .ronix-checkout-savings-banner-copy strong{
  display:block!important;font-size:11px!important;line-height:1.2!important;color:#123b8f!important;font-weight:800!important;
}
.woocommerce-checkout .ronix-checkout-savings-panel .ronix-checkout-savings-banner-copy span{
  display:block!important;margin-top:2px!important;font-size:9px!important;line-height:1.25!important;color:#64748b!important;
}
.woocommerce-checkout .ronix-checkout-payment-option{
  padding:8px 10px!important;background:#fff!important;
}
.woocommerce-checkout .ronix-checkout-payment-option-main{gap:10px!important;}
.woocommerce-checkout .ronix-checkout-payment-option-title{gap:5px!important;}
.woocommerce-checkout .ronix-checkout-payment-option-label{font-size:11px!important;font-weight:800!important;color:#172033!important;}
.woocommerce-checkout .ronix-checkout-yape-optional{
  font-size:8px!important;padding:2px 6px!important;border-radius:999px!important;
}
.woocommerce-checkout .ronix-checkout-payment-option-value{gap:5px!important;}
.woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-price,
.woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-price .woocommerce-Price-amount,
.woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-price bdi{
  color:#2563eb!important;font-size:17px!important;font-weight:800!important;
}
.woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-logo{width:20px!important;height:20px!important;}
.woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-method{font-size:8px!important;}
.woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-saving{font-size:8px!important;padding:3px 6px!important;border-radius:5px!important;}
.woocommerce-checkout .ronix-checkout-payment-option-callout{
  margin-top:2px!important;font-size:8px!important;color:#64748b!important;
}
.woocommerce-checkout .ronix-checkout-payment-option-callout span{color:#2563eb!important;}
.woocommerce-checkout .ronix-checkout-payment-option.is-applied{background:#f8fbff!important;}
.woocommerce-checkout .ronix-checkout-payment-alert{
  margin:6px 0 0 20px!important;padding:6px 9px!important;border:1px solid #dbeafe!important;
  border-radius:7px!important;background:#f6faff!important;font-size:9px!important;line-height:1.2!important;
  color:#1d4ed8!important;font-weight:700!important;
}
@media(max-width:767px){
  .woocommerce-checkout-review-order-table .ronix-checkout-savings-panel-row td{padding:5px 0!important;}
  .woocommerce-checkout .ronix-checkout-savings-panel .ronix-checkout-savings-banner{padding:6px 8px!important;}
  .woocommerce-checkout .ronix-checkout-payment-option{padding:7px 8px!important;}
  .woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-price,
  .woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-price .woocommerce-Price-amount,
  .woocommerce-checkout .ronix-checkout-payment-option .ronix-checkout-yape-price bdi{font-size:16px!important;}
  .woocommerce-checkout .ronix-checkout-payment-alert{margin-left:18px!important;font-size:8px!important;padding:5px 8px!important;}
}

/* =========================
   STORE / CATEGORY SHORTCODE (V5.30)
   The shop card is now shortcode-controlled; no automatic loop output.
   ========================= */
.ronix-pp-shop-shortcode{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  clear:both!important;
}
.ronix-pp-shop-shortcode-row{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:var(--ronix-shop-gap,3px)!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  line-height:1!important;
  overflow:hidden!important;
}
.ronix-pp-shop-shortcode-price,
.ronix-pp-shop-shortcode-price .woocommerce-Price-amount,
.ronix-pp-shop-shortcode-price bdi{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  color:var(--ronix-special-color,#2563eb)!important;
  font-size:var(--ronix-shop-price-size,20px)!important;
  font-weight:700!important;
  line-height:1.05!important;
  white-space:nowrap!important;
}
.ronix-pp-shop-shortcode-logo{
  display:block!important;
  flex:0 0 auto!important;
  width:18px!important;
  height:18px!important;
  max-width:18px!important;
  max-height:18px!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  border:0!important;
  border-radius:4px!important;
}
.ronix-pp-shop-shortcode-method-label{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:90px!important;
  color:var(--ronix-yape,#6b21a8)!important;
  font-size:var(--ronix-shop-label-size,11px)!important;
  font-weight:700!important;
  line-height:1.1!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
.ronix-pp-shop-shortcode-savings{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:2px 6px!important;
  border:1px solid var(--ronix-yape-border,#eadcff)!important;
  border-radius:5px!important;
  background:var(--ronix-yape-bg,#faf5ff)!important;
  color:var(--ronix-yape,#6b21a8)!important;
  font-size:var(--ronix-shop-savings-size,10px)!important;
  font-weight:700!important;
  line-height:1.1!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
@media(max-width:767px){
  .ronix-pp-shop-shortcode-row{gap:var(--ronix-shop-gap,3px)!important;}
  .ronix-pp-shop-shortcode-price,
  .ronix-pp-shop-shortcode-price .woocommerce-Price-amount,
  .ronix-pp-shop-shortcode-price bdi{font-size:var(--ronix-shop-price-size,18px)!important;}
  .ronix-pp-shop-shortcode-logo{width:17px!important;height:17px!important;max-width:17px!important;max-height:17px!important;}
  .ronix-pp-shop-shortcode-method-label{font-size:var(--ronix-shop-label-size,10px)!important;max-width:80px!important;}
  .ronix-pp-shop-shortcode-savings{font-size:var(--ronix-shop-savings-size,9px)!important;padding:2px 5px!important;white-space:normal!important;}
}
