:root {
    --base: #F6F3EC;
    --paper: #FFFFFF;
    --ink: #151413;
    --muted: #706D67;
    --line: #D8D3C9;
    --line-soft: #E9E5DD;
    --red: #C8341A;
    --red-dark: #A52A15;
    --red-pale: #F2DDD7;
    --disabled: #AAA69F;
    --navy: #17223B;
    --lab-surface: #EDEAE4;
    --radius: 22px;
    --icon-radius: 22%;
    --page-pad: 48px;
    --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 7% 3%, rgba(200, 52, 26, 0.055), transparent 25rem),
        var(--base);
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

body.dialog-open { overflow: hidden; }

button, input, select { font: inherit; }
button, summary, select { cursor: pointer; }
button { color: inherit; }

a { color: inherit; }

img { display: block; max-width: 100%; }

.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;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 1000;
    transform: translateY(-140%);
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--ink);
    color: white;
    text-decoration: none;
}

.skip-link:focus { transform: none; }

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}

.store-header {
    width: min(100%, calc(var(--max) + (var(--page-pad) * 2)));
    margin: 0 auto;
    padding: 30px var(--page-pad) 26px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.brand {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: "Cinzel", serif;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.page-identity { text-align: center; }
.page-kicker,
.eyebrow,
.status-pill,
.build-label,
.results-count,
.chart-meta,
.meta-label,
.filter-menu summary,
.sort-field > span,
.filter-panel label > span,
.filter-panel legend,
.icon-note {
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-kicker { display: block; margin-bottom: 2px; color: var(--muted); }

h1, h2, h3, p { margin-top: 0; }

h1 {
    margin-bottom: 0;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.search-field {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--muted);
}

.search-field--desktop { width: min(100%, 310px); justify-self: end; }
.search-field--mobile { display: none; }

.search-field:focus-within {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(200, 52, 26, 0.1);
}

.search-field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
}

.search-field input::placeholder { color: #8D8982; }

main {
    width: min(100%, calc(var(--max) + (var(--page-pad) * 2)));
    margin: 0 auto;
    padding: 42px var(--page-pad) 96px;
}

section + section { margin-top: 82px; }
.discovery-section + .lab-section { margin-top: 82px; }

.buzz-feature {
    position: relative;
    overflow: hidden;
    min-height: 315px;
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) 1.25fr;
    gap: 54px;
    align-items: center;
    padding: 48px;
    color: var(--ink);
    background: var(--lab-surface);
    border: 1px solid var(--ink);
    border-radius: 28px;
    box-shadow: none;
}

.buzz-copy { position: relative; z-index: 1; }
.buzz-copy .eyebrow { color: var(--ink); }
.buzz-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(40px, 5vw, 67px);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.buzz-copy > p:not(.eyebrow) {
    max-width: 420px;
    margin-bottom: 24px;
    color: rgba(21, 20, 19, 0.68);
    font-size: 16px;
}

.text-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(21, 20, 19, 0.55);
    color: inherit;
    background: transparent;
    font-weight: 600;
    text-decoration: none;
}

.buzz-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; }

.buzz-icons {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    gap: 20px 16px;
}

.collection-product {
    min-width: 0;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    text-align: left;
}

.collection-product .product-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 9px;
    box-shadow: 0 8px 20px rgba(21, 20, 19, 0.12);
}

.collection-product strong,
.collection-product small { display: block; }

.collection-product strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
}

.collection-product small {
    margin-top: 2px;
    color: rgba(21, 20, 19, 0.58);
    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 25px;
}

.eyebrow { margin-bottom: 7px; color: var(--red); }

.section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.section-heading > p {
    max-width: 340px;
    margin-bottom: 0;
    color: var(--muted);
    text-align: right;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.chart { min-width: 0; padding: 25px; }
.chart + .chart { border-left: 1px solid var(--line); }

.chart-title {
    margin-bottom: 17px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: 17px;
}

.chart-title span {
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chart-list { margin: 0; padding: 0; list-style: none; }

.chart-row {
    width: 100%;
    min-height: 65px;
    display: grid;
    grid-template-columns: 22px 46px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 9px 0;
    border: 0;
    border-top: 1px solid var(--line-soft);
    background: transparent;
    text-align: left;
}

.chart-rank {
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: 11px;
}

.chart-row .product-icon { width: 46px; height: 46px; }

.chart-name,
.chart-meta { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chart-name { font-size: 13px; font-weight: 600; }
.chart-meta { margin-top: 2px; color: var(--muted); font-size: 8px; }

.store-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--line);
}

.store-tab {
    position: relative;
    padding: 0 0 20px;
    border: 0;
    background: transparent;
    color: var(--ink);
    opacity: 0.35;
    text-align: left;
    transition: opacity 160ms ease;
}

.store-tab:hover,
.store-tab[aria-selected="true"] { opacity: 1; }

.store-tab[aria-selected="true"]::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--ink);
}

.store-tab .eyebrow { display: block; }

.store-tab-title {
    display: block;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
}

.store-tab-panel > .results-count {
    display: block;
    margin-bottom: 12px;
    text-align: right;
}

.results-count { color: var(--muted); white-space: nowrap; }

.category-shell { position: relative; }
.category-shell::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 35px;
    background: linear-gradient(to right, transparent, var(--base));
    pointer-events: none;
}

.category-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 3px 35px 8px 3px;
    scrollbar-width: none;
}
.category-rail::-webkit-scrollbar { display: none; }

.category-button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
}

.category-button:hover { border-color: var(--ink); }
.category-button[aria-pressed="true"] {
    border-color: var(--red);
    background: var(--red-pale);
    color: var(--red-dark);
}

.browse-tools {
    position: relative;
    z-index: 6;
    min-height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.filter-menu { position: relative; }
.filter-menu summary {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    list-style: none;
}
.filter-menu summary::-webkit-details-marker { display: none; }
.filter-menu summary::after { content: "+"; font-size: 16px; }
.filter-menu[open] summary::after { content: "−"; }

.filter-count {
    min-width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: white;
    font-size: 9px;
}

.filter-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: min(430px, calc(100vw - 32px));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 22px 60px rgba(21, 20, 19, 0.16);
}

.filter-panel label > span,
.filter-panel legend { display: block; margin-bottom: 7px; color: var(--muted); }

.filter-panel select,
.sort-field select {
    min-height: 42px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
}

.filter-panel label select { width: 100%; }
.filter-panel fieldset { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; }

.tag-options { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-choice input { position: absolute; opacity: 0; pointer-events: none; }
.tag-choice span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
}
.tag-choice input:checked + span { border-color: var(--red); background: var(--red-pale); color: var(--red-dark); }
.tag-choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.clear-filters {
    grid-column: 1 / -1;
    width: max-content;
    min-height: 38px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: transparent;
    font-weight: 600;
}

.sort-field { display: flex; align-items: center; gap: 10px; }
.sort-field > span { color: var(--muted); }

.active-state {
    margin-top: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 14px 16px;
    border: 1px solid #E4B9AD;
    border-radius: 13px;
    background: var(--red-pale);
}
.active-state p { margin: 0; font-size: 14px; }
.active-state button {
    padding: 0 0 2px;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    font-weight: 600;
}

.product-directory {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.product-row {
    position: relative;
    width: 100%;
    min-height: 132px;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    text-align: left;
    box-shadow: 0 1px 0 rgba(21, 20, 19, 0.02);
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.product-row:hover {
    border-color: #BEB8AE;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(21, 20, 19, 0.06);
}

.product-row .product-icon { width: 74px; height: 74px; }
.product-copy { min-width: 0; }
.product-parent { margin-bottom: 3px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.product-name { margin-bottom: 4px; font-size: 17px; line-height: 1.15; }
.product-summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-signals {
    width: 100px;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.status-pill {
    display: inline-flex;
    min-height: 26px;
    max-width: 100%;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 7px;
    line-height: 1.2;
    text-align: center;
}

.status-pill[data-status="live"] { border-color: var(--ink); background: var(--ink); color: white; }
.status-pill[data-status="beta"] { border-color: var(--red); color: var(--red-dark); }
.status-pill[data-status="private"]::before { content: "•"; margin-right: 4px; }
.status-pill[data-status="demo"] { border-color: var(--red-pale); background: var(--red-pale); color: var(--red-dark); }
.status-pill[data-status="community"] { border-color: var(--red); background: var(--red); color: white; }
.status-pill[data-status="rnd"] {
    border-color: #A9A59E;
    background: repeating-linear-gradient(135deg, #F1EFEB 0 4px, #E6E3DD 4px 8px);
    color: #5F5C57;
}

.build-block { text-align: right; }
.build-label { display: block; margin-bottom: 3px; color: var(--muted); font-size: 8px; }
.build-score { font-family: "DM Mono", monospace; font-size: 11px; font-variant-numeric: tabular-nums; }
.build-stars { color: var(--red); letter-spacing: 0.05em; }

.empty-state {
    margin-top: 20px;
    padding: 60px 24px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    text-align: center;
}
.empty-state h3 { margin-bottom: 20px; font-size: 26px; }
.empty-state button {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--paper);
}

.lab-section {
    padding: 0 34px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--lab-surface);
}

.lab-toggle {
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    list-style: none;
}

.lab-toggle::-webkit-details-marker { display: none; }

.lab-toggle h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.lab-toggle::after {
    content: "→";
    flex: 0 0 auto;
    font-family: "DM Mono", monospace;
    font-size: 20px;
}

.lab-section[open] {
    padding-bottom: 34px;
}

.lab-section[open] .lab-toggle::after { content: "↓"; }
.lab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.lab-card {
    width: 100%;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid #D3CFC7;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
    text-align: left;
}
.lab-card .product-icon { width: 78px; height: 78px; filter: grayscale(0.9) saturate(0.35); opacity: 0.75; }
.lab-card h3 { margin-bottom: 3px; font-size: 18px; }
.lab-card p { margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.lab-progress-meta { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.lab-progress { height: 7px; overflow: hidden; border-radius: 999px; background: #D8D4CC; }
.lab-progress span { display: block; height: 100%; border-radius: inherit; background: #8C8881; }

.product-icon {
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(21, 20, 19, 0.1);
    border-radius: var(--icon-radius);
    background: var(--icon-bg, #E7E2D8);
    color: var(--icon-fg, var(--ink));
    font-family: "DM Mono", monospace;
    font-size: calc(var(--icon-size, 74px) * 0.34);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.08em;
    isolation: isolate;
}

.product-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--icon-pattern, none);
}

.product-icon[data-temporary="true"]::after {
    content: "";
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 7px;
    height: 7px;
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    background: var(--red);
}

.product-icon img { width: 100%; height: 100%; object-fit: cover; }

.icon-device { --icon-bg: #17151F; --icon-fg: #F7E5A5; --icon-pattern: radial-gradient(circle at 68% 28%, #7E4DE1 0 7%, transparent 8%), radial-gradient(circle at 35% 68%, #C8341A 0 5%, transparent 6%); }
.icon-dockoscope { --icon-bg: #D9F2EF; --icon-fg: #153F3B; --icon-pattern: linear-gradient(140deg, transparent 48%, rgba(21, 63, 59, 0.12) 49% 55%, transparent 56%); }
.icon-fala { --icon-bg: #F6CF5A; --icon-fg: #452E0D; --icon-pattern: radial-gradient(circle at 75% 18%, rgba(255,255,255,0.45) 0 16%, transparent 17%); }
.icon-shapeshift { --icon-bg: #EFEAFF; --icon-fg: #3C245C; --icon-pattern: linear-gradient(90deg, rgba(98,56,156,0.18) 50%, transparent 50%), linear-gradient(rgba(98,56,156,0.15) 50%, transparent 50%); background-size: 100% 100%, 100% 100%; }
.icon-zebra { --icon-bg: #F4EDE2; --icon-fg: #23201D; --icon-pattern: repeating-linear-gradient(118deg, transparent 0 8px, rgba(21,20,19,0.11) 8px 12px); }
.icon-buzz { --icon-bg: #FFD850; --icon-fg: #17223B; --icon-pattern: radial-gradient(circle at 82% 18%, #E8462E 0 9%, transparent 10%), linear-gradient(135deg, transparent 60%, rgba(23,34,59,0.1) 61%); }
.icon-buzz-live { --icon-bg: #E8462E; --icon-fg: white; --icon-pattern: radial-gradient(circle at 75% 25%, rgba(255,255,255,0.25) 0 12%, transparent 13%); }
.icon-buzz-private { --icon-bg: #9EDCD6; --icon-fg: #17223B; --icon-pattern: linear-gradient(45deg, rgba(255,255,255,0.23) 25%, transparent 25% 75%, rgba(255,255,255,0.23) 75%); background-size: 18px 18px; }
.icon-buzz-brand { --icon-bg: #BFA7EE; --icon-fg: #2D164E; --icon-pattern: radial-gradient(circle at 20% 78%, rgba(255,255,255,0.38) 0 16%, transparent 17%); }
.icon-buzz-creator { --icon-bg: #62C69D; --icon-fg: #102E25; --icon-pattern: linear-gradient(135deg, rgba(255,255,255,0.32) 0 28%, transparent 29%); }
.icon-buzz-gift { --icon-bg: #F49BBA; --icon-fg: #512034; --icon-pattern: linear-gradient(90deg, transparent 44%, rgba(255,255,255,0.4) 45% 55%, transparent 56%); }
.icon-ravooors { --icon-bg: #1C1717; --icon-fg: #F0E7D9; --icon-pattern: radial-gradient(circle, rgba(200,52,26,0.4) 0 20%, transparent 21%); }
.icon-continuum { --icon-bg: #DCD9D2; --icon-fg: #5E5B55; --icon-pattern: repeating-linear-gradient(135deg, rgba(94,91,85,0.08) 0 5px, transparent 5px 10px); }
.icon-progress { --icon-bg: #D5D9D4; --icon-fg: #4E554F; --icon-pattern: linear-gradient(0deg, rgba(78,85,79,0.18) 0 25%, transparent 25%); }

.store-footer {
    width: min(100%, calc(var(--max) + (var(--page-pad) * 2)));
    margin: 0 auto;
    padding: 34px var(--page-pad) 44px;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 24px;
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}
.store-footer p { margin: 0; text-align: center; }
.footer-brand { font-family: "Cinzel", serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.store-footer nav { display: flex; justify-content: flex-end; gap: 20px; }
.store-footer nav a { text-decoration-thickness: 1px; text-underline-offset: 4px; }

.product-dialog {
    width: min(720px, calc(100% - 32px));
    max-height: min(850px, calc(100vh - 34px));
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 35px 100px rgba(21, 20, 19, 0.25);
}
.product-dialog::backdrop { background: rgba(21, 20, 19, 0.45); backdrop-filter: blur(3px); }
.dialog-panel { position: relative; max-height: inherit; overflow-y: auto; padding: 34px; }
.dialog-close {
    position: sticky;
    z-index: 3;
    top: 0;
    float: right;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin: -12px -12px 0 12px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    font-size: 27px;
    line-height: 1;
}
.dialog-hero { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 22px; align-items: center; padding-right: 44px; }
.dialog-hero .product-icon { width: 104px; height: 104px; font-size: 34px; }
.dialog-parent { margin-bottom: 5px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.dialog-hero h2 { margin-bottom: 9px; font-size: 34px; line-height: 1; letter-spacing: -0.04em; }
.dialog-summary { margin: 24px 0; color: #46433F; font-size: 17px; line-height: 1.55; }
.dialog-meta { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 27px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dialog-meta > div { min-width: 0; padding: 15px 12px 15px 0; }
.dialog-meta > div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.meta-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 8px; }
.dialog-meta strong { display: block; overflow-wrap: anywhere; font-size: 12px; line-height: 1.25; }
.dialog-preview { overflow: hidden; height: 285px; margin-bottom: 26px; border-radius: 18px; background: #EEEAE2; }
.dialog-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.dialog-status-note { padding: 18px; border-left: 3px solid var(--red); background: var(--base); }
.dialog-status-note h3 { margin-bottom: 6px; font-size: 14px; }
.dialog-status-note p { margin: 0; color: var(--muted); font-size: 13px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.dialog-action {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 19px;
    border: 1px solid var(--red);
    border-radius: 12px;
    background: var(--red);
    color: white;
    font-weight: 600;
    text-decoration: none;
}
.dialog-action--disabled { border-color: var(--line); background: #ECE9E3; color: var(--disabled); cursor: not-allowed; }
.dialog-action--secondary { border-color: var(--ink); background: transparent; color: var(--ink); }
.icon-note { align-self: center; color: var(--muted); font-size: 8px; }
.related-products { margin-top: 30px; }
.related-products h3 { font-size: 14px; }
.related-list { display: flex; gap: 11px; overflow-x: auto; padding: 2px 2px 8px; }
.related-button { flex: 0 0 112px; padding: 10px; border: 1px solid var(--line-soft); border-radius: 13px; background: var(--base); text-align: left; }
.related-button .product-icon { width: 44px; height: 44px; margin-bottom: 7px; }
.related-button span { display: block; font-size: 11px; font-weight: 600; line-height: 1.15; }

@media (max-width: 1023px) {
    :root { --page-pad: 28px; }
    .store-header { grid-template-columns: 1fr auto; }
    .page-identity { grid-column: 1 / -1; grid-row: 2; text-align: left; }
    .search-field--desktop { grid-column: 2; grid-row: 1; }
    .buzz-feature { grid-template-columns: 0.8fr 1.2fr; gap: 28px; padding: 36px; }
    .charts-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
    .chart { flex: 0 0 min(420px, 78vw); scroll-snap-align: start; }
    .chart + .chart { border-left: 1px solid var(--line); }
}

@media (max-width: 767px) {
    :root { --page-pad: 16px; }
    .store-header { padding-top: 18px; padding-bottom: 18px; grid-template-columns: 1fr auto; gap: 16px; }
    .brand span { display: none; }
    .page-identity { grid-column: 2; grid-row: 1; text-align: right; }
    .page-kicker { display: none; }
    h1 { font-size: 19px; }
    .search-field--desktop { display: none; }
    main { padding-top: 18px; padding-bottom: 64px; }
    .search-field--mobile { display: flex; margin-bottom: 18px; }
    section + section { margin-top: 60px; }
    .buzz-feature { min-height: 0; grid-template-columns: 1fr; padding: 28px 22px; border-radius: 22px; }
    .buzz-copy h2 { font-size: 44px; }
    .buzz-icons { display: flex; gap: 15px; overflow-x: auto; margin-right: -22px; padding-right: 22px; }
    .collection-product { flex: 0 0 92px; }
    .collection-product .product-icon { width: 66px; height: 66px; }
    .section-heading { align-items: flex-start; }
    .section-heading > p { display: none; }
    .section-heading h2 { font-size: 34px; }
    .charts-grid { margin-right: -16px; border-right: 0; border-radius: 18px 0 0 18px; }
    .chart { flex-basis: calc(100vw - 52px); padding: 20px; }
    .store-tabs { gap: 16px; }
    .store-tab { padding-bottom: 16px; }
    .store-tab-title { font-size: 30px; }
    .browse-tools { align-items: stretch; }
    .sort-field > span { display: none; }
    .filter-menu summary, .sort-field select { min-height: 44px; }
    .filter-panel { position: fixed; z-index: 30; top: auto; right: 16px; bottom: 16px; left: 16px; width: auto; max-height: calc(100vh - 32px); overflow-y: auto; grid-template-columns: 1fr; border-radius: 20px; }
    .filter-panel fieldset, .clear-filters { grid-column: 1; }
    .product-directory { grid-template-columns: 1fr; }
    .product-row { min-height: 126px; grid-template-columns: 66px minmax(0, 1fr); padding: 16px; }
    .product-row .product-icon { width: 66px; height: 66px; }
    .product-signals { grid-column: 1 / -1; width: 100%; min-width: 0; flex-direction: row; justify-content: space-between; align-items: center; padding-top: 11px; border-top: 1px solid var(--line-soft); }
    .build-block { display: flex; align-items: baseline; gap: 7px; }
    .build-label { margin: 0; }
    .discovery-section + .lab-section { margin-top: 60px; }
    .lab-section { padding: 0 18px; margin-right: -2px; margin-left: -2px; }
    .lab-section[open] { padding-bottom: 18px; }
    .lab-toggle { min-height: 84px; }
    .lab-toggle h2 { font-size: 34px; }
    .lab-grid { grid-template-columns: 1fr; }
    .lab-card { grid-template-columns: 68px minmax(0, 1fr); }
    .lab-card .product-icon { width: 68px; height: 68px; }
    .store-footer { grid-template-columns: 1fr; text-align: center; }
    .store-footer p { text-align: center; }
    .store-footer nav { justify-content: center; }
    .product-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; border-radius: 0; }
    .dialog-panel { height: 100%; padding: 22px 18px 34px; }
    .dialog-close { top: 0; margin: -4px -2px 0 10px; }
    .dialog-hero { grid-template-columns: 82px minmax(0, 1fr); gap: 16px; padding-right: 0; }
    .dialog-hero .product-icon { width: 82px; height: 82px; font-size: 27px; }
    .dialog-hero h2 { font-size: 27px; }
    .dialog-summary { font-size: 16px; }
    .dialog-meta { grid-template-columns: repeat(2, 1fr); }
    .dialog-meta > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .dialog-meta > div:nth-child(4) { border-top: 1px solid var(--line); }
    .dialog-preview { height: 250px; }
    .dialog-actions { position: sticky; bottom: -34px; margin: 25px -18px -34px; padding: 14px 18px 20px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
    .product-row:hover { transform: none; }
}
