/* MANOSALVA — franja comercial de marcas V1.1.1 */
.ms-global-brands {
    display: flex; align-items: center; gap: 14px;
    width: 100%; min-width: 0; margin: 12px auto 0; padding: 11px 14px;
    box-sizing: border-box; border: 1px solid #dfe8f2; border-radius: 14px;
    background: #f4f8fc; color: #10234b;
}
.ms-global-brands__label {
    position: relative; flex: 0 0 144px; padding: 2px 12px 2px 4px;
    border-right: 1px solid #dae4ed; font-size: 13px; font-weight: 800;
    line-height: 1.3; letter-spacing: .015em; color: #10234b;
}
.ms-global-brands__label::after {
    content: ""; display: block; width: 27px; height: 3px;
    margin-top: 6px; border-radius: 999px; background: #ed1c2e;
}
.ms-global-brands .ms-global-brands__track {
    display: flex; align-items: center; gap: 9px; flex: 1 1 0;
    min-width: 0; margin: 0; padding: 4px 3px 6px; list-style: none;
    overflow-x: auto; overscroll-behavior-inline: contain;
    scrollbar-width: thin; scrollbar-color: #b6c8db transparent;
    scroll-snap-type: x proximity; scroll-behavior: auto;
}
.ms-global-brands.is-animated .ms-global-brands__track { scroll-snap-type: none; }
.ms-global-brands__item {
    flex: 0 0 clamp(142px, 10.5vw, 184px); min-width: 0;
    margin: 0; padding: 0; scroll-snap-align: start;
}
.ms-global-brands__link, .ms-global-brands__link:visited {
    display: flex; align-items: center; justify-content: center;
    box-sizing: border-box; width: 100%; height: 60px; padding: 8px 12px;
    border: 1px solid #e2e9f0; border-radius: 10px; background: #fff;
    color: #10234b !important; font-size: 12px; font-weight: 700;
    text-align: center; text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ms-global-brands .ms-global-brands__logo {
    display: block; width: 126px !important; height: 40px !important;
    max-width: 100% !important; max-height: 100% !important;
    object-fit: contain !important; object-position: center;
}
.ms-global-brands__link:hover { border-color: #07539a; box-shadow: 0 3px 10px rgba(7,83,154,.10); }
.ms-global-brands__link:focus-visible, .ms-global-brands__toggle:focus-visible { outline: 2px solid #07539a; outline-offset: -3px; }
.ms-global-brands__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 34px; width: 34px; height: 34px; padding: 0;
    border: 1px solid #dbe5ef; border-radius: 9px; background: #fff;
    color: #07539a; font-size: 14px; cursor: pointer;
}
.ms-global-brands__toggle[hidden] { display: none !important; }
.ms-shop-hero > .ms-global-brands { width: min(94%, 1500px); }
@media (max-width: 767.98px) {
    .ms-global-brands { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 8px; margin-top: 9px; padding: 9px 10px 6px; }
    .ms-global-brands__label { grid-column: 1; grid-row: 1; border: 0; padding: 2px 3px; font-size: 12px; }
    .ms-global-brands__label::after { margin-top: 4px; }
    .ms-global-brands .ms-global-brands__track { grid-column: 1 / -1; grid-row: 2; }
    .ms-global-brands__toggle { grid-column: 2; grid-row: 1; }
    .ms-global-brands__item { flex-basis: 118px; }
    .ms-global-brands__link { height: 54px; }
    .ms-global-brands .ms-global-brands__logo { width: 94px !important; height: 34px !important; }
}
@media (prefers-reduced-motion: reduce) { .ms-global-brands__link { transition: none; } }

/* ==========================================================
   FRANJA DE MARCAS — SCROLLBAR DISCRETA
========================================================== */

.ms-global-brands .ms-global-brands__track {
    scrollbar-width: thin;
    scrollbar-color: #b6c8db transparent;
}

/* Chrome y Safari */

@supports selector(::-webkit-scrollbar) {

    .ms-global-brands .ms-global-brands__track {
        scrollbar-width: auto;
        scrollbar-color: auto;
    }

    .ms-global-brands__track::-webkit-scrollbar {
        height: 3px;
    }

    .ms-global-brands__track::-webkit-scrollbar-track {
        background: transparent;
    }

    .ms-global-brands__track::-webkit-scrollbar-thumb {
        background: #b6c8db;
        border-radius: 999px;
    }

    .ms-global-brands__track::-webkit-scrollbar-thumb:hover {
        background: #07539a;
    }

}