/* Server-rendered controls; approved var(--orange) palette and shared type scale. */
[hidden]{display:none!important}
.tj-directory{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 20px}
.tj-category summary{display:flex;align-items:center;gap:10px;min-height:43px;padding:11px 9px;list-style:none;font-size:var(--fs-body);font-weight:var(--fw-regular);line-height:1.5;cursor:pointer;border-radius:4px}
.tj-category summary::-webkit-details-marker{display:none}
.tj-category summary>span,.directory-menu-row>a>span{flex:1}
.tj-category summary>.icon:last-child{width:14px;height:14px;color:var(--muted);flex:none}
.tj-category[open]>summary{background:var(--warm);box-shadow:inset 2px 0 var(--orange)}
.tj-category[open]>summary>.icon:last-child{transform:rotate(180deg);color:var(--orange)}
.tj-category summary:hover{background:var(--pale)}
.tj-category-menu .tj-menu-icon{width:22px;height:22px;flex:none;color:var(--orange)}
.mega-categories:has(>.tj-category-menu){display:block;max-height:65vh;overflow:auto}
.mega-categories .tj-category-menu{columns:2;column-gap:28px}
.mega-categories .directory-menu-group{break-inside:avoid}
.catalog-category-switch .tj-category summary{padding:10px 6px;font-weight:var(--fw-regular)}
.catalog-category-switch[open] .tj-category:not([open]) summary>.icon{transform:none}
.filter-title>a{font-size:var(--fs-caption);color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.tj-filter-submit{width:100%;margin-bottom:18px;font-size:var(--fs-body)}
.facet-options{max-height:270px;overflow:auto}
.tj-facet-count{min-width:24px;text-align:right;font-variant-numeric:tabular-nums}
.tj-filter-status{font-size:var(--fs-caption);color:var(--muted);line-height:1.5;margin:12px 0}
.facet-option>span{min-width:0;overflow-wrap:anywhere}
.catalog-results{min-width:0}
.catalog-toolbar{margin-bottom:18px;font-size:var(--fs-caption)}
.tj-old-price{display:block;color:var(--muted);font-size:var(--fs-body);line-height:1.4;margin-bottom:5px}
.catalog-card-copy{margin-bottom:18px}
.tj-photo-placeholder{display:grid;place-items:center;background:var(--pale);color:var(--muted);font-size:var(--fs-body);width:100%;min-height:130px;border-radius:6px}
.novelties-viewport{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}
.novelties-grid{transform:none!important}
.novelties-grid>.catalog-card{scroll-snap-align:start}
.product-grid>.catalog-card .catalog-picture,.novelties-grid>.catalog-card .catalog-picture{height:146px}
.pagination{list-style:none;display:flex;gap:5px;margin:0;padding:0;align-items:center}
.pagination a,.pagination span{display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border:1px solid var(--line);border-radius:6px;font-size:var(--fs-caption);color:var(--ink)}
.pagination .active a{background:var(--orange);border-color:var(--orange);color:white}
.pagination .disabled{opacity:.4}
.pagination a:hover{border-color:var(--orange)}
.tj-thumbnails{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
.tj-thumbnails button{width:64px;height:55px;border:1px solid var(--line);border-radius:5px;padding:5px;background:white}
.tj-thumbnails img{width:100%;height:100%;object-fit:contain}
.tj-thumbnails button[aria-pressed=true]{border-color:var(--orange)}
.tj-rich-description{overflow-wrap:anywhere}
.tj-rich-description img{max-width:100%;height:auto}
.tj-rich-description table{max-width:100%;border-collapse:collapse;font-size:var(--fs-body)}
.tj-rich-description td,.tj-rich-description th{padding:8px;border:1px solid var(--line)}
.tj-rich-description iframe{max-width:100%;border:0}
.pdp-tabs button[aria-selected=true]{color:var(--ink);border-bottom:2px solid var(--orange)}
.pdp-full-specs>div{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:12px 0;border-bottom:1px solid var(--line);font-size:var(--fs-body)}
.pdp-full-specs dt{color:var(--muted)}
.pdp-full-specs dd{margin:0;overflow-wrap:anywhere}
.pdp-summary-note img,.pdp-summary-note iframe{max-width:100%}
#tj-buy:disabled{opacity:.5;cursor:not-allowed}
#tj-favorites-dialog,.pdp-image-dialog{border:1px solid var(--line);border-radius:12px;padding:28px;max-width:min(900px,90vw);max-height:90vh;margin:auto}
#tj-favorites-dialog{width:600px}
#tj-favorites-dialog::backdrop,.pdp-image-dialog::backdrop{background:#161d2766}
.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}
.dialog-head h2{font-size:var(--fs-h4)}
.dialog-head button{font-size:var(--fs-h3);line-height:1;width:36px;height:36px}
#tj-favorites-list a{display:block;padding:14px 0;border-top:1px solid var(--line);font-size:var(--fs-body)}
#tj-favorites-list a:hover{text-decoration:underline;text-underline-offset:3px}
#tj-large-photo{max-width:100%;max-height:70vh;object-fit:contain}
.tj-status{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:200;background:var(--ink);color:white;box-shadow:0 6px 24px #0002;border-radius:8px;padding:15px 22px;font-size:var(--fs-body);max-width:600px}
@media(prefers-reduced-motion:reduce){.novelties-viewport{scroll-behavior:auto}}

.tj-preview-notice{padding:7px 16px;text-align:center;background:var(--warm);color:var(--muted);font-size:var(--fs-caption);line-height:1.5}

/* Editorial catalogue guidance uses the existing typography and colours. */
.catalog-seo{margin:36px 0 20px;padding-top:28px;border-top:1px solid var(--line,#e8e8e8);max-width:960px;color:var(--ink)}
.catalog-seo h2{font-size:var(--fs-h3);line-height:1.35;margin:0 0 14px}.catalog-seo p{font-size:var(--fs-body);line-height:1.65;margin:10px 0}
.catalog-seo-links{display:flex;flex-wrap:wrap;gap:12px 22px;margin:18px 0}.catalog-seo a{color:var(--orange,#FF7400);text-underline-offset:3px}.catalog-seo a:hover{text-decoration:underline}.catalog-seo-service{color:var(--muted)}
@media(max-width:767px){.catalog-seo{margin-top:24px;padding-top:20px}.catalog-seo-links{gap:10px 16px}}
