/* Barra superior B2B — solo estilos ligeros para el resto del sitio */

.ytsmed-b2b-bar {
    position: relative;
    z-index: 10001;
    width: 100%;
    color: #23a455;
    font-family: Montserrat, system-ui, sans-serif;
    font-size: 0.76rem;
    line-height: 1.25;
    background: #ffffff !important;
    border-bottom: 1px solid #23a455;
    box-shadow: none;
}

.ytsmed-b2b-bar.is-hidden {
    display: none !important;
}

.ytsmed-b2b-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.55rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.55rem 2rem 0.55rem 0.75rem;
}

.ytsmed-b2b-bar__text {
    color: #23a455;
    font-weight: 500;
}

.ytsmed-b2b-bar__link {
    color: #1e8f4a !important;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.ytsmed-b2b-bar__link:hover,
.ytsmed-b2b-bar__link:focus-visible {
    color: #187a40 !important;
    outline: none;
}

.ytsmed-b2b-bar__close {
    position: absolute;
    top: 50%;
    right: 0.55rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    padding: 0;
    color: #23a455 !important;
    -webkit-text-fill-color: #23a455 !important;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1;
    background: transparent !important;
    border: 0 !important;
    border-radius: 4px;
    box-shadow: none !important;
    cursor: pointer;
    appearance: none;
}

.ytsmed-b2b-bar__close:hover,
.ytsmed-b2b-bar__close:focus-visible {
    color: #1e8f4a !important;
    -webkit-text-fill-color: #1e8f4a !important;
    background: #e8f7ee !important;
    outline: none;
}

motive-x,
#motive-x,
.motive-x-host,
[data-motive-layer] {
    z-index: 10100 !important;
}

@media (max-width: 768px) {
    .ytsmed-b2b-bar__inner {
        padding-right: 1.75rem;
        font-size: 0.72rem;
    }
}
