/* Profi Futár – saját tárhelyről betöltött betűtípusok (Montserrat, Noto Sans – SIL Open Font License 1.1).
   Nem hívunk külső szervert (Google Fonts), így a látogató IP-címe nem jut harmadik félhez. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-latin-ext-600-normal.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: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-latin-600-normal.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: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-latin-ext-700-normal.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: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-latin-700-normal.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: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/montserrat-latin-ext-800-normal.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: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/montserrat-latin-800-normal.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: 'Noto Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/noto-sans-latin-ext-400-normal.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: 'Noto Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/noto-sans-latin-400-normal.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: 'Noto Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/noto-sans-latin-ext-500-normal.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: 'Noto Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/noto-sans-latin-500-normal.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: 'Noto Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/noto-sans-latin-ext-600-normal.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: 'Noto Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/noto-sans-latin-600-normal.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: 'Noto Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/noto-sans-latin-ext-700-normal.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: 'Noto Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/noto-sans-latin-700-normal.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; }

/* Profi Futár – Joomla-sablon stíluslapja (a jóváhagyott HTML-prototípus alapján)
   Elrendezés: max. 1240 px tartalmi sáv, teljes szélességű színsávok.
   Szándékosan egyetlen, világos arculat (a cég piros–zöld–szürke színeire építve),
   ezért nincs sötét változat; minden háttér és szín ki van írva. */
:root {
  color-scheme: light;
  --red: #CE0000;
  --red-dark: #A80000;
  --green: #007F15;
  --green-soft: #E7F3E9;
  --ink: #24282C;        /* címek */
  --text: #4A4F54;       /* szövegtörzs */
  --muted: #6A6F73;      /* másodlagos szöveg */
  --line: #E3E3DF;       /* vonalak, keretek */
  --paper: #F6F6F4;      /* szürke sávok */
  --panel: #EFEFEB;      /* ikonpanelek */
  --white: #FFFFFF;
  --night: #2A2F33;      /* sötét CTA sáv */
  --night-text: #D8DADC;
  --font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Noto Sans', 'Segoe UI', Arial, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap {
  max-width: 1240px; margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 600px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

.eyebrow { display: inline-flex; align-items: flex-start; line-height: 1.5; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--green); }
.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--green); flex: none; }
.eyebrow .dot { margin-top: 0.5em; }

/* Gombok */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-body); font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; line-height: 1.2; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-line { background: var(--white); color: var(--ink); border-color: #D6D6D2; }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--paper); color: var(--ink); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #006611; color: var(--white); }
.btn-sm { padding: 12px 20px; font-size: 15px; }

/* Felső sáv */
.topbar { background: var(--paper); font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-block: 10px; }
.topbar .loc { display: inline-flex; align-items: center; gap: 10px; }
.topbar .right { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.topbar a[aria-current="page"] { color: var(--red); }
.topbar a { color: var(--text); }
.topbar a:hover { color: var(--red); }
.vsep { width: 1px; height: 16px; background: #D5D5D1; }

/* Fejléc */
.site-header { background: var(--white); border-bottom: 1px solid #EFEFEC; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.logo { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.logo-word { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.6px; color: #2B2F33; }
.logo-word span { color: #8C8F92; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink); padding: 6px 0; white-space: nowrap; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); }
.nav .vsep { height: 20px; }
.nav .btn { padding: 12px 20px; }
.nav .btn-red, .nav .btn-red:hover, .nav .btn-red[aria-current="page"] { color: var(--white); box-shadow: none; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; background: var(--paper); border: 0; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); box-shadow: 0 16px 30px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid #F0F0ED; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .vsep { display: none; }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
}

/* Hero – a jobb oldali szürke sík a képernyő széléig fut */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: calc(50% + 120px); background: var(--paper); }
.hero::after { content: ""; position: absolute; left: calc(50% + 120px); bottom: 0; width: 160px; height: 6px; background: var(--red); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 56px; padding-block: 44px 52px; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(36px, 4vw, 54px); line-height: 1.07; font-weight: 800; letter-spacing: -2px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-lead { font-size: 17px; line-height: 1.65; max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.trust { list-style: none; margin: 4px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; max-width: 470px; }
@media (max-width: 900px) { .trust { max-width: none; } }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--green); flex: none; }
.trust strong { color: var(--ink); font-weight: 700; }
/* A kép balra kilóg a fehér hátterű részre, a számláló jobb széle a tartalom jobb szélénél áll. */
.hero-media { position: relative; margin-left: -160px; margin-right: 44px; }
.photo { position: relative; aspect-ratio: 646 / 473; max-width: 100%; border-radius: 20px; overflow: hidden; background: var(--panel); box-shadow: 0 30px 60px rgba(36,40,44,.12); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .chip { position: absolute; left: 16px; top: 16px; padding: 9px 16px 9px 14px; display: flex; align-items: center; gap: 8px; background: var(--white); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.badge { position: absolute; left: 64%; right: -44px; bottom: -28px; height: 96px; background: var(--green); color: var(--white); border-radius: 14px; padding: 0 16px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; white-space: nowrap; box-shadow: 0 0 0 5px var(--white), 0 16px 32px rgba(0,0,0,.15); }
.badge strong { font-family: var(--font-display); font-size: clamp(20px, 2vw, 28px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.badge span { font-size: 14px; margin-top: 2px; }
@media (max-width: 900px) {
  .hero::before { left: 0; top: 0; bottom: auto; height: 180px; }
  .hero::after { display: none; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 52px; padding-block: 24px 44px; }
  .hero-media { margin: 0 24px 0 0; order: -1; }
  .badge { right: -24px; left: 50%; height: 80px; bottom: -24px; }
}
@media (max-width: 520px) {
  .hero-actions .btn { flex: 1 1 100%; }
  /* telefonon a címke a futár fejét takarná – itt elhagyjuk (az üzenet a bizalmi sorban és a láblécben is szerepel) */
  .photo .chip { display: none; }
  .photo .chip { font-size: 12px; padding: 7px 12px; gap: 6px; left: 10px; top: 10px; }
  .badge { padding: 0 12px; }
  .badge span { font-size: 12px; }
}

/* Gyorslinkek */
.quick { padding-block: 28px 88px; }
.quick { padding-top: 28px; }
.quick-grid { border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--white); }
.quick-grid > a, .quick-grid > form { display: flex; gap: 18px; padding: 24px 28px; color: var(--text); margin: 0; min-width: 0; }
.quick-grid > * + * { border-left: 1px solid var(--line); }
.quick-grid form > span:last-child { flex: 1; min-width: 0; }
.track-row { display: flex; gap: 8px; margin-top: 10px; }
.track-row input { flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--ink); border: 1px solid #CDCDC8; border-radius: 8px; padding: 10px 12px; background: var(--white); }
.track-row input:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.track-row .btn { padding: 10px 16px; font-size: 14px; }
.track-err { display: block; font-size: 13px; color: var(--red); margin-top: 6px; }
.track-carrier { font-size: 13px; color: var(--green-dark, #005C10); font-weight: 600; margin: 6px 0 0; }
.track-choose { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.track-q { width: 100%; font-size: 14px; font-weight: 600; color: var(--ink); }
.chip-btn { font: inherit; font-size: 14px; font-weight: 600; border: 1px solid #CDCDC8; background: var(--white); color: var(--ink); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.chip-btn[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); color: #1F3D24; }
.track-row + .track-carrier, .quick .track-extra { display: block; margin-top: 8px; font-size: 13px; }
.quick .track-extra[hidden] { display: none; }
.quick .track-extra input { display: block; width: 100%; margin-top: 4px; font: inherit; font-size: 15px; border: 1px solid #CDCDC8; border-radius: 8px; padding: 8px 12px; }
.track-fallback { display: block; font-size: 13px; margin-top: 6px; font-weight: 600; color: var(--red); text-decoration: underline; }
.track-big { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 18px; align-items: end; }
@media (max-width: 640px) { .track-big { grid-template-columns: minmax(0, 1fr); } }
.id-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .id-types { grid-template-columns: minmax(0, 1fr); } }
.id-types div { background: var(--paper); border-radius: 12px; padding: 18px 20px; font-size: 14px; }
.id-types b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.quick-grid .num { font-size: 15px; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.quick-grid .qi { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--paper); color: var(--red); display: flex; align-items: center; justify-content: center; }
.quick-grid a:hover .qi { background: #FCEDED; }
.quick-grid .qt { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); }
.quick-grid a:hover .qt { color: var(--red); }
.quick-grid .qd { display: block; font-size: 14px; margin-top: 4px; }
@media (max-width: 860px) {
  .quick-grid { grid-template-columns: minmax(0, 1fr); }
  .quick-grid > * + * { border-left: 0; border-top: 1px solid var(--line); }
}

/* Szekciók */
.band { background: var(--paper); }
.section { padding-block: 88px 96px; display: flex; flex-direction: column; gap: 44px; }
.section-head { display: flex; flex-direction: column; gap: 14px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -1.5px; }
@media (max-width: 600px) {
  .section { padding-block: 56px 64px; gap: 32px; }
  .howto + .cta { margin-top: 48px; }
  .quick { padding-bottom: 56px; }
  .content { padding-block: 40px 64px; }
}
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--white); border: 1px solid #E8E8E4; border-radius: 16px; padding: 20px 20px 30px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 34px rgba(36,40,44,.08); transform: translateY(-2px); }
.card .icon { background: var(--panel); border-radius: 12px; height: 120px; display: flex; align-items: center; justify-content: center; padding: 0 22px; margin-bottom: 10px; color: #2B2F33; }
.card .eyebrow, .card h3, .card p, .card .more { padding-left: 8px; padding-right: 8px; }
.card .eyebrow { font-size: 12px; }
.card h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.card .from { font-size: 14px; color: var(--muted); }
.card .from strong { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.more { margin-top: auto; padding-top: 8px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Így adja fel – valódi sorrend, ezért számozott lépések */
.howto { display: flex; flex-direction: column; gap: 36px; }
.howto-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; }
.howto-steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: calc(33.333% - 22px); border-top: 2px dashed #D6D6D1; }
.howto-steps li { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hs-num { width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--white); }
.howto-steps li:first-child .hs-num { background: var(--red); }
.howto-steps h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.howto-steps p { font-size: 15px; max-width: 34ch; }
.howto-steps a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .howto-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .howto-steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; border-top: 0; border-left: 2px dashed #D6D6D1; }
  .howto-steps li { flex-direction: row; gap: 18px; }
  .hs-num { flex: none; }
  .howto-steps p { max-width: none; }
}
.howto + .cta { margin-top: 72px; }

/* Lépések animációja: csak akkor, ha a szkript elindította (.anim) */
.hs-num { position: relative; z-index: 1; transition: background .45s ease, transform .45s ease, box-shadow .45s ease; }
.hs-check { position: absolute; right: -9px; top: -7px; width: 22px; height: 22px; border-radius: 999px; background: var(--white); color: var(--green); box-shadow: 0 0 0 2px var(--green); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.3); transition: opacity .3s ease, transform .45s cubic-bezier(.3, 1.7, .5, 1); }
.howto-steps.anim li:first-child .hs-num { background: var(--ink); }
/* aktív lépés: a szám 1,1-szeresre nő (zoom), a fehér perem pedig annyit vékonyodik, hogy a külső széle
   ugyanott maradjon: (22 + 5,2) × 1,1 ≈ 30 px = 22 + 8 px nyugalmi helyzetben */
.howto-steps.anim li.on .hs-num { background: var(--red); transform: scale(1.1); box-shadow: 0 0 0 5.2px var(--white); }
.howto-steps.anim li.done .hs-num { background: var(--green); }
.howto-steps li.done .hs-check { opacity: 1; transform: scale(1); }
/* az aktívvá váló lépés szövege egy pillanatra megnő, majd visszaáll */
@keyframes stepPulse { 0% { transform: scale(1); } 40% { transform: scale(1.04); } 100% { transform: scale(1); } }
.howto-steps.anim li > div { transform-origin: left center; }
.howto-steps.anim li.on > div, .howto-steps.anim li.done > div { animation: stepPulse .8s ease; }
@media (prefers-reduced-motion: reduce) { .howto-steps li > div { animation: none !important; } }
/* A betöltődő vonal: 2 px-es csík nyílheggyel a végén (maszkkal, így a színe átmenettel váltható) */
.howto-steps.anim::after {
  content: ""; position: absolute; top: 16px; left: 22px; height: 12px; width: var(--fill, 0px);
  background: var(--red); transition: width .9s ease, height .9s ease, background .45s ease;
  -webkit-mask: linear-gradient(#000 0 0) left center / calc(100% - 9px) 2px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0 10 6 0 12z'/%3E%3C/svg%3E") right center / 10px 12px no-repeat;
  mask: linear-gradient(#000 0 0) left center / calc(100% - 9px) 2px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0 10 6 0 12z'/%3E%3C/svg%3E") right center / 10px 12px no-repeat;
}
.howto-steps.anim.vertical::after {
  top: 22px; left: 16px; width: 12px; height: var(--fill, 0px);
  -webkit-mask: linear-gradient(#000 0 0) center top / 2px calc(100% - 9px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M0 0 12 0 6 10z'/%3E%3C/svg%3E") center bottom / 12px 10px no-repeat;
  mask: linear-gradient(#000 0 0) center top / 2px calc(100% - 9px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M0 0 12 0 6 10z'/%3E%3C/svg%3E") center bottom / 12px 10px no-repeat;
}
.howto-steps.anim.vertical::before { bottom: auto; height: var(--line); }
.howto-steps.anim.complete::after { background: var(--green); }

/* Díjszabás ugrólinkek */
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 600; font-size: 14px; color: var(--ink); }
.jump a:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 600px) {
  .jump { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .jump a { white-space: nowrap; }
}

.cta { margin-top: 32px; background: var(--night); border-radius: 18px; padding: 48px 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta .label { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--night-text); }
.cta h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -1px; margin-top: 14px; }
.cta p { color: var(--night-text); font-size: 18px; margin-top: 12px; }
@media (max-width: 600px) { .cta { padding: 32px 24px; } }

/* Aloldalak fejléce */
.page-head { background: var(--paper); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 5px; background: var(--red); }
.page-head .wrap { padding-block: 56px 52px; display: flex; flex-direction: column; gap: 12px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.12; font-weight: 800; letter-spacing: -1.4px; }
.page-head p { font-size: 18px; max-width: 720px; }

.content { padding-block: 56px 96px; display: flex; flex-direction: column; gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.box { border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-margin-top: 110px; }
.box.soft { background: var(--paper); border-color: transparent; }
.box h2 { font-size: 22px; font-weight: 800; }
.box .hint { font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .box { padding: 22px; } }

.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--green-soft); border-radius: var(--radius); padding: 20px 26px; color: #1F3D24; }
.notice .txt { display: flex; gap: 14px; align-items: flex-start; }
.notice .txt svg { flex: none; margin-top: 1px; }
.placeholder { border: 2px dashed #CFCFCA; border-radius: var(--radius); padding: 22px 26px; color: var(--muted); background: var(--white); }
.placeholder strong { color: var(--ink); }

.price { width: 100%; border-collapse: collapse; font-size: 15px; }
.price td { padding: 13px 0; border-bottom: 1px solid #ECECE8; vertical-align: top; }
.price td:last-child { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; padding-left: 16px; font-variant-numeric: tabular-nums; }
.price tr:last-child td { border-bottom: 0; }
.price.kv td:last-child { white-space: normal; overflow-wrap: anywhere; }

.tag { display: inline-block; flex: none; font-weight: 800; border-radius: 8px; padding: 5px 10px; font-size: 14px; color: var(--white); background: var(--red); }
.tag.dark { background: var(--ink); }
.row { display: flex; gap: 14px; align-items: flex-start; }

.prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; }
.prose h2 { font-size: 26px; font-weight: 800; margin-top: 18px; }
.list-check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; }
.list-check li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 999px; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007F15' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Finom animációk – csak ha a szkript bekapcsolta (.anim-on), és a látogató nem kérte a mozgás csökkentését */
@keyframes riseIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes photoIn { from { opacity: 0; scale: 1.03; } to { opacity: 1; scale: 1; } }
@keyframes badgeIn { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }
.anim-on .hero:not(.in) .hero-copy > *, .anim-on .hero:not(.in) .photo, .anim-on .hero:not(.in) .badge { opacity: 0; }
.anim-on .hero.in .hero-copy > * { animation: riseIn .7s cubic-bezier(.2, .7, .2, 1) both; }
.anim-on .hero.in .hero-copy > :nth-child(2) { animation-delay: .08s; }
.anim-on .hero.in .hero-copy > :nth-child(3) { animation-delay: .16s; }
.anim-on .hero.in .hero-copy > :nth-child(4) { animation-delay: .24s; }
.anim-on .hero.in .hero-copy > :nth-child(5) { animation-delay: .32s; }
.anim-on .hero.in .photo { animation: photoIn .9s ease .1s both; }
.anim-on .hero.in .badge { animation: badgeIn .5s cubic-bezier(.3, 1.5, .5, 1) .55s both; }
.badge strong { font-variant-numeric: tabular-nums; }

/* Csomagolási tippek */
.tip { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 36px; align-items: start; }
.tip.noimg { grid-template-columns: minmax(0, 1fr); }
.tip.noimg .tip-body { max-width: 820px; }
@media (max-width: 860px) { .tip { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.g-main { width: 100%; aspect-ratio: 4 / 3; max-width: 100%; object-fit: contain; background: var(--panel); border-radius: 12px; }
.g-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.g-thumbs button { width: 76px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--panel); cursor: pointer; opacity: .7; }
.g-thumbs button:hover { opacity: 1; }
.g-thumbs button[aria-pressed="true"] { border-color: var(--red); opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tip-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tip-body h2 { font-size: 24px; }
.list-check.one { grid-template-columns: minmax(0, 1fr); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; }
.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }

/* Űrlapok */
.form { border: 1px solid var(--line); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
@media (max-width: 600px) { .form { padding: 22px; } }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); min-width: 0; }
.field input, .field textarea, .field select { font: inherit; font-weight: 400; font-size: 15px; color: var(--ink); border: 1px solid #CDCDC8; border-radius: 8px; padding: 13px 14px; background: var(--white); width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.field .err { display: none; font-weight: 500; font-size: 13px; color: var(--red); }
.field.invalid input, .field.invalid textarea, .field.invalid select,
.field.invalid input:focus, .field.invalid textarea:focus, .field.invalid select:focus { border-color: var(--red); outline-color: var(--red); }
.field.invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); flex: none; }
.check.invalid span { color: var(--red); }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .seg { grid-template-columns: minmax(0, 1fr); } }
.seg button { text-align: left; border-radius: 12px; padding: 16px 18px; cursor: pointer; font-family: inherit; background: var(--white); color: var(--ink); border: 2px solid #E0E0DC; }
.seg button[aria-pressed="true"] { background: var(--green-soft); color: #005C10; border-color: var(--green); }
.seg b { display: block; font-size: 17px; font-family: var(--font-display); }
.seg small { display: block; font-size: 13px; margin-top: 2px; }
.success { background: var(--green-soft); color: #1F3D24; border-radius: 10px; padding: 16px 18px; font-weight: 600; }
.success:focus, .success:focus-visible { outline: 2px solid var(--green); outline-offset: 0; }
.form-alert:focus, .form-alert:focus-visible { outline: 2px solid var(--red); outline-offset: 0; }
.req { font-size: 13px; color: var(--muted); }
.form-alert { background: #FDECEC; color: #8A0000; border-radius: 10px; padding: 16px 18px; font-weight: 600; }
.pf-variants { border: 0; margin: 0; padding: 0; min-width: 0; }
.pf-variants legend { font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 12px; }
.check a { color: var(--green-dark, #005C10); text-decoration: underline; }

.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.split > .main { flex: 999 1 560px; min-width: 0; }
.split > .side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.dark-box { background: var(--night); color: var(--night-text); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.dark-box h2 { color: var(--white); font-size: 20px; }
.dark-box .big { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--white); }
.dark-box a { color: var(--white); }

.map-card { background: var(--panel); border-radius: 16px; min-height: 260px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; padding: 28px; position: relative; overflow: hidden; }
.map-card::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, transparent 49%, #DDDDD8 49% 51%, transparent 51%) 0 0 / 120px 100%,
  linear-gradient(0deg, transparent 49%, #DDDDD8 49% 51%, transparent 51%) 0 0 / 100% 90px; opacity: .8; }
.map-card::after { content: ""; position: absolute; left: -10%; right: -10%; top: 38%; height: 18px; background: #D2D2CC; transform: rotate(-8deg); }
.map-card > * { position: relative; z-index: 1; }
.map-card p { background: rgba(255,255,255,.94); border-radius: 10px; padding: 12px 14px; }
.map-consent { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: rgba(255,255,255,.94); border-radius: 10px; padding: 12px 14px; }
.map-consent small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.map-card.is-live { padding: 0; justify-content: flex-start; gap: 0; background: var(--white); border: 1px solid #E4E4E0; }
.map-card.is-live::before, .map-card.is-live::after, .map-card.is-live .pin, .map-card.is-live .map-consent { display: none; }
.map-card.is-live iframe { display: block; width: 100%; height: 300px; border: 0; }
.map-card.is-live p { background: none; padding: 16px 18px 0; }
.map-card.is-live .btn { margin: 12px 18px 18px; border: 1px solid #DCDCD8; }
.map-wide { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); margin-bottom: 24px; }
.map-frame { position: relative; height: 230px; background: var(--panel); display: flex; align-items: center; justify-content: center; padding: 20px; }
.map-frame.is-live { padding: 0; display: block; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-frame:not(.is-live)::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, transparent 49%, #DDDDD8 49% 51%, transparent 51%) 0 0 / 120px 100%,
  linear-gradient(0deg, transparent 49%, #DDDDD8 49% 51%, transparent 51%) 0 0 / 100% 90px; opacity: .8; }
.map-frame > .map-consent { position: relative; z-index: 1; max-width: 420px; }
.map-frame.is-live:not(.is-active) iframe, .map-card.is-live:not(.is-active) iframe { pointer-events: none; }
.map-frame.is-live, .map-card.is-live { cursor: pointer; }
.map-frame.is-active, .map-card.is-active { cursor: auto; }
.map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 20px; }
.map-foot p { margin: 0; flex: 1 1 280px; }
.map-foot .btn { border: 1px solid #DCDCD8; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--red); }
/* Süti-ablak a sablon színeivel */
#cc-main { --cc-font-family: inherit; --cc-btn-primary-bg: var(--red); --cc-btn-primary-border-color: var(--red); --cc-btn-primary-hover-bg: #A80000; --cc-btn-primary-hover-border-color: #A80000; --cc-btn-secondary-bg: #F1F1EE; --cc-btn-secondary-hover-bg: #E4E4E0; --cc-toggle-on-bg: var(--green); --cc-modal-border-radius: 16px; --cc-btn-border-radius: 10px; }
.map-card[data-embed] .pin { left: auto; right: 14%; top: auto; bottom: 34%; }
.pin { width: 44px; height: 44px; border-radius: 999px 999px 999px 0; transform: rotate(-45deg); background: var(--red); position: absolute !important; left: 46%; top: 22%; box-shadow: 0 8px 16px rgba(0,0,0,.2); }

.video { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; background: var(--panel); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; padding: 12px; }

/* Lábléc */
.site-footer { background: var(--paper); }
.site-footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; padding-block: 56px 44px; }
.site-footer .col { display: flex; flex-direction: column; gap: 12px; padding: 0 40px; min-width: 0; }
.site-footer .col:first-child { padding-left: 0; }
.site-footer .col + .col { border-left: 1px solid #DCDCD8; }
.site-footer h2 { font-size: 18px; font-weight: 700; }
.site-footer .ci { display: flex; gap: 14px; align-items: center; }
.site-footer .bottom { border-top: 1px solid #DCDCD8; padding-block: 22px 32px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.site-footer .bottom.is-single { justify-content: center; text-align: center; }
@media (max-width: 860px) {
  .site-footer .cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-footer .col { padding: 0; }
  .site-footer .col + .col { border-left: 0; border-top: 1px solid #DCDCD8; padding-top: 24px; }
}

/* Support chat */
.chat-fab { position: fixed; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 60px; height: 60px; border-radius: 999px; background: var(--red); color: var(--white); border: 0; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0,0,0,.22); cursor: pointer; }
.chat-fab:hover { background: var(--red-dark); }
.chat-fab { transition: transform .25s ease, opacity .25s ease, background .15s; }
.chat-fab.fab-hide { transform: translateY(calc(100% + 32px)); opacity: 0; pointer-events: none; }
/* „Segíthetünk?” buborék a chat gomb fölött (csak asztali nézetben) */
.chat-hint { position: fixed; z-index: 39; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(98px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 100% 100%; transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .3, 1.2); }
.chat-hint.is-shown { opacity: 1; transform: none; }
.chat-hint-text { position: relative; border: 0; cursor: pointer; background: var(--white); color: var(--ink); font: 600 15px/1.2 var(--font-body); padding: 13px 18px 13px 16px; border-radius: 14px; box-shadow: 0 10px 30px rgba(36,40,44,.16), 0 0 0 1px rgba(36,40,44,.06); display: inline-flex; align-items: center; gap: 10px; }
.chat-hint-text::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); flex: none; }
.chat-hint-text::after { content: ""; position: absolute; right: 22px; bottom: -6px; width: 12px; height: 12px; background: var(--white); transform: rotate(45deg); box-shadow: 3px 3px 6px rgba(36,40,44,.06); border-radius: 0 0 3px 0; }
.chat-hint-text:hover { color: var(--red); }
.chat-hint-close { position: absolute; top: -9px; left: -9px; width: 22px; height: 22px; border-radius: 999px; border: 0; padding: 0; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .2s; }
.chat-hint:hover .chat-hint-close, .chat-hint-close:focus-visible { opacity: 1; }
.chat-hint-close svg { width: 12px; height: 12px; }
@media (max-width: 900px), (hover: none) { .chat-hint { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .chat-hint { transition: opacity .2s; transform: none; } }
@media (max-width: 600px) {
  .chat-fab { width: 50px; height: 50px; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .chat-fab svg { width: 22px; height: 22px; }
  .chat-panel { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .site-footer .bottom { padding-bottom: 84px; }
}
.chat-panel { position: fixed; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: min(340px, calc(100vw - 32px)); background: var(--white); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.22); overflow: hidden; }
.chat-panel header { background: var(--ink); color: var(--white); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chat-panel header b { font-family: var(--font-display); font-size: 17px; }
.chat-panel header button { background: transparent; border: 0; color: var(--white); cursor: pointer; width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.chat-panel .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.chat-panel .opt { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.chat-panel .opt:hover { border-color: var(--ink); }
.chat-panel .opt b { display: block; color: var(--ink); }
.chat-panel .opt span { color: var(--muted); font-size: 13px; }
.chat-panel .note { font-size: 12px; color: var(--muted); }

/* ===================== Joomla-specifikus kiegészítések ===================== */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--white); }
main:focus { outline: none; }
.logo-img { height: 40px; width: auto; }
.site-footer .small { font-size: 14px; }
.site-footer .ci.strong { font-weight: 600; }
.site-footer .col > a:not(.ci):not(.logo) { color: var(--ink); }
.site-footer .col > a:not(.ci):not(.logo):hover, .site-footer .col > a[aria-current="page"] { color: var(--red); }
.nav .nav-heading { color: var(--muted); font-size: 13px; }
.nav a.sub { font-weight: 500; padding-left: 14px; }

/* Rendszerüzenetek (joomla-alert) */
.sys-msg { padding-top: 24px; }
.sys-msg joomla-alert, .sys-msg .alert { display: block; border-radius: 12px; padding: 16px 20px; margin: 0; background: var(--green-soft); color: #1F3D24; border: 0; }
.sys-msg joomla-alert[type="danger"], .sys-msg joomla-alert[type="error"], .sys-msg .alert-danger { background: #FCEDED; color: #7A0000; }
.sys-msg joomla-alert[type="warning"], .sys-msg .alert-warning { background: #FFF6E0; color: #5C4300; }
.sys-msg .alert-heading { font-family: var(--font-display); font-weight: 700; }
.sys-msg .joomla-alert--close, .sys-msg .btn-close { float: right; background: transparent; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: inherit; }

/* Szerkesztőből érkező, osztály nélküli tartalom (cikkek): a sablon formázza, kód nélkül */
.rich { display: flex; flex-direction: column; gap: 16px; min-width: 0; font-size: 17px; }
.rich > * { margin: 0; }
.rich > :is(p, ul, ol, h2, h3, h4, blockquote, table) { max-width: 820px; }
.rich h2 { font-size: clamp(22px, 2.4vw, 26px); font-weight: 800; letter-spacing: -0.3px; margin-top: 12px; }
.rich h3 { font-size: 20px; font-weight: 800; margin-top: 6px; }
.rich > :first-child { margin-top: 0; }
.rich strong { color: var(--ink); }
/* felsorolás → zöld pipás lista */
.rich ul:not([class]) { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rich ul:not([class]) > li { position: relative; padding-left: 30px; }
.rich ul:not([class]) > li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 999px; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007F15' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
/* számozott lista → lépések sötét körben */
.rich ol:not([class]) { list-style: none; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.rich ol:not([class]) > li { counter-increment: s; position: relative; padding-left: 42px; min-height: 28px; }
.rich ol:not([class]) > li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.rich blockquote { border-left: 4px solid var(--green); background: var(--green-soft); padding: 14px 18px; border-radius: 0 12px 12px 0; color: #1F3D24; }
.rich img { border-radius: 12px; height: auto; max-width: 100%; }
.rich table:not([class]) { border-collapse: collapse; width: 100%; font-size: 15px; }
.rich table:not([class]) :is(td, th) { padding: 10px 12px; border-bottom: 1px solid #ECECE8; text-align: left; }
/* csak a folyó szövegben lévő, osztály nélküli linkek pirosak és aláhúzottak (gombok, menük, kártyák nem) */
.content :is(p, li, td, dd) > a:not([class]), .content :is(p, li, td, dd) > :is(strong, em, span) > a:not([class]) { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.box .hint.rich { font-size: 14px; gap: 8px; }
.tip-body .rich { font-size: 16px; }

/* Kiemelt zöld sáv a kategória leírásából: szöveg + (a benne lévő link) zöld gomb */
.rich-notice { color: #1F3D24; }
.rich-notice > p { margin: 0; flex: 1 1 360px; position: relative; }
.rich-notice > p:first-child { padding-left: 38px; }
.rich-notice > p:first-child::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007F15' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v5h1'/%3E%3C/svg%3E") center / 24px no-repeat; }
.rich-notice a { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: var(--white) !important; text-decoration: none !important; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 10px; white-space: nowrap; }
.rich-notice a:hover { background: #006611; }
.rich-notice > p:has(> a:only-child) { flex: 0 0 auto; padding-left: 0; }
.rich-notice > p:has(> a:only-child)::before { display: none; }

/* Csomagkövetés oldal: a szövegben lévő felsorolás azonosító-típus kártyák */
.info-boxes { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-boxes.is-above { margin: 0 0 28px; }
.content > .info-boxes { margin: 0; }
.info-boxes.cols-1 { grid-template-columns: minmax(0, 1fr); }
.info-boxes.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-boxes > li { background: var(--paper); border-radius: 12px; padding: 18px 20px; font-size: 14px; }
.info-boxes > li > strong { display: block; font-size: 15px; margin-bottom: 4px; color: var(--ink); }
@media (max-width: 760px) { .info-boxes, .info-boxes.cols-2 { grid-template-columns: minmax(0, 1fr); } }

/* régi, kódos cikkekhez (amíg át nem írjuk őket) */
.content > table { border-collapse: collapse; width: 100%; font-size: 15px; }
.pf-tippek .content, .pf-arlista .content { gap: 24px; }
.edit-icons { display: flex; justify-content: flex-end; }
.pagination, .pagenav { display: flex; gap: 8px; list-style: none; padding: 0; }

/* Hibaoldal */
.error-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.error-debug { font-size: 13px; overflow-x: auto; }

/* Chat panel: az „Élő chat” gomb a linkekkel azonos kinézetű */
.chat-panel button.opt { width: 100%; background: var(--white); font: inherit; text-align: left; color: var(--ink); cursor: pointer; }
/* Chat-sor: nagyobb, kiemelt kártya Online/Offline jelzéssel */
.chat-panel .opt-live { border: 2px solid var(--green); background: var(--white); padding: 18px 16px; gap: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.chat-panel .opt-live svg { flex: none; width: 30px; height: 30px; color: var(--green); }
.chat-panel .opt-live b { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.25; }
.chat-panel .opt-live > span > span { font-size: 14px; }
.chat-panel .opt-live .on { display: inline-flex; align-items: center; gap: 6px; font: normal 700 11px var(--font-body); text-transform: uppercase; letter-spacing: 1px; background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 2px 9px; margin-left: 8px; vertical-align: 3px; }
.chat-panel .opt-live .on span { color: inherit; font-size: inherit; }
.chat-panel .opt-live .on[hidden] { display: none; }
.chat-panel .opt-live .on i { width: 7px; height: 7px; border-radius: 50%; background: #1DB954; }
.chat-panel .opt-live.is-offline { border-color: var(--red); }
.chat-panel .opt-live.is-offline svg { color: var(--red); }
.chat-panel .opt-live.is-offline .on { background: #FBE9E9; color: var(--red); }
.chat-panel .opt-live.is-offline .on i { background: var(--red); }
.chat-panel .others { margin: 6px 0 -2px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.chat-panel .opt-live[aria-busy="true"] { opacity: .6; cursor: progress; }

/* Galéria nagyítás (lightbox) */
.gallery .g-main { cursor: zoom-in; }
.lightbox { border: 0; padding: 0; margin: auto; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: transparent; overflow: hidden; }
.lightbox::backdrop { background: rgba(20, 22, 24, .92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: min(1400px, calc(100vw - 140px)); max-height: calc(100vh - 120px); width: auto; height: auto; object-fit: contain; border-radius: 10px; background: var(--white); }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #E6E7E8; font-size: 14px; padding: 0 80px; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
@media (max-width: 600px) {
  .lightbox img { max-width: calc(100vw - 24px); max-height: calc(100vh - 160px); }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 56px; translate: none; }
  .lightbox .lb-cap { bottom: 20px; padding: 0 16px; }
}
html.lb-open { overflow: hidden; }

/* Nyomtatás */
@media print {
  .topbar, .site-header .nav, .menu-toggle, .chat-fab, .chat-panel, .lightbox, .site-footer .cols { display: none !important; }
  .site-header { position: static; }
}

/* Élő chat (Tawk.to): amíg a látogató nem kéri, a Tawk saját elemei rejtve maradnak. */
body.pf-chat-off #min-widget,
body.pf-chat-off #max-widget,
body.pf-chat-off #chat-bubble,
body.pf-chat-off #message-preview,
body.pf-chat-off #branding-widget { display: none !important; }

/* A sticky fejléc ne takarja el a címet, ha egy űrlapra ugrunk (pl. a Chat gombról) */
form.form { scroll-margin-top: 110px; }
