/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Estilos para la etiqueta "Agotado" */
/*
.etiqueta-agotado {
    position: absolute;
    bottom: 14%;
    left: 0;
    right: 0;
    width: 100%;
    /*background-color: var(--e-global-color-secondary); /* Código de color de fondo */
/*	background-color:yellow;
	color: black; /* Código de color de letra */
/*    padding: 5px 0;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 100;
    box-sizing: border-box;
	border-radius: 10px;
}
*/
/* Aseguramos que la caja del producto sea el punto de referencia */
.product { 
    position: relative; 
}

/* Movemos el banner al borde superior */
.etiqueta-agotado {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10; /* Para que quede por encima de la foto */
    margin: 0; 
    border-radius: 4px 4px 0 0; /* Opcional: redondea solo las esquinas de arriba */
	background-color:yellow;
	color: black; /* Código de color de letra */
    padding: 5px 0;
	text-align: center;
    font-size: 20px;
    font-weight: bold;
	box-sizing: border-box;
	border-radius: 10px;
}

/* Asegurarse de que la posición relativa esté en el contenedor del producto */
.product {
    position: relative;
}

/* Estilos responsive para smartphones */
@media screen and (max-width: 768px) {
    .etiqueta-agotado {
        bottom: 18%;
		font-size: 12px;
        padding: 3px 0;
    }
}