/**
 * Hitz PromoBar Styles - Watermark Style
 */

/* Hide promo bar on all pages except homepage */
body:not(.cms-index-index) .custom-promo-bar {
    display: none !important;
}

.custom-promo-bar {
    background: #E6E6DC !important;
    color: rgba(29, 28, 29, 0.5) !important;
    padding: 8px 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    width: 100% !important;
    min-height: 32px !important;
    z-index: 1000 !important;
    font-family: 'Poppins', sans-serif !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Sticky promo bar styles - homepage only */
.cms-index-index .custom-promo-bar.sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important; /* Above header (9999) */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.promo-center {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    width: auto !important;
    max-width: calc(100% - 250px) !important;
    pointer-events: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

.promo-right {
    display: flex !important;
    margin-left: auto !important;
    margin-right: 20px !important;
    z-index: 1 !important;
    flex-shrink: 0 !important;
    min-width: 150px !important;
}

.promo-link {
    color: #000000 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    position: relative !important;
    line-height: 32px !important;
    transition: color 0.3s ease !important;
    font-family: 'Poppins', sans-serif !important;
}

.promo-link:hover {
    color: rgba(51, 49, 46, 0.9) !important; /* Slightly darker on hover */
    text-decoration: underline !important;
}

.promo-right .promo-link:not(:last-child)::after {
    content: '|' !important;
    margin: 0 15px !important;
    color: rgba(51, 49, 46, 0.4) !important;
    font-weight: 300 !important;
}

.promo-message {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    letter-spacing: 1px !important;
    opacity: 0.7 !important; /* Additional watermark effect */
    font-family: 'Poppins', sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
}

@media (max-width: 768px) {
    .custom-promo-bar {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 10px 5px !important;
    }
    
    .promo-center {
        position: static !important;
        transform: none !important;
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
    }
    
    .promo-right {
        display: none !important;
    }
    
    .promo-message {
        font-size: 12px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}

