/* ========================================
   Category page — custom CSS only
   ======================================== */

.cat-page {
    --cat-bg: #fbfaf8;
    --cat-surface: #ffffff;
    --cat-ink: #1a1816;
    --cat-muted: #7a736c;
    --cat-line: #e6e0d8;
    --cat-gold: #a68966;
    --cat-gold-deep: #8f7350;
    --cat-gold-soft: #c4a484;
    --cat-cream: #efe8de;
    --cat-radius: 14px;
    --cat-radius-sm: 16px;
    --cat-shadow: 0 8px 28px rgba(40, 30, 20, 0.06);

    float: none;
    clear: both;
    display: block;
    width: 100%;
    background: var(--cat-bg);
    color: var(--cat-ink);
    position: relative;
    z-index: 3;
    padding-bottom: 60px;
    min-height: 60vh;
    overflow: visible;
}

.cat-page *,
.cat-page *::before,
.cat-page *::after {
    box-sizing: border-box;
}

.cat-page button,
.cat-page input {
    font-family: inherit;
}

/* ---------- Nav (override storefront fixed nav) ---------- */

.cat-page .cat-nav {
    position: relative;
    float: none;
    width: 100%;
    margin: 0;
    padding: 18px 20px 14px;
    background: var(--cat-surface);
    border-bottom: 1px solid var(--cat-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 200;
    box-sizing: border-box;
    overflow: visible;
}

.cat-page .cat-nav .MenuItem--mega .AllMegaMenu {
    z-index: 220;
}

.cat-page .cat-nav .RightNavContent,
.cat-page .cat-nav .LeftNavContent {
    float: none;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.cat-page .cat-nav .MainLogo {
    float: none;
    margin-left: 18px;
}

.cat-page .cat-nav .SearchContauner {
    background: var(--cat-bg);
    border: 1px solid var(--cat-line);
}

/* ---------- Hero ---------- */

.cat-hero {
    width: 100%;
    max-width: none;
    margin: 16px 0 0;
    padding: 0 20px;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    overflow: visible;
}

.cat-hero-banner {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #f3eee7;
    height: clamp(220px, 32vw, 320px);
    min-height: 220px;
    max-height: 320px;
    aspect-ratio: auto;
}

.cat-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.cat-hero-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 420px;
    max-width: calc(100% - 48px);
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.cat-hero-center > * {
    pointer-events: auto;
}

.cat-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 12px;
    color: var(--cat-muted);
    margin: 0 0 12px;
    position: relative;
    left: 0;
    top: 0;
}

.cat-breadcrumb a {
    color: var(--cat-muted);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.cat-breadcrumb a:hover {
    color: var(--cat-gold);
}

.cat-breadcrumb strong {
    color: var(--cat-ink);
    font-weight: 600;
    white-space: nowrap;
}

.cat-hero-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    color: var(--cat-ink);
    line-height: 1;
}

.cat-hero-desc {
    max-width: 380px;
    width: 100%;
    margin: 0;
    font-size: 12px;
    line-height: 1.9;
    color: var(--cat-muted);
    font-weight: 400;
}

/* ---------- Shell: toolbar + sidebar + main ---------- */

.cat-shell {
    width: 100%;
    max-width: none;
    margin: 18px 0 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: clamp(340px, 26vw, 420px) minmax(0, 1fr);
    grid-template-areas: "sidebar main";
    column-gap: 18px;
    row-gap: 0;
    align-items: start;
    box-sizing: border-box;
}

.cat-sidebar {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    align-self: start;
}

.cat-main {
    grid-area: main;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---------- Sidebar ---------- */

.cat-promo {
    position: relative;
    border-radius: var(--cat-radius);
    overflow: hidden;
    background: #2a2420;
    width: 100%;
    height: 160px;
    min-height: 160px;
    max-height: 160px;
    box-shadow: var(--cat-shadow);
}

.cat-promo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    opacity: 0.92;
}

.cat-promo-body {
    position: absolute;
    left: 14px;
    right: auto;
    bottom: 14px;
    padding: 0;
    background: none;
    color: #fff;
    display: flex;
    justify-content: flex-start;
}

.cat-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--cat-gold);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.15s ease;
}

.cat-promo-btn svg {
    width: 18px;
    height: 18px;
}

.cat-promo-btn:hover {
    background: #8f7350;
    transform: translateY(-1px);
}

.cat-side-card {
    background: var(--cat-surface);
    border: 1px solid var(--cat-line);
    border-radius: var(--cat-radius);
    padding: 18px 16px;
    box-shadow: var(--cat-shadow);
}

.cat-filter {
    padding: 14px 12px;
}

.cat-filter-head {
    margin: 0 0 10px;
    padding: 0 4px;
}

.cat-side-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--cat-ink);
    line-height: 1.4;
}

.cat-filter-back {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--cat-line);
    background: #faf9f7;
    color: #6b645c;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    box-sizing: border-box;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.cat-filter-back-arrow {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1;
    color: var(--cat-gold);
}

.cat-filter-back-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cat-filter-back:hover {
    border-color: var(--cat-gold);
    color: var(--cat-gold-deep);
    background: #f7f1ea;
}

.cat-side-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cat-side-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--cat-ink);
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cat-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}

.cat-filter-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}

.cat-filter-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.cat-filter-meta em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: #9a9288;
    font-variant-numeric: tabular-nums;
}

.cat-filter-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 14px;
    font-size: 16px;
    line-height: 1;
    color: #b5ada3;
}

.cat-side-list a:hover {
    background: var(--cat-cream);
}

.cat-side-list a:hover .cat-filter-chevron {
    color: var(--cat-gold);
}

.cat-side-list .is-active a,
.cat-side-list .is-current a {
    background: #f3ebe2;
    border-color: #e8dccf;
    color: var(--cat-gold-deep);
    font-weight: 700;
}

.cat-side-list .is-active .cat-filter-meta em,
.cat-side-list .is-current .cat-filter-meta em {
    color: var(--cat-gold);
}

.cat-ship {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f3ece2;
    border: 0;
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: none;
}

.cat-ship-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #a68966;
}

.cat-ship-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cat-ship-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #1a1816;
    line-height: 1.4;
}

.cat-ship-text span {
    font-size: 12px;
    font-weight: 400;
    color: #3a3530;
    line-height: 1.5;
}

/* ---------- Main / toolbar ---------- */

.cat-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: var(--cat-surface);
    border: 1px solid var(--cat-line);
    border-radius: var(--cat-radius);
    padding: 12px 16px;
    margin-bottom: 0;
    box-shadow: var(--cat-shadow);
    width: 100%;
    position: relative;
    z-index: 20;
    overflow: visible;
}

.cat-chip-wrap {
    display: inline-flex;
    align-items: stretch;
    position: relative;
}

.cat-chip-text {
    white-space: nowrap;
}

.cat-chip-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    margin-inline-start: -10px;
    padding: 0 8px 0 10px;
    border: 1px solid #2b2723;
    border-inline-start: 0;
    border-radius: 999px;
    border-start-start-radius: 0;
    border-end-start-radius: 0;
    background: #2b2723;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

.cat-chip-clear[hidden] {
    display: none !important;
}

.cat-chip-clear:hover {
    background: #4a433c;
    border-color: #4a433c;
}

.cat-chip-wrap:has(.cat-chip.is-selected) .cat-chip {
    border-end-end-radius: 0;
    border-start-end-radius: 0;
    padding-inline-end: 10px;
}

.cat-chip-wrap:has(.cat-chip.is-selected) .cat-chip-chevron {
    display: none;
}

.cat-clear-all {
    border: 1px solid rgba(184, 157, 122, 0.45);
    background: #fff;
    color: #8a5a3a;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.cat-clear-all[hidden] {
    display: none !important;
}

.cat-clear-all:hover {
    background: #2b2723;
    border-color: #2b2723;
    color: #fff;
}

.cat-toolbar-filters,
.cat-toolbar-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
}

.cat-toolbar-filters {
    z-index: 30;
}

.cat-toolbar-meta {
    z-index: 10;
}

.cat-filter-main,
.cat-chip,
.cat-sort {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--cat-line);
    background: var(--cat-bg);
    color: var(--cat-ink);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.cat-filter-main svg,
.cat-chip svg,
.cat-sort svg {
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    color: var(--cat-muted);
    display: block;
    flex-shrink: 0;
}

.cat-filter-main {
    background: var(--cat-ink);
    border-color: var(--cat-ink);
    color: #fff;
    font-weight: 600;
}

.cat-filter-main svg {
    color: #fff;
}

.cat-filter-main:hover {
    background: #2e2a26;
}

.cat-chip:hover,
.cat-sort:hover,
.cat-dd.is-open > .cat-chip,
.cat-dd.is-open > .cat-sort {
    border-color: var(--cat-gold-soft);
    background: #fff;
}

.cat-chip.is-selected {
    border-color: var(--cat-gold);
    background: #f7f1ea;
    color: var(--cat-gold-deep);
    font-weight: 600;
}

.cat-chip.is-selected svg {
    color: var(--cat-gold);
}

.cat-dd {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cat-dd-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--cat-line);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(40, 30, 20, 0.14);
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 40;
}

.cat-dd--sort .cat-dd-menu {
    left: 0;
    right: auto;
    min-width: 190px;
}

.cat-dd.is-open .cat-dd-menu {
    display: flex;
}

.cat-dd.is-open .cat-chip svg,
.cat-dd.is-open .cat-sort svg {
    transform: rotate(180deg);
}

.cat-chip svg,
.cat-sort svg {
    transition: transform 0.2s ease;
}

.cat-dd-item {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: right;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    color: var(--cat-ink);
    cursor: pointer;
    font-family: inherit;
}

.cat-dd-item:hover,
.cat-dd-item.is-active {
    background: var(--cat-cream);
    color: var(--cat-gold);
}

.cat-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--cat-ink);
    cursor: pointer;
    user-select: none;
    margin-right: 4px;
    white-space: nowrap;
}

.cat-stock input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cat-switch {
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background: #d9d2c8;
    position: relative;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

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

.cat-stock input:checked + .cat-switch {
    background: var(--cat-gold);
}

.cat-stock input:checked + .cat-switch::after {
    transform: translateX(16px);
}

.cat-view-toggle {
    display: inline-flex;
    border: 1px solid var(--cat-line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--cat-bg);
}

.cat-view-toggle button {
    width: 34px;
    height: 32px;
    border: 0;
    background: transparent;
    color: var(--cat-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cat-view-toggle button svg {
    width: 16px;
    height: 16px;
}

.cat-view-toggle button.is-active,
.cat-view-toggle button:hover {
    background: var(--cat-surface);
    color: var(--cat-ink);
}

.cat-count {
    font-size: 12px;
    color: var(--cat-muted);
    padding: 0 4px;
}

.cat-sort {
    background: var(--cat-surface);
}

/* ---------- Product grid ---------- */

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 240px));
    gap: 16px 14px;
    width: 100%;
    justify-content: start;
}

.cat-empty {
    grid-column: 1 / -1;
    padding: 48px 24px 40px;
    text-align: center;
    color: var(--cat-muted);
    font-size: 14px;
    background: linear-gradient(180deg, #fffefb 0%, #f7f3ee 100%);
    border: 1px dashed rgba(184, 157, 122, 0.45);
    border-radius: 16px;
}

.cat-empty[hidden] {
    display: none !important;
}

.cat-empty p {
    margin: 0;
}

.cat-empty--fashion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
}

.cat-empty-visual {
    position: relative;
    width: 88px;
    height: 64px;
    margin-bottom: 6px;
}

.cat-empty-hanger {
    position: absolute;
    inset-inline-start: 18px;
    top: 8px;
    width: 52px;
    height: 40px;
    border: 2px solid #c4b09a;
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: transparent;
}

.cat-empty-hanger::before {
    content: "";
    position: absolute;
    top: -14px;
    inset-inline-start: 50%;
    width: 18px;
    height: 18px;
    margin-inline-start: -9px;
    border: 2px solid #c4b09a;
    border-radius: 50%;
    border-bottom-color: transparent;
    transform: rotate(-35deg);
}

.cat-empty-hanger.is-soft {
    inset-inline-start: 28px;
    top: 14px;
    opacity: 0.45;
    transform: scale(0.86);
}

.cat-empty-kicker {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #b89d7a;
    text-transform: uppercase;
}

.cat-empty-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #5f574f;
}

.cat-empty-text {
    max-width: 360px;
    line-height: 1.8;
    color: #8a847c;
    font-size: 13px;
}

.cat-empty-btn {
    margin-top: 8px;
    border: 1px solid rgba(184, 157, 122, 0.5);
    background: #fff;
    color: #6f6961;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.cat-empty-btn:hover {
    background: #2b2723;
    border-color: #2b2723;
    color: #fff;
}

.cat-dd-menu--colors {
    min-width: 180px;
}

.cat-dd-item--color {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-dd-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex: none;
}

.cat-dd-item-label {
    flex: 1;
    text-align: start;
}

.cat-dd-item-count {
    font-size: 11px;
    color: #b0a89f;
    font-variant-numeric: tabular-nums;
}

.cat-chip.is-selected {
    border-color: #2b2723;
    background: #2b2723;
    color: #fff;
}

.cat-chip.is-selected svg {
    color: #fff;
}

.cat-load-more-wrap {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 20px 8px 8px;
}

.cat-load-more-wrap[hidden] {
    display: none !important;
}

.cat-load-more {
    min-width: 180px;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid rgba(184, 157, 122, 0.55);
    background: #fff;
    color: #2b2723;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.cat-load-more:hover {
    background: #2b2723;
    border-color: #2b2723;
    color: #fff;
}

.cat-load-status {
    grid-column: 1 / -1;
    text-align: center;
    padding: 16px 8px 8px;
    color: #9a9288;
    font-size: 12.5px;
    font-weight: 600;
}

.cat-load-status[hidden] {
    display: none !important;
}

.cat-card.is-filtered-out {
    display: none !important;
}

.cat-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.cat-card {
    background: #ffffff;
    border: 1px solid #f0ebe4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(40, 30, 20, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    max-width: 240px;
    min-width: 0;
    flex: none;
    padding: 8px;
    box-sizing: border-box;
    position: relative;
}

.cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(40, 30, 20, 0.16);
}

.cat-card.is-oos .cat-card-media img {
    opacity: 0.72;
    filter: grayscale(0.25);
}

.cat-card-badge {
    position: absolute;
    inset-inline-start: 10px;
    inset-block-start: 10px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(40, 36, 32, 0.82);
    color: #f5f1ea;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.cat-card-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #ebe6df;
    width: 100%;
    height: 188px;
    aspect-ratio: auto;
    flex-shrink: 0;
}

.cat-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.35s ease;
}

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

.cat-wish {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--cat-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: color 0.2s ease, transform 0.15s ease;
    z-index: 2;
}

.cat-wish svg {
    width: 16px;
    height: 16px;
}

.cat-wish:hover {
    color: #c45c5c;
    transform: scale(1.06);
}

.cat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    min-width: 44px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #9e8a78;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.cat-swatches {
    position: absolute;
    inset-inline-end: 12px;
    bottom: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.cat-swatches span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.cat-sizes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2px;
    width: 100%;
    max-width: 100%;
    padding: 0 2px;
    margin-top: 1px;
}

.cat-sizes span {
    min-width: 16px;
    height: 14px;
    padding: 0 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(184, 157, 122, 0.28);
    border-radius: 2px;
    background: #faf8f5;
    color: #9a9288;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    direction: ltr;
    box-shadow: none;
}

.cat-sizes .cat-sizes-more {
    border-style: dashed;
    background: transparent;
    color: #9a9288;
    font-weight: 600;
    box-shadow: none;
}

.cat-card.is-oos .cat-sizes span {
    opacity: 0.55;
}

.cat-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 4px 6px;
}

.cat-card-title {
    margin: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #8a847c;
    line-height: 1.5;
    flex: none;
    width: 100%;
}

.cat-card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.cat-card-price del {
    color: #b0a89f;
    font-size: 12px;
    order: 1;
}

.cat-card-price strong {
    color: #b89d7a;
    font-size: 14px;
    font-weight: 700;
    order: 2;
}

.cat-card-price span {
    color: #b89d7a;
    font-size: 12px;
    font-weight: 600;
    order: 3;
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
    .cat-shell {
        grid-template-columns: clamp(300px, 28vw, 380px) minmax(0, 1fr);
        padding: 0 16px;
        max-width: none;
    }

    .cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 240px));
        justify-content: start;
    }

    .cat-hero {
        padding: 0 16px;
        max-width: none;
    }

    .cat-hero-banner {
        height: 240px;
        min-height: 240px;
        max-height: 240px;
    }

    .cat-hero-title {
        font-size: 42px;
    }
}

@media (max-width: 980px) {
    /* فیلتر → دسته‌بندی → محصولات */
    .cat-shell {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 0 16px;
    }

    .cat-main {
        display: contents;
    }

    .cat-toolbar {
        order: 1;
    }

    .cat-sidebar {
        order: 2;
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 14px;
        width: 100%;
    }

    .cat-grid {
        order: 3;
        grid-template-columns: repeat(auto-fill, minmax(200px, 240px));
        justify-content: start;
    }

    .cat-promo {
        height: 140px;
        min-height: 140px;
        max-height: 140px;
    }

    .cat-ship {
        grid-column: 1 / -1;
    }

    .cat-hero {
        padding: 0 16px;
    }

    .cat-hero-banner {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }

    .cat-hero-center {
        width: min(360px, calc(100% - 32px));
    }

    .cat-hero-title {
        font-size: 36px;
    }

    .cat-hero-desc {
        font-size: 11px;
    }
}

@media (max-width: 700px) {
    .cat-hero {
        padding: 0 14px;
        margin-top: 12px;
    }

    .cat-hero-banner {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }

    .cat-hero-center {
        width: min(300px, calc(100% - 24px));
    }

    .cat-hero-title {
        font-size: 32px;
    }

    .cat-sidebar {
        grid-template-columns: 1fr;
    }

    .cat-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .cat-toolbar-filters,
    .cat-toolbar-meta {
        justify-content: flex-start;
    }

    .cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 200px));
        justify-content: start;
        gap: 12px;
    }

    .cat-card {
        max-width: 200px;
    }
}
