/*
Theme Name: Astra child
Theme URI:  https://www.wpserveur.net
Author:     WPServeur
Author URI: https://www.wpserveur.net
Template:   astra
Version:    1.0
License:    GNU General Public License v2 or later
*/


/* Página en Construcción */

.elementor-page-2 .header-main-layout-1{
	display:none;
}

.elementor-page-2 .site-footer{
	display:none
}

img{
	margin:auto;
}



/* Header */

.header{
	display:flex;
}

.logo img.logo-header{
	max-width: 500px;
  	margin: 0 5rem;
}

.ast-site-title-wrap{
	display:none;
}

.site-header-primary-section-left{
	max-width:fit-content;
}

.ast-primary-header-bar{
	background:#121417;
}

.site-primary-header-wrap{
	min-width:100%;
}

.mi-contenedor-menu-propio{
	max-width: 50%;
  	width: fit-content;
  	margin: 0 5rem;
}

.mi-lista-menu{
	display: flex;
	margin-bottom: 0;
}

.mi-lista-menu li{
	list-style: none;
	margin: 0 15px;
}

.mi-lista-menu li a{
	color:#FFFFFF;
	font-weight: 500;
}

.mi-lista-menu li a:hover{
	color:#C2A56D
}

.contenedor-buscador-desplegable button{
	display:none;
}

.contenedor-buscador-desplegable input{
	margin:5px 0;
	background: transparent;
  	border: 1px solid #fff;
	color:#C2A56D;
}

.contenedor-buscador-desplegable input:hover{
	border: 1px solid #C2A56D;
	color:#fff;
	background: transparent;
}

/* Menu header */
.mi-contenedor-menu-propio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; /* Necesario para posicionar el buscador desplegable */
}

.contenedor-buscador-desplegable {
    position: relative;
}

#toggle-buscador {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    color: #fff;
}

#caja-buscador {
    position: absolute;
    right: 0;
    top: 100%; /* Aparece justo debajo de la barra */
    margin-top: 10px;
    background-color: transparent;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    padding: 12px;
    border-radius: 6px;
    z-index: 999;
    min-width: 260px;
	margin-right: 8px;
	width:480px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

#caja-buscador.activo {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Boton carrito menu */
.cart-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: #ffffff;
    text-decoration: none;
}

.cart-icon {
    width: 24px;
    height: 24px;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #e63946; /* Color del círculo */
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    line-height: 1;
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}