/* Lango — bolt stíluslap
   Irány: klasszikus luxus. Papírfehér alap, a termékfotók kőháttere (--gray) mint második sík,
   grafit szöveg, aranyszál csak hajszálvonalakhoz, lagúnazöld aláírás-szín (gombok, jelölők).
   Betűk: Libre Caslon Text (címek, logó), Jost (szöveg). Egy merész elem: a Shop the look jelölők.
   A színek a theme_css_shop() által felülírható változókból jönnek (adminból állítható). */

:root {
  --brand: #1F4A43;
  --brand-dark: #16362F;
  --brand-tint: #EDF2EF;
  --ink: #1C1B19;
  --muted: #77716A;
  --gray: #F3F0EB;
  --line: #E4DED5;
  --gilt: #A8864F;
  --sale: #8C2F2A;
  --star: #A8864F;
  --ok: #1F4A43;
  --page-bg: #F8F6F0;   /* pearl — az adminban állítható (Beállítások → Megjelenés) */
  --field: #CFC7BB;
  --radius: 2px;
  --btn-radius: 0px;
  --serif: 'Libre Caslon Text', 'Big Caslon', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Futura', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --edge: clamp(12px, 1.4vw, 40px);   /* teljes szélességű rács széle */
  --tile-gap: clamp(8px, .7vw, 18px);
  --header-h: 120px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Alap ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.65 var(--sans);
  color: var(--ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px; font-size: .875rem;
}
.skip-link:focus { top: 12px; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
/* teljes szélességű terméklisták (2560 px-en is kitöltik a képernyőt) */
.container-wide { padding: 0 var(--edge); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Típusskála (klasszikus lépcsők: 16 · 18 · 24 · 36 · 48 · 60) */
.display-1 { font-size: clamp(2.05rem, 4vw, 3.25rem); line-height: 1.1; }
.display-2 { font-size: clamp(1.8rem, 3.1vw, 2.625rem); line-height: 1.12; }
.display-3 { font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.15; }

/* ---------- Linkek, gombok ---------- */
.text-link {
  display: inline-block;
  font: 500 .875rem/1.4 var(--sans);
  letter-spacing: .06em;
  color: var(--ink);
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: color .2s, background-size .35s var(--ease);
}
.text-link:hover { color: var(--brand); background-size: 40% 1px; }

.link-btn {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font: 500 .875rem var(--sans); letter-spacing: .04em; color: var(--ink);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.link-btn:hover { color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 34px;
  font: 500 .875rem/1 var(--sans); letter-spacing: .08em;
  border: 1px solid transparent; border-radius: var(--btn-radius);
  cursor: pointer; text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline, .btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover, .btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { min-height: 58px; }
.btn-block { display: flex; width: 100%; }
.btn-split { justify-content: space-between; }

/* ---------- Bejelentő sáv, fejléc ---------- */
.announce-bar {
  background: var(--announce-bg, #EDE6D9);
  color: var(--announce-text, var(--ink));
  text-align: center;
  font-size: .8125rem;
  letter-spacing: .06em;
  padding: 9px 16px;
}
.mode-banner { text-align: center; font-size: .8125rem; padding: 8px 16px; }
.mode-test { background: #F6EFD9; color: #6B5412; }
.mode-paused { background: #F5E6E3; color: var(--sale); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg, rgba(248, 246, 240, .97));
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(28, 27, 25, .35); }
.header-top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 78px; padding: 0 var(--gutter);
}
.header-side { display: flex; align-items: center; gap: 10px; }
.header-right { justify-content: flex-end; }

.wordmark {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: var(--logo-ls, .38em);
  padding-left: var(--logo-ls, .38em);   /* a ritkítás optikai kiegyenlítése */
  line-height: 1;
  color: var(--ink);
}

.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink);
}
.icon-btn:hover { color: var(--brand); }
.nav-toggle { display: none; }
.cart-badge {
  position: absolute; top: 4px; right: 2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--brand); color: #fff; border-radius: 999px;
  font-size: .6875rem; font-weight: 500; line-height: 17px; text-align: center;
}

.lang-switch { display: flex; gap: 2px; }
.lang-switch a {
  font-size: .75rem; letter-spacing: .1em; color: var(--muted);
  padding: 6px 6px;
}
.lang-switch a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch-mobile { display: none; }

.main-nav { border-top: 1px solid transparent; }
.main-nav-inner {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px clamp(20px, 2.6vw, 40px);
  padding: 0 var(--gutter) 14px;
}
.main-nav-inner a {
  font-size: .875rem; letter-spacing: .05em; color: var(--ink);
  padding: 4px 0; border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.main-nav-inner a:hover { border-bottom-color: var(--ink); }
.main-nav-inner a[aria-current] { border-bottom-color: var(--gilt); }
.main-nav-foot { display: none; }

/* Kompakt fejléc görgetéskor (asztali): egy sor — LANGO balra, a menü mellette, ikonok jobbra */
@media (min-width: 901px) {
  :root { --header-h: 58px; }
  .site-header { position: sticky; }
  .header-top > .wordmark {
    position: absolute; left: 50%; top: 50%; z-index: 2;
    transform: translate(-50%, -50%);
    transition: left .5s var(--ease), transform .5s var(--ease), font-size .5s var(--ease), letter-spacing .5s var(--ease);
  }
  .header-top { position: relative; }
  .header-top > .header-right { grid-column: 3; }
  .header-top:has(.logo-img) { height: max(78px, calc(var(--logo-h, 44px) + 28px)); }
  .is-scrolled .header-top:has(.logo-img) { height: 57px; }
  .is-scrolled .header-top { height: 57px; }
  .is-scrolled .header-top > .wordmark {
    left: var(--gutter); top: 50%; transform: translate(0, -50%);
    font-size: 1.3rem; letter-spacing: calc(var(--logo-ls, .38em) * .8); padding-left: 0;
  }
  .is-scrolled .header-top > .wordmark .logo-img { height: var(--logo-h-compact, 28px); }
  .is-scrolled .header-left .lang-switch { opacity: 0; pointer-events: none; }
  .header-left .lang-switch { transition: opacity .25s; }
  .is-scrolled .main-nav {
    position: absolute; top: 0; left: 200px; right: 130px; height: 57px;
    display: flex; align-items: center; justify-content: center; pointer-events: none;
  }
  .is-scrolled .main-nav-inner {
    padding: 0; gap: 4px clamp(16px, 1.9vw, 34px); flex-wrap: nowrap; pointer-events: auto;
    animation: navUp .45s var(--ease) both;
  }
  .is-scrolled .main-nav-inner a { font-size: .8125rem; white-space: nowrap; }
  @keyframes navUp { from { opacity: 0; transform: translateY(14px); } }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .is-scrolled .main-nav-inner { gap: 4px 14px; }
  .is-scrolled .main-nav-inner a { font-size: .75rem; letter-spacing: .02em; }
}

.search-bar {
  display: flex; gap: 20px; align-items: center;
  max-width: 720px; margin: 0 auto; padding: 8px var(--gutter) 22px;
}
.search-bar input {
  flex: 1; min-width: 0;
  font: 400 1.25rem var(--serif); color: var(--ink);
  border: 0; border-bottom: 1px solid var(--ink); padding: 10px 0; background: transparent;
  border-radius: 0;
}
.search-bar input:focus { outline: none; border-bottom-color: var(--brand); }

/* ---------- Flash ---------- */
.flash { padding: 14px 0; font-size: .9375rem; text-align: center; }
.flash-success { background: var(--brand-tint); color: var(--brand-dark); }
.flash-error { background: #F5E6E3; color: var(--sale); }
.flash a { text-decoration: underline; }

/* ---------- Szekciók ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-tight { padding: 32px 0 clamp(56px, 8vw, 104px); }
.section-stone { background: var(--gray); }
/* egymást követő fehér szekcióknál ne adódjon össze a két padding */
.section:not(.section-stone) + .section:not(.section-stone) { padding-top: 0; }
.section-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; }
.section-sub { color: var(--muted); margin: 10px 0 0; }
.section-foot { text-align: center; margin: clamp(36px, 5vw, 56px) 0 0; }

/* ---------- Hero: diptichon-slider ---------- */
.hero { position: relative; }
.hero-track { position: relative; }
.hero-slide {
  position: absolute; inset: 0 0 auto 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.hero-slide.is-active {
  position: relative; opacity: 1; visibility: visible;
  transition: opacity .9s var(--ease), visibility 0s;
}
.hero-slide { overflow: hidden; }
.hero-media {
  position: relative;
  display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr);
  height: clamp(460px, calc(100svh - 250px), 820px);
  background: var(--gray);
}
.hero-media.is-diptych { grid-template-columns: 1fr 1fr; gap: 3px; background: var(--page-bg); }
.hero-media picture { display: block; width: 100%; height: 100%; min-height: 0; }
.hero-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
/* a felirat a képen ül, alul sötétedő átmenettel, hogy fotótól függetlenül olvasható legyen */
.hero-media::after {
  content: ""; position: absolute; inset: 40% 0 0 0; pointer-events: none;
  background: linear-gradient(to top, rgba(28, 24, 20, .62), rgba(28, 24, 20, .22) 50%, transparent);
}
.hero-caption {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  width: min(100%, 640px);
  padding: 0 var(--gutter) clamp(32px, 4.5vw, 60px) clamp(24px, 5vw, 72px);
  color: #fff; text-align: left;
}
.hero-media.is-diptych ~ .hero-caption { width: min(50%, 640px); }
.hero-title { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.08; margin: 0 0 12px; color: #fff; }
.hero-sub { color: rgba(255, 255, 255, .88); font-size: 1.0625rem; margin: 0 0 22px; }
.hero-caption { text-shadow: 0 1px 18px rgba(0, 0, 0, .25); }
.hero-caption .text-link { color: #fff; }
.hero-caption .text-link:hover { color: #fff; }
.hero-slide:not(.is-active) .hero-caption > * { opacity: 0; transform: translateY(10px); }
.hero-slide.is-active .hero-caption > * { transition: opacity .8s var(--ease) .35s, transform .8s var(--ease) .35s; }

/* diafülek */
.hero-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: clamp(12px, 2.5vw, 32px); padding-top: 20px; }
.hero-tab {
  display: block; text-align: left; background: none; border: 0; padding: 0 0 4px; cursor: pointer;
  font: 400 .9375rem/1.35 var(--serif); color: var(--muted); transition: color .25s;
}
.hero-tab:hover, .hero-tab[aria-current] { color: var(--ink); }
.hero-tab-bar { display: block; height: 2px; background: var(--line); margin-bottom: 12px; position: relative; overflow: hidden; }
.hero-tab-bar::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
}
.hero-tab[aria-current] .hero-tab-bar::after { animation: heroTab 6.5s linear forwards; }
.hero.is-paused .hero-tab[aria-current] .hero-tab-bar::after { animation-play-state: paused; }
@keyframes heroTab { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero-tab[aria-current] .hero-tab-bar::after { animation: none; transform: none; }
  .hero-slide .hero-caption > * { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Bevezető ----------
   Kő-sávon, hogy a hero felirata után egyértelműen új szakasz kezdődjön
   (két egymás utáni, fehér alapú középre zárt szövegblokk üresnek hatott). */
.hero { margin-bottom: 0; }
.hero + .section:not(.section-stone) { padding-top: clamp(48px, 5vw, 80px); }
.intro { background: var(--gray); padding: clamp(56px, 7vw, 96px) 0; }
.section.intro + .section:not(.section-stone) { padding-top: clamp(56px, 8vw, 112px); }
.intro .display-2 { margin-bottom: 20px; }
.intro-body { font-size: 1.125rem; line-height: 1.75; color: #4A4640; max-width: 58ch; margin: 0 auto 28px; }

/* ---------- Termékrács és kártya ----------
   Soronként váltakozva 4 és 3 termék (product_rows()), teljes szélességben. */
.pgrid { display: grid; row-gap: clamp(28px, 2.4vw, 56px); }
.pgrid-row { display: grid; gap: var(--tile-gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgrid-row.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* régi, egyszerű rács (néhány helyen még használt) */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(14px, 2vw, 28px); }

.product-card { display: block; color: var(--ink); min-width: 0; }
.product-card-media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--gray);
}
.product-card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.product-card .img-hover { opacity: 0; transition: opacity .55s var(--ease); }
@media (hover: hover) {
  .product-card.has-hover:hover .img-hover { opacity: 1; }
}
.card-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  font-size: .75rem; letter-spacing: .04em; padding: 5px 10px;
}
.card-tag-sale { color: var(--sale); }
.product-card-body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px;
  padding: 12px 2px 0; text-align: left;
}
.product-card-name { grid-column: 1; font: 400 1rem/1.35 var(--serif); color: var(--ink); }
.product-card-name:hover { color: var(--brand); }
.product-card-body .price { grid-column: 1; margin-top: 3px; font-size: .875rem; }
.card-add {
  grid-column: 2; grid-row: 1 / span 2; align-self: start;
  width: 34px; height: 34px; margin: -6px -8px 0 0; padding: 0; border: 0; background: none;
  color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: color .2s, transform .25s var(--ease);
}
.card-add:hover { color: var(--brand); transform: rotate(90deg); }
.price { display: block; margin-top: 6px; font-size: .9375rem; color: #55504A; }
.price del, .product-price del { color: var(--muted); margin-left: 6px; }
.price-sale { color: var(--sale); }

/* Shop the look csempe a lista közepén (két helyet foglal, a sor teljes magasságában) */
.look-tile {
  grid-column: span 2; position: relative; display: block; overflow: hidden;
  min-height: 100%; background: var(--gray); color: #fff;
}
.look-tile.is-single { grid-column: span 1; }
.look-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.look-tile::after {
  content: ""; position: absolute; inset: 45% 0 0 0;
  background: linear-gradient(to top, rgba(28, 24, 20, .55), transparent);
}
.look-tile-caption {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  padding: clamp(20px, 2.4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.look-tile-title { font: 400 clamp(1.5rem, 2.2vw, 2.5rem)/1.1 var(--serif); }
.look-tile-sub { font-size: .9375rem; color: rgba(255, 255, 255, .88); }
.look-tile-btn {
  margin-top: 14px; padding: 11px 22px; background: #fff; color: var(--ink);
  font: 500 .8125rem var(--sans); letter-spacing: .06em; border-radius: var(--btn-radius);
  transition: background .25s, color .25s;
}
@media (hover: hover) {
  .look-tile:hover img { transform: scale(1.025); }
  .look-tile:hover .look-tile-btn { background: var(--brand); color: #fff; }
}
.look-tile:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Shop the look — teljes képernyős ablak: balra fele szélességben a kép, jobbra nagyban a darabok, X felül középen */
.look-modal {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0;
  padding: 0; border: 0; background: var(--page-bg); color: var(--ink); overflow: hidden;
}
.look-modal::backdrop { background: rgba(28, 27, 25, .6); }
.look-modal[open] { animation: lookIn .5s var(--ease); }
@keyframes lookIn { from { opacity: 0; } }
.look-modal-inner { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); height: 100dvh; }
.look-modal .look-figure { height: 100dvh; background: var(--gray); overflow: hidden; align-self: stretch; }
.look-modal .look-figure > img, .look-modal .look-figure > video {
  display: block; width: 100%; height: 100dvh; max-width: none; max-height: none; object-fit: cover;
}
.look-modal-panel { position: relative; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
.look-modal-head { padding: clamp(40px, 4.5vw, 64px) clamp(20px, 3vw, 48px) 0; text-align: center; }
.look-modal-head .look-sub { margin-bottom: 0; }
.look-modal-title { font: 400 clamp(2rem, 3vw, 3rem)/1.05 var(--serif); margin: 6px 0 8px; }
.look-modal-items {
  list-style: none; margin: 0; padding: 24px clamp(20px, 3vw, 48px) 40px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(12px, 1.5vw, 20px);
  flex: 1 0 auto; align-content: start;
}
.look-modal-items.is-single { grid-template-columns: minmax(0, min(540px, calc((100dvh - 360px) * .8))); justify-content: center; }
.lm-item { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; text-align: center; }
.lm-media { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--gray); margin-bottom: 14px; }
.lm-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lm-media:hover img { transform: scale(1.03); }
.lm-name { font: 400 1.25rem/1.3 var(--serif); }
.lm-name:hover { color: var(--brand); }
.lm-price { font-size: .9375rem; color: #55504A; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.lm-add { margin-top: 12px; width: 100%; max-width: 280px; }
.lm-add .btn { min-height: 44px; }
.lm-oos { margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.look-modal-foot {
  position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 20px;
  padding: 16px clamp(20px, 3vw, 48px) 20px; background: var(--page-bg); border-top: 1px solid var(--line);
}
.look-modal-foot .look-all { flex: 1; margin: 0; }
.look-modal-more { white-space: nowrap; margin: 0; }
/* bezárás: felül középen, a kép és a darabok határán */
.look-modal-close {
  position: absolute; top: 20px; left: 45%; z-index: 5; width: 52px; height: 52px; margin-left: -26px;
  border: 0; border-radius: 50%; background: var(--page-bg); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px -8px rgba(28, 27, 25, .35);
  transition: color .2s, transform .3s var(--ease);
}
.look-modal-close:hover { color: var(--brand); transform: rotate(90deg); }
.look-modal-close:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
/* a look saját oldalán ugyanazok a nagy kártyák, balra igazítva a panelhez */
.look-panel .look-modal-items { padding: 20px 0 0; gap: 36px 20px; }
.look-panel .look-modal-items.is-single { justify-content: start; }
body:has(.look-modal[open]) { overflow: hidden; }

/* ---------- Shop the look ---------- */
.look-band { background: var(--gray); padding: clamp(56px, 8vw, 112px) 0; }
.look-layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5.5vw, 88px); align-items: center;
}
/* A kép a saját arányában, vágás nélkül: a jelölők százalékai így pontosan a képre esnek. */
.look-figure { position: relative; margin: 0; align-self: center; }
.look-figure > img { width: 100%; height: auto; }

.look-pin {
  position: absolute; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  display: grid; place-items: center; color: var(--ink);
}
.look-pin-dot {
  position: relative; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 1px rgba(31, 74, 67, .55), 0 2px 10px rgba(28, 27, 25, .25);
  transition: transform .25s var(--ease);
}
.look-pin-dot::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--brand);
}
.look-pin-dot::before {        /* a gyűrű, ami egyszer "rálélegzik" a darabra, amikor a kép láthatóvá válik */
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .95); opacity: 0;
}
.look-figure.is-visible .look-pin-dot::before { animation: pin-breathe 2.4s var(--ease) .3s 2; }
@keyframes pin-breathe {
  0% { opacity: 0; transform: scale(.6); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.5); }
}
.look-pin:hover .look-pin-dot, .look-pin:focus-visible .look-pin-dot, .look-pin.is-lit .look-pin-dot { transform: scale(1.18); }
.look-pin:focus-visible { outline: none; }
.look-pin:focus-visible .look-pin-dot { box-shadow: 0 0 0 2px var(--brand), 0 0 0 5px #fff; }
.look-pin-card {
  position: absolute; left: 50%; bottom: calc(100% + 4px);
  transform: translate(-50%, 6px);
  min-width: 170px; padding: 12px 16px;
  background: #fff; box-shadow: 0 14px 34px -10px rgba(28, 27, 25, .35);
  text-align: left; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}
.look-pin-card.is-left { left: auto; right: 50%; transform: translate(22px, 6px); }
.look-pin:hover .look-pin-card, .look-pin:focus-visible .look-pin-card, .look-pin.is-lit .look-pin-card {
  opacity: 1; transform: translate(-50%, 0);
}
.look-pin:hover .look-pin-card.is-left, .look-pin:focus-visible .look-pin-card.is-left,
.look-pin.is-lit .look-pin-card.is-left { transform: translate(22px, 0); }
.look-pin-name { display: block; font: 400 1rem/1.3 var(--serif); }
.look-pin-price { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; }

.look-kicker { font-size: .875rem; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.look-panel .display-2, .look-panel .display-1 { margin-bottom: 8px; }
.look-sub { font: italic 400 1.25rem/1.4 var(--serif); color: #55504A; margin: 0 0 28px; }
.look-desc { color: #4A4640; max-width: 52ch; }
.look-list-title { font: 500 .875rem var(--sans); letter-spacing: .06em; color: var(--muted); margin: 36px 0 4px; }

.look-items { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.look-item {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 16px 0; border-top: 1px solid var(--line);
  transition: background .2s;
}
.look-items.is-compact .look-item { grid-template-columns: 64px minmax(0, 1fr); padding: 12px 0; }
.look-item.is-lit { background: rgba(255, 255, 255, .55); }
.look-item-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--gray); }
.look-band .look-item-media { background: #fff; }
.look-item-media img { width: 100%; height: 100%; object-fit: cover; }
.look-item-name { display: block; font: 400 1.0625rem/1.3 var(--serif); }
.look-item-name:hover { color: var(--brand); }
.look-item-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .875rem; color: #55504A; margin-top: 4px; }
.look-item-note { color: var(--gilt); }
.look-item-oos { font-size: .8125rem; color: var(--muted); }
.look-add { margin: 0; }
.look-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 32px; }
.look-all { margin-top: 28px; }

.look-page { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 104px); }
.look-layout-page { align-items: start; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.look-layout-page .look-figure { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }

.looks-grid { --g: clamp(20px, 3vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.looks-grid > * { flex: 0 1 calc((100% - 2 * var(--g)) / 3); }
.look-card { display: block; text-align: center; }
.look-card-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--gray); }
.look-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.look-card:hover .look-card-media img { transform: scale(1.03); }
.look-card-title { display: block; font: 400 1.5rem/1.2 var(--serif); margin-top: 18px; }
.look-card-sub { display: block; color: var(--muted); font-size: .9375rem; margin-top: 4px; }

/* ---------- Kategóriák ---------- */
.category-grid { display: grid; grid-template-columns: repeat(var(--cat-cols, 3), minmax(0, 1fr)); gap: var(--tile-gap); }
.category-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--gray); color: #fff; }
.category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.category-tile::after { content: ""; position: absolute; inset: 0; background: rgba(28, 24, 20, .14); transition: background .4s; }
.category-name {
  position: absolute; left: 0; right: 0; top: 50%; z-index: 1; transform: translateY(-50%);
  text-align: center; font: 400 clamp(1.5rem, 2.4vw, 2.75rem)/1.1 var(--serif);
  text-shadow: 0 1px 24px rgba(0, 0, 0, .28);
}
@media (hover: hover) {
  .category-tile:hover img { transform: scale(1.03); }
  .category-tile:hover::after { background: rgba(28, 24, 20, .26); }
}

/* ---------- Editoriál ---------- */
.editorial-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.editorial-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--gray); }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-right .editorial-media { order: 2; }
.editorial-text { max-width: 44ch; }
.editorial-text p { font-size: 1.0625rem; line-height: 1.75; color: #4A4640; margin: 16px 0 28px; }
.editorial + .editorial { padding-top: 0; }

/* ---------- Oldalfej, katalógus ---------- */
.page-head { padding: clamp(44px, 7vw, 96px) 0 clamp(24px, 3vw, 36px); }
.page-head.is-compact { padding: clamp(24px, 3vw, 40px) 0 0; }
.page-head.is-compact h1 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
.page-head.is-compact .page-lead { margin-top: 8px; font-size: 1rem; }
.page-head.is-compact + .section { padding-top: 16px; }
.page-head h1 { margin: 0; }
.page-head + .section { padding-top: clamp(16px, 2vw, 24px); }
.page-lead { color: var(--muted); font-size: 1.0625rem; max-width: 60ch; margin: 14px auto 0; }
.cat-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px clamp(18px, 2.6vw, 36px);
  padding: clamp(22px, 3vw, 32px) var(--gutter) 0;
}
.cat-tabs a {
  font-size: .875rem; letter-spacing: .04em; padding: 6px 0; color: var(--muted);
  border-bottom: 1px solid transparent;
}
.cat-tabs a:hover { color: var(--ink); }
.cat-tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }

.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 16px; margin-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line);
}
.catalog-count { font-size: .875rem; color: var(--muted); }
.catalog-tools { display: flex; align-items: center; gap: 28px; }
.catalog-sort select {
  appearance: none; -webkit-appearance: none;
  font: 500 .875rem var(--sans); letter-spacing: .04em; color: var(--ink);
  border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231C1B19' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center no-repeat;
  padding: 4px 22px 4px 0; cursor: pointer;
}
.filter-panel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 48px;
  border: 1px solid var(--line); padding: 28px; margin-bottom: clamp(28px, 4vw, 48px);
}
.filter-group { border: 0; margin: 0; padding: 0; }
.filter-group legend { font: 500 .8125rem var(--sans); letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; padding: 0; }
.filter-actions { display: flex; align-items: center; gap: 24px; align-self: end; }
.check-line { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: .9375rem; cursor: pointer; }
.check-line input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; }

.price-slider-track { position: relative; height: 26px; }
.price-slider-track::before { content: ""; position: absolute; top: 12px; left: 0; right: 0; height: 1px; background: var(--field); }
.price-slider-fill { position: absolute; top: 11px; height: 3px; background: var(--brand); }
.price-slider-track input[type=range] {
  position: absolute; top: 0; left: 0; width: 100%; margin: 0; height: 26px;
  -webkit-appearance: none; appearance: none; background: none; pointer-events: none;
}
.price-slider-track input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto; cursor: grab;
  width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 1px solid var(--ink);
}
.price-slider-track input[type=range]::-moz-range-thumb {
  pointer-events: auto; cursor: grab; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 1px solid var(--ink);
}
.price-slider-values { display: flex; justify-content: space-between; font-size: .875rem; margin-top: 4px; }

.empty-state, .empty-note { text-align: center; padding: 48px 0; color: var(--muted); }
.empty-state p { font: 400 1.375rem/1.4 var(--serif); color: var(--ink); margin-bottom: 24px; }

/* ---------- Termékoldal ----------
   Balra szélig érő galéria (pár, nagy, pár…), jobbra ragadós, keskeny információs oszlop. */
.product-page { padding: 0 0 clamp(56px, 8vw, 104px); }
.product-layout {
  display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); align-items: start;
}
.gallery-track { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.gallery-item {
  display: block; padding: 0; border: 0; background: var(--gray); cursor: zoom-in;
  aspect-ratio: 4 / 5; overflow: hidden;
}
.gallery-item.is-full { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-dots { display: none; }

.product-info { position: sticky; top: var(--header-h); }
.product-info-inner { max-width: 440px; padding: clamp(28px, 3vw, 48px) var(--gutter) 32px clamp(28px, 3.6vw, 72px); }
.crumbs { font-size: .8125rem; letter-spacing: .04em; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.product-title { font: 400 clamp(1.5rem, 1.9vw, 2rem)/1.15 var(--serif); margin: 0 0 8px; }
.product-price { font-size: 1.0625rem; color: #3E3A35; margin: 0 0 20px; }
.rating-line { display: inline-flex; gap: 8px; font-size: .875rem; color: var(--muted); margin-bottom: 16px; }
.stars { color: var(--star); letter-spacing: .15em; }
.product-prose { font-size: .9375rem; line-height: 1.75; color: #4A4640; margin-bottom: 22px; }
.product-prose p { margin: 0 0 .7em; }
.stock { font-size: .875rem; display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.stock-out::before { background: var(--sale); }
.add-to-cart { margin: 0; }
.product-assure {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px;
  font-size: .75rem; letter-spacing: .04em; color: var(--muted); margin: 12px 0 26px;
}
.product-assure span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 18px 2px -11px; vertical-align: middle; }
.product-cat { margin: 22px 0 0; font-size: .875rem; }
.product-cat a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.product-cat a:hover { color: var(--ink); }
.stock-alert-form { margin: 0 0 24px; }
.stock-alert-form label { display: block; font-size: .9375rem; margin-bottom: 10px; }
.inline-field { display: flex; gap: 10px; }
.inline-field input { flex: 1; min-width: 0; }
.sku { font-size: .8125rem; color: var(--muted); margin-top: 12px; }

.accordion { border-bottom: 1px solid var(--line); }
.accordion details { border-top: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 4px; font: 500 .75rem var(--sans); letter-spacing: .12em; text-transform: uppercase;
}
.accordion summary:hover { color: var(--brand); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font: 300 1.25rem/1 var(--sans); color: var(--muted); }
.accordion details[open] summary::after { content: "−"; }
.accordion .rich-text { padding-bottom: 22px; font-size: .9375rem; color: #4A4640; }

.review-list { display: grid; gap: 0; }
.review { margin: 0; padding: 28px 0; border-top: 1px solid var(--line); }
.review p { font: italic 400 1.1875rem/1.55 var(--serif); margin: 10px 0 12px; }
.review footer { font-size: .8125rem; color: var(--muted); letter-spacing: .03em; }

/* ---------- Szöveges oldalak ---------- */
.rich-text { line-height: 1.75; }
.rich-text h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); margin: 1.6em 0 .6em; }
.rich-text h3 { font-size: 1.3125rem; margin: 1.6em 0 .5em; }
.rich-text h2:first-child, .rich-text h3:first-child { margin-top: 0; }
.rich-text a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.rich-text a:hover { color: var(--brand); }
.rich-text ul, .rich-text ol { padding-left: 1.2em; }
.rich-text img { border-radius: var(--radius); }
.rich-text table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9rem; }
.rich-text th, .rich-text td { text-align: left; padding: 9px 12px; border: 1px solid var(--line); vertical-align: top; }
.rich-text th { background: var(--gray); font-weight: 500; }
.page-body { font-size: 1.0625rem; color: #3A3733; }
.page-body .lead { font: 400 1.4375rem/1.55 var(--serif); color: var(--ink); margin-bottom: 1.4em; }
.note-info, .note-warn { padding: 14px 18px; margin: 14px 0; font-size: .9375rem; }
.note-info { background: var(--brand-tint); }
.note-warn { background: #F5E6E3; }
.legal-meta { color: var(--muted); font-size: .875rem; margin-bottom: 20px; }

/* ---------- Űrlapmezők (pénztár, értesítők) ---------- */
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=search]:not(#searchInput),
input[type=number], input[type=password], textarea, select.field {
  font: 400 1rem var(--sans); color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--field); border-radius: var(--radius); background: #fff;
}
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }

/* ---------- Kosár, pénztár ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cart-row {
  display: grid; grid-template-columns: 88px 1fr auto auto auto; gap: 18px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-row-img img { aspect-ratio: 4 / 5; object-fit: cover; background: var(--gray); width: 88px; }
.cart-row-info { display: flex; flex-direction: column; gap: 4px; }
.cart-row-info a { font: 400 1.0625rem var(--serif); }
.cart-unit { color: var(--muted); font-size: .875rem; }
.cart-remove { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px; }
.cart-remove:hover { color: var(--sale); }
.cart-actions { padding-top: 18px; }
.cart-summary { background: var(--gray); padding: 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.cart-summary h2, .cart-summary h3 { font-size: 1.5rem; }
.cart-summary dl { margin: 0 0 18px; }
.cart-summary dl > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: .9375rem; }
.cart-summary dt { color: var(--muted); }
.cart-summary dd { margin: 0; }
.cart-summary .total { border-top: 1px solid var(--ink); margin-top: 10px; padding-top: 14px; font-size: 1.125rem; }
.cart-summary dd.discount { color: var(--brand); }
.free-ship-note { color: var(--brand); font-size: .875rem; }
.summary-items { list-style: none; margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.summary-items li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .9375rem; }
.coupon-row { display: flex; gap: 8px; margin-bottom: 16px; }
.coupon-row input { flex: 1; min-width: 0; }
.coupon-applied { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px dashed var(--brand); padding: 10px 14px; font-size: .9rem; }
.coupon-remove { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--muted); }
.withdrawal-reason { margin: 14px 0; }

.checkout-form h3 { font-size: 1.5rem; margin: 32px 0 16px; }
.checkout-form h3:first-child { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span-2 { grid-column: span 2; }
.checkout-form label { display: flex; flex-direction: column; gap: 6px; font-size: .875rem; letter-spacing: .02em; }
.checkout-form .check-line { flex-direction: row; }
.pay-options { display: grid; gap: 10px; }
.pay-option {
  flex-direction: row !important; align-items: center; gap: 14px !important;
  border: 1px solid var(--line); padding: 16px 18px; cursor: pointer; font-size: .9375rem !important;
}
.pay-option:has(input:checked) { border-color: var(--ink); background: var(--gray); }
.pay-option input { accent-color: var(--brand); }
.pay-option span { display: flex; flex-direction: column; }
.pay-option small { color: var(--muted); }
.pay-note { color: var(--muted); font-size: .875rem; }
.secure-note { text-align: center; color: var(--muted); font-size: .8125rem; margin-top: 12px; }

#pickupBlock { margin: 14px 0 6px; }
/* a kiválasztott csomagpontos mód alá illesztve: a választó a mód kártyájának folytatása */
.ship-options #pickupBlock {
  margin: -11px 0 0; padding: 4px 18px 16px; border: 1px solid var(--ink); border-top: 0; background: var(--gray);
}
.ship-options #pickupBlock.is-in { animation: pickupIn .35s var(--ease, ease-out); }
@keyframes pickupIn { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .ship-options #pickupBlock.is-in { animation: none; } }
#pickupOpen { display: flex; align-items: center; justify-content: center; gap: 10px; }
#pickupOpen::before {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pickup-selected {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 1px solid var(--line); border-left: 3px solid var(--brand); background: #fff; padding: 12px 16px; margin-bottom: 0;
}
.pickup-selected small { display: block; color: var(--muted); }
.map-modal { position: fixed; inset: 0; z-index: 200; background: rgba(28, 27, 25, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.map-modal-box { background: var(--page-bg); width: min(980px, 100%); max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; }
.map-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 8px; }
.map-modal-head h3 { margin: 0; }
.map-tools { display: flex; gap: 16px; align-items: center; padding: 0 22px 10px; }
.map-tools #mapSearch { flex: 1; min-width: 0; margin: 0; }
.map-kinds { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 22px 12px; }
.map-kinds button {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font: 400 .8125rem var(--sans); color: var(--ink); background: #fff;
  border: 1px solid var(--line); padding: 5px 11px;
}
.map-kinds button[aria-pressed=true] { border-color: var(--ink); background: var(--gray); }
.map-kinds small { color: var(--muted); }
.map-list-item { display: grid !important; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: baseline; }
.map-list-logo { grid-row: span 2; align-self: center; width: 30px; height: 30px; object-fit: contain; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
/* térképjelölő: a szolgáltató logója fehér jelvényben, alul hegyes véggel */
.map-pin { background: none; border: 0; }
.map-pin-badge {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; background: #fff;
  box-shadow: 0 2px 8px rgba(28, 27, 25, .35); transition: transform .15s;
}
.map-pin-badge::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px;
  border: 6px solid transparent; border-bottom: 0; border-top-color: #fff;
}
.map-pin-badge img { width: 26px; height: 26px; object-fit: contain; border-radius: 5px; }
.map-pin:hover .map-pin-badge { transform: scale(1.12); }
.map-note { padding: 12px 16px; margin: 0; font-size: .8125rem; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--gray); }
.map-popup-select { min-height: 36px; padding: 0 16px; margin-top: 8px; }
.leaflet-popup-content { font-family: var(--sans); }
.pay-option.is-disabled { opacity: .45; cursor: not-allowed; }
.ship-options small b { font-weight: 500; color: var(--ink); }
.free-ship-note { margin: -4px 0 12px; }
.map-modal-body { display: grid; grid-template-columns: 1.5fr 1fr; min-height: 0; flex: 1; }
#mapCanvas { min-height: 460px; height: 100%; background: var(--gray); }
.map-list { overflow-y: auto; border-left: 1px solid var(--line); max-height: 60vh; }
.map-list-item { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; cursor: pointer; }
.map-list-item:hover { background: var(--gray); }
.map-list-item small { color: var(--muted); display: block; }
.map-note { padding: 12px 16px; margin: 0; font-size: .8125rem; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--gray); }
.map-popup-select { margin-top: 6px; }

.thank-you { text-align: center; max-width: 660px; }
.thank-badge { display: none; }
.transfer-box { text-align: left; border: 1px solid var(--ink); padding: 22px 26px; margin: 20px 0 28px; }
.transfer-box p { margin: 0 0 4px; font-size: .9375rem; }
.transfer-box .transfer-lead { font: 400 1.125rem/1.45 var(--serif); margin-bottom: 14px; }
.order-box { text-align: left; background: var(--gray); padding: 28px; margin: 28px 0; }
.order-box dl { margin: 0; }
.order-box dl > div { display: flex; justify-content: space-between; padding: 5px 0; }
.order-box dd { margin: 0; }
.order-box .total { border-top: 1px solid var(--ink); margin-top: 10px; padding-top: 12px; font-size: 1.125rem; }

.qty-input { display: inline-flex; align-items: stretch; border: 1px solid var(--field); }
.qty-input button { width: 40px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty-input input { width: 48px; border: 0 !important; text-align: center; padding: 8px 0 !important; box-shadow: none !important; -moz-appearance: textfield; appearance: textfield; }
.qty-input input::-webkit-inner-spin-button { display: none; }

/* értékelő oldal */
.review-item-card { border: 1px solid var(--line); padding: 24px; margin-bottom: 18px; }
.review-item-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-item-head img { width: 56px; height: 70px; object-fit: cover; background: var(--gray); }
.review-item-card label { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.review-item-card .ok { color: var(--brand); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 1.6rem; color: var(--line); cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--star); }
.pill-verified { font-size: .75rem; color: var(--brand); }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--footer-bg, var(--gray)); margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
  padding-top: clamp(56px, 7vw, 88px); padding-bottom: 48px;
}
.wordmark-footer { font-size: 1.4rem; display: inline-block; margin-bottom: 18px; }
/* képes logó (Kirakat → Logó és ikon) */
.wordmark.has-img { letter-spacing: 0; padding-left: 0; line-height: 0; }
.logo-img { display: block; height: var(--logo-h, 44px); width: auto; max-width: 60vw; transition: height .5s var(--ease); }
.wordmark-footer .logo-img { height: calc(var(--logo-h, 44px) * .8); }
.footer-brand p { color: #55504A; font-size: .9375rem; max-width: 34ch; }
.footer-social { list-style: none; display: flex; gap: 22px; margin: 22px 0 0; padding: 0; font-size: .875rem; }
.footer-social a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.footer-social a:hover { color: var(--brand); }
.footer-title { font: 500 .8125rem var(--sans); letter-spacing: .08em; color: var(--ink); margin: 0 0 16px; }
.footer-grid > div > a { display: block; font-size: .9063rem; color: #55504A; padding: 5px 0; }
.footer-grid > div > a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  /* a vonal a tartalom szélességéig érjen, ne a konténer paddingjéig */
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  padding-top: 22px; padding-bottom: 28px;
  font-size: .8125rem; color: var(--muted);
}

/* ---------- Kosárfiók ---------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(28, 27, 25, .4); opacity: 0; transition: opacity .3s; }
.drawer-overlay.open { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(440px, 94vw); background: var(--page-bg);
  transform: translateX(104%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); box-shadow: -20px 0 60px -30px rgba(28, 27, 25, .5); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.cart-drawer-head h2 { font-size: 1.625rem; margin: 0; }
.drawer-close { background: none; border: 0; cursor: pointer; padding: 6px; color: var(--ink); display: inline-flex; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 8px 26px 22px; display: flex; flex-direction: column; }
.drawer-empty { text-align: center; margin: auto 0; }
.drawer-empty p { font: 400 1.375rem var(--serif); margin-bottom: 24px; }
.drawer-free-note { background: var(--gray); padding: 12px 14px; font-size: .875rem; margin: 14px 0 6px; }
.drawer-free-note.done { color: var(--brand); }
.free-bar { height: 2px; background: var(--line); margin-top: 10px; }
.free-bar span { display: block; height: 100%; background: var(--brand); transition: width .3s; }
.drawer-items { list-style: none; margin: 0; padding: 0; flex: 1; }
.drawer-item { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); position: relative; }
.drawer-item-img img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--gray); }
.drawer-item-info a { font: 400 1.0625rem/1.3 var(--serif); }
.drawer-item-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 10px; font-size: .9375rem; }
.drawer-qty { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 2px 8px; }
.drawer-qty button { background: none; border: 0; cursor: pointer; padding: 2px 4px; }
.drawer-remove { grid-column: 2; justify-self: start; font-size: .8125rem; color: var(--muted); margin-top: 6px; }
.drawer-foot { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 10px; display: grid; gap: 10px; }
.drawer-total { display: flex; justify-content: space-between; font-size: 1.0625rem; margin-bottom: 6px; }

/* ---------- Cookie sáv ---------- */
.cookie-banner { position: fixed; z-index: 400; }
.cookie-bar { left: 0; right: 0; bottom: 0; }
.cookie-card { left: 20px; bottom: 20px; max-width: 420px; }
.cookie-modal { inset: 0; display: flex; align-items: center; justify-content: center; }
.cookie-backdrop { position: absolute; inset: 0; background: rgba(28, 27, 25, .5); }
.cookie-modal .cookie-box { position: relative; max-width: 520px; margin: 20px; }
.cookie-box { background: var(--page-bg); padding: 22px 26px; box-shadow: 0 -10px 40px -20px rgba(28, 27, 25, .4); border-top: 1px solid var(--line); }
.cookie-title { display: block; font: 400 1.25rem var(--serif); margin-bottom: 6px; }
.cookie-text { font-size: .875rem; color: #55504A; margin: 0 0 14px; }
.cookie-cats { display: grid; gap: 8px; margin-bottom: 14px; }
.cookie-cat { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-btn { font: 500 .8125rem var(--sans); letter-spacing: .06em; padding: 11px 18px; cursor: pointer; border: 1px solid var(--ink); background: #fff; color: var(--ink); border-radius: var(--btn-radius); }
.cookie-accept, .cookie-save { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Lightbox, toast ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(250, 248, 245, .97); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 90vh; object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 2; border: 0; cursor: pointer; background: none; color: var(--ink);
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.lb-close { top: 16px; right: 16px; font-size: 1.1rem; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: .8125rem; letter-spacing: .08em; color: var(--muted); }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(16px);
  background: var(--ink); color: #fff; padding: 14px 24px; font-size: .875rem; letter-spacing: .03em;
  z-index: 300; opacity: 0; transition: opacity .25s, transform .25s; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Reszponzív ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header-top, .is-scrolled .header-top { height: 64px; }
  .wordmark, .is-scrolled .wordmark { font-size: 1.3rem; }
  .header-top .logo-img { height: min(var(--logo-h, 44px), 38px); }
  .nav-toggle { display: inline-flex; margin-left: -10px; }
  .header-left .lang-switch { display: none; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, 64px); bottom: 0; z-index: 59;
    background: var(--page-bg); overflow-y: auto;
    display: flex; flex-direction: column; justify-content: space-between;
    transform: translateX(-100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s linear .4s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
  .nav-open { overflow: hidden; }
  .main-nav-inner { flex-direction: column; align-items: flex-start; gap: 0; padding: 12px var(--gutter); }
  .main-nav-inner a {
    font: 400 1.4375rem/1.25 var(--serif); letter-spacing: 0;
    width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .main-nav-inner a[aria-current] { color: var(--brand); border-bottom-color: var(--line); }
  .main-nav-foot { display: block; padding: 24px var(--gutter) 40px; }
  .lang-switch-mobile { display: flex; gap: 24px; }
  .lang-switch-mobile a { font-size: .9375rem; letter-spacing: .04em; padding: 6px 0; }

  .hero-media, .hero-media.is-diptych { grid-template-columns: 1fr; height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .hero-second { display: none; }
  .hero-media.is-diptych ~ .hero-caption { width: 100%; }
  .hero-caption { padding: 0 var(--gutter) 28px; }
  .hero-tab-label { display: none; }
  .hero-tab { padding: 10px 0; }
  .hero-tab-bar { margin-bottom: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* két hasáb; a hármas sor első kártyája és a look-csempe teljes szélességű (product_rows() jelöli: .m-full) */
  .pgrid { row-gap: 28px; }
  .pgrid-row, .pgrid-row.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .product-card.m-full { grid-column: span 2; }
  .look-tile, .look-tile.is-single { grid-column: span 2; aspect-ratio: 4 / 5; min-height: 0; }
  .look-modal-inner { display: block; height: 100dvh; overflow-y: auto; }
  .look-modal .look-figure { height: auto; }
  .look-modal .look-figure > img, .look-modal .look-figure > video { width: 100%; height: auto; max-height: 78dvh; }
  .look-modal-panel { overflow: visible; }
  .look-modal-head { padding: 24px var(--gutter) 4px; }
  .look-modal-items { grid-template-columns: 1fr 1fr; gap: 28px 10px; padding: 16px 12px 24px; }
  .look-modal-items.is-single { grid-template-columns: minmax(0, 1fr); padding-inline: var(--gutter); }
  .lm-name { font-size: 1.0625rem; }
  .lm-price { font-size: .875rem; }
  .look-modal-foot { flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px var(--gutter) calc(10px + env(safe-area-inset-bottom)); }
  .look-modal-foot .look-all { flex-basis: 100%; }
  .look-modal-more { font-size: .8125rem; }
  .look-modal-close { position: fixed; top: 12px; left: 50%; width: 46px; height: 46px; margin-left: -23px; background: rgba(248, 246, 240, .94); }
  .look-layout, .look-layout-page, .editorial-layout, .product-layout, .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .look-layout-page .look-figure { position: relative; top: 0; }
  .editorial-right .editorial-media { order: 0; }
  .editorial-text { max-width: none; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-grid > :last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 16 / 10; }
  .looks-grid > * { flex-basis: calc((100% - var(--g)) / 2); }
  .gallery-track {
    display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .gallery-track::-webkit-scrollbar { display: none; }
  .gallery-item, .gallery-item.is-full { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .gallery-dots { display: flex; justify-content: center; gap: 6px; padding: 14px 0 0; }
  .gallery-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--line); transition: background .3s; }
  .gallery-dots span.is-active { background: var(--ink); }
  .product-info, .cart-summary { position: static; }
  .product-info-inner { max-width: none; padding: 24px var(--gutter) 8px; }
  /* telefonon a választó teljes képernyős: fent a térkép, alatta görgethető lista */
  .map-modal { padding: 0; align-items: stretch; }
  .map-modal-box { width: 100%; max-height: none; height: 100dvh; }
  .map-modal-head { padding: calc(12px + env(safe-area-inset-top)) var(--gutter) 6px; }
  .map-modal-head h3 { font-size: 1.25rem; }
  .map-tools { padding: 0 var(--gutter) 8px; gap: 12px; }
  .map-kinds { padding: 0 var(--gutter) 8px; flex-wrap: nowrap; overflow-x: auto; }
  .map-kinds button { flex: none; }
  .map-modal-body { grid-template-columns: 1fr; grid-template-rows: 42dvh minmax(0, 1fr); }
  #mapCanvas { min-height: 0; height: 100%; }
  .map-list { max-height: none; border-left: 0; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
}
@media (max-width: 600px) {
  .product-grid { gap: 32px 12px; }
  .product-card-name { font-size: .9375rem; }
  .price { font-size: .875rem; }
  .card-tag { top: 8px; left: 8px; font-size: .6875rem; padding: 4px 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .catalog-tools { gap: 18px; }
  .look-item { grid-template-columns: 64px minmax(0, 1fr); }
  .look-item .look-add, .look-item .look-item-oos { grid-column: 2; justify-self: start; }
  .look-pin-card { min-width: 140px; padding: 10px 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .cart-row { grid-template-columns: 72px 1fr auto; }
  .cart-row .qty-input { grid-column: 2; justify-self: start; }
  .cart-row-total { grid-column: 3; }
  .cookie-card { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .rich-text table { display: block; overflow-x: auto; }
  .inline-field { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ================= Főoldal: teljes képernyős hero, szélig érő képek, hajszálvékony fehér választóvonalak ================= */
.is-home { --edge: 0px; --tile-gap: 3px; }
.is-home .hero-media { height: calc(100svh - var(--hero-top, 166px)); min-height: 480px; max-height: none; }
.is-home .hero-caption { padding-bottom: clamp(64px, 7vw, 104px); }
/* a dia-fülek csak vékony fehér csíkként, a képen */
.is-home .hero-tabs {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; max-width: none;
  padding: 0 clamp(24px, 5vw, 72px) clamp(26px, 3vw, 40px); gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(0, 64px)); justify-content: start;
}
.is-home .hero-tab { padding: 8px 0; }
.is-home .hero-tab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.is-home .hero-tab-bar { margin: 0; background: rgba(255, 255, 255, .38); }
.is-home .hero-tab-bar::after { background: #fff; }
.is-home .hero + .categories { margin-top: var(--tile-gap); }
.is-home .categories + .section { padding-top: clamp(48px, 5vw, 80px); }
.is-home .pgrid, .is-home .pgrid-row { row-gap: 20px; }
.is-home .product-card-body { padding-left: 12px; padding-right: 12px; }
.is-home .section-foot { padding: 0 var(--gutter); }
@media (max-width: 900px) {
  .is-home .hero-media { height: calc(100svh - var(--hero-top, 104px)); min-height: 420px; aspect-ratio: auto; }
  .is-home .hero-tabs { padding: 0 var(--gutter) 20px; grid-template-columns: repeat(auto-fit, minmax(0, 44px)); }
  .is-home .hero-caption { padding-bottom: 56px; }
  .is-home .pgrid-row, .is-home .pgrid-row.is-3 { row-gap: 20px; }
}

/* ================= Videók a képek helyén (media_tag(), app/video.php) ================= */
.hero-media video, .gallery-item video, .editorial-media video, .look-card-media video {
  display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover;
}
.product-card-media video, .category-tile video, .look-tile video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.look-tile video { transition: transform 1.4s var(--ease); }
@media (hover: hover) { .look-tile:hover video { transform: scale(1.025); } .category-tile:hover video { transform: scale(1.03); } }
.category-tile video { transition: transform 1.2s var(--ease); }
.look-figure > video { display: block; width: 100%; height: auto; }
.lightbox video { max-width: min(92vw, 1200px); max-height: 90vh; object-fit: contain; background: transparent; }

.vat-note { font-size: .75rem; color: var(--muted); margin: 10px 0 14px; line-height: 1.5; }
.pay-option .pay-off-note { color: var(--sale, #8C2F2A); }

.order-duty-note { text-align: center; font-size: .75rem; color: var(--muted); margin: 6px 0 0; }

/* a kézi csomagpont-mező csak akkor látszik, ha a pénztár szkriptje nem indult el */
.pickup-fallback { margin: 12px 0; }
.checkout-js-ok .pickup-fallback { display: none; }

/* Telefon: a hosszú linkek (pl. a jogi oldalakon) ne tolják szélesebbre az oldalt; a mezők 16 px-esek, hogy iOS ne nagyítson rá */
.rich-text a, .page-body a { overflow-wrap: anywhere; }
.checkout-form, .cart-summary { min-width: 0; }
@media (max-width: 900px) {
  input, select, textarea { font-size: 16px; }
  #sortSelect { font-size: 16px; }
}

.empty-cart { text-align: center; padding: 24px 0 8px; }
.empty-cart .empty-note { margin-bottom: 20px; }
@media (max-width: 900px) {
  /* Shop the look ablak telefonon: egytermékes looknál se nyomja ki a kép a nevet és a gombot */
  .look-modal-items.is-single { grid-template-columns: minmax(0, 72%); justify-content: center; }
}
