/* Builds on the theme's --wt-* tokens so the catalog follows the site's look. */
.rc-page { padding-top: 112px; padding-bottom: 64px; }
.rc-head { margin: 12px 0 24px; max-width: 820px; }
.rc-head h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--wt-dark); }
.rc-note { font-size: .875rem; color: var(--wt-gray); }
.rc-lead { font-size: 1.125rem; color: var(--wt-gray); }

.rc-mock-banner { background: #FEF3C7; border: 1px solid #F59E0B; color: #78350F; border-radius: var(--wt-radius-sm); padding: 12px 16px; margin-bottom: 20px; font-size: .9375rem; }
.rc-mock-banner strong { margin-right: 8px; }

.rc-catalog { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.rc-filters { border: 1px solid var(--wt-border); border-radius: var(--wt-radius-sm); padding: 16px; background: var(--wt-white); }
.rc-filters > summary { display: none; }
.rc-facet { border: 0; padding: 0; margin: 0 0 16px; }
.rc-facet legend { font-weight: 600; font-size: .875rem; color: var(--wt-dark); padding: 0; margin-bottom: 6px; }
.rc-facet label { display: flex; align-items: center; gap: 8px; font-size: .875rem; padding: 3px 0; cursor: pointer; }
.rc-facet small { margin-left: auto; color: var(--wt-gray-light); }

.rc-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.rc-search { flex: 1 1 260px; }
.rc-search input, .rc-sort select { width: 100%; padding: 10px 14px; border: 1px solid var(--wt-border); border-radius: var(--wt-radius-sm); font: inherit; }
.rc-sort { display: flex; align-items: center; gap: 8px; font-size: .875rem; white-space: nowrap; }
.rc-count { font-size: .875rem; color: var(--wt-gray); }

.rc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.rc-card { display: flex; flex-direction: column; border: 1px solid var(--wt-border); border-radius: var(--wt-radius-sm); padding: 16px; background: var(--wt-white); color: var(--wt-text); }
.rc-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.rc-brand { font-size: .8125rem; font-weight: 600; color: var(--wt-gray); }
.rc-badge { font-size: .6875rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--wt-light); border: 1px solid var(--wt-border); }
.rc-badge-mock { background: #FEF3C7; border-color: #F59E0B; color: #78350F; }
.rc-card-title { font-size: 1rem; margin-bottom: 6px; }
.rc-card-title a { color: var(--wt-dark); }
.rc-sku { font-family: ui-monospace, Consolas, monospace; font-size: .8125rem; color: var(--wt-gray); overflow-wrap: anywhere; }
.rc-price { font-weight: 700; color: var(--wt-primary-dark); margin-top: auto; }
.rc-price-lg { font-size: 1.25rem; }
.rc-price-label { font-size: .8125rem; color: var(--wt-gray); margin-bottom: 4px; }
.rc-card-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rc-add { background: none; border: 0; color: var(--wt-primary-dark); font: inherit; font-size: .8125rem; font-weight: 600; cursor: pointer; padding: 6px 0; }
.rc-add-block { display: block; width: 100%; margin-top: 10px; }
.rc-add.rc-added { color: var(--wt-gray); }

.rc-brand-card:hover { border-color: var(--wt-primary); }
.rc-brand-card h2 { font-size: 1.0625rem; color: var(--wt-dark); }
.rc-brand-card p { font-size: .875rem; color: var(--wt-gray); }
.rc-brand-card small { margin-top: auto; color: var(--wt-gray-light); }

.rc-empty { border: 1px dashed var(--wt-border); border-radius: var(--wt-radius-sm); padding: 32px; text-align: center; }
.rc-pages { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.rc-pages a, .rc-pages span { padding: 6px 12px; border: 1px solid var(--wt-border); border-radius: 8px; }
.rc-pages span { background: var(--wt-dark); color: var(--wt-white); }

.rc-detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.rc-detail h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--wt-dark); }
.rc-detail h2 { font-size: 1.25rem; margin-top: 28px; color: var(--wt-dark); }
.rc-ids { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 16px 0; }
.rc-ids dt { font-size: .75rem; color: var(--wt-gray); }
.rc-ids dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.rc-table-wrap { overflow-x: auto; }
.rc-specs { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.rc-specs th, .rc-specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--wt-border); }
.rc-specs th { font-weight: 600; width: 40%; color: var(--wt-gray); }
.rc-quote-box { position: sticky; top: 100px; border: 1px solid var(--wt-border); border-radius: var(--wt-radius-sm); padding: 20px; background: var(--wt-light); }
.rc-quote-box .rc-note { margin: 12px 0 0; }
.rc-prose ul { padding-left: 20px; margin-bottom: 1em; }
.rc-links { padding-left: 20px; }
.rc-arch { list-style: none; padding: 0; display: grid; gap: 6px; max-width: 520px; counter-reset: none; }
.rc-arch li { background: var(--wt-light); border: 1px solid var(--wt-border); border-left: 4px solid var(--wt-primary); border-radius: 8px; padding: 10px 14px; font-weight: 600; font-size: .9375rem; }

.rc-form { max-width: 820px; display: grid; gap: 20px; }
.rc-form fieldset { border: 1px solid var(--wt-border); border-radius: var(--wt-radius-sm); padding: 16px 20px; margin: 0; display: grid; gap: 14px; min-width: 0; }
.rc-form legend { font-weight: 600; padding: 0 6px; color: var(--wt-dark); }
.rc-form label { display: grid; gap: 4px; font-size: .875rem; font-weight: 600; }
.rc-form input:not([type=checkbox]), .rc-form select, .rc-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--wt-border); border-radius: 8px; font: inherit; font-weight: 400; min-width: 0; }
.rc-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.rc-item { display: grid; grid-template-columns: minmax(0, 2fr) 90px minmax(0, 2fr) auto; gap: 10px; align-items: end; margin-bottom: 10px; }
.rc-remove { background: none; border: 1px solid var(--wt-border); border-radius: 8px; padding: 10px 12px; cursor: pointer; font: inherit; font-size: .8125rem; }
.rc-consent { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; }
.rc-error { color: #B91C1C; font-size: .875rem; font-weight: 600; margin: 4px 0 0; }
.rc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rc-success { border: 1px solid #10B981; background: #ECFDF5; border-radius: var(--wt-radius-sm); padding: 24px; max-width: 640px; }

.rc-cart-chip { position: fixed; left: 16px; bottom: 16px; z-index: 9000; background: var(--wt-dark); color: var(--wt-white); padding: 10px 16px; border-radius: 999px; font-size: .875rem; font-weight: 600; box-shadow: 0 6px 20px rgba(10, 22, 40, .3); }
.rc-cart-chip:hover { color: var(--wt-white); background: var(--wt-dark-2); }

@media (max-width: 900px) {
    .rc-filters > summary { display: list-item; font-weight: 600; cursor: pointer; }
    .rc-filters[open] > summary { margin-bottom: 12px; }
    .rc-catalog, .rc-detail { grid-template-columns: minmax(0, 1fr); }
    .rc-quote-box { position: static; }
    .rc-item { grid-template-columns: minmax(0, 1fr) 90px; }
    .rc-item label:nth-of-type(3) { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .rc-page { padding-top: 88px; }
    .rc-grid { grid-template-columns: minmax(0, 1fr); }
}

/* V4 knowledge slice */
.rc-section { margin-top: 36px; }
.rc-section > h2, .rc-answer h2 { font-size: 1.375rem; color: var(--wt-dark); }
.rc-narrow { max-width: 860px; }
.rc-narrow h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--wt-dark); }
.rc-narrow h2 { font-size: 1.25rem; margin-top: 28px; color: var(--wt-dark); }
.rc-narrow ol { padding-left: 20px; margin-bottom: 1em; }
.rc-kb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0; }
.rc-btn-ghost { background: var(--wt-white); border: 1px solid var(--wt-border); color: var(--wt-dark); }
.rc-btn-ghost:hover { border-color: var(--wt-primary); color: var(--wt-primary-dark); }
.rc-topology { border: 1px solid var(--wt-border); border-radius: var(--wt-radius-sm); overflow-x: auto; margin: 12px 0; }
.rc-topology svg { display: block; min-width: 640px; width: 100%; }
.rc-hypothesis { border: 1px solid var(--wt-border); border-radius: var(--wt-radius-sm); padding: 16px 20px; margin-bottom: 12px; background: var(--wt-white); }
.rc-hyp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.rc-hyp-head h3, .rc-hyp-head h4 { margin: 0; font-size: 1.0625rem; color: var(--wt-dark); }
.rc-hyp-id { font-weight: 700; font-size: .75rem; color: var(--wt-white); background: var(--wt-dark); border-radius: 6px; padding: 2px 8px; }
.rc-chip { font-size: .6875rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.rc-chip-t1 { background: #E0F2FE; color: #075985; }
.rc-chip-t5 { background: #F1F5F9; color: #334155; border: 1px dashed #94A3B8; }
.rc-check { background: var(--wt-light); border-left: 3px solid var(--wt-primary); border-radius: 6px; padding: 10px 14px; margin: 8px 0; }
.rc-check code { font-family: ui-monospace, Consolas, monospace; font-size: .875rem; font-weight: 600; color: var(--wt-dark); overflow-wrap: anywhere; }
.rc-check p { margin: 4px 0 0; font-size: .875rem; color: var(--wt-gray); }
.rc-hypothesis details summary { cursor: pointer; font-size: .875rem; font-weight: 600; color: var(--wt-primary-dark); }
.rc-hypothesis details ul, .rc-answer ul, .rc-change-plan ul, .rc-followups ul { padding-left: 20px; margin-bottom: 1em; }
.rc-followups { background: var(--wt-light); border-radius: var(--wt-radius-sm); padding: 12px 16px; margin-bottom: 16px; }
.rc-followups h3, .rc-answer h3 { font-size: 1.0625rem; color: var(--wt-dark); margin-top: 20px; }
.rc-followups h3 { margin-top: 0; }
.rc-change-plan { border: 1px solid #F59E0B; background: #FFFBEB; border-radius: var(--wt-radius-sm); padding: 14px 18px; margin: 16px 0; }
.rc-change-plan h3 { margin-top: 0; }
.rc-answer { max-width: 900px; margin-bottom: 40px; }
.rc-privacy { background: #FEF2F2; border: 1px solid #FCA5A5; border-radius: 8px; padding: 10px 14px; font-size: .875rem; margin: 0; }
.rc-mono { font-family: ui-monospace, Consolas, monospace !important; font-size: .8125rem !important; }
.rc-result { max-width: 820px; margin-bottom: 24px; }
.rc-checklist { list-style: none; padding: 0; }
.rc-next h3 { font-size: 1rem; color: var(--wt-dark); }
.rc-specs thead th { color: var(--wt-dark); background: var(--wt-light); width: auto; }
.rc-specs tr:target { background: #FEF9C3; }
.rc-specs code { font-size: .75rem; white-space: nowrap; }
.rc-option { border: 1px solid var(--wt-border); border-radius: var(--wt-radius-sm); padding: 16px 20px; margin: 16px 0; background: var(--wt-white); }
.rc-option h3 { margin-top: 0; }
.rc-compare { min-width: 760px; }
.rc-compare td, .rc-compare th { vertical-align: top; }
.rc-compare td p { margin: 0 0 6px; }
.rc-card-empty { border-style: dashed; background: transparent; }
.rc-card-media { display: flex; align-items: center; justify-content: center; height: 150px; margin: -4px 0 12px; background: var(--wt-white); border-radius: 8px; overflow: hidden; }
.rc-card-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rc-product-media { margin: 0 0 20px; }
.rc-product-img { display: block; max-width: 100%; max-height: 340px; object-fit: contain; }
.rc-compare-add { margin-bottom: 8px; }
.rc-compare-add.rc-added { font-weight: 600; }
.rc-compare-img { display: block; width: 110px; height: 80px; object-fit: contain; margin-bottom: 8px; }
.rc-compare-products th, .rc-compare-products td { min-width: 150px; vertical-align: top; }
.rc-differs th, .rc-differs td { background: #F0F9FF; }
.rc-finder { display: grid; gap: 16px; max-width: 760px; margin-bottom: 24px; }
.rc-finder label { display: block; padding: 4px 0; }
.rc-finder-results { display: grid; gap: 16px; max-width: 760px; }
.rc-finder-results ul { padding-left: 20px; margin: 4px 0 12px; }
.rc-compare-chip { left: 50%; right: auto; bottom: 120px !important; transform: translateX(-50%); z-index: 9999; }
.rc-compare-more { margin-top: 16px; }
.rc-compare-more summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.rc-citation { border-left: 4px solid var(--wt-blue, #0ea5e9); background: rgba(14,165,233,.06); padding: 12px 16px; margin: 16px 0; border-radius: 6px; }
.rc-citation p { margin: 0; }
.rc-faq { margin: 32px 0; }
.rc-faq details { border-bottom: 1px solid rgba(0,0,0,.08); padding: 10px 0; }
.rc-faq summary { cursor: pointer; font-weight: 600; }
.rc-faq p { margin: 8px 0 0; }
