.elementor-element-22037c9 {
	z-index: 100;
}
 
.elementor-element-e61783d {
  height: 100vh !important;
  overflow: hidden;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
} 
 
.elementor-widget-container img {
  position: relative;
  z-index: 10;
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 1540px) {
  .elementor-26 .elementor-element.elementor-element-c3f5b99 {
    margin-top: 0px !important;
  }
} 
 
.wdt-button-holder svg {
  position: relative;
  z-index: 10;
  fill: white;  
}
 
.elementor-widget {
  opacity: 1 !important;
  visibility: visible !important;
}
 
.elementor-invisible {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
}   

/* ============================= */
/* Ajustes para móviles (<= 767px) */
/* ============================= */ 
@media (max-width: 767px) {
  /* Forzar la sección principal a ocupar el alto total de pantalla */
  .elementor-element-e61783d,
  .elementor-element-e61783d .elementor-background-video-container,
  .elementor-element-e61783d .elementor-background-video-embed,
  #sticky-wrapper {
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
  }

  /* Asegurar que el iframe se adapte y no use el estilo inline */
  .elementor-background-video-embed { 
    height: 100% !important;
    object-fit: cover !important;
  } 
}

@media (min-width: 480px) and (max-width: 767px) {
  .elementor-element-22037c9 { 
	  margin-top: 1px !important;
	  padding-top: 33px !important;
      padding-bottom: 33px !important;
  }
}
@media (max-width: 479px) {
    .elementor-26 .elementor-element.elementor-element-22037c9 {
		margin-top: -35px !important;
	}
} 

.lesson-accordion-content {
	display: none;       
	padding: 10px;
	margin-top: 5px; 
	clear: both;          
}

@media (max-width: 479px) {
  /* Redimensionar columnas de Elementor */
  .elementor-element-67cac9f.elementor-column {
    width: 30% !important;
  }

  .elementor-element-9529db5.elementor-column {
    width: 70% !important;
  }

  /* Evitar saltos de línea en íconos */
  .wdt-header-icons-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    gap: 10px;
  }

  .wdt-header-icons-list-item {
    flex: 0 1 auto;
    min-width: 0;
  }

  /* Opcional: reducir tamaño del logo */
  .wdt-logo-container img {
    max-width: 100%;
    height: auto;
  }

  /* Ocultar textos en íconos para ahorrar espacio */
  .wdt-header-icons-list-item span.icotype-label,
  .wdt-shop-menu-cart-totals,
  .menu-trigger span {
    display: none;
  }
}

@media (max-width: 398px) {
  /* Aún más reducción para pantallas muy pequeñas */
  .elementor-element-67cac9f.elementor-column {
    width: 20% !important;
  }

  .elementor-element-9529db5.elementor-column {
    width: 80% !important;
  }

  /* Reducir tamaño del logo */
  .wdt-logo-container img {
    max-width: 90%;
    height: auto;
  }

  /* Ajustar espaciado entre íconos */
  .wdt-header-icons-list {
    gap: 5px;
  }

  /* Escalar los íconos un poco más pequeños */
  .wdt-header-icons-list svg {
    width: 16px;
    height: 16px;
  }

  /* Eliminar margen/padding excesivo si existiera */
  .wdt-header-icons-list-item {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Ocultar cualquier texto dentro de los iconos */
  .wdt-header-icons-list-item span.icotype-label,
  .wdt-shop-menu-cart-totals,
  .menu-trigger span {
    display: none;
  }
}

@media (max-width: 479px) {
  /* Redimensionar columnas */
  .elementor-element-4e3aa7f.elementor-column {
    width: 30% !important;
  }

  .elementor-element-47279ac.elementor-column {
    width: 70% !important;
  }

  /* Evitar saltos de línea en íconos */
  .wdt-header-icons-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    gap: 10px;
  }

  .wdt-header-icons-list-item {
    flex: 0 1 auto;
    min-width: 0;
  }

  /* Reducción del logo */
  .wdt-logo-container img {
    max-width: 100%;
    height: auto;
  }

  /* Ocultar textos en íconos */
  .wdt-header-icons-list-item span.icotype-label,
  .wdt-shop-menu-cart-totals,
  .menu-trigger span {
    display: none;
  }
}

@media (max-width: 398px) {
  /* Más reducción para móviles muy pequeños */
  .elementor-element-4e3aa7f.elementor-column {
    width: 20% !important;
  }

  .elementor-element-47279ac.elementor-column {
    width: 80% !important;
  }

  /* Ajuste del logo */
  .wdt-logo-container img {
    max-width: 90%;
    height: auto;
  }

  /* Espaciado entre íconos */
  .wdt-header-icons-list {
    gap: 5px;
  }

  /* Escalar íconos */
  .wdt-header-icons-list svg {
    width: 16px;
    height: 16px;
  }

  /* Eliminar padding/margin extra */
  .wdt-header-icons-list-item {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Ocultar textos en íconos */
  .wdt-header-icons-list-item span.icotype-label,
  .wdt-shop-menu-cart-totals,
  .menu-trigger span {
    display: none;
  }
}

/* 1. Neutralizar estilos heredados de .current-menu-item en submenús con anclas */
.wdt-primary-nav .sub-menu .current-menu-item > a[href*="#"] {
  color: inherit !important;
  font-weight: normal !important;
  background: none !important;
  text-decoration: none !important;
} 

.mobile-menu.nav-is-visible {
	z-index: 100000;
}

#header { 
    z-index: 1000 !important;
}

.woocommerce .woocommerce-MyAccount-content a.button {
    background-color: var(--wdtPrimaryColor) !important;
    color: #fff !important; 
    transition: background-color 0.3s ease, color 0.3s ease, filter 0.3s ease !important;
}

.woocommerce .woocommerce-MyAccount-content a.button:hover {
    color: var(--wdtAccentTxtColor) !important;
    filter: brightness(85%) !important;
}

@media (max-width: 1028px) {
  #tienda-courses-listing section.elementor-inner-section .elementor-column.elementor-col-75,
  #tienda-courses-listing section.elementor-inner-section .elementor-column[data-col="75"],
  #tienda-courses-listing section.elementor-inner-section .elementor-column.elementor-col-25,
  #tienda-courses-listing section.elementor-inner-section .elementor-column[data-col="25"] {
    width: 100% !important;
  }
	#tienda-courses-listing section.elementor-inner-section .elementor-column.elementor-col-25 .elementor-widget-container p {
    text-align: center !important;
  }
}

@media (max-width: 840px) {
  .page-id-21 .elementor-section.elementor-section-height-full {
    height: auto !important;
    min-height: auto !important;
  }

  .page-id-21 .elementor-section.elementor-section-height-default {
    height: auto !important;
  }

  .page-id-21 .elementor .elementor-container {
    align-items: flex-start !important;
  }

  #customer_login.u-columns.col2-set {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
  }

  #customer_login .u-column1,
  #customer_login .u-column2 {
    width: 100% !important;
    max-width: 100% !important;
  }
  #customer_login .u-column2 {
	margin-left: 0 !important;
  }
}

.wdt-header-menu ul.wdt-primary-nav > li:hover:after {
    opacity: 0 !important;
}

/* Color al pasar el ratón por los spans del menú principal */
.wdt-primary-nav li a span:hover {
  color: #a5915b !important;
}

/* Por si hay algún <a> sin <span> directamente */
.wdt-primary-nav li a:hover {
  color: #a5915b !important;
}

/* Solo para page-id-21 y pantallas grandes */
@media (min-width: 841px) {
  .page-id-21 .elementor-section.elementor-section-height-full {
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column;
  }

  .page-id-21 .elementor-container {
    flex-grow: 1;
    align-items: stretch !important;
  }

  .page-id-21 .elementor-column {
    flex-grow: 1;
  }

  .page-id-21 .wdt-wrap-columns {
    align-items: stretch;
  }

  .page-id-21 .column.wdt-three-fourth {
    flex-grow: 1;
  }
}

@media (max-width: 768px) {
  .woocommerce-MyAccount-navigation {
    width: 100% !important;
    margin-bottom: 2rem;
  }

  .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 0;
  }

  .woocommerce-MyAccount-navigation ul li {
    flex: 1 1 calc(50% - 1rem);
    list-style: none;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0.75rem;
    background-color: #f8f8f8;
  }

  .woocommerce-MyAccount-navigation ul li a {
    display: block;
    color: #333;
    text-decoration: none;
  }

  .woocommerce-MyAccount-navigation ul li.is-active {
    background-color: #e7e0d0;
  }
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul li.is-active a {
    border: none !important;
    border-bottom: none !important;
}

/* Para pantallas aún más pequeñas (tipo móvil) */
@media (max-width: 480px) {
  .woocommerce-MyAccount-navigation ul li {
    flex: 1 1 100%;
  }
} 

#back-to-top {
	z-index: 100 !important;
}
body.woocommerce-account .woocommerce-notices-wrapper {
  display: none !important;
}

@media (max-width: 768px) and (min-width: 481px) {
    .js-loading .woocommerce-MyAccount-content {
		display: none !important;
		visibility: hidden;
	 }
}

.mobile-menu ul li.current-menu-ancestor > a.bg-white,
.mobile-menu ul li.current-menu-item > a.bg-white {
  background: #fff;
  color: #000;
}

.mobile-menu ul li.current-menu-item > a, .mobile-menu ul li.current-menu-ancestor > a {
	color: #000 !important;
}

.product_meta {
	display: none !important;
}

@media only screen and (max-width: 1280px) and (min-width: 768px) {
    #searchform input[type="submit"] { 
		top: 44px !important;
	}
	:where(body) .wdt-header-icons-list > div.search-item:not(.search-default) .wdt-search-form-container #searchform input[type="text"] {
		/*margin-left: 6% !important;*/
		left: -75px;
        position: relative;
	}
}

@media only screen and (max-width: 767px) and (min-width: 721px) {
    .wdt-header-icons-list>div.search-item.search-expand .wdt-search-form-container.show {
        left: -185% !important; 
    }
	#searchform input.text_input ~ ul.quick_search_results { 
    	left: 105px !important; 
	}
	#searchform input[type="submit"] { 
		right: 78px !important; 
		position: relative;
	}
	.wdt-search-form-container .wdt-search-form-close {  
		top: -12px !important; 
		position: relative;
	}
	body .wdt-header-icons-list > div.search-item:not(.search-default) .wdt-search-form-container #searchform input[type="text"]
		margin-left: -7% !important;
		margin-top: 0px !important; 
	}
}

@media only screen and (max-width: 720px) {
    .wdt-header-icons-list > div.search-item:not(.search-default) .wdt-search-form-container #searchform input[type="text"] {
        margin-left: 14px !important;
    }
	#searchform input.text_input ~ ul.quick_search_results {
        left: -150px !important;
    }
}

@media only screen and (max-width: 479px) {
    .wdt-search-form-container .wdt-search-form-close { 
    	left: 125% !important; 
	}
	#searchform input[type="submit"] { 
    	right: -100px !important; 
	}
	#searchform input.text_input ~ ul.quick_search_results { 
    	left: 17px !important; 
	}
}

.single_add_to_cart_button[data-icon-replaced="true"]::before {
    content: none !important;
}

.woocommerce-notices-wrapper {
	display: none !important;
}
body.page-id-21 .woocommerce-notices-wrapper {
    display: block !important;
}









