/* Portal Theme – full design system. CSS variables are injected by functions.php from portal-config.php */

:root {
  --primary-light: color-mix(in srgb, var(--primary) 80%, white);
  --gold-bg: #FFFDE7;
  --gold-border: color-mix(in srgb, var(--gold) 90%, #a00);
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --muted: #6B7280;
  --border: #E5E7EB;
  --sidebar-width: 280px;
  --max-w: 1280px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-card: 10px;
  --r-badge: 999px;
  --tag-bg: #EEF3EE;
  --tag-color: var(--primary);
  --sh-sm: 0 1px 3px rgba(0,0,0,.08);
  --sh-md: 0 4px 16px rgba(0,0,0,.12);
  --sh-lg: 0 8px 32px rgba(0,0,0,.16);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body), sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }
img { max-width: 100%; height: auto; }

/* ═══ HEADER ═══ */
.portal-header { position: sticky; top: 0; z-index: 999; background: white; box-shadow: var(--sh-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .7rem; }
.logo-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; font-family: var(--font-display), sans-serif; }
.logo-icon img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; }
.logo-text { font-family: var(--font-display), sans-serif; font-size: 1.25rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.nav-home { font-size: .9rem; font-weight: 600; color: var(--text); transition: color .2s; margin-left: 1.5rem; }
.nav-home:hover { color: var(--primary); }
.portal-nav { display: flex; align-items: center; gap: 1.8rem; margin-left: auto; }
.portal-nav a { font-size: .9rem; font-weight: 600; color: var(--text); transition: color .2s; }
.portal-nav a:hover { color: var(--primary); }
.header-nav-link { font-size: .9rem; font-weight: 600; color: var(--text) !important; }
.header-nav-link:hover { color: var(--primary) !important; }
.header-cta { background: var(--accent); color: white !important; padding: .75rem 1.1rem; border-radius: var(--r-sm); }
.hamburger { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: white; border-radius: var(--r-sm); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--primary); transition: .25s; }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══ BREADCRUMB ═══ */
.breadcrumb-nav { padding: 1rem 0 0; font-size: .85rem; color: var(--muted); }
.breadcrumb-nav ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; gap: .3rem; }
.breadcrumb-nav a { color: var(--primary); font-weight: 600; }
.breadcrumb-nav a:hover { text-decoration: underline; }

/* ═══ PAGE LAYOUT ═══ */
.page-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 2rem auto 4rem;
  padding: 0 1rem;
  align-items: start;
}

/* ═══ PAGE HEADER ═══ */
.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-family: var(--font-display), sans-serif; font-size: 2.8rem; line-height: 1.05; color: var(--text); margin-bottom: .6rem; }
.page-header .intro { color: var(--muted); font-size: 1rem; max-width: 680px; }
.count-badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--tag-bg); color: var(--tag-color); padding: .35rem .8rem; border-radius: var(--r-badge); font-size: .85rem; font-weight: 700; margin-bottom: .8rem; }

/* ═══ FILTER BAR ═══ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.2rem;
  background: white;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  box-shadow: var(--sh-sm);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1; }
.chip {
  height: 36px;
  padding: 0 1rem;
  border: 1px solid var(--border);
  background: white;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  color: var(--muted);
  font-family: var(--font-body), sans-serif;
}
.chip:hover, .chip.is-active { background: var(--primary); color: white; border-color: var(--primary); }
.filter-sort select { height: 36px; padding: 0 .8rem; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: .85rem; font-family: var(--font-body), sans-serif; color: var(--text); cursor: pointer; background: white; }
.filter-count { font-size: .85rem; color: var(--muted); white-space: nowrap; margin-left: auto; }

/* ═══ COMPANY CARDS ═══ */
.company-card {
  background: white;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
.company-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.company-card.is-featured {
  border: 2px solid var(--gold-border);
  background: var(--gold-bg);
  box-shadow: 0 4px 20px rgba(249,168,37,.15);
}
.company-card.is-featured:hover { box-shadow: 0 8px 32px rgba(249,168,37,.25); }

.featured-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: #5D4037;
  padding: .3rem .8rem; border-radius: var(--r-badge);
  font-size: .78rem; font-weight: 700;
  display: flex; align-items: center; gap: .3rem;
}

.card-body { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.4rem; align-items: start; }
.card-logo {
  width: 64px; height: 64px; border-radius: var(--r-sm);
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display), sans-serif; font-size: 1.6rem; font-weight: 700; flex-shrink: 0;
  overflow: hidden;
}
.card-logo img { width: 100%; height: 100%; object-fit: cover; }
.is-featured .card-logo { background: var(--gold-border); }
.card-info { flex: 1; min-width: 0; }
.card-name { font-family: var(--font-display), sans-serif; font-size: 1.9rem; line-height: 1.1; margin-bottom: .3rem; }
.card-address { font-size: .88rem; color: var(--muted); margin-bottom: .6rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.tag { background: var(--tag-bg); color: var(--tag-color); padding: .28rem .6rem; border-radius: var(--r-badge); font-size: .78rem; font-weight: 600; }
.is-featured .tag { background: rgba(249,168,37,.15); color: #5D4037; }
.card-desc { font-size: .92rem; color: var(--text); line-height: 1.55; margin-bottom: 1rem; }
.card-desc a { display: inline-flex; align-items: center; gap: .25rem; color: #b84a00; background: rgba(230,81,0,.1); border: 1px solid rgba(230,81,0,.35); border-radius: 999px; padding: .1rem .6rem; font-size: .82rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s; }
.card-desc a:hover { background: rgba(230,81,0,.2); }
.card-rating { display: flex; align-items: center; gap: .4rem; margin-bottom: .5rem; font-size: .85rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: .05em; }

.card-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.btn {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: .6rem 1.1rem; border-radius: var(--r-sm);
  font-weight: 700; font-size: .88rem; transition: all .2s; border: none; cursor: pointer; gap: .4rem;
  font-family: var(--font-body), sans-serif;
}
.btn-call { background: var(--accent); color: white; }
.btn-call:hover { filter: brightness(.9); }
.btn-web { background: var(--primary); color: white; }
.btn-web:hover { filter: brightness(1.1); }
.btn-profile { border: 1.5px solid var(--border); color: var(--text); background: white; }
.btn-profile:hover { background: var(--bg); }

/* ═══ SINGLE CÉG PAGE ═══ */
.single-ceg-header {
  background: white; border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
}
.single-ceg-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; margin-top: 1.5rem; }
.single-ceg-logo {
  width: 96px; height: 96px; border-radius: var(--r-md);
  background: var(--primary); color: white; display: flex;
  align-items: center; justify-content: center;
  font-family: var(--font-display), sans-serif; font-size: 2rem; font-weight: 700;
  flex-shrink: 0; overflow: hidden;
}
.single-ceg-info { flex: 1; min-width: 0; }
.single-ceg-info h1 { font-family: var(--font-display), sans-serif; font-size: 2.8rem; line-height: 1.05; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; margin-top: 1.5rem; }
.contact-item { background: white; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 1rem 1.2rem; }
.contact-item .label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .3rem; }
.contact-item .value { font-size: .95rem; font-weight: 600; color: var(--text); }
.contact-item a.value { color: var(--primary); }

.services-section { margin-top: 2rem; }
.services-section h2 { font-family: var(--font-display), sans-serif; font-size: 1.8rem; margin-bottom: 1rem; }
.service-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.service-chip { background: var(--tag-bg); color: var(--tag-color); padding: .45rem .9rem; border-radius: var(--r-badge); font-size: .88rem; font-weight: 600; }

/* ═══ SIDEBAR ═══ */
.portal-sidebar {
  position: sticky; top: 88px;
  display: flex; flex-direction: column; gap: 1rem;
}
.ad-card {
  background: white; border-left: 4px solid var(--primary);
  border-radius: var(--r-md); padding: 1.2rem;
  box-shadow: var(--sh-sm); transition: box-shadow .2s, transform .2s;
}
.ad-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.ad-card h3 { font-family: var(--font-display), sans-serif; font-size: 1.5rem; color: var(--primary); margin-bottom: .5rem; }
.ad-card p { font-size: .88rem; color: var(--muted); }
.ad-card ul { list-style: none; margin: .7rem 0; }
.ad-card ul li { font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.ad-btn {
  display: block; margin-top: .8rem; background: var(--accent); color: white;
  padding: .75rem 1rem; border-radius: var(--r-sm);
  font-weight: 700; font-size: .88rem; text-align: center;
}
.ad-btn:hover { filter: brightness(.9); }
.ad-card--kiemelt { border-left: 4px solid var(--gold); background: var(--gold-bg); position: relative; margin-top: 1rem; }
.ad-card--kiemelt h3 { color: #7a5800; }
.ad-card--kiemelt p, .ad-card--kiemelt ul li { color: #6b4e00; }
.ad-card-badge { display: inline-block; background: var(--gold); color: #fff; font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: var(--r-badge); margin-bottom: .5rem; }
.ad-btn--gold { background: var(--gold); color: white; }
.sidebar-section-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .6rem; }
.related-links { background: white; border-radius: var(--r-md); padding: 1.2rem; box-shadow: var(--sh-sm); }
.related-links a { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--primary); font-weight: 600; padding: .35rem 0; border-bottom: 1px solid var(--border); }
.related-links a:last-child { border-bottom: none; }
.related-links a:hover { text-decoration: underline; }

/* ═══ SEO BLOKK ═══ */
.seo-block { margin-top: 2.5rem; background: white; border-radius: var(--r-md); border: 1px solid var(--border); overflow: hidden; }
.seo-block summary { padding: 1rem 1.4rem; font-weight: 600; font-size: .95rem; cursor: pointer; color: var(--primary); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.seo-block summary::-webkit-details-marker { display: none; }
.seo-block summary::after { content: "▼"; font-size: .8rem; transition: transform .2s; }
.seo-block[open] summary::after { transform: rotate(180deg); }
.seo-content { padding: 0 1.4rem 1.4rem; font-size: .92rem; line-height: 1.7; color: var(--text); }
.seo-content p { margin-bottom: .8rem; }

/* ═══ KAPCSOLÓDÓ KERESÉSEK ═══ */
.related-searches { margin-top: 2rem; }
.related-searches h3 { font-family: var(--font-display), sans-serif; font-size: 1.5rem; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip-link {
  padding: .5rem 1rem; border: 1.5px solid var(--primary);
  border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--primary); transition: all .2s;
}
.chip-link:hover { background: var(--primary); color: white; }

/* ═══ FŐOLDAL ═══ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 60%, #000) 100%);
  color: white; padding: 5rem 0 4rem; text-align: center;
}
.hero h1 { font-family: var(--font-display), sans-serif; font-size: 3.5rem; line-height: 1; margin-bottom: 1rem; color: white; }
.hero h2, .hero p, .hero span { color: white; }
.hero p { font-size: 1.15rem; opacity: .85; max-width: 580px; margin: 0 auto 2rem; }
.hero-search { display: flex; gap: .5rem; max-width: 520px; margin: 0 auto; }
.hero-search input {
  flex: 1; height: 52px; padding: 0 1.2rem; border-radius: var(--r-sm);
  border: none; font-size: 1rem; font-family: var(--font-body), sans-serif;
}
.hero-search button {
  height: 52px; padding: 0 1.5rem; background: var(--accent); color: white;
  border: none; border-radius: var(--r-sm); font-size: 1rem; font-weight: 700; cursor: pointer;
}
.section-title { font-family: var(--font-display), sans-serif; font-size: 2.2rem; margin-bottom: 1.5rem; }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 3rem; }
.region-card {
  background: white; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 1.2rem; text-align: center; transition: all .2s; box-shadow: var(--sh-sm);
}
.region-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); border-color: var(--primary); }
.region-card .region-name { font-family: var(--font-display), sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.region-card .region-count { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.stats-bar { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.5rem 0; margin: 2rem 0; }
.stats-inner { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-display), sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: .85rem; color: var(--muted); }

/* ═══ FOOTER ═══ */
.portal-footer { margin-top: 5rem; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 60%, #000), var(--primary)); color: white; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.6; }
.portal-footer h4 { font-family: var(--font-display), sans-serif; font-size: 1.5rem; margin-bottom: 1rem; }
.portal-footer ul { list-style: none; }
.portal-footer li { margin-bottom: .6rem; }
.portal-footer li a { color: rgba(255,255,255,.75); font-size: .9rem; }
.portal-footer li a:hover { color: white; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; color: rgba(255,255,255,.6); font-size: .85rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { color: rgba(255,255,255,.6); font-size: .85rem; text-decoration: none; }
.footer-nav a:hover { color: white; }

/* ═══ NO RESULTS ═══ */
.no-results { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.no-results h2 { font-family: var(--font-display), sans-serif; font-size: 1.8rem; margin-bottom: .5rem; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .portal-sidebar { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-inner { min-height: 64px; }
  .hamburger { display: flex; }
  .nav-home { display: none; }
  .portal-nav { position: fixed; top: 64px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; background: white; padding: .5rem 1rem 1rem; box-shadow: var(--sh-md); z-index: 998; }
  .portal-nav.is-open { display: flex; }
  .portal-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
  .page-header h1 { font-size: 2rem; }
  .card-body { grid-template-columns: 1fr; }
  .card-logo { display: none; }
  .card-actions { flex-direction: column; }
  .btn { width: 100%; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-count { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .hero-search { flex-direction: column; }
  .hero-search button { width: 100%; }
  .stats-inner { gap: 1.5rem; }
}

/* ═══ CFF FORM SYSTEM (shared: adatlap + kiemelt megjelenés) ═══ */
.cff-main { min-width: 0; }
.cff-sidebar { min-width: 0; }
.cff-success-box { text-align: center; padding: 3rem 2rem; background: #f0faf4; border: 2px solid #4caf7e; border-radius: var(--r-md); }
.cff-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: #4caf7e; color: #fff; border-radius: 50%; font-size: 2rem; margin-bottom: 1rem; }
.cff-success-box h2 { color: var(--primary); margin-bottom: .5rem; }
.cff-success-box p  { color: #444; }

.cff-form { display: flex; flex-direction: column; gap: 1.5rem; }
.cff-section { border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.25rem 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; column-gap: 1.5rem; }
.cff-section-title { grid-column: 1 / -1; font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: .25rem; padding: 0; border: none; }
.cff-section-title small { font-weight: 400; color: #777; font-size: .85rem; }

.cff-field { display: flex; flex-direction: column; gap: .35rem; }
.cff-field--full   { grid-column: 1 / -1; }
.cff-field--narrow { max-width: 140px; }
.cff-field label { font-size: .88rem; font-weight: 600; color: #333; }
.cff-field label small { font-weight: 400; color: #888; }
.cff-req { color: var(--accent); }

.cff-field input,
.cff-field select,
.cff-field textarea { border: 1px solid var(--border); border-radius: calc(var(--r-md) / 2); padding: .55rem .75rem; font-size: .95rem; font-family: inherit; background: #fff; color: #222; transition: border-color .2s; width: 100%; box-sizing: border-box; }
.cff-field input:focus,
.cff-field select:focus,
.cff-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,60,46,.12); }
.cff-field input.cff-invalid,
.cff-field select.cff-invalid,
.cff-field textarea.cff-invalid { border-color: var(--accent); }
.cff-field textarea { resize: vertical; min-height: 90px; }
.cff-charcount { font-size: .8rem; color: #888; text-align: right; }
.cff-error { font-size: .82rem; color: var(--accent); min-height: 1.1em; }

.cff-checkboxes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .6rem; }
.cff-checkbox-label { display: flex; align-items: center; gap: .4rem; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: .35rem .85rem; cursor: pointer; font-size: .9rem; transition: background .15s, border-color .15s; }
.cff-checkbox-label:hover { background: #e8f0e8; border-color: var(--primary); }
.cff-checkbox-label input[type="checkbox"] { accent-color: var(--primary); width: 15px; height: 15px; }

.cff-custom-row { display: flex; gap: .5rem; align-items: center; }
.cff-custom-row input { flex: 1; border: 1px solid var(--border); border-radius: calc(var(--r-md) / 2); padding: .45rem .75rem; font-size: .9rem; font-family: inherit; background: #fff; box-sizing: border-box; }
.cff-custom-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,60,46,.12); }
.cff-add-btn { white-space: nowrap; background: var(--primary); color: #fff; border: none; border-radius: calc(var(--r-md) / 2); padding: .45rem 1rem; font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .15s; }
.cff-add-btn:hover { background: #2a5c44; }
.cff-chips-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .55rem; }
.cff-chip { display: inline-flex; align-items: center; gap: .35rem; background: #e8f4ec; border: 1px solid #a8d4b4; border-radius: 20px; padding: .28rem .75rem; font-size: .85rem; color: var(--primary); }
.cff-chip-remove { background: none; border: none; cursor: pointer; color: #666; font-size: 1rem; line-height: 1; padding: 0; margin-left: .1rem; }

.cff-submit-row { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.cff-gdpr { font-size: .8rem; color: #888; margin: 0; max-width: 480px; }

.cff-global-error { background: #fdf0f0; border: 1px solid #e08080; color: #a00; border-radius: var(--r-md); padding: .85rem 1.1rem; font-size: .92rem; }

.cff-info-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.5rem; position: sticky; top: 1.5rem; }
.cff-info-title { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin: 0 0 1.25rem; }
.cff-benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.cff-benefits li { display: flex; gap: .75rem; align-items: flex-start; }
.cff-benefit-icon { font-size: 1.25rem; line-height: 1.3; color: var(--gold); flex-shrink: 0; }
.cff-benefits strong { display: block; font-size: .92rem; color: #222; margin-bottom: .15rem; }
.cff-benefits p      { font-size: .83rem; color: #666; margin: 0; }
.cff-info-note { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .83rem; color: #555; line-height: 1.6; }

@media (max-width: 800px) {
  .cff-sidebar { order: -1; }
}

/* ══════════════════════════════════════════════════════════════════════════
   KIEMELT MEGJELENÉS – WIZARD v2 (fancy minimal redesign)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Page layout ────────────────────────────────────────────────────────── */
.km-fullwidth-wrap { width: 100%; }
.km-fullwidth-main {
  max-width: var(--max-w);
  margin: 2rem auto 5rem;
  padding: 0 1.25rem 3rem;
}
.km-fullwidth-main .page-header { text-align: center; margin-bottom: 2.5rem; }
.km-fullwidth-main .page-header h1 { font-size: 2.2rem; }
.km-fullwidth-main .page-header .intro { max-width: 560px; margin: 0 auto; }
.km-fullwidth-main .count-badge { margin-bottom: .75rem; }

/* ── cff-section override for km context (step 2, 3 fieldsets) ─────────── */
.km-fullwidth-main .cff-section {
  background: white;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.04);
}
.km-fullwidth-main .cff-section-title {
  margin-bottom: 1rem;
}

/* ── Sel badge ──────────────────────────────────────────────────────────── */
.km-sel-badge {
  display: inline-flex; align-items: center;
  background: var(--primary); color: white;
  font-size: .7rem; font-weight: 600; padding: .15rem .6rem;
  border-radius: 999px; margin-left: .7rem; vertical-align: middle;
}

/* ── Wizard progress indicator ──────────────────────────────────────────── */
.km-wizard-progress {
  display: flex; align-items: center;
  margin-bottom: 2.5rem;
  background: white;
  border-radius: var(--r-lg);
  padding: 1rem 1.5rem;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.km-wizard-step-el { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.km-wizard-line { flex: 1; height: 2px; background: #e5e7eb; margin: 16px .75rem 0; transition: background .4s; }
.km-wizard-line.km-wl--done { background: var(--primary); }
.km-ws-num {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .84rem;
  background: white; border: 2px solid #e5e7eb; color: #bbb;
  transition: all .3s; flex-shrink: 0;
}
.km-ws-label { font-size: .74rem; font-weight: 600; color: #bbb; white-space: nowrap; transition: color .3s; }
.km-wizard-step-el.km-wse--active .km-ws-num {
  background: var(--primary); border-color: var(--primary); color: white;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent);
}
.km-wizard-step-el.km-wse--active .km-ws-label { color: var(--primary); font-weight: 700; }
.km-wizard-step-el.km-wse--done .km-ws-num { background: var(--primary); border-color: var(--primary); color: white; }
.km-wizard-step-el.km-wse--done .km-ws-label { color: var(--primary); }

/* ── Region section card ────────────────────────────────────────────────── */
.km-regio-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.04);
}
.km-regio-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
  margin-bottom: 1.1rem; display: flex; align-items: center; gap: .5rem;
}

/* ── Tab bar → card-style type selector ─────────────────────────────────── */
.km-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .55rem;
  margin-bottom: 1.4rem;
  border-bottom: none;
  padding-bottom: 0;
}
.km-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .25rem; padding: .8rem .4rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: white; cursor: pointer;
  font-size: .82rem; font-weight: 600; color: var(--text);
  transition: all .18s; text-align: center; line-height: 1.3;
  position: static; bottom: 0;
}
.km-tab:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, white);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,.08);
}
.km-tab--active {
  background: var(--primary); border-color: var(--primary); color: white;
  box-shadow: 0 3px 10px rgba(27,94,32,.28);
  transform: translateY(-1px);
}
.km-tab--active:hover { background: var(--primary); color: white; }
.km-tab-sub { font-size: .67rem; font-weight: 500; opacity: .7; display: block; }
.km-tab--active .km-tab-sub { opacity: .9; }
.km-tab--blocked { opacity: .45; cursor: not-allowed; }
.km-tab--blocked:hover { background: white; color: var(--text); border-color: var(--border); transform: none; box-shadow: none; }
.km-panel-kerulet--blocked .km-cb-grid { opacity: .3; pointer-events: none; }
.km-panel-kerulet--blocked .km-search-wrap { opacity: .3; pointer-events: none; }
.km-kerulet-blocked-msg {
  background: color-mix(in srgb, var(--primary) 8%, white);
  border: 1.5px solid color-mix(in srgb, var(--primary) 25%, white);
  border-radius: var(--r-md); padding: .65rem 1rem;
  font-size: .88rem; color: var(--primary); font-weight: 500; margin-bottom: .75rem;
}

/* ── Panels ─────────────────────────────────────────────────────────────── */
.km-panel { display: none; }
.km-panel--active { display: block; }

/* ── Search ─────────────────────────────────────────────────────────────── */
.km-search-wrap { position: relative; margin-bottom: .85rem; }
.km-search-wrap svg {
  position: absolute; left: .7rem; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: #bbb; pointer-events: none; flex-shrink: 0;
}
.km-search {
  width: 100%; padding: .58rem .85rem .58rem 2.1rem;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: .88rem; font-family: inherit;
  background: var(--bg); color: var(--text);
  outline: none; margin-bottom: 0;
  transition: border-color .2s, background .2s;
}
.km-search:focus {
  border-color: var(--primary); background: white;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}
.km-search::placeholder { color: #ccc; }

/* ── Chip/pill region grid ──────────────────────────────────────────────── */
.km-cb-grid {
  display: flex; flex-wrap: wrap; gap: .38rem;
  max-height: 220px; overflow-y: auto;
  padding: .1rem; scrollbar-width: thin; scrollbar-color: #ddd transparent;
}
.km-cb-item {
  display: inline-flex; align-items: center;
  padding: .36rem .88rem;
  border: 1.5px solid var(--border); border-radius: 100px;
  cursor: pointer; font-size: .83rem; font-weight: 500;
  transition: all .15s; background: white; user-select: none; color: var(--text);
}
.km-cb-item:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, white);
  color: var(--primary);
}
.km-cb-item--checked {
  background: var(--primary); border-color: var(--primary); color: white;
}
.km-cb-item--checked:hover {
  background: color-mix(in srgb, var(--primary) 88%, black); border-color: color-mix(in srgb, var(--primary) 88%, black);
}
.km-cb-item input[type="checkbox"] { display: none; }
.km-cb-check { display: none; }
.km-cb-check--lg { display: none; }
.km-cb-label { font-size: .83rem; line-height: 1; }
.km-empty { color: var(--muted); font-size: .85rem; padding: .5rem; }

/* ── Flat options (Budapest / Országos) ─────────────────────────────────── */
.km-flat-option {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.15rem 1.4rem;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  cursor: pointer; transition: border-color .18s, background .18s; background: white;
}
.km-flat-option:hover { border-color: var(--primary); }
.km-flat-option input { display: none; }
.km-flat-option:has(input:checked) {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, white);
}
.km-flat-body strong { font-size: .97rem; }
.km-flat-body p { margin: .3rem 0 0; font-size: .86rem; color: var(--muted); }
.km-flat-note { font-size: .79rem !important; color: var(--muted) !important; }

/* ── Inline kosár (lépés 1) ─────────────────────────────────────────────── */
.km-inline-cart {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: .9rem 1.2rem;
  margin: 1.1rem 0 0;
  min-height: 50px;
  transition: border-color .2s, background .2s;
}
.km-inline-cart:has(.km-inline-cart-tags) {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  background: color-mix(in srgb, var(--primary) 3%, white);
}
.km-inline-cart-empty { color: #c0c0c0; font-size: .87rem; margin: 0; }
.km-inline-cart-tags { display: flex; flex-wrap: wrap; gap: .32rem; margin-bottom: .6rem; }
.km-inline-cart-tag {
  background: var(--primary); color: white;
  padding: .22rem .5rem .22rem .68rem;
  border-radius: 100px; font-size: .77rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .28rem;
}
.km-inline-cart-tag button {
  background: rgba(255,255,255,.22); border: none; color: white;
  cursor: pointer; font-size: .78rem; line-height: 1.2;
  border-radius: 50%; width: 15px; height: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s; padding: 0;
}
.km-inline-cart-tag button:hover { background: rgba(255,255,255,.4); }
.km-inline-cart-footer { display: flex; justify-content: flex-end; }
.km-inline-cart-total { font-size: .9rem; color: var(--primary); font-weight: 600; }
.km-inline-cart-total strong { font-size: 1rem; }

/* Várólistás cart tag */
.km-inline-cart-tag--wait { border-color: #f9a825 !important; background: #fffde7 !important; }
.km-tag-wait { margin-left: .15em; }

/* Várólistás megjegyzés a cart alatt */
.km-waitlist-note {
  margin: .5rem 0 .2rem;
  font-size: .82rem;
  color: #7a5c00;
  background: #fffde7;
  border: 1px solid #f9a825;
  border-radius: 6px;
  padding: .55rem .75rem;
  line-height: 1.45;
}

/* Slot-szám badge-ek a checkboxok és tabok mellett */
.km-slot-badge {
  display: inline-block;
  margin-left: .4em;
  font-size: .68rem;
  font-weight: 600;
  padding: .1em .45em;
  border-radius: 3px;
  vertical-align: middle;
  line-height: 1.4;
}
.km-slot-badge--full  { background: #fff3e0; color: #bf360c; }
.km-slot-badge--taken { background: #f5f5f5; color: #666; }

/* ── Upsell cards ───────────────────────────────────────────────────────── */
.km-upsell-area { display: flex; flex-direction: column; gap: .6rem; margin-top: .85rem; }
.km-upsell-card {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--r-md); background: white;
  opacity: 0; transform: translateY(6px);
  transition: opacity .28s, transform .28s;
}
.km-upsell-card--in { opacity: 1; transform: translateY(0); }
.km-upsell-card--hot { border-color: var(--gold); background: linear-gradient(135deg,#fffdf0,#fff8dc); }
.km-upsell-card--info { border-color: #81c784; background: #f1faf2; }
.km-upsell-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .05rem; }
.km-upsell-title { font-weight: 700; font-size: .87rem; margin-bottom: .18rem; }
.km-upsell-desc { font-size: .8rem; color: var(--muted); margin-bottom: .42rem; }
.km-upsell-chips { display: flex; flex-wrap: wrap; gap: .32rem; margin-bottom: .38rem; }
.km-chip-add {
  padding: .26rem .68rem; background: white;
  border: 1.5px solid var(--primary); border-radius: 100px;
  font-size: .76rem; font-weight: 600; color: var(--primary);
  cursor: pointer; transition: background .15s, color .15s;
}
.km-chip-add:hover { background: var(--primary); color: white; }
.km-chip-add--done { background: var(--primary); color: white; opacity: .55; cursor: default; }
.km-upsell-cta {
  display: inline-block; padding: .38rem 1rem;
  background: var(--gold); color: white; border: none;
  border-radius: var(--r-sm); font-size: .82rem; font-weight: 700;
  cursor: pointer; transition: opacity .15s;
}
.km-upsell-cta:hover { opacity: .85; }

/* ── Duration packages ──────────────────────────────────────────────────── */
.km-packages { display: flex; gap: .75rem; flex-wrap: wrap; }
.km-package { flex: 1; min-width: 130px; cursor: pointer; display: flex; flex-direction: column; }
.km-package input[type="radio"] { display: none; }
.km-package-body {
  flex: 1;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  padding: 1.1rem 1rem; text-align: center;
  transition: border-color .2s, background .2s, box-shadow .2s;
  position: relative; background: white;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.km-package input:checked + .km-package-body {
  border-color: var(--gold);
  background: linear-gradient(135deg,#fffbf0,#fff8e1);
  box-shadow: 0 2px 10px rgba(249,168,37,.2);
}
.km-package-title { font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.km-package-price { font-size: .85rem; color: var(--primary); font-weight: 600; margin-bottom: .2rem; min-height: 1.4em; }
.km-package-note { font-size: .75rem; color: var(--muted); }
.km-package-disc { font-size: 1.15rem; font-weight: 800; color: #d32f2f; }
.km-package-badge {
  position: absolute; top: -.65rem; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: white; font-size: .7rem; font-weight: 700;
  padding: .14rem .55rem; border-radius: 999px; white-space: nowrap;
}

/* ── Wizard step nav ────────────────────────────────────────────────────── */
.km-step-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0; gap: 1rem;
}
.km-btn-back {
  background: none; border: 1.5px solid #e5e7eb; color: #777;
  padding: .65rem 1.3rem; border-radius: .5rem;
  font-weight: 600; font-size: .88rem; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.km-btn-back:hover { border-color: var(--primary); color: var(--primary); }
.km-btn-next {
  background: var(--primary); color: white; border: none;
  padding: .75rem 1.75rem; border-radius: .5rem;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: filter .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(27,94,32,.25);
}
.km-btn-next:hover { filter: brightness(.93); box-shadow: 0 4px 12px rgba(27,94,32,.3); }
.km-btn-submit {
  background: var(--primary); color: white; border: none;
  padding: .8rem 2.25rem; border-radius: .5rem;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: filter .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(27,94,32,.25);
}
.km-btn-submit:hover { filter: brightness(.93); }
.km-btn-submit:disabled { opacity: .6; cursor: wait; }

/* ── Summary box (step 3) ───────────────────────────────────────────────── */
.km-summary-box {
  background: white; border-radius: var(--r-lg);
  padding: 1.5rem; margin-bottom: 1.5rem;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.04);
}
.km-summary-box h3 {
  margin: 0 0 1.25rem; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.km-summary-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: .7rem 0; border-bottom: 1px solid #f5f5f5; font-size: .9rem; gap: 1rem;
}
.km-summary-row:last-child { border-bottom: none; }
.km-summary-lbl { color: #999; font-weight: 500; white-space: nowrap; }
.km-summary-val { text-align: right; color: var(--text); font-weight: 500; }
.km-summary-val--big { font-size: 1.35rem; font-weight: 700; color: var(--primary); }
.km-summary-tags { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: flex-end; }
.km-summary-tag {
  background: var(--primary); color: white;
  padding: .2rem .55rem; border-radius: 100px; font-size: .76rem; font-weight: 600;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .km-tabs { grid-template-columns: repeat(3, 1fr); }
  .km-tab-sub { font-size: .64rem; }
  .km-packages { flex-direction: column; }
  .km-fullwidth-main { padding: 0 .85rem 2rem; }
}
