/**
 * Nutrivip Sticky Bar CSS
 * Estilos para la barra informativa sticky
 * @version 1.0.2
 */

.sticky-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: #ffffff;
    text-align: center;
    padding: 8px 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 14px;
    font-weight: 500;
}

.sticky-bar-content {
    flex: 1;
    max-width: 1200px;
}

.sticky-bar-content p {
    margin: 0;
    animation: fadeIn 0.5s ease-in-out;
}

.sticky-bar-close {
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    padding: 0 10px;
    opacity: 0.8;
    transition: opacity 0.3s;
    background: none;
    border: none;
    outline: none;
}

.sticky-bar-close:hover {
    opacity: 1;
}

.sticky-bar-close:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .sticky-bar {
        font-size: 12px;
        padding: 6px 15px;
    }
}
