/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* QUITAR PLAZAS PRODUCTO */
/* Oculta cualquier aviso de stock/plazas del producto en WooCommerce */
.woocommerce-js div.product p.ast-stock-detail, 
.woocommerce-js div.product p.stock {
    display: none !important;
}


/* QUITAR NOTAS ADICIONALES CHECKOUT */
/* Oculta el campo "Notas del pedido" en el checkout */
.woocommerce-additional-fields {
    display: none !important;
}


/* OVERLAY OSCURO EN MÓVIL PARA LA SECCIÓN elementor-element-c0b3a22 */
/* Añade una capa oscura encima de esa sección para mejorar legibilidad */
@media only screen and (max-width: 767px) {
  .elementor-element-c0b3a22::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* capa negra con 70% opacidad */
    z-index: 1;
  }

  /* Permite que la capa oscura se superponga correctamente */
  .elementor-element-c0b3a22 {
    position: relative;
    z-index: 0;
  }

  /* Hace que el contenido vaya por encima de la capa oscura */
  .elementor-element-c0b3a22 .elementor-widget-container,
  .elementor-element-c0b3a22 .elementor-heading-title,
  .elementor-element-c0b3a22 .elementor-widget {
    position: relative;
    z-index: 2;
  }
}


/* OVERLAY BLANCO SEMITRANSPARENTE EN MÓVIL PARA elementor-element-3ef9595 */
/* Añade un velo blanco para aumentar contraste del texto */
@media only screen and (max-width: 767px) {
  .elementor-element-3ef9595::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* blanco 70% opacidad */
    z-index: 1;
  }

  /* Permite que la capa se sitúe debajo del contenido */
  .elementor-element-3ef9595 {
    position: relative;
    z-index: 0;
  }

  /* Hace que el contenido esté por encima del overlay blanco */
  .elementor-element-3ef9595 .elementor-widget-container,
  .elementor-element-3ef9595 .elementor-heading-title,
  .elementor-element-3ef9595 .elementor-widget {
    position: relative;
    z-index: 2;
  }
}


/* AJUSTE DEL MENÚ EN HEADER ASTRA */
/* Quita un pequeño margen derecho del menú para que se alinee bien */
.ast-builder-menu-1 .main-header-menu, 
.ast-header-break-point .ast-builder-menu-1 .main-header-menu {
     margin-right: 0px !important;
}


/* ESTILO PARA EL POPUP DE AVISO "BACK IN STOCK" */
/* Cambia colores del encabezado del popup a negro */
.cwginstock-subscribe-form .panel-primary>.panel-heading {
    color: #fff;                  /* texto blanco */
    background-color: #000000 !important;  /* fondo negro */
    border-color: #000000 !important;      /* borde negro */
}

/* Borde del cuadro principal también en negro */
.cwginstock-subscribe-form .panel-primary {
    border-color: #000000 !important;
}
