/* =====================================================================================================
   CATEGORY PAGE (CHG-010) - design: Category.dc.html. Loaded only on category pages (layout catalog_category_view.xml).
   Markup: Magento_Catalog templates (category/bs-*.phtml, product/list/bs-list.phtml, toolbar/*) + Codazon ajax layered
   navigation (restyled). Tokens (--bs-*) come from bluesprings.css. Scoped to body.catalog-category-view.
   ===================================================================================================== */
body.catalog-category-view, .catalog-category-view .page-wrapper { background: var(--bs-cream); color: var(--bs-ink); font-family: var(--bs-font-text); }
.catalog-category-view .breadcrumbs { max-width: 1488px; width: 100%; box-sizing: border-box; margin: 0 auto; padding: 28px 24px 0; font-size: 14px; color: var(--bs-muted); background: transparent; }
.catalog-category-view .breadcrumbs ul.items { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.catalog-category-view .breadcrumbs li.item { display: flex; gap: 8px; margin: 0; padding: 0; font-size: 14px; line-height: normal; color: var(--bs-ink); }
.catalog-category-view .breadcrumbs li.item:not(:last-child)::after { content: "/"; color: var(--bs-muted); margin: 0; padding: 0; font-size: 14px; line-height: normal; }
.catalog-category-view .breadcrumbs li.item a, .catalog-category-view .breadcrumbs li.item a:hover { color: var(--bs-muted); text-decoration: none; font-size: 14px; line-height: normal; font-family: var(--bs-font-text); }
.catalog-category-view .breadcrumbs li.item strong { font-weight: 400; font-size: 14px; line-height: normal; font-family: var(--bs-font-text); }
.catalog-category-view .page-main { max-width: 1488px; width: 100%; box-sizing: border-box; margin: 0 auto; padding: 24px 24px 96px; }
.catalog-category-view .page-main > .columns, .catalog-category-view .columns > .column.main { padding: 0; margin: 0; max-width: none; width: 100%; float: none; }
.catalog-category-view .page-main > .page.messages { margin: 0; }

/* title card */
.catalog-category-view .page-main .category-view { margin: 0 0 24px; padding: 0; width: auto; max-width: none; }
.catalog-category-view .page-main :where(p, span, strong, a, li, div, label, summary, select, button, input) { font-family: var(--bs-font-text); }
.catalog-category-view .bs-cat-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: #FFFFFF; border-radius: 28px; padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px); margin: 0; box-sizing: content-box; }
.catalog-category-view .bs-cat-head__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.catalog-category-view .bs-cat-head .page-title { margin: 0; padding: 0; font-family: var(--bs-font-display); font-weight: 500; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -0.02em; color: var(--bs-ink); text-transform: none; }
.catalog-category-view .bs-cat-head .page-title .base { font: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; }
.catalog-category-view .bs-cat-head__desc { margin: 0; font-size: 17px; line-height: 1.6; color: var(--bs-ink-2); max-width: 760px; }
.catalog-category-view .bs-cat-head__desc p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.catalog-category-view .bs-cat-head__note { display: flex; gap: 12px; align-items: center; background: #FDF0E6; border: 1px solid #F3D2B8; border-radius: 18px; padding: 14px 18px; max-width: 421px; }
.catalog-category-view .bs-cat-head__note svg { flex-shrink: 0; }
.catalog-category-view .bs-cat-head__note span { font-size: 15px; line-height: 1.45; color: #6E3410; }

/* two-column grid: sidebar (filters + why online) | products */
.catalog-category-view .columns > .column.main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
@media (min-width: 900px) {
  .catalog-category-view .columns > .column.main { grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 32px; }
  .catalog-category-view .column.main > .bs-subcats { grid-column: 1 / -1; grid-row: 1; }
  .catalog-category-view .column.main > #layered-filter-block { grid-column: 1; grid-row: 2; }
  .catalog-category-view .column.main > .bs-why-online { grid-column: 1; grid-row: 3; }
  .catalog-category-view .column.main > #product-list-container, .catalog-category-view .column.main > .product-list-container { grid-column: 2; grid-row: 2 / 5; }
}
.catalog-category-view .column.main > .bs-why-online { margin-top: 16px; }
.catalog-category-view .column.main > .bs-subcats { margin-bottom: 20px; }
@media (max-width: 899px) {
  .catalog-category-view .column.main > #layered-filter-block { order: 2; margin-bottom: 16px; }
  .catalog-category-view .column.main > #product-list-container { order: 3; }
  .catalog-category-view .column.main > .bs-why-online { order: 4; margin-top: 24px; }
}

/* subcategory pills */
.catalog-category-view .bs-subcats { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-category-view .bs-subcats .bs-subcats__pill, .catalog-category-view .bs-subcats .bs-subcats__pill:hover { background: #FFFFFF; border: 1px solid #E2DCD2; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; line-height: normal; color: var(--bs-navy); text-decoration: none; }
.catalog-category-view .bs-subcats .bs-subcats__pill:hover { border-color: var(--bs-navy); }

/* "Shop By" card (Codazon ajax layered navigation, restyled) */
.catalog-category-view #layered-filter-block { background: #FFFFFF; border-radius: 24px; padding: 24px; margin: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 18px; float: none; width: auto; }
.catalog-category-view #layered-filter-block .block-title { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.catalog-category-view #layered-filter-block .block-title::before { content: none; }
.catalog-category-view #layered-filter-block .block-title strong { background: none; font-family: var(--bs-font-text); font-size: 18px; font-weight: 700; line-height: normal; text-transform: none; letter-spacing: normal; color: var(--bs-ink); padding: 0; }
.catalog-category-view #layered-filter-block .block-title strong { flex: 1; display: flex; justify-content: space-between; align-items: center; }
.catalog-category-view #layered-filter-block .block-title strong::after { content: "▾"; color: var(--bs-muted); position: static; font-size: 16px; font-weight: 400; }
.catalog-category-view #layered-filter-block .block-title::after { content: none; }
.catalog-category-view #layered-filter-block .block-content { display: flex; flex-direction: column; gap: 18px; padding: 0; margin: 0; border: 0; position: static; box-shadow: none; background: none; width: auto; max-height: none; overflow: visible; }
@media (min-width: 900px) {
  .catalog-category-view #layered-filter-block .block-content { display: flex !important; opacity: 1; visibility: visible; height: auto; }
  .catalog-category-view #layered-filter-block .block-title { cursor: default; pointer-events: none; }
  .catalog-category-view #layered-filter-block .block-title strong::after { content: none; display: none; }
}
@media (max-width: 899px) {
  .catalog-category-view #layered-filter-block:not(.active) .block-content { display: none; }
  .catalog-category-view #layered-filter-block.active .block-title strong::after { content: "▴"; }
}
.catalog-category-view #layered-filter-block .filter-subtitle, .catalog-category-view #layered-filter-block .filter-current-subtitle { position: static; width: auto; height: auto; clip: auto; overflow: visible; margin: 0; padding: 0; border: 0; font-family: var(--bs-font-text); }
.catalog-category-view #layered-filter-block .filter-subtitle { display: none; }
.catalog-category-view #layered-filter-block .filter-actions { margin: 0; padding: 0; order: -1; }
.catalog-category-view #layered-filter-block .filter-actions a.filter-clear, .catalog-category-view #layered-filter-block .filter-actions a.filter-clear:hover { display: inline; font-size: 14px; font-weight: 700; color: var(--bs-rust); text-decoration: none; background: none; border: 0; padding: 0; }
.catalog-category-view #layered-filter-block .filter-current { display: flex; flex-direction: column; gap: 8px; padding: 0 0 16px; margin: 0; border: 0; border-bottom: 1px solid #ECE6DC; }
.catalog-category-view #layered-filter-block .filter-current-subtitle { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bs-muted); }
.catalog-category-view #layered-filter-block .filter-current-subtitle::after, .catalog-category-view #layered-filter-block .filter-current-subtitle::before { content: none; }
.catalog-category-view #layered-filter-block .filter-current ol.items { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.catalog-category-view #layered-filter-block .filter-current li.item { display: flex; gap: 8px; align-items: center; background: var(--bs-navy); color: #FFFFFF; font-size: 14px; font-weight: 600; line-height: normal; padding: 8px 12px; margin: 0; border-radius: 999px; position: static; }
.catalog-category-view #layered-filter-block .filter-current .filter-label::after { content: ": "; }
.catalog-category-view #layered-filter-block .filter-current .filter-label, .catalog-category-view #layered-filter-block .filter-current .filter-value { display: inline; color: #FFFFFF; font-size: 14px; font-weight: 600; text-transform: none; }
.catalog-category-view #layered-filter-block .filter-current a.action.remove, .catalog-category-view #layered-filter-block .filter-current a.action.previous { position: static; display: inline-flex; width: auto; height: auto; margin: 0; padding: 0; color: #FFFFFF; font-size: 13px; line-height: 1; text-decoration: none; background: none; border: 0; }
.catalog-category-view #layered-filter-block .filter-current a.action.remove::before { content: "✕"; font-family: var(--bs-font-text); position: static; font-size: 13px; color: #FFFFFF; margin: 0; }
.catalog-category-view #layered-filter-block .filter-current a.action.remove span, .catalog-category-view #layered-filter-block .filter-current a.action.previous { font-size: 0; }
.catalog-category-view #layered-filter-block .filter-current a.action.previous { display: none; }
.catalog-category-view #layered-filter-block .filter-options { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; border: 0; }
.catalog-category-view #layered-filter-block .filter-options-item { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; background: none; }
.catalog-category-view #layered-filter-block .filter-options-title { padding: 0 0 4px; margin: 0; border: 0; background: none; font-family: var(--bs-font-text); font-size: 15px; font-weight: 700; line-height: normal; text-transform: none; letter-spacing: normal; color: var(--bs-ink); cursor: default; pointer-events: none; }
.catalog-category-view #layered-filter-block .filter-options-title::before, .catalog-category-view #layered-filter-block .filter-options-title::after { content: none; }
.catalog-category-view #layered-filter-block .filter-options-content { display: block !important; height: auto !important; padding: 0; margin: 0; border: 0; background: none; position: static; box-shadow: none; }
.catalog-category-view #layered-filter-block .filter-options-content-outer, .catalog-category-view #layered-filter-block .filter-options-content-inner { max-height: none !important; overflow: visible !important; padding: 0; margin: 0; }
.catalog-category-view #layered-filter-block .filter-options .items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.catalog-category-view #layered-filter-block .filter-options .items li { margin: 0; padding: 0; position: relative; }
.catalog-category-view #layered-filter-block .filter-options .items li input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.catalog-category-view #layered-filter-block .filter-options .items li input[type="checkbox"] + label, .catalog-category-view #layered-filter-block .filter-options .items li > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; margin: 0; border-radius: 12px; background: #FFFFFF; color: var(--bs-ink); font-family: var(--bs-font-text); font-size: 15px; font-weight: 500; line-height: normal; text-align: left; text-decoration: none; cursor: pointer; }
.catalog-category-view #layered-filter-block .filter-options .items li input[type="checkbox"] + label::before, .catalog-category-view #layered-filter-block .filter-options .items li input[type="checkbox"] + label::after { content: none; }
.catalog-category-view #layered-filter-block .filter-options .items li input[type="checkbox"]:checked + label { background: var(--bs-sky); font-weight: 700; }
.catalog-category-view #layered-filter-block .filter-options .items li input[type="checkbox"]:focus-visible + label { outline: 2px solid var(--bs-navy); outline-offset: 2px; }
.catalog-category-view #layered-filter-block .filter-options .items li label:hover, .catalog-category-view #layered-filter-block .filter-options .items li > a:hover { background: #F7F4EF; }
.catalog-category-view #layered-filter-block .filter-options .items .count { display: inline; width: auto; height: auto; min-width: 0; border: 0; border-radius: 0; background: none; padding: 0; margin: 0; font-size: 13px; font-weight: 400; line-height: normal; color: var(--bs-muted); }
.catalog-category-view #layered-filter-block .filter-options .items .count::before, .catalog-category-view #layered-filter-block .filter-options .items .count::after { content: none; }
.catalog-category-view #layered-filter-block .filter-options .items .filter-count-label { display: none; }

/* "Why buy online" card */
.catalog-category-view .bs-why-online { background: var(--bs-navy); color: #FFFFFF; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; }
.catalog-category-view .bs-why-online__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: #F0B98C; }
.catalog-category-view .bs-why-online__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.catalog-category-view .bs-why-online__list li { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 0; }
.catalog-category-view .bs-why-online__list svg { flex-shrink: 0; margin-top: 2px; }
.catalog-category-view .bs-why-online__list strong { display: block; font-size: 15px; font-weight: 700; color: #FFFFFF; }
.catalog-category-view .bs-why-online__list li > span > span { display: block; font-size: 14px; color: #C9D3DE; }
.catalog-category-view .bs-why-online__call { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.catalog-category-view .bs-why-online__call span { font-size: 14px; color: #C9D3DE; }
.catalog-category-view .bs-why-online .bs-why-online__call a, .catalog-category-view .bs-why-online .bs-why-online__call a:hover { font-size: 18px; font-weight: 700; color: #FFFFFF; text-decoration: none; }

/* toolbar */
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-products.toolbar-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #FFFFFF; border-radius: 18px; padding: 10px 12px 10px 16px; margin: 0 0 20px; border: 0; box-sizing: border-box; width: auto; min-height: 62px; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-toolbar__left { display: flex; align-items: center; gap: 14px; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-top .modes { display: flex; gap: 4px; margin: 0; padding: 0; float: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-top .modes .modes-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-top .modes-mode { width: 40px; height: 40px; border-radius: 10px; border: 0; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; background: var(--bs-cream); color: var(--bs-ink); float: none; box-sizing: border-box; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-top .modes-mode.active { background: var(--bs-navy); color: #FFFFFF; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-top .modes-mode > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-top .modes-mode::before, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-top .modes-mode::after { content: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-top .toolbar-amount { margin: 0; padding: 0; font-size: 15px; line-height: normal; color: var(--bs-ink-2); position: static; float: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-top .toolbar-amount strong { color: var(--bs-ink); font-weight: 700; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-top .toolbar-sorter { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; float: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-top .sorter-label { font-size: 15px; font-weight: 400; color: var(--bs-ink-2); margin: 0; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-top select.sorter-options { height: 42px; border: 1px solid #CFC7BA; border-radius: 12px; padding: 0 12px; margin: 0; font-family: var(--bs-font-text); font-size: 15px; color: var(--bs-ink); background-color: #FFFFFF; width: auto; box-shadow: none; }

/* product grid + list */
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-products ol.products { list-style: none; margin: 0; padding: 0; width: auto; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-products--grid ol.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 46%), 1fr)); gap: 16px; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card { background: #FFFFFF; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; margin: 0; padding: 0; width: auto; float: none; border: 0; box-shadow: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card__photo, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row__photo { position: relative; display: block; background: #ECE6DC; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card__photo { aspect-ratio: 1 / 1; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card__photo .product-image-container, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row__photo .product-image-container { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card__photo .product-image-wrapper, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row__photo .product-image-wrapper { position: absolute; inset: 0; display: block; padding: 0 !important; height: 100%; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card__photo img.product-image-photo, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row__photo img.product-image-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; margin: 0; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card__badge { position: absolute; top: 12px; left: 12px; background: var(--bs-rust); color: #FFFFFF; font-size: 12px; font-weight: 700; line-height: normal; padding: 5px 10px; border-radius: 999px; z-index: 2; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card__details { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; margin: 0; text-align: left; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card__sku { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; line-height: normal; color: var(--bs-muted); }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-card__name, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-card__name:hover, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-row__name, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-row__name:hover { font-family: var(--bs-font-text); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--bs-ink); text-decoration: none; text-align: left; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card .price-box, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row .price-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin: auto 0 0; padding: 4px 0 0; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card .price-box .price-container, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card .price-box .price-wrapper, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row .price-box .price-container, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row .price-box .price-wrapper { display: inline; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card .price-box .price-label, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row .price-box .price-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card .price-box .price, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row .price-box .price { font-family: var(--bs-font-display); font-size: 26px; font-weight: 600; line-height: normal; color: var(--bs-rust); }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card .price-box .old-price, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row .price-box .old-price { order: 2; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card .price-box .old-price .price, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row .price-box .old-price .price { font-family: var(--bs-font-text); font-size: 14px; font-weight: 400; color: #6B7580; text-decoration: line-through; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-card__actions { display: flex; gap: 8px; padding-top: 4px; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-btn-buy, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-btn-buy:hover { flex: 1; height: 44px; box-sizing: border-box; border-radius: 999px; background: var(--bs-navy); color: #FFFFFF; font-family: var(--bs-font-text); font-size: 15px; font-weight: 700; line-height: normal; text-decoration: none; text-transform: none; letter-spacing: normal; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0; border: 0; white-space: nowrap; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-btn-buy:hover { background: #17304F; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-products--list ol.products { display: flex; flex-direction: column; gap: 14px; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row { background: #FFFFFF; border-radius: 22px; padding: 16px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin: 0; width: auto; float: none; border: 0; box-shadow: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row__photo { flex-shrink: 0; width: 160px; height: 160px; border-radius: 16px; overflow: hidden; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row__details { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; text-align: left; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-row__name, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-row__name:hover { font-size: 18px; font-weight: 700; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row__badge { align-self: flex-start; background: var(--bs-rust); color: #FFFFFF; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 200px; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row__buy .price-box { margin: 0; padding: 0; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row__buy .price-box .price { font-size: 28px; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-row__buy a.bs-btn-buy { flex: none; padding: 0 24px; }

/* bottom toolbar: pager + items per page */
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-products.toolbar-bottom { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 8px 0 0; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; width: auto; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .pager { display: flex; justify-content: center; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .pages { display: flex; justify-content: center; margin: 0; padding: 0; float: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .pages .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom ul.pages-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom ul.pages-items li.item { margin: 0; padding: 0; display: block; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom ul.pages-items .page, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom ul.pages-items .page:hover, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom ul.pages-items a.action { min-width: 44px; height: 44px; box-sizing: border-box; border-radius: 999px; background: #FFFFFF; color: var(--bs-ink); font-size: 16px; font-weight: 600; line-height: normal; text-decoration: none; display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; border: 0; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom ul.pages-items li.current .page { background: var(--bs-navy); color: #FFFFFF; font-weight: 700; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom ul.pages-items a.action { padding: 0 18px; width: auto; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom ul.pages-items a.action::before { content: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom ul.pages-items a.action.next span:not(.label)::after { content: " →"; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom ul.pages-items a.action.previous span:not(.label)::before { content: "← "; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .toolbar-amount, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .modes, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .sorter { display: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .limiter { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--bs-ink-2); margin: 0; float: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .limiter .control { display: block; margin: 0; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .limiter select { height: 36px; border: 1px solid #CFC7BA; border-radius: 10px; padding: 0 10px; font-family: var(--bs-font-text); font-size: 14px; background-color: #FFFFFF; color: var(--bs-ink); width: auto; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .limiter label { margin: 0; font-weight: 400; }

/* SEO text section (CMS block bs-category-seo-<url_key>) */
.catalog-category-view .bs-cat-seo { box-sizing: border-box; width: auto; background: #FFFFFF; border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 40px; margin-top: 16px; }
.catalog-category-view .bs-cat-seo__left { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.catalog-category-view .bs-cat-seo__right { flex: 1 1 380px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.catalog-category-view .bs-cat-seo .bs-h2--32 { font-size: 32px; line-height: 1.15; letter-spacing: normal; margin: 0; }
.catalog-category-view .bs-cat-seo .bs-p--16 { font-size: 16px; line-height: 1.7; margin: 0; }
.catalog-category-view .bs-cat-seo .bs-qa { background: var(--bs-cream); border-radius: 16px; padding: 18px 22px; }
.catalog-category-view .bs-cat-seo .bs-qa__q { font-size: 17px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.catalog-category-view .bs-cat-seo .bs-qa__a { margin: 10px 0 0; font-size: 15px; line-height: 1.65; }

.catalog-category-view #layered-filter-block .filter-options .items li > a::before, .catalog-category-view #layered-filter-block .filter-options .items li > a::after { content: none; }
.catalog-category-view #layered-filter-block .filter-options .items li > a { text-decoration: none; }
.catalog-category-view #layered-filter-block .filter-options .items li > a .price, .catalog-category-view #layered-filter-block .filter-options .items li > a span { font-family: var(--bs-font-text); font-size: inherit; color: inherit; text-decoration: none; }
.catalog-category-view #layered-filter-block .filter-options .items li > a .count { font-size: 13px; color: var(--bs-muted); }

.catalog-category-view #layered-filter-block .block-title strong::before { content: none; display: none; }
.catalog-category-view #layered-filter-block .block-title, .catalog-category-view #layered-filter-block .block-title strong { border: 0; outline: 0; box-shadow: none; }
.catalog-category-view #layered-filter-block .filter-options .items li::before, .catalog-category-view #layered-filter-block .filter-options .items li::after { content: none; display: none; }
.catalog-category-view #layered-filter-block .filter-options .items li > a { justify-content: flex-start; gap: 6px; }
.catalog-category-view #layered-filter-block .filter-options .items li > a .count { margin-left: auto; }
.catalog-category-view #layered-filter-block .filter-options .items li > a .filter-count-label { display: none; }
.catalog-category-view #layered-filter-block .filter-options-content-outer { border: 0; }

:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .pages ul.pages-items li a.action > span:not(.label) { position: static; display: inline; width: auto; height: auto; clip: auto; overflow: visible; margin: 0; padding: 0; font-size: 16px; font-weight: 600; color: var(--bs-ink); }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .limiter, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .field.limiter { display: flex !important; flex-direction: row; align-items: center; justify-content: center; gap: 8px; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-bottom .limiter > * { margin: 0; width: auto; }

/* phone: one product per row (same rule as the home page) */
@media (max-width: 519px) { :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-products--grid ol.products { grid-template-columns: minmax(0, 1fr); } :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .bs-toolbar__left { width: 100%; justify-content: space-between; } }

.catalog-category-view #layered-filter-block .block-title strong::after { background: none !important; width: auto !important; height: auto !important; padding: 0 !important; margin: 0 !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; transform: none !important; opacity: 1 !important; border: 0 !important; display: inline !important; line-height: 1; }
.catalog-category-view #layered-filter-block .block-content { padding: 0 !important; margin: 0 !important; }


/* search results pages use the same product list / toolbar templates */
.catalogsearch-result-index, .catalogsearch-result-index .page-wrapper, .catalogsearch-advanced-result, .catalogsearch-advanced-result .page-wrapper { background: var(--bs-cream); font-family: var(--bs-font-text); }
:is(.catalogsearch-result-index, .catalogsearch-advanced-result) .page-main { max-width: 1488px; width: 100%; box-sizing: border-box; margin: 0 auto; padding: 28px 24px 96px; }
:is(.catalogsearch-result-index, .catalogsearch-advanced-result) .columns > .column.main { padding: 0; margin: 0; width: 100%; max-width: none; float: none; }
:is(.catalogsearch-result-index, .catalogsearch-advanced-result) .page-title-wrapper { margin: 0 0 24px; }
:is(.catalogsearch-result-index, .catalogsearch-advanced-result) h1.page-title { margin: 0; font-family: var(--bs-font-display); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; color: var(--bs-ink); text-transform: none; }
:is(.catalogsearch-result-index, .catalogsearch-advanced-result) h1.page-title .base { font: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; }

/* toolbar: Magento's clearfix pseudo-elements become empty flex items (space-between pushed the left group to the middle) */
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-products::before, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .toolbar-products::after { content: none; display: none; }
/* "Now shopping by" chips: one tidy pill per active filter */
.catalog-category-view #layered-filter-block .filter-current ol.items { background: none; border: 0; padding: 0; margin: 0; }
.catalog-category-view #layered-filter-block .filter-current li.item { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 6px; max-width: 100%; box-sizing: border-box; line-height: normal; }
.catalog-category-view #layered-filter-block .filter-current .filter-label, .catalog-category-view #layered-filter-block .filter-current .filter-value { display: inline; line-height: normal; margin: 0; padding: 0; }
.catalog-category-view #layered-filter-block .filter-current .filter-label::after { content: ":"; }
.catalog-category-view #layered-filter-block .filter-current a.action.remove { margin-left: 2px; }

.catalog-category-view #layered-filter-block .filter-current li.item { display: flex; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between; gap: 8px; border-radius: 18px; width: auto; }
.catalog-category-view #layered-filter-block .filter-current .bs-chip__text { display: block; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: #FFFFFF; }
.catalog-category-view #layered-filter-block .filter-current a.action.remove { flex-shrink: 0; margin-top: 2px; }

/* applied option in the sidebar list (price / attribute links; checkbox options use :checked) */
.catalog-category-view #layered-filter-block .filter-options .items li.bs-selected > a { background: var(--bs-sky); font-weight: 700; }

/* keyboard focus rings on the category / search list */
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .page-main :is(a, button, select, summary):focus-visible { outline: 2px solid var(--bs-navy); outline-offset: 2px; }
.catalog-category-view .bs-why-online a:focus-visible { outline-color: #FFFFFF; }

/* empty states (no products / no search results): white card like the design instead of Magento's yellow bar */
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .page-main :is(.message.info.empty, .message.notice) { background: #FFFFFF; border: 0; border-radius: 22px; padding: 40px; margin: 0; text-align: center; font-size: 17px; line-height: 1.5; color: var(--bs-ink-2); }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .page-main :is(.message.info.empty, .message.notice) > *:first-child::before { content: none; display: none; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) .page-main :is(.message.info.empty, .message.notice) > *:first-child { padding-left: 0; }
.catalog-category-view .page-main a.bs-empty__clear, .catalog-category-view .page-main a.bs-empty__clear:hover { font-weight: 700; color: var(--bs-rust); text-decoration: none; }

/* CHG-024: visited / focus / active links must keep the white button text (the theme's a:visited colour turned it dark on products the visitor had opened) */
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-btn-buy:visited, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-btn-buy:focus, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-btn-buy:active { color: #FFFFFF !important; }
:is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-btn-buy:visited svg, :is(.catalog-category-view, .catalogsearch-result-index, .catalogsearch-advanced-result) a.bs-btn-buy:visited svg * { stroke: #FFFFFF; }

/* QA: Codazon floating bar that appears under the pinned header when a category is scrolled on phones ("Shop by" + "Sort by") - was the parent's yellow button / Heebo */
#ft-floating-bar .cdz-flbar { background: var(--bs-cream); font-family: var(--bs-font-text); border-bottom: 1px solid var(--bs-line); box-shadow: 0 8px 18px rgba(18, 26, 36, 0.08); }
#ft-floating-bar .cdz-flbar .fl-btn { height: 34px; min-width: 0; padding: 0 18px; border: 0; border-radius: 999px; background: var(--bs-navy); color: #FFFFFF; font-family: var(--bs-font-text); font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: normal; line-height: normal; box-shadow: none; cursor: pointer; }
#ft-floating-bar .cdz-flbar .fl-btn span { color: inherit; font: inherit; text-transform: none; letter-spacing: normal; }
#ft-floating-bar .cdz-flbar .fl-btn::before, #ft-floating-bar .cdz-flbar .fl-btn::after { color: #FFFFFF; }
#ft-floating-bar .cdz-flbar .fl-btn:hover { background: #17304F; }
#ft-floating-bar .cdz-flbar .sorter .sortby-lb { font-family: var(--bs-font-text); font-size: 13px; color: var(--bs-muted); text-transform: none; }
#ft-floating-bar .cdz-flbar select.sorter-options { width: auto; max-width: 175px; height: 34px; padding: 0 28px 0 12px; border: 1px solid #CFC7BA; border-radius: 999px; background-color: #FFFFFF; font-family: var(--bs-font-text); font-size: 13px; font-weight: 500; color: var(--bs-ink); text-transform: none; }
