/* ==========================================================================
   RGE Shop – „modern” megjelenés (2026).
   A shop.css (klasszikus design) fölé töltődik, és csak felülír: ugyanazokat a
   rétegeket használja, így a sorrend és a utilities-prioritás nem változik.
   Kikapcsolás: Admin → Beállítások → Megjelenés = Klasszikus (vagy ?design=classic
   csak a saját böngészőben). A színek azonosak a klasszikus designnal.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-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;
}

/* Oldalváltáskor finom áttűnés (Chromium / Safari; máshol egyszerűen nincs). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

@layer tokens {
  :root {
    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --pill: 999px;
    --line: rgb(23 24 27 / .08);
    --line-strong: rgb(23 24 27 / .16);
    --shadow-xs: 0 1px 2px rgb(23 24 27 / .05);
    --shadow: 0 1px 2px rgb(23 24 27 / .04), 0 10px 30px -12px rgb(23 24 27 / .14);
    --shadow-hover: 0 2px 4px rgb(23 24 27 / .04), 0 22px 44px -18px rgb(23 24 27 / .28);
    --shadow-lg: 0 28px 70px -16px rgb(23 24 27 / .32);
    --ring: 0 0 0 4px rgb(234 176 0 / .24);
    --glow: 0 8px 22px -8px rgb(234 176 0 / .75);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
}

@layer base {
  body { font-feature-settings: "cv11", "ss03"; letter-spacing: -.006em; }
  h1, h2, h3 { text-wrap: balance; letter-spacing: -.022em; }
  h1 { font-weight: 780; letter-spacing: -.03em; }
  h2 { font-weight: 720; }
  h3 { font-weight: 650; }
  p { text-wrap: pretty; }
  :focus-visible { outline-width: 2px; outline-offset: 3px; border-radius: 8px; }
  .price, .buybox__price, .totals, .cart-line__total, .suggest__price, .stat strong, .table .num, .mini-lines__price, .option__price { font-variant-numeric: tabular-nums; }
}

@layer layout {
  .main { padding-bottom: 72px; }

  /* Felső sáv: vékonyabb, visszafogottabb */
  .topbar { font-size: .78rem; letter-spacing: 0; }
  .topbar__inner { min-height: 32px; }

  /* Fejléc: üveghatású, ragadós */
  .header {
    background: rgb(43 46 51 / .94);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    backdrop-filter: blur(18px) saturate(1.6);
    box-shadow: 0 1px 0 rgb(255 255 255 / .06) inset, 0 12px 32px -18px rgb(0 0 0 / .55);
  }
  .header__inner { min-height: 72px; gap: 16px; }
  .header__action { border-radius: var(--pill); padding: 9px 14px; transition: background .2s var(--ease); }
  .badge { top: 2px; left: 26px; box-shadow: 0 0 0 2px #2b2e33; }

  .suggest { top: calc(100% + 10px); border-radius: 20px; border: 1px solid var(--line); padding: 6px; }
  .suggest a { border-bottom: 0; border-radius: 14px; }
  .suggest img { border-radius: 10px; background: #fff; }
  .suggest__all { border-radius: 14px !important; margin-top: 4px; }

  .catnav { background: rgb(29 31 35 / .55); border-top-color: rgb(255 255 255 / .05); }
  .catnav__inner { min-height: 48px; gap: 2px; }
  .catnav a, .catnav__all { border-radius: var(--pill); padding: 7px 14px; font-weight: 500; transition: background .2s var(--ease), color .2s var(--ease); }
  .catnav__all { font-weight: 650; background: rgb(234 176 0 / .1); }
  .catnav__all:hover { background: rgb(234 176 0 / .18); color: var(--brand); }

  /* Lábléc: lekerekített „lap” */
  .footer { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .footer__usp { padding-block: 36px; gap: 16px; }
  .footer__usp > div { background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .06); border-radius: var(--radius); padding: 16px; }
  .footer__usp .icon { box-sizing: content-box; padding: 9px; border-radius: 12px; background: rgb(234 176 0 / .12); width: 24px; height: 24px; }
  .footer__cols { padding-block: 40px; }
  .footer__cols a { transition: color .2s var(--ease); }
  .footer__bottom { border-top-color: rgb(255 255 255 / .06); }
}

@layer components {
  .icon-btn { border-radius: var(--pill); }

  /* Gombok: pirula forma, finom emelkedés */
  .btn { border-radius: var(--pill); font-weight: 650; letter-spacing: -.005em; padding: 0 20px; transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
  .btn:active { transform: translateY(1px) scale(.98); }
  .btn--primary { box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset; }
  .btn--primary:hover { box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, var(--glow); transform: translateY(-1px); }
  .btn--dark:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgb(0 0 0 / .6); }
  .btn--ghost { border-color: var(--line-strong); }
  .btn--ghost:hover { background: var(--surface-2); border-color: var(--text); }
  .btn--lg { min-height: 54px; padding: 0 28px; }
  .btn--icon { width: 44px; padding: 0; }
  .btn--sm { padding: 0 14px; }

  .alert { border-radius: 14px; padding: 14px 16px; border-color: transparent; box-shadow: var(--shadow-xs); }
  .pill { font-weight: 650; }
  .crumbs { padding-block: 20px 10px; font-size: .84rem; }

  .panel { border-color: var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-xs); }
  .panel--accent { border-color: rgb(234 176 0 / .35); }
  .panel__num { background: var(--brand); color: var(--on-brand); font-weight: 800; }
  @media (max-width: 599px) { .panel { padding: 18px; border-radius: 18px; } }

  /* Űrlapok */
  .field label { font-weight: 600; font-size: .86rem; }
  input:not([type=checkbox]):not([type=radio]), select, textarea {
    min-height: 48px; padding: 11px 14px; border-color: var(--line-strong); border-radius: 12px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  }
  input:not([type=checkbox]):not([type=radio]):hover, select:hover, textarea:hover { border-color: rgb(23 24 27 / .3); }
  input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand-strong); box-shadow: var(--ring); }
  .check input { accent-color: var(--brand-strong); }

  .segmented { border-radius: var(--pill); padding: 5px; border-color: var(--line); }
  .segmented label { border-radius: var(--pill); padding: 8px 18px; transition: background .2s var(--ease), color .2s var(--ease); }

  .option { border-radius: 16px; border-color: var(--line-strong); padding: 16px; }
  .option:has(input:checked) { box-shadow: var(--ring); }
  .option input { accent-color: var(--brand-strong); }

  .qty { border-radius: var(--pill); border-color: var(--line-strong); }
  .qty__btn { background: transparent; width: 44px; }
  .qty__btn:hover { background: var(--surface-2); }

  /* Készletjelzés: „élő” pont */
  .stock .dot { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
  .stock--external .dot { box-shadow: none; }

  /* Termékkártya */
  .grid { gap: 20px; }
  @media (max-width: 599px) { .grid { gap: 12px; } }
  .card {
    border-color: var(--line); border-radius: 22px; box-shadow: var(--shadow-xs);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
  }
  .card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: transparent; }
  .card__img { margin: 8px; padding: 14px; border-radius: 16px; overflow: hidden; }
  .card__img img { transition: transform .45s var(--ease); }
  .card:hover .card__img img { transform: scale(1.05); }
  .card__tag { border-radius: var(--pill); padding: 3px 10px; top: 10px; left: 10px; box-shadow: 0 6px 14px -6px rgb(180 35 24 / .7); }
  .card__body { padding: 4px 16px 0; }
  .card__brand { font-size: .7rem; letter-spacing: .08em; }
  .card__title { font-weight: 600; letter-spacing: -.01em; }
  .card__foot { padding: 14px 16px 16px; }
  .card__foot .btn--icon { width: 46px; min-height: 46px; }
  .price strong { font-weight: 800; letter-spacing: -.025em; font-size: 1.25rem; }
  @media (max-width: 599px) { .card { border-radius: 18px; } .card__img { margin: 6px; padding: 8px; } .card__body { padding: 2px 10px 0; } .card__foot { padding: 10px; } .card__foot .btn--icon { width: 40px; min-height: 40px; }
    /* Félszéles kártya: az ár egy sorban maradjon, ne lógjon ki a „+ ÁFA”. */
    .price strong { font-size: 1.05rem; } .price__unit { font-size: .65em; } }

  .chip { border-color: var(--line-strong); padding: 7px 14px; transition: border-color .2s var(--ease), background .2s var(--ease); }
  .chip:hover { background: var(--surface); }

  .pager a, .pager span { border-radius: var(--pill); border-color: var(--line); transition: border-color .2s var(--ease), background .2s var(--ease); }
  .pager span[aria-current] { box-shadow: var(--shadow-xs); }

  .table th { font-size: .74rem; letter-spacing: .06em; }
  .table th, .table td { border-bottom-color: var(--line); }

  .totals__grand dd { font-weight: 850; letter-spacing: -.03em; font-size: 1.5rem; }

  .toast {
    background: rgb(29 31 35 / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-radius: var(--pill); padding: 12px 14px 12px 20px; bottom: 28px;
    box-shadow: var(--shadow-lg); animation: toastin .35s var(--ease);
  }
  .toast.is-error { background: var(--danger); }

  .section { padding-block: 56px; }
  .section--alt { border-block: 0; }
  .section__head { margin-bottom: 22px; }
  .section__head h2, .section__title { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
  .link-more { color: var(--text); font-weight: 650; padding: 8px 14px 8px 16px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s var(--ease), background .2s var(--ease); }
  .section--alt .link-more { background: var(--surface-2); }
  .link-more:hover { border-color: var(--text); color: var(--text); }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: var(--pill);
    background: rgb(234 176 0 / .12); border: 1px solid rgb(234 176 0 / .28); letter-spacing: .08em; font-size: .72rem;
  }
  .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgb(234 176 0 / .2); }

  .steps li::before { width: 28px; height: 28px; }
  .steps li:not(:last-child)::after { border-radius: 2px; }
}

@layer pages {
  /* Főoldal: lekerekített, beúszó hős blokk */
  .hero {
    position: relative; isolation: isolate; overflow: hidden;
    width: calc(100% - 32px); max-width: var(--wrap); margin: 20px auto 0; border-radius: var(--radius-lg);
    background:
      radial-gradient(900px 520px at 92% -20%, rgb(234 176 0 / .30), transparent 62%),
      radial-gradient(640px 420px at -8% 115%, rgb(234 176 0 / .12), transparent 60%),
      linear-gradient(160deg, #2b2e33, #1d1f23 70%);
    box-shadow: var(--shadow-lg);
  }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgb(255 255 255 / .09) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 80% at 75% 30%, #000 20%, transparent 75%);
  }
  .hero__inner { padding: 22px 48px; }
  .hero h1 { font-size: clamp(1.2rem, 1rem + 0.95vw, 1.7rem); line-height: 1.15; margin: 0 0 7px; font-weight: 750; }
  .hero h1 span { background: linear-gradient(90deg, #ffd24a, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .lead { color: #c9c7c0; line-height: 1.6; }
  .hero__search {
    padding: 6px; gap: 6px; border-radius: var(--pill); background: rgb(255 255 255 / .08);
    border: 1px solid rgb(255 255 255 / .1); max-width: 640px; margin-top: 28px;
  }
  .hero__search input { border-radius: var(--pill) !important; height: 50px; padding-inline: 20px; box-shadow: none !important; }
  .hero__search .btn { min-height: 50px; }
  .empty .hero__search { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
  .empty .hero__search input { border: 0 !important; }
  .hero__inner > * { min-width: 0; }
  @media (max-width: 899px) {
    .hero { width: calc(100% - 24px); margin-top: 12px; border-radius: 24px; }
    .hero__inner { padding: 22px 20px; }
    .hero__search { border-radius: 24px; }
  }
  @media (max-width: 599px) {
    .hero__inner { padding: 18px; }
    .section { padding-block: 40px; }
    .section__head { align-items: center; }
    .link-more { padding: 6px 10px 6px 12px; font-size: .85rem; }
  }

  .catgrid { gap: 16px; }
  .catbox { border-color: var(--line); border-radius: 20px; padding: 20px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
  .catbox:hover { border-color: rgb(234 176 0 / .55); box-shadow: var(--shadow); transform: translateY(-2px); }
  .section--alt .catbox { background: var(--surface-2); }
  .section--alt .catbox:hover { background: var(--surface); }
  .catbox h3, .catbox h2 { font-size: 1.02rem; letter-spacing: -.015em; }
  .catbox li { padding: 3px 0; }
  .catbox__more { color: var(--text); background: var(--brand-soft); border-radius: var(--pill); padding: 3px 10px; font-size: .78rem; margin-top: 10px; }

  .brands { gap: 10px; }
  .brands a { border-radius: var(--pill); border-color: var(--line); padding: 11px 20px; font-weight: 650; box-shadow: var(--shadow-xs); transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease); }
  .brands a:hover { transform: translateY(-1px); }

  .why { gap: 48px; }
  .why h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
  .why__list { gap: 12px; }
  .why__list li { align-items: center; padding: 16px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
  .why__list .icon { box-sizing: content-box; padding: 11px; border-radius: 14px; background: var(--brand-soft); margin-top: 0; }

  /* Lista */
  .filters { border-color: var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow-xs); top: 140px; }
  .filter { border-top-color: var(--line); padding: 14px 0; }
  .filter__range input { padding-inline: 10px; min-height: 42px; }
  @media (max-width: 599px) { .pdp__codes { font-size: .8rem; } }
  .toolbar__sort select { border-radius: var(--pill); padding-inline: 16px; }
  @media (max-width: 899px) {
    .filters { border-radius: 0; box-shadow: none; }
    .filters__actions { border-top-color: var(--line); box-shadow: 0 -12px 30px -18px rgb(0 0 0 / .3); }
  }

  /* Termékoldal */
  .pdp { gap: 40px; }
  .pdp__img { border-color: var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); padding: 32px; }
  .pdp__brand { display: inline-flex; padding: 4px 12px; border-radius: var(--pill); background: var(--brand-soft); color: var(--warn); font-size: .74rem; }
  .pdp__title { font-weight: 760; margin: 12px 0 14px; line-height: 1.15; }
  .pdp__codes { gap: 8px; }
  .pdp__codes div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); padding: 4px 12px; }
  .buybox { border-color: var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); gap: 18px; }
  .buybox__price strong { font-size: 2.4rem; font-weight: 850; letter-spacing: -.035em; }
  .buybox__stock { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
  .buybox__form .btn { min-height: 54px; }
  .buybox__form .qty { height: 54px; }
  /* A léptető pont akkora és olyan formájú, mint a „Kosárba” gomb volt – helyben alakul át. */
  .qtyadd--buybox .qtyadd__add .btn { min-height: 48px; }
  .qtyadd--buybox.is-in-cart .qtyadd__step { border-radius: var(--pill); padding: 4px; height: 48px; }
  .qtyadd--buybox .qtyadd__btn { border-radius: 50%; width: 38px; height: 38px; }
  .buybox__usp { border-top-color: var(--line); }
  .buybox__usp .icon { box-sizing: content-box; padding: 6px; border-radius: 10px; background: var(--brand-soft); }
  .pdp__details { gap: 20px; margin-top: 40px; }
  .pdp__details section { border-color: var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-xs); }
  .specs th, .specs td { border-bottom: 0; padding: 10px 12px; }
  .specs tr:nth-child(even) { background: none; }
  .specs tr:nth-child(odd) > * { background: var(--surface-2); }
  .specs tr > :first-child { border-radius: 10px 0 0 10px; }
  .specs tr > :last-child { border-radius: 0 10px 10px 0; }
  @media (max-width: 899px) { .pdp { gap: 20px; } .pdp__img { padding: 16px; border-radius: 22px; } .buybox { padding: 20px; } }

  /* Kosár */
  .cart__items, .cart__summary { border-color: var(--line); border-radius: 22px; box-shadow: var(--shadow-xs); }
  .cart__summary { padding: 24px; box-shadow: var(--shadow); top: 140px; }
  .cart-line { border-bottom-color: var(--line); }
  .cart-line__img img { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 6px; box-sizing: border-box; }
  .freeship { border-bottom-color: var(--line); }
  .freeship__bar, .freeship__bar::-webkit-progress-bar { height: 8px; border-radius: var(--pill); background: var(--surface-2); }
  .freeship__bar::-webkit-progress-value { background: linear-gradient(90deg, #ffd24a, var(--brand)); border-radius: var(--pill); }
  .freeship__bar::-moz-progress-bar { background: linear-gradient(90deg, #ffd24a, var(--brand)); border-radius: var(--pill); }
  .trust { border-top-color: var(--line); }

  /* Pénztár */
  .checkout__login { border-radius: 14px; }
  .checkout__side .panel > * { min-width: 0; }
  .checkout__side .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
  .mini-lines img { border-color: var(--line); border-radius: 10px; }

  .thanks__icon { box-shadow: 0 0 0 10px var(--ok-bg); }

  .logo__b2b { border-radius: var(--pill); padding: 2px 9px; background: rgb(234 176 0 / .12); }
  .thread__msg { border-color: var(--line); border-radius: 18px; box-shadow: var(--shadow-xs); }
  .thread__msg--staff { border-left-color: var(--brand); }
  .thread__msg--internal { border-color: var(--brand-strong); }
  .ticket-list a { border-radius: 12px; }

  /* Fiók, szöveges oldalak */
  .auth { padding-top: 48px; }
  .prose .toc { border-color: var(--line); border-radius: 20px; }
  .prose details { border-color: var(--line); border-radius: 14px; transition: box-shadow .2s var(--ease); }
  .prose details[open] { box-shadow: var(--shadow-xs); }
}

@layer admin {
  .admin__nav { padding: 18px 12px; }
  .admin__nav a.admin__link, .admin__nav .admin__logout { border-radius: 12px; transition: background .2s var(--ease), color .2s var(--ease); }
  .admin__nav a.admin__link.is-active { box-shadow: var(--glow); }
  .admin__main { padding: 28px; }
  .stat { border-color: var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-xs); }
  .stat strong { letter-spacing: -.03em; }
  .thumb { border-radius: 10px; border-color: var(--line); }
  .settings-row { border-bottom-color: var(--line); }
  @media (max-width: 899px) { .admin__main { padding: 16px; } }
}

@layer components {
  /* Kereső: a főoldali hős-kereső mintájára – áttetsző sötét keret, fehér mező, sárga gomb */
  .search {
    padding: 5px; gap: 6px; border-radius: var(--pill);
    background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .12);
    transition: border-color .2s var(--ease), background .2s var(--ease);
  }
  .search:focus-within { border-color: rgb(234 176 0 / .55); background: rgb(255 255 255 / .11); }
  .search input[type=search] { height: 42px; min-height: 0; border: 0; border-radius: var(--pill); padding: 0 20px; box-shadow: none; background: #fff; }
  .search input[type=search]:focus { outline: 0; box-shadow: none; }
  .search__btn {
    width: auto; min-width: 46px; padding: 0 18px; gap: 8px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--pill); font-weight: 650; box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset;
    transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
  }
  .search__btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, var(--glow); }
  .search__label { display: inline; }
  @media (max-width: 599px) { .search__label { display: none; } .search__btn { padding: 0 14px; } .search input[type=search] { height: 40px; padding: 0 16px; } }
}

@layer layout {
  .catmenu__panel { border-color: var(--line); border-radius: 22px; }
  .catmenu__top { background: var(--surface); }
  .catmenu__search { border-radius: var(--pill); border-color: var(--line-strong); }
  .catmenu__allcats, .catmenu__group, .catmenu__sublist a, .catmenu__results a { border-radius: 12px; }
  .catmenu__allcats { border: 1px solid var(--line); border-radius: var(--pill); }
  .catmenu__allcats:hover { background: var(--surface-2); }
  .catmenu__groups { background: var(--surface-2); border-right-color: var(--line); }
  .catmenu__group:hover { background: var(--surface); }
  .catmenu__group.is-active { background: var(--surface); box-shadow: var(--shadow-xs); }
  .catmenu__backdrop { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
}

@layer layout {
  @media (max-width: 599px) {
    .footer { border-radius: 22px 22px 0 0; }
    .footer__usp { gap: 10px; padding-block: 20px; }
    .footer__usp > div { padding: 12px; }
    .footer__cols { padding-block: 24px; }
  }
  @media (max-width: 479px) {
    /* Egy sorba fér a hamburger, a logó és a három gomb; a kereső alattuk. */
    .header__inner { gap: 6px; min-height: 60px; }
    .header__action { padding: 8px 4px; }
    .header__actions { gap: 0; }
    .logo img { width: 44px; height: 28px; }
  }
}
