/* „atelier” téma – galériaszerű, íves képkeretek, TAN Pearl címek, vékony vonalak, beúszó animációk. */
/* TAN Pearl: a logó betűje – címekhez és nagy kiemelésekhez. A webes használathoz webfont-licenc kell. */
@font-face { font-family: 'TAN Pearl'; src: url('fonts/tan-pearl.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
/* Outfit (SIL OFL, fonts/OFL-outfit.txt) – folyószöveg; saját szerverről, így nem kell Google Fonts */
@font-face { font-family: 'Outfit'; src: url('fonts/outfit.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #f3efea;
  --paper: #faf7f3;
  --ink: #2a2420;
  --soft: #6f665e;
  --line: #a59c93;
  --hair: #d9d1c7;
  --ph: #e4dcd2;
  --danger: #9b3b2b;
  --wrap: 1112px;
  --gutter: 20px;
  --serif: 'TAN Pearl', 'Didot', Georgia, serif;
  --sans: 'Outfit', 'Helvetica Neue', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hd-h: 112px;    /* fejléc magassága – görgetéskor összehúzódik */
  --logo-h: 76px;
}
html.is-scrolled { --hd-h: 74px; --logo-h: 48px; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 15px/1.85 var(--sans); letter-spacing: .01em; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
[hidden] { display: none !important; }
main { overflow-x: clip; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--soft); }
.small { font-size: 13px; line-height: 1.7; }
.empty { text-align: center; color: var(--soft); padding: 60px 0; }

.h-serif { font-family: var(--serif); font-weight: 400; letter-spacing: .005em; line-height: 1.22; font-size: clamp(28px, 3.2vw, 42px); }
/* kisebb, sans serif alcímek, címkék (csak a nagy címek TAN Pearl betűsek) */
.label { font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; line-height: 1.6; }
.page-h { font-size: clamp(36px, 4.6vw, 58px); margin: 56px 0 36px; }

/* íves képkeretek */
.arch-bl, .arch-tr, .arch-tl { overflow: hidden; }
.arch-bl { border-bottom-left-radius: var(--r, 170px); }
.arch-tr { border-top-right-radius: var(--r, 170px); }
.arch-tl { border-top-left-radius: var(--r, 170px); }
.ph { display: block; background: var(--ph); }

/* keretes nyíl-gomb */
.obtn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-width: 172px; height: 44px; padding: 0 22px;
  border: 1px solid var(--ink); border-radius: 999px; background: transparent; cursor: pointer; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400;
  transition: background .25s, color .25s;
}
.obtn .arr { flex: 0 0 auto; transition: transform .25s; }
.obtn:hover { background: var(--ink); color: var(--paper); }
.obtn:hover .arr { transform: translateX(4px); }
.obtn-fill { background: var(--ink); color: var(--paper); }
.obtn-fill:hover { background: transparent; color: var(--ink); }
.obtn:disabled { opacity: .45; cursor: not-allowed; }
.obtn-block { width: 100%; }

/* fejléc */
.hd { position: sticky; top: 0; z-index: 30; background: var(--bg); }
.hd-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--hd-h); border-bottom: 1px solid var(--line); transition: height .45s var(--ease); }
.hd-left { display: flex; align-items: center; }
.hd-nav { display: flex; gap: 46px; font-size: 13px; letter-spacing: .04em; }
.hd-nav a { position: relative; }
.hd-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: currentColor; transition: right .3s; }
.hd-nav a:hover::after, .hd-nav a[aria-current]::after { right: 0; }
.logo { display: block; color: var(--ink); line-height: 0; }
.logo svg { display: block; height: var(--logo-h); width: auto; aspect-ratio: 268.7 / 252.1; transition: height .45s var(--ease); }
.hd-right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.hd-right .hd-nav { margin-right: 18px; }
.hd-icon { display: grid; place-items: center; position: relative; }
.hd-count { position: absolute; top: -7px; right: -10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 10px; line-height: 16px; text-align: center; }
.burger { display: none; width: 34px; height: 24px; position: relative; background: none; border: 0; cursor: pointer; padding: 0; }
.burger span { position: absolute; left: 0; right: 0; height: 1px; background: var(--ink); transition: transform .3s, top .3s; }
.burger span:first-child { top: 8px; }
.burger span:last-child { top: 16px; left: 8px; }
.burger[aria-expanded="true"] span:first-child { top: 12px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 12px; left: 0; transform: rotate(-45deg); }
.mmenu { position: fixed; inset: var(--hd-h) 0 0; z-index: 29; background: var(--bg); padding: 40px var(--gutter); overflow-y: auto; animation: fade .3s; }
.mmenu nav { display: grid; gap: 14px; }
.mmenu a { font-family: var(--serif); font-size: 34px; line-height: 1.25; animation: rise .6s var(--ease) both; }
.mmenu a:nth-child(2) { animation-delay: .05s; } .mmenu a:nth-child(3) { animation-delay: .1s; }
.mmenu a:nth-child(4) { animation-delay: .15s; } .mmenu a:nth-child(5) { animation-delay: .2s; } .mmenu a:nth-child(6) { animation-delay: .25s; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* kezdőlap – nyitókép */
.hero { padding: 64px 0 90px; }
.hero-stage { position: relative; display: grid; grid-template-columns: 15.1% 33.6% 2.8% 31.4% 1fr; grid-template-rows: auto auto; }
.orbit { position: absolute; left: 7%; top: 2%; width: 82%; height: 96%; color: var(--line); z-index: 0; overflow: visible; }
.orbit-2 { opacity: .55; }
.hero-title { grid-column: 2 / 4; grid-row: 1; align-self: end; position: relative; z-index: 2; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.3; padding: 0 12px 20px 0; }
.hero figure { margin: 0; position: relative; z-index: 1; }
.hero-l { grid-column: 2; grid-row: 2; }
.hero-l img, .hero-l .ph { width: 100%; aspect-ratio: 374 / 536; object-fit: cover; }
.hero-quote { align-self: stretch; margin-top: 22px; text-align: center; font-size: 15px; font-weight: 300; letter-spacing: .06em; line-height: 1.6; color: var(--soft); }
.hero-quote::before { content: ''; display: block; width: 28px; height: 1px; margin: 0 auto 14px; background: var(--line); }
.hero-r { grid-column: 4; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; }
.hero-r img, .hero-r .ph { width: 100%; aspect-ratio: 349 / 534; object-fit: cover; }
.hero-r .obtn { margin-top: 28px; }

/* kezdőlap – bemutatkozás */
.about { display: grid; grid-template-columns: 40% 11.5% 31.4% 2.6% 14.5%; padding: 70px 0 110px; align-items: start; }
.about-txt { grid-column: 1; padding-top: 52px; font-size: 14px; }
.about-txt .h-serif { margin-bottom: 30px; }
.about-txt .lead { font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; line-height: 1.8; padding-left: 18px; border-left: 1px solid var(--line); margin-bottom: 1.6em; }
.about-txt .obtn { margin-top: 14px; }
.about-img { grid-column: 3 / 6; display: grid; grid-template-columns: 31.4fr 2.6fr 14.5fr; align-items: start; }
.about-big { grid-column: 1; width: 100%; aspect-ratio: 349 / 432; object-fit: cover; --r: 150px; }
.about-small { grid-column: 3; width: 100%; aspect-ratio: 162 / 209; object-fit: cover; --r: 90px; }

/* kezdőlap – shop */
.shop-home { padding: 40px 0 60px; }
.shop-home > .h-serif { margin-bottom: 36px; }
/* kategória-kollázs: aszimmetrikus, eltolt méretek és magasságok, 6-os mintában ismétlődik */
.cc-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 70px 4%; }
.cc { display: block; position: relative; }
.cc-img { display: block; overflow: hidden; background: var(--ph); }
.cc-img img { width: 100%; height: 100%; object-fit: cover; }
.cc-txt { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.cc-name { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.2; letter-spacing: .005em; position: relative; }
.cc-name::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: currentColor; transition: right .45s var(--ease); }
.cc:hover .cc-name::after { right: 0; }
.cc-count { font-size: 12px; color: var(--soft); white-space: nowrap; }
.cc-0 { width: 41%; } .cc-0 .cc-img { aspect-ratio: 4 / 5; --r: 200px; }
.cc-1 { width: 24%; margin-top: 150px; } .cc-1 .cc-img { aspect-ratio: 3 / 4; --r: 110px; }
.cc-2 { width: 27%; margin-top: 40px; } .cc-2 .cc-img { aspect-ratio: 1; --r: 120px; }
.cc-3 { width: 28%; } .cc-3 .cc-img { aspect-ratio: 3 / 4; --r: 120px; }
.cc-4 { width: 37%; margin-top: 90px; } .cc-4 .cc-img { aspect-ratio: 4 / 5; --r: 180px; }
.cc-5 { width: 27%; margin-top: 20px; } .cc-5 .cc-img { aspect-ratio: 1; --r: 110px; }
.shop-home .cc-grid + .end { margin-top: 56px; }
.cat-line { display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 54px 0 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.cat-line a { padding-bottom: 3px; border-bottom: 1px solid transparent; }
.cat-line a:hover, .cat-line a[aria-current] { border-bottom-color: var(--ink); }
.shop-home .grid4 { margin-top: 64px; }
.end { display: flex; justify-content: flex-end; margin-top: 50px; }
.end.center { justify-content: center; }

/* termékkártya */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 54px 26px; }
.pc { display: block; }
.pc-img { display: block; position: relative; aspect-ratio: 4 / 5; background: var(--ph); --r: 96px; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.pc-alt { position: absolute; inset: 0; opacity: 0; }
.pc:hover .pc-alt { opacity: 1; }
.pc-badge { position: absolute; left: 0; bottom: 0; background: var(--bg); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 10px; }
.pc-name { display: block; margin-top: 16px; font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.25; letter-spacing: .005em; }
.pc-price { display: block; font-size: 13px; color: var(--soft); margin-top: 4px; }
del { opacity: .55; }
ins { text-decoration: none; color: var(--danger); }

/* parallax helyett íves sáv, GYIK */
.band { padding: 60px 0; }
/* a kép a keretnél magasabb, és görgetéskor lassabban mozog benne (parallax – theme.js) */
.band-frame { position: relative; overflow: hidden; aspect-ratio: 1112 / 420; --r: 260px; background: var(--ph); }
.band-frame img { position: absolute; left: 0; top: -16%; width: 100%; height: 132%; object-fit: cover; will-change: transform; }
.faq { display: grid; grid-template-columns: 40% 1fr; gap: 40px; padding: 70px 0 110px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 15px; font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-size: 22px; line-height: 1; font-weight: 200; transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: '–'; }
.faq-a { padding: 0 0 22px; font-size: 14px; color: var(--soft); }
.faq-a h4 { color: var(--ink); font-weight: 500; margin: 1.2em 0 .3em; }
.faq-a ul { padding-left: 18px; }

/* shop oldal */
.filters { display: grid; gap: 10px; margin-bottom: 44px; }
.filters .cat-line { margin: 0; }
.cat-sub { color: var(--soft); }
.tools { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: flex-end; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hair); }
.tools .uline { min-width: 200px; }
.count { margin-left: auto; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }

/* aláhúzott mezők */
.uline { display: grid; gap: 2px; }
.uline > span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.uline input, .uline select, .uline textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 0; font-size: 15px; border-radius: 0; outline: none; }
.uline textarea { resize: vertical; }
.uline input:focus, .uline select:focus, .uline textarea:focus { border-bottom-color: var(--ink); }
.uline select { appearance: none; cursor: pointer; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 6px center / 5px 5px no-repeat, linear-gradient(-45deg, transparent 50%, var(--ink) 50%) right 2px center / 5px 5px no-repeat; padding-right: 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: var(--soft); }
.check input { margin-top: 3px; accent-color: var(--ink); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form { display: grid; gap: 22px; }
.form .obtn { justify-self: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-error { color: var(--danger); margin: 10px 0 0; font-size: 14px; }
.form-success { font-size: 17px; font-weight: 400; }

/* termékoldal */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 70px; padding: 56px 0 80px; align-items: start; }
.g-main { --r: 220px; background: var(--ph); }
.g-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; }
.g-thumbs button { flex: 0 0 76px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .55; transition: opacity .2s; }
.g-thumbs button[aria-current], .g-thumbs button:hover { opacity: 1; }
.g-thumbs img { aspect-ratio: 4 / 5; object-fit: cover; }
/* lapozó nyilak a képen – félig áttetsző, üveges körök; a „következő” mindig halványan látszik */
.g-main { position: relative; }
.g-main img { transition: opacity .25s ease; }
.g-main img.is-swapping { opacity: 0; }
.g-nav {
  position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center;
  border: 0; border-radius: 50%; padding: 0; cursor: pointer; color: var(--ink);
  background: rgba(250, 247, 243, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity .35s var(--ease), background .3s, transform .35s var(--ease);
}
.g-next { right: 16px; opacity: .75; }
.g-prev { left: 16px; opacity: 0; }
.g-main:hover .g-nav, .g-nav:focus-visible { opacity: 1; }
.g-nav:hover { background: rgba(250, 247, 243, .85); }
.g-next:hover { transform: translateX(3px); }
.g-prev:hover { transform: translateX(-3px); }
.g-count { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 3px 11px; border-radius: 999px; font-size: 11px; letter-spacing: .16em; background: rgba(250, 247, 243, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (hover: none) { .g-prev { opacity: .75; } }

/* saját lenyíló lista (theme.js) – a natív select rejtve marad */
.dd { position: relative; }
.uline { position: relative; }
.uline select.dd-native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.dd-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font-size: 15px; font-weight: 300; text-align: left; cursor: pointer; transition: border-color .25s; }
.dd-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-btn svg { flex: none; transition: transform .35s var(--ease); }
.dd-btn:hover, .dd.open .dd-btn { border-bottom-color: var(--ink); }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-list {
  position: absolute; left: 0; top: calc(100% + 10px); z-index: 25; min-width: 100%; width: max-content; max-width: min(320px, 86vw);
  max-height: 320px; overflow-y: auto; scrollbar-width: thin; margin: 0; padding: 8px; list-style: none;
  background: var(--paper); border: 1px solid var(--hair); border-radius: 20px; box-shadow: 0 22px 44px -22px rgba(42, 36, 32, .28);
  animation: dd-in .28s var(--ease);
}
.dd-list:focus { outline: none; }
.dd-list li { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 9px 14px; border-radius: 14px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.dd-list li.is-active { background: var(--bg); }
.dd-list li[aria-selected="true"] { font-weight: 400; }
.dd-list li[aria-selected="true"]::after { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
@keyframes dd-in { from { opacity: 0; transform: translateY(-6px); } }
.p-info { position: sticky; top: calc(var(--hd-h) + 30px); padding-top: 20px; }
.crumbs { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.p-info .h-serif { font-size: clamp(34px, 3.8vw, 52px); margin: 14px 0 12px; }
.p-price { font-size: 18px; margin-bottom: 18px; }
.p-short { color: var(--soft); font-size: 14px; line-height: 1.8; }
.add-form { display: grid; gap: 22px; margin: 28px 0 36px; padding: 26px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.opts { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.opts legend { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; padding: 0; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span { display: grid; place-items: center; min-width: 40px; height: 34px; padding: 0 10px; border: 1px solid var(--hair); font-size: 13px; cursor: pointer; transition: border-color .2s, background .2s; }
.opts label:hover span { border-color: var(--ink); }
.opts input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.opts input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 2px; }
/* készlet: a készleten lévő méret mellett apró pont, a választó alatt szöveges tájékoztató */
.opts label.is-ready span { position: relative; }
.opts label.is-ready span::after { content: ''; position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: #7d8f6a; }
.opts input:checked + span::after { background: var(--paper); }
.opts-hint { font-size: 11px; letter-spacing: .04em; text-transform: none; color: var(--soft); }
.ready-info { display: flex; align-items: center; gap: 10px; margin: -4px 0 0; font-size: 13px; letter-spacing: .02em; color: var(--soft); }
.ready-info::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.ready-info[data-state="ready"] { color: var(--ink); }
.ready-info[data-state="ready"]::before { background: #7d8f6a; }
.ready-info[data-state="made"]::before { background: #b9a07e; }
.ready-tag { display: block; color: var(--soft); font-size: 12px; }
.ready-tag[data-state="ready"] { color: #5f7050; }
.buy { display: flex; gap: 14px; flex-wrap: wrap; }
.buy .obtn { flex: 1; min-width: 200px; height: 46px; }
.add-form:invalid .obtn-fill { opacity: .7; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); height: 46px; }
.qty button { width: 38px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty input { width: 40px; border: 0; background: none; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.p-desc { font-size: 14px; }
.meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-top: 24px; }
.meta a:hover { color: var(--ink); }
.p-blocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; padding: 40px 0 0; border-top: 1px solid var(--line); }
.p-blocks h3 { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.p-blocks p { font-size: 13px; line-height: 1.8; color: var(--soft); }
.care summary { cursor: pointer; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.care { font-size: 13px; color: var(--soft); }
.related { padding: 110px 0 60px; }
.related .h-serif { margin-bottom: 40px; }

/* tartalmi oldalak */
.prose { max-width: 760px; padding-bottom: 100px; font-size: 15px; }
.prose h2, .prose h3 { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin: 2.4em 0 .8em; line-height: 1.6; }
.prose h4 { font-weight: 500; margin: 1.6em 0 .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 13px; }
.prose td, .prose th { border: 1px solid var(--hair); padding: 6px 8px; }
.story { padding-bottom: 110px; }
.st-row { display: grid; grid-template-columns: 40% 11.5% 48.5%; align-items: center; margin-bottom: 90px; }
.st-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; --r: 160px; }
.st-left img { grid-column: 1; grid-row: 1; }
.st-left .st-txt { grid-column: 3; grid-row: 1; max-width: 440px; }
.st-right { grid-template-columns: 48.5% 11.5% 40%; }
.st-right img { grid-column: 3; grid-row: 1; }
.st-right .st-txt { grid-column: 1; grid-row: 1; }
.st-text .st-txt { grid-column: 1 / 3; max-width: 560px; }
.st-txt { font-size: 14px; }
.st-txt .h-serif { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 22px; }

/* kapcsolat */
.contact { display: grid; grid-template-columns: 40% 11.5% 48.5%; padding: 64px 0 110px; align-items: start; }
.c-img { grid-column: 1; position: relative; }
.c-img img { width: 100%; aspect-ratio: 4 / 5.4; object-fit: cover; position: relative; z-index: 1; --r: 200px; }
.orbit-c { left: -10%; top: 30%; width: 130%; height: 40%; }
.c-body { grid-column: 3; padding-top: 30px; }
.c-body .h-serif { font-size: clamp(32px, 4vw, 48px); margin-bottom: 28px; }
.c-social { display: flex; gap: 26px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 38px; }
.c-body a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* kosár, pénztár, rendelés */
.steps { display: flex; gap: 0; list-style: none; padding: 0; margin: -18px 0 46px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); counter-reset: s; }
.steps li { counter-increment: s; display: flex; align-items: center; }
.steps li::before { content: '0' counter(s) ' '; margin-right: 8px; }
.steps li + li::before { content: '0' counter(s); margin-left: 0; }
.steps li + li { padding-left: 46px; position: relative; }
.steps li + li::after { content: ''; position: absolute; left: 10px; top: 50%; width: 26px; height: 1px; background: var(--line); }
.steps [aria-current] { color: var(--ink); font-weight: 500; }
.cart, .checkout-wrap, .order { padding-bottom: 110px; }
.cart-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.cart-table td { padding: 20px 10px; border-bottom: 1px solid var(--hair); vertical-align: middle; font-size: 14px; }
.cart-table td:first-child { padding-left: 0; width: 96px; }
.cart-table img { width: 86px; aspect-ratio: 4 / 5; object-fit: cover; border-top-right-radius: 34px; }
.cart-table a { font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.25; }
.cart-table small { display: block; color: var(--soft); font-size: 12px; }
.cart-table .warn { color: var(--danger); }
.cart-table .qty-in { width: 58px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: center; padding: 6px 0; }
.cart-table .r { text-align: right; white-space: nowrap; }
.remove { background: none; border: 0; cursor: pointer; font-size: 22px; font-weight: 200; color: var(--soft); }
.cart-foot { display: flex; justify-content: flex-end; align-items: center; gap: 34px; flex-wrap: wrap; margin-top: 34px; }
.cart-foot .sum { font-size: 19px; font-weight: 400; }
.cart-foot .btn { display: inline-flex; align-items: center; height: 46px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.empty-box { text-align: center; padding: 70px 0 110px; }
.empty-box .h-serif { font-size: 26px; margin-bottom: 30px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 70px; align-items: start; }
/* Foxpost automata-kereső (shop.js) */
.apm-list { list-style: none; margin: -12px 0 0; padding: 8px; max-height: 300px; overflow-y: auto; background: var(--paper); border: 1px solid var(--hair); border-radius: 20px; box-shadow: 0 22px 44px -22px rgba(42, 36, 32, .28); animation: dd-in .25s var(--ease); }
.apm-list li { display: grid; gap: 1px; padding: 9px 14px; border-radius: 14px; cursor: pointer; font-size: 14px; line-height: 1.45; }
.apm-list li b { font-weight: 400; }
.apm-list li small { color: var(--soft); font-size: 12px; }
.apm-list li:hover, .apm-list li.is-active { background: var(--bg); }
.apm-list .apm-empty { cursor: default; color: var(--soft); }
.apm-chosen { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 16px 20px; background: var(--paper); border-radius: 0 40px 0 0; font-size: 14px; line-height: 1.5; }
.apm-chosen b { font-weight: 400; }
.apm-chosen small { color: var(--soft); font-size: 12px; }
.apm-findme { display: inline-block; margin-top: 4px; }
.apm-change { flex: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.checkout .label { margin: 8px 0 -6px; color: var(--soft); }
.checkout .h-serif { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1.6; margin-top: 18px; }
.choice { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--hair); cursor: pointer; }
.choice input { margin-top: 6px; accent-color: var(--ink); }
.choice span { flex: 1; display: grid; }
.choice b { font-weight: 400; }
.choice small { color: var(--soft); font-size: 12px; line-height: 1.6; }
.choice em { font-style: normal; white-space: nowrap; }
.summary { position: sticky; top: calc(var(--hd-h) + 30px); display: grid; gap: 18px; padding: 30px; background: var(--paper); border-top-right-radius: 90px; }
.summary .h-serif { margin: 0; }
.lines { width: 100%; border-collapse: collapse; font-size: 14px; }
.lines td { padding: 10px 2px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.lines small { display: block; color: var(--soft); font-size: 12px; }
.lines .r { text-align: right; white-space: nowrap; }
.lines .total td { border-bottom: 0; font-size: 17px; font-weight: 500; padding-top: 14px; }
.order-box { max-width: 640px; }
.order-box .lines { margin: 30px 0 40px; }
.note { padding: 14px 18px; background: var(--paper); border-left: 1px solid var(--ink); font-size: 14px; }

/* hírlevél, lábléc */
.ft { border-top: 1px solid var(--line); margin-top: 20px; }
.news { display: grid; grid-template-columns: 40% 1fr; gap: 0 40px; padding: 80px 0 70px; }
.news .h-serif { grid-row: 1 / 3; }
.news > p { color: var(--soft); font-size: 14px; }
.news-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px 26px; align-items: end; }
.news-form .check { grid-column: 1 / -1; }
.ft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 50px 0; border-top: 1px solid var(--hair); }
.ft-grid h3 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); font-weight: 400; margin-bottom: 14px; }
.ft-grid a { display: block; font-size: 14px; line-height: 2.1; width: fit-content; }
.ft-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0 34px; border-top: 1px solid var(--hair); font-size: 12px; color: var(--soft); flex-wrap: wrap; }
.ft-bottom p { margin: 0; }
.ft-bottom .logo svg { height: 58px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 160%); visibility: hidden;
  transition: transform .35s, visibility 0s .35s; display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper); padding: 14px 22px; font-size: 13px; width: max-content; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .35s; }
.toast a { text-decoration: underline; text-underline-offset: 3px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- beúszó animációk ----------
   A theme.js az itt felsorolt elemeket figyeli (REVEAL_UP / REVEAL_IMG – a két listát együtt kell módosítani),
   és amikor a képernyőre érnek, megkapják az .is-in osztályt. JS nélkül (nincs .js osztály) minden azonnal látszik. */
@media (prefers-reduced-motion: no-preference) {
  /* szöveg, címek: felúszik */
  .js :is(.page-h, .hero-title, .hero-quote, .hero-r .obtn, .about-txt > *, .shop-home > .h-serif, .cat-line, .grid4 > .pc, .cc-grid > .cc, .band, .faq > *, .st-txt, .prose > :not(h1), .p-info, .c-body, .news > *, .ft-grid > div, .related > .h-serif, .p-blocks > div, .empty-box) {
    transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms);
  }
  .js :is(.page-h, .hero-title, .hero-quote, .hero-r .obtn, .about-txt > *, .shop-home > .h-serif, .cat-line, .grid4 > .pc, .cc-grid > .cc, .band, .faq > *, .st-txt, .prose > :not(h1), .p-info, .c-body, .news > *, .ft-grid > div, .related > .h-serif, .p-blocks > div, .empty-box):not(.is-in) {
    opacity: 0; transform: translateY(32px);
  }
  /* képek: a keretet figyeljük, a benne lévő kép alulról becsúszik egy „függöny” mögül
     (a figyelt elemre nem tehető clip-path, mert akkor a böngésző láthatatlannak tekinti) */
  .js :is(.hero-l, .hero-r, .about-img, .st-row, .c-img) :is(img, .ph), .js .gallery :is(.g-main, .g-thumbs) {
    transition: opacity .8s var(--ease), transform 1.2s var(--ease), clip-path 1.3s var(--ease), filter .6s; transition-delay: var(--d, 0ms);
  }
  .js :is(.hero-l, .hero-r, .about-img, .st-row, .c-img):not(.is-in) :is(img, .ph), .js .gallery:not(.is-in) :is(.g-main, .g-thumbs) {
    opacity: 0; transform: translateY(70px); clip-path: inset(0 0 100% 0);
  }
  .js :is(.hero-l, .hero-r, .about-img, .st-row, .c-img).is-in :is(img, .ph), .js .gallery.is-in :is(.g-main, .g-thumbs) { clip-path: inset(0 0 0 0); }
  .js .gallery .g-thumbs { transition-delay: calc(var(--d, 0ms) + 250ms); }
  .js .about-img .about-small, .js .hero-r :is(img, .ph) { transition-delay: calc(var(--d, 0ms) + 220ms); }
  /* termék- és kategóriakártya: a kép az íves keretben finoman a helyére zsugorodik */
  .js :is(.pc .pc-img img:first-child, .cc .cc-img img) { transition: transform 1.8s var(--ease), opacity .6s; transition-delay: var(--d, 0ms); }
  .js .pc:not(.is-in) .pc-img img:first-child, .js .cc:not(.is-in) .cc-img img { transform: scale(1.16); }
  /* a nyitókép két íve betöltéskor megrajzolódik */
  .js .orbit ellipse { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: draw 2.8s var(--ease) .5s forwards; }
  .js .orbit .orbit-2 { animation-delay: .85s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
/* a termék- és kategóriakép hoverre kissé közelít (az íves keret levágja) */
.pc-img { overflow: hidden; }
.pc-img img:first-child, .cc-img img { transition: transform 1.2s var(--ease), opacity .6s; }
.pc:hover .pc-img img:first-child, .cc:hover .cc-img img { transform: scale(1.04); }

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-nav { gap: 26px; }
  .hd-right .hd-nav { margin-right: 4px; }
  .product, .checkout { gap: 40px; }
  .news { grid-template-columns: 1fr; }
  .news .h-serif { grid-row: auto; margin-bottom: 14px; }
}

/* ---------- mobil ---------- */
@media (max-width: 760px) {
  :root { --gutter: 18px; --hd-h: 84px; --logo-h: 62px; }
  html.is-scrolled { --hd-h: 64px; --logo-h: 44px; }
  body { font-size: 14px; }
  .hd-nav, .hd-icon:not(.hd-cart) { display: none; }
  .hd-right { gap: 20px; }
  .burger { display: block; }
  .page-h { margin: 34px 0 24px; }

  .hero { padding: 34px 0 60px; }
  .hero-stage { grid-template-columns: 47% 6% 47%; }
  .hero-title { grid-column: 1 / -1; grid-row: 1; font-size: clamp(28px, 8.4vw, 36px); line-height: 1.3; padding: 0 0 22px; }
  .hero-l { grid-column: 1; grid-row: 2; margin-top: 56px; --r: 90px; }
  .hero-r { grid-column: 3; grid-row: 2; --r: 90px; }
  .hero-quote { font-size: 13px; letter-spacing: .03em; margin-top: 16px; }
  .hero-r .obtn { min-width: 0; width: 100%; gap: 10px; margin-top: 16px; padding: 0 12px; }
  .hero-r .obtn .arr { width: 30px; }
  .orbit { left: -6%; width: 112%; top: 20%; height: 82%; }

  .about { grid-template-columns: 1fr; padding: 30px 0 70px; }
  .about-txt { padding-top: 0; }
  .about-img { grid-column: 1; margin-top: 34px; grid-template-columns: 62fr 4fr 34fr; }
  .about-big { --r: 100px; }
  .about-small { --r: 60px; }

  /* mobilon két oszlop, a jobb oszlop lejjebb tolva – így is aszimmetrikus marad */
  .cc-grid { gap: 34px 6%; }
  .cc { width: 47% !important; margin-top: 0 !important; }
  .cc:nth-child(even) { margin-top: 56px !important; }
  .cc .cc-img { --r: 70px; }
  .cc:nth-child(3n+1) .cc-img { aspect-ratio: 3 / 4; --r: 90px; }
  .cc-txt { flex-direction: column; gap: 2px; margin-top: 10px; }
  .cc-name { font-size: 20px; }

  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 14px; }
  .pc-img { --r: 60px; }
  .pc-name { font-size: 17px; margin-top: 12px; }
  .band-frame { aspect-ratio: 4 / 3; --r: 140px; }
  .faq { grid-template-columns: 1fr; gap: 20px; padding: 50px 0 70px; }

  .tools { gap: 16px; }
  .tools .uline { min-width: 0; flex: 1 1 100%; }
  .count { margin-left: 0; width: 100%; }

  .product { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 24px; }
  .g-main { --r: 130px; }
  .p-info { position: static; padding-top: 0; }
  .p-blocks { grid-template-columns: 1fr; gap: 24px; }
  .related { padding-top: 70px; }

  .st-row, .st-right { grid-template-columns: 1fr; gap: 26px; margin-bottom: 60px; }
  .st-row img, .st-right img { grid-column: 1; grid-row: 1; --r: 110px; }
  .st-right img { width: 86%; justify-self: end; }
  .st-left .st-txt, .st-right .st-txt, .st-text .st-txt { grid-column: 1; grid-row: 2; max-width: none; }
  .st-text .st-txt { grid-row: 1; }

  .contact { grid-template-columns: 1fr; padding: 34px 0 70px; }
  .c-img img { aspect-ratio: 4 / 4.4; --r: 130px; }
  .c-body { grid-column: 1; padding-top: 36px; }

  .steps { margin-top: -6px; }
  .steps li + li { padding-left: 34px; }
  .steps li + li::after { width: 16px; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; }
  .cart-table tr { display: grid; grid-template-columns: 80px 1fr auto; gap: 2px 14px; padding: 18px 0; border-bottom: 1px solid var(--hair); position: relative; }
  .cart-table td { padding: 0; border: 0; width: auto !important; }
  .cart-table td:nth-child(1) { grid-row: 1 / 4; }
  .cart-table td:nth-child(2) { padding-right: 26px; }
  .cart-table td:nth-child(3) { grid-column: 2; font-size: 13px; color: var(--soft); }
  .cart-table td:nth-child(4) { grid-column: 2; }
  .cart-table td:nth-child(5) { grid-column: 3; grid-row: 3; align-self: end; }
  .cart-table td:nth-child(6) { position: absolute; right: 0; top: 10px; }
  .cart-table img { width: 80px; }
  .cart-foot { justify-content: stretch; gap: 18px; }
  .cart-foot .sum { width: 100%; text-align: right; }
  .cart-foot .btn { width: 100%; justify-content: center; }
  .checkout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .summary { position: static; padding: 24px 18px; border-top-right-radius: 60px; }
  .row2 { grid-template-columns: 1fr; }

  .news { padding: 60px 0 50px; }
  .news-form { grid-template-columns: 1fr; }
  .news-form .obtn { justify-self: start; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-grid > div:last-child { grid-column: 1 / -1; }
  .ft-bottom { justify-content: center; text-align: center; flex-direction: column; }
}
