/* ============================================================
   Furniture Story — Category page (listing)
   1:1 z makietą +Makieta/corner-sofas.html
   Scoped pod .fs-category-page, żeby nie kolidować z chrome OpenCart (Bootstrap).
   Chrome (header/announce/nav/footer) pozostaje natywny OC — port osobno.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

.fs-category-page {
    --bg: #FAF8F4;
    --bg-alt: #F2EDE5;
    --bg-warm: #E8DFD2;
    --ink: #1A1A1A;
    --ink-soft: #4A4744;
    --muted: #8B857E;
    --line: #E5DFD5;
    --accent: #5C5347;
    --sage: #8A9A7B;
    --terracotta: #B66B4A;
    --white: #FFFFFF;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 4px;
    --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.04);
    --shadow-md: 0 12px 32px rgba(26, 26, 26, 0.08);
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

.fs-category-page img { max-width: 100%; display: block; }
.fs-category-page a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
.fs-category-page a:hover { opacity: 0.7; }
.fs-category-page button { font-family: inherit; cursor: pointer; border: none; background: none; }
.fs-category-page h1, .fs-category-page h2, .fs-category-page h3, .fs-category-page h4 { margin: 0; }

/* Full-bleed container (1:1 z makietą: max-width 100% + 48px) */
.fs-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 48px;
}

/* ===== Buttons ===== */
.fs-category-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all var(--transition);
    cursor: pointer;
    line-height: 1;
}
.fs-category-page .btn-primary { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); }
.fs-category-page .btn-primary:hover { background: var(--accent); border-color: var(--accent); opacity: 1; }
.fs-category-page .btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.fs-category-page .btn-outline:hover { background: var(--ink); color: var(--bg); opacity: 1; }
.fs-category-page .btn-light { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.fs-category-page .btn-light:hover { border-color: var(--ink); opacity: 1; }
.fs-category-page .btn-sm { padding: 11px 22px; font-size: 12px; }

/* ===== Breadcrumbs (override OC bootstrap .breadcrumb wewnątrz strony) ===== */
.fs-category-page .breadcrumb {
    padding: 18px 0;
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
    letter-spacing: 0.02em;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    background: none;
    border-radius: 0;
}
.fs-category-page .breadcrumb { border: none; }
.fs-category-page .breadcrumb > li { display: inline-flex; align-items: center; padding: 0; text-shadow: none; }
/* zabij domyślne strzałki-zakładki OpenCarta */
.fs-category-page .breadcrumb > li::after { content: none; display: none; }
.fs-category-page .breadcrumb > li + li::before { content: '/'; margin: 0 10px; opacity: 0.6; color: var(--muted); padding: 0; }
.fs-category-page .breadcrumb a { color: var(--muted); }
.fs-category-page .breadcrumb a:hover { color: var(--ink); opacity: 1; }
.fs-category-page .breadcrumb > li:last-child,
.fs-category-page .breadcrumb > li:last-child span { color: var(--ink); font-weight: 500; }

/* ===== Lead intro ===== */
.fs-category-page .lead-intro { padding: 18px 0 36px; }
.fs-category-page .lead-intro-grid {
    display: grid;
    grid-template-columns: 0.55fr 1fr;
    gap: 64px;
    align-items: start;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line);
}
.fs-category-page .lead-intro-eyebrow {
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 14px;
    display: inline-flex; align-items: center; gap: 10px;
}
.fs-category-page .lead-intro-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--muted); }
.fs-category-page .lead-intro h1 {
    font-family: var(--serif);
    font-size: clamp(32px, 3.2vw, 44px);
    font-weight: 500; line-height: 1.05; letter-spacing: -0.01em;
}
.fs-category-page .lead-intro h1 em { font-style: italic; color: var(--accent); }
.fs-category-page .lead-intro-body p { font-size: 15.5px; line-height: 1.75; color: var(--ink-soft); }
.fs-category-page .lead-intro-body p + p { margin-top: 14px; }
.fs-category-page .lead-intro-body strong { color: var(--ink); font-weight: 600; }

/* ===== Sub-category pills ===== */
.fs-category-page .subcats { padding: 8px 0 36px; }
.fs-category-page .subcat-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.fs-category-page .subcat-row::-webkit-scrollbar { height: 4px; }
.fs-category-page .subcat-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.fs-category-page .subcat-tile { flex: 0 0 auto; width: 168px; }
.fs-category-page .subcat-img {
    width: 100%; aspect-ratio: 1 / 1; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
    transition: all var(--transition); display: flex; align-items: center; justify-content: center;
}
.fs-category-page .subcat-tile:hover .subcat-img { border-color: var(--ink); transform: translateY(-2px); }
.fs-category-page .subcat-tile.is-active .subcat-img { border-color: var(--ink); background: var(--bg-warm); }
.fs-category-page .subcat-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fs-category-page .subcat-tile span { display: block; text-align: center; margin-top: 12px; font-size: 13px; font-weight: 500; }
.fs-category-page .subcat-tile small { display: block; text-align: center; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ===== Toolbar ===== */
.fs-category-page .toolbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    margin-bottom: 36px;
}
.fs-category-page .toolbar-left { display: flex; align-items: center; gap: 18px; font-size: 13.5px; }
.fs-category-page .filter-toggle {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
    border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500;
    transition: all var(--transition); background: var(--white);
}
.fs-category-page .filter-toggle:hover { border-color: var(--ink); }
.fs-category-page .filter-toggle svg { width: 14px; height: 14px; }
.fs-category-page .toolbar-count { color: var(--muted); }
.fs-category-page .toolbar-count strong { color: var(--ink); }
.fs-category-page .toolbar-right { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.fs-category-page .sort-select {
    background: transparent; border: 1px solid var(--line); border-radius: 999px;
    padding: 9px 36px 9px 16px; font-size: 13px; font-family: var(--sans);
    appearance: none; cursor: pointer; color: var(--ink);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.fs-category-page .view-toggle { display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.fs-category-page .view-toggle button { padding: 7px 10px; border-radius: 999px; color: var(--muted); display: inline-flex; }
.fs-category-page .view-toggle button.is-active { background: var(--ink); color: var(--bg); }
.fs-category-page .view-toggle svg { width: 14px; height: 14px; }

/* ===== Active filter chips ===== */
.fs-category-page .active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; align-items: center; }
.fs-category-page .chip-label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.fs-category-page .chip {
    display: inline-flex; align-items: center; gap: 6px; background: var(--bg-warm);
    border-radius: 999px; padding: 6px 12px 6px 14px; font-size: 12.5px; font-weight: 500;
}
.fs-category-page .chip a.chip-x, .fs-category-page .chip button { font-size: 14px; line-height: 1; padding: 0 2px; color: var(--ink-soft); }
.fs-category-page .chip a.chip-x:hover, .fs-category-page .chip button:hover { color: var(--terracotta); opacity: 1; }
.fs-category-page .chip-clear { font-size: 12px; color: var(--terracotta); text-decoration: underline; text-underline-offset: 2px; margin-left: 6px; }

/* ===== Layout ===== */
.fs-category-page .listing { padding-bottom: 80px; }
.fs-category-page .listing-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: flex-start; }

/* ===== Filter sidebar ===== */
.fs-category-page .filters { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding-right: 12px; }
.fs-category-page .filters::-webkit-scrollbar { width: 4px; }
.fs-category-page .filters::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.fs-category-page .filter-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.fs-category-page .filter-block:first-child { padding-top: 0; }
.fs-category-page .filter-head { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.fs-category-page .filter-head h4 { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.fs-category-page .filter-head svg { width: 12px; height: 12px; transition: transform var(--transition); }
.fs-category-page .filter-block.is-collapsed .filter-body { display: none; }
.fs-category-page .filter-block.is-collapsed .filter-head svg { transform: rotate(-90deg); }
.fs-category-page .filter-body { padding-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.fs-category-page .filter-item {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    font-size: 13.5px; cursor: pointer; padding: 2px 0; margin: 0;
}
.fs-category-page .filter-item input[type=checkbox] {
    appearance: none; width: 16px; height: 16px; border: 1px solid var(--line);
    border-radius: 3px; background: var(--white); position: relative; cursor: pointer; flex-shrink: 0; margin: 0;
}
.fs-category-page .filter-item input[type=checkbox]:checked { background: var(--ink); border-color: var(--ink); }
.fs-category-page .filter-item input[type=checkbox]:checked::after { content: '✓'; position: absolute; top: -2px; left: 2px; color: var(--bg); font-size: 12px; }
.fs-category-page .filter-item .fs-label { flex: 1; cursor: pointer; font-weight: 400; color: var(--ink); font-size: 13.5px; text-transform: none; letter-spacing: normal; }
.fs-category-page .filter-item .count { color: var(--muted); font-size: 12px; }

/* Colour swatches in filter */
.fs-category-page .filter-colours { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.fs-category-page .colour-swatch {
    width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; border: 1px solid var(--line);
    cursor: pointer; position: relative; transition: transform var(--transition); display: block;
}
.fs-category-page .colour-swatch:hover { transform: scale(1.08); opacity: 1; }
.fs-category-page .colour-swatch.is-active::after { content: ''; position: absolute; inset: -3px; border: 1px solid var(--ink); border-radius: 50%; }
.fs-category-page .colour-swatch .count { display: none; }

/* Price slider (display only — realne min/max z bazy) */
.fs-category-page .price-range { padding: 4px 0; }
.fs-category-page .price-track { height: 3px; background: var(--line); border-radius: 2px; position: relative; margin: 16px 0; }
.fs-category-page .price-track-fill { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: var(--ink); border-radius: 2px; }
.fs-category-page .price-handle { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px; background: var(--ink); border: 2px solid var(--white); border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.fs-category-page .price-handle.left { left: 0; }
.fs-category-page .price-handle.right { left: 100%; }
.fs-category-page .price-inputs { display: flex; gap: 8px; align-items: center; margin-top: 14px; }
.fs-category-page .price-inputs input {
    width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 8px 10px; font-family: var(--sans); font-size: 13px; color: var(--ink);
}
.fs-category-page .price-inputs span { color: var(--muted); }
.fs-category-page .price-values { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }
.fs-category-page .price-values strong { font-weight: 600; }

.fs-category-page .filter-apply { margin-top: 24px; display: flex; gap: 8px; }
.fs-category-page .filter-apply .btn { flex: 1; }

/* ===== Products grid ===== */
.fs-category-page .products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; row-gap: 56px; }
.fs-category-page .product { position: relative; }
.fs-category-page .product-img {
    position: relative; aspect-ratio: 4 / 3; background: var(--bg-warm); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 18px; transition: box-shadow var(--transition); display: block;
}
.fs-category-page .product:hover .product-img { box-shadow: 0 16px 40px rgba(26, 26, 26, 0.08); }
.fs-category-page .product-img img { width: 100%; height: 100%; object-fit: contain; padding: 4%; transition: transform 0.6s var(--transition); }
.fs-category-page .product:hover .product-img img { transform: scale(1.03); }
.fs-category-page .product-tags { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.fs-category-page .product-tag { background: var(--white); padding: 5px 11px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; border-radius: var(--radius); }
.fs-category-page .product-tag.sale { background: var(--terracotta); color: var(--white); }
.fs-category-page .product-tag.new { background: var(--sage); color: var(--white); }
.fs-category-page .product-tag.bed { background: var(--ink); color: var(--bg); }
.fs-category-page .product-fav {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; background: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0;
    transition: opacity var(--transition); z-index: 3;
}
.fs-category-page .product:hover .product-fav { opacity: 1; }
.fs-category-page .product-fav svg { width: 16px; height: 16px; }
.fs-category-page .product-quick {
    position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--ink); color: var(--bg);
    padding: 11px 16px; border-radius: 999px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
    font-weight: 500; opacity: 0; transform: translateY(8px); transition: all var(--transition); text-align: center; z-index: 3;
}
.fs-category-page .product:hover .product-quick { opacity: 1; transform: translateY(0); }
.fs-category-page .product-cat { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fs-category-page .product-name { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 6px; line-height: 1.2; }
.fs-category-page .product-name a { color: inherit; }
.fs-category-page .product-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; }
.fs-category-page .product-meta .dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }
.fs-category-page .product-rating { color: var(--ink); }
.fs-category-page .product-swatches { display: flex; gap: 6px; margin-bottom: 12px; align-items: center; }
.fs-category-page .swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; transition: transform var(--transition); }
.fs-category-page .swatch:hover { transform: scale(1.2); }
.fs-category-page .swatch-more { font-size: 11px; color: var(--muted); margin-left: 4px; }
.fs-category-page .product-price { display: flex; align-items: baseline; gap: 10px; font-weight: 600; font-size: 16px; }
.fs-category-page .price-old { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: 14px; }
.fs-category-page .price-sale { color: var(--terracotta); }
.fs-category-page .price-from { color: var(--muted); font-weight: 400; font-size: 12px; margin-right: 4px; }

/* ===== Inline promo card ===== */
.fs-category-page .promo-card {
    grid-column: span 1; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative;
    background: var(--bg-warm); display: flex; align-items: flex-end; padding: 28px; color: var(--white);
}
.fs-category-page .promo-card.style-light { background: var(--bg-alt); color: var(--ink); padding: 32px; align-items: center; text-align: center; }
.fs-category-page .promo-content { position: relative; z-index: 2; width: 100%; }
.fs-category-page .promo-card small { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fs-category-page .promo-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; margin: 14px 0 12px; color: var(--ink); }
.fs-category-page .promo-card p { color: var(--ink-soft); font-size: 13px; margin-bottom: 18px; }
.fs-category-page .promo-card .icon-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--white); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.fs-category-page .promo-card .icon-circle svg { width: 24px; height: 24px; color: var(--accent); }

/* ===== Pagination ===== */
.fs-category-page .fs-pagination { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line); }
.fs-category-page .fs-pagination .pagination {
    display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0; border-radius: 0;
}
.fs-category-page .fs-pagination .pagination > li > a,
.fs-category-page .fs-pagination .pagination > li > span {
    min-width: 38px; height: 38px; border-radius: var(--radius); display: inline-flex; align-items: center;
    justify-content: center; font-size: 13px; font-weight: 500; color: var(--ink-soft); padding: 0 12px;
    border: none; background: transparent; transition: all var(--transition); margin: 0;
}
.fs-category-page .fs-pagination .pagination > li > a:hover { background: var(--bg-alt); color: var(--ink); }
.fs-category-page .fs-pagination .pagination > .active > span,
.fs-category-page .fs-pagination .pagination > .active > span:hover { background: var(--ink); color: var(--bg); }
.fs-category-page .fs-results { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ===== CMS sections ===== */
.fs-category-page section.cms { padding: 96px 0; }
.fs-category-page .cms.alt { background: var(--bg-alt); }
.fs-category-page .cms .section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.fs-category-page .eyebrow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.fs-category-page .cms .section-head .eyebrow { justify-content: center; }
.fs-category-page .eyebrow::before, .fs-category-page .cms .section-head .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--muted); }
.fs-category-page .cms .section-head h2 { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); line-height: 1.05; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 18px; }
.fs-category-page .cms .section-head h2 em { font-style: italic; color: var(--accent); }
.fs-category-page .cms .section-head p { font-size: 16px; color: var(--ink-soft); }

/* ===== Trust strip ===== */
.fs-category-page .trust-strip { background: var(--bg-alt); padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fs-category-page .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fs-category-page .trust-item { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.fs-category-page .trust-item:not(:last-child) { border-right: 1px solid var(--line); padding-right: 32px; }
.fs-category-page .trust-item svg { width: 32px; height: 32px; flex-shrink: 0; color: var(--accent); }
.fs-category-page .trust-item strong { display: block; font-size: 14px; margin-bottom: 1px; }
.fs-category-page .trust-item span { color: var(--muted); font-size: 12px; }

/* ===== Buying guide ===== */
.fs-category-page .guide-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: start; }
.fs-category-page .guide-img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-warm); }
.fs-category-page .guide-img img { width: 100%; height: 100%; object-fit: cover; }
.fs-category-page .guide-text h2 { font-family: var(--serif); font-size: 44px; line-height: 1.1; font-weight: 500; margin-bottom: 22px; }
.fs-category-page .guide-text h2 em { font-style: italic; color: var(--accent); }
.fs-category-page .guide-text > p { font-size: 16px; color: var(--ink-soft); margin-bottom: 28px; }
.fs-category-page .guide-points { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.fs-category-page .guide-point { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fs-category-page .guide-point:last-child { border-bottom: none; }
.fs-category-page .guide-num { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--accent); line-height: 1; }
.fs-category-page .guide-point h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.fs-category-page .guide-point p { font-size: 14px; color: var(--ink-soft); }

/* ===== FAQ ===== */
.fs-category-page .faq-wrap { max-width: 880px; margin: 0 auto; }
.fs-category-page .faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.fs-category-page .faq-q { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.3; }
.fs-category-page .faq-q span { transition: transform var(--transition); font-size: 22px; color: var(--accent); }
.fs-category-page .faq-item.is-open .faq-q span { transform: rotate(45deg); }
.fs-category-page .faq-a { padding-top: 14px; font-size: 15px; color: var(--ink-soft); display: none; max-width: 720px; }
.fs-category-page .faq-item.is-open .faq-a { display: block; }

/* ===== SEO content block ===== */
.fs-category-page .seo-block { padding: 96px 0; background: var(--bg); border-top: 1px solid var(--line); }
.fs-category-page .seo-wrap { max-width: 1100px; margin: 0 auto; }
.fs-category-page .seo-content { position: relative; }
.fs-category-page .seo-content.is-collapsed { max-height: 280px; overflow: hidden; }
.fs-category-page .seo-content.is-collapsed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, rgba(250,248,244,0) 0%, var(--bg) 85%); pointer-events: none; }
.fs-category-page .seo-content h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; margin: 36px 0 18px; }
.fs-category-page .seo-content h2:first-child { margin-top: 0; }
.fs-category-page .seo-content h2 em { font-style: italic; color: var(--accent); }
.fs-category-page .seo-content p { font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 14px; }
.fs-category-page .seo-content p strong { color: var(--ink); font-weight: 600; }
.fs-category-page .seo-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.fs-category-page .seo-toggle-wrap { text-align: center; margin-top: 24px; position: relative; z-index: 2; }
.fs-category-page .seo-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; background: var(--bg); transition: all var(--transition); }
.fs-category-page .seo-toggle:hover { background: var(--ink); color: var(--bg); }
.fs-category-page .seo-toggle svg { width: 12px; height: 12px; transition: transform var(--transition); }
.fs-category-page .seo-toggle.is-open svg { transform: rotate(180deg); }

/* ===== Link cloud ===== */
.fs-category-page .link-cloud { padding: 0 0 96px; background: var(--bg); }
.fs-category-page .link-cloud-wrap { max-width: 1300px; margin: 0 auto; }
.fs-category-page .link-cloud-head { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px; }
.fs-category-page .link-cloud-head::before { content: ''; width: 28px; height: 1px; background: var(--muted); }
.fs-category-page .link-cloud-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.fs-category-page .link-pill { display: inline-flex; align-items: center; padding: 10px 22px; border: 1px solid var(--accent); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--accent); background: transparent; transition: all var(--transition); white-space: nowrap; }
.fs-category-page .link-pill:hover { background: var(--accent); color: var(--bg); opacity: 1; }

/* ===== Empty state ===== */
.fs-category-page .fs-empty { padding: 80px 0; text-align: center; color: var(--ink-soft); font-size: 16px; }

/* ===== Mobile filter drawer ===== */
.fs-category-page .filter-backdrop { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .fs-category-page .listing-grid { grid-template-columns: 240px 1fr; gap: 32px; }
    .fs-category-page .products-grid { grid-template-columns: repeat(2, 1fr); }
    .fs-category-page .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .fs-container { padding: 0 20px; }
    .fs-category-page .lead-intro-grid { grid-template-columns: 1fr; gap: 18px; }
    .fs-category-page .listing-grid { grid-template-columns: 1fr; }
    .fs-category-page .filters {
        display: none; position: fixed; inset: 0; top: 0; background: var(--bg);
        padding: 24px; z-index: 3000; max-height: 100vh; overflow-y: auto;
    }
    .fs-category-page .filters.is-open { display: block; }
    .fs-category-page .filter-backdrop.is-open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2500; }
    .fs-category-page .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; row-gap: 36px; }
    .fs-category-page .product-name { font-size: 18px; }
    .fs-category-page .product-quick { display: none; }
    .fs-category-page .promo-card { aspect-ratio: 1 / 1; padding: 20px; }
    .fs-category-page .promo-card h3 { font-size: 22px; }
    .fs-category-page .toolbar { flex-wrap: wrap; gap: 12px; padding: 14px 0; }
    .fs-category-page .toolbar-left { width: 100%; justify-content: space-between; }
    .fs-category-page .toolbar-right { width: 100%; justify-content: space-between; }
    .fs-category-page .view-toggle { display: none; }
    .fs-category-page .guide-grid { grid-template-columns: 1fr; gap: 32px; }
    .fs-category-page .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .fs-category-page .trust-item:not(:last-child) { border-right: none; padding-right: 0; }
    .fs-category-page section.cms { padding: 64px 0; }
}
