/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* Estilo para el contador del carrito en el header */
.header-misc-icon a {
    position: relative;
}

.top-cart-number {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #ca9136; /* Un color que combine con tu marca */
    color: white;
    font-size: 11px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.top-cart-number.d-none {
    display: none;
}

/* Estilos para el Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

.whatsapp-float i {
    margin-top: 8px; /* Centra el icono verticalmente */
}

/* Ajuste para móviles, para que no esté tan pegado al borde */
@media (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 110px;
        right: 20px;
        font-size: 24px;
    }

    .whatsapp-float i {
        margin-top: 8px;
    }
}
