/* Catalogue 1.5.0 - media tabs overlay the image, no extra row above it. */
.ts-product-media{position:relative;min-width:0;align-self:start}.ts-item-layout{align-items:start}
.ts-product-media>.ts-preview-tabs{position:absolute;left:12px;top:12px;z-index:5;margin:0;display:flex;gap:6px;padding:5px;border-radius:14px;background:var(--ts-bg,#171B1E);box-shadow:0 2px 12px #0003;max-width:calc(100% - 24px)}
.ts-product-media .ts-item-art{margin-top:0}.ts-product-media>.ts-viewer{margin-top:0}
.ts-product-workbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.ts-variants{margin:18px 0}.ts-variants>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
html body .ts-app .ts-variant{display:flex;flex-direction:column;gap:4px;padding:10px 14px;border:1px solid var(--ts-line,#65707a);border-radius:12px;color:inherit;background:var(--ts-card,transparent);text-decoration:none;max-width:100%;overflow-wrap:anywhere}
html body .ts-app .ts-variant[aria-current=page]{border:2px solid #FF7A00;padding:9px 13px;background:var(--ts-soft,#252c38);color:var(--ts-text,#fff)}
.ts-personal-badge{font-size:14px!important;color:var(--ts-muted,inherit)}
.ts-personal-dialog{box-sizing:border-box;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid var(--td-line,#65707a);border-radius:20px;background:var(--td-surface,#fff);color:var(--td-ink,#171B1E);font:inherit;overflow:auto}
.ts-personal-dialog::backdrop{background:#0009}.ts-personal-dialog:not([open]){display:none}.ts-personal-dialog dl,.ts-review-list{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:10px 16px}.ts-personal-dialog dd,.ts-review-list dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
html body .ts-personal-dialog .ts-btn.ts-primary,html body .ts-app .ts-btn.ts-primary{background:#FF7A00!important;color:#171B1E!important;border-color:#FF7A00!important;font-weight:700}
.ts-cost-panel{margin-top:22px;margin-bottom:18px;border:1px solid var(--td-line,#65707a);border-radius:14px;padding:18px;overflow-wrap:anywhere}.ts-cost-panel dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.ts-cost-panel dd{margin:0}.ts-cost-panel h2,.ts-cost-panel h3{margin-top:0}.ts-cost-panel .ts-inline{gap:8px;margin-top:10px;flex-wrap:wrap}
.ts-personal-dialog .ts-inline{display:flex;flex-wrap:wrap;gap:10px}.ts-app [data-ts-add-another]{margin:12px 0}
.ts-personal-dialog .ts-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--td-line,#65707a);border-radius:12px;font:inherit;cursor:pointer;background:var(--td-soft,#eee);color:inherit}
.ts-variant:focus-visible{outline:2px solid #FF9500;outline-offset:3px}
@media(max-width:600px){.ts-product-workbar .ts-btn{flex:1}.ts-cost-panel{padding:14px}.ts-personal-dialog{padding:18px}.ts-product-media>.ts-preview-tabs{top:8px;left:8px;max-width:calc(100% - 16px)}.ts-product-media>.ts-preview-tabs button{font-size:13px;padding:8px 10px;min-height:36px}}

/* Compact cards and accessible favorite control. */
html body .ts-app.ts-catalog .ts-products{grid-auto-rows:1fr;align-items:stretch}
html body .ts-app .ts-product{display:flex;flex-direction:column;min-width:0}
html body .ts-app .ts-catalog-art{position:relative;flex:0 0 auto}
html body .ts-app .ts-product-body{display:flex;flex-direction:column;flex:1;min-width:0}
html body .ts-app .ts-product-category{align-self:flex-start}
html body .ts-app .ts-product-bottom{margin-top:auto;padding-top:18px}
html body .ts-app .ts-art-badge{max-width:calc(100% - 84px);color:var(--ts-text);font-size:13px;line-height:1.4}
html body .ts-app .ts-art-badge small{display:block;font-size:12px;font-weight:400;margin-top:3px;color:var(--ts-muted)}
html body .ts-app .ts-favorite-corner{position:absolute;right:10px;top:10px;z-index:6;margin:0}
html body .ts-app .ts-heart{display:flex;align-items:center;justify-content:center;width:46px;height:46px;padding:8px;border-radius:50%;border:1px solid var(--ts-border);background:var(--ts-card);color:var(--ts-text);box-shadow:0 2px 8px #0002;cursor:pointer}
html body .ts-app .ts-heart .ts-icon{width:28px;height:28px;flex:0 0 28px;fill:none;transition:transform .18s,fill .18s}
html body .ts-app .ts-heart[aria-pressed=true]{color:#FF7A00}
html body .ts-app .ts-heart[aria-pressed=true] .ts-icon{fill:#FF7A00}
html body .ts-app .ts-heart:active .ts-icon{transform:scale(.9)}
html body .ts-app .ts-heart:focus-visible{outline:3px solid #FF7A00;outline-offset:3px}
.ts-favorite-status{position:absolute;right:0;top:50px;min-width:180px;max-width:240px;padding:10px;background:var(--ts-card);color:var(--ts-text);border:1px solid var(--ts-border);border-radius:8px;font-size:13px}
.ts-product-media>.ts-preview-tabs{max-width:calc(100% - 80px)}
@media(prefers-reduced-motion:reduce){html body .ts-app .ts-heart .ts-icon{transition:none}}

.ts-cost-details{margin:12px 0}.ts-cost-details>summary{cursor:pointer;color:var(--ts-text);padding:8px 0}.ts-cost-details[open]>summary{margin-bottom:10px}

html body .ts-app{--ts-accent:#FF7A00}html body .ts-app .ts-categories a.is-active{background:#FF7A00;color:#171B1E;border-color:#FF7A00}
/* Catalogue SEO, isolated from the site template. */
.ts-seo-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.45rem;list-style:none;padding:0;margin:0 0 1.5rem;font-size:.85rem}
.ts-seo-breadcrumbs li+li:before{content:"/";padding-right:.45rem;opacity:.5}
.ts-seo-fields{margin:1.2rem 0}.ts-seo-fields summary{cursor:pointer;padding:.5rem 0}.ts-seo-fields label{display:block;margin-top:1rem}.ts-seo-fields small{display:block}
.ts-seo-intro{max-width:75ch}.ts-seo-intro img{max-width:100%;height:auto}
.ts-seo-fields,.ts-seo-fields input,.ts-seo-fields textarea{max-width:100%;min-width:0}
.ts-admin .ts-panel dd{margin-inline-start:0;overflow-wrap:anywhere}
