
/* Existing catalogo-specific rules (kept for backward compatibility) */
.div-contenido {
	margin: 0 auto;
	align-items: center;
}

.barra-navegacion {
	display: block;
	margin-bottom: 20px;
}

/*en carousele.html agregar un boton con icono de basurero al hacer hover sore la foto que esta en el div con esta clase vista-previa*/
.vista-previa {
	position: relative;
}

.vista-previa:hover .boton-eliminar {
	display: block;
}

.boton-eliminar {
	display: none;
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: rgba(255, 0, 0, 0.7);
	border: none;
	color: white;
	padding: 5px;
	border-radius: 50%;
	cursor: pointer;
}

.boton-eliminar:hover {
	background-color: rgba(255, 0, 0, 1);
}

/*fin de boton eliminar en carousele.html*/

/*==============START BARRA DE NAVEGACION===========================*/
.nav-principal{
    background-color: #FFFFFF;
    height: 80px;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;  
    align-items: center; 
    box-shadow: none;
    box-sizing: border-box;
    border-bottom: 1px solid #E8E8E8;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-principal:hover{
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.accesos-nav-principal{
    text-decoration: none;
    color: #2C2C2C;
    font-weight: 500;
    position: relative;
    transition: 0.2s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.accesos-nav-principal:hover{
    color: #5C1D28;
    border-bottom-color: #5C1D28;
}

.accesos-nav-logo{
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-link{
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text{
    font-size: 15px;
    font-weight: 400;
    color: #2C2C2C;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: 0.2s ease;
}

.logo-link:hover .logo-text{
    color: #5C1D28;
}

@media (max-width: 768px){
    .accesos-nav-logo{ 
        height: 30px; 
    }
    .logo-text{ 
        font-size: 13px; 
    }
}

.span-menu{
	display: block;
	color: #2C2C2C;
}
.btn-menu{
    background-color: transparent;
    border: none;
}
.btn-menu i{
    font-size: 28px;
    color: #2C2C2C;
    transition: transform 0.2s ease; /* transición suave */
}

/* Cuando se hace click en BTN, el ícono crece */
.btn-menu:active i{
    transform: scale(1.1); /* Aumenta un 10% */
    color: #5C1D28;
}
/*==============END BARRA DE NAVEGACION=============================*/

/*==============START CINTA AGOTADO================================*/
.cinta-agotado {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    overflow: hidden;
    z-index: 10;
    pointer-events: none;
}

/* Cinta realista */
.cinta-agotado::before {
    content: 'AGOTADO';
    position: absolute;
    top: 32px;
    left: -37px;
    width: 170px;
    height: 30px;
    background: linear-gradient(to bottom, 
        #e63946 0%, 
        #dc3545 50%, 
        #c82333 100%);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 30px;
    transform: rotate(-45deg);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.35),
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 -1px 0 rgba(255, 255, 255, 0.2);
}

/* Versión pequeña para autocomplete */
.search-autocomplete__img .cinta-agotado {
    width: 60px;
    height: 60px;
}

.search-autocomplete__img .cinta-agotado::before {
    content: 'AGOTADO';
    top: 12px;
    left: -15px;
    width: 70px;
    height: 16px;
    font-size: 7px;
    letter-spacing: 0.5px;
    line-height: 16px;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.35),
        0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}
/*==============END CINTA AGOTADO==================================*/


