/* ── Kattintásos outline globálisan tiltva (csak billentyűs focus marad) ── */
*:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}
*:focus-visible {
  outline: 2px solid var(--ef-green) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

/* =============================================================================
   EFATELEP – Egyedi komponens CSS
   Alapja: efatelep_homepage_v3.html mockup
   Változók: lásd style.css :root blokk (--ef-* prefix)
   ============================================================================= */

/* =============================================================================
   1. TOP BAR
   Zöld sáv az oldal tetején: szállítási info + telefonszám / nyitvatartás
   ============================================================================= */

.ef-topbar {
  background: var(--ef-green);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  padding: 7px var(--ef-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ef-font-body);
}

.ef-topbar__right {
  display: flex;
  gap: 24px;
}

.ef-topbar strong,
.ef-topbar__right strong {
  color: #fff;
  font-weight: 700;
}

/* =============================================================================
   2. HEADER
   Sticky fejléc: logó + keresés + ikonok
   ============================================================================= */

.ef-header {
  background: var(--ef-white);
  border-bottom: 1px solid var(--ef-gray-200);
  padding: 12px var(--ef-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  position: sticky;
  top: 0;
  z-index: var(--ef-z-header);
}

/* Logó */
.ef-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.ef-logo__bar {
  width: 6px;
  height: 32px;
  background: var(--ef-orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.ef-logo__name {
  color: var(--ef-green);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  font-family: var(--ef-font-display);
}

/* Feltöltött logó (WordPress Testreszabás) */
.ef-logo--img {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.ef-logo--img img.custom-logo {
  /* Nincs rögzített max-height – a header padding adja a légközt,
     a logó természetes méretén jelenik meg.
     Ha mégis korlátoznád: adj max-height-ot itt. */
  width: auto;
  height: auto;
  display: block;
      max-height: 110px;

}

.ef-logo__sub {
  color: var(--ef-gray-500);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Keresősáv */
.ef-search {
  flex: 1;
  max-width: 560px;
  margin: 0 40px;
  position: relative;
}

.ef-search__input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r);
  padding: 0 44px 0 16px;
  font-size: 14px;
  font-family: var(--ef-font-body);
  color: var(--ef-gray-900);
  background: var(--ef-gray-50);
  outline: none;
  transition: border-color 0.15s;
}

.ef-search__input:focus {
  border-color: var(--ef-green);
}

.ef-search__input::placeholder {
  color: var(--ef-gray-400);
}

.ef-search__icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ef-gray-300);
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Header akciógombok (Fiókom, Kosár) */
.ef-header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ef-hdr-btn {
  color: var(--ef-gray-700);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--ef-font-body);
  transition: color 0.15s;
}

.ef-hdr-btn:hover {
  color: var(--ef-green);
  background: transparent;
}

/* Lila outline eltávolítása egérkattintásra (billentyűzetes fókusz megmarad) */
.ef-hdr-btn:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
.ef-hdr-btn:focus-visible {
  outline: 2px solid var(--ef-green);
  outline-offset: 3px;
}

.ef-hdr-btn span {
  font-size: 12px;
  color: var(--ef-gray-500);
}

.ef-cart-wrap {
  position: relative;
}

.ef-cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--ef-orange);
  color: #fff !important;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}

/* =============================================================================
   3. NAVIGÁCIÓ – Mega Menu
   ============================================================================= */

.ef-nav-wrapper {
  position: relative;
  z-index: var(--ef-z-nav);
  background: var(--ef-white);
  border-bottom: 2px solid var(--ef-gray-100);
}

.ef-nav {
  padding: 0 var(--ef-gutter);
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Nav item container */
.ef-nav-item {
  display: inline-flex;
  align-items: stretch;
  position: static;
}

.ef-nav-item > a {
  color: var(--ef-gray-700);
  text-decoration: none;
  font-size: 13px;
  padding: 13px 12px 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.15s;
  font-family: var(--ef-font-body);
  text-transform: uppercase;
}

.ef-nav-item > a:hover,
.ef-nav-item[data-open] > a {
  color: var(--ef-green);
}

.ef-nav-item > a.is-active {
  color: var(--ef-green);
  font-weight: 700;
  border-bottom-color: var(--ef-green);
}

/* Dropdown nyíl – csak .has-mega elemeken */
.ef-nav-item.has-mega > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-top: 1px;
  transition: transform 0.2s;
  flex-shrink: 0;
  opacity: 0.6;
}

.ef-nav-item.has-mega[data-open] > a::after {
  transform: rotate(180deg);
}

/* Akciók link – jobbra igazítva */
.ef-nav__sale-link {
  color: var(--ef-orange);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 13px 12px 11px;
  margin-left: auto;
  white-space: nowrap;
  font-family: var(--ef-font-body);
  transition: color 0.15s;
}

.ef-nav__sale-link:hover {
  color: var(--ef-orange-hover);
}

/* Összes kategória – zöld gomb stílus */
.ef-nav-item.ef-nav-all-btn > a {
  background: var(--ef-green);
  color: #fff !important;
  border-radius: var(--ef-r);
  padding: 7px 16px !important;
  margin: auto 8px auto 0;
  font-weight: 700;
  border-bottom: none !important;
  align-self: center;
  gap: 8px;
  transition: background 0.15s;
}

.ef-nav-item.ef-nav-all-btn > a:hover,
.ef-nav-item.ef-nav-all-btn[data-open] > a {
  background: var(--ef-green-dark) !important;
  color: #fff !important;
}

.ef-nav-item.ef-nav-all-btn > a::after {
  display: none !important;
}

/* Mega panel alap */
.ef-mega-panel {
  display: none;
  position: fixed;           /* fixed: mindig a viewporthoz igazodik, nem a nav-wrapper szélességéhez */
  top: var(--ef-mega-top, 120px);  /* JS állítja be dinamikusan */
  left: 0;
  right: 0;
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-top: 2px solid var(--ef-green);
  border-radius: 0 0 var(--ef-r-lg) var(--ef-r-lg);
  box-shadow: var(--ef-shadow-lg);
  z-index: var(--ef-z-mega);
  grid-template-columns: 1fr 280px;
}

/* Panel nyitás – JS állítja be a .is-open osztályt */
.ef-mega-panel.is-open {
  display: grid;
}

/* Belső linkek ne örököljenek nav-szintű border-bottom-t */
.ef-mega-panel a {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  white-space: normal;
}

/* Bal oszlop: alkategória linkek */
.ef-mega-links {
  padding: 28px var(--ef-gutter);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ef-mega-links__title {
  font-size: 10px;
  font-weight: 700;
  color: var(--ef-gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ef-gray-100);
  font-family: var(--ef-font-body);
}

.ef-mega-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ef-gray-700);
  text-decoration: none;
  font-size: 13.5px;
  padding: 7px 10px;
  border-radius: var(--ef-r);
  transition: background 0.12s, color 0.12s;
  font-family: var(--ef-font-body);
}

.ef-mega-links a:hover {
  background: var(--ef-gray-50);
  color: var(--ef-green);
}

.ef-mega-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ef-gray-300);
  flex-shrink: 0;
  transition: background 0.12s;
}

.ef-mega-links a:hover::before {
  background: var(--ef-green-mid);
}

/* Jobb oldal: márkák / promo */
.ef-mega-aside {
  background: var(--ef-gray-50);
  border-left: 1px solid var(--ef-gray-200);
  padding: 24px 22px;
  border-radius: 0 0 var(--ef-r-lg) 0;
}

.ef-mega-aside__title {
  font-size: 10px;
  font-weight: 700;
  color: var(--ef-gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  font-family: var(--ef-font-body);
}

.ef-mega-brand-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ef-mega-brand-item {
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ef-gray-700);
  font-family: var(--ef-font-display);
  text-decoration: none;
  display: block;
  transition: border-color 0.12s, color 0.12s;
}

.ef-mega-brand-item:hover {
  border-color: var(--ef-green);
  color: var(--ef-green);
}

/* Promo doboz a mega aside-ban */
.ef-mega-promo {
  background: var(--ef-green-light);
  border: 1px solid rgba(42, 122, 71, 0.3);
  border-radius: var(--ef-r);
  padding: 14px 16px;
  margin-top: 12px;
}

.ef-mega-promo__label {
  font-size: 10px;
  font-weight: 700;
  color: var(--ef-green);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 5px;
  font-family: var(--ef-font-body);
}

.ef-mega-promo__text {
  font-size: 12.5px;
  color: var(--ef-green);
  line-height: 1.5;
  font-family: var(--ef-font-body);
  margin: 0;
}

/* Összes kategória panel – CSS columns (autobalance) */
.ef-mega-panel.ef-mega-all {
  /* felülírjuk az alap grid-et: display:block + CSS columns */
  padding: 0;
}

.ef-mega-panel.ef-mega-all.is-open {
  display: block;
}

/* Összes kategória panel belső elrendezés */
.ef-mega-all-cols {
  padding: 28px var(--ef-gutter);
  columns: 4;
  column-gap: 28px;
  column-fill: balance;  /* tartalom egyenletesen oszlik szét – nem keletkezik 5. oszlop */
  /* overflow-y:auto és max-height NINCS – a panel vertikálisan nő, nem generál extra vízszintes oszlopot */
}

/* Egy kategória csoport (főkategória + alkategóriái) – ne törjön szét oszlopok közt */
.ef-mega-all-group {
  break-inside: avoid;
  padding: 0 0 20px 0;
  margin-right: 0;
}

/* Főkategória cím */
.ef-mega-all-col__title {
  font-size: 11px;
  font-weight: 700;
  color: var(--ef-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ef-gray-100);
  font-family: var(--ef-font-body);
}

/* Alkategória link az ALL panelben */
.ef-mega-all-group a {
  display: block;
  color: var(--ef-gray-700);
  text-decoration: none;
  font-size: 12.5px;
  padding: 4px 4px;
  border-radius: 3px;
  transition: color 0.12s, background 0.12s;
  font-family: var(--ef-font-body);
  line-height: 1.4;
}

.ef-mega-all-group a:hover {
  color: var(--ef-green);
  background: var(--ef-gray-50);
}

/* Reszponzív: 3 oszlop ≤1280px, 2 ≤900px */
@media (max-width: 1280px) {
  .ef-mega-all-cols { columns: 3; column-gap: 28px; }
}

@media (max-width: 900px) {
  .ef-mega-all-cols { columns: 2; column-gap: 24px; }
}

/* Kategória dropdown – alkategóriák 2 oszlopban */
.ef-mega-links__cols {
  columns: 2;
  column-gap: 0;
}

/* Ha csak 1-4 alkategória van, 1 oszlop elég */
.ef-mega-links__cols:has(a:nth-child(-n+4):last-child) {
  columns: 1;
}

/* Az "Összes megtekintése →" link ne kerüljön a cols-ba */
.ef-mega-links__all {
  display: inline-block;
  margin-top: 10px;
  color: var(--ef-green);
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
  font-family: var(--ef-font-body);
  transition: color 0.12s;
}

.ef-mega-links__all:hover {
  color: var(--ef-green-dark);
}

/* Reszponzív: 1 oszlop ≤1100px */
@media (max-width: 1100px) {
  .ef-mega-links__cols { columns: 1; }
}

/* Márkák panel – egyoszlopos (sidebar nélküli kategóriáknál) */
.ef-mega-panel.ef-mega-single {
  grid-template-columns: 1fr !important;
}

.ef-mega-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 24px;
}

.ef-mega-brands-grid .ef-mega-brand-item {
  text-align: center;
  padding: 12px;
}

/* Overlay – háttér elsötétítés megnyitott mega menu mögé */
.ef-mega-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 150;
  pointer-events: none;
}

.ef-mega-overlay.is-active {
  display: block;
  /* pointer-events: none – ne blokkolja a nav hover eventeket!
     A bezárás document click listenerrel történik. */
  pointer-events: none;
}

/* =============================================================================
   4. HERO SZEKCIÓ
   Kép + szöveg kétoszlopos layout
   ============================================================================= */

.ef-hero {
  display: grid;
  /* Bal oldal szélesebb: több hely a szövegnek, kevesebb a képnek */
  grid-template-columns: 45% 1fr;
  height: clamp(300px, 50vh, 600px);
  border-bottom: 1px solid var(--ef-gray-200);
  overflow: hidden;
}

/* Bal: szöveg */
.ef-hero__left {
  /* Padding igazodik a 40vh magassághoz – vertikálisan centrált tartalom */
  padding: clamp(24px, 4vh, 48px) clamp(32px, 4vw, 80px) clamp(24px, 4vh, 48px) var(--ef-gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ef-white);
  z-index: 2;
  overflow: hidden;
}

/* Pill badge */
.ef-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ef-green-light);
  color: var(--ef-green);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 14px;
  width: fit-content;
  font-family: var(--ef-font-body);
}

.ef-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ef-green-mid);
  display: inline-block;
  flex-shrink: 0;
}

/* Hero főcím – kompakt, Plus Jakarta Sans-szal nem törik szét */
.ef-hero__title {
  font-family: var(--ef-font-display);
  /* vw-alapú skála: 1440px-en ~46px, 1920px-en ~54px – nem töri a sort */
  font-size: clamp(28px, 3.8vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ef-gray-900);
  margin-bottom: 14px;
}

.ef-hero__title em {
  color: var(--ef-green);
  font-style: normal;
}

.ef-hero__sub {
  color: var(--ef-gray-500);
  font-size: 16.5px;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 460px;
}

/* Gombsor */
.ef-hero__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Statisztikák – a 40vh-s hero alján */
.ef-hero__stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--ef-gray-200);
}

.ef-stat__val {
  font-family: var(--ef-font-display);
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 800;
  color: var(--ef-green);
  letter-spacing: -0.5px;
  line-height: 1;
}

.ef-stat__lbl {
  font-size: 14.5px;
  color: var(--ef-gray-500);
  margin-top: 4px;
  font-family: var(--ef-font-body);
}

.ef-stat-div {
  width: 1px;
  background: var(--ef-gray-200);
  align-self: stretch;
}

/* Jobb: kép */
.ef-hero__right {
  position: relative;
  overflow: hidden;
}

.ef-hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.92) saturate(0.95);
}

.ef-hero__right-fade {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 180px;
  background: linear-gradient(to right, var(--ef-white) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  z-index: 2;
}

.ef-hero__right-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 45, 26, 0.10) 0%, rgba(15, 45, 26, 0.04) 60%, transparent 100%);
  z-index: 1;
}

/* =============================================================================
   5. KABALA STRIP
   Tölgy bemutatkozó sáv a hero alatt
   ============================================================================= */

.ef-mascot-strip {
  background: var(--ef-gray-50);
  border-bottom: 1px solid var(--ef-gray-200);
  padding: 24px var(--ef-gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.ef-mascot-strip__badge {
  display: inline-block;
  background: var(--ef-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-family: var(--ef-font-body);
}

.ef-mascot-strip__title {
  font-family: var(--ef-font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--ef-gray-900);
  letter-spacing: -0.3px;
  margin-bottom: 5px;
}

.ef-mascot-strip__sub {
  font-size: 13px;
  color: var(--ef-gray-500);
  line-height: 1.5;
  max-width: 480px;
  margin: 0;
}

/* Beszédbuborék */
.ef-speech {
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: 10px;
  padding: 12px 16px;
  max-width: 200px;
  position: relative;
}

.ef-speech p {
  font-size: 12px;
  color: var(--ef-gray-700);
  line-height: 1.5;
  margin: 0;
}

.ef-speech cite {
  font-size: 11px;
  color: var(--ef-gray-400);
  font-style: italic;
  display: block;
  margin-top: 5px;
}

/* Nyíl balra */
.ef-speech::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 8px solid var(--ef-gray-200);
}

.ef-speech::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 19px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 7px solid var(--ef-white);
  z-index: 1;
}

/* =============================================================================
   6. USP STRIP
   4 előny egymás mellett: szállítás, garancia, idő, support
   ============================================================================= */

.ef-usp-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ef-gray-200);
  background: var(--ef-gray-50);
}

.ef-usp-item {
  padding: 50px clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--ef-gray-200);
}

.ef-usp-item:last-child {
  border-right: none;
}

.ef-usp-icon {
  width: 64px;
  height: 64px;
  background: var(--ef-green-light);
  border-radius: var(--ef-r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ef-usp__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ef-gray-900);
  font-family: var(--ef-font-body);
}

.ef-usp__sub {
  font-size: 16px;
  color: var(--ef-gray-500);
  margin-top: 2px;
  font-family: var(--ef-font-body);
}

/* =============================================================================
   7. SZEKCIÓK – Általános struktúra
   ============================================================================= */

.ef-section {
  padding: var(--ef-section-py) var(--ef-gutter);
}

.ef-section--no-top {
  padding-top: 0;
}

.ef-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}

.ef-section__title {
  font-family: var(--ef-font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  color: var(--ef-gray-900);
  letter-spacing: -0.5px;
}

.ef-section__link {
  font-size: 13px;
  color: var(--ef-green);
  text-decoration: none;
  font-weight: 500;
  font-family: var(--ef-font-body);
  transition: text-decoration 0.15s;
}

.ef-section__link:hover {
  text-decoration: underline;
}

/* =============================================================================
   8. KATEGÓRIA RÁCS
   ============================================================================= */

.ef-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.ef-cat-card {
  text-decoration: none;
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ef-cat-card:hover {
  border-color: var(--ef-gray-300);
  box-shadow: var(--ef-shadow-sm);
}

/* Egységes képkeret – minden kártya ugyanakkora kép */
.ef-cat-card__img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: var(--ef-gray-100);
  flex-shrink: 0;
}

.ef-cat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s;
}

.ef-cat-card:hover .ef-cat-card__img img {
  transform: scale(1.04);
}

.ef-cat-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ef-cat-card__text {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ef-cat-card__count {
  font-size: 12px;
  color: var(--ef-gray-500);
  font-family: var(--ef-font-body);
}

.ef-cat-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ef-gray-900);
  line-height: 1.35;
  font-family: var(--ef-font-body);
}

/* "Összes márka" link a mega menüben */
.ef-mega-brand-item--all {
  color: var(--ef-green) !important;
  font-weight: 700;
  font-size: 12.5px;
  margin-top: 4px;
}

/* =============================================================================
   9. TERMÉK RÁCS
   ============================================================================= */

.ef-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.ef-product-card {
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r);
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.ef-product-card:hover {
  box-shadow: var(--ef-shadow-md);
}

.ef-product-card__img {
  background: var(--ef-gray-50);
  aspect-ratio: 4 / 3;  /* közel négyzetes (volt: fix 180px lapos) */
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--ef-gray-200);
  position: relative;
  overflow: hidden;
}

.ef-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Termék badge (RAKTÁRON, AKCIÓ, ÚJ) */
.ef-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  font-family: var(--ef-font-body);
}

.ef-badge--green  { background: var(--ef-green); }
.ef-badge--orange { background: var(--ef-orange); }
.ef-badge--dark   { background: var(--ef-gray-700); }

/* Kártya tartalom */
.ef-product-card__body {
  padding: 14px 16px;
}

.ef-product-card__cat {
  font-size: 12px;
  color: var(--ef-gray-500);
  margin-bottom: 5px;
  font-family: var(--ef-font-body);
}

.ef-product-card__sku,
.ef-loop-sku {
  font-size: 11px;
  color: var(--ef-gray-400);
  margin: -6px 0 6px;
  padding: 0 16px;
  letter-spacing: .2px;
}
.ef-product-card__sku span,
.ef-loop-sku span { font-weight: 600; color: var(--ef-gray-500); }

.ef-product-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ef-gray-900);
  line-height: 1.4;
  margin-bottom: 12px;
  font-family: var(--ef-font-body);
}
.ef-product-card__name a,
.ef-product-card__name a:visited {
  color: var(--ef-gray-900) !important;
  text-decoration: none;
}
.ef-product-card__name a:hover {
  color: var(--ef-green) !important;
}

.ef-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--ef-gray-100);
}

.ef-product-card__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--ef-gray-900);
  font-family: var(--ef-font-body);
}

/* Egyedi ár-egység felirat (pl. /fm, /csomag) */
.ef-product-card__unit {
  font-size: 12px;
  color: var(--ef-gray-500);
  margin-top: 1px;
  font-family: var(--ef-font-body);
}

/* Kosárba gomb */
.ef-add-btn {
  background: var(--ef-orange);
  color: #fff;
  border: none;
  border-radius: var(--ef-r);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.ef-add-btn:hover {
  background: var(--ef-orange-hover);
}

.ef-add-btn--green {
  background: var(--ef-green);
}

.ef-add-btn--green:hover {
  background: var(--ef-green-dark);
}

/* WooCommerce add_to_cart override – meglévő WC gomb stílusozása */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product .button {
  background: var(--ef-orange);
  color: #fff;
  border-radius: var(--ef-r);
  font-family: var(--ef-font-body);
  font-weight: 700;
  font-size: 13px;
  transition: background 0.15s;
  border: none;
  padding: 8px 16px;
}

.woocommerce ul.products li.product .button.add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover {
  background: var(--ef-orange-hover);
  color: #fff;
}

/* =============================================================================
   10. GOMBOK – globális újrahasználható változatok
   ============================================================================= */

.ef-btn {
  border-radius: var(--ef-r);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--ef-font-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-decoration: none;
  line-height: 1;
  border: none;
}

/* Narancs (elsődleges CTA) */
.ef-btn--primary {
  background: var(--ef-orange);
  color: #fff;
  padding: 12px 24px;
}

.ef-btn--primary:hover {
  background: var(--ef-orange-hover);
  color: #fff;
}

/* Másodlagos (outlined) */
.ef-btn--secondary {
  background: var(--ef-white);
  color: var(--ef-gray-700);
  border: 1px solid var(--ef-gray-200);
  padding: 12px 20px;
}

.ef-btn--secondary:hover {
  border-color: var(--ef-gray-400);
}

/* Zöld */
.ef-btn--green {
  background: var(--ef-green);
  color: #fff;
  padding: 13px 26px;
  white-space: nowrap;
}

.ef-btn--green:hover {
  background: var(--ef-green-dark);
  color: #fff;
}

/* Outline fehér háttéren */
.ef-btn--outline {
  background: var(--ef-white);
  color: var(--ef-gray-700);
  border: 1px solid var(--ef-gray-200);
  padding: 13px 22px;
  white-space: nowrap;
}

/* =============================================================================
   11. MÁRKÁK SÁV
   ============================================================================= */

/* =============================================================================
   MÁRKÁK SÁV – folyamatos marquee animáció
   ============================================================================= */

.ef-brands-strip {
  border-top: 1px solid var(--ef-gray-200);
  border-bottom: 1px solid var(--ef-gray-200);
  padding: 24px 0;
  overflow: hidden;           /* fontos: a marquee ne lógjon ki */
}

.ef-brands-strip__label {
  font-size: 11px;
  color: var(--ef-gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 18px;
  text-align: center;
  font-family: var(--ef-font-body);
}

/* Marquee konténer – elfedi a kilógó elemeket */
.ef-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

/* A teljes track: 2× a tartalom egymás után */
.ef-marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;         /* pontosan annyi, amennyi kell */
  animation: ef-marquee linear infinite;
  animation-duration: 60s;    /* fallback; JS felülírja a tényleges track szélességből */
  will-change: transform;
}

/* Lassítás, ha a felhasználó kevesebb mozgást kér */
@media (prefers-reduced-motion: reduce) {
  .ef-marquee-track { animation: none; }
}

/* Hover: megáll az animáció */
.ef-marquee-wrap:hover .ef-marquee-track {
  animation-play-state: paused;
}

@keyframes ef-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }  /* 50% = az egyik példány teljes szélessége */
}

/* Egyedi márka elem */
.ef-marquee-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 40px;
  text-decoration: none;
  border-right: 1px solid var(--ef-gray-200);
  flex-shrink: 0;
  transition: opacity 0.15s;
  opacity: 0.65;
}

.ef-marquee-brand:hover {
  opacity: 1;
}

/* Logóval rendelkező márka */
.ef-marquee-brand img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.2s;
}

.ef-marquee-brand:hover img {
  filter: grayscale(0);
}

/* Logó nélküli márka – szöveg */
.ef-marquee-brand__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ef-gray-500);
  font-family: var(--ef-font-display);
  white-space: nowrap;
  transition: color 0.15s;
}

.ef-marquee-brand:hover .ef-marquee-brand__name {
  color: var(--ef-gray-700);
}

/* =============================================================================
   12. CTA BANNER
   Nagyker / egyedi árajánlat sáv
   ============================================================================= */

.ef-cta-banner {
  background: var(--ef-gray-50);
  border-bottom: 1px solid var(--ef-gray-200);
  padding: var(--ef-section-py) var(--ef-gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.ef-cta-banner__title {
  font-family: var(--ef-font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  color: var(--ef-gray-900);
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}

.ef-cta-banner__sub {
  color: var(--ef-gray-500);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}

.ef-cta-banner__btns {
  display: flex;
  gap: 10px;
}

/* =============================================================================
   13. FOOTER
   ============================================================================= */

.ef-footer {
  background: var(--ef-gray-900);
  color: rgba(255, 255, 255, 0.55);
  padding: var(--ef-section-py) var(--ef-gutter) 28px;
  font-family: var(--ef-font-body);
}

.ef-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(20px, 3vw, 56px);
  margin-bottom: 36px;
}

.ef-footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.ef-footer__brand-bar {
  width: 5px;
  height: 26px;
  background: var(--ef-orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.ef-footer__brand-name {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  font-family: var(--ef-font-display);
}

.ef-footer__desc {
  font-size: 13px;
  line-height: 1.7;
  max-width: 220px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.ef-footer__contact {
  margin-top: 18px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ef-footer__contact strong {
  color: #fff;
  font-weight: 500;
}

.ef-footer__col-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.ef-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ef-footer__links a {
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
  text-transform: capitalize;
}

.ef-footer__links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.ef-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ef-footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.ef-footer__payments {
  display: flex;
  gap: 8px;
}

.ef-payment-slot {
  width: 36px;
  height: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

/* =============================================================================
   14. RESZPONZÍV TÖRÉSPONTOK
   ============================================================================= */

/* Tablet */
@media (max-width: 1024px) {
  .ef-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ef-hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .ef-hero__right {
    height: 240px;
  }

  .ef-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ef-nav-item.ef-nav-all-btn {
    display: none; /* Mobil menüre bízzuk */
  }
}

/* Mobil */
@media (max-width: 768px) {
  .ef-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .ef-topbar {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .ef-topbar__right {
    gap: 12px;
    justify-content: center;
  }

  .ef-search {
    display: none; /* Mobil keresőre bízzuk */
  }

  .ef-usp-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .ef-usp-item:nth-child(2) {
    border-right: none;
  }

  .ef-usp-item:nth-child(3) {
    border-top: 1px solid var(--ef-gray-200);
  }

  .ef-usp-item:nth-child(4) {
    border-top: 1px solid var(--ef-gray-200);
    border-right: none;
  }

  .ef-cta-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ef-cta-banner__btns {
    flex-direction: column;
    width: 100%;
  }

  .ef-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* .ef-brands-row / .ef-brand-item eltávolítva – marquee nem igényel mobil override-ot */

  .ef-marquee-brand {
    padding: 8px 24px;         /* kevesebb padding mobilon */
  }

  .ef-mascot-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ef-hero__left {
    padding: 40px var(--ef-gutter);
  }

  .ef-mega-panel {
    display: none !important; /* Mobil menü veszi át */
  }
}

/* =============================================================================
   15. WOOCOMMERCE FŐOLDAL – Alapvető overrides
   Az egyedi sablonok (template-homepage.php) ezeket használják
   ============================================================================= */

/* Főoldalon elrejtjük a WC alapértelmezett tartalmát */
.home .woocommerce-products-header,
.home .page-title,
.home .woocommerce-ordering,
.home .woocommerce-result-count {
  display: none;
}

/* Termék rács WooCommerce integráció */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin: 0 !important;
}

.woocommerce ul.products li.product {
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r);
  overflow: hidden;
  transition: box-shadow 0.15s;
  margin: 0 !important;
  float: none;
  width: auto !important;
}

.woocommerce ul.products li.product:hover {
  box-shadow: var(--ef-shadow-md);
}

.woocommerce ul.products li.product a img {
  margin: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;  /* négyzetes megjelenés – a WC thumbnail 324×324 square */
  object-fit: cover;
  display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ef-gray-900);
  font-family: var(--ef-font-body);
  padding: 14px 16px 0;
  margin: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a,
.woocommerce ul.products li.product .woocommerce-loop-product__title a:visited {
  color: var(--ef-gray-900) !important;
  text-decoration: none;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover {
  color: var(--ef-green) !important;
}

.woocommerce ul.products li.product .price {
  color: var(--ef-gray-900);
  font-size: 18px;
  font-weight: 700;
  font-family: var(--ef-font-body);
  padding: 8px 16px;
  display: block;
}

/* =============================================================================
   16. SEGÉDOSZTÁLYOK
   ============================================================================= */

.ef-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ef-text-green   { color: var(--ef-green); }
.ef-text-orange  { color: var(--ef-orange); }
.ef-text-muted   { color: var(--ef-gray-500); }

.ef-mt-sm { margin-top: 8px; }
.ef-mt-md { margin-top: 16px; }

/* =============================================================================
   17. KOSÁR BADGE – rejtett állapot + navigáció kiegészítések
   ============================================================================= */

/* Kosár badge elrejtése 0 tételnél (AJAX fragment frissíti) */
.ef-cart-badge--hidden {
  display: none !important;
}

/* WooCommerce keresőform – teljes szélességű, ikon gomb az input végén */
.ef-search__form {
  position: relative;
  width: 100%;
}

/* Az input tölti ki a teljes szélességet, a gombnak ad helyet jobbon */
.ef-search__form .ef-search__input,
.ef-search .ef-search__input {
  width: 100%;
  padding-right: 44px;
}

/* Egyedi submit gomb (product-searchform.php template-ből): ikon az input belül */
.ef-search__form button.ef-search__btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 40px;
  width: 44px;
  background: none;
  border: none;
  border-radius: 0 var(--ef-r) var(--ef-r) 0;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ef-gray-400);
  transition: color 0.15s;
  z-index: 2;
}

.ef-search__form button.ef-search__btn:hover {
  color: var(--ef-green);
}

/* Fallback: ha a WC template override nem tölt be, az alap submit gomb legyen helyes */
.ef-search .woocommerce-product-search button[type="submit"]:not(.ef-search__btn) {
  position: absolute;
  right: 0;
  top: 0;
  height: 40px;
  padding: 0 14px;
  background: var(--ef-green);
  color: #fff;
  border: none;
  border-radius: 0 var(--ef-r) var(--ef-r) 0;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--ef-font-body);
  font-weight: 700;
  white-space: nowrap;
}

/* Nav mega-all panel: kategória cím link stílus */
.ef-mega-all-col__title a {
  color: var(--ef-green);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--ef-font-body);
}

.ef-mega-all-col__title a:hover {
  text-decoration: underline;
}

/* "Összes megtekintése" link a mega linkek alján */
.ef-mega-links__all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ef-green) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 7px 10px !important;
  margin-top: 4px;
  border-radius: var(--ef-r);
  text-decoration: none;
  transition: background 0.12s;
}

.ef-mega-links__all:hover {
  background: var(--ef-green-light) !important;
}

/* WP menu sale class – narancs link, jobbra igazítva */
a.ef-nav__sale-link {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

/* Mobil: nav egyszerűsítés (768px alatt) */
@media (max-width: 768px) {
  .ef-nav-wrapper {
    display: none;
  }

  .ef-header {
    flex-wrap: wrap;
    height: auto;
    padding: 12px var(--ef-gutter);
    gap: 12px;
  }

  .ef-search {
    order: 3;
    max-width: 100%;
    margin: 0;
    width: 100%;
  }
}
.ef-mt-lg { margin-top: 24px; }

/* =============================================================================
   18. ARCHÍV OLDAL – Kategória sablon
   ============================================================================= */

/* Storefront szülő sablon méret felülírás */
@media (min-width: 768px) {
    .col-full {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 1em;
        box-sizing: content-box;
    }
}

/* --- Hero fejléc ----------------------------------------------------------- */

.ef-archive-hero {
  position: relative;
  overflow: hidden;
  background: var(--ef-green-dark);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ef-archive-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--ef-hero-bg);
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(0.7);
  z-index: 0;
}

.ef-archive-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 45, 26, 0.30) 0%,
    rgba(15, 45, 26, 0.75) 70%,
    rgba(15, 45, 26, 0.92) 100%
  );
  z-index: 1;
}

.ef-archive-hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(16px, 2.5vw, 28px) var(--ef-gutter) clamp(14px, 2vw, 24px);
  color:#ffffff;
}
.ef-archive-hero__inner h1{
  color:#ffffff !important;
}

/* Morzsa navigáció */
.ef-archive-hero__breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
  font-family: var(--ef-font-body);
  line-height: 1.4;
}

.ef-archive-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.ef-archive-hero__breadcrumb a:hover {
  color: var(--ef-white);
}

.ef-archive-hero__breadcrumb .ef-breadcrumb-sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.35);
}

/* Kategória cím */
.ef-archive-hero__title {
  font-family: var(--ef-font-display);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ef-white);
  margin-bottom: 6px;
}

/* Leírás */
.ef-archive-hero__desc-wrap {
  max-width: none;
  margin-bottom: 14px;
}
.ef-archive-hero__desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--ef-font-body);
}

/* Csak a kategória (wrap-es) leírás kap "Bővebben" lezárást – alapból 3-4 sor.
   A márka-oldal sima <p class="ef-archive-hero__desc">-e (wrap nélkül) érintetlen. */
.ef-archive-hero__desc-wrap .ef-archive-hero__desc {
  max-height: 6.2em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}
.ef-archive-hero__desc-wrap.is-expanded .ef-archive-hero__desc,
.ef-archive-hero__desc-wrap.is-noclamp .ef-archive-hero__desc {
  max-height: none;
  -webkit-mask-image: none;
          mask-image: none;
}

/* Olvasható tipográfia a sötét hero-háttéren (a címsorok korábban szürkék voltak) */
.ef-archive-hero__desc :is(h2, h3, h4) {
  color: #ffffff;
  font-family: var(--ef-font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 14px 0 4px;
}
.ef-archive-hero__desc :is(h2, h3, h4):first-child { margin-top: 0; }
.ef-archive-hero__desc p { margin: 0 0 8px; }
.ef-archive-hero__desc p:last-child { margin-bottom: 0; }
.ef-archive-hero__desc ul,
.ef-archive-hero__desc ol { margin: 0 0 8px; padding-left: 20px; }
.ef-archive-hero__desc a { color: #ffffff; text-decoration: underline; }

/* "Bővebben" / "Kevesebb" kapcsoló */
.ef-archive-hero__desc-toggle {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 0;
  background: none;
  border: 0;
  color: #ffffff;
  font-family: var(--ef-font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.ef-archive-hero__desc-toggle:hover { color: rgba(255, 255, 255, 0.8); }

/* Termékszám badge */
.ef-archive-hero__count {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 179, 66, 0.25);
  border: 1px solid rgba(0, 179, 66, 0.45);
  color: #7fe8a4;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--ef-font-body);
  padding: 3px 10px;
  border-radius: var(--ef-r);
  letter-spacing: 0.3px;
}

/* --- Alkategória kártyák sor ----------------------------------------------- */

.ef-subcats {
  background: var(--ef-gray-50);
  border-bottom: 1px solid var(--ef-gray-200);
  padding: 0 var(--ef-gutter);
}

.ef-subcats__inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.ef-subcats__inner::-webkit-scrollbar {
  display: none;
}

.ef-subcat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  padding: 12px 14px;
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r-lg);
  background: var(--ef-white);
  min-width: 100px;
  flex-shrink: 0;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  box-shadow: var(--ef-shadow-sm);
}

.ef-subcat-card:hover {
  border-color: var(--ef-green);
  box-shadow: var(--ef-shadow-md);
  transform: translateY(-1px);
}

.ef-subcat-card.is-active {
  border-top: 3px solid var(--ef-green);
  padding-top: 10px;
}

.ef-subcat-card__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--ef-r);
  display: block;
}

.ef-subcat-card__img--placeholder {
  background: var(--ef-gray-100);
}

.ef-subcat-card__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ef-gray-900);
  font-family: var(--ef-font-body);
  text-align: center;
  line-height: 1.3;
  max-width: 90px;
}

.ef-subcat-card__count {
  font-size: 11px;
  color: var(--ef-gray-500);
  font-family: var(--ef-font-body);
}

/* --- Archív elrendezés: sidebar + grid ------------------------------------ */

.ef-archive-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* --- Oldalsáv ------------------------------------------------------------- */

.ef-sidebar {
  position: sticky;
  top: calc(68px + 16px); /* header magasság + kis rés */
  max-height: calc(100vh - 68px - 32px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--ef-gray-300) transparent;
}

.ef-sidebar__inner > * + * {
  border-top: 1px solid var(--ef-gray-200);
  margin-top: 0;
}

/* WooCommerce widgetek belső stílusozása az oldalsávban */
.ef-sidebar__inner .widget {
  padding: 18px 0;
}

.ef-sidebar__inner .widget:first-child {
  padding-top: 0;
}

.ef-sidebar__inner .widgettitle,
.ef-sidebar__inner .widget-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ef-green);
  font-family: var(--ef-font-body);
  margin-bottom: 12px;
}

/* --- Termék rács terület -------------------------------------------------- */

.ef-archive-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0; /* megakadályozza a grid-túlnyúlást */
}

/* --- Rendezési sáv -------------------------------------------------------- */

.ef-archive-sortbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ef-gray-200);
  font-size: 13px;
  font-family: var(--ef-font-body);
  color: var(--ef-gray-500);
  flex-wrap: wrap;
}

/* WooCommerce result count stílus */
.ef-archive-sortbar .woocommerce-result-count {
  margin: 0;
  font-size: 13px;
  color: var(--ef-gray-500);
}

/* WooCommerce ordering dropdown stílus */
.ef-archive-sortbar .woocommerce-ordering {
  margin: 0;
}

.ef-archive-sortbar .woocommerce-ordering select {
  font-family: var(--ef-font-body);
  font-size: 13px;
  color: var(--ef-gray-700);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r);
  padding: 6px 10px;
  background: var(--ef-white);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}

.ef-archive-sortbar .woocommerce-ordering select:hover,
.ef-archive-sortbar .woocommerce-ordering select:focus {
  border-color: var(--ef-green);
}

/* --- Reszponzív: sidebar az oldalrács fölé kerül 1024px alatt ------------- */

@media (max-width: 1024px) {
  .ef-archive-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ef-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  .ef-subcats__inner {
    padding-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .ef-archive-hero__inner {
    padding-bottom: 20px;
  }

  .ef-archive-layout {
    gap: 16px;
  }
}

/* =============================================================================
   19. TERMÉK RÉSZLETOLDAL
   ============================================================================= */

/* --- Fő konténer ----------------------------------------------------------- */

.ef-product-single {
  padding-top: var(--ef-section-py);
  padding-bottom: var(--ef-section-py);
  padding-left: var(--ef-gutter);
  padding-right: var(--ef-gutter);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.ef-product-single .woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--ef-gray-400);
  margin-bottom: 28px;
  font-family: var(--ef-font-body);
}

.ef-product-single .woocommerce-breadcrumb a {
  color: var(--ef-gray-500);
  text-decoration: none;
  transition: color 0.15s;
}

.ef-product-single .woocommerce-breadcrumb a:hover {
  color: var(--ef-green);
}

/* --- Kétoszlopos elrendezés ------------------------------------------------ */

.ef-product-single__layout {
  display: grid;
  grid-template-columns: 52% 1fr;
  gap: 48px;
  align-items: start;
}

/* --- Galéria (bal oszlop) -------------------------------------------------- */

.ef-product-gallery {
  position: relative;
}

.ef-product-gallery .woocommerce-product-gallery {
  width: 100%;
  margin: 0;
}

.ef-product-gallery .woocommerce-product-gallery__image img {
  border-radius: var(--ef-r-lg);
  width: 100%;
  height: auto;
  display: block;
}

.ef-product-gallery .flex-viewport {
  border-radius: var(--ef-r-lg);
  overflow: hidden;
}

/* Zoom trigger: z-tengelyen a kép fölé rétegezve, hoverre látható, nem tolja el a képet */
.ef-product-gallery .woocommerce-product-gallery__trigger {
  position: absolute !important;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
}

.ef-product-gallery .woocommerce-product-gallery:hover .woocommerce-product-gallery__trigger {
  opacity: 1;
}

.ef-product-gallery .woocommerce-product-gallery__trigger::before {
  border-color: var(--ef-gray-600);
}

.ef-product-gallery .woocommerce-product-gallery__trigger::after {
  background: var(--ef-gray-600);
}

/* Flexslider thumbnail navigáció – vízszintes sor, lista-szám nélkül */
.ef-product-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.ef-product-gallery .flex-control-thumbs li {
  list-style: none;
  float: none;
  width: auto;
  margin: 0;
}

.ef-product-gallery .flex-control-thumbs li img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--ef-r);
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.65;
  transition: border-color 0.15s, opacity 0.15s;
}

.ef-product-gallery .flex-control-thumbs li img.flex-active,
.ef-product-gallery .flex-control-thumbs li img:hover {
  border-color: var(--ef-green);
  opacity: 1;
}

/* --- Összefoglaló panel (jobb oszlop) ------------------------------------- */

.ef-product-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ef-product-summary__cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ef-green);
  font-family: var(--ef-font-body);
}

.ef-product-summary__cat a {
  color: var(--ef-green);
  text-decoration: none;
}

.ef-product-summary__cat a:hover {
  text-decoration: underline;
}

.ef-product-summary__title {
  font-family: var(--ef-font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--ef-gray-900);
  line-height: 1.2;
  margin: 0;
}

.ef-product-summary__sku {
  font-size: 12px;
  color: var(--ef-gray-400);
  margin-bottom: 8px;
  letter-spacing: .2px;
}
.ef-product-summary__sku span { font-weight: 600; color: var(--ef-gray-500); }

.ef-product-summary__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.ef-product-summary__price .ef-price,
.ef-product-summary__price .woocommerce-Price-amount {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--ef-font-display);
  color: var(--ef-gray-900);
  line-height: 1;
}

.ef-product-summary__price .ef-price__unit {
  font-size: 14px;
  color: var(--ef-gray-400);
  font-weight: 400;
  font-family: var(--ef-font-body);
}

/* Bruttó a fő ár (nagyban), a "(nettó: X)" jegyzet olvasható másodlagos –
   a suffix számát külön méretezzük, hogy ne versenyezzen a bruttóval. */
.ef-product-summary__price .woocommerce-price-suffix,
.ef-product-summary__price .woocommerce-price-suffix .woocommerce-Price-amount {
  font-size: 18px;
  font-weight: 500;
  font-family: var(--ef-font-body);
  color: var(--ef-gray-500);
  line-height: 1.2;
}

.ef-product-summary__short-desc {
  font-size: 14px;
  color: var(--ef-gray-600);
  line-height: 1.65;
  margin: 12px 0 4px;
}
.ef-product-summary__short-desc p { margin: 0 0 6px; }
.ef-product-summary__short-desc p:last-child { margin-bottom: 0; }
.ef-product-summary__short-desc ul,
.ef-product-summary__short-desc ol {
  margin: 4px 0 4px 18px;
  padding: 0;
}

.ef-product-summary__divider {
  border: none;
  border-top: 1px solid var(--ef-gray-200);
  margin: 4px 0;
}

/* --- Raktárkészlet badge --------------------------------------------------- */

.ef-stock-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--ef-font-body);
  width: fit-content;
}

.ef-stock-badge--green {
  background: var(--ef-green-light);
  color: var(--ef-green-mid);
}

.ef-stock-badge--orange {
  background: #fff3e8;
  color: var(--ef-orange);
}

.ef-stock-badge--gray {
  background: var(--ef-gray-100);
  color: var(--ef-gray-500);
}

/* --- WC standard kosárba gomb (gerendaszámító nélkül) --------------------- */

.ef-product-summary .cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ef-product-summary .quantity {
  display: flex;
  align-items: center;
}

.ef-product-summary .quantity input[type="number"] {
  width: 72px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: var(--ef-font-body);
  color: var(--ef-gray-900);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r);
  background: var(--ef-white);
  text-align: center;
  outline: none;
  transition: border-color 0.15s;
}

.ef-product-summary .quantity input[type="number"]:focus {
  border-color: var(--ef-green);
}

.ef-product-summary .single_add_to_cart_button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--ef-font-display);
  background: var(--ef-green);
  color: #fff;
  border: none;
  border-radius: var(--ef-r-lg);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0, 179, 66, 0.28);
  min-height: 52px;
}

.ef-product-summary .single_add_to_cart_button:hover {
  background: var(--ef-green-mid);
  box-shadow: 0 4px 16px rgba(0, 179, 66, 0.35);
  transform: translateY(-1px);
}

/* --- Szállítási info sáv --------------------------------------------------- */

.ef-product-shipping {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--ef-gray-200);
  border-bottom: 1px solid var(--ef-gray-200);
  padding: 14px 0;
}

.ef-product-shipping__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ef-gray-700);
  font-family: var(--ef-font-body);
  flex: 1;
  min-width: 140px;
}

.ef-product-shipping__item svg {
  color: var(--ef-green);
  flex-shrink: 0;
}

/* --- Nagyker CTA ----------------------------------------------------------- */

.ef-product-wholesale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--ef-gray-50);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r-lg);
  padding: 14px 18px;
  flex-wrap: wrap;
}

.ef-product-wholesale span {
  font-size: 14px;
  font-weight: 700;
  color: var(--ef-gray-700);
  font-family: var(--ef-font-body);
}

/* --- Fülek ----------------------------------------------------------------- */

.ef-product-tabs {
  padding: var(--ef-section-py) var(--ef-gutter);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.ef-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ef-gray-200);
  margin-bottom: 32px;
}

.ef-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--ef-font-display);
  color: var(--ef-gray-500);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  outline: none;
  white-space: nowrap;
}

.ef-tab-btn:hover {
  color: var(--ef-gray-900);
}

.ef-tab-btn.is-active {
  color: var(--ef-green);
  border-bottom-color: var(--ef-green);
}

.ef-tab-content {
  display: none;
}

.ef-tab-content.is-active {
  display: block;
}

.ef-tab-content__inner {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ef-gray-700);
  font-family: var(--ef-font-body);
  max-width: 800px;
}

.ef-tab-content__inner h2,
.ef-tab-content__inner h3 {
  font-family: var(--ef-font-display);
  color: var(--ef-gray-900);
  margin-top: 1.5em;
}

.ef-tab-content__placeholder {
  color: var(--ef-gray-400);
  font-style: italic;
}

/* Műszaki adatok tábla */
.ef-tab-content__inner .woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ef-tab-content__inner .woocommerce-product-attributes th,
.ef-tab-content__inner .woocommerce-product-attributes td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--ef-gray-200);
}

.ef-tab-content__inner .woocommerce-product-attributes th {
  width: 36%;
  font-weight: 700;
  color: var(--ef-gray-700);
  background: var(--ef-gray-50);
}

/* --- Kapcsolódó termékek --------------------------------------------------- */

.ef-related {
  background: var(--ef-gray-50);
  padding: var(--ef-section-py) var(--ef-gutter);
}

.ef-related__inner {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.ef-related__title {
  font-family: var(--ef-font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--ef-gray-900);
  margin: 0 0 24px;
}

.ef-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Reszponzív ------------------------------------------------------------ */

/* ≤1280px: kisebb gap */
@media (max-width: 1280px) {
  .ef-product-single__layout {
    gap: 32px;
  }
}

/* ≤1024px: egy oszlop */
@media (max-width: 1024px) {
  .ef-product-single__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ef-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ≤768px: teljes szélesség, kisebb szövegméretek */
@media (max-width: 768px) {
  .ef-product-single {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .ef-product-gallery {
    width: 100%;
  }

  .ef-product-summary__title {
    font-size: 22px;
  }

  .ef-product-summary__price .ef-price,
  .ef-product-summary__price .woocommerce-Price-amount {
    font-size: 22px;
  }

  .ef-product-shipping {
    flex-direction: column;
    gap: 10px;
  }

  .ef-product-wholesale {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ef-tab-btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .ef-related__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* ≤480px: egyoszlopos kapcsolódó */
@media (max-width: 480px) {
  .ef-related__grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   20. STOREFRONT / WOOCOMMERCE KONFLIKTUS FELÜLÍRÁSOK
   Storefront WC CSS-e float-alapú elrendezést alkalmaz a galériára és
   a terméklista kártyákra. Ezek felülírása szükséges az egyedi sablonainkhoz.
   ============================================================================= */

/* --- Termék galéria: float reset ------------------------------------------- */

/* Storefront: .woocommerce-product-gallery { float:left; width:41.18% }
   Ezt felülírjuk – a galéria foglalja be a teljes .ef-product-gallery oszlopot. */
.ef-product-gallery .woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
}

/* Clearfix: a floatolt belső elemeket tartsa a konténeren belül */
.ef-product-gallery {
  overflow: hidden;
}

/* --- Add-to-cart form stílusok a summary panelben -------------------------- */

/* WC quantity + button sort: flexbe rendezzük, teljes szélességre */
.ef-product-summary .quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.ef-product-summary .quantity .qty {
  width: 72px;
  height: 44px;
  border: 1px solid var(--ef-gray-300);
  border-radius: var(--ef-r);
  padding: 0 12px;
  font-size: 15px;
  font-family: var(--ef-font-body);
  color: var(--ef-gray-900);
  text-align: center;
  background: var(--ef-white);
}

/* WC add-to-cart form sor: quantity + gomb egymás mellett */
.ef-product-summary form.cart {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.ef-product-summary form.cart .single_add_to_cart_button {
  flex: 1;
  min-width: 160px;
  background: var(--ef-green);
  color: #fff;
  border: none;
  border-radius: var(--ef-r-lg);
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--ef-font-body);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 2px 8px rgba(0, 179, 66, 0.28);
  min-height: 52px;
}

.ef-product-summary form.cart .single_add_to_cart_button:hover {
  background: var(--ef-green-mid);
  box-shadow: 0 4px 16px rgba(0, 179, 66, 0.35);
  transform: translateY(-1px);
}

/* Override Storefront inline .button.alt { background: #333333 } */
.ef-product-summary .single_add_to_cart_button.button.alt,
.ef-product-summary .single_add_to_cart_button.alt {
  background-color: var(--ef-green) !important;
  border-color: var(--ef-green) !important;
  color: #fff !important;
}
.ef-product-summary .single_add_to_cart_button.button.alt:hover,
.ef-product-summary .single_add_to_cart_button.alt:hover {
  background-color: var(--ef-green-mid) !important;
  border-color: var(--ef-green-mid) !important;
}

/* --- Archív terméklista: float-alapú WC rács → CSS grid -------------------- */

/* Storefront: ul.products.columns-3 li.product { float:left; width:30.43% }
   Felülírjuk CSS grid-del, hogy a kártyák egyenletesek és responsive-ek legyenek. */
.ef-archive-grid ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}

/* Clearfix pseudo-elemek kikapcsolása */
.ef-archive-grid ul.products::before,
.ef-archive-grid ul.products::after {
  content: none !important;
  display: none !important;
}

/* Egyedi kártyastílus a WC li.product elemekre */
.ef-archive-grid ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r);
  overflow: hidden;
  transition: box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 1rem;
}

.ef-archive-grid ul.products li.product:hover {
  box-shadow: var(--ef-shadow-md);
}

/* Termékképek – négyzetes arány (WC thumbnail: 324×324) */
.ef-archive-grid ul.products li.product a img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin: 0 !important;
  border-radius: 0;
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
  image-rendering: -webkit-optimize-contrast;
}

/* Ha nincs kép: placeholder blokk */
.ef-archive-grid ul.products li.product .woocommerce-LoopProduct-link:not(:has(img))::before {
  content: '';
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--ef-gray-100);
}

/* Link: flexbox a tartalom terjesztéséhez */
.ef-archive-grid ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

/* Termék cím */
.ef-archive-grid ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--ef-font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--ef-gray-900);
  line-height: 1.4;
  padding: 12px 14px 4px;
  margin: 0 !important;
  text-align: left;
  flex: 1;
}

/* Ár */
.ef-archive-grid ul.products li.product .price {
  display: block !important;
  font-family: var(--ef-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ef-gray-900);
  padding: 4px 14px 12px;
  margin: 0 !important;
  text-align: left;
}

.ef-archive-grid ul.products li.product .price del {
  font-size: 13px;
  color: var(--ef-gray-400);
  font-weight: 400;
  margin-right: 4px;
}

.ef-archive-grid ul.products li.product .price ins {
  text-decoration: none;
  background: none;
  color: var(--ef-orange);
}

/* Kosárba gomb */
.ef-archive-grid ul.products li.product .button {
  display: block !important;
  width: calc(100% - 28px);
  margin: auto 14px 14px !important;
  background: var(--ef-orange);
  color: var(--ef-white) !important;
  border: none !important;
  border-radius: var(--ef-r) !important;
  padding: 9px 16px !important;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--ef-font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  float: none !important;
}

.ef-archive-grid ul.products li.product .button:hover {
  background: #c95a00;
  color: var(--ef-white) !important;
}

/* Csillagértékelés */
.ef-archive-grid ul.products li.product .star-rating {
  margin: 0 0 0 14px !important;
  font-size: 0.75em;
}

/* --- Archív rács reszponzív ------------------------------------------------ */

@media (max-width: 1100px) {
  .ef-archive-grid ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 700px) {
  .ef-archive-grid ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .ef-archive-grid ul.products {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
}

/* --- Archív: egy oszlopos mód, ha nincs sidebar (grid first-child) --------- */

/* Ha a sidebar inactive, az .ef-archive-grid egyedül van a gridben.
   Ilyenkor a 280px+1fr sablon az egyetlen gyereket a 280px-es sávba tolja.
   Ezt javítjuk: ha az .ef-archive-grid az első ÉS egyetlen direkt gyerek, full-width */
.ef-archive-layout > .ef-archive-grid:only-child {
  grid-column: 1 / -1;
}

/* --- Archív oldal: .col-full max-width feloldása (full-width elrendezés) --- */

/* Storefront a .col-full-ба rakja az összes tartalmunkat (max-width ~1064px).
   A kategória archív oldalakon ezt feloldjuk, hogy az .ef-archive-hero és
   .ef-archive-layout teljes szélességet kapjanak.
   Minden saját szekciónak megvan a saját padding-a (via .ef-section / --ef-gutter). */
body.tax-product_cat .site-content > .col-full,
body.single-product .site-content > .col-full {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Storefront a woocommerce_breadcrumb_defaults filterrel .storefront-breadcrumb wrappert ad.
   Ennek 1em padding és ~1.6–3.7em margin-bottom van – a mi designunkban ez felesleges. */
.ef-product-single .storefront-breadcrumb {
  padding: 0;
  margin: 0 0 20px;
}

/* --- .product wrapper: Storefront float-reset a mi sablonunkban ------------ */

/* Storefront: div.product { overflow:hidden } – ez nem okoz gondot,
   de a belső .woocommerce-product-gallery floatját felülírtuk fentebb.
   A .ef-product-single__product saját .product osztályt kap post_class() révén,
   biztosítjuk, hogy Storefront float-jai ne törjék el a grid layout-ot. */
.ef-product-single__product {
  overflow: visible !important;
}

.ef-product-single__product .woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
}

/* .summary osztályt a mi .ef-product-summary nem kapja, de ha WC hozzáadja: */
.ef-product-single__product .summary {
  float: none !important;
  width: auto !important;
}

/* --- Termék oldal: WC notices és breadcrumb ------------------------------- */

/* WC breadcrumb márciúsos margók visszaállítása */
.ef-product-single .woocommerce-breadcrumb {
  display: block;
}

/* WC woocommerce-notices (pl. "Sikeresen kosárba tettük") */
.ef-product-single .woocommerce-message,
.ef-product-single .woocommerce-error,
.ef-product-single .woocommerce-info {
  margin-bottom: 20px;
  border-radius: var(--ef-r);
}

/* =============================================================================
   21. WC VARIÁCIÓ GOMB CSOPORT
   A natív <select> elemek helyett megjelenő pill/gomb stílusú variáció választók.
   JS: efatelep-product.js rendereli, select értékét szinkronban tartja WC JS-sel.
   ============================================================================= */

.ef-product-summary .variations {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 4px;
}

.ef-product-summary .variations th,
.ef-product-summary .variations td {
  padding: 6px 0;
  vertical-align: middle;
  text-align: left;
  border: none;
}

.ef-product-summary .variations th.label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ef-gray-600, #4b5563);
  font-family: var(--ef-font-body);
  white-space: nowrap;
  padding-right: 14px;
  padding-top: 4px;
  padding-bottom: 4px;
  vertical-align: top;
  width: 1%;
}

.ef-product-summary .reset_variations {
  display: none !important; /* Gomboknál kattintással törlés van, link felesleges */
}

/* --- Gomb csoport konténer --- */
.ef-var-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* --- Egyedi variáció gomb --- */
.ef-var-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border: 1.5px solid var(--ef-gray-300, #d1d5db);
  border-radius: 20px;
  font-family: var(--ef-font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ef-gray-700);
  background: var(--ef-white);
  cursor: pointer;
  line-height: 1.3;
  min-width: 44px;
  min-height: 38px;
  text-align: center;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
  user-select: none;
}

.ef-var-btn:hover:not([disabled]):not(.is-disabled) {
  border-color: var(--ef-green);
  color: var(--ef-green);
  background: var(--ef-green-light, #f0faf0);
}

.ef-var-btn.is-selected {
  border-color: var(--ef-green);
  background: var(--ef-green);
  color: #fff;
  box-shadow: 0 1px 4px rgba(42, 122, 71, 0.25);
}

.ef-var-btn.is-disabled,
.ef-var-btn[disabled] {
  opacity: 0.38;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* --- ef-mega-brand-item--more -------------------------------------------- */
.ef-mega-brand-item--more {
  border-style: dashed;
  color: var(--ef-green);
  border-color: var(--ef-green-light);
  background: var(--ef-green-light);
  font-weight: 700;
  text-align: center;
}

.ef-mega-brand-item--more:hover {
  background: var(--ef-green);
  color: var(--ef-white);
  border-color: var(--ef-green);
}

/* =============================================================================
   MOBIL NAVIGÁCIÓ – Bottom bar + Drawer + Search overlay
   ============================================================================= */

/* Alapból rejtve – media query nyitja ki mobilon */
.ef-bottom-nav,
.ef-mobile-nav,
#ef-mobile-search-overlay {
  display: none;
}

@media (max-width: 767px) {

  /* Body: hely a fix bottom bar alatt */
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Desktop nav elemek elrejtve mobilon */
  .ef-nav-wrapper {
    display: none !important;
  }

  /* ── Fix bottom navigáció ─────────────────────────────────────────────── */
  .ef-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--ef-white);
    border-top: 1px solid var(--ef-gray-200);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
  }

  .ef-bottom-nav__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    min-height: 56px;
    font-size: 11px;
    font-weight: 500;
    color: var(--ef-gray-700);
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--ef-font-body);
    transition: color 0.15s;
    -webkit-tap-highlight-color: transparent;
  }

  .ef-bottom-nav__btn:hover,
  .ef-bottom-nav__btn:focus {
    color: var(--ef-green);
  }

  .ef-bottom-nav__btn i {
    font-size: 20px;
    line-height: 1;
    color: inherit !important;
  }

  .ef-bottom-nav__btn span {
    font-size: 11px;
    line-height: 1.2;
    color: inherit !important;
  }

  .ef-bottom-nav__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ef-bottom-nav__badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--ef-orange);
    color: var(--ef-white);
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
  }

  .ef-bottom-nav__badge--hidden {
    display: none;
  }

  /* ── Mobil drawer ─────────────────────────────────────────────────────── */
  .ef-mobile-nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9100;
    pointer-events: none;
  }

  .ef-mobile-nav.is-open {
    pointer-events: auto;
  }

  .ef-mobile-nav__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.25s;
  }

  .ef-mobile-nav.is-open .ef-mobile-nav__backdrop {
    opacity: 1;
  }

  .ef-mobile-nav__drawer {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 90vw);
    background: var(--ef-white);
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .ef-mobile-nav.is-open .ef-mobile-nav__drawer {
    transform: translateX(0);
  }

  .ef-mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--ef-gray-200);
    flex-shrink: 0;
  }

  .ef-mobile-nav__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ef-gray-900);
    font-family: var(--ef-font-display);
  }

  .ef-mobile-nav__close {
    background: none !important;
    border: none !important;
    padding: 8px !important;
    cursor: pointer !important;
    color: var(--ef-gray-700) !important;
    font-size: 18px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: var(--ef-r) !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }

  .ef-mobile-nav__close i {
    color: var(--ef-gray-700) !important;
    font-size: 18px !important;
  }

  .ef-mobile-nav__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
  }

  /* ── WP menu stílusok ─────────────────────────────────────────────────── */
  ul.ef-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .ef-mobile-menu__item {
    border-bottom: 1px solid var(--ef-gray-100);
  }

  .ef-mobile-menu__link {
    display: block;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ef-gray-900);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
  }

  .ef-mobile-menu__link:hover {
    color: var(--ef-green);
    background: var(--ef-gray-50);
  }

  .ef-mobile-menu__row {
    display: flex;
    align-items: center;
  }

  .ef-mobile-menu__row > .ef-mobile-menu__link {
    flex: 1;
  }

  .ef-mobile-menu__toggle {
    background: none !important;
    border: none !important;
    padding: 13px 14px !important;
    cursor: pointer !important;
    color: var(--ef-gray-500) !important;
    font-size: 13px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .ef-mobile-menu__toggle i {
    color: inherit !important;
    transition: transform 0.2s;
  }

  .ef-mobile-menu__toggle.is-open i {
    transform: rotate(180deg);
  }

  ul.ef-mobile-menu__sub {
    list-style: none;
    margin: 0;
    padding: 0 0 4px 0;
    background: var(--ef-gray-50);
  }

  .ef-mobile-menu__sub-item {
    border-top: 1px solid var(--ef-gray-100);
  }

  .ef-mobile-menu__sub-link {
    display: block;
    padding: 10px 16px 10px 28px;
    font-size: 14px;
    color: var(--ef-gray-700);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
  }

  .ef-mobile-menu__sub-link:hover {
    color: var(--ef-green);
    background: var(--ef-gray-100);
  }

  /* ── Keresés overlay ──────────────────────────────────────────────────── */
  #ef-mobile-search-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9200;
    background: var(--ef-white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    transform: translateY(-100%);
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
  }

  #ef-mobile-search-overlay.is-open {
    transform: translateY(0);
    pointer-events: auto;
  }

  .ef-mobile-search-overlay__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
  }

  .ef-mobile-search-overlay__close {
    align-self: flex-end;
    background: none !important;
    border: none !important;
    padding: 8px !important;
    cursor: pointer !important;
    color: var(--ef-gray-700) !important;
    font-size: 22px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: var(--ef-r) !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .ef-mobile-search-overlay__close i {
    color: var(--ef-gray-700) !important;
    font-size: 22px !important;
  }

  #ef-mobile-search-overlay .woocommerce-product-search,
  #ef-mobile-search-overlay form[role="search"] {
    display: flex;
    gap: 8px;
  }

  #ef-mobile-search-overlay input[type="search"] {
    flex: 1;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--ef-gray-300);
    border-radius: var(--ef-r);
    font-size: 16px;
    font-family: var(--ef-font-body);
    color: var(--ef-gray-900);
    background: var(--ef-white);
    outline: none;
    -webkit-appearance: none;
  }

  #ef-mobile-search-overlay input[type="search"]:focus {
    border-color: var(--ef-green);
    box-shadow: 0 0 0 2px var(--ef-green-light);
  }

  #ef-mobile-search-overlay button[type="submit"] {
    height: 48px;
    padding: 0 16px;
    background: var(--ef-green);
    color: var(--ef-white) !important;
    border: none;
    border-radius: var(--ef-r);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--ef-font-body);
  }

  body.ef-nav-open {
    overflow: hidden !important;
  }

} /* end @media (max-width: 767px) */

/* =============================================================================
   MÁRKÁK OLDAL (page-markak.php)
   ============================================================================= */

.ef-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.ef-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  text-align: center;
}

.ef-brand-card:hover {
  border-color: var(--ef-green);
  box-shadow: var(--ef-shadow-sm);
  transform: translateY(-2px);
}

.ef-brand-card__logo {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ef-brand-card__logo img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ef-brand-card__initial {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ef-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--ef-gray-600);
  font-family: var(--ef-font-display);
}

.ef-brand-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ef-gray-900);
  font-family: var(--ef-font-body);
  line-height: 1.3;
}

.ef-brand-card__count {
  font-size: 12px;
  color: var(--ef-gray-500);
  font-family: var(--ef-font-body);
}

/* =============================================================================
   KAPCSOLAT OLDAL (page-kapcsolat.php)
   ============================================================================= */

.ef-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .ef-contact-layout {
    grid-template-columns: 1fr;
  }
}

.ef-contact__col-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ef-gray-900);
  font-family: var(--ef-font-display);
  margin: 0 0 20px;
}

.ef-contact-form__placeholder {
  background: var(--ef-gray-100);
  border: 2px dashed var(--ef-gray-300);
  border-radius: var(--ef-r);
  padding: 32px;
  text-align: center;
}

.ef-contact-form__placeholder-text {
  color: var(--ef-gray-500);
  font-size: 14px;
  margin: 0;
}

.ef-contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.ef-contact-info__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ef-contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ef-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ef-contact-info__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ef-contact-info__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ef-gray-500);
  font-family: var(--ef-font-body);
}

.ef-contact-info__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--ef-gray-900);
  text-decoration: none;
}

a.ef-contact-info__value:hover {
  color: var(--ef-green);
}

.ef-contact-company {
  border-top: 1px solid var(--ef-gray-200);
  padding-top: 24px;
}

.ef-contact-company__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ef-gray-700);
  margin: 0 0 12px;
  font-family: var(--ef-font-body);
}

.ef-contact-company__list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 13px;
}

.ef-contact-company__list dt {
  color: var(--ef-gray-500);
  font-weight: 500;
}

.ef-contact-company__list dd {
  color: var(--ef-gray-900);
  margin: 0;
}

/* Összes kategória panel – „További alkategóriák" link */
.ef-mega-all-more {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ef-green);
  text-decoration: none;
  font-family: var(--ef-font-body);
}

.ef-mega-all-more:hover {
  text-decoration: underline;
}


/* =============================================================================
   FOOTER WIDGET – Navigation menu / Custom links widget normalizálás
   A WP widget <ul><li><a> struktúrát generál – ugyanolyan stílus mint
   a Kategóriák oszlopban lévő közvetlen <a> elemek.
   ============================================================================= */

.ef-footer__col .widget ul,
.ef-footer__col .widget ol,
.ef-footer__col .widget nav ul,
.ef-footer__col .widget .menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.ef-footer__col .widget li,
.ef-footer__col .widget nav li {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

.ef-footer__col .widget li a,
.ef-footer__col .widget a,
.ef-footer__col .widget nav a {
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
  display: inline-block;
  text-transform: capitalize;
}

.ef-footer__col .widget li a:hover,
.ef-footer__col .widget a:hover,
.ef-footer__col .widget nav a:hover {
  color: #fff;
}

/* Widget cím – igazítás az ef-footer__col-title-hoz */
.ef-footer__col .widget-title,
.ef-footer__col .widgettitle {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 14px 0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Widget konténer saját margó eltávolítása */
.ef-footer__col .widget {
  margin: 0;
  padding: 0;
}

/* =============================================================================
   AUTH MODAL – Bejelentkezés / Regisztráció
   ============================================================================= */

/* Alap: rejtett, fixed overlay */
.ef-auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.ef-auth-modal.is-open {
  display: flex;
}

/* Overlay (semi-transparent háttér) */
.ef-auth-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Modal box */
.ef-auth-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 14px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 420px;
  margin: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  max-height: 90vh;
  overflow-y: auto;
}

/* Bezáró gomb */
.ef-auth-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ef-gray-500, #6b7280);
  line-height: 1;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.ef-auth-modal__close:hover {
  background: var(--ef-gray-100, #f3f4f6);
  color: var(--ef-gray-800, #1f2937);
}

/* Header – logó sor */
.ef-auth-modal__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.ef-auth-modal__logo-bar {
  display: inline-block;
  width: 5px;
  height: 22px;
  background: var(--ef-green, #16a34a);
  border-radius: 2px;
}

.ef-auth-modal__logo-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--ef-gray-900, #111827);
  font-family: var(--ef-font-display, sans-serif);
  letter-spacing: -0.3px;
  text-transform: lowercase;
}

/* Tabok */
.ef-auth-modal__tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ef-gray-200, #e5e7eb);
  margin-bottom: 22px;
}

.ef-auth-modal__tab {
  background: none;
  border: none;
  padding: 8px 16px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ef-gray-500, #6b7280);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
  font-family: var(--ef-font-body, sans-serif);
}

.ef-auth-modal__tab.is-active {
  color: var(--ef-green, #16a34a);
  border-bottom-color: var(--ef-green, #16a34a);
}

.ef-auth-modal__title-single {
  font-size: 18px;
  font-weight: 700;
  color: var(--ef-gray-900, #111827);
  margin: 0 0 20px;
}

/* Panelok */
.ef-auth-modal__pane {
  display: none;
}
.ef-auth-modal__pane.is-active {
  display: block;
}

/* Form mezők */
.ef-auth-modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ef-auth-modal__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ef-auth-modal__field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ef-gray-700, #374151);
}

.ef-auth-modal__field input[type="email"],
.ef-auth-modal__field input[type="password"],
.ef-auth-modal__field input[type="text"] {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--ef-gray-300, #d1d5db);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ef-gray-900, #111827);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.ef-auth-modal__field input:focus {
  outline: none;
  border-color: var(--ef-green, #16a34a);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

/* Jelszó mező wrapper */
.ef-auth-modal__pass-wrap {
  position: relative;
}

.ef-auth-modal__pass-wrap input {
  padding-right: 40px;
}

.ef-auth-modal__pass-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: var(--ef-gray-400, #9ca3af);
}

/* Emlékezz rám + elfelejtett jelszó sor */
.ef-auth-modal__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ef-auth-modal__remember {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ef-gray-600, #4b5563);
  cursor: pointer;
}

.ef-auth-modal__forgot {
  font-size: 13px;
  color: var(--ef-green, #16a34a);
  text-decoration: none;
}
.ef-auth-modal__forgot:hover {
  text-decoration: underline;
}

/* Tab váltó szöveg */
.ef-auth-modal__switch {
  text-align: center;
  font-size: 13px;
  color: var(--ef-gray-500, #6b7280);
  margin: 16px 0 0;
}

.ef-auth-modal__switch-btn {
  background: none;
  border: none;
  color: var(--ef-green, #16a34a);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.ef-auth-modal__switch-btn:hover {
  text-decoration: underline;
}

/* ÁSZF szöveg regisztrációban */
.ef-auth-modal__terms {
  font-size: 12px;
  color: var(--ef-gray-400, #9ca3af);
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.5;
}
.ef-auth-modal__terms a {
  color: var(--ef-green, #16a34a);
}

/* Body scroll-lock */
body.ef-modal-open {
  overflow: hidden;
}

/* Mobil */
@media (max-width: 480px) {
  .ef-auth-modal__box {
    padding: 28px 20px 22px;
    border-radius: 12px 12px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    margin: 0;
    max-height: 85vh;
  }
  .ef-auth-modal {
    align-items: flex-end;
  }
}

/* =============================================================================
   404 OLDAL
   ============================================================================= */

.ef-404-page {
  padding: clamp(48px, 8vw, 96px) var(--ef-gutter, 24px);
  min-height: 55vh;
  display: flex;
  align-items: center;
}

.ef-404-page .col-full {
  width: 100%;
}

.ef-404-page__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* Vizuális rész – nagy 404 szám */
.ef-404-page__visual {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.ef-404-page__number {
  font-size: clamp(96px, 18vw, 160px);
  font-weight: 900;
  line-height: 1;
  color: var(--ef-gray-100, #f3f4f6);
  font-family: var(--ef-font-display, sans-serif);
  letter-spacing: -6px;
  user-select: none;
}

.ef-404-page__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--ef-green, #16a34a);
  opacity: 0.7;
}

/* Szövegek */
.ef-404-page__title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--ef-gray-900, #111827);
  margin: 0 0 12px;
  font-family: var(--ef-font-display, sans-serif);
}

.ef-404-page__text {
  font-size: 15px;
  color: var(--ef-gray-500, #6b7280);
  line-height: 1.6;
  margin: 0 0 28px;
}

/* Keresőmező */
.ef-404-page__search {
  margin-bottom: 20px;
}

.ef-404-page__search .search-field,
.ef-404-page__search input[type="search"],
.ef-404-page__search input[type="text"] {
  width: 100%;
  max-width: 400px;
  padding: 11px 16px;
  border: 2px solid var(--ef-gray-200, #e5e7eb);
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.ef-404-page__search input:focus {
  outline: none;
  border-color: var(--ef-green, #16a34a);
}

.ef-404-page__search .search-submit {
  display: none; /* Gombot elrejtjük, Enter-rel kereshető */
}

/* CTA gombok */
.ef-404-page__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Kategória chip-ek */
.ef-404-page__cats {
  border-top: 1px solid var(--ef-gray-200, #e5e7eb);
  padding-top: 28px;
}

.ef-404-page__cats-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ef-gray-400, #9ca3af);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 14px;
}

.ef-no-results__cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.ef-no-results__cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  background: var(--ef-gray-100, #f3f4f6);
  color: var(--ef-gray-700, #374151);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.ef-no-results__cat-chip:hover {
  background: var(--ef-green, #16a34a);
  color: #fff;
}

/* =============================================================================
   FOOTER – <br> tagek elrejtése widget blokkokban, sentence case reset
   ============================================================================= */

/* A Gutenberg Custom HTML widget <br>-t használ linkek között –
   flex containerben is helyet foglalnak, ezért elrejtjük */
.ef-footer__links br {
  display: none;
}

/* Footer linkek: flex + gap (a <br>-ek nélkül ez elég) */
.ef-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Sentence case: CSS nem tud all-caps-ből lowercase-t csinálni,
   ezért a PHP template-ben MB_CASE_TITLE konverziót alkalmazunk.
   A CSS-ben csak a text-transform-ot állítjuk none-ra. */
.ef-footer__links a,
.ef-footer__col .widget li a,
.ef-footer__col .widget a,
.ef-footer__col .widget nav a {
  text-transform: none;
}

/* =============================================================================
   LOGO + HEADER IKONOK – outline eltávolítása egérkattintásra
   ============================================================================= */

.custom-logo-link:focus:not(:focus-visible),
.ef-logo:focus:not(:focus-visible),
.ef-hdr-btn:focus:not(:focus-visible),
.ef-nav-item > a:focus:not(:focus-visible),
.ef-auth-modal__close:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}


/* =============================================================================
   FIÓKOM – WooCommerce My Account arculat
   Tokenek: --ef-green, --ef-orange, --ef-gray-*, --ef-r*, --ef-font-*
   ============================================================================= */

/* ── Oldal alap wrapper ─────────────────────────────────────────────────────── */

.woocommerce-account .site-content {
  background: var(--ef-gray-50);
}
.woocommerce-account .woocommerce {
  display: grid !important;
  grid-template-columns: 260px 1fr !important;
  gap: 48px !important;
  align-items: start !important;
  padding: 56px var(--ef-gutter) 80px !important;
  max-width: 1280px;
  margin: 0 auto;
}
/* reset Storefront float clearfix so grid works */
.woocommerce-account .woocommerce::after {
  display: none !important;
}

/* ── Oldalsáv navigáció ─────────────────────────────────────────────────────── */

.woocommerce-MyAccount-navigation {
  float: none !important;
  width: auto !important;
  margin-right: 0 !important;
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r-lg);
  overflow: hidden;
  position: sticky;
  top: 100px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* Sidebar fejléc sáv */
.woocommerce-MyAccount-navigation::before {
  content: "Fiókom";
  display: block;
  padding: 16px 22px 14px;
  font-family: var(--ef-font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ef-gray-400);
  border-bottom: 1px solid var(--ef-gray-100);
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 10px 0 6px;
}

.woocommerce-MyAccount-navigation ul li {
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation ul li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 13px 22px !important;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ef-gray-700);
  text-decoration: none;
  font-family: var(--ef-font-body);
  transition: background 0.13s, color 0.13s;
  border-left: 3px solid transparent;
}

/* Storefront FA5 ikonok: float:right törlése → flex sorba balra kerülnek */
.woocommerce-MyAccount-navigation ul li a::before {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 10px;
  width: auto !important;
  opacity: 0.45;
  font-size: 15px;
  order: -1;
}
.woocommerce-MyAccount-navigation ul li a:hover::before,
.woocommerce-MyAccount-navigation ul li.is-active a::before,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a::before {
  opacity: 1;
}

.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--ef-gray-50);
  color: var(--ef-green);
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a {
  background: var(--ef-green-light);
  color: var(--ef-green);
  font-weight: 700;
  border-left-color: var(--ef-green);
}

/* Kijelentkezés piros accent */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #dc2626;
  border-top: 1px solid var(--ef-gray-100);
  margin-top: 4px;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: #fef2f2;
  color: #b91c1c;
}

/* ── Tartalom terület ────────────────────────────────────────────────────────── */

.woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  margin-right: 0 !important;
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r-lg);
  padding: 40px 44px;
  min-width: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* Üdvözlő szöveg */
.woocommerce-MyAccount-content p:first-child {
  font-size: 15px;
  color: var(--ef-gray-700);
  line-height: 1.6;
  margin-top: 0;
}

/* ── Cím szekció fejlécek ────────────────────────────────────────────────────── */

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-family: var(--ef-font-display);
  color: var(--ef-gray-900);
  margin-top: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ef-gray-100);
  margin-bottom: 20px;
}

.woocommerce-MyAccount-content h2 { font-size: 18px; font-weight: 800; }
.woocommerce-MyAccount-content h3 { font-size: 15px; font-weight: 700; }

/* ── Üzenetek (success, error, info) ────────────────────────────────────────── */

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border-radius: var(--ef-r);
  padding: 12px 16px 12px 44px;
  font-size: 14px;
  font-family: var(--ef-font-body);
  margin-bottom: 20px;
  position: relative;
  list-style: none;
  border-top: none !important;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
}

.woocommerce-message {
  background: var(--ef-green-light);
  color: #166534;
  border-left: 4px solid var(--ef-green);
}
.woocommerce-message::before { content: '\f058'; color: var(--ef-green); }

.woocommerce-error {
  background: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #dc2626;
}
.woocommerce-error::before { content: '\f071'; color: #dc2626; }

.woocommerce-info {
  background: #eff6ff;
  color: #1e40af;
  border-left: 4px solid #3b82f6;
}
.woocommerce-info::before { content: '\f05a'; color: #3b82f6; }

/* ── Form mezők ─────────────────────────────────────────────────────────────── */

.woocommerce-account .woocommerce input[type="text"],
.woocommerce-account .woocommerce input[type="email"],
.woocommerce-account .woocommerce input[type="tel"],
.woocommerce-account .woocommerce input[type="password"],
.woocommerce-account .woocommerce input[type="number"],
.woocommerce-account .woocommerce select,
.woocommerce-account .woocommerce textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--ef-gray-300);
  border-radius: var(--ef-r);
  font-size: 14px;
  font-family: var(--ef-font-body);
  color: var(--ef-gray-900);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  appearance: none;
}

.woocommerce-account .woocommerce input:focus,
.woocommerce-account .woocommerce select:focus,
.woocommerce-account .woocommerce textarea:focus {
  outline: none;
  border-color: var(--ef-green);
  box-shadow: 0 0 0 3px rgba(0, 179, 66, 0.12);
}

.woocommerce-account .woocommerce label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ef-gray-700);
  display: block;
  margin-bottom: 5px;
  font-family: var(--ef-font-body);
}

.woocommerce-account .woocommerce .form-row {
  margin-bottom: 16px;
}

/* Kötelező csillag */
.woocommerce-account .woocommerce .required {
  color: #dc2626;
}

/* ── Gombok ─────────────────────────────────────────────────────────────────── */

.woocommerce-account .woocommerce button[type="submit"],
.woocommerce-account .woocommerce input[type="submit"],
.woocommerce-account .woocommerce .woocommerce-Button,
.woocommerce-account .woocommerce a.button,
.woocommerce-account .woocommerce button.button {
  background: var(--ef-green);
  color: #fff;
  border: none;
  border-radius: var(--ef-r);
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--ef-font-body);
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.woocommerce-account .woocommerce button[type="submit"]:hover,
.woocommerce-account .woocommerce input[type="submit"]:hover,
.woocommerce-account .woocommerce .woocommerce-Button:hover,
.woocommerce-account .woocommerce a.button:hover,
.woocommerce-account .woocommerce button.button:hover {
  background: var(--ef-green-mid);
  color: #fff;
}

/* Másodlagos gombok (pl. "Szerkesztés") */
.woocommerce-account .woocommerce a.button.alt,
.woocommerce-account .woocommerce button.button.alt {
  background: var(--ef-orange);
}
.woocommerce-account .woocommerce a.button.alt:hover,
.woocommerce-account .woocommerce button.button.alt:hover {
  background: var(--ef-orange-hover);
}

/* ── Rendelések táblázat ─────────────────────────────────────────────────────── */

.woocommerce-orders-table,
.woocommerce-account table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-family: var(--ef-font-body);
}

.woocommerce-orders-table thead,
.woocommerce-account table.shop_table thead {
  background: var(--ef-gray-50);
  border-bottom: 2px solid var(--ef-gray-200);
}

.woocommerce-orders-table th,
.woocommerce-account table.shop_table th {
  padding: 11px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ef-gray-500);
}

.woocommerce-orders-table td,
.woocommerce-account table.shop_table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--ef-gray-100);
  color: var(--ef-gray-700);
  vertical-align: middle;
}

.woocommerce-orders-table tr:last-child td,
.woocommerce-account table.shop_table tr:last-child td {
  border-bottom: none;
}

.woocommerce-orders-table tr:hover td,
.woocommerce-account table.shop_table tbody tr:hover td {
  background: var(--ef-gray-50);
}

/* Rendelés státusz badge-ek */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-status mark,
.woocommerce-account mark.order-status {
  background: none;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

mark.order-status.status-processing { background: #dbeafe; color: #1d4ed8; }
mark.order-status.status-completed  { background: var(--ef-green-light); color: #166534; }
mark.order-status.status-on-hold    { background: #fef9c3; color: #854d0e; }
mark.order-status.status-cancelled  { background: #fee2e2; color: #991b1b; }
mark.order-status.status-pending    { background: var(--ef-gray-100); color: var(--ef-gray-500); }
mark.order-status.status-refunded   { background: #f3e8ff; color: #7e22ce; }

/* ── Cím szekciók (kártya stílus) ───────────────────────────────────────────── */

.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
  background: var(--ef-gray-50);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r-lg);
  padding: 28px 28px 24px;
  min-height: 180px;
}

.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .col2-set {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 32px !important;
  float: none !important;
  width: 100% !important;
}
.woocommerce-account .col2-set .col-1,
.woocommerce-account .col2-set .col-2 {
  float: none !important;
  width: auto !important;
  margin-right: 0 !important;
}

.woocommerce-account .woocommerce-Address-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.woocommerce-account .woocommerce-Address-title h3 {
  border: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.woocommerce-account address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ef-gray-700);
}

/* ── Fiók adatok oldal 2 oszlopos form ──────────────────────────────────────── */

.woocommerce-account .woocommerce-MyAccount-content fieldset {
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.woocommerce-account .woocommerce-MyAccount-content fieldset legend {
  font-size: 13px;
  font-weight: 700;
  color: var(--ef-gray-700);
  padding: 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Reszponzív ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px var(--ef-gutter);
  }

  .woocommerce-MyAccount-navigation {
    position: static;
  }

  /* Mobil: nav vízszintesen scrollozható */
  .woocommerce-MyAccount-navigation ul {
    display: flex;
    overflow-x: auto;
    padding: 0;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }

  .woocommerce-MyAccount-navigation ul li a {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 12px 16px;
  }

  .woocommerce-MyAccount-navigation ul li.is-active a,
  .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a {
    border-left: none;
    border-bottom-color: var(--ef-green);
  }

  .woocommerce-MyAccount-content {
    padding: 20px 16px;
  }

  .woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  .woocommerce-orders-table th,
  .woocommerce-orders-table td {
    padding: 10px 8px;
    font-size: 13px;
  }
}

/* Edit link (WP admin shortcut) elrejtve frontend-en */
.post-edit-link,
.woocommerce-account .edit-link {
  display: none !important;
}

/*Cookie banner*/
.lw-cookie-pos-modal {
    top: 25%;
    left: 40% !important;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    height: 400px;
    align-content: center;
    flex-wrap: nowrap;
}
.lw-cookie-btn-outline

/* ══════════════════════════════════════════════════════════════════════════════
   ARCHÍV OLDAL – FILTER SIDEBAR v2
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Wrapper ────────────────────────────────────────────────────────────────── */
.ef-filters {
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r-lg);
  box-shadow: var(--ef-shadow-sm);
  overflow: hidden;
  font-size: 13.5px;
  font-family: var(--ef-font-body);
}

/* ── Fejléc ─────────────────────────────────────────────────────────────────── */
.ef-filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--ef-gray-100);
  background: var(--ef-gray-50);
}

.ef-filters__title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--ef-gray-500);
  font-family: var(--ef-font-display);
}
.ef-filters__title svg { opacity: .7; flex-shrink: 0; }

.ef-filters__clear {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ef-green);
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: border-color .15s, background .15s;
  white-space: nowrap;
}
.ef-filters__clear:hover {
  border-color: var(--ef-green);
  background: var(--ef-green-light);
  text-decoration: none;
  color: var(--ef-green);
}

/* ── Aktív chip-ek ──────────────────────────────────────────────────────────── */
.ef-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 10px 14px 12px;
  border-bottom: 1px solid var(--ef-gray-100);
  background: var(--ef-green-light);
}

.ef-filters__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 10px;
  background: var(--ef-green);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  transition: opacity .15s;
}
.ef-filters__chip:hover { opacity: .85; color: #fff; text-decoration: none; }
.ef-filters__chip svg { flex-shrink: 0; opacity: .8; }

/* ── Üres állapot ────────────────────────────────────────────────────────────── */
.ef-filters__empty {
  padding: 20px 16px;
  font-size: 13px;
  color: var(--ef-gray-400);
  text-align: center;
  font-style: italic;
}

/* ── Filter csoport ──────────────────────────────────────────────────────────── */
.ef-filter-group {
  border-bottom: 1px solid var(--ef-gray-100);
}
.ef-filter-group:last-child { border-bottom: none; }

/* Fejléc gomb */
.ef-filter-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--ef-font-body);
  color: var(--ef-gray-700);
  gap: 8px;
  transition: background .12s;
}
.ef-filter-group__head:hover { background: var(--ef-gray-50); }

.ef-filter-group__label {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

/* Aktív szám badge */
.ef-filter-group__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  background: var(--ef-green);
  color: #fff;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

/* Nyíl */
.ef-filter-group__chevron {
  flex-shrink: 0;
  color: var(--ef-gray-400);
  transition: transform .2s ease;
}
.ef-filter-group.is-open .ef-filter-group__chevron {
  transform: rotate(180deg);
}

/* Összecsukható tartalom */
.ef-filter-group__body {
  display: none;
  padding-bottom: 8px;
}
.ef-filter-group.is-open .ef-filter-group__body {
  display: block;
}

/* ── Filter lista ────────────────────────────────────────────────────────────── */
.ef-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ef-filter-list__item {
  display: block;
}
.ef-filter-list__item a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  color: var(--ef-gray-700);
  text-decoration: none;
  font-size: 13px;
  transition: background .1s;
}
.ef-filter-list__item a:hover {
  background: var(--ef-gray-50);
  color: var(--ef-gray-900);
  text-decoration: none;
}
.ef-filter-list__item.is-checked a {
  color: var(--ef-green);
  font-weight: 600;
}

/* Jelölőnégyzet ikon */
.ef-filter-list__check {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--ef-gray-300);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ef-white);
  transition: border-color .15s, background .15s;
}
.ef-filter-list__item.is-checked .ef-filter-list__check {
  background: var(--ef-green);
  border-color: var(--ef-green);
}
.ef-filter-list__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Ár slider ───────────────────────────────────────────────────────────────── */
.ef-price-slider {
  padding: 4px 16px 14px;
}

/* Érték kijelzők */
.ef-price-slider__values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
}
.ef-price-slider__val {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ef-gray-700);
  background: var(--ef-gray-100);
  border-radius: 4px;
  padding: 3px 8px;
  min-width: 72px;
  text-align: center;
}
.ef-price-slider__sep {
  color: var(--ef-gray-400);
  font-weight: 400;
  flex-shrink: 0;
}

/* Slider track + fill */
.ef-price-slider__track {
  position: relative;
  height: 4px;
  background: var(--ef-gray-200);
  border-radius: 2px;
  margin: 10px 0 18px;
}
.ef-price-slider__fill {
  position: absolute;
  top: 0;
  height: 4px;
  background: var(--ef-green);
  border-radius: 2px;
  pointer-events: none;
}

/* Range input-ok egymáson */
.ef-range {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  transform: translateY(-50%);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  outline: none;
  margin: 0;
}
.ef-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ef-white);
  border: 2px solid var(--ef-green);
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  cursor: pointer;
  pointer-events: all;
  transition: border-color .15s, transform .1s;
  margin-top: 0;
}
.ef-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  border-color: var(--ef-green-mid);
}
.ef-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ef-white);
  border: 2px solid var(--ef-green);
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  cursor: pointer;
  pointer-events: all;
}
.ef-range::-webkit-slider-runnable-track { background: transparent; }
.ef-range::-moz-range-track { background: transparent; }

/* Submit gomb */
.ef-price-slider__btn {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: var(--ef-green);
  color: #fff;
  border: none;
  border-radius: var(--ef-r);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--ef-font-body);
  cursor: pointer;
  text-align: center;
  transition: background .15s;
  letter-spacing: .3px;
}
.ef-price-slider__btn:hover {
  background: var(--ef-green-mid);
}

/* ── Mobil ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ef-archive-sidebar { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   PÉNZTÁR OLDAL – KLASSZIKUS CHECKOUT
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Oldal háttér ──────────────────────────────────────────────────────────── */
.woocommerce-checkout .site-content,
body.woocommerce-checkout {
  background: var(--ef-gray-50);
}

/* ── Kupon + bejelentkezés sáv ─────────────────────────────────────────────── */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
  background: var(--ef-white);
  border-left: 4px solid var(--ef-green);
  border-radius: var(--ef-r);
  padding: 14px 18px 14px 44px;
  font-size: 14px;
  color: var(--ef-gray-700) !important;
  margin: 0 auto 16px auto;
  max-width: 1440px;
  box-sizing: border-box;
  box-shadow: var(--ef-shadow-sm);
}
.woocommerce-checkout .woocommerce-info::before,
.woocommerce-checkout .woocommerce-message::before {
  color: var(--ef-green);
}
.woocommerce-checkout .woocommerce-info a,
.woocommerce-checkout .woocommerce-message a {
  color: var(--ef-green) !important;
  font-weight: 600;
  text-decoration: none;
}
.woocommerce-checkout .woocommerce-info a:hover,
.woocommerce-checkout .woocommerce-message a:hover {
  color: var(--ef-green-mid) !important;
  text-decoration: underline;
}

/* kupon form toggle */
.checkout_coupon {
  background: var(--ef-white) !important;
  border: 1px solid var(--ef-gray-200) !important;
  border-radius: var(--ef-r-lg) !important;
  padding: 20px !important;
  margin: 0 auto 16px auto !important;
  max-width: 1440px !important;
  box-sizing: border-box !important;
  box-shadow: var(--ef-shadow-sm) !important;
}
.checkout_coupon p { margin-bottom: 12px; font-size: 14px; color: var(--ef-gray-500); }
.checkout_coupon .form-row { display: flex; gap: 10px; align-items: flex-end; margin: 0 !important; }
.checkout_coupon input[type="text"] { flex: 1; }

/* bejelentkezés form */
.login.woocommerce-form {
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: var(--ef-shadow-sm);
}

/* ── Fő 2 oszlopos layout ──────────────────────────────────────────────────── */
.ef-checkout {
  display: grid !important;
  /* A kosár elrendezésével egyező arány (bal ~1.6×, jobb ~1×), hogy a jobb
     (rendelés összegzés + szállítási csempék) blokk elég helyet kapjon. */
  grid-template-columns: minmax(0, 1.6fr) minmax(360px, 1fr) !important;
  align-items: start !important;
  gap: 32px !important;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 0 80px;
  float: none !important;
}
.ef-checkout::before, .ef-checkout::after { display: none !important; }

/* ── Bal oszlop ────────────────────────────────────────────────────────────── */
.ef-checkout__left {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

/* col2-set: billing + shipping egymás alatt */
.ef-checkout .col2-set {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
  float: none !important;
}
.ef-checkout .col2-set .col-1,
.ef-checkout .col2-set .col-2 {
  float: none !important;
  width: 100% !important;
}

/* ── Szekció kártyák (billing, shipping) ───────────────────────────────────── */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r-lg);
  padding: 28px 32px 24px;
  margin-bottom: 16px;
  box-shadow: var(--ef-shadow-sm);
}

/* Szekció fejléc */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
  font-family: var(--ef-font-display) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .3px;
  color: var(--ef-gray-900) !important;
  margin: 0 0 20px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid var(--ef-gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.woocommerce-billing-fields h3::before {
  content: "1";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--ef-green);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.woocommerce-shipping-fields h3::before {
  content: "2";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--ef-gray-300);
  color: var(--ef-white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Form mezők általános ──────────────────────────────────────────────────── */
.ef-checkout .form-row {
  margin-bottom: 14px !important;
}
.ef-checkout .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ef-gray-700);
  margin-bottom: 5px;
}
.ef-checkout .form-row label .required {
  color: var(--ef-orange);
  text-decoration: none;
}
.ef-checkout .form-row input[type="text"],
.ef-checkout .form-row input[type="email"],
.ef-checkout .form-row input[type="tel"],
.ef-checkout .form-row input[type="number"],
.ef-checkout .form-row input[type="password"],
.ef-checkout .form-row select,
.ef-checkout .form-row textarea {
  width: 100% !important;
  height: 44px;
  padding: 0 14px !important;
  border: 1.5px solid var(--ef-gray-200) !important;
  border-radius: var(--ef-r) !important;
  font-size: 14px !important;
  color: var(--ef-gray-900) !important;
  background: var(--ef-white) !important;
  transition: border-color .15s, box-shadow .15s !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}
.ef-checkout .form-row textarea {
  height: auto;
  padding: 12px 14px !important;
  resize: vertical;
  min-height: 80px;
}
.ef-checkout .form-row input:focus,
.ef-checkout .form-row select:focus,
.ef-checkout .form-row textarea:focus {
  border-color: var(--ef-green) !important;
  box-shadow: 0 0 0 3px rgba(0,179,66,.12) !important;
}
.ef-checkout .form-row.woocommerce-invalid input,
.ef-checkout .form-row.woocommerce-invalid select {
  border-color: #dc3545 !important;
}
.ef-checkout .form-row.woocommerce-validated input,
.ef-checkout .form-row.woocommerce-validated select {
  border-color: var(--ef-green) !important;
}
/* Select nyíl */
.ef-checkout .form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23a8a79f'%3E%3Cpath fill-rule='evenodd' d='M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 18px !important;
  padding-right: 36px !important;
}

/* Inline mezők (pl. utca + hsz) */
.ef-checkout .form-row-first,
.ef-checkout .form-row-last {
  float: none !important;
  width: 100% !important;
}
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
/* A field-wrapper adja a 2-oszlopos rácsot; az egyes mezők (<p.form-row>) NEM
   lehetnek maguk is grid – az szétvágná pl. az irányítószám inputját. */
.woocommerce-billing-fields__field-wrapper > .form-row,
.woocommerce-shipping-fields__field-wrapper > .form-row {
  display: block;
}
.woocommerce-billing-fields__field-wrapper > .form-row .woocommerce-input-wrapper,
.woocommerce-shipping-fields__field-wrapper > .form-row .woocommerce-input-wrapper {
  display: block;
}
.woocommerce-billing-fields__field-wrapper > .form-row input,
.woocommerce-billing-fields__field-wrapper > .form-row select,
.woocommerce-shipping-fields__field-wrapper > .form-row input,
.woocommerce-shipping-fields__field-wrapper > .form-row select {
  width: 100% !important;
}
.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide {
  grid-column: 1 / -1;
}

/* Irányítószám + város – WC JS átrendezés ellen explicit grid pozíció */
#billing_postcode_field,
#shipping_postcode_field {
  grid-column: 1 !important;
  max-width: 100%;
}
#billing_city_field,
#shipping_city_field {
  grid-column: 2 !important;
  max-width: 100%;
}

/* Pénztár rendelés-összegző: a táblát blokká alakítjuk, hogy a szállítási mód
   sor a teljes panel-szélességet kapja (a csempék ne a szűk RÉSZÖSSZEG oszlopba
   szoruljanak). A termék- és totál-sorok flexben tartják a "címke … összeg"
   formát; a szállítás-sor teljes szélességben (címke fölé, csempék alá). */
.woocommerce-checkout-review-order-table,
.woocommerce-checkout-review-order-table thead,
.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout-review-order-table tfoot {
  display: block;
  width: 100%;
}
.woocommerce-checkout-review-order-table thead tr,
.woocommerce-checkout-review-order-table tbody tr,
.woocommerce-checkout-review-order-table tfoot tr:not(.shipping):not(.woocommerce-shipping-totals) {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  width: 100%;
}
.woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout-review-order-table tbody tr > *,
.woocommerce-checkout-review-order-table tfoot tr:not(.shipping):not(.woocommerce-shipping-totals) > * {
  display: block;
}
.woocommerce-checkout-review-order-table tbody tr td,
.woocommerce-checkout-review-order-table tfoot tr td {
  text-align: right;
}
.woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout-review-order-table tbody tr th {
  text-align: left;
}
/* Szállítás sor: teljes szélesség, címke fölé, csempék alá */
.woocommerce-checkout-review-order-table tfoot tr.shipping,
.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals {
  display: block;
  width: 100%;
}
.woocommerce-checkout-review-order-table tfoot tr.shipping > th,
.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals > th {
  display: block;
  text-align: left;
  padding-bottom: 8px;
}
.woocommerce-checkout-review-order-table tfoot tr.shipping > td,
.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals > td {
  display: block;
  width: 100%;
  text-align: left;
}

/* A blokk/flex átalakítás után a hátteret és az elválasztókat a SOROKRA tesszük,
   nem a cellákra – különben "sakktábla" mintázat lesz a rendelés-összegzőben. */
.woocommerce-checkout-review-order-table thead tr {
  background: var(--ef-gray-50);
  border-bottom: 1px solid var(--ef-gray-100);
}
.woocommerce-checkout-review-order-table tbody tr {
  border-bottom: 1px solid var(--ef-gray-100);
}
.woocommerce-checkout-review-order-table tfoot tr:not(.shipping):not(.woocommerce-shipping-totals) {
  border-top: 1px solid var(--ef-gray-100);
}
.woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout-review-order-table tbody th,
.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
  background: transparent !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* ── Szállítás checkbox ────────────────────────────────────────────────────── */
#ship-to-different-address {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ef-gray-700);
  margin-bottom: 0;
}
#ship-to-different-address input[type="checkbox"] { display: none; }
#ship-to-different-address span {
  display: flex;
  align-items: center;
  gap: 10px;
}
#ship-to-different-address span::before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid var(--ef-gray-300);
  border-radius: 4px;
  background: var(--ef-white);
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
#ship-to-different-address input:checked ~ span::before,
#ship-to-different-address.active span::before {
  background: var(--ef-green);
  border-color: var(--ef-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='white'%3E%3Cpath fill-rule='evenodd' d='M10.22 2.47a.75.75 0 0 1 .06 1.06l-5.5 6a.75.75 0 0 1-1.11.01l-2.5-2.75a.75.75 0 0 1 1.11-1.01l1.94 2.14 4.95-5.4a.75.75 0 0 1 1.06-.05Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ── Jobb oszlop ───────────────────────────────────────────────────────────── */
.ef-checkout__right {
  position: sticky;
  top: 100px;
  min-width: 0;
  width: 100% !important;
  float: none !important;
  /* Kártya, mint a bal oldali "Számlázási adatok" doboz – a heading is bekerül. */
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r-lg);
  padding: 28px 32px 24px;
  box-shadow: var(--ef-shadow-sm);
}

/* Storefront float-alapú layout override – ID selector miatt !important kell */
.ef-checkout #order_review_heading,
.ef-checkout #order_review {
  width: 100% !important;
  float: none !important;
  clear: none !important;
  margin-right: 0 !important;
}

#order_review_heading {
  font-family: var(--ef-font-display) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .3px;
  color: var(--ef-gray-900) !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
#order_review_heading svg { color: var(--ef-green); flex-shrink: 0; }

/* ── Rendelés összegző táblázat ────────────────────────────────────────────── */
/* A belső review-doboz lapos, mert már a .ef-checkout__right a kártya (nincs box-in-box). */
.woocommerce-checkout-review-order {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
/* A tábla-cellák vízszintes paddingja 0 – a kártya adja a belső margót, ne legyen
   dupla behúzás. A fejléc-háttér átlátszó (a kártyán belül a vonal elég elválasztónak). */
.ef-checkout__right .woocommerce-checkout-review-order-table thead th,
.ef-checkout__right .woocommerce-checkout-review-order-table tbody td,
.ef-checkout__right .woocommerce-checkout-review-order-table tbody th,
.ef-checkout__right .woocommerce-checkout-review-order-table tfoot th,
.ef-checkout__right .woocommerce-checkout-review-order-table tfoot td {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.ef-checkout__right .woocommerce-checkout-review-order-table thead tr {
  background: transparent;
}

.shop_table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.shop_table.woocommerce-checkout-review-order-table thead tr th {
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ef-gray-400);
  background: var(--ef-gray-50);
  border-bottom: 1px solid var(--ef-gray-100);
}
.shop_table.woocommerce-checkout-review-order-table thead th.product-total {
  text-align: right;
}

.shop_table.woocommerce-checkout-review-order-table tbody td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--ef-gray-100);
  vertical-align: middle;
}
.shop_table.woocommerce-checkout-review-order-table tbody .product-name {
  color: var(--ef-gray-700);
  font-weight: 500;
}
.shop_table.woocommerce-checkout-review-order-table tbody .product-quantity {
  color: var(--ef-gray-400);
  font-weight: 400;
}
.shop_table.woocommerce-checkout-review-order-table tbody .product-total {
  text-align: right;
  font-weight: 600;
  color: var(--ef-gray-900);
  white-space: nowrap;
}

.shop_table.woocommerce-checkout-review-order-table tfoot tr th,
.shop_table.woocommerce-checkout-review-order-table tfoot tr td {
  padding: 10px 20px;
  font-size: 13.5px;
  border-top: 1px solid var(--ef-gray-100);
}
.shop_table.woocommerce-checkout-review-order-table tfoot tr td { text-align: right; }
.shop_table.woocommerce-checkout-review-order-table tfoot .cart-subtotal th,
.shop_table.woocommerce-checkout-review-order-table tfoot .cart-subtotal td {
  color: var(--ef-gray-500);
  font-weight: 500;
}
.shop_table.woocommerce-checkout-review-order-table tfoot .order-total th,
.shop_table.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-size: 15px;
  font-weight: 800;
  color: var(--ef-gray-900);
  background: var(--ef-gray-50);
  padding: 14px 20px;
}
.shop_table.woocommerce-checkout-review-order-table tfoot .order-total td { color: var(--ef-green); }
.shop_table.woocommerce-checkout-review-order-table tfoot .cart-discount td { color: var(--ef-orange); }


/* ── Szállítási mód a rendelés összegzőben ─────────────────────────────────── */
.shop_table.woocommerce-checkout-review-order-table tfoot .shipping td {
  text-align: right;
  vertical-align: top;
}
.shop_table.woocommerce-checkout-review-order-table tfoot .shipping td ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.shop_table.woocommerce-checkout-review-order-table tfoot .shipping td ul li {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 13px;
}
.shop_table.woocommerce-checkout-review-order-table tfoot .shipping td ul li label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--ef-gray-700);
  font-weight: 500;
}
.shop_table.woocommerce-checkout-review-order-table tfoot .shipping td ul li label img {
  height: 20px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  opacity: .75;
}
/* ── Fizetési módok ────────────────────────────────────────────────────────── */
#payment {
  border-top: 1px solid var(--ef-gray-100);
  padding: 20px;
}

#payment ul.payment_methods {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#payment ul.payment_methods li {
  border: 1.5px solid var(--ef-gray-200);
  border-radius: var(--ef-r);
  overflow: hidden;
  transition: border-color .15s;
}
#payment ul.payment_methods li.payment_method_barion { order: -2; }
#payment ul.payment_methods li.payment_method_cod    { order: -1; }

#payment ul.payment_methods li label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ef-gray-700);
  background: var(--ef-white);
  user-select: none;
}
#payment ul.payment_methods li label img {
  height: 22px;
  width: auto;
  object-fit: contain;
  order: 10;
  margin-left: auto;
  opacity: .7;
}
#payment ul.payment_methods li input[type="radio"],
#payment input[type="radio"] { display: none !important; }

/* Egyedi rádiógomb */
#payment ul.payment_methods li label::before {
  /* content + font-family kényszerítve: egy globális Font Awesome ::before
     szabály (pl. content:'\f111' ● vagy tofu-glyph) ne renderelhessen ide
     "furcsa karaktert" a rádiópötty helyére. Csak a bordázott gyűrű marad. */
  content: '' !important;
  font-family: var(--ef-font-body) !important;
  width: 16px; height: 16px;
  border: 2px solid var(--ef-gray-300);
  border-radius: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: border-color .15s, background .15s;
}
#payment ul.payment_methods li input[type="radio"]:checked + label,
#payment ul.payment_methods li.wc_payment_method input:checked + label {
  border-color: var(--ef-green);
  color: var(--ef-gray-900);
}
#payment ul.payment_methods li input[type="radio"]:checked + label::before {
  border-color: var(--ef-green);
  background: radial-gradient(circle, var(--ef-green) 5px, transparent 5px);
}
#payment ul.payment_methods li:has(input:checked) {
  border-color: var(--ef-green);
}
/* Struktúra-független checked pötty (ha az input+label adjacent selector nem fog):
   a kijelölt mód pöttye teljesen zöld (zöld gyűrű + zöld közép), nem marad szürke gyűrű. */
#payment ul.payment_methods li:has(input:checked) label::before {
  border-color: var(--ef-green) !important;
  background: radial-gradient(circle, var(--ef-green) 5px, transparent 5px) !important;
}
/* Fekete <li> lista-bullet kiiktatása: a display:list-item marker az egyetlen
   forrás, ami egy második (fekete) pöttyöt rajzolhat a custom ::before mellé. */
#payment ul.payment_methods,
#payment ul.payment_methods li {
  list-style: none !important;
}
#payment ul.payment_methods li.wc_payment_method {
  display: block !important;
}
#payment ul.payment_methods li::marker { content: none !important; }

/* Fizetési mód leírás */
.payment_box {
  background: var(--ef-gray-50) !important;
  border-top: 1px solid var(--ef-gray-100) !important;
  padding: 12px 16px !important;
  font-size: 13px !important;
  color: var(--ef-gray-500) !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.payment_box p { margin: 0 !important; line-height: 1.6; }
.payment_box::before { display: none !important; }

/* ── HuCommerce jogi jelölőnégyzetek ───────────────────────────────────────── */
#payment .woocommerce-terms-and-conditions-wrapper,
.woocommerce-terms-and-conditions-wrapper {
  padding: 0 20px 4px;
}
.wc-terms-and-conditions-checkbox-text,
.woocommerce-privacy-policy-text {
  font-size: 13px;
  color: var(--ef-gray-500);
  margin-bottom: 10px;
}
.wc-terms-and-conditions-checkbox-text a,
.woocommerce-privacy-policy-text a {
  color: var(--ef-green);
  text-decoration: underline;
}

/* HuCommerce custom checkbox-ok */
#payment .form-row.validate-required label,
.ef-checkout .woocommerce-additional-fields .form-row label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--ef-gray-600, var(--ef-gray-700)) !important;
  cursor: pointer;
  line-height: 1.5;
}
#payment .form-row input[type="checkbox"],
.ef-checkout input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  border: 2px solid var(--ef-gray-300) !important;
  border-radius: 3px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: var(--ef-white) !important;
  cursor: pointer;
  margin-top: 2px !important;
  transition: background .15s, border-color .15s !important;
  flex-shrink: 0;
}
#payment .form-row input[type="checkbox"]:checked,
.ef-checkout input[type="checkbox"]:checked {
  background: var(--ef-green) !important;
  border-color: var(--ef-green) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='white'%3E%3Cpath fill-rule='evenodd' d='M10.22 2.47a.75.75 0 0 1 .06 1.06l-5.5 6a.75.75 0 0 1-1.11.01l-2.5-2.75a.75.75 0 0 1 1.11-1.01l1.94 2.14 4.95-5.4a.75.75 0 0 1 1.06-.05Z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 10px !important;
}

/* ── Megrendelés gomb ──────────────────────────────────────────────────────── */
#payment #place_order,
#payment .place-order button[type="submit"] {
  display: block !important;
  width: 100% !important;
  padding: 16px 24px !important;
  background: var(--ef-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--ef-r) !important;
  font-family: var(--ef-font-display) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: .2px;
  cursor: pointer !important;
  transition: background .15s, transform .1s !important;
  text-transform: none !important;
  margin: 16px 20px 20px !important;
  width: calc(100% - 40px) !important;
  box-shadow: 0 4px 14px rgba(232,114,12,.30) !important;
}
#payment #place_order:hover {
  background: var(--ef-orange-hover) !important;
  transform: translateY(-1px) !important;
}
#payment #place_order:active { transform: translateY(0) !important; }

/* ── Hibaüzenetek / értesítések a pénztáron (WC prepend-elt grid item) ──────── */
/* A WC JS a form.checkout elé szúrja be a .woocommerce-NoticeGroup-t,
   ami grid item lesz → mindkét oszlopot kell lefoglalnia */
.ef-checkout > .woocommerce-NoticeGroup,
.ef-checkout > .woocommerce-NoticeGroup-checkout,
.ef-checkout > .woocommerce-error,
.ef-checkout > .woocommerce-message,
.ef-checkout > .woocommerce-info,
.ef-checkout > ul.woocommerce-error {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  float: none !important;
  margin-bottom: 20px !important;
  border-radius: var(--ef-r) !important;
  font-size: 14px !important;
}
.ef-checkout > .woocommerce-error,
.ef-checkout > ul.woocommerce-error {
  background: #fff5f5 !important;
  border-left: 4px solid #dc3545 !important;
  color: #721c24 !important;
  padding: 14px 18px !important;
  list-style: none !important;
}
.ef-checkout > .woocommerce-message {
  background: #f0fdf4 !important;
  border-left: 4px solid var(--ef-green) !important;
  color: #14532d !important;
  padding: 14px 18px !important;
}
.ef-checkout > .woocommerce-info {
  background: #eff6ff !important;
  border-left: 4px solid #3b82f6 !important;
  color: #1e3a8a !important;
  padding: 14px 18px !important;
}

/* ── Reszponzív ────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .ef-checkout {
    grid-template-columns: 1fr !important;
    padding: 24px var(--ef-gutter) 60px;
    gap: 24px !important;
  }
  .ef-checkout__right {
    position: static;
    order: 0; /* Mobilon a forrás-sorrend marad: előbb a számlázási adatok,
                 utána a rendelés összegzése + fizetés (a fizetés gomb NE kerüljön
                 a számlázási űrlap elé). */
  }
}

@media (max-width: 600px) {
  .woocommerce-billing-fields,
  .woocommerce-shipping-fields,
  .woocommerce-additional-fields {
    padding: 20px 16px 16px;
  }
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
  #payment #place_order {
    font-size: 15px !important;
    padding: 14px 20px !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   KOSÁR OLDAL – KLASSZIKUS CART
   ══════════════════════════════════════════════════════════════════════════════ */

.woocommerce-cart .site-content,
body.woocommerce-cart { background: var(--ef-gray-50); }

/* Fő layout: 2 hasáb — termékek bal, összegzés jobb */
.woocommerce-cart .woocommerce {
  display: grid !important;
  grid-template-columns: 1.6fr 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 0 32px !important;
  align-items: start !important;
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 40px var(--ef-gutter) 80px !important;
  float: none !important;
}
.woocommerce-cart .woocommerce::before,
.woocommerce-cart .woocommerce::after { display: none !important; }

/* Értesítések (kupon ok, stb.) teljes szélességre */
.woocommerce-cart .woocommerce .woocommerce-message,
.woocommerce-cart .woocommerce .woocommerce-info,
.woocommerce-cart .woocommerce .woocommerce-error {
  grid-column: 1 / -1 !important;
  background: var(--ef-white);
  border-left: 4px solid var(--ef-green);
  border-radius: var(--ef-r);
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 12px;
  box-shadow: var(--ef-shadow-sm);
}
.woocommerce-cart .woocommerce .woocommerce-message::before,
.woocommerce-cart .woocommerce .woocommerce-info::before { color: var(--ef-green); }
.woocommerce-cart .woocommerce .woocommerce-error { border-color: #dc3545; }

/* Az üzenetek NEM közvetlen gyerekei a rácsnak: a WooCommerce egy
   .woocommerce-notices-wrapper dobozba teszi őket, és a rács eleme az a doboz.
   A fenti grid-column tehát nem ér el odáig, a wrappernek pedig nem volt saját
   helye a rácsban, így az automatikus elhelyezés a következő szabad cellába
   tette: a kosár ALÁ, egy üres sáv után. A vásárló a "Kupon beváltása" gomb
   után nem látta a választ, csak ha legörgetett.
   Ezért kap a wrapper explicit helyet a rács ELSŐ sorában, a kosár és az
   összegzés pedig eggyel lejjebb csúszik. */
.woocommerce-cart .woocommerce .woocommerce-notices-wrapper {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}
.woocommerce-cart .woocommerce .woocommerce-notices-wrapper:empty { display: none; }

/* ── Bal oszlop: kosár form ─────────────────────────────────────────────────── */
.woocommerce-cart-form {
  grid-column: 1 !important;
  /* Második sor: az elsőt az üzenetek wrappere kapta, lásd fentebb. */
  grid-row: 2 !important;
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r-lg);
  overflow: hidden;
  box-shadow: var(--ef-shadow-sm);
}

/* Kosár táblázat */
table.shop_table.cart {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0 !important;
}

table.shop_table.cart thead tr th {
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ef-gray-400);
  background: var(--ef-gray-50);
  border-bottom: 1px solid var(--ef-gray-100);
  text-align: left;
}
table.shop_table.cart thead th.product-subtotal { text-align: right; }

table.shop_table.cart tbody tr.cart_item { border-bottom: 1px solid var(--ef-gray-100); }
table.shop_table.cart tbody tr.cart_item:last-child { border-bottom: none; }

table.shop_table.cart tbody td {
  padding: 16px 20px !important;
  vertical-align: middle;
}

/* Termék kép */
table.shop_table.cart .product-thumbnail { width: 80px; }
table.shop_table.cart .product-thumbnail img {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain;
  border-radius: var(--ef-r);
  border: 1px solid var(--ef-gray-100);
  background: var(--ef-white);
  padding: 4px;
}

/* Termék név */
table.shop_table.cart .product-name a {
  font-weight: 600;
  color: var(--ef-gray-900);
  text-decoration: none;
  font-size: 14.5px;
}
table.shop_table.cart .product-name a:hover { color: var(--ef-green); }
table.shop_table.cart .product-name .variation {
  font-size: 12px;
  color: var(--ef-gray-400);
  margin-top: 3px;
}

/* Ár */
table.shop_table.cart .product-price { color: var(--ef-gray-500); font-size: 13.5px; white-space: nowrap; min-width: 90px; }

/* Mennyiség – kompakt stepper, hogy ne csússzon a részösszeg zárójeles részére */
table.shop_table.cart .product-quantity .ef-qty {
  max-width: 112px;
}
table.shop_table.cart .product-quantity .ef-qty__btn {
  width: 30px;
  font-size: 15px;
}
table.shop_table.cart .product-quantity .qty {
  width: 40px !important;
  height: 32px !important;
  text-align: center;
  border: 1.5px solid var(--ef-gray-200) !important;
  border-radius: var(--ef-r) !important;
  font-size: 13px !important;
  font-weight: 600;
  color: var(--ef-gray-900) !important;
  padding: 0 4px !important;
  background: var(--ef-white) !important;
}
table.shop_table.cart .product-quantity .qty:focus {
  border-color: var(--ef-green) !important;
  box-shadow: 0 0 0 3px rgba(0,179,66,.1) !important;
  outline: none !important;
}

/* Részösszeg */
table.shop_table.cart .product-subtotal {
  text-align: right;
  font-weight: 700;
  color: var(--ef-gray-900);
  font-size: 15px;
  white-space: nowrap;
  min-width: 100px;
}

/* Törlés gomb */
table.shop_table.cart .product-remove a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  color: var(--ef-gray-300) !important;
  font-size: 18px !important;
  line-height: 1 !important;
  border-radius: 50%;
  transition: color .15s, background .15s;
  text-decoration: none !important;
}
table.shop_table.cart .product-remove a:hover {
  color: #dc3545 !important;
  background: rgba(220,53,69,.08);
}

/* ── Kosár alján: kupon + frissítés ────────────────────────────────────────── */
.woocommerce-cart-form .actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  background: var(--ef-gray-50) !important;
  border-top: 1px solid var(--ef-gray-100) !important;
  gap: 12px;
  flex-wrap: wrap;
}
.woocommerce-cart-form .actions .coupon {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  min-width: 200px;
}
.woocommerce-cart-form .actions .coupon label { display: none; }
.woocommerce-cart-form .actions .coupon input#coupon_code {
  flex: 1;
  height: 40px;
  padding: 0 14px !important;
  border: 1.5px solid var(--ef-gray-200) !important;
  border-radius: var(--ef-r) !important;
  font-size: 13.5px !important;
  color: var(--ef-gray-900) !important;
  background: var(--ef-white) !important;
  outline: none;
  transition: border-color .15s;
  max-width: 200px;
}
.woocommerce-cart-form .actions .coupon input#coupon_code:focus {
  border-color: var(--ef-green) !important;
}
.woocommerce-cart-form .actions .coupon button[name="apply_coupon"],
.woocommerce-cart-form .actions .coupon .button {
  height: 40px;
  padding: 0 16px !important;
  background: var(--ef-gray-100) !important;
  color: var(--ef-gray-700) !important;
  border: 1.5px solid var(--ef-gray-200) !important;
  border-radius: var(--ef-r) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s !important;
}
.woocommerce-cart-form .actions .coupon .button:hover {
  background: var(--ef-gray-200) !important;
  border-color: var(--ef-gray-300) !important;
}
.woocommerce-cart-form .actions button[name="update_cart"] {
  height: 40px;
  padding: 0 20px !important;
  background: var(--ef-white) !important;
  color: var(--ef-gray-700) !important;
  border: 1.5px solid var(--ef-gray-200) !important;
  border-radius: var(--ef-r) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background .15s !important;
}
.woocommerce-cart-form .actions button[name="update_cart"]:not(:disabled):hover {
  background: var(--ef-gray-50) !important;
  border-color: var(--ef-gray-300) !important;
}
.woocommerce-cart-form .actions button[name="update_cart"]:disabled { opacity: .4; }

/* ── Jobb oszlop: összegzés ─────────────────────────────────────────────────── */
.cart-collaterals {
  grid-column: 2 !important;
  /* Ugyanaz az eggyel lejjebb csúszás, mint a kosár űrlapnál. */
  grid-row: 2 / 4 !important;
  position: sticky;
  top: 100px;
  float: none !important;
  width: auto !important;
}

.cart_totals {
  background: var(--ef-white);
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-r-lg);
  overflow: hidden;
  box-shadow: var(--ef-shadow-sm);
  float: none !important;
  width: auto !important;
}

.cart_totals h2 {
  font-family: var(--ef-font-display) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--ef-gray-900) !important;
  margin: 0 !important;
  padding: 16px 20px 14px !important;
  border-bottom: 1px solid var(--ef-gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart_totals h2::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ef-green);
  flex-shrink: 0;
}

.cart_totals table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.cart_totals table.shop_table tr th,
.cart_totals table.shop_table tr td {
  padding: 11px 20px;
  border-bottom: 1px solid var(--ef-gray-100);
  vertical-align: middle;
}
.cart_totals table.shop_table tr th {
  font-weight: 600;
  color: var(--ef-gray-500);
  width: 50%;
}
.cart_totals table.shop_table tr td { text-align: right; color: var(--ef-gray-900); }

.cart_totals table.shop_table tr.order-total th,
.cart_totals table.shop_table tr.order-total td {
  font-size: 16px;
  font-weight: 800;
  background: var(--ef-gray-50);
  padding: 14px 20px;
  border-bottom: none;
}
.cart_totals table.shop_table tr.order-total td { color: var(--ef-green); }
.cart_totals table.shop_table tr.cart-discount td { color: var(--ef-orange); }

/* Szállítás calc */
.cart_totals .shipping-calculator-button {
  font-size: 12.5px;
  color: var(--ef-green);
  font-weight: 600;
  text-decoration: none;
}
.cart_totals .shipping-calculator-button:hover { text-decoration: underline; }
.cart_totals .shipping-calculator-form { padding: 12px 0 0; }
.cart_totals .shipping-calculator-form p { margin-bottom: 8px; }
.cart_totals .shipping-calculator-form select,
.cart_totals .shipping-calculator-form input[type="text"] {
  width: 100% !important;
  height: 38px;
  padding: 0 10px !important;
  border: 1.5px solid var(--ef-gray-200) !important;
  border-radius: var(--ef-r) !important;
  font-size: 13px !important;
  background: var(--ef-white) !important;
  outline: none;
}

/* Pénztárba gomb */
.cart_totals .wc-proceed-to-checkout {
  padding: 16px 20px 20px !important;
}
.cart_totals .wc-proceed-to-checkout a.checkout-button,
.cart_totals .checkout-button {
  display: block !important;
  width: 100% !important;
  padding: 15px 24px !important;
  background: var(--ef-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--ef-r) !important;
  font-family: var(--ef-font-display) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background .15s, transform .1s !important;
  box-shadow: 0 4px 14px rgba(232,114,12,.28) !important;
  letter-spacing: .1px;
}
.cart_totals .checkout-button:hover {
  background: var(--ef-orange-hover) !important;
  transform: translateY(-1px) !important;
}
.cart_totals .checkout-button:active { transform: translateY(0) !important; }

/* Kosár ürítése gomb (HuCommerce) */
.woocommerce-cart .woocommerce .empty-cart-button-wrapper,
.empty-cart-button-wrapper { grid-column: 1 !important; }
a.empty_cart_button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ef-gray-400);
  text-decoration: none;
  margin-top: 10px;
  padding: 6px 0;
  transition: color .15s;
}
a.empty_cart_button:hover { color: #dc3545; }

/* Üres kosár */
.woocommerce-cart .woocommerce-info {
  grid-column: 1 / -1 !important;
}

/* ── Reszponzív ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: 1fr !important;
    padding: 24px var(--ef-gutter) 60px !important;
    gap: 20px 0 !important;
  }
  .cart-collaterals {
    grid-column: 1 !important;
    grid-row: auto !important;
    position: static;
  }
  .woocommerce-cart-form { grid-column: 1 !important; }
}

@media (max-width: 600px) {
  table.shop_table.cart thead .product-price,
  table.shop_table.cart tbody .product-price { display: none; }
  table.shop_table.cart .product-thumbnail { display: none; }
  .woocommerce-cart-form .actions { flex-direction: column; align-items: stretch; }
  .woocommerce-cart-form .actions .coupon { max-width: 100%; }
  .woocommerce-cart-form .actions .coupon input#coupon_code { max-width: 100%; }
}


/* ══════════════════════════════════════════════════════════════════════════════
   KOSÁR + PÉNZTÁR FINOMHANGOLÁS (2026-06-10)
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Kosár: első oszlop (X) keskeny, terméknév széles ──────────────────────── */
table.shop_table.cart .product-remove {
  width: 1% !important;
  white-space: nowrap !important;
  padding-left: 16px !important;
  padding-right: 4px !important;
}
table.shop_table.cart .product-name { width: 50% !important; }

/* ── Kosár: értesítő sáv szövege legyen látható (ne fehér) ──────────────────── */
.woocommerce-cart .woocommerce .woocommerce-message,
.woocommerce-cart .woocommerce .woocommerce-info,
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info {
  color: #166534 !important;
}

/* ── Pénztár: natív fizetési rádió biztos elrejtése (dupla kijelzés ellen) ──── */
body.woocommerce-checkout #payment ul.payment_methods li input[type="radio"],
body.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
  display: none !important;
}

/* ── Szállítási mód rádiógombok – egyedi zöld (kosár + pénztár) ─────────────── */
ul#shipping_method { list-style: none; margin: 0; padding: 0; }
ul#shipping_method li {
  display: flex;
  align-items: center;
  gap: 8px;
}
ul#shipping_method li input[type="radio"],
ul#shipping_method li input.shipping_method {
  display: none !important;
}
ul#shipping_method li label::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--ef-gray-300);
  border-radius: 50%;
  background: var(--ef-white);
  flex-shrink: 0;
  box-sizing: border-box;
  transition: border-color .15s, background .15s;
}
ul#shipping_method li input[type="radio"]:checked + label::before {
  border-color: var(--ef-green);
  background: radial-gradient(circle, var(--ef-green) 5px, transparent 5px);
}


/* ══════════════════════════════════════════════════════════════════════════════
   /* ── Round 2 finomítás (2026-06-10) ──
   Storefront woocommerce.css felülírások kezelése
   ══════════════════════════════════════════════════════════════════════════════ */

/* Pénztár: a fizetési mód <label> legyen flex. A Storefront
   (#payment .payment_methods>.wc_payment_method>label{display:block}) magasabb
   specificitással felülírja a flex-et, ezért az egyedi ::before rádiókör inline
   pszeudóként összeomlik egy apró sötét ponttá. !important-tal kikényszerítjük. */
body.woocommerce-checkout #payment ul.payment_methods li label {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

/* Kosár: a szállítási mód <label> legyen flex, hogy az egyedi ::before rádiókör
   ne nyomódjon össze (a pénztár review-táblában már flex, ott jó). */
.woocommerce-cart #shipping_method li label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  line-height: 1.4;
}

/* Pénztár: irányítószám + város egy vonalban (felső igazítás a grid-sorban). */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  align-items: start;
}

/* ── Hosszú szűrőlisták görgethetők (pl. sok átmérő érték) ─────────────────── */
.ef-filter-list {
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
}

/* ══════════════════════════════════════════════════════════════════════════════
   BRUTTÓ JEGYZET + KOSÁR/PÉNZTÁR MOBIL JAVÍTÁS (2026-06-14)
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── "(bruttó: X)" jegyzet a nettó érték mellett/alatt ─────────────────────── */
.ef-gross-note {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ef-gray-400);
  white-space: nowrap;
  margin-top: 1px;
}
/* Tételsoroknál (kosár termék ár/részösszeg) jobbra igazítva a szám alá */
table.shop_table.cart .product-subtotal .ef-gross-note,
table.shop_table.cart .product-price .ef-gross-note,
.woocommerce-checkout-review-order-table .product-total .ef-gross-note { text-align: right; }

/* ── MOBIL: kosár- és pénztár-összegző sorok flex elrendezésben ─────────────────
   A .cart_totals és .woocommerce-checkout-review-order konténerek overflow:hidden-t
   használnak (lekerekített sarok), és mobilon a táblázat túlcsordult → az
   értékoszlop (td) levágódott / "elcsúszott". A sima összegsorokat flexre váltjuk,
   így a címke balra, az érték jobbra kerül és SOSEM csúszik ki. A szállítási sort
   és az átvételi hely sort érintetlenül hagyjuk (ott a metóduslista a tartalom). */
@media (max-width: 600px) {
  .cart_totals table.shop_table tr.cart-subtotal,
  .cart_totals table.shop_table tr.fee,
  .cart_totals table.shop_table tr.tax-total,
  .cart_totals table.shop_table tr.tax-rate,
  .cart_totals table.shop_table tr.order-total,
  .cart_totals table.shop_table tr.cart-discount,
  .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal,
  .woocommerce-checkout-review-order-table tfoot tr.fee,
  .woocommerce-checkout-review-order-table tfoot tr.tax-total,
  .woocommerce-checkout-review-order-table tfoot tr.tax-rate,
  .woocommerce-checkout-review-order-table tfoot tr.order-total,
  .woocommerce-checkout-review-order-table tfoot tr.cart-discount {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 12px !important;
    width: 100%;
  }
  .cart_totals table.shop_table tr.cart-subtotal th,
  .cart_totals table.shop_table tr.fee th,
  .cart_totals table.shop_table tr.tax-total th,
  .cart_totals table.shop_table tr.tax-rate th,
  .cart_totals table.shop_table tr.order-total th,
  .cart_totals table.shop_table tr.cart-discount th,
  .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
  .woocommerce-checkout-review-order-table tfoot tr.fee th,
  .woocommerce-checkout-review-order-table tfoot tr.tax-total th,
  .woocommerce-checkout-review-order-table tfoot tr.tax-rate th,
  .woocommerce-checkout-review-order-table tfoot tr.order-total th,
  .woocommerce-checkout-review-order-table tfoot tr.cart-discount th {
    display: block !important; /* Storefront reszponzívban display:none-ra állítja → visszahozzuk címkének */
    width: auto !important;
    flex: 0 1 auto;
    text-align: left !important;
    white-space: normal;
    padding: 11px 0 11px 16px !important;
  }
  .cart_totals table.shop_table tr.cart-subtotal td,
  .cart_totals table.shop_table tr.fee td,
  .cart_totals table.shop_table tr.tax-total td,
  .cart_totals table.shop_table tr.tax-rate td,
  .cart_totals table.shop_table tr.order-total td,
  .cart_totals table.shop_table tr.cart-discount td,
  .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td,
  .woocommerce-checkout-review-order-table tfoot tr.fee td,
  .woocommerce-checkout-review-order-table tfoot tr.tax-total td,
  .woocommerce-checkout-review-order-table tfoot tr.tax-rate td,
  .woocommerce-checkout-review-order-table tfoot tr.order-total td,
  .woocommerce-checkout-review-order-table tfoot tr.cart-discount td {
    width: auto !important;
    flex: 0 0 auto;
    text-align: right !important;
    white-space: nowrap;
    padding-left: 0 !important;
  }
  /* Storefront data-title címke (td::before) elrejtése – a th-t mutatjuk címkének,
     különben duplikálódna ("Részösszeg: Részösszeg 2 629 Ft"). */
  .cart_totals table.shop_table td::before,
  .woocommerce-checkout-review-order-table td::before { display: none !important; content: "" !important; }

  /* Kisebb vízszintes padding mobilon, hogy a tartalom biztosan elférjen */
  .cart_totals table.shop_table tr td,
  .woocommerce-checkout-review-order-table tfoot tr td,
  .woocommerce-checkout-review-order-table tbody td { padding-left: 16px; padding-right: 16px; }

  /* Szállítás + átvételi hely sor: a táblázat ne csorduljon túl */
  .woocommerce-checkout-review-order-table,
  .cart_totals table.shop_table { width: 100% !important; max-width: 100% !important; }
  .woocommerce-checkout-review-order-table tfoot tr.shipping td,
  .cart_totals table.shop_table tr.shipping td { word-break: break-word; }

  /* Pénztár review-tábla: a termék-fejléc/sor (thead+tbody) ne lógjon ki a
     konténerből (overflow:hidden levágta a jobb szélét). table-layout:fixed →
     az oszlopok a konténer szélességéhez igazodnak. */
  .woocommerce-checkout-review-order-table { table-layout: fixed; }
  .woocommerce-checkout-review-order-table thead th { white-space: normal !important; padding-left: 16px !important; padding-right: 16px !important; }
  .woocommerce-checkout-review-order-table tbody td.product-name { word-break: break-word; }
  .woocommerce-checkout-review-order-table tbody td.product-total { white-space: normal; }
}

/* ── MOBIL: szállítás + átvételi hely sor teljes szélességben (ne zsúfolódjon) ──
   A hosszú szállítási metódusnevek a fél-szélességű oszlopban túl sokat törtek.
   Mobilon a címke kerüljön külön sorba, a metóduslista / választó teljes szélességben. */
@media (max-width: 600px) {
  .cart_totals table.shop_table tr.woocommerce-shipping-totals,
  .cart_totals table.shop_table tr.shipping,
  .cart_totals table.shop_table tr.vp-woo-pont-review-order,
  .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals,
  .woocommerce-checkout-review-order-table tfoot tr.shipping,
  .woocommerce-checkout-review-order-table tfoot tr.vp-woo-pont-review-order {
    display: block !important;
    width: 100%;
  }
  .cart_totals table.shop_table tr.woocommerce-shipping-totals th,
  .cart_totals table.shop_table tr.shipping th,
  .cart_totals table.shop_table tr.vp-woo-pont-review-order th,
  .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals th,
  .woocommerce-checkout-review-order-table tfoot tr.shipping th,
  .woocommerce-checkout-review-order-table tfoot tr.vp-woo-pont-review-order th {
    display: block;
    width: 100% !important;
    text-align: left !important;
    padding-bottom: 4px !important;
    color: var(--ef-gray-500);
  }
  .cart_totals table.shop_table tr.woocommerce-shipping-totals td,
  .cart_totals table.shop_table tr.shipping td,
  .cart_totals table.shop_table tr.vp-woo-pont-review-order td,
  .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td,
  .woocommerce-checkout-review-order-table tfoot tr.shipping td,
  .woocommerce-checkout-review-order-table tfoot tr.vp-woo-pont-review-order td {
    display: block;
    width: 100% !important;
    text-align: left !important;
  }
  /* Szállítási metódusok: rádió balra, név + ár olvashatóan */
  .cart_totals table.shop_table tr.shipping td ul#shipping_method li,
  .woocommerce-checkout-review-order-table tfoot tr.shipping td ul#shipping_method li,
  .cart_totals table.shop_table tr.shipping td ul li,
  .woocommerce-checkout-review-order-table tfoot tr.shipping td ul li {
    justify-content: flex-start !important;
    text-align: left;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   KOSÁR/PÉNZTÁR ÖSSZEGZŐ – LETISZTULT ELRENDEZÉS (2026-06-15)
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Szállítási mód lista (közös desktop + mobil): rádiókör + név + ár egy sorban,
      balra igazítva, a hosszú metódusnevek ne zsúfolódjanak ─────────────────── */
ul#shipping_method,
ul.woocommerce-shipping-methods,
.woocommerce-checkout-review-order-table tfoot .shipping td ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
ul#shipping_method li,
.woocommerce-checkout-review-order-table tfoot .shipping td ul li {
  display: block !important;
  justify-content: flex-start !important;
  text-align: left !important;
  font-size: 13.5px;
}
ul#shipping_method li input.shipping_method,
ul#shipping_method li input[type="radio"],
.woocommerce-checkout-review-order-table tfoot .shipping td ul li input { display: none !important; }
ul#shipping_method li > label,
.woocommerce-checkout-review-order-table tfoot .shipping td ul li label {
  display: block !important;
  position: relative;
  padding-left: 26px;
  margin: 0;
  cursor: pointer;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ef-gray-700);
  text-align: left;
}
/* Rádiókör: rögzítve a szöveg elejére (abszolút, így sosem tördelődik külön sorba) */
ul#shipping_method li > label::before,
.woocommerce-checkout-review-order-table tfoot .shipping td ul li label::before {
  position: absolute !important;
  left: 0;
  top: 3px;
  margin: 0 !important;
}
/* Provider ikonok: tördelhető kis blokk a név után */
.vp-woo-pont-shipping-method-icons {
  display: inline-flex; flex-wrap: wrap; gap: 5px; align-items: center;
  vertical-align: middle;
}
/* Bruttó jegyzet a szállítás sorban: külön sorban, a névvel egy vonalban behúzva */
ul#shipping_method li > label .ef-gross-note,
.woocommerce-checkout-review-order-table tfoot .shipping td ul li label .ef-gross-note {
  display: block;
  margin: 1px 0 0;
  text-align: left;
}

/* ── Desktop: a címke-oszlop legyen szűk (tartalomhoz igazodó), így a jobb oldali
      értékeknek és a szállítási neveknek sokkal több hely marad ──────────────── */
@media (min-width: 601px) {
  .cart_totals table.shop_table tr th,
  .woocommerce-checkout-review-order-table tfoot tr th {
    width: 1%;
    white-space: nowrap;
    padding-right: 16px;
  }
  /* Szállítás + átvételi hely sor: címke felül igazítva, érték/lista balra */
  .cart_totals table.shop_table tr.woocommerce-shipping-totals th,
  .cart_totals table.shop_table tr.vp-woo-pont-review-order th,
  .woocommerce-checkout-review-order-table tfoot tr.shipping th,
  .woocommerce-checkout-review-order-table tfoot tr.vp-woo-pont-review-order th {
    vertical-align: top;
  }
  .cart_totals table.shop_table tr.woocommerce-shipping-totals td,
  .cart_totals table.shop_table tr.vp-woo-pont-review-order td,
  .woocommerce-checkout-review-order-table tfoot tr.shipping td,
  .woocommerce-checkout-review-order-table tfoot tr.vp-woo-pont-review-order td {
    text-align: left;
  }
}

/* Szállítási mód árát ne törje ketté ("2 000 Ft" egyben maradjon) */
ul#shipping_method li > label .woocommerce-Price-amount,
.woocommerce-checkout-review-order-table tfoot .shipping td ul li label .woocommerce-Price-amount {
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════════════════════
   MOBIL FINOMHANGOLÁS – kosár + pénztár, v2 (2026-06-15)
   A blokk a fájl végén van → felülír minden korábbi (akár !important) szabályt.
   ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {

  /* ── Kevesebb térköz a kijelző széléhez ──────────────────────────────────── */
  .woocommerce-cart .woocommerce {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .ef-checkout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 16px 10px 48px !important;
  }

  /* ── Pénztár: számlázási/szállítási mezők MINDIG egymás alá ───────────────── */
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper {
    display: block !important;
  }
  .ef-checkout .form-row,
  .ef-checkout .form-row-first,
  .ef-checkout .form-row-last,
  .ef-checkout .form-row-wide,
  #billing_postcode_field, #shipping_postcode_field,
  #billing_city_field, #shipping_city_field {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Szekció kártyák kisebb belső padding */
  .woocommerce-billing-fields,
  .woocommerce-shipping-fields,
  .woocommerce-additional-fields { padding: 18px 14px 14px !important; }

  /* ── Kosár termék-táblázat: olvasható sorok, terméknév teljes szélességben ── */
  table.shop_table.cart tbody td {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  table.shop_table.cart tbody td.product-name {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    font-size: 15px;
    font-weight: 600;
    padding-top: 14px !important;
    padding-bottom: 6px !important;
  }
  /* a felesleges "Termék" data-title felirat elrejtése a név előtt */
  table.shop_table.cart tbody td.product-name::before { display: none !important; }
  /* Mennyiség + részösszeg: címke balra, érték jobbra, egész sorban */
  table.shop_table.cart tbody td.product-quantity,
  table.shop_table.cart tbody td.product-subtotal {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    width: 100% !important;
    text-align: right !important;
  }
  table.shop_table.cart tbody td.product-quantity::before,
  table.shop_table.cart tbody td.product-subtotal::before {
    float: none !important;
    font-weight: 600;
    color: var(--ef-gray-500);
  }
  /* X (eltávolítás) gomb a termékkártya jobb-felső sarkába (ne lógjon a szélre) */
  table.shop_table.cart tbody tr.cart_item { position: relative; }
  table.shop_table.cart tbody td.product-remove {
    position: absolute !important;
    top: 8px;
    right: 8px;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }
  table.shop_table.cart tbody td.product-remove a.remove {
    margin: 0 !important;
  }
  /* a terméknév ne fusson az X alá */
  table.shop_table.cart tbody td.product-name { padding-right: 36px !important; }
}

/* =========================================================================
   Márka logó fallback termékkép (nincs saját kép)
   A logó arányosan, kerettel ül a négyzetes képhelyen, torzítás nélkül.
   ========================================================================= */
.ef-brand-fallback-img {
	object-fit: contain !important;
	width: 100%;
	height: 100%;
	padding: 14%;
	box-sizing: border-box;
	background: #fff;
	mix-blend-mode: multiply; /* fehér logóháttér beolvad a kártyába */
}

/* USP box – nagyméretű kivétel apró megjegyzés */
.ef-usp__note {
	margin-top: 2px;
	font-size: 11.5px;
	line-height: 1.3;
	color: var(--ef-gray-500, #7a7972);
}

/* =========================================================================
 * Kosár oldal elrendezés-javítás
 * A blokk-grid a táblát 685px-re szorította (Termék oszlop ~88px → szavankénti
 * törés). Rebalanszoljuk + fix táblaelrendezés értelmes oszlopszélességekkel.
 * A redundáns WC adó-suffixeket (ÁFA-val / Adótartalom) elrejtjük, mert a saját
 * "(nettó: X + ÁFA)" jegyzet már kiírja az adóviszonyt.
 * ========================================================================= */
@media (min-width: 769px) {
  /* Két blokk aránya: bal (tábla) ~1.6×, jobb (összesítő+szállítás) ~1× */
  .woocommerce-cart .woocommerce.wp-block-group {
    grid-template-columns: minmax(0, 1.6fr) minmax(360px, 1fr) !important;
    align-items: start;
  }
  /* Százalékos oszlopok, hogy a névoszlop ne nyelje el a plusz helyet
     széles képernyőn. Név 36%, a többi kap levegőt. Összeg = 100%. */
  .woocommerce-cart-form table.cart {
    table-layout: fixed;
    width: 100%;
  }
  /* !important: a Storefront/téma specifikusabb oszlop-szabályait felülírjuk.
     Összeg = 100%. Név 36% (a többi oszlop így kap levegőt). */
  .woocommerce-cart-form table.cart .product-remove    { width: 3%  !important; }
  .woocommerce-cart-form table.cart .product-thumbnail { width: 8%  !important; }
  .woocommerce-cart-form table.cart .product-name      { width: 36% !important; }
  .woocommerce-cart-form table.cart .product-price     { width: 18% !important; }
  .woocommerce-cart-form table.cart .product-quantity  { width: 16% !important; }
  .woocommerce-cart-form table.cart .product-subtotal  { width: 19% !important; }
  .woocommerce-cart-form table.cart td { vertical-align: top; }
}
@media (max-width: 768px) {
  .woocommerce-cart .woocommerce.wp-block-group {
    grid-template-columns: 1fr !important;
  }
}
.woocommerce-cart-form table.cart td.product-name,
.woocommerce-cart-form table.cart td.product-name a {
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: none;
}
/* Redundáns WC adó-suffix (a saját nettó-jegyzet mellett) – kosár ÉS pénztár */
.woocommerce-cart .tax_label,
.woocommerce-checkout .tax_label,
.woocommerce-cart .cart_totals .includes_tax,
.woocommerce-checkout .includes_tax {
  display: none;
}

/* Kosár összesítő: a hosszú érték + nettó jegyzet törhessen, ne vágódjon le */
.woocommerce-cart .cart_totals table td,
.woocommerce-cart .cart_totals table th {
  white-space: normal;
  overflow-wrap: break-word;
}
.woocommerce-cart .cart_totals .ef-gross-note {
  display: inline-block;
}
