.tutor-course-single-instructor, 
.tutor-meta-user {
    display: none !important;
}

.entry-meta,
.comments-link,
.posted-on,
.byline {
  display: none !important;
}

/* Deshabilitar selección de texto en todo el sitio */
* {
    user-select: none;
}

/* Permitir la selección de texto en enlaces, botones y otros elementos interactivos */
a, button, input, select, textarea {
    user-select: text;
    pointer-events: auto; /* Asegura que los botones sean clickeables */
}

/* Evitar el clic derecho sin afectar los botones */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* === Eliminar valoraciones y estrellas de WooCommerce === */

.woocommerce div.product .woocommerce-product-rating,
.woocommerce div.product .woocommerce-review-link,
.woocommerce ul.products li.product .star-rating,
.woocommerce .woocommerce-review-link,
.woocommerce .woocommerce-product-rating,
.woocommerce #reviews,
.woocommerce-tabs #tab-reviews,
.woocommerce-tabs li.reviews_tab {
    display: none !important;
}

/* === Eliminar valoraciones y estrellas de TutorLMS === */

.tutor-course-rating,
.tutor-ratings,
.tutor-course-header-rating,
.tutor-course-rating-count,
.tutor-rating-count,
.tutor-course-meta.tutor-mt-24 > div:first-child,
.tutor-single-course-rating,
.tutor-course-rating-text,
.tutor-course-rating-wrap,
.tutor-course-review-form-rating,
.tutor-course-review-form .tutor-icon-star,
.tutor-course-review-form .tutor-icon-star-line,
.tutor-icon-star-line,
.tutor-icon-star,
.tutor-course-review-form,
.tutor-course-review-list,
.tutor-course-review-summary,
.tutor-course-review-wrap {
    display: none !important;
}

/* === Ocultar pestaña "Reseñas" y su contenido en TutorLMS === */

/* Oculta la pestaña de navegación "Reseñas" */
.tutor-course-single-page-navigation ul li a[href*="reviews"],
.tutor-course-single-page-navigation ul li a[href*="review"] {
    display: none !important;
}

/* Ocultar la pestaña de navegación "Reseñas" */
.tutor-course-single-sidebar-tabs li a[href*="reviews"],
.tutor-course-single-sidebar-tabs li a[href*="review"],
.tutor-course-single-sidebar-tabs li.tutor-course-tab-item-reviews,
.tutor-course-single-tabs li a[href*="reviews"],
.tutor-course-single-tabs li a[href*="review"] {
    display: none !important;
}

/* Ocultar pestaña "Reseñas" y su contenido en cursos de Tutor LMS */
.tutor-course-single-content .tutor-course-details-tab .tutor-nav li a[href*="reviews"],
.tutor-course-single-content .tutor-course-details-tab #tutor-course-reviews,
.tutor-course-single-content .tutor-course-details-tab .tutor-nav li.reviews,
.tutor-course-single-content .tutor-course-details-tab .tutor-tab.reviews {
    display: none !important;
}

/* Oculta cualquier texto tipo "Sin categoría" o "Uncategorized" en los cursos */
.tutor-course-single-content .tutor-meta-cat,
.tutor-course-loop-meta .tutor-meta-cat {
    display: none !important;
}

.woocommerce-store-notice {
    display: none !important;
}

/* Oculta la frase exacta "We typically reply in a few minutes" del widget de Tawk.to */
.tawk-min-chat-msg:contains("We typically reply in a few minutes") {
  display: none !important;
}

/* Oculta el bloque de “¿Ya eres cliente?” */
.woocommerce-checkout .woocommerce-form-login-toggle {
  display: none !important;
}

/* Oculta el bloque de notas del pedido */
.woocommerce-checkout .woocommerce-additional-fields {
  display: none !important;
}

/* Ocultar bloque de “¿Tienes un cupón?” (más específico) */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .checkout_coupon {
  display: none !important;
}

.separador-transparente {
    border-color: transparent !important;
    background-color: transparent !important;
}

html, body {
  overflow-x: hidden !important;
  width: 100% !important;
}

/* Ocultar el switcher de idiomas SOLO en la landing con ID 5558 */
.page-id-5558 .trp-language-switcher,
.page-id-5558 .trp-language-switcher-container,
.page-id-5558 .trp-language-switcher-wrap,
.page-id-5558 #trp-floater-ls,
.page-id-5558 .trp-language-switcher-widget {
    display: none !important;
}

@media (min-width: 1025px) {
  .img-responsive {
    max-width: 600px;
    margin: auto;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .img-responsive {
    max-width: 500px;
  }
}

@media (max-width: 767px) {
  .img-responsive {
    width: 100%;
    height: auto;
  }
}

/* Oculta todas las categorías de productos */
.woocommerce .product-category,
.woocommerce-page .product-category {
    display: none !important;
}

/* Oculta todos los productos en las páginas de la tienda */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    display: none !important;
}

/* Oculta también secciones promocionales o de ofertas */
.woocommerce .related.products,
.woocommerce .upsells.products,
.woocommerce .cross-sells,
.woocommerce .woocommerce-loop-product__title,
.woocommerce .woocommerce-loop-category__title {
    display: none !important;
}

/* 1. Ocultar breadcrumb ("Inicio / Tienda Online") */
.woocommerce-breadcrumb {
    display: none !important;
}

/* 2. Ocultar categorías de productos */
.woocommerce .product-category,
.woocommerce-page .product-category {
    display: none !important;
}

/* 3. Ocultar productos individuales */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    display: none !important;
}

/* 4. Ocultar el selector de orden (Orden predeterminado, por popularidad, etc.) */
.woocommerce .woocommerce-ordering {
    display: none !important;
}

/* 5. Ocultar el texto "Mostrando X resultados" */
.woocommerce-result-count {
    display: none !important;
}

/* 6. También ocultar secciones de productos relacionados, sugerencias, etc. */
.woocommerce .related.products,
.woocommerce .upsells.products,
.woocommerce .cross-sells {
    display: none !important;
}

/* Ocultar el botón "Producto" en el menú */
.menu-item a[href*="producto"],
.menu-item a:contains("Producto") {
    display: none !important;
}

/* Por si el botón tiene ID específico en el menú */
#menu-item-producto {
    display: none !important;
}

/* Ocultar "Nuevo curso" en la página de Tutor LMS (en backend) */
body.wp-admin a.tutor-btn.tutor-btn-primary.tutor-create-new-course {
  display: none !important;
}

/* Aplicar solo en páginas de Tutor LMS (cursos y lecciones) */
body.tutor-lms.tutor-frontend {
  /* Forzar Tutor LMS en horizontal y mostrar aviso en vertical en iPad */
}

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (pointer: coarse) /* típicamente tablets */ {

  /* Mantener contenido en horizontal */
  body.tutor-lms.tutor-frontend {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
  }

  /* Ocultar el contenido real de Tutor LMS */
  body.tutor-lms.tutor-frontend #tutor-main,
  body.tutor-lms.tutor-frontend .tutor-wrapper,
  body.tutor-lms.tutor-frontend body > #page {
    display: none !important;
  }

  /* Mensaje vertical con fondo */
  body.tutor-lms.tutor-frontend::before {
    content: "";
    display: block;
    background: url('https://abrilentertainment.com/wp-content/uploads/2025/08/pexels-tirachard-kumtanom-112571-450055.jpg') center/cover no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;
  }

  /* Logo y textos centrados, logo 10cm más arriba, texto en español e inglés */
  body.tutor-lms.tutor-frontend::after {
    content: "♻️ Abril Entertainment no es compatible con orientación vertical en iPad, vuelve a horizontal 😉\A\A♻️ Abril Entertainment is not compatible with vertical orientation on iPad, please rotate to horizontal 😉";
    white-space: pre-line; /* permite saltos de línea */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* centrado exacto en X/Y */
    text-align: center;
    font-size: 1.8em; /* tamaño de letra más pequeño */
    font-weight: bold;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    padding: 0 50px; /* más margen lateral */
    box-sizing: border-box;

    /* Logo encima del texto, desplazado 10cm hacia arriba */
    background-image: url('https://abrilentertainment.com/wp-content/uploads/2025/08/ABRIL-ENTERTAINMENT-Web.png');
    background-repeat: no-repeat;
    background-position: center calc(50% - 10cm); /* 10cm hacia arriba */
    background-size: 40% auto;
  }
}

/* Ocultar TranslatePress solo en Tutor LMS (cursos y lecciones) */
body.tutor-lms.tutor-frontend .trp-language-wrap,
body.tutor-lms.tutor-frontend .trp-language-wrap-bottom,
body.tutor-lms.tutor-frontend .trp-language-switcher,
body.tutor-lms.tutor-frontend .trp-language-switcher-container,
body.tutor-lms.tutor-frontend .trp-language-switcher-wrap,
body.tutor-lms.tutor-frontend #trp-floater-ls,
body.tutor-lms.tutor-frontend .trp-language-switcher-widget {
    display: none !important;
}

.wpgb-facet-title {
  text-align: left !important;
}