/* Scoped presentation; existing course card metrics remain in their own sheets. */
.commercial-actions { display: flex; flex-wrap: wrap; gap: var(--espacio-3); margin-top: var(--espacio-5); }
.commercial-button, .catalog-controls button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; max-width: 100%; padding: var(--espacio-3) min(var(--espacio-5), 4vw); min-width: 0; box-sizing: border-box; border: 1px solid var(--primary-light); border-radius: var(--radius-md); background: var(--dark-surface); color: var(--text-primary); font: 600 1rem/1.5 var(--font-body); text-align: center; text-decoration: none; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.commercial-button-primary { background: var(--primary-light); color: var(--dark-bg); }
.commercial-button:hover, .catalog-controls button:hover { background: var(--dark-card-hover); color: var(--text-primary); }
.commercial-button:focus-visible, .commercial-faq summary:focus-visible, .catalog-controls :is(input, select, button):focus-visible { outline: 3px solid var(--primary-light); outline-offset: 4px; }
.commercial-discovery { margin-block: var(--espacio-6) var(--espacio-4); }
.commercial-discovery p, .commercial-section p { color: var(--text-secondary); max-width: 72ch; line-height: 1.65; }
.commercial-section { display: grid; gap: var(--espacio-4); margin-top: var(--espacio-8); padding: var(--espacio-5); background: var(--dark-surface); border: 1px solid var(--dark-border-solid); border-radius: var(--radius-lg); overflow-wrap: anywhere; }
.commercial-discovery, .commercial-final { text-align: center; padding: var(--espacio-6) var(--espacio-5); border-radius: var(--radius-lg); }
/* Azules del CTA aprobados el 23-10: marino y luces cobalto, sin cian. */
.home-container {
  --discovery-blue-deep: #091b50;
  --discovery-blue: #0b215d;
  --discovery-blue-light: #174bca;
  --discovery-blue-glow: #2462e6;
}
.commercial-discovery {
  display: grid;
  justify-items: center;
  gap: var(--espacio-5);
  border: 1px solid color-mix(in srgb, var(--discovery-blue-glow) 45%, var(--dark-border-solid));
  background: linear-gradient(125deg, var(--discovery-blue-deep), var(--discovery-blue));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--discovery-blue-glow) 35%, transparent), var(--shadow-sm);
}
.commercial-discovery > * { margin: 0; }
.commercial-discovery > p:first-of-type { display: flex; justify-content: center; }
.commercial-final {
  border-color: color-mix(in srgb, var(--primary-light) 45%, var(--dark-border-solid));
  background:
    radial-gradient(ellipse at 50% 110%, color-mix(in srgb, var(--primary-light) 14%, transparent), transparent 65%),
    linear-gradient(90deg, color-mix(in srgb, var(--primary-dark) 14%, var(--dark-bg)), color-mix(in srgb, var(--primary-dark) 32%, var(--dark-bg)) 50%, color-mix(in srgb, var(--primary-dark) 14%, var(--dark-bg)));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--primary-light) 20%, transparent), 0 0 24px color-mix(in srgb, var(--primary) 8%, transparent);
}
.commercial-discovery p, .commercial-final p { margin-inline: auto; }
.commercial-discovery > p:last-child, .commercial-final > p { color: var(--text-primary); }
.commercial-final .commercial-actions { justify-content: center; }
.commercial-section h2, .commercial-discovery h2 { color: var(--text-primary); font-family: var(--font-heading); font-size: var(--fs-h2); line-height: 1.3; }
/* Twinforce reference: panel-neon/surfaceNebula and surfaceHalo in global.css.
   Each home block has its own light treatment; no repeating texture. */
.home-container :is(.commercial-discovery, .commercial-journey) { position: relative; isolation: isolate; overflow: hidden; }
.home-container :is(.commercial-discovery, .commercial-journey) > * { position: relative; z-index: 1; }
.commercial-discovery::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 20%, color-mix(in srgb, var(--discovery-blue-glow) 45%, transparent), transparent 60%),
    radial-gradient(ellipse at 85% 80%, color-mix(in srgb, var(--discovery-blue-light) 35%, transparent), transparent 55%);
  animation: taku-home-nebula 18s ease-in-out infinite alternate;
}
.home-container .commercial-journey {
  border-color: color-mix(in srgb, var(--primary-light) 35%, var(--dark-border-solid));
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary-dark) 20%, var(--dark-bg)), var(--dark-bg));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--primary-light) 15%, transparent), var(--shadow-sm);
}
.commercial-journey::before {
  content: ""; position: absolute; right: -12%; bottom: -30%; width: 28rem; height: 28rem; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary-light) 18%, transparent), transparent 68%);
  animation: taku-home-halo 14s ease-in-out infinite alternate;
}
.home-container .commercial-faq {
  background: var(--dark-surface);
  border-left: 3px solid color-mix(in srgb, var(--primary-light) 65%, var(--dark-border-solid));
}
.home-container .commercial-section:not(.commercial-final) > h2 { color: var(--primary-light); font-weight: 700; }
@keyframes taku-home-nebula { from { transform: translate3d(0, 0, 0) scale(1); opacity: .8; } to { transform: translate3d(3%, -3%, 0) scale(1.05); opacity: 1; } }
@keyframes taku-home-halo { from { transform: translate3d(0, 0, 0) scale(.95); opacity: .65; } to { transform: translate3d(-8%, -6%, 0) scale(1.08); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .home-container :is(.commercial-discovery, .commercial-journey)::before { animation: none; } }
.commercial-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--espacio-4); margin: 0; padding: 0; list-style: none; }
.commercial-steps li { min-width: 0; padding: var(--espacio-5); border: 1px solid color-mix(in srgb, var(--primary-light) 30%, var(--dark-border-solid)); border-radius: var(--radius-md); background: color-mix(in srgb, var(--dark-bg) 85%, transparent); box-shadow: var(--shadow-sm); }
.commercial-step-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-bottom: var(--espacio-4); border: 1px solid color-mix(in srgb, var(--primary-light) 35%, transparent); border-radius: var(--radius-md); background: color-mix(in srgb, var(--primary) 15%, var(--dark-bg)); color: var(--primary-light); font-size: var(--fs-h2); }
.commercial-steps h3 { margin-bottom: var(--espacio-3); font-family: var(--font-heading); font-size: var(--fs-h3); }
.commercial-steps p { color: var(--text-primary); margin: 0; }
@media (max-width: 768px) { .commercial-steps { grid-template-columns: minmax(0, 1fr); } }
.commercial-faq details { border-top: 1px solid var(--dark-border-solid); padding-block: var(--espacio-4); }
.commercial-faq summary { color: var(--text-primary); cursor: pointer; font-weight: 600; }
.commercial-faq details p { margin-top: var(--espacio-3); }
[data-commercial-access] { display: grid; gap: var(--espacio-3); justify-items: start; }
.catalog-controls:not([hidden]) { display: flex; flex-wrap: wrap; align-items: end; gap: var(--espacio-4); margin-bottom: var(--espacio-5); }
.catalog-controls label { display: grid; flex: 1 1 12rem; gap: var(--espacio-2); min-width: 0; color: var(--text-primary); }
.catalog-controls input, .catalog-controls select { width: 100%; min-width: 0; min-height: 2.75rem; padding: var(--espacio-3); border: 1px solid var(--text-secondary); border-radius: var(--radius-sm); background: var(--dark-surface); color: var(--text-primary); font: inherit; }
.catalog-controls #catalog-results { flex-basis: 100%; }
.catalog-content > .course-series { margin-top: var(--espacio-8); }
.catalog-content [data-commercial-policy]:empty { display: none; }
#catalog-empty:not([hidden]) { padding-block: var(--espacio-5); }

/* The hero's text and actions stay in normal flow and can grow with text zoom. */
.home-container .hero-header-content { min-width: 0; width: 100%; max-width: 50rem; box-sizing: border-box; padding: var(--espacio-6) min(var(--espacio-6), 5vw); overflow-wrap: anywhere; }
.home-container .hero-header-content .commercial-actions { justify-content: center; min-width: 0; }
.home-container .hero-header { height: auto; }

/* One checkout presentation for ordinary purchases, plans and explicit free offers. */
.checkout-consent {
  box-sizing: border-box; width: min(42rem, calc(100% - 1rem)); max-width: none;
  max-height: calc(100dvh - 1rem); margin: auto; overflow: auto;
  padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--primary-light);
  border-radius: var(--radius-lg); background: var(--dark-surface); color: var(--text-primary);
  box-shadow: 0 1.5rem 5rem #0009, inset 0 3px var(--primary);
  font: 1rem/1.6 var(--font-body); overflow-wrap: anywhere; scrollbar-gutter: stable;
}
.checkout-consent *, .checkout-consent *::before, .checkout-consent *::after { box-sizing: border-box; min-width: 0; }
.checkout-consent [hidden] { display: none !important; }
.checkout-consent::backdrop { background: #080c16dd; }
.checkout-consent h2 { margin: 0 0 .5rem; font: 700 clamp(1.4rem, 4vw, 1.8rem)/1.3 var(--font-heading); }
.checkout-consent p { margin: .75rem 0; color: var(--text-secondary); }
.checkout-consent .checkout-product { margin: 0 0 1.25rem; color: var(--text-primary); font-weight: 600; }
.checkout-consent .checkout-normal-price { margin: 0; padding: 1rem 1rem 0; background: var(--dark-card); color: var(--text-secondary); }
.checkout-consent .checkout-total { margin: 0 0 1rem; padding: 1rem; border-left: 3px solid var(--primary-light); border-radius: var(--radius-sm); background: var(--dark-card); color: var(--text-primary); font-size: 1.35rem; font-weight: 700; line-height: 1.5; }
.checkout-consent .checkout-normal-price:not([hidden]) + .checkout-total { border-left: 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding-top: .35rem; }
.checkout-consent a { color: var(--primary-light); text-decoration: underline; text-underline-offset: .2em; }
.checkout-offers { margin: 1.5rem 0; padding-block: 1.25rem; border-block: 1px solid var(--dark-border-solid); }
.checkout-consent .checkout-offer-summary { font-size: .95rem; line-height: 1.65; }
.checkout-consent [role="status"]:empty { display: none; }
.checkout-consent [role="status"]:not(:empty) { padding: .75rem; border-left: 3px solid var(--primary-light); background: var(--dark-card); color: var(--text-primary); }
.checkout-consent .checkout-offer-options { display: grid; gap: .75rem; margin: 1rem 0 0; padding: 0; border: 0; }
.checkout-offer-options legend { padding: 0 0 .75rem; color: var(--text-primary); font-weight: 600; }
.checkout-consent label { display: flex; align-items: start; gap: .75rem; margin-block: 1rem; cursor: pointer; }
.checkout-consent .checkout-offer-option { margin: 0; padding: 1rem; border: 1px solid var(--text-secondary); border-radius: var(--radius-md); background: var(--dark-bg); }
.checkout-offer-option:has(input:checked) { border-color: var(--primary-light); background: color-mix(in srgb, var(--primary) 16%, var(--dark-bg)); box-shadow: inset 3px 0 var(--primary-light); }
.checkout-offer-option:has(input:focus-visible) { outline: 3px solid var(--primary-light); outline-offset: 3px; }
.checkout-option-copy { display: grid; gap: .15rem; flex: 1; }
.checkout-option-copy > span { color: var(--text-primary); font-weight: 600; }
.checkout-option-copy strong { color: var(--text-primary); font-size: 1.5rem; line-height: 1.4; }
.checkout-option-copy small { color: var(--text-secondary); font-size: .9rem; }
.checkout-consent input:is([type="checkbox"], [type="radio"]) { flex: 0 0 auto; width: 1.35rem; height: 1.35rem; margin: .25rem 0 0; accent-color: var(--primary-light); }
.checkout-consent .checkout-billing { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .75rem 1rem; padding-block: 1rem; border-block: 1px solid var(--dark-border-solid); }
.checkout-billing > :is(h3, p, a, .checkout-adult-eligibility, .checkout-electronic-invoice) { grid-column: 1 / -1; }
.checkout-consent .checkout-billing h3 { margin: 0; font-size: 1.15rem; }
.checkout-consent .checkout-billing-field { display: grid; align-content: start; gap: .4rem; margin: 0; cursor: default; }
.checkout-billing-field :is(input, select) { width: 100%; min-height: 2.75rem; padding: .75rem; border: 1px solid var(--text-secondary); border-radius: var(--radius-sm); background: var(--dark-bg); color: var(--text-primary); font: inherit; }
.checkout-billing-field :is(input, select):user-invalid { border-color: var(--danger); }
.checkout-consent .checkout-acceptance { padding: 1rem; border: 1px solid var(--dark-border-solid); border-radius: var(--radius-md); background: var(--dark-bg); color: var(--text-primary); }
.checkout-consent .commercial-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .75rem; margin-top: 1rem; }
.checkout-consent :focus-visible { outline: 3px solid var(--primary-light); outline-offset: 3px; }
.checkout-consent :disabled { opacity: .6; cursor: not-allowed; }
.checkout-consent .commercial-button-primary:not(:disabled):hover { background: var(--primary-light); color: var(--dark-bg); box-shadow: 0 0 0 2px var(--primary); }
.paid-course-banner { padding: clamp(1rem, 3vw, 1.5rem); background: linear-gradient(115deg, color-mix(in srgb, var(--primary) 12%, var(--dark-card)), var(--dark-surface)); }
.paid-course-banner-text { min-width: 0; }
.paid-course-banner-title { line-height: 1.5; }
.paid-course-banner-body { max-width: 65ch; font-size: 1rem; line-height: 1.65; }
.paid-course-banner-actions { flex: 1 1 100%; gap: .75rem; }
.paid-course-banner-actions .btn { min-height: 2.75rem; max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center; }
.paid-course-banner-actions :focus-visible { outline: 3px solid var(--primary-light); outline-offset: 3px; }
@media (max-width: 30rem) {
  .checkout-consent { padding: min(1rem, 4vw); }
  .checkout-consent h2 { font-size: 1.1rem; }
  .checkout-consent .checkout-total { padding-inline: min(1rem, 3vw); font-size: 1.15rem; }
  .checkout-consent .checkout-acceptance, .checkout-consent .checkout-offer-option { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: min(.75rem, 3vw); }
  .checkout-consent .commercial-actions { grid-template-columns: minmax(0, 1fr); }
  .checkout-consent .commercial-button-primary { grid-row: 1; }
  .paid-course-banner-actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { .checkout-consent *, .paid-course-banner * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

#account-library-own .account-library-list { list-style: none; margin: var(--espacio-3) 0; padding: 0; display: grid; gap: var(--espacio-3); }
#account-library-own .account-library-item { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espacio-3); min-width: 0; overflow-wrap: anywhere; }
#account-library-own .account-library-meta { color: var(--text-secondary); }
#account-library-own .account-library-open { color: var(--primary-light); text-decoration: underline; }
#account-library-own .account-library-status:empty { display: none; }
#account-library-own :focus-visible { outline: 3px solid var(--primary-light); outline-offset: 3px; }
#account-library-own button:disabled { opacity: .55; cursor: not-allowed; }

/* Quiet site network: fixed behind the content, never an interaction layer. */
body { isolation: isolate; }
body:has(#app)::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse at 8% 8%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 55%),
    radial-gradient(ellipse at 94% 82%, color-mix(in srgb, var(--cian) 5%, transparent), transparent 60%),
    linear-gradient(155deg, var(--dark-bg), color-mix(in srgb, var(--primary-dark) 6%, var(--dark-bg)) 55%, var(--dark-bg));
}
.site-neural-background { position: fixed; inset: 0; width: 100%; height: 100dvh; z-index: -1; pointer-events: none; opacity: .075; transform: scale(1.06); }
.site-neural-background[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .site-neural-background { display: none; } }

/* Precios y comparativa de suscripción en la ficha del curso. */
.course-detail-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .45rem; margin: .3rem 0; padding: .45rem .8rem; border-radius: var(--radius-sm); background: var(--badge-paid-bg); color: var(--badge-text); line-height: 1.2; vertical-align: middle; }
.course-detail-price strong { font-family: 'Inter Offer', Inter, sans-serif; font-size: 1.6rem; font-weight: 900; }
.course-detail-price .price-was { font-size: .9rem; font-weight: 500; }
.course-detail-price .price-offer { font-size: .8rem; }
.course-detail-price.is-offer { background: #ffb454; color: #35200a; }
.subscription-benefits { flex: 1 1 100%; padding: 1rem 1.15rem; border: 1px solid color-mix(in srgb, var(--primary-light) 45%, transparent); border-radius: var(--radius-md); background: var(--dark-card); }
.subscription-benefits-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; color: var(--text-primary); }
.subscription-benefits-heading > strong { font-size: 1.1rem; }
.subscription-saving { padding: .3rem .6rem; border-radius: 999px; background: #ffb454; color: #35200a; font-weight: 800; }
.subscription-benefits p { margin: .45rem 0 0; color: var(--text-secondary); line-height: 1.5; }
.subscription-benefits .subscription-plan-prices { color: var(--text-primary); font-weight: 700; }
.subscription-benefits .subscription-comparison { font-size: .8rem; }

/* Revisión de compra y ficha centradas. */
.checkout-consent { text-align: center; }
.checkout-consent .checkout-product { color: var(--text-primary); font-family: 'Inter Offer', Inter, sans-serif; font-size: clamp(1.25rem, 4vw, 1.65rem); font-weight: 900; line-height: 1.25; }
.checkout-consent .checkout-total { border-left: 0; border: 1px solid var(--primary-light); font-family: 'Inter Offer', Inter, sans-serif; font-size: clamp(1.3rem, 4vw, 1.7rem); font-weight: 900; }
.checkout-consent .checkout-conditions { display: grid; justify-items: center; gap: .45rem; margin: 1rem auto; padding: 0; list-style-position: inside; color: var(--text-secondary); }
.checkout-consent .checkout-conditions li { max-width: 35rem; }
.checkout-consent .checkout-withdrawal { margin: 1.25rem auto; padding: 1rem; border: 2px solid var(--primary-light); border-radius: var(--radius-md); background: color-mix(in srgb, var(--primary) 16%, var(--dark-card)); color: var(--text-primary); font-weight: 700; }
.checkout-consent label { justify-content: center; text-align: center; }
.checkout-consent .checkout-billing-field { justify-items: center; }
.checkout-consent input:not([type="checkbox"]):not([type="radio"]), .checkout-consent select, .checkout-consent textarea { text-align: center; text-align-last: center; }
.checkout-consent .checkout-offer-options legend { width: 100%; text-align: center; }
.checkout-consent [role="status"]:not(:empty) { border-left: 0; border: 1px solid var(--primary-light); }
.paid-course-banner { flex-direction: column; text-align: center; }
.paid-course-banner-text { flex: 0 1 auto; width: 100%; }
.paid-course-banner-body { margin-inline: auto; }
.paid-course-banner-actions { justify-content: center; }
.subscription-benefits { flex: 0 1 auto; width: 100%; }
.subscription-benefits-heading { justify-content: center; }

.tutorial-description p strong { color: #fff; font-family: 'Inter Offer', Inter, sans-serif; font-weight: 700; }

/* Alineación y jerarquía visual de la revisión. */
.paid-course-banner :is(p, .paid-course-banner-title, .paid-course-banner-body) { text-align: center; }
.paid-course-banner-actions { width: 100%; flex: 0 1 auto; align-items: center; }
.checkout-consent :is(p, h2, h3, li, label, button, legend, .checkout-option-copy) { text-align: center; }
.checkout-consent h2 { margin-bottom: 1rem; }
.checkout-consent .checkout-product { font-size: clamp(1.5rem, 5vw, 2rem); padding-bottom: 1.15rem; border-bottom: 1px solid var(--dark-border-solid); }
.checkout-consent .checkout-total, .checkout-consent .checkout-normal-price:not([hidden]) + .checkout-total {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  width: fit-content; max-width: 100%; margin: 1rem auto; padding: .9rem 1.5rem;
  border: 0; border-radius: .9rem; background: var(--badge-paid-bg); color: var(--badge-text);
}
.checkout-consent .checkout-total.is-offer { background: #ffb454; color: #35200a; }
.checkout-consent .checkout-total.is-free { background: #b9ebc3; color: #10371a; }
.checkout-consent .checkout-total-label { font: 600 .8rem/1.2 var(--font-body); }
.checkout-consent .checkout-total-amount { font: 900 clamp(1.8rem, 6vw, 2.35rem)/1.1 'Inter Offer', Inter, sans-serif; }
.checkout-consent .checkout-total-tax { font: 500 .75rem/1.3 var(--font-body); }
.checkout-consent .commercial-actions { display: flex; flex-wrap: wrap; justify-content: center; }
.checkout-consent .commercial-actions .commercial-button { flex: 0 1 auto; text-align: center; }
.checkout-consent .checkout-offer-options legend { text-align: center; }

.paid-course-banner-title .course-detail-price { margin-top: .6rem; padding: .65rem 1.1rem; }
.course-detail-price strong { font-size: 2rem; }
.subscription-plans { display: grid; gap: .6rem; margin: 1rem auto; max-width: 28rem; }
.subscription-benefits .subscription-plan { display: flex; flex-direction: column; align-items: center; gap: .2rem; margin: 0; padding: .8rem; border: 1px solid var(--dark-border-solid); border-radius: var(--radius-sm); }
.subscription-plan > strong { color: var(--text-primary); font-family: 'Inter Offer', Inter, sans-serif; font-weight: 900; font-size: 1.25rem; }
.subscription-plan-annual > strong { font-size: 1.7rem; color: #fff; }
.subscription-reference { font-size: .85rem; }
.subscription-reference s { font-weight: 700; }
.checkout-consent .checkout-product { color: #6fe5f2; }
.checkout-consent .checkout-normal-price { margin: .5rem 0 0; padding: 0; background: none; color: var(--text-secondary); text-align: center; text-decoration: line-through; }

.subscription-plans { gap: .85rem; max-width: 32rem; }
.subscription-benefits .subscription-plan {
  gap: .55rem;
  padding: 1.1rem 1rem;
  border-color: #776cda;
  background: color-mix(in srgb, #6253c9 20%, var(--dark-card));
}
.subscription-benefits .subscription-plan-annual {
  border: 2px solid #ffb454;
  background: color-mix(in srgb, #ffb454 14%, var(--dark-card));
}
.subscription-plan > span:first-child { color: var(--text-primary); font-weight: 700; font-size: 1.05rem; }
.subscription-benefits .subscription-plan > strong {
  display: block;
  margin-top: .15rem;
  color: #fff;
  font-family: 'Inter Offer', Inter, sans-serif;
  font-size: 1.44rem;
  font-weight: 900;
  line-height: 1.2;
}
.subscription-benefits .subscription-plan-annual > strong { font-size: 1.96rem; }
.subscription-reference { color: var(--text-secondary); line-height: 1.4; }

/* Acciones comerciales más visibles y cómodas de pulsar. */
.paid-course-banner-actions .btn,
.checkout-consent .commercial-actions .commercial-button {
  min-height: 3.4rem;
  padding: .85rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Mantener los botones grandes dentro de la columna móvil. */
.tutorial-main:has(.paid-course-banner) { width: 100%; }
.paid-course-banner-actions, .paid-course-banner-actions .btn { min-width: 0; }
.checkout-consent .checkout-normal-price { font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.checkout-consent .checkout-normal-price:not([hidden]) + .checkout-total.is-offer { background: #ffb454; color: #35200a; }
.checkout-consent .checkout-normal-price:not([hidden]) + .checkout-total.is-free { background: #b9ebc3; color: #10371a; }

.checkout-consent .checkout-normal-price:not([hidden]) { display: flex; flex-direction: column; align-items: center; gap: .15rem; text-decoration: none; }
.checkout-discount-percent { color: #ffb454; font-family: 'Inter Offer', Inter, sans-serif; font-size: 1.35rem; font-weight: 900; }
@media (prefers-reduced-motion: no-preference) {
  .paid-course-banner-actions .annual-subscribe-button { animation: annual-button-bloom 2.6s ease-in-out infinite; }
}
@keyframes annual-button-bloom {
  0%, 100% { box-shadow: 0 0 4px 1px rgb(255 150 35 / 35%), 0 0 10px 2px rgb(255 150 35 / 15%); }
  50% { box-shadow: 0 0 10px 3px rgb(255 174 57 / 85%), 0 0 24px 8px rgb(255 150 35 / 45%); }
}

.checkout-consent .checkout-subscription-tip { margin: 1.25rem auto; padding: 1rem; border: 1px solid #776cda; border-radius: var(--radius-md); background: color-mix(in srgb, #6253c9 18%, var(--dark-card)); text-align: center; }
.checkout-consent .checkout-subscription-tip strong { color: var(--text-primary); font-size: 1.1rem; }
.checkout-consent .checkout-subscription-tip p { margin: .4rem 0 0; text-align: center; }
.checkout-consent .checkout-subscription-tip p:last-child { color: var(--text-primary); font-weight: 700; }

.course-detail-price .price-before-offer { display: inline-flex; flex-direction: column; align-items: center; gap: .1rem; line-height: 1.15; }
.course-detail-price .price-before-offer .price-offer { font-weight: 900; }

.course-detail-price { align-items: center; justify-content: center; }
.course-detail-price .price-before-offer .price-offer { font-family: 'Inter Offer', Inter, sans-serif; font-weight: 900; }

.checkout-consent .checkout-subscription-tip { max-width: 30rem; }
.checkout-consent .checkout-subscription-tip .subscription-plans { gap: .55rem; margin: .8rem auto; }
.checkout-consent .checkout-subscription-tip .subscription-plan { margin: 0; padding: .65rem; gap: .3rem; }
.checkout-consent .checkout-subscription-tip .subscription-plan > strong { font-size: 1.15rem; }
.checkout-consent .checkout-subscription-tip .subscription-plan-annual > strong { font-size: 1.4rem; }
.checkout-consent .checkout-subscription-tip .subscription-saving { color: #35200a; font-size: .8rem; }
.checkout-consent .checkout-subscription-tip .subscription-comparison { color: var(--text-secondary); font-size: .75rem; font-weight: 400; }
