/* =========================================================
   EFFCLUSIVE THEME — assets/css/theme.css
   Minimális reset + fejléc + footer + navigáció
   Az összes egyéb stílust az Effclusive plugin tölti be.
   ========================================================= */

/* ---- Box model reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  color: #2A1F18;
  background: #FBF7F2;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

/* ---- Main content ---- */
.eff-main-content {
  min-height: 60vh;
  position: relative;
}

/* ---- Fejléc ---- */
.eff-site-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  background: rgba(251, 247, 242, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #E5D8C8;
  width: 100%;
  transition: box-shadow 0.3s ease;
}

.eff-site-header.scrolled {
  box-shadow: 0 4px 30px rgba(42, 31, 24, 0.06);
}

.eff-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 56px);
  max-width: 1320px;
  margin: 0 auto;
  gap: 32px;
}

/* ---- Logo ---- */
.eff-logo-link {
  font-family: 'Italiana', 'Cormorant Garamond', serif;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: #2A1F18;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  transition: opacity 0.25s;
}
.eff-logo-link:hover { opacity: 0.75; }
.eff-logo-link sup {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: #B97A5F;
  margin-left: 3px;
  vertical-align: super;
}

/* ---- Desktop navigáció ---- */
.eff-nav-links {
  display: flex;
  gap: 38px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.eff-nav-links li { position: relative; }

.eff-nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #5A4A3F;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.eff-nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: #B97A5F;
  transition: width 0.4s cubic-bezier(.22,.61,.36,1);
}
.eff-nav-links a:hover,
.eff-nav-links .eff-nav-active > a { color: #2A1F18; }
.eff-nav-links a:hover::after,
.eff-nav-links .eff-nav-active > a::after { width: 100%; }

.eff-nav-arrow {
  width: 10px; height: 10px;
  stroke: currentColor;
  transition: transform 0.3s;
  flex-shrink: 0;
}

/* ---- Dropdown submenu ---- */
.eff-has-children { position: relative; }
.eff-submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: #fff;
  border: 1px solid #E5D8C8;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(42, 31, 24, 0.10);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  transform: translateX(-50%) translateY(-8px);
  z-index: 100;
}
.eff-has-children:hover .eff-submenu,
.eff-has-children:focus-within .eff-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.eff-has-children:hover .eff-nav-arrow { transform: rotate(180deg); }
.eff-submenu li { display: block; }
.eff-submenu a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: #5A4A3F;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.eff-submenu a::after { display: none; }
.eff-submenu a:hover { background: #F4ECE2; color: #2A1F18; }

/* ---- CTA zóna ---- */
.eff-nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* ---- Hamburger gomb ---- */
.eff-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.eff-menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: #2A1F18;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1), opacity 0.25s;
}
.eff-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.eff-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.eff-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- Mobil menü overlay ---- */
.eff-mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: #FBF7F2;
  z-index: 9998;
  padding: 60px 40px;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.4s cubic-bezier(.22,.61,.36,1), transform 0.4s cubic-bezier(.22,.61,.36,1);
}
.eff-mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.eff-mobile-menu a,
.eff-mobile-menu li a {
  font-family: 'Italiana', 'Cormorant Garamond', serif;
  font-size: clamp(32px, 8vw, 52px);
  color: #2A1F18;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid #E5D8C8;
  width: 100%;
  max-width: 400px;
  text-align: center;
  letter-spacing: 0.01em;
  transition: color 0.25s;
  display: block;
}
.eff-mobile-menu a:hover,
.eff-mobile-menu li a:hover { color: #B97A5F; }
.eff-mobile-menu li:last-child a { border-bottom: 0; }

.eff-mobile-close {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 28px;
  line-height: 1;
  background: transparent;
  border: none;
  color: #8A7A6E;
  cursor: pointer;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.eff-mobile-close:hover { background: #F4ECE2; color: #2A1F18; }

/* ---- Footer ---- */
.eff-site-footer {
  background: #F4ECE2;
  border-top: 1px solid #E5D8C8;
  padding: 80px 0 40px;
  font-family: 'Inter', sans-serif;
  color: #2A1F18;
}

.eff-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.eff-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.eff-footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: #5A4A3F;
  max-width: 280px;
  font-size: 16px;
  line-height: 1.55;
}

.eff-footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8A7A6E;
  margin-bottom: 22px;
  font-weight: 500;
}

.eff-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eff-footer-col a,
.eff-footer-col span {
  font-size: 14px;
  color: #5A4A3F;
  transition: color 0.25s;
}
.eff-footer-col a:hover { color: #B97A5F; }

.eff-footer-bottom {
  border-top: 1px solid #E5D8C8;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #8A7A6E;
  letter-spacing: 0.06em;
}

/* ---- Breadcrumb ---- */
.eff-breadcrumb {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A7A6E;
  padding: 28px 0 16px;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}
.eff-breadcrumb a { color: #8A7A6E; transition: color 0.2s; }
.eff-breadcrumb a:hover { color: #B97A5F; }
.eff-breadcrumb .sep { margin: 0 12px; opacity: 0.4; }

/* ---- Archive wrap ---- */
.eff-archive-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px clamp(20px, 4vw, 56px) 100px;
}
.eff-archive-header {
  margin-bottom: 64px;
  text-align: center;
}
.eff-archive-header .eff-eyebrow { margin-bottom: 18px; }
.eff-archive-header .eff-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  color: #5A4A3F;
  max-width: 540px;
  margin: 18px auto 0;
}

/* ---- Reszponzív ---- */
@media (max-width: 960px) {
  .eff-nav-links { display: none; }
  .eff-menu-toggle { display: flex; }
  .eff-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
}

@media (max-width: 600px) {
  .eff-nav { padding: 16px 20px; }
  .eff-logo-link { font-size: 22px; }
  .eff-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .eff-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* =========================================================
   JAVÍTÁSOK — 2026-05-07
   ========================================================= */

/* ---- Kosár gomb: count inline az ikonnal ---- */
.eff-cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid #E5D8C8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  background: #FBF7F2;
  cursor: pointer;
  flex-shrink: 0;
}
.eff-cart-btn:hover {
  border-color: #B97A5F;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(106,78,56,.08);
}
.eff-cart-btn svg {
  width: 18px; height: 18px;
  stroke: #2A1F18;
  display: block;
}
.eff-cart-btn .eff-cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  background: #B97A5F;
  color: #fff;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: 0;
}

/* ---- Luxury pagination ---- */
.eff-pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid #E5D8C8;
  border-radius: 50%;
  font-family: 'Italiana', 'Cormorant Garamond', serif;
  font-size: 17px;
  color: #5A4A3F;
  text-decoration: none;
  transition: all 0.25s;
  margin: 0 3px;
}
.eff-pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
  border-color: #B97A5F;
  color: #B97A5F;
}
.eff-pagination .page-numbers.current,
.nav-links .page-numbers.current {
  background: #2A1F18;
  border-color: #2A1F18;
  color: #FBF7F2;
}
.eff-pagination .page-numbers.dots,
.nav-links .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  width: auto;
}
.eff-pagination,
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 60px 0 20px;
}

/* ---- Kategória grid: 1 oszlop mobilon ---- */
@media (max-width: 760px) {
  .eff-cat-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

/* ---- Hamburger menü javítás ---- */
/* Biztosítja hogy a JS betöltése előtt se törjön el */
.eff-mobile-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.4s cubic-bezier(.22,.61,.36,1),
              transform 0.4s cubic-bezier(.22,.61,.36,1),
              visibility 0s linear 0.4s;
}
.eff-mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.4s cubic-bezier(.22,.61,.36,1),
              transform 0.4s cubic-bezier(.22,.61,.36,1),
              visibility 0s linear 0s;
}
