/* ============================================================
   Stitchylizard redesign — category pages.
   Loaded ONLY on catalog_category_view. Design tokens (--ink,
   --lime, ...) come from the site-wide bundle
   (web/css/breeze/_default.less :root block).

   Two page types share this file:
     .sl-catalog-browse  child collections, full width
     .sl-catalog         product listing, category rail on the left
   ============================================================ */

.sl-catalog .page-main,
.sl-catalog .columns {
    max-width: none;
    padding: 0;
}

.sl-catalog .column.main {
    padding: 0;
    min-height: 0;
}

/* The CMS landing block carries a second H1 in a background-image banner.
   sl-cat-head replaces it; the rest of the block (brand logos, video,
   curated tiles) is kept. */
.sl-catalog #category-main-landing > .container {
    display: none;
}

/* ---- Category header ---- */
.sl-cat-head {
    padding: 30px var(--sl-gutter) 34px;
}

.sl-cat-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(42px, 5.2vw, 72px);
    font-weight: 400;
    letter-spacing: .02em;
    line-height: .95;
    color: var(--ink);
    margin: 0;
    text-wrap: balance;
}

.sl-cat-head-right {
    max-width: 560px;
    margin-top: 14px;
}

.sl-cat-lead {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate);
    margin: 0;
}

.sl-cat-meta {
    margin-top: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.sl-cat-meta b { color: var(--ink); }

/* On browse pages the header is a spread: name left, lead and counts right. */
@media (min-width: 1101px) {
    .sl-cat-head--browse {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: end;
        gap: 48px;
        padding-bottom: 40px;
    }

    .sl-cat-head--browse .sl-cat-head-right {
        justify-self: end;
        margin-top: 0;
        padding-bottom: 6px;
    }
}

/* ---- Collection grid ---- */
.sl-collections {
    padding: 0 var(--sl-gutter) 76px;
}

.sl-col-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.sl-col-card {
    grid-column: span var(--span, 4);
    height: var(--card-h, 200px);
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background-size: cover;
    /* Category art is nearly all garments on models; biasing above centre keeps
       the garment in frame instead of cropping to a torso. */
    background-position: center 28%;
    background-color: var(--cream);
    text-decoration: none;
}

/* The photo sits on ::before so it can move on its own. Hovering used to lift
   the whole card off the page and dim it, label and all; now the card holds
   still and only the picture eases in behind the caption. */
.sl-col-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center 28%;
    transform: scale(1);
    transition: transform .6s var(--ease-out);
}

/* Many category images are white or pastel garments on white, so the scrim has
   to carry the label on its own. */
.sl-col-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 8, .92) 0%, rgba(10, 10, 8, .55) 28%, rgba(10, 10, 8, .12) 62%, transparent 100%);
}

.sl-col-card:hover { text-decoration: none; }

.sl-col-card:hover::before,
.sl-col-card:focus-visible::before { transform: scale(1.06); }

.sl-col-ov {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px 18px 16px;
    z-index: 1;
}

.sl-col-name,
.sl-col-meta { display: block; }

.sl-col-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 27px;
    line-height: 1;
    letter-spacing: .03em;
    color: #fff;
}

.sl-col-card[style*="--span: 6"] .sl-col-name,
.sl-col-card[style*="--span: 12"] .sl-col-name { font-size: 36px; }

.sl-col-meta {
    margin-top: 5px;
    font-size: 11.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .58);
}

.sl-col-go {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(250, 248, 243, .16);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .22s var(--ease-out), transform .22s var(--ease-out);
    z-index: 1;
}

.sl-col-card:hover .sl-col-go,
.sl-col-card:focus-visible .sl-col-go {
    opacity: 1;
    transform: none;
}

.sl-col-go svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- A-Z filter (Promotional only) ---- */
.sl-letter-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.sl-letter {
    min-width: 38px;
    padding: 8px 12px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    background: transparent;
    font-family: 'Barlow', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--slate);
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
}

.sl-letter:hover {
    border-color: var(--lime);
    color: var(--ink);
}

.sl-letter.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

/* ---- About strip ---- */
.sl-about-strip {
    background: var(--cream);
    padding: 68px var(--sl-gutter);
}

.sl-about-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
}

.sl-about-facts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 96px;
}

.sl-fact {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--warm);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
}

.sl-fact-figure {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    line-height: 1;
    color: var(--green-ink);
    min-width: 58px;
}

.sl-fact-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--slate);
}

.sl-fact-text b { color: var(--ink); }

/* ---- Category description ----
   Normalises WYSIWYG copy carried over from Magento 1: inline font-size
   spans, centred fixed-height headings, <br><br> spacing and empty <p>.
   The !important overrides are needed to beat inline style attributes. */
.sl-cat-desc { max-width: 68ch; }

.sl-cat-desc h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1.08 !important;
    color: var(--ink);
    margin: 0 0 18px;
    height: auto !important;
    text-align: left !important;
    text-wrap: balance;
}

.sl-cat-desc h3,
.sl-cat-desc h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 23px;
    font-weight: 400;
    letter-spacing: .03em;
    line-height: 1.15;
    color: var(--ink);
    margin: 26px 0 12px;
    text-align: left !important;
}

.sl-cat-desc p {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--slate);
    margin: 0 0 14px;
    text-align: left !important;
}

.sl-cat-desc p:empty { display: none; }
.sl-cat-desc span { font-size: inherit !important; }
.sl-cat-desc strong { color: var(--ink); font-weight: 600; }

.sl-cat-desc ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.sl-cat-desc li {
    position: relative;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--slate);
    padding: 0 0 10px 22px;
    text-align: left !important;
}

.sl-cat-desc li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 11px;
    width: 9px;
    height: 2px;
    background: var(--lime);
}

.sl-cat-desc li br { display: none; }

.sl-cat-desc a {
    color: var(--green-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-word;
    transition: color .15s;
}

.sl-cat-desc a:hover { color: var(--ink); }

.sl-cat-desc code {
    font-family: inherit;
    background: none;
    font-size: inherit;
}

.sl-cat-desc img { max-width: 100%; height: auto; }

/* ============================================================
   PRODUCT LISTING
   ============================================================ */

.sl-catalog .columns {
    display: grid;
    grid-template-columns: 262px 1fr;
    gap: 44px;
    align-items: start;
    padding: 4px var(--sl-gutter) 72px;
}

.sl-catalog-browse .columns {
    display: block;
    padding: 0;
}

.sl-catalog .sidebar-main {
    width: auto;
    padding: 0;
    margin: 0;
    order: 0;
}

.sl-catalog .column.main {
    width: auto;
    order: 1;
}

/* ---- Sub-category chips ---- */
.sl-subcats {
    display: flex;
    gap: 8px;
    margin: 0 var(--sl-gutter) 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.sl-subcats::-webkit-scrollbar { display: none; }

.sl-subcat {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--slate);
    text-decoration: none;
    transition: border-color .2s, background .2s, color .2s;
}

.sl-subcat:hover {
    border-color: var(--lime);
    background: rgba(110, 197, 177, .1);
    color: var(--ink);
    text-decoration: none;
}

.sl-subcat .n {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--muted);
}

/* ---- Refine rail (the category tree, restyled) ---- */
.sl-catalog .c-sidebar--categories {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.sl-catalog .c-sidebar--categories h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1.5px solid var(--border);
}

.sl-catalog .c-sidebar--categories .o-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sl-catalog .c-sidebar--categories li {
    position: relative;
    border: none;
    margin: 0;
}

.sl-catalog .c-sidebar--categories li.level0 {
    border-bottom: 1px solid var(--border);
    padding: 4px 0;
}

.sl-catalog .c-sidebar--categories a {
    display: block;
    padding: 7px 24px 7px 0;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--slate);
    text-decoration: none;
    transition: color .15s;
}

.sl-catalog .c-sidebar--categories a:hover,
.sl-catalog .c-sidebar--categories a.active {
    color: var(--ink);
    text-decoration: none;
}

.sl-catalog .c-sidebar--categories li.level0 > a {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
}

.sl-catalog .c-sidebar--categories li.level1 > a { padding-left: 0; }
.sl-catalog .c-sidebar--categories li.level2 > a { padding-left: 14px; font-size: 13px; }

.sl-catalog .c-sidebar--categories .expand {
    position: absolute;
    top: 6px;
    right: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    font-size: 11px;
}

/* ---- Refine rail heading ---- */
.sl-refine-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1.5px solid var(--border);
}

.sl-refine-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
}

/* The rail already has its own "Categories" heading from the sidebar module. */
.sl-catalog .c-sidebar--categories h3 { display: none; }

/* ---- Toolbar row ---- */
.sl-plp-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sl-plp-bar .toolbar-products { flex: 1 1 auto; }

.sl-catalog .toolbar-products {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 4px;
    padding: 0;
    text-align: left;
}

.sl-catalog .toolbar-products .modes,
.sl-catalog .toolbar-products .limiter { display: none; }

.sl-catalog .toolbar-amount {
    margin: 0;
    padding: 0;
    font-size: 13.5px;
    color: var(--slate);
}

.sl-catalog .toolbar-amount .toolbar-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 19px;
    letter-spacing: .02em;
    color: var(--ink);
}

.sl-catalog .toolbar-sorter {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0;
}

.sl-catalog .sorter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.sl-catalog .sorter-options {
    appearance: none;
    -webkit-appearance: none;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3a38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center / 13px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 9px 36px 9px 14px;
    cursor: pointer;
    transition: border-color .2s;
}

.sl-catalog .sorter-options:hover { border-color: var(--ink); }

.sl-catalog .sorter-options:focus {
    outline: none;
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(110, 197, 177, .22);
}

.sl-catalog .sorter-action {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    color: var(--slate);
}

.sl-refine-open {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--border);
    background: transparent;
    border-radius: 6px;
    padding: 9px 16px;
    font-family: 'Barlow', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .2s;
}

.sl-refine-open:hover { border-color: var(--ink); }

.sl-refine-open svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.sl-refine-close { display: none; }

/* ---- Product grid ----
   Breeze sizes listing cards from its own custom properties rather than a
   grid template, so the column count is set through those instead of being
   overridden; everything downstream (item width, image box) then follows. */
.sl-catalog .products.wrapper { margin: 0; }

.sl-catalog .products-grid .product-items {
    --listing-grid-columns: 3;
    --listing-grid-gap: 20px;
    --listing-grid-item-margin: 0px;
    --listing-grid-item-padding: 0px;
    --listing-grid-item-max-width: none;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 20px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.sl-catalog .products-grid .product-items .product-item {
    margin: 0;
    padding: 0;
    max-width: none;
}

/* Breeze lifts the hovered card onto a solid background; the redesign keeps
   the card flat and lets the photo panel carry the hover instead. */
.sl-catalog .products-grid .product-items .product-item:hover .product-item-info,
.sl-catalog .products-grid .product-items .product-item:has(:focus-visible) .product-item-info {
    background: transparent;
}

.sl-catalog .products-grid .product-items .product-item-photo {
    position: relative;
    display: block;
    background: var(--cream);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow var(--tr);
}

.sl-catalog .products-grid .product-items .product-item:hover .product-item-photo {
    box-shadow: 0 14px 36px rgba(26, 26, 24, .13);
}

.sl-catalog .products-grid .product-items .product-image-container {
    --image-container-aspect-ratio: 1 / 1;
    --image-container-width: 100%;
}

.sl-catalog .products-grid .product-items .product-item-photo picture,
.sl-catalog .products-grid .product-items .product-item-photo .product-image-wrapper {
    display: block;
    width: 100%;
    height: 100%;
}

.sl-catalog .products-grid .product-items .product-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    /* Catalogue shots are cut out on white; multiply drops that white into the
       cream panel instead of stamping a bright rectangle onto it. */
    mix-blend-mode: multiply;
    transition: transform .35s var(--ease-out);
}

.sl-catalog .products-grid .product-items .product-item:hover .product-item-photo img {
    transform: scale(1.05);
}

.sl-catalog .products-grid .product-items .product-item-details {
    display: block;
    padding: 12px 2px 0;
}

.sl-catalog .product-item-name {
    display: block;
    margin: 0;
}

.sl-catalog .product-item-link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    text-decoration: none;
}

.sl-catalog .product-item-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.sl-catalog .sl-p-sku {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
}

.sl-catalog .sl-p-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 8px;
}

.sl-catalog .sl-p-price .val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: .02em;
    line-height: 1;
    color: var(--ink);
}

.sl-catalog .sl-p-price .per {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
}

.sl-catalog .sl-p-low {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--green-ink);
}

.sl-catalog .sl-p-quote {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate);
}

/* Second gallery image (usually the back view) cross-fades on hover. */
.sl-catalog .product-image-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}

.sl-catalog .product-item-info:hover .product-image-hover { opacity: 1; }

.sl-catalog .product-image-hover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    mix-blend-mode: multiply;
}

/* ---- Empty listing ---- */
.sl-no-results {
    background: var(--cream);
    border-radius: 10px;
    padding: 56px 24px;
    text-align: center;
    margin-top: 18px;
}

.sl-no-results h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: .02em;
    color: var(--ink);
    margin: 0 0 8px;
}

.sl-no-results p {
    font-size: 14px;
    color: var(--slate);
    margin: 0 0 18px;
}

/* Volume tiers, revealed over the photo on hover. */
.sl-catalog .sl-p-tiers {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 9px 12px;
    background: rgba(26, 26, 24, .88);
    color: var(--cream);
    font-size: 11.5px;
    transform: translateY(100%);
    transition: transform .28s var(--ease-out);
    z-index: 1;
}

.sl-catalog .product-item-info:hover .sl-p-tiers { transform: none; }
.sl-catalog .sl-p-tiers b { color: var(--lime); font-weight: 700; }

.sl-catalog .product-item-inner,
.sl-catalog .product-item-actions { margin: 0; }

.sl-catalog .product-item-actions .actions-primary { display: block; margin-top: 10px; }

.sl-catalog .product-item-actions .action.primary,
.sl-catalog .product-item-actions .action.tocart {
    width: 100%;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    color: var(--ink);
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 11px 14px;
    transition: border-color .2s, background .2s;
}

.sl-catalog .product-item-actions .action.primary:hover,
.sl-catalog .product-item-actions .action.tocart:hover {
    border-color: var(--lime);
    background: rgba(110, 197, 177, .12);
    color: var(--ink);
}

.sl-catalog .product-item-actions .actions-secondary { display: none; }

/* ---- Pagination ---- */
.sl-catalog .pages {
    margin: 40px 0 0;
    text-align: center;
}

.sl-catalog .pages .items {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sl-catalog .pages .item {
    margin: 0;
    line-height: 1;
}

.sl-catalog .pages a.page,
.sl-catalog .pages strong.page,
.sl-catalog .pages .action {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1.5px solid transparent;
    border-radius: 6px;
    background: transparent;
    font-family: 'Barlow', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--slate);
    text-decoration: none;
    transition: border-color .15s, background .15s, color .15s;
}

.sl-catalog .pages a.page:hover,
.sl-catalog .pages .action:hover {
    border-color: var(--border);
    color: var(--ink);
    text-decoration: none;
}

.sl-catalog .pages strong.page {
    background: var(--ink);
    color: var(--cream);
}

/* ---- Legacy CMS content inside the category block ----
   Editor-curated picks, brand logos and videos carried over from Magento 1.
   They keep their own markup; this just stops the inline margins from opening
   large gaps between them and the redesigned sections. */
.sl-catalog .category-cms { padding: 0 var(--sl-gutter); }
.sl-catalog-browse .category-cms { padding: 0; }
.sl-catalog .brandLogos { margin: 32px 0; }
.sl-catalog .brandLogos img { max-width: 120px; height: auto; }

.sl-catalog .category-cms #content .list { margin: 0 !important; }
.sl-catalog .category-cms .product-card {
    margin: 12px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(26, 26, 24, .08) !important;
}

/* ---- SEO strip ---- */
.sl-seo-strip {
    background: var(--cream);
    padding: 60px var(--sl-gutter);
}

.sl-seo-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.sl-seo-inner h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1.05;
    color: var(--ink);
    margin: 0;
    text-wrap: balance;
}

.sl-seo-rule {
    width: 40px;
    height: 2px;
    background: var(--lime);
    margin-top: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
    .sl-cat-head { padding-top: 26px; padding-bottom: 28px; }
    .sl-collections { padding-bottom: 64px; }
    .sl-catalog .columns { padding-bottom: 64px; gap: 32px; }
    .sl-about-strip,
    .sl-seo-strip { padding-top: 56px; padding-bottom: 56px; }
}

@media (max-width: 1240px) {
    .sl-catalog .products-grid .product-items { --listing-grid-columns: 2; }
}

@media (max-width: 1024px) {
    .sl-catalog .columns { grid-template-columns: 1fr; }
    .sl-refine-open { display: inline-flex; }

    /* The category rail becomes a drawer. */
    .sl-catalog .sidebar-main {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(360px, 92vw);
        background: var(--warm);
        box-shadow: 24px 0 60px rgba(26, 26, 24, .18);
        transform: translateX(-103%);
        transition: transform 260ms var(--ease-drawer);
        z-index: 300;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 20px 24px 28px;
    }

    .sl-catalog .sidebar-main.is-open {
        transform: none;
        transition-duration: 420ms;
    }

    .sl-refine-close {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        /* Breeze's button padding would squeeze the icon out of existence. */
        padding: 0;
        margin-left: auto;
        margin-bottom: 8px;
        border: 1.5px solid var(--border);
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
    }

    .sl-refine-close svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        fill: none;
        stroke: var(--ink);
        stroke-width: 1.8;
        stroke-linecap: round;
    }

    .sl-about-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sl-about-facts { position: static; }
}

@media (max-width: 900px) {
    .sl-catalog .products-grid .product-items { --listing-grid-columns: 2; --listing-grid-gap: 14px; gap: 22px 14px; }
    .sl-col-grid { grid-template-columns: repeat(2, 1fr); }
    .sl-col-card { grid-column: span 1; height: 200px; }
    .sl-col-card .sl-col-name,
    .sl-col-card[style*="--span: 6"] .sl-col-name,
    .sl-col-card[style*="--span: 12"] .sl-col-name { font-size: 24px; }
}

@media (max-width: 768px) {
    .sl-cat-head { padding-top: 20px; padding-bottom: 20px; }
    .sl-collections { padding-bottom: 44px; }
    .sl-catalog .columns { padding-bottom: 44px; }
    .sl-about-strip,
    .sl-seo-strip { padding-top: 40px; padding-bottom: 40px; }
    .sl-seo-inner { grid-template-columns: 1fr; gap: 20px; }
    .sl-catalog .toolbar-products { flex-wrap: wrap; gap: 10px; }
    .sl-catalog .sorter-label { display: none; }
}

@media (max-width: 480px) {
    .sl-col-grid { grid-template-columns: 1fr; }
    .sl-catalog .products-grid .product-items { --listing-grid-gap: 10px; gap: 20px 10px; }
    .sl-catalog .products-grid .product-items .product-item-photo img { padding: 8px; }
    .sl-catalog .sl-p-price .val { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    .sl-col-card::before,
    .sl-col-go,
    .sl-p-tiers,
    .sl-catalog .sidebar-main,
    .sl-catalog .products-grid .product-items .product-item-photo img { transition: none; }

    .sl-col-card:hover::before,
    .sl-catalog .products-grid .product-items .product-item:hover .product-item-photo img { transform: none; }
}
