/* Category-only warm layout: shared product component and existing filter logic. */
.tb-category-page{padding-block:24px 48px;color:var(--tb-text)}.tb-category-page .breadcrumbs{font-size:12px;margin-bottom:20px;min-width:0}.tb-category-page .breadcrumbs ol{flex-wrap:wrap;gap:6px 10px}.tb-category-page .breadcrumbs li{min-width:0;max-width:100%;overflow-wrap:anywhere}.tb-category-page .breadcrumbs a{min-height:32px;display:inline-flex;align-items:center;color:var(--tb-brand)}.tb-category-page .breadcrumbs [aria-current]{color:var(--tb-muted)}.tb-category-page .catalog-header{display:flex;gap:24px;align-items:center;margin:0 0 24px;padding:28px;background:white;border:1px solid var(--tb-line);border-radius:20px}.tb-category-page .catalog-header>div{min-width:0}.tb-category-page .catalog-header>img{width:96px;height:96px;object-fit:contain;flex-shrink:0;border-radius:12px}.tb-category-page h1{font-size:30px;line-height:1.9;color:var(--tb-text);margin:4px 0 10px;overflow-wrap:anywhere}.tb-category-page .catalog-header .eyebrow{font-size:12px;color:var(--tb-brand)}.tb-category-page .catalog-header .managed-content{font-size:14px;line-height:2.1}.tb-category-page .managed-content p{color:var(--tb-muted);overflow-wrap:anywhere}.tb-category-page .catalog-header .managed-content p:last-child{margin-bottom:0}.tb-category-page .subcategories{padding:0;margin:0 0 28px;border:0;background:transparent}.tb-category-page .subcategory-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 20px;margin-bottom:16px}.tb-category-page .subcategory-heading h2{font-size:19px;color:var(--tb-text);margin:0;overflow-wrap:anywhere}.tb-category-page .subcategory-heading p{margin:0;font-size:12px;color:var(--tb-muted)}.tb-category-page .subcategories .subcategory-card{display:flex;align-items:center;gap:12px;min-width:0;min-height:94px;padding:16px;border:1px solid var(--tb-line);border-radius:14px;background:#fff;color:var(--tb-text);font-size:14px;font-weight:650}.tb-category-page .subcategory-card img{width:58px;height:58px;object-fit:contain;border-radius:10px;flex-shrink:0}.tb-category-page .subcategory-symbol{display:grid;place-items:center;width:50px;height:50px;background:var(--tb-soft);color:var(--tb-brand);border-radius:12px;flex-shrink:0}.tb-category-page .subcategory-card:hover{border-color:var(--tb-brand)}.tb-category-page .listing-products{margin-top:0}.tb-category-page .catalog-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;padding:14px 18px;background:#fff;border:1px solid var(--tb-line);border-radius:14px;margin-bottom:16px}.tb-category-page .sort-control{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--tb-text)}.tb-category-page .sort-control select{min-height:44px;font-size:14px;border:1px solid #9B7E86;border-radius:9px;background:#fff;color:var(--tb-text);padding:8px 12px}.tb-category-page .filter-status{margin:0;color:var(--tb-muted);font-size:13px;flex-basis:auto}.tb-category-page .catalog-layout{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:start;gap:24px}.tb-category-page .catalog-results{min-width:0;transition:opacity 120ms ease}.tb-category-page .catalog-results[aria-busy=true]{opacity:.55;pointer-events:none}.tb-category-page .catalog-results .section-head{margin:0 0 18px;align-items:center;gap:12px;flex-wrap:wrap}.tb-category-page .catalog-results .section-head h2{font-size:18px;color:var(--tb-text);margin:0}.tb-category-page .listing-count{font-size:12px;color:var(--tb-muted);background:var(--tb-soft);border-radius:7px;padding:4px 10px}.tb-category-page .filters-panel{padding:20px;background:#fff;border:1px solid var(--tb-line);border-radius:16px;min-width:0}.tb-category-page .filter-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.tb-category-page .filter-panel-heading h2{font-size:17px;color:var(--tb-text);margin:0}.tb-category-page .filters-panel fieldset{border:0;border-top:1px solid var(--tb-line);padding:18px 0;margin:18px 0 0}.tb-category-page .filters-panel legend{font-size:14px;font-weight:750;color:var(--tb-text);padding-top:12px}.tb-category-page .filters-panel label{color:var(--tb-text);font-size:13px}.tb-category-page .filters-panel input:not([type=checkbox]){width:100%;min-height:44px;border:1px solid #9B7E86;background:#fff;color:var(--tb-text);border-radius:9px;padding:9px 10px;font:inherit;font-size:15px;min-width:0}.tb-category-page .filters-panel input::placeholder{color:var(--tb-muted);opacity:1}.tb-category-page .filters-panel label[for=id_max_price]{display:block;margin-top:14px}.tb-category-page .brand-options{max-height:270px;overflow:auto;overscroll-behavior:contain}.tb-category-page .brand-choice,.tb-category-page .stock-choice{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;line-height:1.8}.tb-category-page .brand-choice span{min-width:0;overflow-wrap:anywhere}.tb-category-page input[type=checkbox]{width:18px;height:18px;accent-color:var(--tb-brand);flex-shrink:0}.tb-category-page .brand-search label{font-size:12px}.tb-category-page .brand-search-status{font-size:12px;color:var(--tb-muted)}.tb-category-page .filter-actions{position:static;background:#fff;display:flex;flex-direction:column;gap:10px;padding-top:16px;margin-top:0}.tb-category-page .filter-actions button{min-height:44px;font-size:13px;border-radius:10px}.tb-category-page .filter-actions .clear-filters{background:var(--tb-bg);color:var(--tb-brand);border:1px solid var(--tb-line)}.tb-category-page .filter-actions noscript{font-size:12px}.tb-category-page .filter-actions noscript a{display:inline-flex;align-items:center;min-height:44px;color:var(--tb-brand)}.tb-category-page .filter-error{font-size:13px;color:#743634;line-height:1.9}.tb-category-page .filter-error:not(:empty){padding:12px;background:#FFE9E1;border-radius:9px;margin-top:12px}.tb-category-page .filter-error p{color:inherit;margin:0}.tb-category-page .selected-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 16px;padding:14px;background:var(--tb-soft);border:1px solid var(--tb-line);border-radius:12px;font-size:12px;color:var(--tb-text)}.tb-category-page .selected-filters ul{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0;list-style:none;min-width:0}.tb-category-page .selected-filters li{padding:0;border:0;background:transparent;max-width:100%}.tb-category-page .selected-filters li button{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border:1px solid #9B7E86;background:#fff;border-radius:9px;color:var(--tb-brand);font:inherit;font-size:12px;text-align:start}.tb-category-page .selected-filters li button span:first-child{overflow-wrap:anywhere;min-width:0}.tb-category-page .clear-filters{min-height:44px;background:transparent;color:var(--tb-brand);font:inherit;font-size:12px}.tb-category-page .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tb-category-page .product-card{display:flex;flex-direction:column;border:1px solid var(--tb-line);border-radius:16px;background:#fff;padding:10px;box-shadow:none;min-width:0;max-width:none}.tb-category-page .product-card:hover{border-color:var(--tb-brand);transform:none;box-shadow:none}.tb-category-page .product-visual{aspect-ratio:1/1;border-radius:10px;background:var(--tb-bg)}.tb-category-page .product-visual img{width:100%;height:100%;object-fit:contain;padding:12px}.tb-category-page .product-content{display:flex;flex-direction:column;flex:1;min-width:0;padding:16px 3px 3px}.tb-category-page .product-content h3{font-size:14px;line-height:1.9;min-height:3.8em;color:var(--tb-text);overflow-wrap:anywhere;margin-bottom:10px}.tb-category-page .product-brand{color:var(--tb-muted);font-size:12px;min-height:28px;display:inline-flex;align-items:center;overflow-wrap:anywhere}.tb-category-page .variant-name{font-size:11px;color:var(--tb-muted);overflow-wrap:anywhere}.tb-category-page .product-price{margin-top:auto;display:flex;flex-wrap:wrap;gap:5px 10px;min-height:44px;align-items:flex-end;min-width:0}.tb-category-page .product-price del{color:var(--tb-muted);font-size:12px}.tb-category-page .product-price strong{font-size:19px;color:var(--tb-brand);max-width:100%;overflow-wrap:anywhere}.tb-category-page .product-price small{font-size:11px}.tb-category-page .discount-badge{background:var(--tb-brand);color:#fff;font-size:11px;border-radius:7px}.tb-category-page .stock-label{font-size:12px;background:var(--tb-soft);color:var(--tb-brand);border-color:var(--tb-line);padding:8px;margin-top:12px;min-height:38px}.tb-category-page .stock-label.out-of-stock{background:#F5E5E1;color:#6A4340}.tb-category-page .card-cart-link{display:flex;align-items:center;min-height:48px;border-top:1px solid var(--tb-line);padding-top:10px;margin-top:12px;font-size:12px;color:var(--tb-brand)}.tb-category-page .pagination{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}.tb-category-page .pagination :is(a,button,.current){min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--tb-line);border-radius:9px;background:#fff;color:var(--tb-brand);padding:8px 12px;font-size:13px}.tb-category-page .pagination .current{background:var(--tb-brand);color:#fff}.tb-category-page .empty-state{grid-column:1/-1;background:#fff;border:1px dashed #9B7E86;border-radius:16px;padding:32px 20px;font-size:14px;line-height:2;color:var(--tb-muted)}.tb-category-page .empty-state h3{color:var(--tb-text);font-size:18px}.tb-category-page .empty-state p{color:var(--tb-muted)}.tb-category-page .category-seo{padding:30px;background:white;border:1px solid var(--tb-line);border-radius:20px;margin:32px 0 0;line-height:2.2;font-size:14px;overflow-wrap:anywhere}.tb-category-page .category-seo h2{font-size:23px;color:var(--tb-text);margin:0 0 18px}.tb-category-page .category-seo h3{font-size:18px;margin:24px 0 12px;color:var(--tb-text)}.tb-category-page .category-seo ul,.tb-category-page .category-seo ol{padding-inline-start:24px}.tb-category-page .category-seo li{margin:8px 0}.tb-category-page .category-seo a{color:var(--tb-brand);text-decoration:underline;text-underline-offset:4px}.tb-category-page .category-seo img{max-width:100%;height:auto;object-fit:contain;border-radius:12px;margin-block:20px}.tb-category-page .category-table{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--tb-line);border-radius:10px;margin:20px 0}.tb-category-page .category-table table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.9}.tb-category-page .category-table th,.tb-category-page .category-table td{padding:12px;border:1px solid var(--tb-line);min-width:120px}.tb-category-page .category-table th{background:var(--tb-soft);color:var(--tb-text)}.tb-category-page :is(a,button,input,select,[tabindex]):focus-visible{outline:3px solid var(--tb-focus);outline-offset:3px}.tb-category-page .open-filters{display:none}.tb-category-page .filter-close{display:none}.tb-category-page .open-filters b{font-size:12px;background:var(--tb-soft);border-radius:6px;min-width:22px;padding:2px 5px}
@media(max-width:1150px){.tb-category-page .catalog-layout{grid-template-columns:220px minmax(0,1fr);gap:18px}.tb-category-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.tb-category-page .catalog-layout{grid-template-columns:minmax(0,1fr)}.js .tb-category-page .open-filters{display:flex;align-items:center;gap:8px;min-height:44px;border:1px solid #9B7E86;background:white;color:var(--tb-brand);padding:8px 12px;border-radius:9px;font:inherit;font-size:13px}.js .tb-category-page .filters-panel{position:fixed;inset-block:0;right:0;width:min(360px,calc(100% - 24px));height:100dvh;z-index:45;border-radius:0;overflow:auto;visibility:hidden;transform:translateX(102%);transition:transform 160ms ease,visibility 160ms ease;display:flex;flex-direction:column;overscroll-behavior:contain}.js .tb-category-page .filters-panel.is-open{visibility:visible;transform:translateX(0)}.js .tb-category-page .filter-close{display:block;min-width:44px;min-height:44px;font-size:24px;color:var(--tb-brand);background:var(--tb-soft);border-radius:9px}.js .tb-category-page #catalog-filter-form{display:flex;flex-direction:column;flex:1}.js .tb-category-page .filter-actions{position:sticky;bottom:0;margin-top:auto;padding:14px 0 max(14px,env(safe-area-inset-bottom));background:#fff}.tb-category-page .sort-control{font-size:12px;gap:8px}.tb-category-page .sort-control select{font-size:13px}.tb-category-page .filter-status{flex-basis:100%}html:not(.js) .tb-category-page .filters-panel{position:static;visibility:visible;transform:none;width:100%;height:auto;display:block}html:not(.js) .tb-category-page .filter-actions{position:static}.tb-category-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tb-category-page{padding-block:16px 32px}.tb-category-page .catalog-header{padding:20px;gap:14px;margin-bottom:22px}.tb-category-page .catalog-header>img{width:64px;height:64px}.tb-category-page h1{font-size:24px;line-height:1.8}.tb-category-page .catalog-header .managed-content{font-size:13px}.tb-category-page .subcategory-heading h2{font-size:17px}.tb-category-page .subcategory-heading p{font-size:11px}.tb-category-page .subcategories .subcategory-card{gap:9px;font-size:12px}.tb-category-page .subcategory-card img,.tb-category-page .subcategory-symbol{width:38px;height:38px}.tb-category-page .catalog-controls{padding:12px;gap:10px}.tb-category-page .sort-control{flex:1;justify-content:flex-end;min-width:0}.tb-category-page .sort-control select{max-width:150px;min-width:0}.tb-category-page .product-grid{gap:12px}.tb-category-page .product-card{padding:8px}.tb-category-page .product-content{padding:12px 2px 2px}.tb-category-page .product-content h3{font-size:14px;line-height:1.9}.tb-category-page .product-price strong{font-size:18px}.tb-category-page .product-price del{font-size:11px}.tb-category-page .card-cart-link{font-size:12px;line-height:1.9}.tb-category-page .category-seo{padding:24px 18px;font-size:14px}.tb-category-page .category-seo h2{font-size:21px}.tb-category-page .selected-filters{padding:12px}.tb-category-page .selected-filters ul{width:100%}}
@media(max-width:379px){.tb-category-page .product-grid{grid-template-columns:minmax(0,1fr)}.tb-category-page .product-visual{aspect-ratio:1.15}.tb-category-page .product-content h3{min-height:0}.tb-category-page .product-price{min-height:48px}.tb-category-page .sort-control{flex-basis:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.tb-category-page *{transition:none!important;scroll-behavior:auto!important}}

.tb-category-page .product-content h3{min-height:3.6em}.tb-category-page .product-content h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tb-category-page .product-brand{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:1.9em;max-height:3.8em}

.tb-category-page .filter-actions .button{background:var(--tb-brand);border-color:var(--tb-brand);color:#fff}.tb-category-page .filter-actions .button:hover{background:#672B3E;color:#fff}.tb-category-page .product-price strong{white-space:normal;overflow-wrap:anywhere}
@media(max-width:900px){.js .tb-category-page .filters-panel{transition:none}.js .tb-category-page .filters-panel.filters-ready{transition:transform 160ms ease,visibility 160ms ease}}
@media(prefers-reduced-motion:reduce){.js .tb-category-page .filters-panel.filters-ready{transition:none}}

/* Shared one-row subcategory rail, progressively enhanced without a library. */
.tb-category-page .subcategory-heading{align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.tb-category-page .subcategory-heading>div:first-child{min-width:0;flex:1}
.tb-category-page .subcategory-heading p{margin:2px 0 0}
.tb-category-page .subcategory-controls{display:flex;gap:6px;flex:none}
.tb-category-page .subcategory-controls button{width:44px;min-height:44px;border:1px solid var(--tb-line);border-radius:9px;background:#fff;color:var(--tb-brand);font-size:22px}
.tb-category-page .subcategory-controls button:disabled{opacity:.35}
.tb-category-page .subcategories .subcategory-grid{display:flex;flex-wrap:nowrap;align-items:stretch;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:2px;padding:4px 3px 10px;max-width:100%;min-width:0;scrollbar-width:thin;scrollbar-color:#b78396 #f4ebe7}
.tb-category-page .subcategories .subcategory-card{flex:0 0 calc((100% - 48px)/5);min-height:88px;height:88px;flex-wrap:nowrap;padding:10px;gap:10px;scroll-snap-align:start}
.tb-category-page .subcategory-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.7;font-size:13px;min-width:0;flex:1;overflow-wrap:anywhere}
.tb-category-page .subcategory-card img,.tb-category-page .subcategory-symbol{width:40px;height:40px;flex:none}
.tb-category-page .subcategory-card .subcategory-label{color:var(--tb-text)}
.tb-category-page .subcategory-grid:focus-visible,.tb-category-page .subcategory-card:focus-visible,.tb-category-page .subcategory-controls button:focus-visible{outline:3px solid var(--tb-brand);outline-offset:0}
.tb-category-page .subcategories{margin-bottom:20px;min-width:0;max-width:100%}
@media(max-width:1200px){.tb-category-page .subcategories .subcategory-card{flex-basis:calc((100% - 36px)/4)}}
@media(max-width:900px){.tb-category-page .subcategories .subcategory-card{flex-basis:calc((100% - 24px)/3)}}
@media(max-width:600px){.tb-category-page .subcategories .subcategory-card{flex-basis:46%;height:88px;min-height:88px;gap:8px}.tb-category-page .subcategory-heading h2{font-size:17px}.tb-category-page .subcategory-heading p{font-size:11px}.tb-category-page .subcategory-controls{gap:4px}.tb-category-page .subcategory-controls button{width:44px}.tb-category-page .subcategory-symbol,.tb-category-page .subcategory-card img{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.tb-category-page .subcategory-grid{scroll-behavior:auto}}
