.brand { display: flex; align-items: center; gap: 8px; min-width: max-content; font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 31px; height: 31px; }
.header-nav { display: flex; align-items: center; gap: 5px; }
.header-nav a { padding: 9px 13px; border-radius: var(--radius-sm); white-space: nowrap; }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: #ddd6fe; background: rgba(124, 58, 237, .14); box-shadow: 0 0 24px rgba(124, 58, 237, .13); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.language-switcher { position: relative; }
.language-trigger, .language-option { min-height: 36px; padding-inline: 10px; border: 1px solid var(--color-border); border-radius: 7px; background: #080e1a; }
.language-menu { position: absolute; inset-block-start: calc(100% + 6px); inset-inline-end: 0; z-index: 70; min-width: 150px; padding: 5px; border: 1px solid var(--color-border); border-radius: 9px; background: #080e1c; box-shadow: var(--shadow-panel); }
.language-menu[hidden] { display: none; }
.language-option { display: block; width: 100%; border-color: transparent; text-align: start; }
.language-option[aria-selected="true"] { color: #ddd6fe; background: rgba(124, 58, 237, .2); }
.search-placeholder { width: 268px; height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: #727b8d; background: rgba(5, 9, 18, .8); }
.menu-toggle { display: none; }
.breadcrumbs { border: 1px solid rgba(148, 163, 184, .1); border-radius: var(--radius-md); background: rgba(5, 10, 20, .68); overflow-x: auto; }
.breadcrumbs ol { display: flex; align-items: center; gap: 2px; min-width: max-content; margin: 0; padding: 7px 12px; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; color: var(--color-text-muted); }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin: 0 9px; color: #596174; }
.breadcrumbs a { padding: 4px 3px; }
.breadcrumbs a:hover { color: #c4b5fd; }
.hero { min-height: 154px; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 46%); gap: 18px; overflow: hidden; }
.hero-content { display: flex; align-items: center; gap: 20px; padding: 5px; }
.hero-icon { width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-md); color: #9b67ff; background: linear-gradient(145deg, #111a2d, #080e1c); font-size: 34px; box-shadow: inset 0 0 30px rgba(124, 58, 237, .08); }
.hero h1 { margin-bottom: 3px; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -.025em; }
.hero-description { max-width: 590px; margin-bottom: 11px; color: #c1c5cf; }
.hero-counters { display: flex; flex-wrap: wrap; gap: 16px; color: #b8bdc8; font-size: 13px; }
.hero-counter { display: flex; align-items: center; gap: 6px; }
.hero-promo { position: relative; min-height: 124px; display: flex; align-items: center; padding: 20px; border: 1px solid rgba(139, 92, 246, .17); border-radius: var(--radius-md); overflow: hidden; background: linear-gradient(115deg, rgba(14, 22, 43, .9), rgba(44, 16, 87, .6)); }
.hero-promo::after { content: "4"; position: absolute; inset-inline-end: 28px; top: -24px; color: #a78bfa; font-size: 132px; line-height: 1; font-weight: 900; font-style: italic; text-shadow: 0 0 32px #7c3aed; transform: rotate(5deg); }
.hero-promo-content { position: relative; z-index: 1; max-width: 265px; }
.hero-promo strong { display: block; margin-bottom: 10px; font-size: 21px; line-height: 1.15; }
.catalog-tree { padding: 14px 12px; }
.panel-title { margin: 0 0 9px; font-size: 15px; }
.tree-list { margin: 0; padding: 0; list-style: none; }
.tree-list .tree-list { margin-inline-start: 15px; border-inline-start: 1px solid rgba(148, 163, 184, .15); }
.tree-row { display: flex; align-items: center; gap: 5px; min-height: 32px; }
.tree-toggle { width: 26px; height: 28px; display: grid; place-items: center; color: #8991a2; background: transparent; border-radius: 6px; }
.tree-toggle:hover { background: rgba(124, 58, 237, .12); }
.tree-link { min-width: 0; flex: 1; display: flex; align-items: center; gap: 7px; padding: 6px 7px; border-radius: 7px; color: #b7bdc9; }
.tree-link span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-link small { margin-inline-start: auto; color: #687186; }
.tree-link:hover { color: #e9e4ff; background: rgba(124, 58, 237, .08); }
.tree-link[aria-current="page"] { color: #c4b5fd; background: linear-gradient(90deg, rgba(124, 58, 237, .31), rgba(124, 58, 237, .16)); }
.tree-children[hidden] { display: none; }
.all-categories { width: 100%; margin-top: 14px; }
.content-panel { min-height: 420px; padding: 12px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tabs { min-width: 0; display: flex; gap: 5px; overflow-x: auto; }
.tab { min-height: 36px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: 7px; background: #080e1a; color: #bec3ce; white-space: nowrap; }
.tab.is-active { color: white; border-color: #7c3aed; background: linear-gradient(135deg, #7133df, #5520bc); }
.toolbar-actions { display: flex; align-items: center; gap: 7px; }
.select { height: 36px; padding: 0 30px 0 10px; border: 1px solid var(--color-border); border-radius: 7px; background: #070d19; }
.view-toggle { display: flex; padding: 3px; border: 1px solid var(--color-border); border-radius: 8px; background: #070d19; }
.view-toggle button { width: 31px; height: 28px; display: grid; place-items: center; border-radius: 5px; color: #858da0; background: transparent; }
.view-toggle button.is-active { color: #a78bfa; background: rgba(124, 58, 237, .21); }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.content-grid.is-list { grid-template-columns: 1fr; }
.content-card { --card-accent: #8b5cf6; min-width: 0; overflow: hidden; border: 1px solid var(--color-border); border-radius: 9px; background: linear-gradient(150deg, #0c1526, #07101e); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.content-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--card-accent) 45%, transparent); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
.content-card.is-featured { border-color: color-mix(in srgb, var(--card-accent) 55%, transparent); box-shadow: 0 0 26px color-mix(in srgb, var(--card-accent) 16%, transparent); }
.content-card[data-variant="wide"] { grid-column: span 2; }
.content-card[data-variant="hero"] { grid-column: span 2; }
.card-media { position: relative; height: 145px; overflow: hidden; background: #070c16; }
.card-media img { width: 100%; height: 100%; object-fit: cover; opacity: .72; filter: hue-rotate(var(--placeholder-hue, 0deg)); }
.card-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 65% 40%, color-mix(in srgb, var(--card-accent) 34%, transparent), transparent 38%); }
.card-symbol { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; color: var(--card-accent); font-size: 48px; font-weight: 800; text-shadow: 0 0 22px currentColor; }
.card-body { padding: 10px 11px 11px; }
.card-badge { display: inline-flex; margin: -3px 0 8px; padding: 3px 7px; border-radius: 5px; color: color-mix(in srgb, var(--card-accent) 76%, white); background: color-mix(in srgb, var(--card-accent) 18%, #080d18); font-size: 10px; text-transform: uppercase; }
.content-card h3 { margin-bottom: 5px; font-size: 15px; line-height: 1.3; }
.card-summary { min-height: 41px; margin-bottom: 11px; color: #a9b0bd; font-size: 12px; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-extra { margin: -4px 0 9px; color: var(--card-accent); font-size: 11px; }
.card-footer { display: flex; align-items: center; gap: 9px; color: #8f97a7; font-size: 11px; }
.card-footer .bookmark { margin-inline-start: auto; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 6px; color: #9da5b6; background: transparent; }
.card-footer .bookmark:hover { border-color: var(--color-border); color: #c4b5fd; }
.content-grid.is-list .content-card { display: grid; grid-template-columns: 220px 1fr; }
.content-grid.is-list .card-media { height: 100%; min-height: 160px; }
.filters { padding: 14px; }
.filter-heading { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.filter-heading button { padding: 0; color: #777f91; background: transparent; font-size: 11px; }
.filter-group { margin: 0 0 20px; padding: 0; border: 0; }
.filter-group legend { margin-bottom: 9px; font-size: 12px; font-weight: 650; }
.filter-option { min-height: 29px; display: flex; align-items: center; gap: 8px; color: #b6bcc8; font-size: 12px; }
.filter-option input { width: 15px; height: 15px; accent-color: var(--color-primary); }
.filter-placeholder { opacity: .5; }
.filter-select { width: 100%; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 18px; }
.pagination button { min-width: 34px; height: 34px; border-radius: 50%; color: #c4c8d2; background: transparent; }
.pagination button.is-active { color: white; background: #5b25bd; box-shadow: 0 0 20px rgba(124, 58, 237, .3); }
.pagination button:disabled { opacity: .35; cursor: default; }
.state { min-height: 360px; padding: 38px 18px; display: grid; place-items: center; text-align: center; }
.state-content { max-width: 480px; }
.state-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 20px; color: #a78bfa; background: rgba(124, 58, 237, .14); font-size: 30px; }
.skeleton { position: relative; overflow: hidden; background: #10192a; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); animation: shimmer 1.4s infinite; }
.skeleton-card { height: 300px; border: 1px solid var(--color-border); border-radius: 9px; }
@keyframes shimmer { to { transform: translateX(100%); } }
.child-categories { margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.child-category { padding: 8px 11px; border: 1px solid var(--color-border); border-radius: 8px; color: #c8cdd7; background: #09101e; }
.child-category:hover { color: #d8ccff; border-color: rgba(139, 92, 246, .4); }
.toast { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 150; padding: 12px 16px; border: 1px solid rgba(139, 92, 246, .35); border-radius: 10px; background: #101528; box-shadow: var(--shadow-glow); }
