/* ================================================================
   QWALLZ – Natív fejléc (.qf-hf) + lábléc (.qf-ft)
   Az Elementor #6125 / #6236 / #6272 sablonok natív mása.

   Variánsok:
     .qf-hf--front  → átlátszó, a hero képre csúszik (kezdőlap)
     .qf-hf--solid  → tömör #A39B96 sáv (aloldalak)
   ================================================================ */

.qf-hf, .qf-ft { box-sizing: border-box; }
.qf-hf *, .qf-hf *::before, .qf-hf *::after,
.qf-ft *, .qf-ft *::before, .qf-ft *::after { box-sizing: border-box; }

.qf-hf {
  left: 0; right: 0; top: 0; z-index: 1000;
  color: #ffffff;
  font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, sans-serif;
  transition: background .8s ease, box-shadow .3s ease;
}
.qf-hf a { color: inherit; text-decoration: none; }

/* Csupasz <button> normalizálás (egyes pluginok #CC3366 keretet raknak rájuk). */
.qf-hf button, .qf-hf button[type], .qf-ft button, .qf-ft button[type] {
  -webkit-appearance: none; appearance: none;
  background: transparent; border: 0; border-radius: 0;
  color: inherit; font: inherit; letter-spacing: inherit; text-transform: none;
  box-shadow: none; cursor: pointer;
}

.qf-hf--front { position: absolute; background: transparent; }
.qf-hf--solid { position: relative; background: #A39B96; }

.qf-hf.is-stuck {
  position: fixed; background: #233F40;
  box-shadow: 0 4px 22px rgba(0,0,0,.26);
}
.qf-hf.is-stuck .qf-hf__topbar { display: none; }
.qf-hf.is-stuck .qf-hf__main   { min-height: 58px; }

/* ---- Felső sáv: e-mail | telefon | közösségi ---- */
.qf-hf__topbar { border-bottom: 1px solid rgba(255,255,255,.15); font-size: 13px; letter-spacing: .02em; }
.qf-hf__topinner {
  max-width: 1400px; margin: 0 auto; padding: 8px 30px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
}
.qf-hf__topinner .qf-hf__contact:first-child { justify-content: flex-start; }
.qf-hf__topinner .qf-hf__contact:nth-child(2) { justify-content: center; }
.qf-hf__topinner .qf-hf__social { justify-content: flex-end; }
.qf-hf__contact { display: flex; align-items: center; gap: 8px; }
.qf-hf__contact a, .qf-hf__social a { display: inline-flex; align-items: center; gap: 7px; }
.qf-hf__contact a:hover, .qf-hf__social a:hover,
.qf-hf__menu a:hover, .qf-hf__action:hover { color: #7A6F4F; }
.qf-hf svg { width: 15px; height: 15px; display: block; }
.qf-hf__social { display: flex; gap: 18px; }

/* ---- Fő sáv: logó | menü | ikonok ---- */
.qf-hf__main {
  border-bottom: 1px solid rgba(255,255,255,.15); min-height: 64px;
  display: flex; align-items: center;
}
.qf-hf__maininner {
  width: 100%; max-width: 1400px; margin: 0 auto; padding: 8px 30px;
  display: flex; align-items: center; gap: 24px;
}
.qf-hf__logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.qf-hf__logo img { height: 24px; width: auto; display: block; }        /* kisebb logó, mint eddig */
.qf-hf__logotext { font-family: 'Libre Baskerville', Georgia, serif; font-size: 19px; font-weight: 700; letter-spacing: .06em; }

.qf-hf__nav { flex: 1 1 auto; display: flex; justify-content: center; }
.qf-hf__menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.qf-hf__menu li { position: relative; }
.qf-hf__menu a {
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  font-size: 15px; font-weight: 300; text-transform: uppercase; letter-spacing: 1.3px;
  white-space: nowrap; padding: 10px 0; display: inline-flex; align-items: center;
  color: #ffffff;
}
.qf-hf__menu a:visited { color: #ffffff; }
.qf-hf__menu .current-menu-item > a,
.qf-hf__menu .current-menu-ancestor > a { opacity: 1; border-bottom: 1px solid currentColor; }

/* Lenyíló-jelző nyilak */
.qf-hf__menu .menu-item-has-children > a::after {
  content: ""; width: .42em; height: .42em; margin-left: .55em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px); transition: transform .15s ease;
}
.qf-hf__menu .sub-menu .menu-item-has-children > a::after {
  transform: rotate(-45deg); margin-left: auto;
}

/* Lenyíló: FEHÉR háttér, sötét szöveg (mint az Elementorban) */
.qf-hf__menu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #ffffff; border: 0; box-shadow: 0 14px 40px rgba(0,0,0,.16);
  padding: 8px 0; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 20;
}
.qf-hf__menu li:hover > .sub-menu,
.qf-hf__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.qf-hf__menu .sub-menu a {
  color: #233F40; padding: 10px 20px; font-size: 15px; font-weight: 400;
  text-transform: none; letter-spacing: normal; display: flex; width: 100%;
}
.qf-hf__menu .sub-menu a:hover { background: #233F40; color: #ffffff; }
.qf-hf__menu .sub-menu .sub-menu { top: 0; left: 100%; }

.qf-hf__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 18px; }
.qf-hf__action { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; position: relative; }
.qf-hf__action svg { width: 17px; height: 17px; }
.qf-hf__cart-count {
  position: absolute; top: -7px; right: -9px; min-width: 15px; height: 15px; padding: 0 4px;
  background: #7A6F4F; color: #fff; border-radius: 999px; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.qf-hf__cart-count[data-count="0"] { display: none; }

.qf-hf__burger { display: none !important; width: 30px; height: 30px; align-items: center; justify-content: center; }
.qf-hf__burger svg { width: 24px; height: 24px; }

/* Mobil felső sáv: telefon + „Írj nekünk!" (mint az Elementor mobil fejlécben) */
.qf-hf__mobilebar { display: none !important; width: 100%; }
.qf-hf__mobilebar .qf-hf__mb-phone { display: inline-flex; align-items: center; gap: 6px; color: #ffffff; white-space: nowrap; }
.qf-hf__mobilebar .qf-hf__mb-phone svg { width: 14px; height: 14px; flex: none; }
.qf-hf__mobilebar .qf-hf__mb-btn {
  background: #ffffff; color: #233F40; padding: 5px 13px; border-radius: 4px;
  font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap; transition: background .18s ease, color .18s ease;
}
.qf-hf__mobilebar .qf-hf__mb-btn:hover { background: #7A6F4F; color: #ffffff; }
.qf-hf__drawer { background: #233F40; border-top: 1px solid rgba(255,255,255,.12); padding: 8px 20px 18px; }
.qf-hf__drawer[hidden] { display: none; }
.qf-hf__drawer .qf-hf__menu { flex-direction: column; align-items: stretch; gap: 0; }
.qf-hf__drawer .qf-hf__menu li { border-bottom: 1px solid rgba(255,255,255,.08); }
.qf-hf__drawer .qf-hf__menu a { padding: 13px 0; }
/* Mobil harmonika: almenük ZÁRVA alapból, koppintásra nyílnak */
.qf-hf__drawer .qf-hf__menu .menu-item-has-children > a::after,
.qf-hf__drawer .qf-hf__menu .sub-menu .menu-item-has-children > a::after {
  margin-left: auto; transform: rotate(45deg) translateY(-1px); transition: transform .18s ease;
}
.qf-hf__drawer .qf-hf__menu .menu-item-has-children.is-open > a::after {
  transform: rotate(225deg) translateY(1px);
}
.qf-hf__drawer .qf-hf__menu .sub-menu {
  position: static; opacity: 1; visibility: visible; transform: none;
  background: transparent; box-shadow: none; margin: 0; padding: 0;
  display: none;
}
.qf-hf__drawer .qf-hf__menu .menu-item-has-children.is-open > .sub-menu {
  display: block; padding: 4px 0 10px 16px;
}
.qf-hf__drawer .qf-hf__menu .sub-menu a { color: #d5dbdb; }
.qf-hf__drawer .qf-hf__menu .sub-menu a:hover { background: transparent; color: #fff; }

@media (max-width: 1024px) {
  .qf-hf__topbar { display: none; }
  .qf-hf__nav { display: none; }
  .qf-hf__burger { display: inline-flex !important; }
  .qf-hf__mobilebar {
    display: flex !important; align-items: center; justify-content: space-between;
    padding: 7px 16px; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 13px;
  }
  .qf-hf.is-stuck .qf-hf__mobilebar { display: none !important; }
  .qf-hf__maininner { padding: 8px 16px; gap: 12px; }
  .qf-hf__main { min-height: 58px; }
  .qf-hf__logo img { height: 20px; max-width: 130px; }        /* kisebb logó mobilon */
  .qf-hf__actions { gap: 16px; margin-left: auto; }           /* jobb szélre tolva (nincs középső menü) */
  /* Mobilon csak a lényeges ikonok: kereső + kosár + burger.
     A GYIK és a Fiók a menüben elérhető. */
  .qf-hf__action--faq,
  .qf-hf__action--account { display: none; }
}
@media (max-width: 380px) {
  .qf-hf__action--search { display: none; }                   /* nagyon keskeny: csak kosár + burger */
  .qf-hf__logo img { height: 19px; }
}

/* Kezdőlap: a hero a fejléc mögé csúszik, DE a hero SZÖVEGE a fejléc alatt
   kezdődjön (a bg-kép marad teljes szélű, csak a tartalom tolódik lejjebb). */
body.home #qf-hf.qf-hf--front { position: absolute; }
body.home .elementor-location-header { display: none !important; }

/* A TARTALMI Elementor konténer első szekciója (nem a rejtett fejléc/lábléc!).
   A pontos értéket a JS a fejléc valós magasságához igazítja. */
body.home > .elementor:not(.elementor-location-header):not(.elementor-location-footer) > .elementor-section:first-of-type,
body.home > .elementor:not(.elementor-location-header):not(.elementor-location-footer) > .e-con:first-of-type {
  padding-top: 112px !important;
}
@media (max-width: 1024px) {
  body.home > .elementor:not(.elementor-location-header):not(.elementor-location-footer) > .elementor-section:first-of-type,
  body.home > .elementor:not(.elementor-location-header):not(.elementor-location-footer) > .e-con:first-of-type {
    padding-top: 108px !important;
  }
}

/* ================================================================
   LÁBLÉC
   ================================================================ */

.qf-ft {
  background: #233F40; color: #e9e5e0;
  font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, sans-serif;
}
.qf-ft a { color: #d5dbdb; text-decoration: none; }
.qf-ft a:hover { color: #7A6F4F; }
.qf-ft h2, .qf-ft h3 { color: #fff; margin: 0; }

.qf-ft__newsletter { position: relative; background: #233F40 center/cover no-repeat; }
.qf-ft__newsletter::before { content: ""; position: absolute; inset: 0; background: rgba(35,63,64,.9); }
.qf-ft__nlinner {
  position: relative; max-width: 1180px; margin: 0 auto; padding: 42px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.qf-ft__nltitle { font-family: 'Libre Baskerville', Georgia, serif; font-size: 20px; font-weight: 500; line-height: 1.55; max-width: 480px; }
.qf-ft__nlform { display: flex; gap: 10px; flex-wrap: wrap; }
.qf-ft__nlform input {
  background: #fff; color: #1F3133; border: 0; border-radius: 6px; padding: 12px 16px;
  font-size: 16px; font-family: inherit; min-width: 190px;
}
.qf-ft .qf-ft__nlform button[type] {
  background: #233F40; color: #fff; border: 1px solid #fff; border-radius: 6px; padding: 12px 24px;
  font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; transition: all .18s ease;
}
.qf-ft .qf-ft__nlform button[type]:hover { background: #fff; color: #233F40; }

.qf-ft__cols {
  max-width: 1400px; margin: 0 auto; padding: 52px 32px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
.qf-ft__logo img { height: 30px; width: auto; margin-bottom: 16px; display: block; }
.qf-ft__about { font-size: 15px; line-height: 1.65; font-weight: 300; margin: 0 0 16px; max-width: 340px; }
.qf-ft__h { font-size: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; color: #fff; }
.qf-ft__col .qf-ft__menu + .qf-ft__h { margin-top: 26px; }
.qf-ft__contact { list-style: none; margin: 0 0 12px; padding: 0; }
.qf-ft__contact li { margin-bottom: 6px; }
.qf-ft__contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 300; }
.qf-ft__contact svg { width: 15px; height: 15px; flex: none; }
.qf-ft__hours { font-size: 14px; line-height: 1.6; font-weight: 300; color: #c6d0d0; margin: 0 0 16px; }
.qf-ft__social { display: flex; gap: 16px; }
.qf-ft__social svg { width: 20px; height: 20px; }
.qf-ft__menu { list-style: none; margin: 0; padding: 0; }
.qf-ft__menu li { margin-bottom: 6px; }
.qf-ft__menu a { font-size: 15px; font-weight: 300; text-transform: uppercase; letter-spacing: .02em; }
.qf-ft__menu .sub-menu { list-style: none; margin: 5px 0 0; padding: 0 0 0 14px; }
.qf-ft__badge { margin-top: 10px; }
.qf-ft__badge img { max-width: 120px; height: auto; display: block; }
.qf-ft__badge-txt { display: inline-block; font-size: 11px; margin-top: 2px; }
.qf-ft__payment { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qf-ft__payment img, .qf-ft__payment svg { height: 26px; width: auto; }

.qf-ft__bottom {
  background: #1F3133; padding: 18px 32px; text-align: center;
  font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
  display: flex; gap: 8px 24px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.qf-ft__trustindex { background: #1F3133; padding: 0 32px 34px; text-align: center; }

.qf-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 1000px) { .qf-ft__cols { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 640px) {
  .qf-ft__cols { grid-template-columns: 1fr; gap: 30px; }
  .qf-ft__nlinner { flex-direction: column; align-items: stretch; text-align: center; }
  .qf-ft__nlform { justify-content: center; }
  .qf-ft__nlform input { flex: 1 1 auto; }
}
