/* Cursax · carrito, checkout y confirmación con Stripe */
.cx-pay-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin-top:18px;padding:0 18px;border:0;border-radius:7px;background:var(--orange);color:#fff!important;font:inherit;font-size:15px;font-weight:800;cursor:pointer;text-decoration:none}
.cx-pay-btn:hover{filter:brightness(.95)}
.cx-pay-btn:disabled{background:#c8c5cf;cursor:not-allowed}
.cx-secure-badge,.cx-mode-badge{display:inline-block;font-size:12px;font-weight:700;padding:9px 12px;border-radius:99px;color:#1f7a4d;background:#e7f6ee}
.cx-mode-badge{color:#8a5a00;background:#fff4d6;margin-left:8px}
.cx-cart-list{display:grid;gap:14px;align-content:start}
.cx-cart-item img{width:112px;aspect-ratio:16/10;object-fit:cover;border-radius:6px;display:block}
.cx-cart-item h3{margin:4px 0 6px;font-size:16px;line-height:1.3}
.cx-cart-item h3 a{color:inherit;text-decoration:none}
.cx-remove{font-size:13px;color:var(--muted);text-decoration:underline}
.cx-order-row.cx-total{border-bottom:0;font-size:18px}
.cx-order-row.cx-total b{font-size:22px}
.cx-order-line{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.cx-order-line span{color:var(--ink)}.cx-order-line b{white-space:nowrap}
.cx-keep{display:block;text-align:center;margin-top:14px;font-size:13px;color:var(--muted)}
.cx-checkout-form h2{font-size:22px;margin:0 0 18px}
.cx-checkout-form .cx-fields input[readonly]{background:var(--grey);color:var(--muted)}
.cx-help{font-size:13px;color:var(--muted);margin:14px 0 0}
.cx-help a{color:var(--purple,#7b3fa0);font-weight:700}
#cx-payment-element{min-height:220px}
.cx-pay-error{margin-top:16px;padding:12px 14px;border-radius:6px;background:#fdecea;color:#a1260f;font-size:14px;font-weight:600}
#cx-pay-form.is-busy .cx-checkout-form{opacity:.7;pointer-events:none}
.cx-add-cart{display:block;text-align:center;margin-top:10px;padding:11px;border:1px solid var(--line);border-radius:7px;font-size:13px;font-weight:700;color:var(--ink);text-decoration:none}
.cx-add-cart:hover{border-color:var(--orange);color:var(--orange)}
.course-buy .buy-now{margin-top:6px}
.cx-success-card .cx-course-list{list-style:none;padding:0;margin:22px 0;text-align:left;border-top:1px solid var(--line)}
.cx-success-card .cx-course-list li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.cx-success-card .cx-course-list a{font-weight:700;color:var(--orange);white-space:nowrap}
.cx-success-icon.is-wait{background:#fff4d6;color:#8a5a00}
.cx-success-icon.is-bad{background:#fdecea;color:#a1260f}
.cx-success-card .btn{width:auto;min-height:46px;padding:0 24px;font-size:14px}
@media (max-width:700px){.cx-cart-item{grid-template-columns:84px 1fr}.cx-cart-item img{width:84px}.cx-cart-item>strong{grid-column:2}}
.cx-pay-btn:hover,.cx-pay-btn:focus,.cx-pay-btn:active{background:var(--orange)!important;color:#fff!important}
.cx-pay-btn:disabled{background:#c8c5cf!important}
.cx-paid-banner{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 22px;padding:16px 20px;border-radius:8px;background:#e7f6ee;border:1px solid #bfe6cf;color:#155c38}
.cx-paid-banner b{font-size:16px}
.cx-paid-banner span{flex:1;min-width:220px;font-size:14px}
.cx-paid-banner a{font-weight:700;color:#155c38;white-space:nowrap}
.cx-signup-only[hidden]{display:none!important}
/* Carrito en el encabezado (esquina superior derecha) */
.cx-head .cx-cart-link{position:relative;order:9;margin-left:18px;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;color:var(--ink)!important;flex:0 0 auto}
.cx-head .cx-cart-link:hover{background:var(--grey);color:var(--purple)!important}
.cx-head .header-account{order:10}
.cx-head .mobile-menu-toggle{order:11}
.cx-cart-count{position:absolute;top:2px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--orange);color:#fff;font-size:11px;font-weight:800;line-height:18px;text-align:center}
@media (max-width:900px){.cx-head .cx-cart-link{margin-left:auto;margin-right:6px}}
@media (max-width:900px){.cx-head .cx-cart-link+.mobile-menu-toggle{margin-left:0!important}}
.cx-pack-label{display:inline-block;margin:0 0 8px;padding:6px 10px;border-radius:99px;background:#fff0ec;color:#c2361a;font-size:12px;font-weight:800}
.cx-order-line.cx-normal{border-bottom:0;color:var(--muted)}
