/* =====================================================================
   Nagyker Webshop — Design System
   Self-contained, no external fonts/CDN. System font stack.
   ===================================================================== */

:root {
    /* Brand */
    --brand:        #4f46e5;
    --brand-600:    #4338ca;
    --brand-700:    #3730a3;
    --brand-soft:   #eef2ff;
    --accent:       #06b6d4;

    /* Neutrals */
    --bg:           #f6f7fb;
    --surface:      #ffffff;
    --surface-2:    #f9fafb;
    --border:       #e5e7eb;
    --border-2:     #eceef2;
    --text:         #111827;
    --text-2:       #4b5563;
    --text-3:       #9ca3af;

    /* Status */
    --ok:           #16a34a;
    --ok-soft:      #dcfce7;
    --warn:         #d97706;
    --warn-soft:    #fef3c7;
    --danger:       #dc2626;
    --danger-soft:  #fee2e2;
    --info:         #2563eb;
    --info-soft:    #dbeafe;

    /* Shape */
    --radius:       14px;
    --radius-sm:    9px;
    --radius-lg:    22px;
    --shadow-sm:    0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
    --shadow:       0 4px 12px rgba(16,24,40,.08);
    --shadow-lg:    0 18px 40px rgba(16,24,40,.14);
    --ring:         0 0 0 4px rgba(79,70,229,.16);

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --sidebar-w: 264px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { margin: 0 0 .4em; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 1.9rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
small { font-size: .82rem; }
.muted { color: var(--text-3); }
.text-2 { color: var(--text-2); }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 880px; }
.row { display: flex; gap: 20px; flex-wrap: wrap; }
.col { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 16px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.center { display: flex; align-items: center; gap: 10px; }
.grid { display: grid; gap: 20px; }
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}
.gap-sm{gap:8px}.w-full{width:100%}.text-right{text-align:right}.text-center{text-align:center}
.hidden{display:none}
.flex-1{flex:1}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: inherit; font-weight: 600; font-size: .93rem;
    padding: 11px 18px; border-radius: var(--radius-sm);
    border: 1px solid transparent; cursor: pointer; transition: .16s ease;
    background: var(--brand); color: #fff; white-space: nowrap; line-height: 1;
}
.btn:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface-2); color: var(--text); box-shadow: none; }
.btn--light { background: var(--brand-soft); color: var(--brand-700); }
.btn--light:hover { background: #e0e7ff; color: var(--brand-700); }
.btn--danger { background: var(--danger); }
.btn--danger:hover { background: #b91c1c; }
.btn--ok { background: var(--ok); }
.btn--ok:hover { background: #15803d; }
.btn--dark { background: var(--text); }
.btn--dark:hover { background: #000; }
.btn--sm { padding: 7px 12px; font-size: .82rem; }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- cards ---------- */
.card {
    background: var(--surface); border: 1px solid var(--border-2);
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.card__body { padding: 22px; }
.card__head { padding: 18px 22px; border-bottom: 1px solid var(--border-2); display:flex; align-items:center; justify-content:space-between; gap:12px; }
.card__head h3 { margin: 0; }

/* ---------- badges ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
    background: var(--surface-2); color: var(--text-2); line-height: 1.2; letter-spacing:.01em;
}
.badge--ok { background: var(--ok-soft); color: #166534; }
.badge--warn { background: var(--warn-soft); color: #92400e; }
.badge--danger { background: var(--danger-soft); color: #991b1b; }
.badge--info { background: var(--info-soft); color: #1e40af; }
.badge--muted { background: #f1f5f9; color: #475569; }
.badge--brand { background: var(--brand-soft); color: var(--brand-700); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field > label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 6px; color: var(--text-2); }
.input, .select, .textarea {
    width: 100%; font: inherit; font-size: .95rem; color: var(--text);
    padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: #fff; transition: .15s; appearance: none;
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.input--invalid { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .8rem; margin-top: 5px; }
.field__hint { color: var(--text-3); font-size: .8rem; margin-top: 5px; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.check { display: flex; align-items: center; gap: 9px; font-size:.9rem; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--brand); }
.input-group { display: flex; }
.input-group .input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* ---------- alerts ---------- */
.alert { display: flex; gap: 11px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 18px; border: 1px solid transparent; }
.alert svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.alert--ok { background: var(--ok-soft); color: #166534; border-color: #bbf7d0; }
.alert--error { background: var(--danger-soft); color: #991b1b; border-color: #fecaca; }
.alert--warn { background: var(--warn-soft); color: #92400e; border-color: #fde68a; }
.alert--info { background: var(--info-soft); color: #1e40af; border-color: #bfdbfe; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border-2); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th { text-align: left; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); font-weight: 700; padding: 13px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--border-2); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--surface-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- public navbar ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border-2); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: var(--text); letter-spacing: -.02em; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--accent)); display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: var(--shadow-sm); }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__links a { padding: 8px 13px; border-radius: 8px; color: var(--text-2); font-weight: 600; font-size: .92rem; }
.nav__links a:hover, .nav__links a.active { background: var(--surface-2); color: var(--text); }
.nav__spacer { flex: 1; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; }
.cart-btn .count { position: absolute; top: -6px; right: -6px; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }
.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

/* ---------- avatar / dropdown ---------- */
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-700); display: grid; place-items: center; font-weight: 700; cursor: pointer; }
.dropdown { position: relative; }
.dropdown__menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); min-width: 210px; padding: 6px; z-index: 50; display: none; }
.dropdown.open .dropdown__menu { display: block; }
.dropdown__menu a, .dropdown__menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 11px; border-radius: 8px; color: var(--text-2); font-size: .9rem; font-weight: 500; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; }
.dropdown__menu a:hover, .dropdown__menu button:hover { background: var(--surface-2); color: var(--text); }
.dropdown__divider { height: 1px; background: var(--border-2); margin: 6px 0; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(135deg, #eef2ff 0%, #f6f7fb 55%, #ecfeff 100%); border-bottom: 1px solid var(--border-2); }
.hero__inner { padding: 54px 0; }
.hero h1 { font-size: 2.5rem; max-width: 640px; }
.hero p { font-size: 1.1rem; color: var(--text-2); max-width: 560px; }

/* ---------- product grid ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.pcard { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .18s; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--border); }
.pcard__img { aspect-ratio: 1/1; background: var(--surface-2); position: relative; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__tag { position: absolute; top: 10px; left: 10px; }
.pcard__body { padding: 15px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__name { font-weight: 700; font-size: .98rem; color: var(--text); line-height: 1.3; }
.pcard__sku { font-size: .76rem; color: var(--text-3); }
.pcard__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { font-size: 1.22rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.price small { font-weight: 600; color: var(--text-3); font-size: .72rem; display: block; }
.price--list { text-decoration: line-through; color: var(--text-3); font-size: .85rem; font-weight: 600; }
.locked-note { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-3); font-weight: 600; background: var(--surface-2); padding: 7px 11px; border-radius: 8px; }

/* ---------- qty stepper ---------- */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty button { width: 34px; height: 38px; border: none; background: var(--surface-2); cursor: pointer; font-size: 1.1rem; color: var(--text-2); }
.qty button:hover { background: var(--border-2); color: var(--text); }
.qty input { width: 48px; height: 38px; border: none; text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- filter chips ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .85rem; font-weight: 600; color: var(--text-2); cursor: pointer; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(17,24,39,.55); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 480px; overflow: hidden; animation: pop .18s ease; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal__head { padding: 20px 24px; border-bottom: 1px solid var(--border-2); display: flex; align-items: center; justify-content: space-between; }
.modal__head h3 { margin: 0; }
.modal__body { padding: 24px; }
.modal__foot { padding: 16px 24px; border-top: 1px solid var(--border-2); display: flex; justify-content: flex-end; gap: 10px; }
.modal__x { background: none; border: none; cursor: pointer; color: var(--text-3); padding: 4px; border-radius: 6px; }
.modal__x:hover { background: var(--surface-2); color: var(--text); }

/* ---------- auth pages ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { background: linear-gradient(150deg, var(--brand-700), var(--brand) 55%, var(--accent)); color: #fff; padding: 56px 52px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-aside::after { content:""; position:absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.08); bottom: -120px; right: -120px; }
.auth-aside h2 { color: #fff; font-size: 2rem; max-width: 420px; }
.auth-aside p { color: rgba(255,255,255,.82); max-width: 400px; }
.auth-feature { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.auth-feature svg { flex: none; width: 22px; height: 22px; opacity: .9; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .brand { margin-bottom: 28px; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-aside { display: none; } }

/* ---------- admin shell ---------- */
.admin { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.sidebar { background: #0f1729; color: #cbd5e1; padding: 20px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { color: #fff; margin-bottom: 26px; padding: 0 8px; }
.sidebar__group { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; font-weight: 700; padding: 16px 12px 8px; }
.sidebar a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 9px; color: #cbd5e1; font-weight: 500; font-size: .92rem; margin-bottom: 2px; }
.sidebar a svg { width: 19px; height: 19px; opacity: .8; }
.sidebar a:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar a.active { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.sidebar a.active svg { opacity: 1; }
.sidebar .pill { margin-left: auto; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.admin__main { min-width: 0; background: var(--bg); }
/* Mobile sidebar backdrop — MUST be out of grid flow so it never takes a grid cell
   (otherwise it consumes column 2 on desktop and pushes content under the sidebar). */
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 55; display: none; }
.backdrop.show { display: block; }
.topbar { height: 66px; background: var(--surface); border-bottom: 1px solid var(--border-2); display: flex; align-items: center; gap: 16px; padding: 0 26px; position: sticky; top: 0; z-index: 30; }
.topbar h1 { font-size: 1.15rem; margin: 0; }
.admin__content { padding: 26px; }

/* ---------- stat cards ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.stat__icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; background: var(--brand-soft); color: var(--brand); }
.stat__icon svg { width: 22px; height: 22px; }
.stat__val { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.stat__label { color: var(--text-3); font-size: .85rem; font-weight: 600; }
.stat--ok .stat__icon { background: var(--ok-soft); color: var(--ok); }
.stat--warn .stat__icon { background: var(--warn-soft); color: var(--warn); }
.stat--info .stat__icon { background: var(--info-soft); color: var(--info); }

/* ---------- page header ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--text-3); margin-bottom: 6px; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- empty state ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--text-3); }
.empty svg { width: 56px; height: 56px; opacity: .5; margin-bottom: 14px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border-2); background: var(--surface); margin-top: 60px; }
.footer__inner { padding: 30px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--text-3); font-size: .88rem; }

/* ---------- vertical light nav (portal) ---------- */
.vnav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 9px; color: var(--text-2); font-weight: 600; font-size: .92rem; margin-bottom: 2px; }
.vnav a svg { width: 19px; height: 19px; opacity: .7; }
.vnav a:hover { background: var(--surface-2); color: var(--text); }
.vnav a.active { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.vnav a.active svg { opacity: 1; }

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--border-2); margin: 20px 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.tabs a { padding: 11px 16px; font-weight: 600; color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--brand); border-color: var(--brand); }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; font-size: .92rem; }
.kv dt { color: var(--text-3); font-weight: 600; }
.kv dd { margin: 0; font-weight: 500; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 26px; }
.pagination a, .pagination span { padding: 8px 13px; border-radius: 8px; border: 1px solid var(--border); font-weight: 600; font-size: .88rem; color: var(--text-2); }
.pagination .active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- legal / prose ---------- */
.prose { max-width: 820px; color: var(--text-2); line-height: 1.7; }
.prose h1 { color: var(--text); font-size: 1.9rem; margin-bottom: 8px; }
.prose h2 { color: var(--text); font-size: 1.25rem; margin: 28px 0 10px; padding-top: 10px; }
.prose h3 { color: var(--text); font-size: 1.05rem; margin: 20px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; font-size: .9rem; }
.prose th { background: var(--surface-2); }
.prose a { text-decoration: underline; }
.legal-toc { position: sticky; top: 84px; }
.legal-toc a { display: block; padding: 5px 10px; border-radius: 7px; color: var(--text-2); font-size: .88rem; }
.legal-toc a:hover { background: var(--surface-2); color: var(--text); }
.doc-updated { display: inline-block; background: var(--surface-2); color: var(--text-3); font-size: .8rem; padding: 4px 10px; border-radius: 6px; margin-bottom: 18px; }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; background: #0f1729; color: #e5e7eb; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.cookie-banner p { margin: 0; font-size: .9rem; flex: 1 1 320px; }
.cookie-banner a { color: #a5b4fc; }
.cookie-banner .actions { display: flex; gap: 10px; flex: none; }

/* ---------- language switch ---------- */
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.lang-switch a { padding: 6px 10px; font-size: .8rem; font-weight: 700; color: var(--text-3); background: var(--surface); }
.lang-switch a.active { background: var(--brand); color: #fff; }
.lang-switch a + a { border-left: 1px solid var(--border); }

/* ---------- movement / finance amount ---------- */
.amt-pos { color: var(--ok); font-weight: 700; }
.amt-neg { color: var(--danger); font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .admin { grid-template-columns: 1fr; }
    .sidebar { position: fixed; left: 0; top: 0; width: 264px; z-index: 60; transform: translateX(-100%); transition: .22s; }
    .sidebar.open { transform: translateX(0); }
    .topbar .menu-toggle { display: inline-flex; }
}
@media (min-width: 981px) { .topbar .menu-toggle { display: none; } }
@media (max-width: 760px) {
    .nav__links { display: none; }
    .nav__burger { display: inline-flex; }
    .nav__links.open { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 20px; }
    .hero h1 { font-size: 1.9rem; }
    .kv { grid-template-columns: 1fr; gap: 2px 0; }
    .kv dd { margin-bottom: 10px; }
}
