/* =========================================================
   VS CUSTOM STYLES (MU)
   Índice:
   1) Header / Sticky / Menú
   2) Layout base (wrapper, container, headings)
   3) HERO "Lovable" + H2
   4) Secciones responsive (sobre-mi / genesis / contacto)
   5) MasterStudy: barra premium + cards + formularios + auth
   6) WooCommerce Blocks (Cart/Checkout)
   7) Cursos (hover style_1)
   8) Tipografías utilitarias (vs-*)
   9) WPForms (Form 54412)
   ========================================================= */


/* =========================================================
   1) Header / Sticky / Menú
   ========================================================= */

/* Sticky header → ajuste de logo (antes comentabas 20%, aquí es 80%) */
section.elementor-section.uae-sticky--active[data-id="26910009"] .hfe-site-logo-img{
  width: 80% !important;
  height: auto;
}

/* Quitar líneas/bordes/sombras de header */
.uae-sticky-header-element,
.uae-sticky-header-active,
.header,
header,
.elementor-section.elementor-top-section{
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Evitar que el contenedor del menú añada líneas */
.hfe-nav-menu,
.hfe-nav-menu__layout-horizontal{
  border: 0 !important;
  box-shadow: none !important;
}

/* Toggle: rect transparente (si tu SVG lo trae) */
.hfe-nav-menu__toggle svg rect{
  fill: transparent !important;
}

/* Color del “hamburguesa” (dejamos SOLO el definitivo) */
header .hfe-nav-menu .hfe-nav-menu__toggle svg path{
  stroke: #26aeff !important;
}

/* Tamaño icono toggle: móvil */
@media (max-width: 767px){
  .hfe-nav-menu__toggle svg{
    width: 60px !important;
    height: 60px !important;
  }
  .hfe-nav-menu__toggle{
    padding: 10px !important;
  }
}

/* Tamaño icono toggle: tablet */
@media (min-width: 768px) and (max-width: 1024px){
  .hfe-nav-menu__toggle svg{
    width: 70px !important;
    height: 70px !important;
  }
  .hfe-nav-menu__toggle{
    padding: 12px !important;
  }
}

/* Sticky: evitar outline raro cuando hay focus dentro */
.uae-sticky--active:focus-within{
  outline: none !important;
}


/* =========================================================
   2) Layout base
   ========================================================= */

.wrapper{
  flex-grow: 1;
  padding-top: 0;
}

body .wrapper .container{
  max-width: 1200px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content h1{
  padding-top: .3em;
  margin-bottom: .3em;
}

.row{
  margin-top: 40px;
}

/* Ocultar bloque "become instructor" lateral */
.col-md-3 .stm_lms_become_instructor{
  display: none !important;
}


/* =========================================================
   3) HERO LOVABLE (Elementor)
   ========================================================= */

.lovable-hero-section.lovable-hero-bg{
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(1100px 600px at 65% 50%, rgba(0,150,255,.22), transparent 55%),
    radial-gradient(900px 500px at 20% 30%, rgba(0,90,255,.14), transparent 60%),
    linear-gradient(180deg, #070b14 0%, #070b14 100%);
}

/* Puntitos animados */
.lovable-hero-section.lovable-hero-bg::before{
  content:"";
  position:absolute;
  inset:-40%;
  pointer-events:none;
  opacity:.55;
  background-image: radial-gradient(circle, rgba(80,190,255,.55) 1px, transparent 2px);
  background-size: 70px 70px;
  animation: lovableDotsMove 18s linear infinite;
  transform: translateZ(0);
}

/* Glow suave */
.lovable-hero-section.lovable-hero-bg::after{
  content:"";
  position:absolute;
  inset:-20%;
  pointer-events:none;
  background:
    radial-gradient(600px 400px at 55% 55%, rgba(20,120,255,.20), transparent 65%),
    radial-gradient(450px 320px at 70% 35%, rgba(0,210,255,.10), transparent 70%);
  filter: blur(6px);
  opacity:.9;
}

/* Contenido por encima */
.lovable-hero-row,
.lovable-hero-left,
.lovable-hero-right{
  position: relative;
  z-index: 2;
}

@keyframes lovableDotsMove{
  0%   { background-position: 0 0; }
  100% { background-position: 300px 220px; }
}

/* Layout */
.lovable-hero-row{
  display:flex;
  gap: 40px;
  align-items:center;
  justify-content:space-between;
}

.lovable-hero-left{ max-width: 680px; }

/* H1 (Elementor heading) */
.lovable-hero-heading .elementor-heading-title{
  font-weight: 800;
  line-height: .95;
  letter-spacing: -0.02em;
  color: #fff;
  font-size: clamp(44px, 4.6vw, 84px);
}

/* Gradiente (definido una sola vez) */
.lovable-gradient{
  background: linear-gradient(90deg, #21b0ff 0%, #2dd4ff 45%, #1a7cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Texto */
.lovable-hero-text{
  margin-top: 16px;
  max-width: 520px;
}
.lovable-hero-text,
.lovable-hero-text p{
  color: rgba(220,235,255,.72);
  font-size: 18px;
  line-height: 1.6;
}

/* Imagen derecha + órbita */
.lovable-hero-right{
  position: relative;
  display:flex;
  justify-content:flex-end;
}

.lovable-hero-right::before{
  content:"";
  position:absolute;
  right: 10px;
  top: 10px;
  width: min(520px, 42vw);
  height: min(520px, 42vw);
  border-radius: 28px;
  border: 2px dashed rgba(80,190,255,.25);
  transform: rotate(-6deg);
  animation: lovableOrbitFloat 6s ease-in-out infinite;
  pointer-events:none;
}

.lovable-hero-image img{
  width: min(520px, 42vw);
  max-width: 520px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 30px 80px rgba(0,0,0,.45),
    0 0 0 1px rgba(0,170,255,.08) inset;
  background: rgba(255,255,255,.02);
}

@keyframes lovableOrbitFloat{
  0%,100% { transform: translateY(0) rotate(-6deg); }
  50%     { transform: translateY(-10px) rotate(-6deg); }
}

/* Responsive hero */
@media (max-width: 1024px){
  .lovable-hero-row{ flex-direction: column; align-items:flex-start; }
  .lovable-hero-right{ width: 100%; justify-content:flex-start; margin-top: 28px; }
  .lovable-hero-right::before{ left: 0; right: auto; width: 420px; height: 420px; }
  .lovable-hero-image img{ width: 420px; }
}
@media (max-width: 520px){
  .lovable-hero-right::before{ width: 320px; height: 320px; }
  .lovable-hero-image img{ width: 100%; max-width: 100%; }
  .lovable-hero-text, .lovable-hero-text p{ font-size: 16px; }
}

/* H2 lovable */
.lovable-h2{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-size: clamp(28px, 3.2vw, 48px);
  color: #fff;
  margin: 0;
}

/* Ajuste puntual h1 dentro de #lovable-hero */
#lovable-hero .lovable-h1{
  margin: 18px 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: .95;
  font-size: clamp(42px, 5vw, 92px) !important;
  color: #fff;
}

/* Subtítulos */
#sobre-mi h3.lovable-h3{
  margin: 14px 0 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: clamp(20px, 2.5vw, 36px);
  color: #fff;
}

/* Padding hero móvil */
@media (max-width: 768px){
  #lovable-hero.lovable-hero{
    padding-top: 210px !important;
    padding-bottom: 48px !important;
  }
}


/* =========================================================
   4) Secciones responsive (sobre-mi / genesis / contacto)
   ========================================================= */

@media (max-width: 768px){
  #sobre-mi,
  #genesis,
  #contacto{
    max-width: 100% !important;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  /* Grids inline -> 1 columna */
  #sobre-mi > div[style*="display:grid"][style*="grid-template-columns:1.1fr 0.9fr"]{
    grid-template-columns: 1fr !important;
  }
  #genesis > div[style*="display:grid"][style*="grid-template-columns:1fr 1fr"]{
    grid-template-columns: 1fr !important;
  }
  #contacto > div[style*="display:grid"][style*="grid-template-columns:0.9fr 1.1fr"]{
    grid-template-columns: 1fr !important;
  }

  /* Ajuste hitos */
  #sobre-mi .glass [style*="min-width:56px"]{
    min-width: 44px !important;
  }

  /* Genesis cards */
  #genesis .glass.card-hover{
    padding: 18px !important;
  }

  /* Evita desbordes por textos */
  #genesis *{
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* Contacto: evitar overflow por textos/links */
  #contacto a,
  #contacto div,
  #contacto strong{
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Inputs */
  #contacto input,
  #contacto select,
  #contacto textarea{
    width: 100% !important;
    box-sizing: border-box;
    min-width: 0;
  }
}

/* Link de Microsoft LMS */
span.ms-lms-authorization-title{
  color: #fff !important;
}
span.ms-lms-authorization-title:hover{
  color: #26AEFF !important;
}


/* =========================================================
   5) MasterStudy - Menú privado (barra premium + chips)
   ========================================================= */

/* Reset del estilo azul del plugin */
.stm_lms_acc_tabs__main{
  background: transparent !important;
  border-top: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Barra */
.stm_lms_acc_tabs{
  position: relative;
  border-radius: 22px !important;
  padding: 18px 18px !important;
  overflow: hidden !important;
  background:
    radial-gradient(900px 420px at 28% 20%, rgba(47,123,255,.22), transparent 55%),
    radial-gradient(700px 380px at 78% 30%, rgba(68,160,255,.14), transparent 60%),
    linear-gradient(180deg, rgba(8,12,26,.92), rgba(6,9,20,.92)) !important;
  border: 1px solid rgba(47,123,255,.22) !important;
  box-shadow:
    0 22px 70px rgba(0,0,0,.55),
    0 0 32px rgba(47,123,255,.14) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stm_lms_acc_tabs:before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 24px;
  pointer-events:none;
  background: radial-gradient(500px 160px at 18% 0%, rgba(255,255,255,.10), transparent 55%);
  mix-blend-mode: screen;
  opacity: .65;
}

/* Layout interno */
.stm_lms_acc_tabs__main{
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  min-height: 72px;
}

/* Chips */
.stm_lms_acc_tabs__main a.float_menu_item{
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;

  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 16px !important;

  padding: 14px 18px !important;
  margin: 0 !important;

  color: rgba(255,255,255,.90) !important;
  font-weight: 800 !important;
  letter-spacing: .25px;

  height: 48px;
  box-sizing: border-box;

  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.stm_lms_acc_tabs .float_menu_item__title{
  color: inherit !important;
  font-size: 13px !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.stm_lms_acc_tabs .float_menu_item__icon{
  color: rgba(255,255,255,.88) !important;
  font-size: 14px !important;
  transition: transform .18s ease, color .18s ease;
}

.stm_lms_acc_tabs__main a.float_menu_item:hover{
  background: rgba(47,123,255,.14) !important;
  border-color: rgba(47,123,255,.35) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.55), 0 0 22px rgba(47,123,255,.18) !important;
}
.stm_lms_acc_tabs__main a.float_menu_item:hover .float_menu_item__icon{
  color: #fff !important;
  transform: translateY(-1px);
}

.stm_lms_acc_tabs a.float_menu_item.float_menu_item_active{
  background: linear-gradient(90deg, rgba(47,123,255,.28), rgba(68,160,255,.14)) !important;
  border-color: rgba(47,123,255,.45) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    0 16px 40px rgba(0,0,0,.58),
    0 0 26px rgba(47,123,255,.20) !important;
}

/* Botón “…” */
.stm_lms_acc_tabs__toggle{
  margin-left: auto;
  color: rgba(255,255,255,.92) !important;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 16px !important;
  padding: 0 14px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.stm_lms_acc_tabs__toggle:hover{
  background: rgba(47,123,255,.14) !important;
  border-color: rgba(47,123,255,.35) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,.55), 0 0 22px rgba(47,123,255,.16) !important;
}

/* Dropdown secundario */
.stm_lms_acc_tabs__secondary_inner{
  background: rgba(7, 11, 27, .92) !important;
  border: 1px solid rgba(47,123,255,.24) !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.65), 0 0 26px rgba(47,123,255,.12) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px !important;
}
.stm_lms_acc_tabs__secondary_inner a.float_menu_item{
  width: 100% !important;
  justify-content: space-between !important;
  height: 46px !important;
}

/* Responsive */
@media (max-width: 768px){
  .stm_lms_acc_tabs{ padding: 14px 14px !important; border-radius: 18px !important; }
  .stm_lms_acc_tabs__main{ min-height: 64px; gap: 10px !important; }
  .stm_lms_acc_tabs__main a.float_menu_item{ padding: 12px 14px !important; height: 46px; border-radius: 14px !important; }
}

.stm_lms_user_info_top{
  margin-top: 40px !important;
}

.masterstudy-orders{
  margin-top: 40px;
}


/* =========================================================
   5.2) MasterStudy - Cards "Cursos inscritos"
   ========================================================= */

.stm_lms_instructor_courses__grid{
  gap: 22px !important;
}

.stm_lms_instructor_courses__single__inner{
  position: relative;
  border-radius: 22px !important;
  overflow: hidden !important;
  background:
    radial-gradient(700px 280px at 25% 10%, rgba(47,123,255,.14), transparent 60%),
    linear-gradient(180deg, rgba(10,14,30,.92), rgba(6,9,20,.92)) !important;
  border: 1px solid rgba(47,123,255,.18) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.55), 0 0 26px rgba(47,123,255,.10) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.stm_lms_instructor_courses__single__inner:before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 24px;
  pointer-events:none;
  background: radial-gradient(520px 160px at 18% 0%, rgba(255,255,255,.10), transparent 60%);
  opacity:.55;
}

.stm_lms_instructor_courses__single__inner:hover{
  transform: translateY(-6px);
  border-color: rgba(47,123,255,.30) !important;
  box-shadow: 0 28px 85px rgba(0,0,0,.62), 0 0 34px rgba(47,123,255,.18) !important;
}

.stm_lms_instructor_courses__single--image{
  padding: 14px 14px 0 14px !important;
}
.stm_lms_instructor_courses__single--image .image_wrapper{
  border-radius: 18px !important;
  overflow: hidden !important;
}
.stm_lms_instructor_courses__single--image img{
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
}
.stm_lms_instructor_courses__single__inner:hover .stm_lms_instructor_courses__single--image img{
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.05);
}

.stm_lms_instructor_courses__single--inner{
  padding: 16px 18px 18px 18px !important;
}

.stm_lms_instructor_courses__single--term a{
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 999px !important;
  padding: 7px 10px !important;
  color: rgba(255,255,255,.82) !important;
  font-weight: 700;
  font-size: 12px !important;
  text-decoration: none !important;
}

.stm_lms_instructor_courses__single--title h5{
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  margin-top: 12px !important;
}
.stm_lms_instructor_courses__single--title a{
  text-decoration: none !important;
}

.stm_lms_instructor_courses__single--completed{
  color: rgba(255,255,255,.75) !important;
  font-weight: 700 !important;
}

.stm_lms_instructor_courses__single--progress_bar{
  background: rgba(255,255,255,.08) !important;
  border-radius: 999px !important;
  height: 8px !important;
  overflow: hidden !important;
  margin-top: 10px !important;
}
.stm_lms_instructor_courses__single--progress_filled{
  background: linear-gradient(90deg, rgba(47,123,255,.95), rgba(68,160,255,.75)) !important;
  border-radius: 999px !important;
  height: 100% !important;
}

.stm_lms_instructor_courses__single--enroll .btn,
.stm_lms_instructor_courses__single--enroll a.btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(47,123,255,.18) !important;
  border: 1px solid rgba(47,123,255,.35) !important;
  color: #fff !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  font-weight: 800 !important;
  letter-spacing: .25px;
  box-shadow: 0 14px 34px rgba(0,0,0,.50), 0 0 18px rgba(47,123,255,.14) !important;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.stm_lms_instructor_courses__single--enroll .btn:hover,
.stm_lms_instructor_courses__single--enroll a.btn:hover{
  background: rgba(47,123,255,.26) !important;
  border-color: rgba(47,123,255,.50) !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0,0,0,.58), 0 0 22px rgba(47,123,255,.18) !important;
}

.stm_lms_instructor_courses__single--started{
  color: rgba(255,255,255,.55) !important;
  margin-top: 12px !important;
}

.stm_lms_instructor_courses__single,
.stm_lms_instructor_courses__single *{
  box-sizing: border-box;
}


/* =========================================================
   5.3) MasterStudy - FIX borde azul "Cursos inscritos"
   ========================================================= */

.masterstudy-enrolled-courses-tabs{
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid rgba(47,123,255,.22) !important;
  box-shadow: 0 14px 46px rgba(0,0,0,.22), 0 0 22px rgba(47,123,255,.10) !important;
  background: #fff;
}

.masterstudy-enrolled-courses-tabs__block{
  border-right: 1px solid rgba(15, 23, 42, .10) !important;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.masterstudy-enrolled-courses-tabs__block:last-child{
  border-right: none !important;
}

.masterstudy-enrolled-courses-tabs__block_active{
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: linear-gradient(90deg, rgba(47,123,255,.10), rgba(47,123,255,.04)) !important;
  box-shadow: inset 0 0 0 1px rgba(47,123,255,.18) !important;
}

.masterstudy-enrolled-courses-tabs__block:hover{
  background: rgba(47,123,255,.06) !important;
}

.masterstudy-enrolled-courses-tabs__block-title{
  font-weight: 700 !important;
  color: rgba(15, 23, 42, .75) !important;
}
.masterstudy-enrolled-courses-tabs__block-value{
  font-weight: 800 !important;
  color: rgba(15, 23, 42, .92) !important;
}



/* GRID Y CARRUSEL CURSOS */

/* Ocultar grid de cursos en desktop */
@media (min-width: 1025px){
  #grid-cursos{
    display: none !important;
  }
}

/* Carrusel visible solo en desktop */
@media (min-width: 1025px){
  #carrusel-cursos{
    display: block !important;
  }
}

@media (max-width: 1024px){
  #carrusel-cursos{
    display: none !important;
  }
}


/* =========================================================
   5.4) MasterStudy - Ajustes (FORM edit account)
   ========================================================= */

#stm_lms_edit_account{
  background: radial-gradient(1200px 600px at 20% 0%, rgba(56,139,236,.22), rgba(56,139,236,0) 60%),
              linear-gradient(180deg, #0b1220 0%, #070b14 100%);
  border-radius: 22px;
  padding: 32px 34px;
  border: 1px solid rgba(56,139,236,.18);
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
}

#stm_lms_edit_account,
#stm_lms_edit_account label,
#stm_lms_edit_account h3,
#stm_lms_edit_account p{
  color: rgba(255,255,255,.88);
}

#stm_lms_edit_account label{
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: 10px;
}

#stm_lms_edit_account .form-group{
  margin-bottom: 22px;
}

/* Inputs */
#stm_lms_edit_account .form-control,
#stm_lms_edit_account input[type="text"],
#stm_lms_edit_account input[type="password"],
#stm_lms_edit_account input[type="email"],
#stm_lms_edit_account input[type="tel"],
#stm_lms_edit_account textarea{
  background: rgba(10,14,25,.75) !important;
  color: #fff !important;
  border: 1px solid rgba(56,139,236,.28) !important;
  border-radius: 14px !important;
  height: 48px;
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}

#stm_lms_edit_account .form-control::placeholder,
#stm_lms_edit_account input::placeholder,
#stm_lms_edit_account textarea::placeholder{
  color: rgba(255,255,255,.45) !important;
}

#stm_lms_edit_account .form-control:hover,
#stm_lms_edit_account input:hover,
#stm_lms_edit_account textarea:hover{
  border-color: rgba(56,139,236,.60) !important;
  box-shadow: 0 0 0 4px rgba(56,139,236,.12);
}

#stm_lms_edit_account .form-control:focus,
#stm_lms_edit_account input:focus,
#stm_lms_edit_account textarea:focus{
  outline: none !important;
  border-color: rgba(56,139,236,.95) !important;
  box-shadow: 0 0 0 4px rgba(56,139,236,.18), 0 10px 24px rgba(0,0,0,.22);
  transform: translateY(-1px);
}

/* Select2 */
#stm_lms_edit_account .select2-container{
  width: 100% !important;
}

#stm_lms_edit_account .select2-container--default .select2-selection--single{
  background: rgba(10,14,25,.75) !important;
  border: 1px solid rgba(56,139,236,.28) !important;
  border-radius: 14px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}

#stm_lms_edit_account .select2-container--default .select2-selection--single .select2-selection__rendered{
  color: rgba(255,255,255,.88) !important;
  padding-left: 14px !important;
}

#stm_lms_edit_account .select2-container--default .select2-selection--single .select2-selection__placeholder{
  color: rgba(255,255,255,.45) !important;
}

#stm_lms_edit_account .select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 48px !important;
  right: 10px !important;
}
#stm_lms_edit_account .select2-container--default .select2-selection--single .select2-selection__arrow b{
  border-color: rgba(255,255,255,.55) transparent transparent transparent !important;
}

#stm_lms_edit_account .select2-container--default .select2-selection--single:hover{
  border-color: rgba(56,139,236,.60) !important;
  box-shadow: 0 0 0 4px rgba(56,139,236,.12);
}

#stm_lms_edit_account .select2-container--default.select2-container--focus .select2-selection--single,
#stm_lms_edit_account .select2-container--default.select2-container--open .select2-selection--single{
  border-color: rgba(56,139,236,.95) !important;
  box-shadow: 0 0 0 4px rgba(56,139,236,.18), 0 10px 24px rgba(0,0,0,.22);
  transform: translateY(-1px);
}

.select2-container--default .select2-dropdown{
  background: #0b1220 !important;
  border: 1px solid rgba(56,139,236,.25) !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.select2-container--default .select2-results__option{
  color: rgba(255,255,255,.85) !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected]{
  background: rgba(56,139,236,.18) !important;
  color: #fff !important;
}

/* Botón guardar */
#stm_lms_edit_account .btn.btn-default{
  background: linear-gradient(180deg, rgba(56,139,236,.95), rgba(56,139,236,.75)) !important;
  border: 1px solid rgba(56,139,236,.55) !important;
  color: #fff !important;
  border-radius: 14px !important;
  padding: 12px 18px !important;
  height: 48px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
#stm_lms_edit_account .btn.btn-default:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 22px 55px rgba(0,0,0,.32), 0 0 0 4px rgba(56,139,236,.12);
}

.stm_lms_edit_socials_list{
  padding: 0 40px 20px !important;
  background-color: transparent !important;
}

/* Rendered del select2: mantener transparente */
.select2-container .select2-selection.select2-selection--single .select2-selection__rendered{
  border: 0 !important;
  background: transparent !important;
}

/* Sidebar curso sleek: ocultar */
.masterstudy-single-course-sleek-sidebar__buttons,
.masterstudy-single-course-sleek-sidebar__info{
  display: none !important;
}


/* =========================================================
   5.5) MasterStudy - Login / Registro
   ========================================================= */

.masterstudy-authorization{
  max-width: 560px;
  margin: 60px auto;
  padding: 0;
}

.masterstudy-authorization__wrapper,
.masterstudy-authorization__restore{
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.12);
  padding: 28px 28px 18px !important;
}

.masterstudy-authorization__header-title,
.masterstudy-authorization__restore-header-title{
  font-weight: 800 !important;
  font-size: 26px !important;
  letter-spacing: -0.3px;
}

.masterstudy-authorization__form input.masterstudy-authorization__form-input,
.masterstudy-authorization__form textarea.masterstudy-authorization__form-textarea{
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  transition: 0.2s ease;
  background: #fff !important;
}

.masterstudy-authorization__form input.masterstudy-authorization__form-input:focus,
.masterstudy-authorization__form textarea.masterstudy-authorization__form-textarea:focus{
  border-color: rgba(45, 136, 255, 0.8) !important;
  box-shadow: 0 0 0 4px rgba(45, 136, 255, 0.15) !important;
  outline: none !important;
}

.masterstudy-button.masterstudy-button_style-primary{
  border-radius: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px;
  padding: 12px 18px !important;
  min-height: 44px;
}

/* Reordenar switch arriba + estilo botón */
.masterstudy-authorization .masterstudy-authorization__wrapper{
  display:flex;
  flex-direction:column;
}
.masterstudy-authorization .masterstudy-authorization__header{ order: 1; }
.masterstudy-authorization .masterstudy-authorization__switch{
  order: 2;
  margin-top: 10px;
  margin-bottom: 18px;
}
.masterstudy-authorization #masterstudy-authorization-form-login,
.masterstudy-authorization #masterstudy-authorization-form-register{
  order: 3;
}
.masterstudy-authorization .masterstudy-authorization__actions{ order: 4; }

.masterstudy-authorization .masterstudy-authorization__switch-wrapper{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:0 !important;
  border:0 !important;
}

.masterstudy-authorization .masterstudy-authorization__switch-account{
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

.masterstudy-authorization .masterstudy-authorization__switch-account-title{
  font-size:14px !important;
  opacity:.85;
}

.masterstudy-authorization .masterstudy-authorization__switch-account-link{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  padding:10px 14px !important;
  border-radius:12px !important;
  font-weight:800 !important;
  text-decoration:none !important;
  line-height:1 !important;
  border:1px solid rgba(45, 136, 255, .25) !important;
  transition:.2s ease;
}

.masterstudy-authorization #masterstudy-authorization-sign-up{
  background:#2d88ff !important;
  color:#fff !important;
  border-color:#2d88ff !important;
  box-shadow:0 10px 25px rgba(45,136,255,.22);
}
.masterstudy-authorization #masterstudy-authorization-sign-up:hover{
  transform:translateY(-1px);
  filter:brightness(.97);
}

.masterstudy-authorization #masterstudy-authorization-sign-in{
  background:transparent !important;
  color:#2d88ff !important;
}
.masterstudy-authorization #masterstudy-authorization-sign-in:hover{
  background:rgba(45,136,255,.08) !important;
}

/* Lost password */
.masterstudy-authorization .masterstudy-authorization__switch-lost-pass{
  order: 3;
  font-weight:700 !important;
  font-size:14px !important;
  max-width: 100% !important;
  margin-top: 20px;
}

/* Registro: reordenar campos (Nombre/Apellido primero) */
.masterstudy-authorization_register
#masterstudy-authorization-form-register
.masterstudy-authorization__form-wrapper{
  display:flex;
  flex-direction:column;
}
.masterstudy-authorization_register
#masterstudy-authorization-form-register
.masterstudy-authorization__form-field{
  order: 50;
}
.masterstudy-authorization_register
#masterstudy-authorization-form-register
.masterstudy-authorization__form-field:has(input[name="first_name"]){
  order: 1;
}
.masterstudy-authorization_register
#masterstudy-authorization-form-register
.masterstudy-authorization__form-field:has(input[name="last_name"]){
  order: 2;
}
.masterstudy-authorization_register
#masterstudy-authorization-form-register
.masterstudy-authorization__form-field:has(input[name="register_user_email"]){
  order: 3;
}
.masterstudy-authorization_register
#masterstudy-authorization-form-register
.masterstudy-authorization__form-field:has(input[name="register_user_login"]){
  order: 4;
}
.masterstudy-authorization_register
#masterstudy-authorization-form-register
.masterstudy-authorization__form-field:has(input[name="register_user_password"]){
  order: 5;
}
.masterstudy-authorization_register
#masterstudy-authorization-form-register
.masterstudy-authorization__form-field:has(input[name="register_user_password_re"]){
  order: 6;
}

@media (max-width: 576px){
  .masterstudy-authorization{
    margin: 30px 14px;
  }
  .masterstudy-authorization__wrapper,
  .masterstudy-authorization__restore{
    padding: 22px 18px 14px !important;
    border-radius: 16px;
  }
}


/* =========================================================
   6) WooCommerce Blocks (Carrito / Checkout)
   ========================================================= */

body.woocommerce-cart .entry-content .wp-block-woocommerce-cart.alignwide,
body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout.alignwide,
body.woocommerce-cart .entry-content .alignwide.wp-block-woocommerce-cart,
body.woocommerce-checkout .entry-content .alignwide.wp-block-woocommerce-checkout{
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
  padding: 60px 24px;
  box-sizing: border-box;
}

body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout{
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 1024px){
  body.woocommerce-cart .entry-content .wp-block-woocommerce-cart.alignwide,
  body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout.alignwide,
  body.woocommerce-cart .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout{
    max-width: 100%;
    padding: 40px 18px;
  }
}

@media (max-width: 480px){
  body.woocommerce-cart .entry-content .wp-block-woocommerce-cart.alignwide,
  body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout.alignwide{
    padding: 40px 14px;
  }
}

body.woocommerce-cart .entry-content .alignfull,
body.woocommerce-checkout .entry-content .alignfull{
  padding-left: 0;
  padding-right: 0;
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-checkout .wc-block-checkout__main{
  min-width: 0;
}

/* Clases sueltas checkout */
.checkout-titulo{
  --display: flex;
  --flex-direction: column;
  --container-widget-width: 100%;
  --container-widget-height: initial;
  --container-widget-flex-grow: 0;
  --container-widget-align-self: initial;
  --flex-wrap-mobile: wrap;
  --padding-top: 50px;
  --padding-bottom: 0px;
  --padding-left: 24px;
  --padding-right: 0px;
}

.titulo-checkout{
  font-family: "Roboto", Sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #000;
}

.javi{
  padding-top: 40px;
  margin-left: 7.5%;
}


/* =========================================================
   7) Cursos - hover (style_1)
   ========================================================= */

.stm_lms_courses__single.style_1 .stm_lms_courses__single__inner{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  border: 1px solid rgba(95, 209, 255, 0.28);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  will-change: transform, box-shadow;
}

.stm_lms_courses__single.style_1 .stm_lms_courses__single__inner::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  opacity: 0;
  transition: opacity .22s ease;
  background: radial-gradient(420px 240px at 20% 0%,
    rgba(43,182,255,.22) 0%,
    rgba(43,182,255,.10) 35%,
    transparent 70%);
}

.stm_lms_courses__single.style_1:hover .stm_lms_courses__single__inner{
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(95, 209, 255, .75) !important;
  box-shadow:
    0 28px 70px rgba(0,0,0,.55),
    0 0 0 1px rgba(43,182,255,.25),
    0 0 38px rgba(43,182,255,.18);
  background: rgba(6, 12, 22, .92) !important;
}
.stm_lms_courses__single.style_1:hover .stm_lms_courses__single__inner::before{
  opacity: 1;
}

.stm_lms_courses__single.style_1 .stm_lms_courses__single--image__container img{
  transition: transform .35s ease, filter .35s ease;
  transform: scale(1);
  filter: saturate(1.05) contrast(1.02);
}
.stm_lms_courses__single.style_1:hover .stm_lms_courses__single--image__container img{
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.06);
}

.stm_lms_courses__single.style_1 .stm_lms_courses__single--image{
  position: relative;
  overflow: hidden;
}
.stm_lms_courses__single.style_1 .stm_lms_courses__single--image::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.28;
  transition: opacity .25s ease;
  background: linear-gradient(180deg,
    rgba(0,0,0,.00) 0%,
    rgba(0,0,0,.10) 45%,
    rgba(0,0,0,.34) 100%);
}
.stm_lms_courses__single.style_1:hover .stm_lms_courses__single--image::after{
  opacity: .60 !important;
}

.stm_lms_courses__single.style_1 .stm_lms_courses__single--title h5{
  transition: transform .22s ease, color .22s ease;
}
.stm_lms_courses__single.style_1:hover .stm_lms_courses__single--title h5{
  transform: translateY(-2px);
}

.stm_lms_courses__single.style_1 .stm_lms_courses__single--info{
  transition: opacity .22s ease, transform .22s ease;
  transform: translateY(10px);
}
.stm_lms_courses__single.style_1:hover .stm_lms_courses__single--info{
  transform: translateY(0);
}

.stm_lms_courses__single.style_1 .stm_lms_courses__single--info_bottom{
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(8,14,26,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stm_lms_courses__single.style_1 .stm-lms-wishlist i{
  transition: transform .18s ease, opacity .18s ease;
}
.stm_lms_courses__single.style_1:hover .stm-lms-wishlist i{
  transform: scale(1.08);
  opacity: .95;
}

/* Texto blanco en hover */
.stm_lms_courses__single.style_1:hover,
.stm_lms_courses__single.style_1:hover *{
  color: #fff !important;
}
.stm_lms_courses__single.style_1:hover img{
  color: unset !important;
}

.stm_lms_courses__single.style_1:hover hr,
.stm_lms_courses__single.style_1:hover .stm_lms_courses__single--meta:before,
.stm_lms_courses__single.style_1:hover .stm_lms_courses__single--meta:after,
.stm_lms_courses__single.style_1:hover .stm_lms_courses__single--info_bottom{
  border-color: rgba(255,255,255,.18) !important;
}

.stm_lms_courses__single.style_1:hover a{
  color: #fff !important;
}

/* Term badge (normal + hover coherente) */
.stm_lms_courses__single.style_1 .stm_lms_courses__single--term{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(95, 209, 255, .55) !important;
  color: #111 !important;
  padding: 6px 10px;
  border-radius: 999px;
}
.stm_lms_courses__single.style_1:hover .stm_lms_courses__single--term{
  color: #fff !important;
}

.owl-stage-outer{
  padding: 18px 6px 34px;
}

@media (max-width: 768px){
  .stm_lms_courses__single.style_1:hover .stm_lms_courses__single__inner{
    transform: translateY(-4px) scale(1.005);
  }
}

.stm_lms_courses_carousel__buttons{
  margin: 0 auto 0 !important;
}


/* =========================================================
   8) Tipografías utilitarias (vs-*)
   ========================================================= */

.vs-h1{
  margin: 18px 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: .98;
  font-size: clamp(36px, 5.2vw, 72px);
  color: #fff;
}

.vs-h2{
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: .98;
  font-size: clamp(26px, 3.6vw, 48px);
  color: #fff;
}

.vs-h3{
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: clamp(20px, 2.2vw, 28px);
  color: #fff;
}

.vs-accent{
  background: linear-gradient(90deg, #1da1ff 0%, #5fd1ff 50%, #1da1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vs-lead{
  margin: 0 0 18px;
  max-width: 42ch;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,.70);
}

.vs-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.vs-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
  will-change: transform;
  color: #fff !important;
}
.vs-btn:hover{ transform: translateY(-1px); }

.vs-btn-primary{
  color: #06101f;
  background: linear-gradient(180deg, #2bb6ff 0%, #1998ff 100%);
  box-shadow: 0 16px 34px rgba(32,140,255,.25);
}
.vs-btn-primary:hover{
  box-shadow: 0 18px 42px rgba(32,140,255,.35);
}

.vs-btn-ghost{
  color: rgba(255,255,255,.86);
  background: rgba(10,18,32,.35);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
}
.vs-btn-ghost:hover{
  border-color: rgba(255,255,255,.22);
}


/* =========================================================
   9) WPForms (Form 54412) — Glass + fixes
   ========================================================= */

#wpforms-54412{
  color: hsl(var(--foreground, 0 0% 100%));
}

/* Espaciado */
#wpforms-54412 .wpforms-field{
  margin-bottom: 12px;
}

/* Labels */
#wpforms-54412 .wpforms-field-label,
#wpforms-54412 legend.wpforms-field-label{
  color: rgba(255,255,255,.88);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 6px;
}

/* Sub-labels */
#wpforms-54412 .wpforms-field-sublabel{
  color: rgba(255,255,255,.55);
  font-size: 12px;
  margin-top: 6px;
}

/* Inputs */
#wpforms-54412 input[type="text"],
#wpforms-54412 input[type="email"],
#wpforms-54412 input[type="tel"],
#wpforms-54412 select,
#wpforms-54412 textarea{
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  border: 1px solid hsl(var(--border, 215 25% 22%) / .75) !important;
  background: hsl(var(--card, 222 47% 10%) / .30) !important;
  color: rgba(255,255,255,.92) !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, filter .2s ease;
}

/* Placeholder */
#wpforms-54412 input::placeholder,
#wpforms-54412 textarea::placeholder{
  color: rgba(255,255,255,.45) !important;
}

/* Focus */
#wpforms-54412 input:focus,
#wpforms-54412 select:focus,
#wpforms-54412 textarea:focus{
  outline: none !important;
  border-color: rgba(43,182,255,.65) !important;
  box-shadow: 0 0 0 4px rgba(43,182,255,.18) !important;
  filter: brightness(1.02);
}

/* Textarea */
#wpforms-54412 textarea{
  min-height: 140px;
  resize: vertical;
}

/* Checkbox */
#wpforms-54412 .wpforms-field-checkbox ul{
  margin: 8px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
#wpforms-54412 .wpforms-field-checkbox li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #fff !important;
  font-size: 13px;
}
#wpforms-54412 .wpforms-field-checkbox input[type="checkbox"]{
  margin-top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid hsl(var(--border, 215 25% 22%) / .85);
  background: hsl(var(--card, 222 47% 10%) / .25);
  accent-color: #2bb6ff;
}
#wpforms-54412 .wpforms-field-checkbox a{
  color: rgba(95,209,255,.95) !important;
  text-decoration: none;
}
#wpforms-54412 .wpforms-field-checkbox a:hover{
  text-decoration: underline;
}

/* Submit */
#wpforms-54412 .wpforms-submit-container{
  margin-top: 12px;
}
#wpforms-54412 button.wpforms-submit{
  width: 100% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px 20px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(45,180,255,.55) !important;
  background: linear-gradient(180deg, #2bb6ff 0%, #1998ff 100%) !important;
  font-weight: 800 !important;
  color: #06101f !important;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(32,140,255,.25) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, color .18s ease;
}
#wpforms-54412 button.wpforms-submit:hover{
  transform: translateY(-1px);
  color: #fff !important;
  box-shadow: 0 18px 42px rgba(32,140,255,.35) !important;
  filter: brightness(1.03);
}

/* Errores */
#wpforms-54412 label.wpforms-error{
  color: #ff6b6b !important;
  font-weight: 700;
  font-size: 12px;
  margin-top: 6px;
}

/* FIX nombre/apellidos en la misma fila (solo field_1) */
#wpforms-54412-field_1-container .wpforms-field-row{
  display:flex !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  align-items: flex-start;
}
#wpforms-54412-field_1-container .wpforms-field-row-block{
  width: 50% !important;
  flex: 0 0 50% !important;
  min-width: 0 !important;
}
#wpforms-54412-field_1-container .wpforms-field-row-block input{
  width: 100% !important;
  max-width: 100% !important;
  display:block;
}
@media (max-width: 640px){
  #wpforms-54412-field_1-container .wpforms-field-row{
    flex-wrap: wrap !important;
  }
  #wpforms-54412-field_1-container .wpforms-field-row-block{
    width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* FIX flecha select field_6 (una sola técnica) */
#wpforms-54412-field_6-container{
  position: relative;
}
#wpforms-54412-field_6{
  padding-right: 46px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}
#wpforms-54412-field_6-container::after{
  content:"";
  position:absolute;
  right: 16px;
  top: 58%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255,255,255,.85);
  border-bottom: 2px solid rgba(255,255,255,.85);
  transform: translateY(-20%) rotate(45deg);
  pointer-events:none;
  opacity: .9;
}
