
    /* Estilos del Modal Flotante */
    .modal-curso {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.95);
      z-index: 2000;
      justify-content: center;
      align-items: center;
      overflow-y: auto;
    }

    .modal-curso-content {
      background: #1c1814;
      max-width: 800px;
      width: 90%;
      margin: 40px auto;
      border-radius: 20px;
      position: relative;
      border: 1px solid rgba(184, 115, 51, 0.3);
      max-height: 85vh;
      overflow-y: auto;
      animation: modalFadeIn 0.3s ease;
    }

    @keyframes modalFadeIn {
      from {
        opacity: 0;
        transform: scale(0.95);
      }

      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .modal-close {
      position: sticky;
      top: 10px;
      right: 10px;
      float: right;
      background: #dc3545;
      border: none;
      color: white;
      font-size: 1.2rem;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      cursor: pointer;
      margin: 10px;
      z-index: 10;
      transition: all 0.3s;
    }

    .modal-close:hover {
      background: #c82333;
      transform: scale(1.05);
    }

    .modal-header {
      background: linear-gradient(135deg, #b87333, #7a4d2a);
      padding: 30px;
      border-radius: 20px 20px 0 0;
      text-align: center;
    }

    .modal-header h2 {
      margin: 15px 0 10px 0;
      font-size: 1.8rem;
    }

    .modal-body {
      padding: 30px;
    }

    .modal-category {
      display: inline-block;
      background: rgba(255, 255, 255, 0.2);
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 0.8rem;
    }

    .modal-price {
      font-size: 1.8rem;
      font-weight: 700;
      color: #b87333;
      margin: 20px 0;
      text-align: center;
    }

    .modal-leccion {
      padding: 12px 0;
      border-bottom: 1px solid rgba(184, 115, 51, 0.1);
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .modal-leccion-icon {
      width: 40px;
      height: 40px;
      background: rgba(184, 115, 51, 0.1);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
    }

    .loader {
      text-align: center;
      padding: 60px;
    }

    .loader i {
      font-size: 2.5rem;
      color: #b87333;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }
