/*
 * Netnyomda — új frontend (2026) alap-stíluslap.
 *
 * Keretrendszer nélkül (nincs Bootstrap), a design-terv értékeiből:
 * https://netnyomda.vcode.hu/Netnyomda_Teljes_Terv_-_Standalone.html
 *
 * Fejezetek:
 *   1. Betűtípusok          5. Gombok, címkék
 *   2. Tokenek              6. Űrlap
 *   3. Alapok               7. Komponensek (kártya, üzenet, morzsa, lapozó, harmonika)
 *   4. Elrendezés, címek    8. Fejléc, mega-menü, mobilmenü
 *                           9. Lábléc   10. Süti-sáv   11. Segédosztályok
 *
 * Töréspont: 760px (a terv mobil nézete ez alatt vált).
 * Az admin ezt a fájlt NEM tölti be.
 */

/* ── 1. Betűtípusok ──────────────────────────────────────────────────────────────────────────
 * Saját tárhelyről (front/fonts). A terv fő betűje az Alcyone (2026-10-28: a felhasználó a terv
 * csomagjából adta; a 800-as vastagság a terv szerint a Black). Tartalék a Poppins, latin +
 * latin-ext alkészlettel (ő, ű) — a terv is erre esik vissza.
 */
@font-face { font-family: 'Alcyone'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/alcyone-400.woff2') format('woff2'); }
@font-face { font-family: 'Alcyone'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/alcyone-500.woff2') format('woff2'); }
@font-face { font-family: 'Alcyone'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/alcyone-600.woff2') format('woff2'); }
@font-face { font-family: 'Alcyone'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/alcyone-700.woff2') format('woff2'); }
@font-face { font-family: 'Alcyone'; font-style: normal; font-weight: 800 900; font-display: swap; src: url('../fonts/alcyone-800.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-800-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── 2. Tokenek ─────────────────────────────────────────────────────────────────────────────── */
:root {
    /* Színek — a terv palettája */
    --ink: #1e2029;            /* címek, erős szöveg, sötét lábléc */
    --text: #32333c;           /* folyószöveg */
    --muted: #749cae;          /* másodlagos szöveg, ikonok */
    --line: #d3e4ee;           /* keretek */
    --line-soft: #eef4f7;      /* halvány elválasztó */
    --surface: #ffffff;
    --surface-soft: #eef4f7;   /* halvány kék háttér (chip, kereső, szekció) */
    --surface-tint: #f7fafc;
    --primary: #1a64ff;
    --primary-dark: #0043d2;   /* hover, link */
    --primary-rgb: 26, 100, 255;
    --navy: #001a53;           /* felső sáv, árnyék-alap */
    --navy-rgb: 0, 26, 83;
    --sky: #b2cfde;            /* szöveg sötét háttéren */
    --lime: #e1ff00;           /* kiemelő */
    --danger: #c1121f;
    --danger-soft: #fdecee;
    --success: #0f7b5f;
    --success-soft: #e6f5f0;

    /* Betűk */
    --font-sans: 'Alcyone', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

    /* Méretek */
    --wrap: 1440px;
    --gutter: clamp(20px, 4vw, 56px);
    --text-xs: 12.5px;
    --text-sm: 13.5px;
    --text-base: 15px;
    --text-md: 16.5px;
    --text-lg: 17px;

    /* Lekerekítés */
    --radius-sm: 12px;
    --radius: 14px;            /* mező */
    --radius-md: 20px;
    --radius-lg: 24px;         /* kártya */
    --radius-xl: 28px;         /* nagy doboz, mega-menü */
    --radius-pill: 999px;

    /* Árnyék */
    --shadow-sm: 0 8px 20px rgba(var(--navy-rgb), .08);
    --shadow: 0 10px 28px rgba(var(--navy-rgb), .10);
    --shadow-md: 0 16px 40px rgba(var(--navy-rgb), .10);
    --shadow-card: 0 24px 60px rgba(var(--navy-rgb), .08);
    --shadow-lg: 0 30px 60px rgba(var(--navy-rgb), .18);
    --focus: 0 0 0 4px rgba(var(--primary-rgb), .25);

    --ease: .25s ease;

    /* A ragadós fejléc magassága (a nav.js méri); a kategória-sáv ez alá tapad */
    --header-h: 91px;
}
@media (max-width: 760px) {
    /* a szélső margó a terv szerint mobilon is clamp(20px, 4vw, 56px) = 20 px (eddig 16 volt) */
    :root { --header-h: 113px; }
}

/* ── 3. Alapok ──────────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
/* A `hidden` attribútum mindig nyerjen (pl. egy `.btn { display: inline-flex }` ne írja felül). */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
/* Horgonyra ugrásnál a ragadós fejléc és a kategória-sáv ne takarja le a célt. */
html { scroll-padding-top: calc(var(--header-h) + 72px); }
@media (max-width: 760px) { html { scroll-padding-top: calc(var(--header-h) + 16px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    /* A terv nem ad alap-sormagasságot (normal ≈ 1,2 az Alcyone-nál): az egysoros elemek (menü, gomb,
       címke, cím) így olyan magasak, mint a terven; a folyószöveg (p) saját sormagasságot kap. */
    line-height: normal;
    color: var(--text);
    background: var(--surface);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
svg { flex: none; }
a { color: var(--primary-dark); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--primary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
button { font: inherit; color: inherit; }
.btn-reset { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
button.catnav-link { background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer; }
.footer-cookie-link { color: var(--sky); font-size: 13px; }
.footer-cookie-link:hover { color: #fff; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 32px 0; }
code, kbd, .mono { font-family: var(--font-mono); }
table { border-collapse: collapse; }
::selection { background: rgba(var(--primary-rgb), .18); }

/* ── 4. Elrendezés, címek ───────────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 1160px; }
.wrap-text { max-width: 820px; }
.sec { padding-top: 48px; padding-bottom: 48px; }
.sec-lg { padding-top: 88px; padding-bottom: 88px; }
.sec-soft { background: var(--surface-soft); }
@media (max-width: 760px) { .sec { padding-top: 32px; padding-bottom: 32px; } .sec-lg { padding-top: 56px; padding-bottom: 56px; } }

/* Rugalmas rács: az oszlopszámot a minimum szélesség adja (`--col-min`). */
.grid { display: grid; gap: var(--gap, 20px); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--col-min, 260px)), 1fr)); }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 12px); }

/* a terv címei sem kiegyensúlyozott tördelésűek (text-wrap: balance) — így ugyanott törnek */
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--ink); font-weight: 700; line-height: normal; }
h1, .h1 { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -.03em; }
h2, .h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.025em; }
h3, .h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; }
h4, .h4 { font-size: 19px; letter-spacing: -.01em; }
h5, .h5 { font-size: 16px; }
.display { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.title-xl { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
/* Folyószöveg: alapból 1,55 — nulla specificitással (:where), így minden saját sormagasság felülírja, a
   tartalomdobozokban (szerkesztői HTML) pedig a doboz sormagasságát öröklik. */
:where(p, dd, dt, blockquote, figcaption) { line-height: 1.55; }
:where(.rich-text, .page-content, .post-content, .page-card-body, .acc-body, .faq-a, .points-card, .points-cards, .lp-banner-text, .pm-text, .pm-text-only, .gfx-help, .bern-who-grid) :where(p, dd, dt, blockquote, figcaption) { line-height: inherit; }
p { margin: 0 0 1em; }
.lead { font-size: var(--text-lg); line-height: 1.6; color: var(--text); max-width: 560px; text-wrap: pretty; }
.lead-lg { font-size: 19px; line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: var(--text-sm); }

/* Kiemelt kis címke a cím fölött (főoldali hero, Tartalom 70) */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
    background: var(--surface-soft); color: var(--primary-dark);
    border-radius: var(--radius-pill); padding: 8px 18px;
    font-size: var(--text-sm); font-weight: 600;
}

/* Kis statisztika (nagy szám + felirat) */
.stat { display: flex; flex-direction: column; }
.stat-value { font-size: 24px; font-weight: 700; color: var(--ink); }
.stat-label { font-size: 14px; color: var(--muted); }

/* ── 5. Gombok, címkék ──────────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 22px; min-height: 46px;
    border: 1.5px solid transparent; border-radius: var(--radius-pill);
    font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
    white-space: nowrap; text-decoration: none; cursor: pointer;
    transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease);
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-soft { background: var(--surface-soft); color: var(--ink); }
.btn-soft:hover { background: var(--line); color: var(--ink); }
.btn-outline { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy); color: #fff; }
.btn-link { background: none; padding-left: 0; padding-right: 0; min-height: 0; color: var(--primary-dark); }
.btn-link:hover { color: var(--primary); }
.btn-sm { padding: 8px 16px; min-height: 38px; font-size: 14px; }
/* a terv méretei (keret nélkül 15/28 és 18/34 px belső margó → 49 és 56 px); a .btn 1,5 px-es kerete levonva */
.btn-md { min-height: 49px; padding: 13.5px 26.5px; font-size: 16px; }
.btn-lg { min-height: 56px; padding: 16.5px 32.5px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-icon { width: 44px; height: 44px; min-height: 0; padding: 0; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.btn-icon:hover { border-color: var(--primary); color: var(--primary-dark); }
@media (max-width: 760px) { .btn-lg { width: 100%; } }

/* Chip: kerek, halvány címke-gomb (gyorslinkek, szűrő-címkék) */
.chip {
    display: inline-flex; align-items: center; gap: 8px; flex: none;
    background: var(--surface-soft); color: var(--ink);
    border-radius: var(--radius-pill); padding: 9px 16px;
    font-size: 14px; font-weight: 600; line-height: 1.2;
    transition: background var(--ease);
}
a.chip:hover, button.chip:hover { background: var(--line); color: var(--ink); }
button.chip { border: 0; cursor: pointer; }
.chip.is-active { background: var(--primary); color: #fff; }

.badge {
    display: inline-flex; align-items: center; gap: 6px;
    border-radius: var(--radius-pill); padding: 4px 10px;
    font-size: 12.5px; font-weight: 600; line-height: normal;
    background: var(--surface-soft); color: var(--primary-dark);
}
.badge-lime { background: var(--lime); color: var(--ink); }
.badge-dark { background: var(--ink); color: #fff; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }

/* Kör alakú pipa a felsorolások előtt */
.tick-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tick-list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--text); }
.tick-list li::before {
    content: '✓'; flex: none; width: 26px; height: 26px; border-radius: var(--radius-pill);
    background: var(--surface-soft); color: var(--primary-dark);
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}

/* ── 6. Űrlap ───────────────────────────────────────────────────────────────────────────────
 * A markupot a widgets/FrontForm + FrontField adja; a hibát a front/js/form.js és a szerver
 * ugyanúgy írja ki: `.field-error` doboz, `has-error` a burkolón.
 */
.front-form { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; gap: 18px 16px; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .field-wide { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: var(--text-sm); font-weight: 400; color: var(--text); }
.field-label .req { color: var(--danger); }

.field-input, .front-form input[type="text"], .front-form input[type="email"], .front-form input[type="tel"],
.front-form input[type="url"], .front-form input[type="number"], .front-form input[type="date"],
.front-form input[type="time"], .front-form input[type="search"], .front-form input[type="password"],
.front-form select, .front-form textarea {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font: inherit;
    /* 16 px: az iOS Safari ennél kisebb betűnél ránagyít a lapra */
    font-size: max(16px, 1em);
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color var(--ease), box-shadow var(--ease);
}
.front-form textarea, textarea.field-input { height: auto; min-height: 8em; padding: 12px 16px; resize: none; line-height: 1.5; }
textarea.textarea-resizable { resize: vertical; }
.field-input::placeholder, .front-form input::placeholder, .front-form textarea::placeholder { color: var(--muted); opacity: 1; }
.front-form select, select.field-input {
    appearance: none; -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 44px;
}
.field-input:hover, .front-form input:hover, .front-form select:hover, .front-form textarea:hover { border-color: #b2cfde; }
.field-input:focus, .front-form input:focus, .front-form select:focus, .front-form textarea:focus {
    border-color: var(--primary); outline: none; box-shadow: var(--focus);
}
input[type="date"], input[type="time"] { cursor: pointer; }
.field-help { font-size: 13px; line-height: 1.5; color: var(--muted); }
.field-error { font-size: 13px; color: var(--danger); }
/* A Yii akkor is kiteszi a hiba-dobozt, ha nincs hiba — üresen ne foglaljon helyet. */
.field-error:empty { display: none; }
.has-error .field-input, .has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.has-error .field-input:focus, .has-error input:focus, .has-error select:focus, .has-error textarea:focus { box-shadow: 0 0 0 4px rgba(193, 18, 31, .15); }

/* Jelölőnégyzet és rádiógomb: a mező és a címke egy sorban */
.check-wrap { display: flex; flex-direction: column; gap: 6px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--text-sm); color: var(--text); line-height: 1.5; }
.check input, .check-input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--primary); cursor: pointer; }
.check label { cursor: pointer; }
.check label > input { margin-right: 10px; vertical-align: -.2em; }
.check a { font-weight: 600; }

/* Szegmentált választó (pl. Belépés / Regisztráció fül) */
.segmented { display: flex; background: var(--surface-soft); border-radius: var(--radius-pill); padding: 5px; }
.segmented > * {
    flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
    border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--text);
    font-size: 15px; font-weight: 600; cursor: pointer; transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}
.segmented > .is-active, .segmented > [aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* Csapda-mező (spamvédelem): a látogató nem látja, a robot kitölti. Nem `display:none`. */
.form-honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-errors { margin: 0; }
.form-errors ul { margin: .4em 0 0; padding-left: 1.2em; }

/* ── 7. Komponensek ─────────────────────────────────────────────────────────────────────────── */
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
    padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-card);
}
.card-soft { background: var(--surface-soft); border-color: transparent; box-shadow: none; }
.card-flat { box-shadow: none; }
.panel { background: var(--surface-soft); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 48px); }

/* Üzenet (flash, figyelmeztetés). A régi Bootstrap `.alert` helyett. */
.note {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 18px; border-radius: var(--radius);
    background: var(--surface-soft); color: var(--text); font-size: 14.5px; line-height: 1.5;
}
.note > svg { margin-top: 1px; }
.note-info { background: var(--surface-soft); color: var(--ink); }
.note-ok, .note-success { background: var(--success-soft); color: var(--success); }
.note-error, .note-danger { background: var(--danger-soft); color: var(--danger); }
.note-warning { background: #fff7d6; color: #6b4e00; }
.note p:last-child { margin-bottom: 0; }
/* A layout egyszeri üzenetei (themes/main/layouts/front/_flash.php) */
.flash-wrap { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.flash-wrap .note { align-items: center; }

/* Morzsa-menü */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 20px 0 0; list-style: none; font-size: var(--text-sm); color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs li + li::before { content: '/'; margin-right: 8px; }
.crumbs [aria-current="page"] { color: var(--text); }

/* Visszajelző oldal (themes/main/front/_result.php — sikeroldalak, leiratkozás, hibaoldal) */
.result { max-width: 680px; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); text-align: center; }
.result-icon { width: 76px; height: 76px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; }
.result-icon.is-error { background: var(--danger); }
.result-icon.is-info { background: var(--surface-soft); color: var(--primary-dark); }
.result-title { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); overflow-wrap: anywhere; }
.result-text { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text); max-width: 560px; }
.result-text > :first-child { margin-top: 0; }
.result-text > :last-child { margin-bottom: 0; }
.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
@media (max-width: 560px) { .result-actions { flex-direction: column; align-self: stretch; } }
/* hibaoldal (themes/main/site/front/error.php) */
.result-code { font-size: clamp(64px, 10vw, 112px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--surface-soft); -webkit-text-stroke: 2px var(--primary); }
.result-search { align-self: stretch; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 6px 0 20px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-soft); transition: border-color var(--ease), box-shadow var(--ease); }
.result-search:focus-within { border-color: var(--primary); box-shadow: var(--focus); }
.result-search > .icon { flex: none; color: var(--muted); }
.result-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.result-search .btn { flex: none; }

/* Lapozó (themes/main/front/_pager.php — blog, keresés) */
/* A terv szerint (összevetés 2026-11-04): 44 px-es körök, 1 px keret, az aktuális oldal kék. */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin: 36px 0 0; }
.pager-num, .pager-step { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink); border: 1px solid var(--line); }
.pager-step { padding: 0 18px; }
.pager-num:hover, .pager-step:hover { border-color: var(--primary); color: var(--primary-dark); }
.pager-num.is-current { border-color: var(--primary); background: var(--primary); color: #fff; }
.pager-gap { padding: 0 4px; color: var(--muted); }
@media (max-width: 420px) { .pager-step span { display: none; } }

/* Adminból szerkesztett HTML (kategória-, termék-, oldalleírás): a régi szerkesztő inline
   stílusait (sorkizárás, betűtípus) felülírjuk, hogy a szöveg az új tipográfiát kövesse. */
.rich-text { color: var(--text); font-size: var(--text-md); line-height: 1.7; overflow-wrap: anywhere; }
.rich-text * { font-family: inherit !important; text-align: left !important; }
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text h2, .rich-text h3, .rich-text h4 { margin: 1.4em 0 .5em; }
.rich-text h2 { font-size: clamp(22px, 2.2vw, 28px); }
.rich-text h3 { font-size: 20px; }
.rich-text h4 { font-size: 17px; }
.rich-text p { margin: 0 0 1em; }
.rich-text p:empty { display: none; }
.rich-text ul, .rich-text ol { margin: 0 0 1em; padding-left: 1.3em; }
.rich-text li { margin-bottom: .35em; }
.rich-text a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.rich-text img { max-width: 100%; height: auto !important; border-radius: var(--radius-sm); }
.rich-text table { width: 100% !important; display: block; overflow-x: auto; font-size: 14.5px; }
.rich-text td, .rich-text th { padding: 8px 12px; border: 1px solid var(--line-soft); }
.rich-text iframe { max-width: 100%; }

/* Harmonika (GYIK): natív <details>, szkript nélkül */
.acc { border-bottom: 1px solid var(--line); }
.acc > summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 0; font-size: 17px; font-weight: 600; color: var(--ink);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after {
    content: '+'; flex: none; width: 32px; height: 32px; border-radius: var(--radius-pill);
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-soft); color: var(--primary-dark); font-size: 20px; font-weight: 500; line-height: 1;
}
.acc[open] > summary::after { content: '−'; }
.acc-body { padding: 0 0 20px; color: var(--text); line-height: 1.65; max-width: 820px; }

/* Táblázat */
.table { width: 100%; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.table th { font-size: 13px; font-weight: 600; color: var(--muted); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Vízszintesen görgethető sor mobilon (chipek, kártyák) */
.h-scroll { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) {
    .h-scroll { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
    .h-scroll::-webkit-scrollbar { display: none; }
}

/* Szekció-fej: cím balra, „Mind megtekintése" link jobbra */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }
.sec-head > a { font-size: 15px; font-weight: 600; }
.sec-head p { margin: 8px 0 0; font-size: var(--text-md); color: var(--text); }

/* Kép-helyőrző (amíg nincs feltöltött kép): a terv csíkos mintája */
.ph { background: repeating-linear-gradient(135deg, var(--surface-soft) 0 12px, var(--line) 12px 24px); }
.ph-card { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--surface-soft); }
.ph-card::after { content: ''; width: 56%; height: 44%; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); }

/* Kártya-rácsok; mobilon vízszintesen görgethető sor (`.grid-scroll`) */
/* auto-fill (nem auto-fit): kevés kártyánál se nyúljanak a teljes szélességre */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--col-min, 260px)), 1fr)); }
@media (max-width: 760px) {
    .card-grid { gap: 12px; }
    .card-grid.grid-2-mobile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: var(--scroll-w, 82%); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
    .grid-scroll::-webkit-scrollbar { display: none; }
    .grid-scroll > * { scroll-snap-align: start; }
}

/* Termékkártya */
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; color: inherit; transition: box-shadow var(--ease), border-color var(--ease); }
.pcard:hover { color: inherit; border-color: var(--line); box-shadow: 0 20px 40px rgba(var(--navy-rgb), .1); }
.pcard-media { position: relative; height: 210px; overflow: hidden; background: var(--surface-soft); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard-title { font-size: 17px; font-weight: 600; color: var(--ink); line-height: normal; }
.pcard-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pcard-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.pcard-features .icon { flex: none; margin-top: 2px; color: var(--primary); }
.pcard-features strong { font-weight: 600; color: var(--ink); }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-tags span { font-size: 12px; line-height: 1.4; color: var(--text); background: var(--surface-soft); border-radius: var(--radius-pill); padding: 4px 10px; }
/* ár és gyártási idő egy sorban; ha nem fér ki, a gyártási idő egészben a következő sorba kerül (nem törik szét) */
.pcard-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 8px; padding-top: 4px; margin-top: auto; }
.pcard-price { font-size: 18px; font-weight: 700; color: var(--ink); white-space: nowrap; }
/* „Akár X Ft/darab ártól” (admin-darabár, ügyfélkérés 2026-11-26): csak a darabár kiemelt, a felirat tördelhet */
.pcard-price.is-unit { font-size: 14px; font-weight: 500; white-space: normal; }
.pcard-price.is-unit strong { font-size: 18px; font-weight: 700; white-space: nowrap; }
.pcard-time { font-size: 12.5px; color: var(--muted); text-align: right; white-space: nowrap; }
.pcard-cta { margin-top: 12px; height: 46px; border-radius: var(--radius-pill); border: 1.5px solid var(--primary); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; font-weight: 600; transition: background var(--ease), color var(--ease); }
.pcard:hover .pcard-cta { background: var(--primary); color: #fff; }

/* Kategóriakártya */
.ccard { display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; color: inherit; transition: border-color var(--ease); }
.ccard:hover { color: inherit; border-color: var(--primary); }
.ccard-media { height: 150px; overflow: hidden; background: var(--surface-soft); }
.ccard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ccard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.ccard-title { font-size: 17px; font-weight: 600; color: var(--ink); }
.ccard-meta { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
    .ccard-media { height: 110px; }
    .ccard-body { padding: 14px; }
    .ccard-title { font-size: 15.5px; }
    .ccard-meta { font-size: 13px; }
}

/* Vélemény-kártya */
.rcard { margin: 0; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); }
.rcard-dots { display: flex; gap: 5px; }
.rcard-dots span { width: 10px; height: 10px; border-radius: var(--radius-pill); background: var(--primary); }
.rcard p { margin: 0; font-size: var(--text-md); line-height: 1.65; color: var(--ink); text-wrap: pretty; }
.rcard-author { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.rcard-author strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.rcard-author span { font-size: var(--text-sm); color: var(--muted); }

/* Munkatárs-kártya */
.tcard { display: flex; flex-direction: column; gap: 14px; }
.tcard-media { height: 260px; border-radius: var(--radius-lg) var(--radius-lg) 100px var(--radius-lg); overflow: hidden; background: var(--surface-soft); }
.tcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard-name { font-size: 17px; font-weight: 600; color: var(--ink); }
.tcard-job { font-size: 14px; color: var(--muted); }
.tcard-contact { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }

/* Blog-kártya */
.bcard { display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; color: inherit; transition: border-color var(--ease); }
.bcard:hover { color: inherit; border-color: var(--primary); }
.bcard-media { height: 190px; overflow: hidden; background: var(--surface-soft); }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcard-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.bcard-cat { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--primary-dark); }
.bcard-title { font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.bcard-meta { font-size: 13.5px; color: var(--muted); }

/* Logó-futószalag (partnerek): a lista kétszer szerepel, így a -50% eltolás varrat nélküli */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee { overflow: hidden; width: 100%; }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { flex: none; width: 200px; height: 96px; border: 1px solid var(--line-soft); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; padding: 16px; }
.marquee-item img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; display: block; }
@media (prefers-reduced-motion: reduce) {
    .marquee { overflow-x: auto; }
    .marquee-track { animation: none; }
}

/* ── 8. Fejléc, mega-menü, mobilmenü ────────────────────────────────────────────────────────── */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

/* Felső információs sáv */
.topbar { background: var(--navy); color: var(--sky); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 28px; padding-top: 10px; padding-bottom: 10px; }
.topbar-items, .topbar-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; }
.topbar-links { gap: 8px 24px; }
.topbar-item, .topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--sky); white-space: nowrap; }
.topbar a:hover { color: #fff; }
@media (max-width: 760px) {
    .topbar-inner { justify-content: flex-start; text-align: left; }
    .topbar-item { white-space: normal; }
    .topbar .desktop-only { display: none; }
}

/* Ragadós fejléc: logó, kereső, belépés, kosár */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 36px; padding-top: 20px; padding-bottom: 20px; }
.header-logo { display: flex; align-items: center; flex: none; padding-right: 8px; }
.header-logo img { display: block; height: 40px; width: auto; }
.header-search {
    flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 12px;
    background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius-pill);
    padding: 0 22px; height: 50px; transition: border-color var(--ease), box-shadow var(--ease);
}
.header-search:hover, .header-search:focus-within { border-color: var(--primary); }
.header-search:focus-within { box-shadow: var(--focus); }
.header-search > .icon { color: var(--muted); }
.header-search input {
    flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none;
    font: inherit; font-size: 16px; color: var(--ink);
}
.header-search input::placeholder { color: var(--muted); opacity: 1; }
.header-search input::-webkit-search-cancel-button { display: none; }
.header-actions { display: flex; align-items: center; flex: none; flex-wrap: nowrap; gap: 22px; }
.header-login { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap; }
.header-login:hover { color: var(--primary); }
.header-cart { gap: 8px; padding: 12px 22px; }
.header-cart-count { background: rgba(255, 255, 255, .22); border-radius: var(--radius-pill); padding: 2px 10px; font-size: 13px; }
.header-menu-toggle { display: none; }
@media (max-width: 760px) {
    .header-inner { gap: 8px 10px; padding-top: 10px; padding-bottom: 10px; justify-content: space-between; }
    .header-menu-toggle { display: inline-flex; margin-right: 2px; }
    .header-logo { margin-right: auto; padding-right: 0; }
    .header-logo img { height: 30px; }
    .header-search { order: 3; flex: 1 1 100%; height: 46px; padding-left: 16px; }
    .header-actions { gap: 8px; }
    .header-login span, .header-cart-label { display: none; }
    .header-login { width: 44px; height: 44px; justify-content: center; }
    .header-cart { padding: 10px 14px; min-height: 44px; }
}
@media (max-width: 379px) { .header-logo img { height: 24px; } }

/* Kategória-sáv és mega-menü (desktop) */
.catnav { position: sticky; top: var(--header-h); z-index: 39; background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.catnav-list { display: flex; gap: 4px; flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 0; list-style: none; scrollbar-width: none; }
.catnav-list::-webkit-scrollbar { display: none; }
.catnav-link {
    display: block; padding: 16px 12px; font-size: 15px; font-weight: 600; color: var(--ink);
    white-space: nowrap; border-bottom: 3px solid transparent;
    transition: color var(--ease), border-color var(--ease);
}
.catnav-link:hover, .catnav-item.is-open > .catnav-link { color: var(--primary); }
.catnav-item.is-open > .catnav-link { border-bottom-color: var(--primary); }
.mega {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    background: var(--surface); border-bottom-left-radius: var(--radius-xl); border-bottom-right-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.mega[hidden] { display: none; }
.mega-inner { padding-top: 36px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px 40px; }
.mega-group { display: flex; flex-direction: column; gap: 8px; }
.mega-title { font-size: 14px; font-weight: 700; color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
a.mega-title:hover { color: var(--primary); }
.mega-group a:not(.mega-title) { font-size: 13.5px; color: var(--text); line-height: 1.5; }
.mega-group a:not(.mega-title):hover { color: var(--primary); }
.mega-all { font-weight: 600; }
/* mobilon a terv szerint a kereső alatt vízszintesen görgethető sáv (vizuális összevetés M1); az első
   érintés lenyitja a panelt, a második navigál (nav.js) */
@media (max-width: 760px) {
    .catnav { position: relative; top: auto; }
    .catnav-list { gap: 0; margin: 0 calc(-1 * var(--gutter)); padding: 0 calc(var(--gutter) - 10px); }
    .mega { max-height: 70vh; overflow-y: auto; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
    .mega-inner { padding-top: 20px; padding-bottom: 24px; gap: 20px; }
}

/* Mobil teljes képernyős menü */
.mobilenav { position: fixed; inset: 0; z-index: 90; background: var(--surface); overflow-y: auto; display: flex; flex-direction: column; overscroll-behavior: contain; }
.mobilenav[hidden] { display: none; }
.mobilenav-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.mobilenav-head img { height: 32px; width: auto; display: block; }
.mobilenav-list { display: flex; flex-direction: column; padding: 8px 16px 16px; }
.mobilenav-link, .mobilenav-list summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 0 4px;
    border-bottom: 1px solid var(--line-soft); font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none;
}
.mobilenav-list summary::-webkit-details-marker { display: none; }
.mobilenav-link .icon, .mobilenav-list summary .icon { color: var(--muted); transition: transform var(--ease); }
.mobilenav-list details[open] > summary .icon { transform: rotate(90deg); }
.mobilenav-sub { display: flex; flex-direction: column; padding: 8px 4px 14px 16px; gap: 2px; border-bottom: 1px solid var(--line-soft); }
.mobilenav-sub-title { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 10px 0 4px; }
.mobilenav-sub a { display: block; padding: 8px 0; font-size: 15.5px; color: var(--text); }
.mobilenav-foot { margin-top: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--surface-soft); }
.mobilenav-foot a { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.mobilenav-foot a.is-strong { font-weight: 600; color: var(--ink); }
body.is-locked { overflow: hidden; }

/* ── 9. Lábléc ──────────────────────────────────────────────────────────────────────────────── */
/* A tartalom és a lábléc közti 80 px (terv) ez a margó egyedül adja: az oldal-keretek (page-wrap, cart-page, acc-page, blog-page, auth-page, search-page) alul nem tesznek hozzá (összevetés 2026-11-04). */
.site-footer { margin-top: 80px; background: var(--ink); color: var(--sky); padding-top: var(--gutter); padding-bottom: 36px; }
.site-footer a { color: var(--sky); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
/* a terv szerint az első (logós) oszlop 302 px széles — a szlogen így két sorban marad; a többi oszlop
   (az admin menüiből, 3 vagy több) osztozik a maradékon */
@media (min-width: 1101px) { .footer-grid { grid-template-columns: 302px repeat(auto-fit, minmax(160px, 1fr)); } }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-brand { gap: 14px; }
.footer-brand img { height: 34px; width: auto; display: block; }
.footer-slogan { font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.footer-about { font-size: 14px; line-height: 1.6; max-width: 280px; margin: 0; }
.footer-title { font-size: 14px; font-weight: 700; color: #fff; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #32333c; border-radius: var(--radius-pill); }
.footer-social a:hover { border-color: var(--sky); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #32333c; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-pay { margin-top: 24px; padding-top: 24px; border-top: 1px solid #32333c; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.footer-pay-logo { background: #fff; border-radius: var(--radius); padding: 10px 18px; display: flex; align-items: center; }
.footer-pay-logo img { height: 32px; width: auto; display: block; }
.footer-pay-note { color: var(--muted); }

/* ── 10. Süti-sáv ───────────────────────────────────────────────────────────────────────────── */
.cookiebar {
    position: fixed; left: 16px; bottom: 16px; z-index: 100; width: min(460px, calc(100% - 32px));
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 14px;
    font-size: 14px; line-height: 1.55;
}
.cookiebar[hidden] { display: none; }
.cookiebar-title { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.cookiebar p { margin: 0; }
.cookiebar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookiebar-actions .btn { flex: 1 1 auto; }
.cookiebar-options { display: flex; flex-direction: column; gap: 10px; padding: 12px 0 4px; border-top: 1px solid var(--line-soft); }
.cookiebar-options[hidden] { display: none; }
.cookiebar-option { display: flex; align-items: flex-start; gap: 10px; }
.cookiebar-option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
.cookiebar-option small { display: block; color: var(--muted); font-size: 12.5px; }
@media (max-width: 760px) { .cookiebar { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 18px 16px 16px; } }

/* ── 11. Segédosztályok ─────────────────────────────────────────────────────────────────────── */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 48px; }
.mb-s { margin-bottom: 12px; } .mb-m { margin-bottom: 24px; } .mb-l { margin-bottom: 48px; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
@media (max-width: 760px) { .desktop-only { display: none !important; } }
@media (min-width: 761px) { .mobile-only { display: none !important; } }
