/* Catalogue-only layout; deliberately independent of legacy product loops. */
html body .ac-catalog { --ac-ink: #15191e; --ac-muted: #67717b; --ac-line: #e2e6e9; --ac-blue: #0054ff; color: var(--ac-ink); background: #fff; font-family: var(--jl-font, Arial, sans-serif); padding-bottom: 72px; }
.ac-catalog, .ac-catalog * { box-sizing: border-box; }
html body .ac-catalog :where(h1,h2,h3,p,figure) { margin: 0; font-family: inherit; }
html body .ac-catalog :is(a,button,input,select) { font-family: inherit; }
html body .ac-catalog a { color: inherit; text-decoration: none; }
html body .ac-catalog button { cursor: pointer; }
.ac-catalog svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ac-catalog [hidden] { display: none !important; }
.ac-catalog :is(a,button,input,select):focus-visible { outline: 3px solid var(--ac-blue); outline-offset: 3px; }
.ac-wrap { width: min(1440px,90%); margin-inline: auto; }
html body .ac-hero { padding: 22px 0 38px; background: linear-gradient(105deg,#f1f5f7 0%,#eaf1f5 100%); border-bottom: 1px solid #e5ebef; }
.ac-breadcrumb { display: flex; align-items: center; gap: 12px; color: #63717c; font-size: 12px; margin-bottom: 26px; }
.ac-breadcrumb a:hover { text-decoration: underline; }
.ac-hero__row { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
html body .ac-overline { margin-bottom: 12px; color: #4e6a80; font-size: 11px; font-weight: 600; letter-spacing: .16em; }
html body .ac-hero h1 { color: #172c3d; font-size: clamp(35px,3.9vw,58px); font-weight: 600; line-height: 1.07; letter-spacing: -.045em; }
html body .ac-hero__copy { padding-bottom: 4px; color: #596b7a; font-size: 16px; line-height: 1.6; }
.ac-collections { display: flex; gap: 8px; padding: 25px 0; margin-bottom: 12px; overflow-x: auto; scrollbar-width: thin; }
html body .ac-collections a { padding: 10px 23px; white-space: nowrap; border: 1px solid var(--ac-line); border-radius: 30px; font-size: 14px; font-weight: 600; line-height: 22px; transition: background .18s,border-color .18s; }
html body .ac-collections a[aria-current] { color: #fff; border-color: #172c3d; background: #172c3d; }
.ac-collections a:hover { background: #f0f4f7; border-color: #a9b6c2; }
.ac-layout { display: grid; grid-template-columns: 218px minmax(0,1fr); gap: 36px; align-items: start; }
.ac-sidebar-slot { min-width: 0; }
.ac-filters { padding: 3px 24px 0 0; border-right: 1px solid var(--ac-line); }
.ac-filters__heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 28px; }
html body .ac-filters h2 { font-size: 17px; letter-spacing: -.02em; font-weight: 600; }
.ac-field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.ac-search { display: flex; position: relative; }
html body .ac-search input { width: 100%; height: 44px; min-height: 44px; padding: 0 42px 0 12px; border: 1px solid #ccd3d9; border-radius: 6px; color: var(--ac-ink); background: #fff; font-size: 14px; }
html body .ac-search button { position: absolute; top: 0; right: 0; min-height: 44px; width: 40px; padding: 0; display: grid; place-items: center; color: #5a6570; background: transparent; border: 0; border-radius: 0 6px 6px 0; }
.ac-filter-group { padding: 0; margin: 28px 0 0; border: 0; min-width: 0; }
.ac-filter-group legend { float: none; width: 100%; margin: 0 0 14px; padding: 0; color: var(--ac-ink); font-size: 14px; font-weight: 600; }
.ac-filter-group legend span { color: var(--ac-muted); font-size: 12px; font-weight: 400; }
.ac-price-inputs { display: grid; grid-template-columns: minmax(0,1fr) 10px minmax(0,1fr); align-items: end; gap: 6px; }
.ac-price-inputs > span { padding-bottom: 10px; color: var(--ac-muted); }
.ac-price-inputs label { margin: 0; }
.ac-price-inputs label span { display: block; margin-bottom: 6px; color: var(--ac-muted); font-size: 12px; }
html body .ac-price-inputs input { width: 100%; height: 42px; min-height: 42px; padding: 0 8px; border: 1px solid #ccd3d9; border-radius: 6px; color: var(--ac-ink); background: #fff; font-size: 14px; }
html body .ac-filter-hint { margin-top: 9px; font-size: 12px; line-height: 1.5; color: var(--ac-muted); }
.ac-check { display: flex; align-items: center; gap: 10px; padding-block: 8px; font-size: 14px; cursor: pointer; }
html body .ac-check input { appearance: auto; width: 17px; height: 17px; margin: 0; flex: 0 0 17px; accent-color: var(--ac-blue); }
.ac-check input::before { display: none; }
.ac-filter-actions { display: grid; gap: 13px; margin-top: 25px; text-align: center; }
html body .ac-catalog .ac-apply { min-height: 44px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid #172c3d; border-radius: 6px; color: #fff; background: #172c3d; font-size: 14px; font-weight: 600; line-height: 1.4; }
html body .ac-catalog .ac-apply:hover { background: #0054ff; border-color: #0054ff; color: #fff; }
.ac-filter-actions > a { font-size: 13px; text-decoration: underline !important; text-underline-offset: 3px; color: var(--ac-muted) !important; }
.ac-filter-help { display: flex; align-items: start; gap: 10px; padding-top: 22px; margin-top: 26px; border-top: 1px solid var(--ac-line); }
.ac-filter-help > span { color: #6a8294; padding-top: 2px; }
.ac-filter-help strong { display: block; font-size: 13px; font-weight: 600; }
.ac-filter-help a { margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ac-muted) !important; }
.ac-filter-help a svg { width: 14px; }
.ac-results { min-width: 0; }
.ac-toolbar { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.ac-toolbar__title { display: flex; align-items: baseline; gap: 12px; }
html body .ac-toolbar h2 { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.ac-toolbar__title > span { color: var(--ac-muted); font-size: 13px; white-space: nowrap; }
.ac-toolbar__controls { display: flex; gap: 12px; align-items: center; }
.ac-sort { display: flex; align-items: center; gap: 8px; }
.ac-sort label { margin: 0; color: var(--ac-muted); font-size: 13px; white-space: nowrap; }
html body .ac-sort select { height: 42px; min-height: 42px; width: 176px; padding: 0 28px 0 12px; color: var(--ac-ink); border: 1px solid #d9dfe4; border-radius: 6px; background-color: #fff; font-size: 13px; font-weight: 600; }
.ac-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -2px 0 22px; }
.ac-active-filters a { max-width: 100%; padding: 7px 12px; display: inline-flex; align-items: center; gap: 12px; border-radius: 5px; background: #edf3f7; color: #38556c; font-size: 13px; overflow-wrap: anywhere; }
.ac-active-filters a span { font-size: 18px; line-height: 1; }
.ac-active-filters a:hover { background: #e0ebf3; }
.ac-active-filters a.ac-clear { background: none; text-decoration: underline; text-underline-offset: 3px; }
.ac-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px 20px; }
.ac-card { min-width: 0; display: flex; flex-direction: column; }
.ac-card__media { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 1/1.06; border: 1px solid #f0f2f4; border-radius: 10px; background: #f5f7f8; }
.ac-card__media > img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 12px; mix-blend-mode: multiply; transition: transform .3s ease; }
@media (hover: hover) { .ac-card__media:hover > img { transform: scale(1.025); } .ac-card__media:hover .ac-card__peek { opacity: 1; transform: none; } }
.ac-card__badge { position: absolute; z-index: 1; top: 12px; left: 12px; border: 1px solid #dce3e9; border-radius: 4px; padding: 5px 9px; background: #fffffff0; color: #324d61; font-size: 11px; font-weight: 600; }
.ac-card__peek { position: absolute; right: 12px; bottom: 12px; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #172c3d; opacity: 0; transform: translateY(5px); transition: opacity .2s,transform .2s; }
.ac-card__body { display: flex; flex-direction: column; flex: 1; padding: 17px 2px 0; }
.ac-card__eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .1em; color: #74808b; text-transform: uppercase; margin-bottom: 7px; }
html body .ac-card h2 { min-height: 44px; margin-bottom: 10px; font-size: 16px; font-weight: 600; line-height: 1.38; letter-spacing: -.015em; overflow-wrap: anywhere; }
.ac-card h2 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ac-card h2 a:hover { color: #0054ff; }
.ac-card__price { min-height: 24px; color: #172c3d; font-size: 16px; line-height: 1.5; font-weight: 600; }
.ac-card__price del { opacity: .55; font-weight: 400; font-size: .85em; margin-right: 4px; }
.ac-card__price ins { text-decoration: none; background: none; }
.ac-card__variants { min-height: 52px; display: flex; align-items: center; gap: 8px; margin: 6px 0 8px; flex-wrap: wrap; }
.ac-swatches { display: flex; align-items: center; gap: 3px; }
html body .ac-swatch { display: grid; place-items: center; min-height: 34px; width: 34px; padding: 3px; background: #fff; border: 1px solid #dce2e7; border-radius: 50%; line-height: 1; }
.ac-swatch img { width: 26px; height: 26px; border-radius: 50%; object-fit: contain; }
html body .ac-swatch:hover { border-color: #8f9fac; background: #eef4f8; }
html body .ac-swatch[aria-pressed=true] { border-color: #0054ff; box-shadow: inset 0 0 0 1px #0054ff; }
.ac-card__color-label { color: #74808b; font-size: 11px; line-height: 1.3; }
.ac-swatches__more { min-width: 25px; min-height: 32px; display: grid; place-items: center; font-size: 12px; }
html body .ac-card__button { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 43px; padding: 10px 14px; margin-top: auto; border: 1px solid #d8e0e6; border-radius: 6px; color: #233d50; background: #fff; font-size: 13px; font-weight: 600; transition: background .18s,color .18s,border-color .18s; }
html body .ac-card__button:hover { color: #fff; background: #172c3d; border-color: #172c3d; }
.ac-card__button svg { width: 18px; height: 18px; }
.ac-results-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; flex-direction: column; gap: 18px; margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--ac-line); }
.ac-results-footer p { color: var(--ac-muted); font-size: 13px; }
.ac-pagination { max-width: 100%; }
.ac-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 0; list-style: none; }
.ac-pagination :is(a,span) { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--ac-line); border-radius: 6px; font-size: 14px; }
.ac-pagination .current { background: #172c3d; color: #fff; border-color: #172c3d; }
.ac-empty { min-height: 400px; padding: 55px 24px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; background: #f5f7f9; border-radius: 12px; }
.ac-empty > span { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: #e8eff5; color: #536c80; margin-bottom: 20px; }
.ac-empty > span svg { width: 26px; height: 26px; }
html body .ac-empty h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
html body .ac-empty p { font-size: 15px; line-height: 1.7; color: var(--ac-muted); margin-bottom: 24px; }
.ac-empty__all { margin-top: 18px; font-size: 13px; text-decoration: underline !important; text-underline-offset: 4px; }
.ac-filter-dialog { padding: 0; border: 0; }
.ac-filter-toggle, .ac-filter-close { display: none !important; }
.ac-filter-dialog::backdrop { background: #11253566; backdrop-filter: blur(3px); }
html.ac-filter-open { overflow: hidden; }
@media (min-width: 1600px) { .ac-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width: 1150px) { .ac-layout { grid-template-columns: 190px minmax(0,1fr); gap: 24px; } .ac-filters { padding-right: 18px; } .ac-grid { gap: 26px 14px; } .ac-sort label { display: none; } .ac-card__variants { gap: 4px; } .ac-hero__copy { max-width: 320px; } }
@media (max-width: 1000px) {
 .ac-layout { grid-template-columns: minmax(0,1fr); }
 .ac-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .ac-filters { border-right: 0; padding: 0; }
 .ac-sidebar-slot { padding: 20px; border: 1px solid var(--ac-line); border-radius: 8px; }
 .ac-catalog.ac-has-dialog .ac-sidebar-slot { display: none; }
 html body .ac-catalog.ac-has-dialog .ac-filter-toggle { display: flex !important; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 14px; border: 1px solid #d9dfe4; border-radius: 6px; color: var(--ac-ink); background: #fff; font-size: 14px; }
 .ac-filter-toggle > span { font-size: 11px; background: #edf3f7; padding: 1px 5px; border-radius: 50%; }
 html body .ac-filter-dialog { width: min(390px,92vw); max-width: none; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 25px 24px; color: var(--ac-ink); background: #fff; border-radius: 0; overflow-y: auto; box-shadow: -15px 0 50px #0002; }
 html body .ac-filter-dialog .ac-filter-close { display: block !important; min-height: 40px; width: 40px; padding: 0; border: 1px solid var(--ac-line); border-radius: 50%; background: #fff; color: #172c3d; font-size: 26px; line-height: 1; }
 .ac-filter-dialog .ac-filters__heading { margin-bottom: 25px; }
 .ac-filter-dialog .ac-filter-actions { margin-top: 32px; }
 .ac-filter-dialog .ac-filter-help { margin-top: 30px; }
 .ac-hero__row { gap: 25px; }
 html body .ac-hero__copy { max-width: 275px; font-size: 14px; }
}
@media (max-width: 700px) {
 .ac-wrap { width: calc(100% - 36px); }
 html body .ac-catalog { padding-bottom: 45px; }
 html body .ac-hero { padding: 17px 0 24px; }
 .ac-breadcrumb { margin-bottom: 20px; font-size: 11px; }
 .ac-hero__row { display: block; }
 html body .ac-overline { font-size: 9px; margin-bottom: 9px; }
 html body .ac-hero h1 { font-size: 34px; letter-spacing: -.045em; }
 html body .ac-hero__copy { max-width: none; margin-top: 12px; font-size: 13px; line-height: 1.6; padding: 0; }
 .ac-hero__copy br { display: none; }
 .ac-collections { gap: 6px; padding: 18px 0 14px; margin-right: -18px; margin-bottom: 15px; padding-right: 18px; }
 html body .ac-collections a { padding: 7px 16px; font-size: 12px; line-height: 22px; }
 .ac-toolbar { flex-wrap: wrap; gap: 15px; margin-bottom: 19px; }
 .ac-toolbar__title { justify-content: space-between; width: 100%; }
 html body .ac-toolbar h2 { font-size: 21px; }
 .ac-toolbar__title > span { font-size: 12px; }
 .ac-toolbar__controls { width: 100%; justify-content: space-between; gap: 12px; }
 .ac-sort { flex: 1; }
 html body .ac-sort select { width: 100%; font-size: 12px; }
 .ac-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 12px; }
 .ac-card__media { aspect-ratio: 1/1.13; border-radius: 8px; }
 .ac-card__media > img { padding: 6px; }
 .ac-card__body { padding: 12px 0 0; }
 .ac-card__eyebrow { font-size: 8px; letter-spacing: .075em; margin-bottom: 6px; }
 html body .ac-card h2 { font-size: 14px; min-height: 39px; margin-bottom: 7px; }
 .ac-card__price { font-size: 14px; min-height: 22px; }
 .ac-card__variants { min-height: 58px; align-content: center; gap: 4px; margin: 5px 0 9px; }
 .ac-card__color-label { width: 100%; font-size: 10px; }
 .ac-swatches { gap: 3px; }
 html body .ac-swatch { width: 29px; min-height: 29px; padding: 2px; }
 .ac-swatch img { width: 23px; height: 23px; }
 .ac-swatches__more { min-width: 19px; font-size: 10px; }
 html body .ac-card__button { min-height: 41px; padding: 9px; font-size: 12px; gap: 4px; }
 .ac-card__button svg { width: 15px; height: 15px; }
 .ac-card__badge { top: 7px; left: 7px; font-size: 10px; padding: 4px 6px; }
 .ac-active-filters { margin-top: 0; }
 .ac-active-filters a { font-size: 12px; }
 .ac-results-footer { margin-top: 30px; }
 .ac-empty { min-height: 350px; padding: 35px 18px; }
 html body .ac-empty h3 { font-size: 22px; }
 html body .ac-empty p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ac-catalog * { transition: none !important; scroll-behavior: auto !important; } }
