:root {
    --brand: #a9472d;
    --brand-2: #d27a43;
    --accent: #d59a48;
    --bg: #f3eadc;
    --surface: #fffaf2;
    --surface-2: #eadaca;
    --text: #2b211d;
    --muted: #74665d;
    --border: #d8c6b6;
    --grad: linear-gradient(135deg, #9f402b 0%, #cc7544 54%, #e2ad63 100%);
    --rail-width: 236px;
    --catalog-serif: Georgia, "Times New Roman", serif;
    --catalog-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 80% 8%, rgba(210, 122, 67, .15), transparent 29rem),
        radial-gradient(circle at 35% 72%, rgba(213, 154, 72, .11), transparent 34rem),
        var(--bg);
    font-family: var(--catalog-sans);
}

body::before {
    position: fixed;
    z-index: 20;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.sr-only {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.site-shell {
    min-height: 100vh;
}

.nav-rail {
    position: fixed;
    z-index: 30;
    inset: 0 auto 0 0;
    display: flex;
    width: var(--rail-width);
    flex-direction: column;
    padding: 30px 22px 24px;
    border-right: 1px solid rgba(92, 61, 44, .14);
    background: rgba(255, 249, 239, .76);
    box-shadow: 20px 0 70px rgba(78, 46, 29, .08);
    backdrop-filter: blur(24px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    width: max-content;
}

.brand-mark {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 13px;
    color: #fff9ef;
    background: var(--grad);
    box-shadow: 0 10px 24px rgba(147, 59, 35, .25);
    font: 700 1.25rem/1 var(--catalog-serif);
}

.brand-copy {
    letter-spacing: -.035em;
    font-size: 1.03rem;
}

.brand-copy strong {
    font-weight: 750;
}

.rail-links {
    display: grid;
    gap: 7px;
    margin-top: 72px;
}

.rail-links a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    color: #6c5c53;
    font-size: .9rem;
    font-weight: 650;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.rail-links a:hover {
    color: var(--brand);
    background: rgba(169, 71, 45, .07);
    transform: translateX(2px);
}

.rail-links a.active {
    color: #fffaf2;
    background: #342722;
    box-shadow: 0 13px 25px rgba(52, 39, 34, .19);
}

.rail-links svg {
    width: 20px;
    height: 20px;
}

.rail-note {
    margin-top: auto;
    padding: 18px;
    border: 1px solid rgba(169, 71, 45, .13);
    border-radius: 21px;
    background: linear-gradient(145deg, rgba(255,255,255,.58), rgba(222,190,157,.27));
}

.rail-note-label {
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .64rem;
    font-weight: 800;
}

.rail-note p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.55;
}

.rail-account {
    margin-top: 16px;
}

.account-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px;
    border-radius: 16px;
    transition: background .2s ease;
}

.account-link:hover {
    background: rgba(255,255,255,.55);
}

.avatar {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 50%;
    color: var(--brand);
    background: #ead7c4;
    font-weight: 800;
}

.avatar svg {
    width: 18px;
}

.account-link small,
.account-link strong {
    display: block;
}

.account-link small {
    margin-bottom: 2px;
    color: var(--muted);
    font-size: .65rem;
}

.account-link strong {
    overflow: hidden;
    max-width: 128px;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .76rem;
}

.catalog-main {
    min-width: 0;
    margin-left: var(--rail-width);
}

.mobile-header {
    display: none;
}

.catalog-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 600px;
    grid-template-columns: minmax(0, 1.45fr) minmax(240px