/*
* Estilos para el módulo HomeBanner v2
*/

/* Top Bar Styles */
#topbar_container {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(0);
    opacity: 1;
}

#topbar_container.hidden-on-scroll {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Mobile configurator modal (customdata, z-index 1001) open: the bar would cover its header */
body.mobile-modal-open #topbar_container {
    display: none;
}

/* Adjust header position to account for top bar */
#header {
    top: 35px !important;
}

/* When scrolled, adjust header position */
body.topbar-hidden #header {
    top: 0 !important;
}

/* Mobile adjustments for header positioning */
@media (max-width: 991px) {
    #header {
        top: 30px !important;
    }
}

/* Push page content down to make room for top bar, but not breadcrumb */
#page {
    margin-top: 35px !important;
}

body.topbar-hidden #page {
    margin-top: 0 !important;
}

@media (max-width: 991px) {
    #page {
        margin-top: 30px !important;
    }
}

/* Remove gap between breadcrumb and content */
#floattop {
    margin-bottom: 0 !important;
}

.breadcrumb {
    margin-bottom: 0 !important;
    bottom: -130px !important;
}

.top-bar-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.top-bar-link:hover {
    text-decoration: none;
    color: inherit;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 15px;
    text-align: center;
    flex-wrap: wrap;
    min-height: 35px;
}

.top-bar-intro {
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
}

.top-bar-intro strong {
    text-align: center;
}

.top-bar-promo {
    font-size: 15px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 4px;
    background-color: #000000;
    color: #ffffff;
    white-space: nowrap;
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .top-bar-content {
        flex-direction: row;
        gap: 6px;
        padding: 3px 10px;
        min-height: 30px;
    }

    .top-bar-intro {
        font-size: 12px;
        text-align: center;
    }

    .top-bar-promo {
        font-size: 13px;
        text-align: center;
    }

    .breadcrumb {
        bottom: -45px !important;
    }
}


#columns {
    margin-top: -30px !important;
}