/* Category archive — scoped to .sx-cat; does not restyle global header/footer. */
body.sx-page-cat {
    background: #f5f7fb;
    font-family: Manrope, sans-serif;
    color: #0f172a;
}
body.sx-page-cat #tbay-main-content,
body.sx-page-cat #main-wrapper,
body.sx-page-cat #main-container,
body.sx-page-cat .archive-shop,
body.sx-page-cat .content,
body.sx-page-cat .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}
body.sx-page-cat #tbay-breadscrumb,
body.sx-page-cat .tbay-filter,
body.sx-page-cat .sidebar,
body.sx-page-cat .besa-back-btn,
body.sx-page-cat .recent-viewed,
body.sx-page-cat .woof_products_top_panel,
body.sx-page-cat .woof_products_top_panel_content,
body.sx-page-cat .page-title,
body.sx-page-cat .entry-title,
body.sx-page-cat .entry-header,
body.sx-page-cat .elementor {
    display: none !important;
}

.sx-cat {
    --sx-navy: #0d244c;
    --sx-blue: #2563eb;
    --sx-bg: #f5f7fb;
    --sx-card: #ffffff;
    --sx-line: #e6edf5;
    --sx-muted: #64748b;
    padding: 8px 0 56px;
    background: var(--sx-bg);
    font-family: Manrope, sans-serif;
    color: #0f172a;
}
.sx-cat .sx-wrap {
    width: min(1600px, calc(100% - 64px));
    margin: 0 auto;
}
.sx-cat a { text-decoration: none; color: inherit; }
.sx-cat * { box-sizing: border-box; }

.sx-cat__crumbs { margin: 0 0 14px; }
.sx-cat__crumbs ol {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    margin: 0; padding: 0; list-style: none;
    color: #94a3b8; font-size: 13px; font-weight: 600;
}
.sx-cat__crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.sx-cat__crumbs li + li::before { content: "›"; color: #cbd5e1; font-weight: 700; }
.sx-cat__crumbs a { color: #64748b; }
.sx-cat__crumbs a:hover { color: var(--sx-blue); }
.sx-cat__crumbs span { color: #475569; }

.sx-cat-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    align-items: center;
    gap: 20px;
    min-height: 180px;
    max-height: 210px;
    margin: 0 0 18px;
    padding: 22px 28px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(38% 90% at 92% 42%, rgba(147, 197, 253, .28), transparent 68%),
        linear-gradient(105deg, #eef5ff 0%, #e4efff 48%, #dbeafe 100%);
}
.sx-cat-banner--office { background: radial-gradient(38% 90% at 92% 42%, rgba(253, 186, 116, .28), transparent 68%), linear-gradient(105deg, #fffaf3 0%, #fff1e0 48%, #ffe4c8 100%); }
.sx-cat-banner--guard { background: radial-gradient(38% 90% at 92% 42%, rgba(110, 231, 183, .28), transparent 68%), linear-gradient(105deg, #f3fdf7 0%, #e6f9ef 48%, #d1fae5 100%); }
.sx-cat-banner--server { background: radial-gradient(38% 90% at 92% 42%, rgba(148, 163, 184, .26), transparent 68%), linear-gradient(105deg, #f7f9fc 0%, #eef2f7 48%, #e2e8f0 100%); }
.sx-cat-banner--design { background: radial-gradient(38% 90% at 92% 42%, rgba(196, 181, 253, .28), transparent 68%), linear-gradient(105deg, #faf7ff 0%, #f3eefc 48%, #e9e0fb 100%); }
.sx-cat-banner--more { background: radial-gradient(38% 90% at 92% 42%, rgba(165, 180, 252, .26), transparent 68%), linear-gradient(105deg, #f6f8ff 0%, #eef1ff 48%, #e0e7ff 100%); }
.sx-cat-banner--deal { background: radial-gradient(38% 90% at 92% 42%, rgba(252, 211, 77, .28), transparent 68%), linear-gradient(105deg, #fffcf3 0%, #fef6dc 48%, #fdecc0 100%); }
.sx-cat-banner--best { background: radial-gradient(38% 90% at 92% 42%, rgba(253, 224, 71, .26), transparent 68%), linear-gradient(105deg, #fffdf0 0%, #fef9d8 48%, #fef08a 100%); }
.sx-cat-banner--hobby { background: radial-gradient(38% 90% at 92% 42%, rgba(196, 181, 253, .26), transparent 68%), linear-gradient(105deg, #faf8ff 0%, #f3f0ff 48%, #e9e4ff 100%); }
.sx-cat-banner--biz { background: radial-gradient(38% 90% at 92% 42%, rgba(94, 234, 212, .24), transparent 68%), linear-gradient(105deg, #f3fdfa 0%, #e6faf5 48%, #d5f5ee 100%); }
.sx-cat-banner--media { background: radial-gradient(38% 90% at 92% 42%, rgba(103, 232, 249, .24), transparent 68%), linear-gradient(105deg, #f3fcfe 0%, #e7f8fc 48%, #d5f3fa 100%); }

.sx-cat-banner__copy { display: flex; align-items: flex-start; gap: 16px; min-width: 0; z-index: 1; }
.sx-cat-banner__mark { flex: none; width: 64px; height: 64px; }
.sx-cat-banner__mark svg { width: 64px; height: 64px; display: block; }
.sx-cat-banner__text { min-width: 0; }
.sx-cat-banner h1,
.sx-cat-banner p.sx-cat-banner__title {
    margin: 0 0 6px;
    color: var(--sx-navy);
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.sx-cat-banner p {
    margin: 0 0 12px;
    max-width: 52ch;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.45;
    font-weight: 500;
}
.sx-cat-banner__trust {
    display: flex; flex-wrap: wrap; gap: 8px 14px;
    margin: 0; padding: 0; list-style: none;
}
.sx-cat-banner__trust li {
    display: inline-flex; align-items: center; gap: 6px;
    color: #334155; font-size: 13px; font-weight: 700;
}
.sx-cat-banner__trust svg { width: 14px; height: 14px; color: var(--sx-blue); flex: none; }
.sx-cat-banner--guard .sx-cat-banner__trust svg { color: #16a34a; }
.sx-cat-banner--office .sx-cat-banner__trust svg { color: #ea580c; }
.sx-cat-banner--design .sx-cat-banner__trust svg { color: #db2777; }

.sx-cat-banner__art {
    position: relative;
    height: 168px;
    display: grid;
    place-items: center;
    isolation: isolate;
}
.sx-cat-banner__ornament {
    position: absolute;
    right: -24px; top: 42%;
    width: 310px; height: 180px;
    transform: translateY(-50%);
    object-fit: contain;
    opacity: .22;
    pointer-events: none;
    z-index: 0;
}
.sx-cat-banner__glow {
    position: absolute;
    width: 220px; height: 56px;
    left: 50%; bottom: 2px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 23, 42, .12), transparent 70%);
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}
.sx-cat-banner__shot {
    position: absolute;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    object-fit: contain;
    /* Dark shadow only — avoids pale/white pedestal look around cutouts */
    filter: drop-shadow(0 14px 18px rgba(15, 23, 42, .28));
    pointer-events: none;
    z-index: 1;
}
.sx-cat-banner__shot--1 {
    width: 118px !important; height: 118px !important;
    left: 8%; bottom: 16px;
    transform: rotate(-4deg) scale(.96);
    z-index: 2;
    opacity: .98;
}
.sx-cat-banner__shot--2 {
    width: 148px !important; height: 148px !important;
    left: 34%; bottom: 4px;
    transform: rotate(1deg);
    z-index: 4;
    filter: drop-shadow(0 16px 20px rgba(15, 23, 42, .3));
}
.sx-cat-banner__shot--3 {
    width: 122px !important; height: 122px !important;
    right: 4%; bottom: 18px;
    transform: rotate(5deg) scale(.97);
    z-index: 3;
}
/* Single / dual shot balance for sparse categories */
.sx-cat-banner__art:has(.sx-cat-banner__shot:only-of-type) .sx-cat-banner__shot,
.sx-cat-banner__art .sx-cat-banner__shot:only-child {
    left: 50% !important; right: auto !important;
    transform: translateX(-50%) rotate(-2deg) !important;
    width: 148px !important; height: 148px !important;
    bottom: 10px;
    z-index: 4;
}
.sx-cat-banner__art:has(.sx-cat-banner__shot--1):not(:has(.sx-cat-banner__shot--3)) .sx-cat-banner__shot--1 {
    left: 18%;
}
.sx-cat-banner__art:has(.sx-cat-banner__shot--1):not(:has(.sx-cat-banner__shot--3)) .sx-cat-banner__shot--2 {
    left: auto; right: 14%;
}

.sx-cat-chips {
    display: flex; gap: 10px; overflow-x: auto;
    margin: 0 0 18px; padding: 2px 2px 8px;
    scrollbar-width: thin;
}
.sx-cat-chip {
    display: inline-flex; align-items: center; gap: 8px;
    flex: none; height: 46px; padding: 0 14px 0 10px;
    border: 1px solid var(--sx-line); border-radius: 14px;
    background: #fff; color: #334155;
    font-size: 13px; font-weight: 700;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.sx-cat-chip:hover { border-color: #c7d7ea; box-shadow: 0 8px 18px rgba(15,23,42,.06); transform: translateY(-1px); }
.sx-cat-chip.is-on { background: var(--sx-navy); border-color: var(--sx-navy); color: #fff; }
.sx-cat-chip__ico {
    width: 28px; height: 28px; border-radius: 9px; overflow: hidden;
    display: grid; place-items: center; background: color-mix(in srgb, var(--sx-chip) 14%, white);
}
.sx-cat-chip.is-on .sx-cat-chip__ico { background: rgba(255,255,255,.14); }
.sx-cat-chip__ico svg { width: 28px; height: 28px; transform: scale(.92); }
.sx-cat-chip__count { color: #94a3b8; font-weight: 600; font-size: 12px; }
.sx-cat-chip.is-on .sx-cat-chip__count { color: rgba(255,255,255,.72); }

.sx-cat__layout {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}


.sx-cat-filters {
    background: #fff;
    border: 1px solid var(--sx-line);
    border-radius: 18px;
    padding: 18px 14px 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}
.sx-cat-filters__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 4px; padding: 0 4px 10px;
}
.sx-cat-filters__head strong {
    font-size: 18px; font-weight: 800; color: #0b1733; letter-spacing: -.02em;
}
.sx-cat-filters__close { display: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: #f1f5f9; color: #334155; }
.sx-cat-filters__close svg { width: 18px; height: 18px; }

.sx-cat-block { border-top: 1px solid #e8eef6; padding: 14px 0 6px; }
.sx-cat-block summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    color: #0f172a; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
.sx-cat-block summary::-webkit-details-marker { display: none; }
.sx-cat-block summary::after {
    content: ""; width: 7px; height: 7px;
    border-right: 1.8px solid #94a3b8; border-bottom: 1.8px solid #94a3b8;
    transform: rotate(45deg); transition: transform .18s ease;
}
.sx-cat-block[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }

.sx-cat-nav, .sx-cat-opts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.sx-cat-nav__row, .sx-cat-opts label {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center; gap: 10px;
    min-height: 42px; padding: 8px 10px;
    border-radius: 11px;
    color: #334155; font-size: 13.75px; font-weight: 600; line-height: 1.3;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.sx-cat-opts--rate .sx-cat-stars { white-space: nowrap; font-size: 12.5px; color: #f5b301; }
.sx-cat-nav__row:hover, .sx-cat-opts label:hover { background: #f5f8fc; }
.sx-cat-nav > li.is-on > .sx-cat-nav__row {
    background: #eef4ff;
    color: var(--sx-navy);
    font-weight: 800;
}
.sx-cat-opts label.is-on {
    background: #f5f8fc;
    color: var(--sx-navy);
    font-weight: 800;
}
.sx-cat-nav__name { min-width: 0; }
.sx-cat-nav__count, .sx-cat-opts em {
    color: #94a3b8; font-size: 12.5px; font-style: normal; font-weight: 700;
    justify-self: end; min-width: 1.6em; text-align: right;
}
.sx-cat-check {
    width: 18px; height: 18px; border-radius: 6px;
    border: 1.6px solid #c9d4e3; background: #fff;
    display: grid; place-items: center;
}
.sx-cat-nav > li.is-on > .sx-cat-nav__row .sx-cat-check,
.sx-cat-opts label.is-on .sx-cat-check {
    border-color: var(--sx-blue); background: var(--sx-blue);
}
.sx-cat-nav > li.is-on > .sx-cat-nav__row .sx-cat-check::after,
.sx-cat-opts label.is-on .sx-cat-check::after {
    content: ""; width: 9px; height: 5px;
    border-left: 2px solid #fff; border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
}
.sx-cat-opts input { position: absolute; opacity: 0; pointer-events: none; }
.sx-cat-nav__kids { list-style: none; margin: 2px 0 8px 28px; padding: 0; }
.sx-cat-nav__kids a {
    display: flex; justify-content: space-between; gap: 8px;
    padding: 7px 6px; color: #64748b; font-size: 13px; font-weight: 600;
}
.sx-cat-nav__kids li.is-on a { color: var(--sx-blue); font-weight: 800; }
.sx-cat-nav__kids em { color: #94a3b8; font-style: normal; }

.sx-cat-price { padding: 8px 2px 4px; }
.sx-cat-price__track { position: relative; height: 28px; margin: 4px 0 12px; }
.sx-cat-price__track input[type="range"] {
    position: absolute; left: 0; right: 0; width: 100%;
    appearance: none; background: transparent; pointer-events: none;
}
.sx-cat-price__track input[type="range"]::-webkit-slider-runnable-track {
    height: 4px; border-radius: 999px; background: #e2e8f0;
}
.sx-cat-price__track input[type="range"]::-webkit-slider-thumb {
    appearance: none; pointer-events: auto;
    width: 16px; height: 16px; margin-top: -6px;
    border-radius: 50%; border: 2px solid #fff;
    background: var(--sx-blue); box-shadow: 0 2px 8px rgba(37,99,235,.35);
}
.sx-cat-price__fields {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center;
}
.sx-cat-price__fields label {
    display: flex; align-items: center; gap: 4px;
    height: 38px; padding: 0 10px; border: 1px solid var(--sx-line); border-radius: 10px;
    color: #64748b; font-size: 13px; font-weight: 700; background: #fff;
}
.sx-cat-price__fields input {
    width: 100%; border: 0; outline: 0; background: transparent;
    color: #0f172a; font: inherit; font-weight: 700;
}
.sx-cat-stars { color: #f5b301; letter-spacing: 1px; }

.sx-cat-filters__foot { display: grid; gap: 8px; margin-top: 12px; }
.sx-cat-filters__apply {
    height: 42px; border: 0; border-radius: 12px;
    background: var(--sx-navy); color: #fff;
    font-size: 14px; font-weight: 800; cursor: pointer;
}
.sx-cat-filters__clear, .sx-cat-toolbar__clear {
    color: var(--sx-blue); font-size: 13px; font-weight: 700; text-align: center;
}

.sx-cat-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 14px; padding: 10px 12px;
    border: 1px solid var(--sx-line); border-radius: 14px; background: #fff;
}
.sx-cat-toolbar__left, .sx-cat-toolbar__right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sx-cat-toolbar__count { margin: 0; color: #475569; font-size: 13.5px; font-weight: 600; }
.sx-cat-toolbar__count strong { color: #0f172a; font-weight: 800; }
.sx-cat-toolbar__filter {
    display: none; align-items: center; gap: 6px;
    height: 36px; padding: 0 12px; border: 1px solid var(--sx-line); border-radius: 10px;
    background: #fff; color: var(--sx-navy); font-size: 13px; font-weight: 800;
}
.sx-cat-toolbar__filter svg { width: 16px; height: 16px; }
.sx-cat-sort label { display: inline-flex; align-items: center; gap: 8px; color: #64748b; font-size: 12px; font-weight: 700; }
.sx-cat-sort select {
    height: 36px; padding: 0 28px 0 10px; border: 1px solid var(--sx-line); border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 12px no-repeat;
    color: #0f172a; font-size: 13px; font-weight: 700; appearance: none;
}
.sx-cat-views { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--sx-line); border-radius: 10px; background: #f8fafc; }
.sx-cat-views__btn {
    width: 32px; height: 30px; border-radius: 8px; color: #64748b;
    display: grid; place-items: center;
}
.sx-cat-views__btn svg { width: 15px; height: 15px; fill: currentColor; }
.sx-cat-views__btn:last-child svg { fill: none; }
.sx-cat-views__btn.is-on { background: #fff; color: var(--sx-navy); box-shadow: 0 1px 4px rgba(15,23,42,.08); }

.sx-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
    align-items: stretch;
}
.sx-cat-grid.is-list { grid-template-columns: 1fr; }
.sx-cat-grid.is-list .sx-cat-card {
    display: grid; grid-template-columns: 148px minmax(0, 1fr); align-items: stretch;
    max-width: none; min-height: 0; height: auto;
}
.sx-cat-grid.is-list .sx-cat-card__media { height: 100%; min-height: 148px; }
.sx-cat-grid.is-list .sx-cat-card__body { display: flex; min-height: 0; }

/* Vertical premium cards — scoped to category only */
body.sx-page-cat .sx-cat .sx-cat-card,
.sx-cat-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 348px;
    max-height: 370px;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(16, 37, 75, .03);
    box-sizing: border-box;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.sx-page-cat .sx-cat .sx-cat-card:hover,
.sx-cat-card:hover {
    transform: translateY(-2px);
    border-color: #d5e0ee;
    box-shadow: 0 10px 18px rgba(16, 37, 75, .06);
}
body.sx-page-cat .sx-cat .sx-cat-card__media,
.sx-cat-card__media {
    position: relative;
    flex: none;
    height: 158px;
    display: grid;
    place-items: center;
    overflow: hidden !important;
    padding: 18px 10px 8px;
    background: #fff !important;
    border-bottom: 0;
}
.sx-cat-card--win .sx-cat-card__media,
.sx-cat-card--office .sx-cat-card__media,
.sx-cat-card--guard .sx-cat-card__media,
.sx-cat-card--server .sx-cat-card__media,
.sx-cat-card--design .sx-cat-card__media {
    background: #fff !important;
}
.sx-cat-card__photo {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
body.sx-page-cat .sx-cat .sx-cat-card__media img,
body.sx-page-cat .sx-cat .sx-cat-card__img,
body.sx-page-cat.woocommerce .sx-cat-card__media img,
body.sx-page-cat.woocommerce ul.products li.product .sx-cat-card__media img,
.sx-cat-card__media img,
.sx-cat-card__img {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 92% !important;
    max-height: 138px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: drop-shadow(0 8px 12px rgba(16, 37, 75, .12));
}
.sx-cat-card__off {
    position: absolute; top: 8px; left: 8px; z-index: 3;
    height: 22px; padding: 0 7px; border-radius: 999px;
    background: #ef4444; color: #fff; font-size: 10.5px; font-weight: 800;
    line-height: 22px;
}
.sx-cat-card__now {
    position: absolute; top: 8px; right: 8px; z-index: 3;
    height: 22px; padding: 0 7px; border-radius: 999px;
    background: #16a34a; color: #fff; font-size: 10.5px; font-weight: 800;
    line-height: 22px; white-space: nowrap;
}
body.sx-page-cat .sx-cat .sx-cat-card__body,
.sx-cat-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 6px 12px 12px;
    background: #fff;
    isolation: isolate;
}
body.sx-page-cat .sx-cat .sx-cat-card__title,
.sx-cat-card__title {
    margin: 0;
    height: 2.5em;
    flex: none;
    font-size: 13.5px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.2px;
    overflow: hidden;
}
body.sx-page-cat .sx-cat .sx-cat-card__title a,
.sx-cat-card__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #10254b !important;
}
.sx-cat-card__rate {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 15px;
    flex: none;
    margin: 8px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}
.sx-cat-card__stars {
    position: relative;
    width: 62px;
    height: 11px;
    flex: none;
    background: none;
    -webkit-mask: none;
    mask: none;
}
.sx-cat-card__stars-base,
.sx-cat-card__stars-fill {
    display: flex;
    gap: 1.5px;
    height: 11px;
}
.sx-cat-card__stars-base { color: #e6ebf2; }
.sx-cat-card__stars-fill {
    position: absolute;
    left: 0; top: 0;
    overflow: hidden;
    color: #f5b301;
}
.sx-cat-card__stars svg {
    width: 11px; height: 11px; flex: none; fill: currentColor;
}
.sx-cat-card__count { line-height: 1; }
.sx-cat-card__rate-empty { color: #94a3b8; font-weight: 600; font-size: 11.5px; }
.sx-cat-card__pricing {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: none;
    margin-top: 8px;
    min-height: 0;
}
.sx-cat-card__was {
    display: flex;
    align-items: center;
    min-height: 15px;
}
.sx-cat-card__was del {
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 600;
}
body.sx-page-cat .sx-cat .sx-cat-card__now-price,
.sx-cat-card__now-price {
    display: flex;
    align-items: center;
    min-height: 24px;
    color: #10254b;
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
}
.sx-cat-card__now-price .woocommerce-Price-amount,
.sx-cat-card__now-price .amount,
.sx-cat-card__now-price ins {
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    background: none;
}
.sx-cat-card__now-price del { display: none; }
.sx-cat-card__now-price .screen-reader-text {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
.sx-cat-card__actions {
    margin-top: auto;
    padding-top: 8px;
}
body.sx-page-cat .sx-cat a.sx-cat-card__add,
.sx-cat-card__add {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 36px;
    min-height: 36px;
    border-radius: 10px;
    background: linear-gradient(180deg, #16356e 0%, #0c2348 100%);
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 800;
    box-shadow: 0 4px 8px rgba(12, 35, 72, .1);
}
.sx-cat-card__add:hover { background: linear-gradient(180deg, #1d4588 0%, #102a56 100%); }
.sx-cat-card__add .sx-icon,
.sx-cat-card__add svg {
    width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.7;
}

.sx-cat-pages { margin: 22px 0 8px; }
.sx-cat-pages ul {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
    margin: 0; padding: 0; list-style: none;
}
.sx-cat-pages a, .sx-cat-pages span {
    min-width: 36px; height: 36px; padding: 0 10px;
    border: 1px solid var(--sx-line); border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: #334155; font-size: 13px; font-weight: 700;
}
.sx-cat-pages .current {
    background: var(--sx-navy); border-color: var(--sx-navy); color: #fff;
}
.sx-cat-pages a:hover { border-color: #c7d7ea; color: var(--sx-blue); }

.sx-cat-empty {
    padding: 48px 20px; border: 1px dashed #dbe3ee; border-radius: 18px;
    background: #fff; text-align: center; color: #64748b;
}
.sx-cat-empty a { color: var(--sx-blue); font-weight: 800; }

.sx-cat-seo {
    display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px;
    margin-top: 28px; padding: 22px 22px 20px;
    border: 1px solid var(--sx-line); border-radius: 18px; background: #fff;
}
.sx-cat-seo__mark svg { width: 56px; height: 56px; display: block; }
.sx-cat-seo h2 {
    margin: 0 0 8px; color: var(--sx-navy); font-size: 20px; font-weight: 800; letter-spacing: -.02em;
}
.sx-cat-seo__content {
    max-height: 180px; overflow: auto; padding-right: 6px;
    color: #475569; font-size: 14.5px; line-height: 1.65;
}
.sx-cat-seo__content p { margin: 0 0 10px; }
.sx-cat-seo__content a { color: var(--sx-blue); font-weight: 700; }

.sx-cat-scrim {
    position: fixed; inset: 0; z-index: 55;
    background: rgba(15, 23, 42, .42);
}

/* Small desktop: 4 columns */
@media (max-width: 1400px) {
    .sx-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1280px) {
    .sx-cat-banner h1,
    .sx-cat-banner p.sx-cat-banner__title { font-size: 26px; }
}
/* Tablet: 3 columns + drawer filters */
@media (max-width: 1100px) {
    .sx-cat__layout { grid-template-columns: 1fr; }
    .sx-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .sx-cat-filters {
        position: fixed; top: 0; left: 0; bottom: 0; z-index: 60;
        width: min(340px, 92vw); margin: 0; border-radius: 0 18px 18px 0;
        overflow: auto; transform: translateX(-105%); transition: transform .22s ease;
    }
    body.sx-cat-filters-open .sx-cat-filters { transform: translateX(0); }
    body.sx-cat-filters-open .sx-cat-scrim { display: block; }
    .sx-cat-scrim[hidden] { display: none; }
    .sx-cat-filters__close { display: grid; place-items: center; }
    .sx-cat-toolbar__filter { display: inline-flex; }
    .sx-cat-banner { grid-template-columns: 1fr; max-height: none; }
    .sx-cat-banner__art { height: 140px; }
}
/* Mobile: 2 columns */
@media (max-width: 760px) {
    .sx-cat .sx-wrap { width: min(100% - 24px, 1600px); }
    .sx-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sx-cat-grid.is-list { grid-template-columns: 1fr; }
    .sx-cat-banner { padding: 16px; min-height: 0; }
    .sx-cat-banner__copy { flex-direction: column; gap: 10px; }
    .sx-cat-banner h1,
    .sx-cat-banner p.sx-cat-banner__title { font-size: 22px; }
    .sx-cat-banner p { font-size: 13.5px; }
    .sx-cat-banner p.sx-cat-banner__title { font-size: 22px; color: var(--sx-navy); font-weight: 800; line-height: 1.15; }
    .sx-cat-banner__art { display: none; }
    body.sx-page-cat .sx-cat .sx-cat-card,
    .sx-cat-card {
        min-height: 0;
        max-height: none;
        height: auto;
    }
    body.sx-page-cat .sx-cat .sx-cat-card__media { height: 128px; padding: 12px 8px 6px; }
    body.sx-page-cat .sx-cat .sx-cat-card__media img,
    body.sx-page-cat .sx-cat .sx-cat-card__img { max-height: 112px !important; max-width: 90% !important; }
    .sx-cat-card__body { padding: 4px 10px 12px; }
    .sx-cat-card__title { font-size: 13px; line-height: 1.35; }
    .sx-cat-card__now-price { font-size: 16px; }
    .sx-cat-card__add { height: 44px; min-height: 44px; font-size: 12.5px; }
    .sx-cat-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
    .sx-cat-toolbar__filter { min-height: 44px; }
    .sx-cat-seo { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .sx-cat-card__now { font-size: 10px; padding: 0 6px; }
    .sx-cat-grid { gap: 8px; }
    .sx-cat-card__title { font-size: 12.5px; }
}
@media (max-width: 340px) {
    .sx-cat-grid { grid-template-columns: 1fr; }
}
