/* ============================================================
   Jorvik Software — Shared Stylesheet
   ============================================================ */

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Variables */
:root {
    --bg-primary: #f7f7f5;
    --bg-secondary: #efefed;
    --bg-card: #ffffff;
    --bg-card-hover: #fafaf9;
    --border: #e2e2de;
    --border-hover: #d0d0ca;
    --text-primary: #1a1a1a;
    --text-secondary: #5c5c5c;
    --text-muted: #8a8a8a;

    --brand: #004080;
    --brand-soft: rgba(0, 64, 128, 0.08);
    --brand-glow: rgba(0, 64, 128, 0.15);

    --accent: var(--brand);
    --accent-soft: var(--brand-soft);
    --accent-glow: var(--brand-glow);

    --green: #059669;
    --green-soft: rgba(5, 150, 105, 0.08);
    --amber: #b45309;
    --amber-soft: rgba(180, 83, 9, 0.08);
    --rose: #e11d48;
    --rose-soft: rgba(225, 29, 72, 0.08);
}

/* Base */
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   Navigation
   ============================================================ */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(247, 247, 245, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
nav .nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    height: 64px; display: flex; align-items: center; justify-content: space-between;
}
nav .logo {
    font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em;
    color: var(--text-primary); text-decoration: none;
}
nav .logo span { color: var(--accent); }
nav .nav-links { display: flex; gap: 2rem; list-style: none; }
nav .nav-links a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.875rem; font-weight: 500; transition: color 0.2s;
}
nav .nav-links a:hover { color: var(--text-primary); }

/* Hamburger toggle — hidden on desktop */
nav .nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 0.5rem; margin-right: -0.5rem;
}
nav .nav-toggle svg { width: 22px; height: 22px; stroke: var(--text-primary); }

/* ============================================================
   Page Header (product & content pages)
   ============================================================ */
.page-header {
    max-width: 800px; margin: 0 auto;
    padding: 7rem 2rem 3rem; text-align: center;
}
.page-header .app-icon {
    width: 128px; height: 128px; border-radius: 28px; overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}
.page-header .app-icon img { width: 100%; height: 100%; object-fit: cover; }
.page-header .game-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
    letter-spacing: -0.03em; margin-bottom: 0.75rem;
}
.page-header .subtitle {
    font-size: 1.1rem; color: var(--text-secondary); font-weight: 300;
    max-width: 600px; margin: 0 auto 2rem; line-height: 1.7;
}
.page-header .tags { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Tags
   ============================================================ */
.tag {
    font-size: 0.7rem; font-weight: 500; padding: 0.25rem 0.625rem;
    border-radius: 100px; background: var(--bg-secondary);
    color: var(--text-muted); border: 1px solid var(--border);
}
.tag.brand { color: var(--brand); background: var(--brand-soft); border-color: transparent; }
.tag.amber { color: var(--amber); background: var(--amber-soft); border-color: transparent; }

/* ============================================================
   Buttons
   ============================================================ */
.btn-row {
    display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
    margin-top: 2rem;
}
.install-hint {
    margin-top: 1rem; text-align: center;
    font-size: 0.85rem; color: var(--text-muted); line-height: 1.5;
    max-width: 520px; margin-left: auto; margin-right: auto;
}
.install-hint a { color: var(--text-secondary); }
.install-hint code {
    font-size: 0.8rem; padding: 0.1rem 0.35rem;
    background: var(--bg-secondary); border-radius: 4px;
}
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--brand); color: #fff; border: none; border-radius: 12px;
    font-family: inherit; font-size: 1rem; font-weight: 600;
    text-decoration: none; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(0, 64, 128, 0.25);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0, 64, 128, 0.35); }
.btn.secondary {
    background: var(--bg-card); color: var(--text-primary);
    border: 1px solid var(--border); box-shadow: none;
}
.btn.secondary:hover { border-color: var(--border-hover); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); }

/* Game play button (same as .btn but used in game pages) */
.play-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-top: 2rem; padding: 0.875rem 2rem;
    background: var(--brand); color: #fff; border: none; border-radius: 12px;
    font-family: inherit; font-size: 1rem; font-weight: 600;
    text-decoration: none; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(0, 64, 128, 0.25);
}
.play-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0, 64, 128, 0.35); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-top: 2rem; padding: 0.875rem 2rem;
    background: var(--bg-card); color: var(--text-primary);
    border: 1px solid var(--border); border-radius: 12px;
    font-family: inherit; font-size: 1rem; font-weight: 600;
    text-decoration: none; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s; box-shadow: none;
}
.btn-secondary:hover { transform: translateY(-1px); border-color: var(--border-hover); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); }

/* ============================================================
   Content Sections
   ============================================================ */
.content { max-width: 800px; margin: 0 auto; padding: 0 2rem 4rem; }

.section { margin-bottom: 3rem; }
.section h2 {
    font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em;
    margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border);
}
.section h3 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.section p { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.8; }
.section ul, .section ol { color: var(--text-secondary); margin-left: 1.25rem; margin-bottom: 1rem; }
.section li { margin-bottom: 0.375rem; }
.section strong { color: var(--text-primary); }
.section code {
    font-size: 0.85em; background: var(--bg-secondary); padding: 0.15em 0.4em;
    border-radius: 4px; font-family: 'SF Mono', Menlo, monospace;
}
.section a:not([class*="btn"]):not([class*="cta"]):not([class*="play"]) { color: var(--brand); }

/* Arrow rotation helpers */
.arrow { display: inline-block; }
.arrow-left  { transform: rotate(-90deg); }
.arrow-right { transform: rotate(90deg); }
.arrow-down { transform: rotate(180deg); }

/* Keyboard key indicators */
.kbd, .section .kbd, .note-body .kbd {
    display: inline-block; font-family: 'SF Mono', Menlo, monospace;
    font-size: 0.8em; background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: 4px; padding: 0.1em 0.4em; box-shadow: 0 1px 0 var(--border);
}

/* ============================================================
   Tables
   ============================================================ */
table {
    width: 100%; border-collapse: collapse; margin-bottom: 1.5rem;
    font-size: 0.875rem;
}
th {
    text-align: left; font-weight: 600; padding: 0.625rem 0.75rem;
    border-bottom: 2px solid var(--border); color: var(--text-primary);
}
td {
    padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}
tr:last-child td { border-bottom: none; }

/* ============================================================
   History Box (game pages)
   ============================================================ */
.history-box {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    padding: 2rem; margin-bottom: 2rem;
}
.history-box p { color: var(--text-secondary); margin-bottom: 0.75rem; }
.history-box p:last-child { margin-bottom: 0; }

/* Monospace diagram boxes */
.diagram, .click-tree {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
    padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;
    font-family: 'SF Mono', Menlo, monospace; font-size: 0.8rem;
    color: var(--text-secondary); line-height: 1.8; white-space: pre;
}

/* In-content screenshots — used on product pages.
   Rounded corners + soft drop shadow so screenshots read as
   "objects on the page" rather than raw bitmaps welded to the text. */
.screenshot {
    display: block; max-width: 100%; height: auto;
    margin: 1.5rem auto; border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.05);
}
.screenshot.three-quarter { max-width: 75%; }

/* Disclaimer (game pages) */
.disclaimer {
    max-width: 800px; margin: 0 auto; padding: 0 2rem 2rem;
    font-size: 0.8rem; color: var(--text-muted); line-height: 1.7;
}

/* ============================================================
   Divider & Footer
   ============================================================ */
.divider { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
.divider.wide { max-width: 1200px; }
.divider hr { border: none; border-top: 1px solid var(--border); }

footer {
    max-width: 800px; margin: 0 auto; padding: 3rem 2rem 4rem;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-muted); font-size: 0.825rem;
}
footer.wide { max-width: 1200px; }
footer .footer-brand { font-weight: 600; color: var(--text-secondary); }
footer .footer-contact { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
footer .footer-contact:hover { color: var(--text-secondary); }

/* Donate CTA (homepage) */
.donate-cta {
    max-width: 1200px; margin: 0 auto; padding: 2rem 2rem 3rem; text-align: center;
}
.donate-cta p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.donate-cta-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.625rem 1.5rem; background: var(--brand); color: #fff;
    border-radius: 10px; font-family: inherit; font-size: 0.875rem; font-weight: 600;
    text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(0, 64, 128, 0.2);
}
.donate-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0, 64, 128, 0.3); }

/* ============================================================
   Responsive
   ============================================================ */
/* ============================================================
   Notes (blog)
   ============================================================ */
.note-content { padding-top: 7rem; }
.note-header { margin-bottom: 2.5rem; }
.note-header time {
    font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.04em;
}
.note-header h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700;
    letter-spacing: -0.03em; margin-top: 0.5rem; line-height: 1.25;
}
.note-body pre {
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: 8px; padding: 1rem 1.25rem; overflow-x: auto;
    font-family: 'SF Mono', Menlo, monospace; font-size: 0.825rem;
    line-height: 1.7; margin-bottom: 1.5rem;
}
.note-body pre code {
    background: none; padding: 0; border-radius: 0; font-size: inherit;
}
.note-body blockquote {
    border-left: 3px solid var(--brand); padding-left: 1.25rem;
    margin: 1.5rem 0; color: var(--text-secondary); font-style: italic;
}
/* Lock span — prevents line breaks within the wrapped text */
.lock {
    white-space: nowrap;
}
/* Abbreviation tooltips — CSS tooltip from data-title (native title removed by JS to prevent double tooltip) */
.note-body abbr[data-title] {
    text-decoration: underline dotted;
    text-decoration-color: var(--text-secondary);
    text-underline-offset: 2px;
    cursor: help;
    position: relative;
}
.note-body abbr[data-title]:hover::after {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
}

.note-body h2 { margin-top: 2.5rem; }
.note-body img {
    max-width: 100%; height: auto; border-radius: 8px;
    margin: 1.5rem 0; display: block;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.note-body .note-deprecated {
    background-color: var(--rose-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
    border: 1px solid var(--rose);
    border-radius: 8px;
    padding: 1.25rem;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
}
.note-nav {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; margin-top: 3rem; padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.note-nav:has(.note-page-num) {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
}
.note-nav:has(.note-page-num) > :first-child { text-align: left; }
.note-nav:has(.note-page-num) > :nth-child(2) { text-align: center; }
.note-nav:has(.note-page-num) > :last-child { text-align: right; }
.note-nav-link {
    font-size: 0.875rem; font-weight: 500; color: var(--brand);
    text-decoration: none; transition: color 0.2s; max-width: 45%;
}
.note-nav:has(.note-page-num) .note-nav-link { max-width: none; }
.note-nav-link:hover { color: var(--text-primary); }
.note-nav-link.next { text-align: right; }
.note-page-num { font-size: 0.8rem; color: var(--text-muted); }

/* Notes index */
.note-list { list-style: none; margin: 0; padding: 0; }
.note-item { border-bottom: 1px solid var(--border); }
.note-item:last-child { border-bottom: none; }

/* Whole-row anchor: click anywhere on the item to open the post.
   Subtle bg-card highlight on hover; title warms to antique gold,
   matching the home-page's recent-notes block. */
.note-row-link {
    display: block;
    padding: 1.75rem 1.5rem;
    margin: 0 -1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}
.note-row-link:hover { background: var(--bg-card); }

.note-item time {
    font-size: 0.775rem; font-weight: 500; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.04em;
}
.note-item h2 {
    font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em;
    margin: 0.25rem 0 0.5rem;
    color: var(--text-primary); transition: color 0.2s;
}
.note-row-link:hover h2 { color: #A87C25; }
.note-item p {
    color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    nav .nav-inner { padding: 0 1rem; flex-wrap: wrap; height: auto; min-height: 64px; }

    nav .nav-toggle { display: block; }

    nav .nav-links {
        display: none; flex-direction: column; gap: 0;
        width: 100%; padding-bottom: 0.75rem;
    }
    nav .nav-links.open { display: flex; }
    nav .nav-links li { width: 100%; }
    nav .nav-links a {
        display: block; padding: 0.625rem 0; font-size: 0.9rem;
        border-top: 1px solid var(--border);
    }

    .page-header { padding: 6rem 1.25rem 2rem; }
    .page-header .app-icon { width: 96px; height: 96px; border-radius: 22px; }

    .content { padding: 0 1.25rem 3rem; }

    table { font-size: 0.8rem; }
    th, td { padding: 0.375rem 0.5rem; }

    .btn-row { flex-direction: column; align-items: center; }
    .diagram, .click-tree { font-size: 0.7rem; overflow-x: auto; }

    .note-content { padding-top: 6rem; }
    .note-nav { flex-direction: column; }
    .note-nav-link { max-width: 100%; }
    .note-nav-link.next { text-align: left; }
    .note-nav:has(.note-page-num) { grid-template-columns: 1fr; text-align: center; }
    .note-nav:has(.note-page-num) > :first-child,
    .note-nav:has(.note-page-num) > :last-child { text-align: center; }

    footer {
        flex-direction: column; gap: 0.75rem; text-align: center;
    }
}

/* ── Blog image styles ──────────────────────────────────────────────────── */

.photo-frame { display: block; max-width: 100%; margin: 1.5rem 0; }
.photo-frame img {
    display: block; width: 100%; height: auto;
    box-sizing: border-box;
    border: 8px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.25);
    border-radius: 8px;
}

.full-width { display: block; max-width: 100%; margin: 2rem 0; }
.full-width img { display: block; width: 100%; height: auto; border-radius: 6px; }

.float-left { float: left; max-width: 45%; margin: 0.5rem 1.5rem 1rem 0; }
.float-left img { display: block; width: 100%; height: auto; border-radius: 6px; }

.float-right { float: right; max-width: 45%; margin: 0.5rem 0 1rem 1.5rem; }
.float-right img { display: block; width: 100%; height: auto; border-radius: 6px; }

/* Centred, undecorated — graphics/diagrams that shouldn't carry the photo
   frame's border + shadow. Width is set per image (inline style or width
   attribute); the class only centres. Works as a wrapper div or on the img. */
.image-center { display: block; margin: 1.5rem auto; text-align: center; }
.image-center img { display: inline-block; max-width: 100%; height: auto; }
img.image-center { display: block; max-width: 100%; height: auto; margin: 1.5rem auto; }

/* Clear floats after floated images */
.section::after { content: ""; display: table; clear: both; }

p.image-caption { font-size: small; text-align: center; position: relative; top: -1em; }

/* Anchor offset for fixed nav (content pages — homepage has its own scroll-margin on product cards) */
.content [id], .footnotes [id] { scroll-margin-top: 5rem; }

/* Screen-reader only (used by footnote heading) */
.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 !important; }

/* Footnotes */
.footnotes, section.footnotes { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted); }
.footnotes h2, section.footnotes h2 { display: none; }
.footnotes ol, section.footnotes ol { padding-left: 1.25rem; }
.footnotes li, section.footnotes li { margin-bottom: 0.35rem; }
.footnotes li p, section.footnotes li p { margin: 0; display: inline; }
[data-footnote-ref] {
    display: inline-block; font-size: 0.75rem; vertical-align: baseline;
    color: var(--brand); text-decoration: none; font-weight: 600;
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: 4px; padding: 0 0.1em; line-height: 1em; margin-left: 0.15em;
    position: relative; top: -0.3em;
}
[data-footnote-ref]:hover { background: var(--border); }
[data-footnote-backref] {
    text-decoration: none; color: var(--brand);
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: 4px; padding: 0.05em 0.35em; margin-left: 0.25em;
    font-size: 0.85em;
}
[data-footnote-backref]:hover { background: var(--border); }

/* ─── Shared section / product-grid styles ──────────────────────────────────
 * Used by the homepage's category sections AND by /<category>/index.html
 * pages (apps, utilities, screensavers, games). Originally lived inline in
 * index.html; promoted here so the index pages don't have to duplicate them.
 */
section { max-width: 1200px; margin: 0 auto; padding: 6rem 2rem; }
.section-header { margin-bottom: 3.5rem; }
.section-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 1rem; padding: 0.375rem 0.875rem;
    border-radius: 100px;
}
.section-label.utilities { color: var(--accent); background: var(--accent-soft); }
.section-label.apps { color: var(--rose); background: var(--rose-soft); }
.section-label.screensavers { color: var(--green); background: var(--green-soft); }
.section-label.games { color: var(--amber); background: var(--amber-soft); }
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700;
    letter-spacing: -0.03em; margin-bottom: 0.75rem;
}
.section-desc { color: var(--text-secondary); font-size: 1.05rem; max-width: 560px; font-weight: 300; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.25rem; }
.product-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    padding: 1.75rem; transition: all 0.3s ease; display: flex; gap: 1.25rem;
    align-items: flex-start; position: relative; overflow: hidden;
}
.ribbon {
    position: absolute; bottom: 28px; left: -85px; width: 240px; text-align: center;
    background: var(--brand); color: #fff; font-size: 0.6rem; font-weight: 600;
    letter-spacing: 0.1em; line-height: 1; padding: 0.28rem 0;
    transform: rotate(45deg) translateY(1px); transform-origin: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12); pointer-events: none;
}
.product-card:hover {
    background: var(--bg-card-hover); border-color: var(--border-hover);
    transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
a.product-card { text-decoration: none; color: inherit; cursor: pointer; }
.product-card[id] { scroll-margin-top: 80px; }
.product-icon {
    width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.03);
}
.product-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.product-icon.placeholder { font-size: 1.75rem; background: var(--bg-secondary); border: 1px solid var(--border); }
.product-info { flex: 1; min-width: 0; }
.product-name { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.375rem; letter-spacing: -0.01em; }
.product-meta {
    display: inline-block; background: var(--brand); color: #fff;
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.02em;
    padding: 0.25rem 0.55rem; border-radius: 6px; margin-bottom: 0.875rem;
    font-variant-numeric: tabular-nums; opacity: 0.75;
}
.product-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.75rem; }
.product-tags { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.product-tag {
    font-size: 0.7rem; font-weight: 500; padding: 0.25rem 0.625rem;
    border-radius: 100px; background: var(--bg-secondary); color: var(--text-muted);
    border: 1px solid var(--border);
}
