/*
 Theme Name:   La Plena Noche theme
 Theme URI:    https://laplenanoche.com/
 Description:  Tema hijo de Bricks Builder para personalizaciones
 Author:       La plena noche
 Author URI:   https://laplenanoche.com/
 Template:     bricks
 Version:      1.0
 Text Domain:  La plena noche
*/

/*Estilos globales personalizados*/

/*Scroll suave y compensación scroll en anclas*/
html{
	scroll-behavior:smooth;
	scroll-padding-top:100px;
	transition: all 0.4s ease-in;
}
.tittle-accent{
    font-size: 2.9rem;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: 0.14rem;
	color:#BF569A;
}
/*Item producto*/
.product-hover-icons {
position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    height: 100%;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
	background: rgb(0 0 0 / 32%);
}
.product-item:hover .product-hover-icons {
    opacity: 1; 
}
.ico-product a, .ico-product {
    min-width: 46px !important;
    min-height: 46px !important;
    display: grid !important
;
    align-content: center;
    justify-content: center !important;
}

/*TOOLTIP icons*/
/* Base para el tooltip */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

/* Texto del tooltip (oculto por defecto) */
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%; /* Posición inicial (arriba del icono) */
    margin-bottom: 8px;
    padding: 6px 12px;
    background: #333;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 100;
}

/* Flecha del tooltip */
[data-tooltip]::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    margin-bottom: 2px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

/* Mostrar tooltip al hover */
[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Posición "top" (por defecto) */
.tooltip-top::after {
    bottom: 100%;
    top: auto;
}
.tooltip-top::before {
    bottom: 100%;
    top: auto;
    border-color: #333 transparent transparent transparent;
}
