.marketplace-title .marketplace-brand-image {
    object-fit: contain;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

/* Keep the real select for forms, dependent filters, validation and tour bounds. */
.mp-select {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
body .mp-select > select.mp-select-native {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
}
body .mp-select .mp-select-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    height: var(--control-height, 40px);
    margin: 0;
    padding: 0 12px;
    color: var(--ink);
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    border-radius: var(--ui-radius-sm, 9px);
    font: inherit;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
}
.mp-select-trigger::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--muted);
    border-bottom: 1.5px solid var(--muted);
    transform: rotate(45deg) translateY(-2px);
    flex: 0 0 6px;
    margin-left: auto;
}
body .mp-select .mp-select-trigger:focus-visible,
body .mp-select .mp-select-trigger[aria-expanded="true"] {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
body .mp-select .mp-select-trigger:disabled { opacity: .6; cursor: not-allowed; }
body .mp-select .mp-select-trigger[aria-readonly="true"] { cursor: default; }
body .mp-select .mp-select-trigger[aria-invalid="true"] { border-color: var(--red); }
body .mp-select img.mp-select-icon,
body .mp-select-menu img.mp-select-icon {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    object-fit: contain;
    border: 0;
    border-radius: 0;
}
body .mp-select .mp-select-text {
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    text-transform: none;
    letter-spacing: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body .mp-select-menu {
    position: fixed;
    inset: auto;
    z-index: 30000;
    box-sizing: border-box;
    margin: 0;
    padding: 5px;
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--surface, #fff);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 36px rgb(0 0 0 / .2);
    font-family: inherit;
}
.mp-select-menu[hidden] { display: none !important; }
.mp-select-menu::backdrop { background: transparent; }
body .mp-select-menu .mp-select-option {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
}
body .mp-select-menu .mp-select-option .mp-select-text {
    min-width: 0;
    color: inherit;
    font: inherit;
    white-space: normal;
    overflow-wrap: anywhere;
}
.mp-select-option[aria-selected="true"] { color: var(--primary); background: var(--primary-soft); }
.mp-select-option.is-active { outline: 2px solid var(--primary); outline-offset: -2px; }
.mp-select-option:hover { background: var(--primary-soft); }
