/* Catalogue controls keep the existing full-width product grid. */
.catalog-page > .catalog-toolbar .product-hero__meta { border-bottom: 0; }
.catalog-browse, .catalog-controlbar { --filter-line: rgba(43,108,190,.18); }
.catalog-browse { scroll-margin-top: var(--catalog-controlbar-height, 76px); }
.catalog-controlbar { position: sticky; top: 0; z-index: 35; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 16px clamp(16px,2.4vw,40px); border-top: 0; border-bottom: 1px solid var(--filter-line); background: #fff; box-shadow: 0 15px 50px rgb(33 75 130 / 7%); color: #214b82; font-size: 13px; }
.catalog-results { min-width: 0; }
.featured-products--catalog { overflow-anchor: none; }
.catalog-is-loading .catalog-controlbar { cursor: progress; }
.catalog-is-loading .catalog-controlbar::before { content: ''; position: absolute; z-index: 4; inset: auto 0 0; height: 2px; background: #426eaf; animation: catalog-loading 1s ease-in-out infinite alternate; transform-origin: left; }
.catalog-is-loading .catalog-results { opacity: .55; pointer-events: none; }
.catalog-feedback:not(.is-error) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.catalog-feedback.is-error { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0; padding: 14px clamp(16px,2.4vw,40px); background: #f7f9fc; color: #214b82; font-size: 13px; }
.catalog-feedback button { padding: 0; border: 0; background: transparent; color: #426eaf; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@keyframes catalog-loading { from { transform: scaleX(.15); opacity: .5; } to { transform: scaleX(1); opacity: 1; } }
.catalog-results__toolbar { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.catalog-results__sort, .catalog-results__limit { position: relative; display: flex; align-items: center; gap: 8px; }
.catalog-results__sort > span, .catalog-results__limit > span { display: none; }
.catalog-controlbar select, .catalog-select__trigger { appearance: none; box-sizing: border-box; max-width: 100%; min-height: 42px; padding: 10px 34px 10px 10px; border: 1px solid var(--filter-line); border-radius: 0; background: #fff; color: #214b82; font: inherit; cursor: pointer; }
.catalog-controlbar select, .catalog-select__trigger, .catalog-facet--dropdown > summary, .catalog-results__filter-toggle { transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.catalog-results__sort::after, .catalog-results__limit::after { content: ''; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.catalog-results__limit select, .catalog-results__limit .catalog-select__trigger { min-width: 64px; }
.catalog-select__trigger { display: flex; align-items: center; width: 100%; min-width: 0; text-align: left; }
.catalog-select__trigger > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-select--open { z-index: 3; }
.catalog-select--open::after { margin-top: -1px; transform: rotate(225deg); }
.catalog-select--open .catalog-select__trigger { background: #f0f4fa; border-color: #426eaf; }
.catalog-select__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 2; box-sizing: border-box; width: max-content; min-width: 100%; max-width: calc(100vw - 32px); max-height: min(65dvh,360px); padding: 8px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--filter-line); background: #fff; box-shadow: 0 12px 30px rgba(26,48,96,.12); scrollbar-width: thin; }
.catalog-select--upward .catalog-select__menu { top: auto; bottom: calc(100% + 8px); }
.catalog-select__option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; padding: 9px 10px; color: #214b82; line-height: 1.45; white-space: nowrap; cursor: pointer; transition: background-color .15s ease; }
.catalog-select__option::after { content: ''; flex: 0 0 6px; width: 6px; height: 10px; margin: -3px 2px 0 4px; border-right: 1.5px solid transparent; border-bottom: 1.5px solid transparent; transform: rotate(45deg); }
.catalog-select__option[aria-selected="true"] { background: #edf3fc; color: #244e87; }
.catalog-select__option[aria-selected="true"]::after { border-color: #426eaf; }
.catalog-select__option.is-highlighted { background: #e3ecf9; }
.catalog-facets { min-width: 0; }
.catalog-facets form, .catalog-facets__body { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.catalog-facets__header { display: none; }
.catalog-facet { min-width: 0; }
.catalog-facet summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; font-weight: 300; overflow-wrap: anywhere; }
.catalog-facet summary::-webkit-details-marker { display: none; }
.catalog-facet summary::after { content: ''; flex: 0 0 6px; width: 6px; height: 6px; margin: -3px 2px 0 auto; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.catalog-facet[open] > summary::after { transform: rotate(225deg); margin-top: 3px; }
.catalog-facet--dropdown { position: relative; }
.catalog-facet--dropdown > summary { box-sizing: border-box; min-height: 42px; padding: 10px; border: 1px solid var(--filter-line); background: #fff; white-space: nowrap; }
.catalog-facet--dropdown[open] > summary { background: #f0f4fa; border-color: #426eaf; }
.catalog-facet--dropdown.is-active > summary { background: #edf3fc; border-color: #a8bfdc; color: #244e87; }
.catalog-facet--dropdown.is-active[open] > summary { border-color: #426eaf; }
.catalog-facet__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 2; box-sizing: border-box; width: 315px; max-height: min(65dvh,520px); padding: 18px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--filter-line); background: #fff; box-shadow: 0 12px 30px rgba(26,48,96,.12); scrollbar-width: thin; }
.catalog-facet--attributes > .catalog-facet__panel { width: 380px; }
.catalog-facet__panel > .catalog-facet { padding: 14px 0; border-bottom: 1px solid var(--filter-line); }
.catalog-facet__panel > .catalog-facet:first-child { padding-top: 0; }
.catalog-facet__panel > .catalog-facet:last-child { border-bottom: 0; padding-bottom: 0; }
.catalog-facet__panel .catalog-facet[open] > summary { margin-bottom: 10px; }
.catalog-facet__badge { padding: 2px 5px; color: #426eaf; background: #edf2fa; font-size: 11px; }
.catalog-facet__active-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #426eaf; }
.catalog-facets__option { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; line-height: 1.45; cursor: pointer; }
.catalog-facets__option span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.catalog-facets__option small { padding-top: 1px; color: #8695ae; font-size: 12px; }
.catalog-facets__option input { appearance: auto; flex: 0 0 16px; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #426eaf; cursor: pointer; }
.catalog-facets__option input[type="checkbox"] { appearance: none; box-sizing: border-box; border: 1px solid #7892b6; border-radius: 0; background: #fff; transition: border-color .15s ease, background-color .15s ease; }
.catalog-facets__option input[type="checkbox"]:checked { border-color: #426eaf; background: #426eaf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8 3 3 6-6' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat; }
.catalog-facets__option:hover input[type="checkbox"]:not(:disabled) { border-color: #426eaf; }
.catalog-facets__option input:disabled { cursor: default; }
.catalog-facets__option.is-disabled { opacity: .4; cursor: default; }
.catalog-facets__options--scroll { max-height: 270px; overflow-y: auto; scrollbar-width: thin; }
.catalog-facets__option[hidden], .catalog-facets [hidden], .catalog-results__toolbar [hidden] { display: none !important; }
.catalog-facets__search { box-sizing: border-box; width: 100%; min-height: 38px; margin-bottom: 8px; padding: 8px 10px; border: 1px solid var(--filter-line); border-radius: 0; color: inherit; font: inherit; background: #fff; }
.catalog-facets__panel-title { margin: 0 0 14px; color: #8294b2; font-size: 13px; }
.catalog-facets__prices { display: flex; align-items: flex-end; gap: 8px; }
.catalog-facets__prices > span { padding-bottom: 12px; color: #a9b5ca; }
.catalog-facets__prices label { flex: 1; min-width: 0; }
.catalog-facets__prices label span { display: block; margin-bottom: 6px; color: #8294b2; font-size: 12px; }
.catalog-facets__prices input { box-sizing: border-box; width: 100%; min-height: 42px; padding: 10px; border: 1px solid var(--filter-line); border-radius: 0; background: #fff; color: inherit; font: inherit; -moz-appearance: textfield; }
.catalog-facets__prices input::-webkit-inner-spin-button { -webkit-appearance: none; }
.catalog-facets__toggles { display: flex; align-items: center; gap: 16px; margin-inline-start: 12px; padding-inline: 4px; }
.catalog-facets__toggles .catalog-facets__option { white-space: nowrap; }
.catalog-facets__no-values { margin: 10px 0 0; color: #8294b2; }
.catalog-facets__footer { display: flex; align-items: center; gap: 12px; }
.catalog-facets__apply { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; box-sizing: border-box; padding: 10px 18px; border: 1px solid #426eaf; border-radius: 0; background: #426eaf; color: #fff; font: inherit; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.catalog-facets__apply:not(:disabled):hover { background: #2e5997; border-color: #2e5997; }
.catalog-facets__apply:disabled { background: #f3f6fb; border-color: #dce5f2; color: #7386a4; cursor: default; }
.catalog-facets__reset, .catalog-chips__reset { color: #7388ab; font-size: 13px; text-align: center; text-underline-offset: 3px; }
.catalog-facets form[aria-busy="true"] .catalog-facets__apply { opacity: .6; cursor: progress; }
.catalog-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px clamp(16px,2.4vw,40px); border-bottom: 1px solid var(--filter-line); }
.catalog-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 10px; background: #eef3fa; color: #355d95; font-size: 13px; line-height: 1.3; text-decoration: none; }
.catalog-chip span:first-child { max-width: 350px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-chip span:last-child { font-size: 19px; line-height: 1; }
.catalog-chips__reset { padding: 8px; }
.catalog-empty { grid-column: 1/-1; padding: 80px 24px; text-align: center; }
.catalog-empty h2 { font-size: 26px; font-weight: 300; }
.catalog-empty p { margin: 16px 0 28px; color: #7f8ca5; }
.catalog-results .catalog-pagination { padding: 28px 24px; }
.catalog-results__filter-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 9px 14px; border: 1px solid var(--filter-line); background: #fff; color: #214b82; font: inherit; cursor: pointer; }
.catalog-results__filter-count { padding: 2px 6px; background: #426eaf; color: #fff; font-size: 11px; }
.catalog-facets__close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(43,108,190,.44); background: #2e6eb4; color: #fff; cursor: pointer; }
.catalog-facets__close:hover { background: #1e5a9c; }
.catalog-controlbar :focus-visible, .catalog-chips a:focus-visible { outline: 2px solid #426eaf; outline-offset: 3px; }
.catalog-controlbar select:focus, .catalog-controlbar .catalog-select__trigger:focus { outline: none; box-shadow: none; background-color: #f0f4fa; border-color: #8ca7ce; }
.catalog-controlbar select:focus-visible, .catalog-controlbar .catalog-select__trigger:focus-visible { border-color: #426eaf; }
.catalog-controlbar .catalog-facet--dropdown > summary:focus-visible { outline: none; border-color: #426eaf; box-shadow: inset 0 0 0 1px #426eaf; }
.catalog-controlbar .catalog-select--open .catalog-select__trigger { border-color: #426eaf; }
.catalog-filter-scroll-lock { overflow: hidden; }
@media (min-width: 1121px) {
  .catalog-controlbar .catalog-facets, .catalog-facets form, .catalog-facets__body, .catalog-results__toolbar { display: contents; }
  .catalog-controlbar [data-catalog-control], .catalog-facets__footer { order: var(--catalog-order, 0); }
  .catalog-controlbar .catalog-tool--push { margin-left: auto; }
  .catalog-facets__toggle { align-items: center; align-self: center; gap: 8px; padding: 7px 4px; white-space: nowrap; }
  .catalog-facets__toggle input { margin-top: 0; }
}
@media (hover: hover) {
  .catalog-controlbar select:hover, [data-catalog-select]:not(.catalog-select--open) > .catalog-select__trigger:hover, .catalog-results__filter-toggle:hover { background-color: #f7f9fc; border-color: #a8bfdc; }
}
@media (min-width: 1121px) and (hover: hover) {
  .catalog-facet--dropdown:not([open]) > summary:hover { background-color: #f7f9fc; border-color: #a8bfdc; }
}
@media (min-width: 1121px) { .catalog-facets__footer .catalog-facets__reset { display: none; } }
@media (min-width: 1121px) and (max-width: 1400px) {
  .catalog-controlbar { column-gap: 8px; }
  .catalog-facets form, .catalog-facets__body { gap: 6px; }
  .catalog-facet--dropdown > summary { padding-inline: 8px; }
  .catalog-facets__toggles { gap: 12px; margin-inline-start: 8px; }
  .catalog-facets__apply { padding-inline: 14px; }
  .catalog-results__toolbar { gap: 8px; }
  .catalog-controlbar select, .catalog-select__trigger { padding-inline: 8px 30px; }
  .catalog-results__sort::after, .catalog-results__limit::after { right: 12px; }
  .catalog-results__sort select, .catalog-results__sort .catalog-select__trigger { width: 160px; }
}
@media (max-width: 1120px) {
  .catalog-controlbar { gap: 0; padding: 12px 16px; font-size: 13px; }
  .catalog-results__toolbar { width: 100%; margin: 0; }
  .catalog-results__toolbar > [data-catalog-control] { order: var(--catalog-order, 0); }
  .catalog-results__sort { flex: 1; min-width: 0; }
  .catalog-results__sort select, .catalog-results__sort .catalog-select__trigger { width: 100%; }
  .catalog-results__limit { flex: 0 0 auto; }
  .catalog-facets { position: fixed; z-index: 10002; inset: 0; box-sizing: border-box; width: 100vw; height: 100dvh; visibility: hidden; pointer-events: none; transform: translateX(104%); transition: none; background: #fff; color: #2d6cb2; }
  .catalog-facets form { display: flex; flex-direction: column; align-items: stretch; gap: 0; height: 100%; max-height: 100%; }
  .catalog-facets__body { display: block; flex: 1; min-height: 0; padding: 0 16px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; color: #214b82;font-size: 14px;}
  .catalog-facets__header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; box-sizing: border-box; min-height: 78px; padding: 12px 16px 10px; border-bottom: 1px solid rgba(43,108,190,.2); }
  .catalog-facets__header h2 { margin: 0; font-size: var(--fs-fluid-cart-title,1.15rem); font-weight: 300; letter-spacing: .02em; text-transform: uppercase; }
  .catalog-facet--dropdown { padding: 17px 0; border-top: 1px solid var(--filter-line); }
  .catalog-facets__body > :first-child { border-top: 0; }
  .catalog-facet--dropdown > summary { min-height: 0; padding: 0; border: 0; background: transparent !important; white-space: normal; font-size: 15px; }
  .catalog-facet__panel { position: static; width: auto !important; max-height: none; margin-top: 15px; padding: 0; border: 0; background: transparent; box-shadow: none; overflow: visible; }
  .catalog-facet--attributes > .catalog-facet__panel { margin-top: 12px; padding: 0 14px; border-left: 2px solid #d9e3f1; background: #f7f9fc; }
  .catalog-facet--attributes > .catalog-facet__panel > .catalog-facet { padding: 14px 0; }
  .catalog-facet--attributes > .catalog-facet__panel > .catalog-facet > summary { font-size: 14px; color: #355b91; }
  .catalog-facet--attributes .catalog-facets__options { padding-left: 14px; font-size: 13px; }
  .catalog-facets__toggles { display: block; margin-inline-start: 0; padding: 17px 0; border-top: 1px solid var(--filter-line); }
  .catalog-facets__toggle { padding: 17px 0; border-top: 1px solid var(--filter-line); }
  .catalog-facet--dropdown.is-active > summary {}
  .catalog-facet--dropdown.is-active > summary .catalog-facet__badge { background: #dfe9f8; }
  .catalog-facets__footer { display: grid; gap: 12px; padding: 18px 16px max(18px,env(safe-area-inset-bottom)); border-top: 1px solid var(--filter-line); background: #eef3fb; }
  .catalog-filters-ready .catalog-facets { transition: transform 1s cubic-bezier(.19,1,.22,1), visibility 0s linear 1s; }
  .catalog-filters-visible .catalog-controlbar { z-index: 10000; }
  .catalog-filters-open .catalog-facets { visibility: visible; pointer-events: auto; transform: translateX(0); transition: transform 1s cubic-bezier(.19,1,.22,1), visibility 0s linear 0s; }
  .catalog-facets__backdrop:not([hidden]) { display: block; position: fixed; z-index: 10001; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; }
}
@media (max-width: 760px) {
  .catalog-chip span:first-child { max-width: 270px; }
}
@media (max-width: 420px) {
  .catalog-results__filter-toggle { padding-inline: 10px; }
  .catalog-results__toolbar { gap: 8px; }
  .catalog-controlbar select, .catalog-select__trigger { padding-left: 8px; padding-right: 30px; font-size: 12px; }
  .catalog-results__sort::after, .catalog-results__limit::after { right: 12px; }
}
@media (max-width: 360px) { .catalog-results__filter-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .catalog-filters-ready .catalog-facets, .catalog-filters-open .catalog-facets { transition: none; } }
@media (prefers-reduced-motion: reduce) { .catalog-is-loading .catalog-controlbar::before { animation: none; } }
@media (prefers-reduced-motion: reduce) { .catalog-controlbar select, .catalog-select__trigger, .catalog-facet--dropdown > summary, .catalog-results__filter-toggle, .catalog-select__option, .catalog-facets__apply { transition: none; } }
@media (forced-colors: active) {
  .catalog-facets__option input[type="checkbox"], .catalog-facets__option input[type="checkbox"]:checked { appearance: auto; background-image: none; }
  .catalog-controlbar select:focus-visible, .catalog-controlbar .catalog-select__trigger:focus-visible, .catalog-controlbar .catalog-facet--dropdown > summary:focus-visible { outline: 1px solid Highlight; outline-offset: -1px; }
  .catalog-select__option.is-highlighted { outline: 1px solid Highlight; outline-offset: -1px; }
}
