/* Pörk & Co. – bemutató webshop. Kézzel írt CSS, keretrendszer nélkül. */
@font-face { font-family: Fraunces; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/Fraunces-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Fraunces; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/Fraunces-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f6efe6;
  --paper: #fffaf4;
  --ink: #21150f;
  --ink-2: #3a2419;
  --muted: #6f5a4a;
  --line: #e6d8c8;
  --accent: #c4572b;
  --accent-ink: #a8441d;
  --accent-soft: #f6e0d3;
  --gold: #e8c08e;
  --sage: #5d7352;
  --ok: #2f7d4f;
  --err: #b4321f;
  --r-sm: 10px; --r: 18px; --r-lg: 28px;
  --s-1: 0 1px 2px rgba(33, 21, 15, .06), 0 2px 8px rgba(33, 21, 15, .05);
  --s-2: 0 18px 44px -18px rgba(33, 21, 15, .35);
  --s-3: 0 40px 90px -30px rgba(33, 21, 15, .5);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: Fraunces, "Iowan Old Style", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 max(18px, env(safe-area-inset-left)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .86rem; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.eyebrow.light { color: var(--gold); }
.section { padding-block: clamp(56px, 8vw, 104px) 0; }

/* Görgetésre megjelenés */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* Sávok */
.demo-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; padding: 7px 16px; background: #fde68a; color: #4a3200; font-size: .82rem; text-align: center; }
.demo-bar a { font-weight: 600; }
.ticker { overflow: hidden; background: var(--ink); color: #f1e4d4; font-size: .8rem; letter-spacing: .04em; }
.ticker-track { display: flex; width: max-content; animation: tick 34s linear infinite; }
.ticker span { padding: 9px 28px; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.ticker span::after { content: "✦"; color: var(--accent); font-size: .7rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Gombok */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: .7em 1.45em; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background .25s, box-shadow .3s var(--ease), color .25s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--s-2); }
.btn:hover svg { transform: translateX(3px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-ink); }
.btn-light { background: #fbf3e8; color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-lg { min-height: 54px; padding-inline: 1.7em; font-size: 1.02rem; }
.btn-full { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--accent-ink); white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Fejléc */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top-in { display: flex; align-items: center; gap: 14px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 42px; height: 42px; flex: none; transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(-20deg); }
.wordmark { display: grid; font-family: var(--serif); font-weight: 650; font-size: 1.45rem; line-height: 1; letter-spacing: -.02em; }
.wordmark i { color: var(--accent); font-style: italic; font-weight: 500; }
.wordmark small { margin-top: 4px; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.wordmark.light { color: #fbf3e8; } .wordmark.light small { color: #b9a28f; }
.top-nav { display: flex; gap: 6px; margin-left: auto; }
.top-nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.top-nav a:hover { background: var(--paper); color: var(--ink); }
.icon-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--ink); color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cart-btn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 8px 0 16px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; font-weight: 600; transition: transform .25s var(--ease), background .2s; }
.cart-btn:hover { background: var(--ink-2); transform: translateY(-1px); }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { min-width: 30px; height: 30px; padding: 0 8px; display: grid; place-items: center; border-radius: 15px; background: var(--accent); color: #fff; font-size: .82rem; font-variant-numeric: tabular-nums; }
.cart-count.pop { animation: pop .5s var(--ease); }
@keyframes pop { 35% { transform: scale(1.4); } }

/* Hero */
.hero { position: relative; overflow: hidden; color: #f8eee2; background: radial-gradient(900px 520px at 78% 40%, rgba(196, 87, 43, .38), transparent 62%), radial-gradient(600px 400px at 10% 110%, rgba(232, 192, 142, .16), transparent 60%), var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; min-height: min(680px, 86vh); padding-block: clamp(48px, 7vw, 88px); }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.kicker span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(196, 87, 43, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(196, 87, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(196, 87, 43, 0); } }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-bottom: 22px; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
.lead { font-size: clamp(1.04rem, .98rem + .35vw, 1.22rem); color: #d9c8b6; max-width: 31em; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 36px; list-style: none; padding: 26px 0 0; margin: 36px 0 0; border-top: 1px solid rgba(248, 238, 226, .14); }
.hero-facts li { display: grid; }
.hero-facts b { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: #fff; }
.hero-facts span { font-size: .84rem; color: #b9a28f; }
.hero-art { position: relative; height: clamp(320px, 42vw, 540px); }
.hero-art > div { position: absolute; }
.hero-art .bag { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: floaty 7s ease-in-out infinite; }
.hero-art .b-1 { width: 34%; left: 6%; bottom: 26%; transform: rotate(-9deg); animation-delay: -2s; }
.hero-art .b-2 { width: 44%; left: 30%; bottom: 30%; z-index: 2; }
.hero-art .b-3 { width: 32%; right: 2%; bottom: 22%; transform: rotate(8deg); animation-delay: -4s; }
.hero-art .h-cup { width: 30%; left: 0; bottom: 8%; z-index: 3; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .4)); }
.hero-art .h-beans { width: 26%; right: 30%; bottom: 6%; z-index: 1; opacity: .9; }
@keyframes floaty { 50% { translate: 0 -12px; } }
.steam { animation: steam 3.2s ease-in-out infinite; transform-box: fill-box; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-10px); } }

/* Szekciófejek */
.sec-head, .shop-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.sec-head h2, .shop-head h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); margin: 0; }

/* Kártyák */
.featured { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); box-shadow: var(--s-1); transition: transform .45s var(--ease), box-shadow .45s var(--ease); animation: cardIn .6s var(--ease) both; }
.card:hover { transform: translateY(-6px); box-shadow: var(--s-2); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.card-media { position: relative; margin: 8px 8px 0; border-radius: calc(var(--r) - 6px); background: var(--tint); overflow: hidden; }
.card-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 55% at 50% 38%, rgba(255, 255, 255, .55), transparent 70%); }
.card-img { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; border: 0; background: none; padding: 22px; cursor: pointer; }
.card-img svg { position: relative; z-index: 1; width: 64%; height: auto; transition: transform .7s var(--ease); }
.card:hover .card-img svg { transform: translateY(-6px) rotate(-3deg) scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .02em; }
.fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 250, 244, .9); cursor: pointer; transition: transform .25s var(--ease), color .2s; color: var(--ink); }
.fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; transition: fill .2s; }
.fav:hover { transform: scale(1.1); }
.fav.on { color: var(--accent); }
.fav.on svg { fill: currentColor; animation: pop .45s var(--ease); }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; min-height: 42px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .4s var(--ease), background .2s; }
.quick:hover { background: var(--accent); }
.card:hover .quick, .quick:focus-visible { opacity: 1; transform: none; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.origin { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card-body h3 { font-size: 1.16rem; margin: 0; }
.card-body h3 button { all: unset; cursor: pointer; }
.card-body h3 button:hover { color: var(--accent-ink); }
.card-body h3 button:focus-visible { outline: 3px solid var(--accent); border-radius: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tags span { padding: 2px 9px; border-radius: 999px; background: var(--bg); font-size: .74rem; color: var(--ink-2); }
.roast { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--muted); }
.roast-dots { display: inline-flex; gap: 3px; }
.roast-dots i { width: 14px; height: 6px; border-radius: 3px; background: var(--line); }
.roast-dots i.on { background: linear-gradient(90deg, #b07a46, #4a2a17); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--sans); font-size: .76rem; font-weight: 500; color: var(--muted); }
.add { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .25s var(--ease); }
.add svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.add:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(90deg); }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; color: var(--muted); }
.flyer { position: fixed; z-index: 90; pointer-events: none; }

/* Kategóriák */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-tile { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 22px 18px 14px; border: 0; border-radius: var(--r); background: var(--tint); text-align: left; cursor: pointer; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--s-2); }
.ct-art { width: 92px; height: 92px; flex: none; display: grid; place-items: center; }
.ct-art svg { width: 82%; transition: transform .6s var(--ease); }
.cat-tile:hover .ct-art svg { transform: rotate(-8deg) scale(1.08); }
.ct-t { display: grid; flex: 1; }
.ct-t b { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.ct-t small { color: var(--muted); }
.ct-go { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--paper); font-weight: 700; transition: background .2s, color .2s, transform .3s var(--ease); }
.cat-tile:hover .ct-go { background: var(--ink); color: #fff; transform: translateX(3px); }

/* Bolt eszközök */
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); transition: border-color .2s; }
.search:focus-within { border-color: var(--ink); }
.search svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; }
.search input { border: 0; outline: 0; background: none; width: 220px; max-width: 100%; }
.sort select { height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chip { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; font-weight: 500; font-size: .92rem; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.result-info { color: var(--muted); font-size: .86rem; margin: 8px 0 18px; }

/* Pörkölés történet */
.story { margin-top: clamp(64px, 9vw, 112px); padding-block: clamp(56px, 8vw, 96px); background: var(--ink); color: #f1e4d4; }
.story-head h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); max-width: 16em; color: #fff; }
.steps-row { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: st; }
.steps-row li { position: relative; padding: 26px; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .3s; }
.steps-row li:hover { background: rgba(255, 255, 255, .07); }
.st-n { font-family: var(--serif); font-size: .95rem; font-style: italic; color: var(--gold); }
.st-art { display: block; width: 104px; height: 104px; margin: 6px 0 14px; }
.st-art svg { width: 100%; height: 100%; }
.steps-row h3 { font-size: 1.35rem; color: #fff; margin-bottom: 8px; }
.steps-row p { color: #c9b6a3; margin: 0; font-size: .95rem; }

/* Promóció */
.promo { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); color: #fff; background: radial-gradient(500px 300px at 85% 50%, rgba(255, 255, 255, .18), transparent 70%), linear-gradient(135deg, #c4572b, #8f3517); overflow: hidden; }
.promo h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); }
.promo p { color: #fbe3d6; max-width: 30em; }
.promo-art { justify-self: center; width: min(280px, 80%); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); transform: rotate(-6deg); }

/* Információk */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card { padding: clamp(24px, 4vw, 36px); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--s-1); }
.info-card h2 { font-size: 1.6rem; }
.info-card p { color: var(--muted); }
.ship-list { list-style: none; padding: 0; margin: 0 0 14px; }
.ship-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.news { background: var(--accent-soft); box-shadow: none; }
.nl { display: flex; gap: 8px; margin-bottom: 10px; }
.nl input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border-radius: 999px; border: 1.5px solid transparent; background: var(--paper); }
.nl input:focus { outline: none; border-color: var(--ink); }
.nl input[aria-invalid="true"] { border-color: var(--err); }
.nl-done { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 6px; }
.nl-done span { display: block; font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.about { padding-bottom: clamp(56px, 8vw, 96px); }
.about-text { max-width: 46em; margin: 0 auto; text-align: center; font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-style: italic; color: var(--muted); }

/* Lábléc */
.foot { padding: 56px 0 28px; background: var(--ink); color: #c9b6a3; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; }
.foot-grid p { margin: 14px 0 0; max-width: 24em; }
.foot-grid nav, .foot-grid > div:last-child { display: grid; gap: 8px; align-content: start; }
.foot b { color: #fff; font-weight: 600; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }

/* Ablakok */
.modal, .drawer { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal[hidden], .drawer[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(24, 14, 9, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal-box { position: relative; width: min(980px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--s-3); animation: up .45s var(--ease); }
.modal-box.wide { width: min(760px, 100%); padding: clamp(20px, 4vw, 36px); }
@keyframes up { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bg); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s, transform .3s var(--ease); }
.x:hover { background: var(--line); transform: rotate(90deg); }

/* Termékoldal */
.p-detail { display: grid; grid-template-columns: 1fr 1.05fr; }
.p-gallery { position: sticky; top: 0; align-self: start; display: grid; gap: 10px; padding: 14px; }
.p-img { display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: var(--r); background: radial-gradient(70% 60% at 50% 40%, rgba(255, 255, 255, .6), transparent 70%), var(--tint); }
.p-img svg { width: 62%; height: auto; filter: drop-shadow(0 24px 30px rgba(33, 21, 15, .25)); }
.p-img.swap svg { animation: swapIn .5s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: scale(.94); } }
.p-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.p-thumbs button { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 10px; border-radius: 12px; border: 2px solid transparent; background: var(--tint); cursor: pointer; transition: border-color .2s; }
.p-thumbs button svg { width: 70%; }
.p-thumbs button.on { border-color: var(--ink); }
.p-info { padding: clamp(22px, 3.5vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.p-info h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); margin: 0; padding-right: 40px; }
.p-info .desc { color: var(--muted); margin: 0; }
.profile { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.pb { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; font-size: .86rem; }
.pb-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pb-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--accent)); animation: grow .9s var(--ease) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: .86rem; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { cursor: pointer; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: inline-block; padding: 9px 15px; border-radius: 12px; border: 1.5px solid var(--line); font-size: .9rem; transition: border-color .2s, background .2s, color .2s; }
.opts label:hover span { border-color: var(--ink); }
.opts input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.opts input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.tip { display: grid; gap: 2px; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; font-size: .9rem; }
.tip span { color: var(--ink-2); }
.buy { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 12px; margin: 4px -4px 0; padding: 12px 4px; background: linear-gradient(to top, var(--paper) 75%, transparent); }
.buy .btn { flex: 1; }
.p-price { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; white-space: nowrap; margin-right: auto; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; background: var(--paper); }
.qty button { width: 38px; height: 42px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty button:hover { background: var(--bg); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.related h3 { font-size: 1.15rem; margin: 10px 0 10px; }
.rel-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rel { display: grid; gap: 6px; text-decoration: none; font-size: .84rem; }
.rel-img { display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 12px; background: var(--tint); transition: transform .3s var(--ease); }
.rel-img svg { width: 60%; }
.rel:hover .rel-img { transform: translateY(-3px); }
.rel small { display: block; color: var(--muted); }

/* Kosár fiók */
.drawer { place-items: stretch end; padding: 0; }
.drawer-box { position: relative; width: min(440px, 100%); height: 100dvh; display: flex; flex-direction: column; background: var(--paper); box-shadow: -30px 0 80px rgba(0, 0, 0, .25); animation: slide .5s var(--ease); }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.6rem; }
.drawer-head .x { position: static; }
.free { padding: 14px 22px; font-size: .88rem; border-bottom: 1px solid var(--line); background: var(--bg); }
.free .bar { height: 8px; margin-top: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.free .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--accent)); transition: width .6s var(--ease); }
.lines { list-style: none; margin: 0; padding: 8px 22px; overflow-y: auto; flex: 1; }
.line { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 68px; height: 68px; border-radius: 14px; display: grid; place-items: center; background: var(--tint, #f3ebe3); }
.line-img svg { width: 66%; }
.line h3 { font-family: var(--sans); font-size: .95rem; font-weight: 600; margin: 0; }
.line small { color: var(--muted); display: block; }
.line .right { display: grid; justify-items: end; gap: 6px; }
.line .qty button { width: 30px; height: 32px; }
.rm { border: 0; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; cursor: pointer; padding: 0; }
.drawer-foot { padding: 16px 22px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-row.total { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; padding-top: 6px; border-top: 1px solid var(--line); }
.sum-row.disc { color: var(--ok); }
.cart-empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* Pénztár */
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 4px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--muted); counter-increment: s; transition: border-color .4s; }
.steps li::before { content: counter(s); width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--line); color: var(--ink); font-size: .74rem; }
.steps li.on, .steps li.done { border-color: var(--accent); color: var(--ink); }
.steps li.on::before { background: var(--accent); color: #fff; }
.steps li.done::before { content: "✓"; background: var(--ink); color: #fff; }
.co h2 { font-size: 1.8rem; padding-right: 44px; }
.f { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.f .full { grid-column: 1 / -1; }
.fld { display: grid; gap: 6px; }
.fld label { font-weight: 600; font-size: .86rem; }
.fld input, .fld select { height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); width: 100%; transition: border-color .2s, background .2s, box-shadow .2s; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--ink); background: var(--paper); box-shadow: 0 0 0 4px rgba(196, 87, 43, .12); }
.fld .err { color: var(--err); font-size: .8rem; display: none; }
.fld.bad input, .fld.bad select { border-color: var(--err); }
.fld.bad .err { display: block; }
.radio-cards { display: grid; gap: 10px; }
.radio-cards label { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.radio-cards label:hover { border-color: #cdb8a3; }
.radio-cards label:has(input:checked) { border-color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-cards input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.radio-cards .rc-t { flex: 1; display: grid; }
.radio-cards small { color: var(--muted); }
.co-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.co-sum { margin-top: 20px; padding: 18px 20px; border-radius: 18px; background: var(--bg); display: grid; gap: 8px; font-size: .94rem; }
.co-sum h3 { font-size: 1.1rem; margin: 0 0 2px; }
.co-items { list-style: none; padding: 0 0 8px; margin: 0; display: grid; gap: 10px; border-bottom: 1px solid var(--line); }
.co-items li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; font-size: .88rem; }
.co-items small { display: block; color: var(--muted); }
.ci-img { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); }
.ci-img svg { width: 66%; }
.trust { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust li { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #e7efe3; color: #2c4a25; font-size: .8rem; font-weight: 600; }
.trust li::before { content: "✓"; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); }
.pay-demo { text-align: center; padding: 10px 0; }
.pay-demo .gw { display: inline-grid; gap: 4px; padding: 22px 28px; margin: 12px 0 20px; border-radius: 18px; border: 2px dashed var(--line); background: var(--bg); }
.pay-demo .gw b { font-family: var(--serif); font-size: 1.5rem; }
.spinner { width: 34px; height: 34px; margin: 16px auto; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.thanks { text-align: center; }
.thanks .ok { width: 78px; height: 78px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center; background: #e3f0e4; color: var(--ok); font-size: 2.1rem; animation: pop .6s var(--ease); }
.order-no { display: inline-block; margin: 6px 0 14px; padding: 8px 16px; border-radius: 12px; background: var(--bg); font-weight: 700; letter-spacing: .08em; }

/* Címkereső */
.ac { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: 76px; z-index: 5; margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; box-shadow: var(--s-2); max-height: 260px; overflow-y: auto; }
.ac-list li { display: grid; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.ac-list li small { color: var(--muted); }
.ac-list li:hover, .ac-list li.act { background: var(--accent-soft); }
.src { color: var(--muted); font-size: .74rem; }
.sum-row.dest span:last-child { text-align: right; max-width: 65%; }

/* Automata választó */
.locker { padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); gap: 8px; justify-items: start; }
.locker.bad { border-color: var(--err); }
.lk-label { font-weight: 600; font-size: .86rem; }
.lk-chosen { display: grid; }
.lk-chosen span { color: var(--muted); font-size: .9rem; }
.map-modal { z-index: 70; }
.map-box { width: min(1040px, 100%); height: min(780px, calc(100dvh - 32px)); display: flex; flex-direction: column; overflow: hidden; }
.map-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.map-head h2 { margin: 0; font-size: 1.3rem; }
.map-head .x { position: static; }
.map-body { flex: 1; min-height: 0; position: relative; }
.map-body iframe, .map-body gls-dpm { display: block; width: 100%; height: 100%; border: 0; }
.map-note { margin: 0; padding: 8px 16px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); }

.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 95; transform: translate(-50%, 160%); padding: 13px 20px; border-radius: 14px; background: var(--ink); color: #fff; font-size: .92rem; font-weight: 500; box-shadow: var(--s-3); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* Reszponzív */
@media (max-width: 1080px) {
  .grid, .featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured > :nth-child(4) { display: none; }
}
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; }
  .hero-art { order: -1; height: 300px; max-width: 460px; width: 100%; margin: 0 auto; }
  .cats, .steps-row, .info-grid, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .promo { grid-template-columns: minmax(0, 1fr); }
  .promo-art { width: 180px; order: -1; }
  .p-detail { grid-template-columns: minmax(0, 1fr); }
  .p-gallery { position: static; }
  .p-img { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  .top-nav { display: none; }
  .brand { margin-right: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .featured { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -18px; padding: 4px 18px 12px; scrollbar-width: none; }
  .featured::-webkit-scrollbar { display: none; }
  .featured > .card { flex: 0 0 68%; scroll-snap-align: start; }
  .featured > :nth-child(4) { display: flex; }
  .quick { display: none; }
  .f { grid-template-columns: 1fr; }
  .tools, .search { flex: 1 1 100%; }
  .search input { width: 100%; }
  .modal { padding: 0; place-items: end stretch; }
  .modal-box { width: 100%; max-height: 94dvh; border-radius: 24px 24px 0 0; animation-name: sheet; }
  .modal-box.wide { width: 100%; }
  .map-box { height: 100dvh; max-height: none; border-radius: 0; }
  @keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
}
@media (max-width: 420px) {
  .cart-label { display: none; }
  .wordmark { font-size: 1.25rem; }
  .wordmark small { display: none; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: 1.02rem; }
  .tags span:nth-child(3) { display: none; }
  .roast-t { display: none; }
  .steps li { font-size: .74rem; }
  .hero-facts { gap: 12px 22px; }
  .hero-facts b { font-size: 1.3rem; }
  .rel-row { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
