/* Czelli Hírlevél és Segítség — barna, szögletes, oldalt becsúszó doboz */
.czh-doboz, .czh-seg { --czh-barna: #4a2e18; --czh-barna-mely: #36210f; --czh-bezs: #fedfb3; --czh-kreta: #fffbf5; --czh-tinta: #2a1a0c;
  --czh-cim: var(--f-display, "Boita", Georgia, serif); --czh-torzs: var(--f-torzs, "Uniform Pro", Arial, sans-serif); --czh-felirat: var(--f-felirat, "Uniform Pro Condensed", "Arial Narrow", sans-serif); }
.czh-doboz[hidden], .czh-seg[hidden], .czh-doboz [hidden], .czh-seg [hidden] { display: none !important; }

/* ---------- becsúszó doboz ---------- */
.czh-doboz {
  position: fixed; bottom: 1.5rem; z-index: 95; width: min(25rem, calc(100vw - 2rem)); display: grid;
  background: var(--czh-barna); color: var(--czh-kreta); border-radius: 0; font-family: var(--czh-torzs);
  box-shadow: 0 30px 70px -25px rgba(24, 14, 6, .6), 0 0 0 1px rgba(254, 223, 179, .08);
  transform: translateX(calc(100% + 2rem)); opacity: 0; transition: transform .7s cubic-bezier(.16, 1, .3, 1), opacity .5s;
}
.czh-doboz--jobb { right: 1.5rem; }
.czh-doboz--bal { left: 1.5rem; transform: translateX(calc(-100% - 2rem)); }
.czh-doboz.czh-be { transform: none; opacity: 1; }
.czh-doboz--kepes { width: min(38rem, calc(100vw - 2rem)); grid-template-columns: 38% 1fr; }
.czh-kep { position: relative; overflow: hidden; min-height: 100%; background: var(--czh-barna-mely); }
.czh-kep img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.czh-tartalom { padding: 2rem 1.75rem 1.6rem; display: grid; gap: .8rem; align-content: start; }
.czh-kicker { font-family: var(--czh-felirat); font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--czh-bezs); opacity: .85; padding-right: 2rem; }
.czh-cim { margin: 0; font-family: var(--czh-cim); font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.08; letter-spacing: -.015em; color: var(--czh-kreta); }
.czh-cim em { font-style: italic; color: var(--czh-bezs); }
.czh-szoveg { margin: 0; font-size: .95rem; line-height: 1.5; color: rgba(255, 251, 245, .82); }
.czh-x { position: absolute; top: .55rem; right: .55rem; z-index: 2; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; background: none; border: 0; border-radius: 0; color: var(--czh-bezs); cursor: pointer; transition: background .2s, color .2s; }
.czh-x svg { width: 1.15rem; height: 1.15rem; }
.czh-x:hover, .czh-x:focus-visible { background: var(--czh-bezs); color: var(--czh-barna); outline: none; }

.czh-urlap { display: grid; gap: .65rem; margin-top: .35rem; }
.czh-mezo { display: grid; gap: .3rem; }
.czh-mezo > span { font-family: var(--czh-felirat); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(254, 223, 179, .85); }
.czh-mezo > span i { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.czh-mezo input, .czh-mezo textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; padding: .75rem .85rem; border-radius: 0;
  border: 1px solid rgba(254, 223, 179, .35); background: rgba(255, 251, 245, .06); color: var(--czh-kreta); transition: border-color .2s, background .2s;
}
.czh-mezo input::placeholder, .czh-mezo textarea::placeholder { color: rgba(255, 251, 245, .4); }
.czh-mezo input:focus, .czh-mezo textarea:focus { outline: none; border-color: var(--czh-bezs); background: rgba(255, 251, 245, .1); }
.czh-jelolo { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; line-height: 1.45; color: rgba(255, 251, 245, .78); cursor: pointer; }
.czh-jelolo input { appearance: none; -webkit-appearance: none; flex: none; width: 1.05rem; height: 1.05rem; margin: .12rem 0 0; border: 1px solid rgba(254, 223, 179, .6); background: transparent; display: grid; place-items: center; cursor: pointer; }
.czh-jelolo input:checked { background: var(--czh-bezs); border-color: var(--czh-bezs); }
.czh-jelolo input:checked::after { content: ""; width: .28rem; height: .55rem; border: solid var(--czh-barna); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.czh-jelolo a { color: var(--czh-bezs); }
.czh-hibas input, .czh-hibas textarea { border-color: #f0a58a !important; }
.czh-jelolo.czh-hibas input { border-color: #f0a58a; }
.czh-gomb {
  margin-top: .3rem; min-height: 3.1rem; border: 0; border-radius: 0; background: var(--czh-bezs); color: var(--czh-barna);
  font-family: var(--czh-felirat); font-size: 1rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .2s, transform .2s;
}
.czh-gomb:hover { background: #fff0d6; }
.czh-gomb:disabled { opacity: .6; cursor: default; }
.czh-visszajelzes { margin: 0; min-height: 1.1em; font-size: .85rem; color: var(--czh-bezs); }
.czh-visszajelzes:empty { display: none; }
.czh-csapda { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.czh-kesz { display: grid; gap: .6rem; justify-items: start; padding-top: .3rem; }
.czh-pipa { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--czh-bezs); position: relative; }
.czh-pipa::after { content: ""; position: absolute; left: 1rem; top: .62rem; width: .55rem; height: 1rem; border: solid var(--czh-barna); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.czh-kesz-szoveg { margin: 0; font-size: 1rem; line-height: 1.5; }
.czh-kod { margin: 0; padding: .7rem .9rem; border: 1px dashed var(--czh-bezs); font-size: .9rem; }
.czh-kod b { font-family: var(--czh-felirat); font-size: 1.2rem; letter-spacing: .12em; color: var(--czh-bezs); }

@media (max-width: 640px) {
  .czh-doboz, .czh-doboz--kepes { left: 0 !important; right: 0 !important; bottom: 0; width: 100%; grid-template-columns: 1fr; max-height: 88vh; max-height: 88dvh; overflow-y: auto; transform: translateY(105%); box-shadow: 0 -20px 50px -20px rgba(24, 14, 6, .55); }
  .czh-doboz.czh-be { transform: none; }
  .czh-kep { min-height: 0; height: 7.5rem; }
  .czh-tartalom { padding: 1.6rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); }
  .czh-cim { font-size: 1.65rem; }
  .czh-mezo input { font-size: 16px; } /* iOS ne nagyítson rá */
}
@media (prefers-reduced-motion: reduce) { .czh-doboz, .czh-seg-panel, .czh-seg-fatyol { transition: none !important; } }

/* ---------- Segítség: gomb a termékoldalon, lebegő gomb ---------- */
.czh-seg-sor {
  display: flex; align-items: center; gap: .85rem; width: 100%; margin: 0 0 1.5rem; padding: .85rem 1rem; text-align: left; cursor: pointer;
  background: transparent; border: 1px dashed rgba(74, 46, 24, .35); border-radius: 0; color: var(--tinta, #2a1a0c); font: inherit; font-size: .95rem; line-height: 1.4; transition: border-color .2s, background .2s;
}
.czh-seg-sor b { font-weight: 600; color: var(--barna, #4a2e18); margin-right: .25rem; }
.czh-seg-sor:hover { border-style: solid; border-color: var(--barna, #4a2e18); background: rgba(74, 46, 24, .04); }
.czh-seg-kor, .czh-seg-ikon { flex: none; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--barna, #4a2e18); color: var(--arany, #fedfb3); font-family: var(--f-display, Georgia, serif); font-size: 1.25rem; line-height: 1; }
.czh-seg-lebego { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 60; width: 3.25rem; height: 3.25rem; border: 0; border-radius: 50%; background: #4a2e18; color: #fedfb3; font-family: var(--f-display, Georgia, serif); font-size: 1.5rem; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(24, 14, 6, .55); transition: transform .3s; }
.czh-seg-lebego:hover { transform: scale(1.06); }

/* ---------- Segítség-panel (jobbról becsúszik) ---------- */
.czh-seg { position: fixed; inset: 0; z-index: 110; }
.czh-seg-fatyol { position: absolute; inset: 0; background: rgba(36, 22, 10, .45); opacity: 0; transition: opacity .4s; }
.czh-seg-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(31rem, 100%); overflow-y: auto; box-sizing: border-box;
  padding: 2.5rem 2rem 2rem; display: grid; gap: .9rem; align-content: start;
  background: var(--czh-barna); color: var(--czh-kreta); font-family: var(--czh-torzs); transform: translateX(100%); transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}
.czh-seg.czh-be .czh-seg-fatyol { opacity: 1; }
.czh-seg.czh-be .czh-seg-panel { transform: none; }
.czh-seg-ikon { width: 3rem; height: 3rem; font-size: 1.6rem; background: var(--czh-bezs); color: var(--czh-barna); }
.czh-ket { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.czh-adat { margin: 0; font-size: .78rem; color: rgba(255, 251, 245, .6); }
.czh-mezo input[readonly] { opacity: .75; }
html.czh-zarolt { overflow: hidden; }
@media (max-width: 520px) { .czh-ket { grid-template-columns: 1fr; } .czh-seg-panel { padding: 2.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); } }
.czh-doboz--kepes .czh-x { background: rgba(54, 33, 15, .7); }
.czh-doboz--kepes .czh-x:hover { background: var(--czh-bezs); }
/* telefonon kompakt: kép és (nem kötelező) név nélkül, szűkebb térközök */
@media (max-width: 640px) {
  .czh-doboz .czh-kep { display: none; }
  .czh-doboz .czh-mezo:has(input[name="nev"]) { display: none; }
  .czh-doboz .czh-tartalom { gap: .55rem; padding-top: 1.35rem; }
  .czh-doboz .czh-cim { font-size: 1.45rem; padding-right: 2.5rem; }
  .czh-doboz .czh-szoveg { font-size: .9rem; }
  .czh-doboz .czh-mezo > span { display: none; }
  .czh-doboz .czh-gomb { min-height: 2.9rem; }
  .czh-doboz--kepes .czh-x { background: none; }
}

/* ==========================================================================
   1.1 — Világos stílus (Wessex-szerű): krém alap, középre zárt szöveg, kép jobb oldalt
   ========================================================================== */
.czh-doboz--kepes { grid-template-columns: 1fr 40%; }
.czh-doboz--kepes .czh-kep { order: 2; }
.czh-stilus--vilagos { background: #fffbf5; color: var(--czh-tinta); box-shadow: 0 30px 70px -25px rgba(42, 26, 12, .45), 0 0 0 1px rgba(74, 46, 24, .1); }
.czh-stilus--vilagos.czh-doboz--kepes { width: min(46rem, calc(100vw - 2rem)); }
.czh-stilus--vilagos .czh-tartalom { padding: 2.4rem 2.1rem 1.9rem; text-align: center; justify-items: center; gap: .85rem; }
.czh-stilus--vilagos .czh-kicker { color: #94652d; padding: 0; }
.czh-stilus--vilagos .czh-cim { color: #94652d; font-weight: 400; font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.czh-stilus--vilagos .czh-cim em { color: #4a2e18; }
.czh-stilus--vilagos .czh-szoveg { color: #6b5646; max-width: 22rem; }
.czh-stilus--vilagos .czh-urlap { width: 100%; text-align: left; }
.czh-stilus--vilagos .czh-mezo > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.czh-stilus--vilagos .czh-mezo input { background: #efe6d8; border: 1px solid transparent; color: var(--czh-tinta); padding: .9rem 1rem; }
.czh-stilus--vilagos .czh-mezo input::placeholder { color: rgba(74, 46, 24, .5); }
.czh-stilus--vilagos .czh-mezo input:focus { background: #fff; border-color: #4a2e18; }
.czh-stilus--vilagos .czh-jelolo { color: #6b5646; font-size: .78rem; }
.czh-stilus--vilagos .czh-jelolo input { border-color: rgba(74, 46, 24, .45); }
.czh-stilus--vilagos .czh-jelolo input:checked { background: #4a2e18; border-color: #4a2e18; }
.czh-stilus--vilagos .czh-jelolo input:checked::after { border-color: #fffbf5; }
.czh-stilus--vilagos .czh-jelolo a { color: #4a2e18; }
.czh-stilus--vilagos .czh-gomb { background: #4a2e18; color: #fedfb3; }
.czh-stilus--vilagos .czh-gomb:hover { background: #36210f; }
.czh-stilus--vilagos .czh-visszajelzes { color: #a33a1f; text-align: center; }
.czh-stilus--vilagos .czh-x { color: #4a2e18; }
.czh-stilus--vilagos .czh-x:hover { background: #4a2e18; color: #fedfb3; }
.czh-stilus--vilagos.czh-doboz--kepes .czh-x { background: rgba(255, 251, 245, .9); }
.czh-stilus--vilagos .czh-kesz { justify-items: center; text-align: center; }
.czh-stilus--vilagos .czh-pipa { background: #4a2e18; }
.czh-stilus--vilagos .czh-pipa::after { border-color: #fedfb3; }
.czh-stilus--vilagos .czh-kod { border-color: #94652d; }
.czh-stilus--vilagos .czh-kod b { color: #4a2e18; }
@media (max-width: 640px) {
  .czh-doboz--kepes { grid-template-columns: 1fr; }
  .czh-stilus--vilagos .czh-tartalom { padding: 1.5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); }
  .czh-stilus--vilagos.czh-doboz--kepes .czh-x { background: none; }
  .czh-stilus--vilagos { box-shadow: 0 -18px 40px -18px rgba(42, 26, 12, .4); }
}
@media (max-width: 640px) { .czh-stilus--vilagos.czh-doboz--kepes, .czh-stilus--vilagos { width: 100%; } }

/* ==========================================================================
   1.2 — Alacsonyabb doboz: kisebb térközök, e-mail és gomb egy sorban
   ========================================================================== */
.czh-doboz .czh-tartalom { padding: 1.5rem 1.75rem 1.3rem; gap: .5rem; }
.czh-stilus--vilagos .czh-tartalom { padding: 1.55rem 1.9rem 1.3rem; gap: .5rem; }
.czh-doboz .czh-cim { font-size: clamp(1.45rem, 2vw, 1.8rem); }
.czh-doboz .czh-szoveg { font-size: .9rem; line-height: 1.45; }
.czh-doboz .czh-urlap { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.czh-doboz .czh-urlap > * { flex: 1 1 100%; }
.czh-doboz .czh-urlap .czh-mezo:has(input[type="email"]) { flex: 1 1 11rem; }
.czh-doboz .czh-mezo input { padding: .7rem .85rem; }
.czh-doboz .czh-gomb { flex: 0 0 auto; margin: 0; min-height: 0; padding: 0 1.15rem; font-size: .9rem; }
.czh-doboz .czh-jelolo { order: 5; font-size: .74rem; line-height: 1.35; text-align: left; }
.czh-doboz .czh-visszajelzes { order: 6; }
.czh-doboz--kepes { grid-template-columns: 1fr 34%; }
.czh-stilus--vilagos.czh-doboz--kepes { width: min(42rem, calc(100vw - 2rem)); }
@media (max-width: 640px) {
  .czh-doboz .czh-tartalom, .czh-stilus--vilagos .czh-tartalom { padding: 1.2rem 1.15rem calc(1rem + env(safe-area-inset-bottom)); gap: .45rem; }
  .czh-doboz .czh-cim { font-size: 1.35rem; }
  .czh-doboz .czh-gomb { padding: 0 .9rem; }
}
.czh-doboz .czh-mezo > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .czh-doboz--kepes, .czh-stilus--vilagos.czh-doboz--kepes { width: 100%; grid-template-columns: 1fr; }
}

/* ==========================================================================
   1.2 — Méret px-ben a beállításokból (CSS-változók a dobozon)
   ========================================================================== */
.czh-doboz--jobb { right: var(--czh-tav, 1.5rem); }
.czh-doboz--bal { left: var(--czh-tav, 1.5rem); }
.czh-doboz { bottom: var(--czh-tav, 1.5rem); }
.czh-doboz.czh-m-w, .czh-stilus--vilagos.czh-doboz--kepes.czh-m-w { width: min(var(--czh-w), calc(100vw - 2rem)); }
.czh-doboz.czh-m-h { height: min(var(--czh-h), calc(100vh - 2rem)); overflow-y: auto; }
.czh-doboz.czh-m-h .czh-tartalom { align-content: center; }
.czh-doboz--kepes.czh-m-kep { grid-template-columns: 1fr var(--czh-kep-w); }
@media (max-width: 640px) {
  .czh-doboz, .czh-doboz.czh-m-w, .czh-stilus--vilagos.czh-doboz--kepes.czh-m-w { left: 0 !important; right: 0 !important; bottom: 0; width: 100%; }
  .czh-doboz--kepes.czh-m-kep { grid-template-columns: 1fr; }
  .czh-doboz.czh-m-h { height: min(var(--czh-h), 88vh); height: min(var(--czh-h), 88dvh); }
}
.czh-doboz .czh-gomb { min-height: 2.75rem; }
