.catalog-controls{padding:18px 20px;margin-bottom:20px}.catalog-guide{display:flex;align-items:flex-start;gap:12px;margin-bottom:15px}.catalog-guide p{font-size:12px;color:var(--muted);line-height:1.8}.catalog-search{display:flex;gap:12px;flex-wrap:wrap}.catalog-search .search{flex:1;min-width:180px}.catalog-search .search input{width:100%;font-size:12px}.catalog-workspace{display:grid;grid-template-columns:216px minmax(0,1fr);gap:20px;align-items:start}.catalog-category-panel{position:sticky;top:18px;padding:15px 10px;max-height:calc(100vh - 110px);overflow-y:auto;scrollbar-width:thin}.catalog-category-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 9px 13px}.catalog-category-heading h2{font-size:13px;font-weight:550}.catalog-collapse{font-size:12px;color:var(--muted);padding:5px}.catalog-all-category{width:100%;display:flex;align-items:center;gap:9px;text-align:left;padding:10px 11px;border-radius:7px;font-size:12px;margin-bottom:8px;color:var(--muted)}.catalog-all-category svg{width:15px;height:15px;flex-shrink:0}.catalog-all-category.selected,.catalog-category-row.selected{color:var(--green);background:var(--brand-soft);font-weight:550}.catalog-category-tree,.catalog-category-tree ul{list-style:none;padding:0;margin:0}.catalog-category-tree ul{margin-left:12px;padding-left:6px;border-left:1px solid var(--line)}.catalog-category-row{display:flex;align-items:flex-start;min-height:34px;border-radius:6px;margin:2px 0;padding-right:5px}.catalog-category-row:hover{background:var(--surface-subtle)}.catalog-category-row.selected:hover{background:var(--brand-soft)}.catalog-category-toggle,.catalog-category-spacer{width:26px;height:33px;display:grid;place-items:center;flex:0 0 26px}.catalog-category-toggle{color:var(--muted)}.catalog-category-toggle svg{height:12px;width:12px;transition:transform .15s}.catalog-category-toggle.open svg{transform:rotate(90deg)}.catalog-category-name{min-width:0;flex:1;text-align:left;padding:7px 0;font-size:12px;line-height:1.65;color:inherit;overflow-wrap:anywhere}.catalog-category-name:focus-visible,.catalog-category-toggle:focus-visible,.catalog-all-category:focus-visible{outline:2px solid var(--muted);outline-offset:-2px;border-radius:5px}.catalog-category-loading{font-size:12px;color:var(--muted);padding:10px}.catalog-results{min-width:0}.catalog-current-path{display:flex;gap:9px;align-items:baseline;padding:3px 0 4px;font-size:12px;min-height:24px;line-height:1.8}.catalog-current-path>span{color:var(--muted);white-space:nowrap}.catalog-current-path strong{font-weight:500;color:var(--muted);overflow-wrap:anywhere}.catalog-current-path strong span{color:var(--muted);margin:0 4px}.catalog-result-line{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);margin:10px 0 14px;min-height:18px}.catalog-result-line span{font-size:12px}.catalog-list-panel{overflow:hidden}.catalog-list-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:12px}.catalog-list-table th{font-size:12px;color:var(--muted);font-weight:400;background:var(--surface-subtle);padding:13px 14px;white-space:nowrap}.catalog-list-table th:nth-child(2),.catalog-list-table th:nth-child(3){width:100px}.catalog-list-table th:last-child{width:176px}.catalog-list-table td{border-top:1px solid var(--line);padding:16px 14px;vertical-align:middle}.catalog-product-summary{display:flex;align-items:center;gap:13px;min-width:0}.catalog-row-thumb{position:relative;flex:0 0 62px;width:62px;height:62px;border:1px solid var(--line);border-radius:8px;background:var(--surface-subtle);display:grid;place-items:center;overflow:hidden}.catalog-row-thumb svg{width:26px;height:26px;color:var(--muted)}.catalog-list-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;padding:4px}.catalog-product-copy{min-width:0;flex:1}.catalog-product-name{font-size:12px;font-weight:500;line-height:1.7;text-align:left;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;width:100%}.catalog-product-name:hover{color:var(--green)}.catalog-product-copy p{font-size:12px;color:var(--muted);margin:5px 0 2px;overflow-wrap:anywhere;line-height:1.6}.catalog-product-copy small{display:block;font-size:12px;color:var(--muted);overflow-wrap:anywhere;line-height:1.6}.catalog-product-category{display:inline-block;font-size:12px;color:var(--muted);margin-top:3px}.catalog-price-cell{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.catalog-price-cell strong{font-weight:550;color:var(--green);font-size:14px}.catalog-supply-cell{color:var(--muted)}.catalog-row-actions{display:flex;gap:6px;justify-content:flex-end}.catalog-row-actions .btn{font-size:12px;padding:7px 9px;white-space:nowrap;min-height:30px}.catalog-pagination{display:flex;justify-content:center;align-items:center;gap:22px;padding:25px 0;font-size:12px;color:var(--muted)}.catalog-error{padding:16px;border:1px solid #e6b7ac;background:#fff5f1;border-radius:10px;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:#9e4d38;margin:12px 0}.catalog-detail-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.catalog-detail-images button{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.catalog-detail-images img{width:100%;height:120px;object-fit:contain}.catalog-description{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:20px;color:var(--muted)}.product-visual .catalog-source-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;padding:14px}.product-visual .badge{z-index:1;max-width:85%;overflow:hidden;text-overflow:ellipsis}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1150px){.catalog-workspace{grid-template-columns:184px minmax(0,1fr);gap:15px}.catalog-category-panel{padding:13px 8px}.catalog-list-table th,.catalog-list-table td{padding:12px 9px}.catalog-list-table th:nth-child(2),.catalog-list-table th:nth-child(3){width:84px}.catalog-list-table th:last-child{width:110px}.catalog-row-actions{flex-direction:column;align-items:stretch;gap:6px}.catalog-row-thumb{width:50px;height:50px;flex-basis:50px}.catalog-product-summary{gap:9px}.catalog-price-cell strong{font-size:12px}.catalog-price-cell{font-size:12px}}
@media(max-width:800px){.catalog-controls{padding:15px;margin-bottom:16px}.catalog-guide{display:block;margin-bottom:12px}.catalog-guide .badge{margin-bottom:7px}.catalog-guide p{font-size:12px;line-height:1.8}.catalog-search{gap:8px;flex-wrap:nowrap}.catalog-search .search{min-width:0}.catalog-search .btn{font-size:12px;padding:8px 10px;white-space:nowrap}.catalog-workspace{grid-template-columns:104px minmax(0,1fr);gap:11px}.catalog-category-panel{top:12px;padding:10px 5px;max-height:calc(100vh - 110px);border-radius:10px}.catalog-category-heading{padding:0 3px 9px;align-items:center;gap:0}.catalog-category-heading h2{font-size:12px}.catalog-collapse{font-size:12px;padding:4px 0 4px 2px}.catalog-all-category{font-size:12px;padding:8px 4px;gap:4px;line-height:1.6;align-items:flex-start}.catalog-all-category svg{width:12px;height:14px;margin-top:2px}.catalog-category-tree ul{margin-left:5px;padding-left:4px}.catalog-category-toggle,.catalog-category-spacer{flex-basis:19px;width:19px;height:31px}.catalog-category-toggle svg{width:10px;height:10px}.catalog-category-name{font-size:12px;padding:7px 0;line-height:1.75}.catalog-category-row{padding-right:3px;min-height:31px}.catalog-current-path{font-size:12px;display:block;padding:0}.catalog-current-path>span{font-size:12px;margin-right:5px}.catalog-current-path strong{display:inline}.catalog-current-path strong span{margin:0 1px}.catalog-result-line{font-size:12px;line-height:1.7;margin:9px 0}.catalog-result-line span{display:none}.catalog-list-table,.catalog-list-table tbody{display:block;width:100%}.catalog-list-table thead{display:none}.catalog-list-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px 10px;gap:12px 6px;border-bottom:1px solid var(--line)}.catalog-list-table tr:last-child{border-bottom:0}.catalog-list-table td{padding:0;border:0;display:block;width:auto;min-width:0}.catalog-list-table .catalog-product-cell{grid-column:1/-1}.catalog-product-summary{align-items:flex-start;gap:8px}.catalog-row-thumb{width:43px;height:43px;flex-basis:43px}.catalog-product-name{font-size:12px;-webkit-line-clamp:3;line-height:1.7}.catalog-product-copy p,.catalog-product-copy small{font-size:12px;line-height:1.65}.catalog-product-category{font-size:12px;margin-top:1px}.catalog-price-cell:before{display:block;content:attr(data-label);font-size:12px;color:var(--muted);line-height:1.5;margin-bottom:4px;white-space:normal}.catalog-price-cell strong{font-size:12px}.catalog-price-cell{font-size:12px;white-space:normal;overflow-wrap:anywhere}.catalog-list-table .catalog-operation-cell{grid-column:1/-1}.catalog-row-actions{flex-direction:row;justify-content:flex-start;gap:5px}.catalog-row-actions .btn{font-size:12px;padding:6px 7px;min-height:28px;flex:1}.catalog-pagination{gap:8px;padding:20px 0;font-size:12px;white-space:nowrap}.catalog-pagination .btn{font-size:12px;padding:7px 8px}.catalog-detail-images img{height:85px}.catalog-error{display:block;font-size:12px;padding:12px}.catalog-error .btn{margin-top:9px}}
@media(prefers-reduced-motion:reduce){.catalog-category-toggle svg{transition:none}}

.catalog-range-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.catalog-range-tabs button{padding:9px 16px;border:1px solid var(--line);border-radius:8px;font-size:12px}.catalog-range-tabs button.selected{background:var(--green);color:white;border-color:var(--green)}.catalog-source-badge,.catalog-featured-badge{display:inline-block;font-size:12px;margin:4px 5px 2px 0;vertical-align:middle}.catalog-featured-badge{background:#f4ecd6;color:#8a6a27}.catalog-range-control{max-width:340px;margin:12px 0}.catalog-range-control select{width:100%;min-height:42px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:8px;color:var(--ink)}
