/* MS Fibo Live Search. No CSS is injected into the active theme's files. */
.ms-fibo-root, .ms-fibo-overlay, .ms-fibo-overlay * { box-sizing: border-box; }
.ms-fibo-root button, .ms-fibo-overlay button { cursor: pointer; font: inherit; }
.ms-fibo-root [hidden], .ms-fibo-overlay [hidden] { display: none !important; }
.ms-fibo-root { display: inline-flex; flex: 0 0 auto; min-width: 180px; }
.ms-fibo-open-trigger { display: flex; align-items: stretch; width: 100%; min-height: 40px; border: 1px solid #cbd2dd; background: #fff; color: #131313; padding: 0; }
.ms-fibo-open-label { padding: 9px 14px; min-width: 136px; display: flex; align-items: center; text-align: left; color: #747474; font-size: 13px; font-weight: 400; }
.ms-fibo-open-action { display: flex; align-items: center; justify-content: center; background: #fff; padding: 9px 15px; border-left: 1px solid #dbe0e6; color: #131313; font-size: 13px; font-weight: 600; }
.ms-fibo-open-trigger:hover, .ms-fibo-open-trigger:focus-visible { border-color: #1769ef; outline: none; }
body.ms-fibo-live-open { overflow: hidden !important; }
.ms-fibo-overlay { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100dvh !important; z-index: 2147480000; pointer-events: none; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s ease; font-family: Arial, Helvetica, sans-serif; color: #131313; font-size: 14px; }
.ms-fibo-overlay.ms-fibo-open { opacity: 1; visibility: visible; pointer-events: auto; }
.ms-fibo-backdrop { position: absolute; inset: 0; background: rgba(10,14,23,.70); }
.ms-fibo-modal { position: relative; z-index: 1; width: 100%; max-width: none; margin: 0; padding: 15px clamp(12px,3vw,52px) 30px; background: #fff; max-height: min(86dvh, 560px); overflow: auto; overscroll-behavior: contain; box-shadow: 0 10px 24px rgba(0,0,0,.08); transition: max-height .2s ease-out; }
.ms-fibo-modal.ms-fibo-has-results { max-height: 100dvh; min-height: 100dvh; overflow: auto; }
.ms-fibo-search-row { display: flex; align-items: center; gap: 10px; min-height: 62px; }
.ms-fibo-search-block { flex: 1 1 0; position: relative; min-width: 0; }
/* Vanilla search input. Scope every rule so Easy Store cannot restyle it. */
.ms-fibo-search-form { display: flex; width: 100%; height: 60px; min-width: 0; position: relative; align-items: center; margin: 0; border-bottom: 1px solid #2876ee; background: #fff; }
.ms-fibo-screen-reader { position: absolute; clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; white-space: nowrap; }
.ms-fibo-search-block input.ms-fibo-search-input { flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; padding: 0 12px; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #131313; font: 400 16px/normal Arial, Helvetica, sans-serif; }
.ms-fibo-search-block input.ms-fibo-search-input:focus { outline: none; box-shadow: none; }
.ms-fibo-search-input::-webkit-search-cancel-button, .ms-fibo-search-input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.ms-fibo-search-clear, .ms-fibo-search-submit { flex: 0 0 40px; width: 40px; height: 48px; border: 0; padding: 0; background: transparent; color: #222; display: inline-flex; align-items: center; justify-content: center; }
.ms-fibo-search-clear { font-size: 22px; }
.ms-fibo-search-submit svg { display: block; width: 21px; height: 21px; }
.ms-fibo-input-ghost { position: absolute !important; z-index: 8; display: block; pointer-events: none !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 16px; user-select: none; opacity: 1; }
.ms-fibo-input-ghost::-webkit-search-cancel-button, .ms-fibo-input-ghost::-webkit-search-decoration { display: none; }
.ms-fibo-close { flex: 0 0 40px; width: 40px; height: 40px; line-height: 1; border: 0; background: transparent; color: #666; font-size: 32px !important; }
.ms-fibo-close:hover { color: #111; }
.ms-fibo-recent { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; }
.ms-fibo-recent-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-fibo-recent-chip { display: inline-flex; gap: 2px; align-items: center; border: 1px solid #b5b7bd; border-radius: 50px; background: #fff; padding: 2px 7px; }
.ms-fibo-recent-chip button { border: 0; background: transparent; padding: 3px; font-size: 13px; }
.ms-fibo-recent-remove { color: #666; font-size: 19px !important; }
.ms-fibo-clear-recent { background: none; border: 0; text-decoration: underline; font-size: 12px !important; }
.ms-fibo-suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0 13px; }
.ms-fibo-suggestion-chip { background: #fff; border: 1px solid #aaa; border-radius: 50px; padding: 7px 13px; color: #151515; font-size: 13px !important; font-weight: 600 !important; }
.ms-fibo-suggestion-chip:hover, .ms-fibo-suggestion-chip:focus-visible { border-color: #1769ef; }
.ms-fibo-welcome { display: flex; gap: 32px; padding: 20px 0 4px; }
.ms-fibo-welcome h2 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; }
.ms-fibo-popular { flex: 0 0 160px; }
.ms-fibo-popular-list { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ms-fibo-popular-list button { border: 0; background: none; padding: 0; text-align: left; font-size: 13px !important; }
.ms-fibo-popular-list button:hover { text-decoration: underline; }
.ms-fibo-recommended { flex: 1 1 0; min-width: 0; }
.ms-fibo-recommended h2 { margin-left: 40px; margin-bottom: 8px; }
.ms-fibo-carousel { display: flex; align-items: center; min-width: 0; gap: 10px; }
.ms-fibo-carousel-prev, .ms-fibo-carousel-next { flex: 0 0 24px; border: 0; background: transparent; font-size: 32px !important; color: #1769ef; padding: 0; line-height: 1; }
.ms-fibo-carousel-prev:disabled, .ms-fibo-carousel-next:disabled { cursor: default; pointer-events: none; opacity: .5; }
.ms-fibo-carousel-track { flex: 1 1 0; min-width: 0; display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x mandatory; }
.ms-fibo-carousel-track::-webkit-scrollbar { display: none; }
.ms-fibo-recommendation-card, .ms-fibo-product-card { flex-direction: column; text-decoration: none; color: #131313; border: 1px solid #d0d3d9; border-radius: 3px; background: #fff; padding: 14px 13px 15px; display: flex; min-width: 0; box-shadow: none; }
.ms-fibo-recommendation-card { flex: 0 0 clamp(165px,16vw,235px); min-height: 295px; scroll-snap-align: start; }
.ms-fibo-recommendation-card:hover, .ms-fibo-recommendation-card:focus-visible,
.ms-fibo-product-card:hover, .ms-fibo-product-card:focus-visible { border-color: #1769ef; outline: none; box-shadow: inset 0 0 0 1px #1769ef; }
.ms-fibo-card-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 170px; margin-bottom: 12px; }
.ms-fibo-card-image img { display: block; width: auto !important; max-width: 100%; height: auto !important; max-height: 100%; object-fit: contain; }
.ms-fibo-card-title { color: #151515; line-height: 1.42; font-size: 13px; overflow-wrap: anywhere; margin: 0 0 16px; }
.ms-fibo-card-sku { color: #222; margin-top: auto; font-size: 12px; overflow-wrap: anywhere; }
.ms-fibo-results { padding-top: 12px; }
.ms-fibo-loading { color: #586277; font-size: 13px; padding: 20px; }
.ms-fibo-results-layout { display: grid; grid-template-columns: minmax(190px, 270px) minmax(0,1fr); gap: 28px; }
.ms-fibo-filters { min-width: 0; }
.ms-fibo-filters-heading { display: flex; align-items: center; justify-content: space-between; }
.ms-fibo-filters-heading h2 { font-size: 18px; margin: 0; }
.ms-fibo-filters-heading button { width: 40px; height: 40px; border: 0; background: none; }
.ms-fibo-chevron::after { display: block; content: ''; width: 32px; height: 32px; background: transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M24%2030.75%2012%2018.75%2014.15%2016.6%2024%2026.5%2033.85%2016.65%2036%2018.8Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center; transform: rotate(180deg); transition: transform .125s ease; }
.ms-fibo-chevron[aria-expanded="false"]::after { transform: rotate(0deg); }
.ms-fibo-facet-explanation { font-size: 11px; color: #717785; margin: 4px 0 14px; }
.ms-fibo-filter-option { display: flex; align-items: center; gap: 7px; font-size: 13px; margin: 0 0 11px; cursor: pointer; }
.ms-fibo-filter-option input { accent-color: #1769ef; width: 15px; height: 15px; }
.ms-fibo-filter-option span { flex: 1 1 auto; min-width: 0; }
.ms-fibo-filter-option small { color: #777; }
.ms-fibo-clear-filter { background: transparent; padding: 5px; border: 0; text-decoration: underline; }
.ms-fibo-products { min-width: 0; }
.ms-fibo-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 0 0 18px; }
.ms-fibo-toolbar strong { font-size: 13px; }
.ms-fibo-toolbar label { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; }
.ms-fibo-toolbar select { border: 0; background: #fff; color: #151515; padding: 10px 12px; max-width: 230px; font-size: 13px; }
.ms-fibo-product-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.ms-fibo-product-card { min-height: 315px; }
.ms-fibo-load-footer { min-height: 42px; padding: 20px 0; text-align: center; }
.ms-fibo-load-footer button { border: 1px solid #b5bcc9; background: #fff; border-radius: 3px; padding: 8px 16px; }
.ms-fibo-load-footer button:hover { border-color: #1769ef; }
/* Admin preview (not used by the live theme). */
.ms-fibo-preview { margin: 0; font-family: Arial, Helvetica, sans-serif; }
.ms-fibo-preview-top { min-height: 78px; padding: 12px 3%; display: flex; gap: 28px; align-items: center; justify-content: space-between; }
.ms-fibo-preview-brand { text-decoration: none; font-weight: 700; color: #163650; font-size: 22px; }
.ms-fibo-preview nav ul { display: flex; list-style: none; gap: 20px; margin: 0; padding: 0; }
.ms-fibo-preview nav a { text-decoration: none; color: inherit; font-size: 13px; }
.ms-fibo-preview-primary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 8px 3%; background: #153d60; color: #fff; }
.ms-fibo-preview-main { height: 40vh; }
@media (min-width: 1700px) { .ms-fibo-product-grid { grid-template-columns: repeat(6,minmax(0,1fr)); } }
@media (max-width: 1150px) { .ms-fibo-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width: 900px) { .ms-fibo-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .ms-fibo-welcome { gap: 15px; } .ms-fibo-recommendation-card { flex-basis: 200px; } }
@media (max-width: 720px) {
    .ms-fibo-root { width: auto; min-width: 0; }
    .ms-fibo-open-label { min-width: 120px; }
    .ms-fibo-overlay { width: 100vw !important; }
    .ms-fibo-modal { padding: 10px 12px 20px; max-height: 94dvh; }
    .ms-fibo-modal.ms-fibo-has-results { min-height: 100dvh; max-height: 100dvh; }
    .ms-fibo-search-row { gap: 4px; }
    .ms-fibo-search-form { height: 55px; }
    .ms-fibo-search-block input.ms-fibo-search-input { font-size: 16px !important; }
    .ms-fibo-welcome { flex-direction: column; gap: 22px; padding-top: 14px; }
    .ms-fibo-popular { flex-basis: auto; }
    .ms-fibo-popular-list { flex-direction: row; flex-wrap: wrap; gap: 12px; }
    .ms-fibo-recommended h2 { margin-left: 34px; }
    .ms-fibo-recommendation-card { flex-basis: min(72vw,230px); }
    .ms-fibo-results-layout { display: block; }
    .ms-fibo-filters { margin-bottom: 22px; }
    .ms-fibo-filter-option { display: inline-flex; margin: 0 12px 9px 0; }
    .ms-fibo-toolbar { align-items: flex-start; flex-direction: column; gap: 6px; }
    .ms-fibo-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .ms-fibo-product-card { padding: 10px; min-height: 265px; }
    .ms-fibo-card-image { height: 140px; }
    .ms-fibo-preview-top { min-height: 65px; }
    .ms-fibo-preview-top nav, .ms-fibo-preview-primary nav { display: none; }
    .ms-fibo-preview-primary { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .ms-fibo-modal, .ms-fibo-overlay, .ms-fibo-chevron::after { transition: none; } }

/* Only the standalone /ms-fibo-test/ms-fibo-test-preview.php page uses this section. */
.ms-fibo-preview-content { padding: 32px max(18px,3vw) 90px; min-height: 32vh; background: #fff; color: #181818; }
.ms-fibo-preview-content-inner { max-width: 1100px; margin: 0 auto; }
.ms-fibo-preview-content h1 { margin: 0 0 12px; font: 700 22px/1.3 Arial,Helvetica,sans-serif; color: #182d42; }
.ms-fibo-preview-content .ms-fibo-preview-note { margin: 0 0 18px; max-width: 850px; font: 13px/1.5 Arial,Helvetica,sans-serif; color: #526073; }
.ms-fibo-preview-content .ms-fibo-preview-search-slot { display: flex; align-items: center; margin: 16px 0 20px; }
.ms-fibo-preview-content .ms-fibo-root { display: inline-flex; }
@media (max-width: 720px) {
    .ms-fibo-preview-content { padding: 22px 14px 70px; }
    .ms-fibo-preview-content h1 { font-size: 18px; }
}

/*
 * Theme-compatibility isolation (real Easy Store header/footer preview).
 * The theme styles *all* buttons and also uses !important on button:hover.
 * Our own controls therefore need deliberately scoped, important values.
 * All controls are now ours; no plugin autocomplete widgets are rendered.
 */
body .ms-fibo-root,
body .ms-fibo-root *,
body .ms-fibo-overlay,
body .ms-fibo-overlay * { box-sizing: border-box !important; }

body .ms-fibo-root .ms-fibo-open-trigger,
body .ms-fibo-root .ms-fibo-open-trigger:hover,
body .ms-fibo-root .ms-fibo-open-trigger:focus-visible {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    position: static !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 40px !important;
    height: auto !important;
    line-height: 1.35 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #cbd2dd !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #131313 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font: 400 13px/1.35 Arial, Helvetica, sans-serif !important;
    cursor: pointer !important;
}
body .ms-fibo-root .ms-fibo-open-trigger:hover,
body .ms-fibo-root .ms-fibo-open-trigger:focus-visible { border-color: #1769ef !important; }

body .ms-fibo-overlay :where(button),
body .ms-fibo-overlay :where(button:hover),
body .ms-fibo-overlay :where(button:focus-visible) {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    color: #151515 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font: 400 13px/1.4 Arial, Helvetica, sans-serif !important;
    cursor: pointer !important;
}
body .ms-fibo-overlay :where(button:focus-visible),
body .ms-fibo-root .ms-fibo-open-trigger:focus-visible {
    outline: 2px solid #1769ef !important;
    outline-offset: 2px;
}
body .ms-fibo-overlay .ms-fibo-close,
body .ms-fibo-overlay .ms-fibo-close:hover {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    color: #666 !important;
    font: 400 32px/1 Arial, Helvetica, sans-serif !important;
}
body .ms-fibo-overlay .ms-fibo-close:hover { color: #111 !important; }
body .ms-fibo-overlay .ms-fibo-recent-chip {
    background: #fff !important;
    border: 1px solid #b5b7bd !important;
    border-radius: 50px !important;
    padding: 2px 7px !important;
}
body .ms-fibo-overlay .ms-fibo-recent-chip button { padding: 3px !important; }
body .ms-fibo-overlay .ms-fibo-recent-remove,
body .ms-fibo-overlay .ms-fibo-recent-remove:hover {
    color: #666 !important;
    font-size: 19px !important;
}
body .ms-fibo-overlay .ms-fibo-clear-recent {
    font-size: 12px !important;
    text-decoration: underline !important;
}
body .ms-fibo-overlay .ms-fibo-suggestion-chip,
body .ms-fibo-overlay .ms-fibo-suggestion-chip:hover,
body .ms-fibo-overlay .ms-fibo-suggestion-chip:focus-visible {
    display: inline-flex !important;
    background: #fff !important;
    border: 1px solid #aaa !important;
    border-radius: 50px !important;
    color: #151515 !important;
    font: 600 13px/1.3 Arial, Helvetica, sans-serif !important;
    padding: 7px 13px !important;
}
body .ms-fibo-overlay .ms-fibo-suggestion-chip:hover,
body .ms-fibo-overlay .ms-fibo-suggestion-chip:focus-visible { border-color: #1769ef !important; }
body .ms-fibo-overlay .ms-fibo-popular-list button {
    display: block !important;
    justify-content: flex-start !important;
    text-align: left !important;
    font-size: 13px !important;
}
body .ms-fibo-overlay .ms-fibo-popular-list button:hover { text-decoration: underline !important; }
body .ms-fibo-overlay .ms-fibo-carousel-prev,
body .ms-fibo-overlay .ms-fibo-carousel-next,
body .ms-fibo-overlay .ms-fibo-carousel-prev:hover,
body .ms-fibo-overlay .ms-fibo-carousel-next:hover {
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 40px !important;
    color: #1769ef !important;
    font: 400 32px/1 Arial, Helvetica, sans-serif !important;
}
body .ms-fibo-overlay .ms-fibo-carousel-prev:disabled,
body .ms-fibo-overlay .ms-fibo-carousel-next:disabled { cursor: default !important; opacity: .5 !important; }
body .ms-fibo-overlay .ms-fibo-filters-heading .ms-fibo-chevron { width: 40px !important; height: 40px !important; }
body .ms-fibo-overlay .ms-fibo-filter-option input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    accent-color: #1769ef !important;
}
body .ms-fibo-overlay .ms-fibo-clear-filter { padding: 5px !important; text-decoration: underline !important; }
body .ms-fibo-overlay .ms-fibo-load-footer button,
body .ms-fibo-overlay .ms-fibo-load-footer button:hover {
    background: #fff !important;
    border: 1px solid #b5bcc9 !important;
    border-radius: 3px !important;
    padding: 8px 16px !important;
}
body .ms-fibo-overlay .ms-fibo-load-footer button:hover { border-color: #1769ef !important; }
body .ms-fibo-overlay select[data-ms-fibo-sort] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    height: auto !important;
    background: #fff !important;
    color: #151515 !important;
    border: 1px solid #cbd0d8 !important;
    border-radius: 3px !important;
    padding: 8px 12px !important;
    font: 400 13px/1.4 Arial, Helvetica, sans-serif !important;
}
body .ms-fibo-overlay .ms-fibo-search-block input.ms-fibo-search-input {
    -webkit-appearance: none !important;
    appearance: none !important;
    color: #131313 !important;
    font: 400 16px/normal Arial, Helvetica, sans-serif !important;
    height: 100% !important;
    line-height: normal !important;
    padding: 0 12px !important;
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
}
body .ms-fibo-overlay .ms-fibo-search-form {
    display: flex !important;
    height: 60px !important;
    margin: 0 !important;
    width: 100% !important;
    border: 0 !important;
    border-bottom: 1px solid #2876ee !important;
    background: #fff !important;
}
body .ms-fibo-overlay .ms-fibo-search-form .ms-fibo-search-clear,
body .ms-fibo-overlay .ms-fibo-search-form .ms-fibo-search-submit {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 48px !important;
    color: #222 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
body .ms-fibo-overlay .ms-fibo-search-form .ms-fibo-search-clear {
    font-size: 22px !important;
}
body .ms-fibo-overlay .ms-fibo-search-form .ms-fibo-search-submit svg {
    display: block;
    width: 21px;
    height: 21px;
    stroke: currentColor;
}
body .ms-fibo-overlay .ms-fibo-recommendation-card,
body .ms-fibo-overlay .ms-fibo-product-card,
body .ms-fibo-overlay .ms-fibo-recommendation-card:hover,
body .ms-fibo-overlay .ms-fibo-product-card:hover {
    color: #131313 !important;
    background: #fff !important;
    text-decoration: none !important;
}
@media (max-width: 720px) {
    body .ms-fibo-overlay .ms-fibo-search-form { height: 55px !important; }
}


/* Mediasparx live header: preserve the original compact search field. */
body .es-wishlist-wrap.ms-fibo-header-search {
    margin-top: 5px !important;
}
body .es-wishlist-wrap.ms-fibo-header-search .ms-fibo-root {
    width: 201px !important;
    min-width: 0 !important;
    max-width: 100%;
}
body .es-wishlist-wrap.ms-fibo-header-search .ms-fibo-open-trigger,
body .es-wishlist-wrap.ms-fibo-header-search .ms-fibo-open-trigger:hover,
body .es-wishlist-wrap.ms-fibo-header-search .ms-fibo-open-trigger:focus-visible {
    height: 38px !important;
    min-height: 38px !important;
    font: 400 13px/1.3 'Poppins', Arial, sans-serif !important;
}
body .es-wishlist-wrap.ms-fibo-header-search .ms-fibo-open-label {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 8px 9px !important;
    font: 400 13px/1.3 'Poppins', Arial, sans-serif !important;
}
body .es-wishlist-wrap.ms-fibo-header-search .ms-fibo-open-action {
    flex: 0 0 56px !important;
    width: 56px !important;
    padding: 8px 0 !important;
    font: 400 14px/1.3 'Poppins', Arial, sans-serif !important;
}

/* Read-only ghost field: native and predicted input text use identical metrics.
   JS mirrors the real input's computed font and spacing with !important. */
body .ms-fibo-overlay .ms-fibo-input-ghost {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block;
    position: absolute !important;
    margin: 0 !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none !important;
    opacity: 1 !important;
    font-kerning: inherit;
}

/* Mobile: keep suggestions compact and prevent full-length category lists from
   pushing the product results far below the viewport. */
@media (max-width: 720px) {
    body .ms-fibo-overlay .ms-fibo-suggestions:not([hidden]) {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 0 9px;
        margin: 4px 0 10px;
    }
    body .ms-fibo-overlay .ms-fibo-suggestions::-webkit-scrollbar { display: none; }
    body .ms-fibo-overlay .ms-fibo-suggestion-chip {
        flex: 0 0 auto;
        max-width: min(75vw, 260px);
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    body .ms-fibo-overlay .ms-fibo-filters {
        margin: 0 0 16px !important;
        padding: 0 0 8px;
        border-bottom: 1px solid #e2e5ea;
    }
    body .ms-fibo-overlay .ms-fibo-filters-heading {
        min-height: 45px;
        gap: 12px;
    }
    body .ms-fibo-overlay .ms-fibo-filters-heading h2 {
        margin: 0 !important;
        font-size: 16px !important;
        line-height: 1.3 !important;
    }
    body .ms-fibo-overlay [data-ms-fibo-filter-body] {
        max-height: min(42dvh, 330px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 4px 2px 8px 0;
    }
    body .ms-fibo-overlay .ms-fibo-facet-explanation {
        margin: 0 0 8px;
        line-height: 1.5;
    }
    body .ms-fibo-overlay .ms-fibo-filter-option {
        display: grid !important;
        grid-template-columns: 17px minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-height: 42px;
        margin: 0 !important;
        padding: 8px 25px 8px 1px;
        border-bottom: 1px solid #f0f1f3;
        line-height: 1.4;
    }
    body .ms-fibo-overlay .ms-fibo-filter-option > span {
        min-width: 0;
        overflow-wrap: anywhere;
        line-height: 1.4;
    }
    body .ms-fibo-overlay .ms-fibo-filter-option > small {
        margin-left: 4px;
        font-size: 12px;
        min-width: 22px;
        text-align: right;
        font-variant-numeric: tabular-nums;
    }
    body .ms-fibo-overlay .ms-fibo-toolbar { margin-bottom: 13px; }
}
