/* ===== Category archive — premium UNIQLO-inspired ===== */
body.is-category-page {
    --cat-paper: #f4f1ec;
    --cat-surface: #ffffff;
    --cat-ink: #1a1816;
    --cat-ink-soft: #4a4642;
    --cat-stone: #9a948c;
    --cat-line: #e8e4de;
    --cat-accent: #5c3d4a;
    --cat-accent-deep: #3d2832;
    --cat-champagne: #b8956b;
    --cat-sale: #8b3a42;
    --cat-serif: 'Cormorant Garamond', Georgia, serif;
    --cat-sans: 'DM Sans', 'Inter', system-ui, sans-serif;
    --cat-toolbar-h: 56px;
    background: var(--cat-paper);
    color: var(--cat-ink);
}

body.is-category-page .breadcrumb-bar {
    display: none;
}

.cat-page {
    padding-bottom: 48px;
}

/* ----- Reveal animations ----- */
.cat-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product grid must stay visible even if reveal observer has not fired yet */
#catProducts.cat-reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .cat-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ----- Hero: background image + breadcrumb & title overlay ----- */
.cat-hero {
    background: #1a1218;
}

.cat-hero__visual {
    position: relative;
    height: 80vh;
    min-height: 80vh;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.cat-hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cat-hero__media--photo {
    background-color: var(--cat-hero-bg, #e8e8e8);
}

.cat-hero__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.cat-hero__ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2228 0%, #5c3d4a 50%, #1a1816 100%);
}

.cat-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(26, 24, 22, 0.82) 0%,
        rgba(26, 24, 22, 0.35) 40%,
        transparent 70%
    );
    pointer-events: none;
}

.cat-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 28px 16px 36px;
}

.cat-hero__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-family: var(--cat-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cat-hero__crumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.cat-hero__crumbs a:hover {
    color: #fff;
}

.cat-hero__crumb-sep {
    color: rgba(255, 255, 255, 0.4);
}

.cat-hero__crumb-current {
    color: #fff;
}

.cat-hero__title {
    font-family: var(--cat-serif);
    font-size: clamp(2.25rem, 9vw, 4rem);
    font-weight: 600;
    line-height: 1.05;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

/* ----- Filter pills (quick chips) ----- */
.cat-filter-pill {
    flex-shrink: 0;
    border: 1px solid var(--cat-line);
    background: var(--cat-surface);
    color: var(--cat-ink);
    font-family: var(--cat-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cat-filter-pill:hover {
    border-color: var(--cat-ink);
}

.cat-filter-pill.is-active {
    background: var(--cat-ink);
    border-color: var(--cat-ink);
    color: #fff;
}

.cat-filter-clear {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: var(--cat-accent);
    font-family: var(--cat-sans);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 4px;
}

/* ----- Enhanced filter panel ----- */
.cat-filter-panel {
    background: var(--cat-surface);
    border: 1px solid var(--cat-line);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(26, 24, 22, 0.04);
}

.cat-filter-panel__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 600px) {
    .cat-filter-panel__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .cat-filter-panel__grid {
        grid-template-columns: repeat(3, 1fr) auto;
        align-items: end;
    }
}

.cat-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cat-filter-field__label {
    font-family: var(--cat-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cat-stone);
}

.cat-filter-field__input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--cat-line);
    border-radius: 8px;
    background: var(--cat-paper);
    padding: 0 12px;
}

.cat-filter-field__input-wrap i {
    color: var(--cat-stone);
    font-size: 14px;
}

.cat-filter-field__input,
.cat-filter-field__select {
    width: 100%;
    font-family: var(--cat-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--cat-ink);
    border: 1px solid var(--cat-line);
    border-radius: 8px;
    background: var(--cat-paper);
    padding: 10px 12px;
    min-height: 44px;
}

.cat-filter-field__input-wrap .cat-filter-field__input {
    border: none;
    background: transparent;
    padding: 10px 0;
    min-height: 42px;
}

.cat-filter-field__input:focus,
.cat-filter-field__select:focus {
    outline: 2px solid var(--cat-accent);
    outline-offset: 1px;
}

.cat-filter-field--toggle {
    justify-content: flex-end;
}

.cat-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    min-height: 44px;
    user-select: none;
}

.cat-filter-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cat-filter-toggle__box {
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: var(--cat-line);
    position: relative;
    transition: background 0.2s ease;
}

.cat-filter-toggle__box::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.cat-filter-toggle input:checked + .cat-filter-toggle__box {
    background: var(--cat-ink);
}

.cat-filter-toggle input:checked + .cat-filter-toggle__box::after {
    transform: translateX(20px);
}

.cat-filter-toggle__text {
    font-family: var(--cat-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--cat-ink);
}

.cat-filter-panel__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--cat-line);
    align-items: center;
}

/* ----- Mobile: compact filters ----- */
@media (max-width: 767px) {
    .cat-products {
        padding-top: 16px;
    }

    .cat-products__head {
        margin-bottom: 10px;
    }

    .cat-section-head {
        margin-bottom: 0;
    }

    .cat-section-title {
        font-size: 1.25rem;
    }

    .cat-section-sub {
        font-size: 12px;
        margin-top: 4px;
    }

    .cat-filter-panel {
        padding: 10px 12px;
        margin-bottom: 14px;
        border-radius: 10px;
        box-shadow: 0 2px 12px rgba(26, 24, 22, 0.05);
    }

    .cat-filter-panel__grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cat-filter-field--search {
        grid-column: 1 / -1;
    }

    /* Subcategory + sale toggle covered by quick chips */
    .cat-filter-field--subcat,
    .cat-filter-field--toggle {
        display: none;
    }

    .cat-filter-field {
        gap: 0;
    }

    .cat-filter-field__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .cat-filter-field__input-wrap {
        padding: 0 10px;
        min-height: 36px;
        border-radius: 6px;
    }

    .cat-filter-field__input-wrap i {
        font-size: 12px;
    }

    .cat-filter-field__input,
    .cat-filter-field__select {
        min-height: 36px;
        padding: 6px 10px;
        font-size: 13px;
        border-radius: 6px;
    }

    .cat-filter-field__input-wrap .cat-filter-field__input {
        min-height: 34px;
        padding: 6px 0;
        font-size: 13px;
    }

    .cat-filter-panel__chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
        margin-top: 8px;
        padding-top: 8px;
        padding-bottom: 2px;
        border-top: 1px solid var(--cat-line);
    }

    .cat-filter-panel__chips::-webkit-scrollbar {
        display: none;
    }

    .cat-filter-pill {
        padding: 5px 11px;
        font-size: 11px;
    }

    .cat-filter-clear {
        font-size: 11px;
        padding: 5px 8px 5px 4px;
        margin-left: 2px;
    }
}

/* ----- Section heads ----- */
.cat-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.cat-section-title {
    font-family: var(--cat-serif);
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 600;
    color: var(--cat-ink);
    margin: 0;
    letter-spacing: -0.02em;
}

.cat-section-sub {
    font-family: var(--cat-sans);
    font-size: 14px;
    color: var(--cat-stone);
    margin: 6px 0 0;
}

.cat-section-link {
    font-family: var(--cat-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--cat-accent);
    text-decoration: none;
    white-space: nowrap;
}

.cat-section-link:hover {
    text-decoration: underline;
}

/* ----- Collections — premium carousel ----- */
.cat-collections {
    padding: 6px 0 24px;
    background: linear-gradient(180deg, var(--cat-paper) 0%, #ebe6df 100%);
}

.cat-collections__head-wrap {
    margin-bottom: 12px;
}

.cat-collections__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.cat-collections__eyebrow {
    font-family: var(--cat-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cat-champagne);
    margin: 0 0 6px;
}

.cat-collections__title {
    font-family: var(--cat-serif);
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 500;
    color: var(--cat-ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.cat-collections__nav-hint {
    display: none;
    align-items: center;
    gap: 8px;
    font-family: var(--cat-sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--cat-stone);
}

.cat-collections__scroll {
    position: relative;
    padding: 0 0 8px;
}

.cat-collections__track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 8px 16px 20px;
}

.cat-collections__track::-webkit-scrollbar {
    display: none;
}

.cat-collections__row {
    display: flex;
    gap: 16px;
}

.cat-collection-card {
    flex: 0 0 min(68vw, 260px);
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(16px);
    animation: catCollectionIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.08s * var(--cat-card-i, 0));
}

@keyframes catCollectionIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cat-collection-card__frame {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    background: #e0dbd4;
    box-shadow: 0 8px 28px rgba(26, 24, 22, 0.1);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.cat-collection-card:hover .cat-collection-card__frame {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26, 24, 22, 0.16);
}

.cat-collection-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.7s ease;
}

.cat-collection-card__img--hero-center {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.cat-collection-card:hover .cat-collection-card__img {
    transform: scale(1.06);
}

.cat-collection-card__ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.25rem;
    color: var(--cat-stone);
}

.cat-collection-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(26, 24, 22, 0.78) 0%,
        rgba(26, 24, 22, 0.2) 45%,
        transparent 70%
    );
}

.cat-collection-card__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 16px 14px;
    z-index: 2;
    color: #fff;
}

.cat-collection-card__name {
    display: block;
    font-family: var(--cat-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.cat-collection-card__sub {
    display: block;
    font-family: var(--cat-sans);
    font-size: 12px;
    opacity: 0.88;
    margin-top: 4px;
}

.cat-collection-card__count {
    display: block;
    font-family: var(--cat-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-top: 8px;
}

.cat-collection-card__cta {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--cat-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.cat-collection-card:hover .cat-collection-card__cta {
    opacity: 1;
    transform: translateY(0);
}

.cat-collection-card:hover .cat-collection-card__label {
    padding-bottom: 36px;
}

.cat-collections__arrow {
    display: none;
    position: absolute;
    top: 42%;
    z-index: 6;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--cat-surface);
    color: var(--cat-ink);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(26, 24, 22, 0.12);
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.cat-collections__arrow:hover {
    background: var(--cat-ink);
    color: #fff;
}

.cat-collections__arrow--prev {
    left: 8px;
}

.cat-collections__arrow--next {
    right: 8px;
}

/* ----- All products grid ----- */
.cat-products {
    padding: 14px 0 28px;
}

.cat-products__head {
    margin-bottom: 10px;
}

.cat-products__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 6px;
    align-items: stretch;
    width: 100%;
}

@media (min-width: 600px) {
    .cat-products__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 6px;
    }
}

@media (min-width: 992px) {
    .cat-products__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px 6px;
    }
}

body.is-category-page .cat-products__grid > .lux-product-card,
body.is-category-page .cat-products__grid > .product-card {
    grid-column: auto;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    flex: none !important;
    flex-shrink: 1 !important;
    scroll-snap-align: unset;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.is-category-page .cat-products__grid > .lux-product-card .lux-product-card__shell {
    flex: 1;
    width: 100%;
    min-height: 0;
}

body.is-category-page .cat-products__grid .lux-product-card__footer {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.is-category-page .cat-products__grid .lux-product-card__copy {
    margin-top: auto;
}

body.is-category-page .cat-products__grid .lux-product-card.is-filtered-out {
    display: none !important;
}

.cat-products__empty {
    text-align: center;
    padding: 48px 16px;
    font-family: var(--cat-sans);
    font-size: 15px;
    color: var(--cat-stone);
}

.cat-products__empty.is-hidden {
    display: none;
}

.cat-products__empty i {
    display: block;
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--cat-line);
}

/* ----- Product rails (collections) ----- */

.cat-rail {
    position: relative;
    margin: 0 -4px;
}

.cat-rail__track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 4px 4px 16px;
}

.cat-rail__track::-webkit-scrollbar {
    display: none;
}

.cat-rail__row {
    display: flex;
    gap: 10px;
}

.cat-rail__arrow {
    display: none;
    position: absolute;
    top: 38%;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 1px solid var(--cat-line);
    border-radius: 50%;
    background: var(--cat-surface);
    color: var(--cat-ink);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, transform 0.15s ease;
}

.cat-rail__arrow:hover {
    background: var(--cat-ink);
    color: #fff;
}

.cat-rail__arrow--prev { left: -6px; }
.cat-rail__arrow--next { right: -6px; }

/* ----- Subcategory sections ----- */
.cat-sections {
    padding-top: 8px;
}

.cat-subsection {
    padding: 20px 0;
    border-top: 1px solid var(--cat-line);
}

.cat-subsection.is-hidden {
    display: none;
}

.cat-subsection__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 12px;
}

.cat-subsection__head--text-only {
    gap: 0;
}

.cat-subsection__head--text-only .cat-subsection__copy {
    max-width: none;
}

.cat-subsection__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.cat-subsection__visual {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: #ebe8e3;
    text-decoration: none;
}

.cat-subsection__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cat-subsection__visual:hover img {
    transform: scale(1.04);
}

.cat-subsection__visual-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.5rem;
    color: var(--cat-stone);
}

.cat-subsection__visual-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 24, 22, 0.35) 0%, transparent 60%);
    pointer-events: none;
}

.cat-subsection__title {
    font-family: var(--cat-serif);
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    font-weight: 600;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.cat-subsection__title a {
    color: var(--cat-ink);
    text-decoration: none;
}

.cat-subsection__title a:hover {
    color: var(--cat-accent);
}

.cat-subsection__subtitle {
    font-family: var(--cat-sans);
    font-size: 14px;
    color: var(--cat-stone);
    margin: 0 0 12px;
    line-height: 1.5;
}

.cat-subsection__shopall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--cat-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cat-ink);
    text-decoration: none;
    border-bottom: 2px solid var(--cat-ink);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.cat-subsection__shopall:hover {
    color: var(--cat-accent);
    border-color: var(--cat-accent);
}

.cat-subsection__empty {
    font-family: var(--cat-sans);
    color: var(--cat-stone);
    font-size: 14px;
}

/* ----- Product cards in rails ----- */
body.is-category-page .cat-rail .lux-product-card,
body.is-category-page .cat-collections__row .lux-product-card {
    width: 156px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

body.is-category-page .lux-product-card.is-filtered-out {
    display: none !important;
}

/* ----- Mobile hero: 80vh banner, centered image, clipped overflow ----- */
@media (max-width: 767.98px) {
    .cat-hero {
        overflow: hidden;
    }

    .cat-hero__visual {
        display: block;
        height: 80vh;
        min-height: 80vh;
        max-height: 80vh;
        aspect-ratio: unset;
        overflow: hidden;
    }

    .cat-hero__media--photo {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .cat-hero__photo {
        object-fit: cover;
        object-position: center center;
    }

    .cat-hero__content {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .cat-hero__scrim {
        background: linear-gradient(
            to top,
            rgba(26, 24, 22, 0.88) 0%,
            rgba(26, 24, 22, 0.45) 45%,
            transparent 72%
        );
    }
}

/* ----- Tablet+ ----- */
@media (min-width: 768px) {
    .cat-hero__content {
        padding: 40px 24px 48px;
    }

    .cat-collections__nav-hint {
        display: inline-flex;
    }

    .cat-collections__arrow {
        display: inline-flex;
    }

    .cat-collection-card {
        flex: 0 0 280px;
    }

    .cat-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0;
    }

    .cat-toolbar__filters {
        flex: 1;
        flex-wrap: wrap;
        overflow: visible;
    }

    .cat-rail__arrow {
        display: inline-flex;
    }

    .cat-subsection__head {
        grid-template-columns: minmax(200px, 320px) 1fr;
        align-items: center;
    }

    .cat-subsection__visual {
        max-height: none;
        aspect-ratio: 4 / 5;
    }

    body.is-category-page .cat-rail .lux-product-card {
        width: 200px;
    }
}

@media (min-width: 1024px) {
    .cat-collections__track,
    .cat-rail__track {
        padding-left: max(16px, calc((100vw - 1200px) / 2 + 16px));
        padding-right: max(16px, calc((100vw - 1200px) / 2 + 16px));
    }

    .cat-collection-card {
        flex: 0 0 300px;
    }

    body.is-category-page .cat-rail .lux-product-card {
        width: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cat-collection-card {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

