:root {
        --ms-accent: #7654d8;
        --ms-accent-dark: #5533b7;
        --ms-ink: #24212c;
        --ms-muted: #716b79;
        --ms-danger: #ba3348;
        --ms-success: #237a50;
      }
      body.ms-checkout-open { overflow: hidden; }
      .ms-checkout[hidden] { display: none !important; }
      .ms-checkout {
        position: fixed;
        inset: 0;
        z-index: 999999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 22px;
        font-family: inherit;
      }
      .ms-checkout__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(18, 13, 28, .72);
        -webkit-backdrop-filter: blur(9px);
        backdrop-filter: blur(9px);
        animation: ms-fade .22s ease-out both;
      }
      .ms-checkout__dialog {
        position: relative;
        z-index: 1;
        width: min(960px, 100%);
        max-height: calc(100vh - 44px);
        overflow: auto;
        border: 1px solid rgba(255,255,255,.3);
        border-radius: 28px;
        background: #fff;
        box-shadow: 0 30px 85px rgba(0,0,0,.34);
        animation: ms-rise .28s cubic-bezier(.2,.75,.25,1) both;
      }
      .ms-checkout__close {
        position: absolute;
        top: 14px;
        right: 14px;
        z-index: 5;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 50%;
        background: rgba(255,255,255,.92);
        color: #27222d;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        box-shadow: 0 8px 24px rgba(0,0,0,.14);
      }
      .ms-checkout__close-mobile { display: none; }
      .ms-checkout__grid { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 620px; }
      .ms-checkout__visual {
        position: relative;
        min-height: 100%;
        overflow: hidden;
        border-radius: 27px 0 0 27px;
        background: #2e204a;
      }
      .ms-checkout__visual::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(18,11,31,.07) 20%, rgba(24,13,42,.9) 100%);
      }
      .ms-checkout__image { width: 100%; height: 100%; min-height: 620px; object-fit: cover; display: block; }
      .ms-checkout__visual-copy { position: absolute; z-index: 2; left: 34px; right: 34px; bottom: 34px; color: #fff; }
      .ms-checkout__eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
      .ms-checkout__course { margin: 0; color: #fff; font-size: clamp(29px, 3vw, 43px); line-height: 1.08; font-weight: 800; }
      .ms-checkout__price { display: inline-flex; margin-top: 18px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(255,255,255,.14); font-weight: 800; }
      .ms-checkout__content { padding: 46px 48px 38px; }
      .ms-checkout__kicker { margin: 0 0 8px; color: var(--ms-accent); font-size: 14px; font-weight: 800; }
      .ms-checkout__title { margin: 0; color: var(--ms-ink); font-size: clamp(27px, 3vw, 39px); line-height: 1.13; font-weight: 800; }
      .ms-checkout__intro { margin: 14px 0 24px; color: var(--ms-muted); font-size: 15px; line-height: 1.65; }
      .ms-field { margin-bottom: 15px; }
      .ms-field label { display: block; margin-bottom: 7px; color: #38323f; font-size: 14px; font-weight: 750; }
      .ms-field input {
        width: 100%;
        height: 52px;
        box-sizing: border-box;
        padding: 0 15px;
        border: 1px solid #dcd8e2;
        border-radius: 14px;
        background: #fbfafe;
        color: #282330;
        font-size: 16px;
        outline: none;
        transition: .18s ease;
      }
      .ms-field input:focus { border-color: var(--ms-accent); background: #fff; box-shadow: 0 0 0 4px rgba(118,84,216,.11); }
      .ms-field input.ms-invalid { border-color: var(--ms-danger); box-shadow: 0 0 0 4px rgba(186,51,72,.08); }
      .ms-hint { display: block; margin-top: 5px; color: #89828f; font-size: 12px; }
      .ms-error { display: none; margin-top: 5px; color: var(--ms-danger); font-size: 12px; font-weight: 700; }
      .ms-error.is-visible { display: block; }
      .ms-drive-note { margin: 4px 0 18px; padding: 12px 14px; border-radius: 12px; background: #f5f1fb; color: #554a62; font-size: 13px; line-height: 1.5; }
      .ms-drive-note strong { color: #3d2f4d; }
      .ms-submit {
        width: 100%;
        min-height: 55px;
        border: 0;
        border-radius: 15px;
        background: linear-gradient(135deg, var(--ms-accent), var(--ms-accent-dark));
        color: #fff;
        font-size: 15px;
        font-weight: 850;
        letter-spacing: .02em;
        cursor: pointer;
        box-shadow: 0 15px 31px rgba(83,48,179,.28);
        transition: transform .18s ease, opacity .18s ease;
      }
      .ms-submit:hover { transform: translateY(-1px); }
      .ms-submit:disabled { cursor: wait; opacity: .72; transform: none; }
      .ms-status { min-height: 22px; margin: 12px 0 0; color: #625b68; text-align: center; font-size: 13px; font-weight: 700; }
      .ms-status.is-error { color: var(--ms-danger); }
      .ms-status.is-success { color: var(--ms-success); }
      .ms-security { margin: 14px 0 0; color: #8b8490; text-align: center; font-size: 11.5px; line-height: 1.5; }
      .ms-checkout button:focus-visible, .ms-checkout input:focus-visible { outline: 3px solid rgba(118,84,216,.27); outline-offset: 2px; }
      @keyframes ms-fade { from { opacity: 0; } to { opacity: 1; } }
      @keyframes ms-rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
      @media (max-width: 760px) {
        .ms-checkout { padding: 8px; align-items: flex-end; }
        .ms-checkout__close { display: none; }
        .ms-checkout__close-mobile {
          position: fixed;
          top: max(14px, env(safe-area-inset-top));
          right: 14px;
          z-index: 1000002;
          display: flex;
          align-items: center;
          justify-content: center;
          width: 46px;
          height: 46px;
          padding: 0;
          border: 2px solid rgba(255,255,255,.8);
          border-radius: 50%;
          background: rgba(25,19,34,.82);
          color: #fff;
          font-family: Arial, sans-serif;
          font-size: 30px;
          font-weight: 400;
          line-height: 1;
          cursor: pointer;
          box-shadow: 0 8px 26px rgba(0,0,0,.35);
          -webkit-tap-highlight-color: transparent;
        }
        .ms-checkout__dialog { max-height: calc(100dvh - 8px); border-radius: 25px 25px 0 0; }
        .ms-checkout__grid { display: block; min-height: 0; }
        .ms-checkout__visual { min-height: 190px; height: 190px; border-radius: 24px 24px 0 0; }
        .ms-checkout__image { min-height: 190px; height: 190px; }
        .ms-checkout__visual-copy { left: 23px; right: 65px; bottom: 20px; }
        .ms-checkout__course { font-size: 27px; }
        .ms-checkout__price { margin-top: 10px; padding: 6px 11px; font-size: 13px; }
        .ms-checkout__content { padding: 28px 22px 25px; }
        .ms-checkout__title { font-size: 28px; }
      }
      @media (prefers-reduced-motion: reduce) {
        .ms-checkout__backdrop, .ms-checkout__dialog { animation: none; }
      }

/* Navegación de testimonios cargados dinámicamente */
.tesimonial-1x .testimonial .slick-dots {
  position: static;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tesimonial-1x .testimonial .slick-dots li {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tesimonial-1x .testimonial .slick-dots li button {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  cursor: pointer;
  box-shadow: none;
}

.tesimonial-1x .testimonial .slick-dots li.slick-active button {
  background: #fff;
  transform: scale(1.15);
}

.tesimonial-1x .testimonial .slick-dots li button::before,
.tesimonial-1x .testimonial .slick-dots li button::after {
  display: none !important;
  content: none !important;
}
