/* =========================================================================
   Diavola Pro — editorial / funkcionalista, világos
   Meleg papír háttér, a termék galériatárgyként lebeg (mix-blend multiply).
   Display: Archivo (variable, széles) · Adat: Space Mono · Szöveg: Inter
   Egyetlen jelszín: skarlát. Sok levegő, hajszálvonalak, precíz rács.
   ========================================================================= */

:root {
	--paper: #f4f2ec;
	--paper-2: #ece9e0;
	--white: #ffffff;
	--ink: #16140f;
	--ink-2: #55504733;
	--ink-soft: #4f4a42;
	--mute: #8f897c;
	--line: #e2ded4;
	--line-2: #d0cabb;
	--signal: #df3417;
	--signal-deep: #b5260c;

	--display: 'Archivo', system-ui, sans-serif;
	--sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'Space Mono', ui-monospace, monospace;

	--wrap: 1280px;
	--gut: 32px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 800;
	font-stretch: 118%;
	line-height: 0.98;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.9rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.4rem; font-stretch: 110%; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--signal); color: #fff; }

.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }

/* Mono adat/címke */
.mono, .kicker, .section-kicker, .card-cat, .product-cat, .vat-note,
.hero-facts span, .value-num, .co-line, .breadcrumb, .footer-col h4,
.footer-bottom, .chip, .nav-list a, .secure-note, .cart-line-price, .spec-list span, .flagship-specs span {
	font-family: var(--mono);
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 20px; top: 20px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 3px; }

/* ---------- Eyebrow ---------- */
.kicker, .section-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--signal); margin: 0 0 22px;
}
.kicker .dot, .section-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }

/* ---------- Gombok ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--sans); font-weight: 600; font-size: 0.96rem; line-height: 1;
	padding: 15px 26px; border-radius: 2px; border: 1px solid var(--ink);
	color: var(--paper); background: var(--ink); cursor: pointer;
	transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn:hover { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 18px 32px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--signal-deep); border-color: var(--signal-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.link-arrow { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink); white-space: nowrap; display: inline-flex; gap: 8px; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: gap 0.2s, border-color 0.2s; }
.link-arrow:hover { gap: 12px; border-color: var(--signal); color: var(--signal); }

/* ---------- Fejléc ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in oklab, var(--paper) 85%, transparent); backdrop-filter: saturate(120%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.4s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 26px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.28rem; letter-spacing: -0.03em; color: var(--ink); }
.brand-mark { color: var(--signal); display: inline-flex; }
.brand-pro { color: var(--signal); }
.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-list a { font-size: 0.78rem; letter-spacing: 0.05em; color: var(--ink-soft); position: relative; padding: 6px 0; transition: color 0.2s; }
.nav-list a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--signal); transition: width 0.3s var(--ease); }
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after { width: 100%; }
.nav-menu-foot { display: none; } /* csak a mobil menüben látszik */
.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-btn { position: relative; display: inline-flex; padding: 10px; border-radius: 50%; color: var(--ink); transition: background 0.2s; }
.cart-btn:hover { background: var(--paper-2); }
.cart-count { position: absolute; top: 2px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--signal); color: #fff; font-family: var(--mono); font-size: 0.62rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 9px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ---------- HERO ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(36px, 5vw, 72px); }
.hero-inner { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-copy { max-width: 640px; }
.hero-title { font-size: clamp(3rem, 8.4vw, 6.6rem); font-weight: 800; font-stretch: 122%; }
.hero-title em { font-style: normal; color: var(--signal); }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--ink-soft); max-width: 460px; margin: 1.4em 0 2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: none; }

.hero-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.hero-stage::after { content: ''; position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); width: 58%; height: 30px; background: radial-gradient(ellipse at center, rgba(40,28,18,0.22), transparent 70%); filter: blur(9px); z-index: 0; }
.hero-stage img { position: relative; z-index: 1; width: 100%; max-width: 560px; mix-blend-mode: multiply; }
.hero-temp { position: absolute; right: 4%; top: 8%; text-align: right; pointer-events: none; }
.hero-temp b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.9; color: var(--signal); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.hero-temp small { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }

/* ---------- Spec sor (nagy figurák hajszálvonallal) ---------- */
.specline { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specline .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.specline .cell { padding: 30px 8px 30px 0; }
.specline .cell + .cell { padding-left: 28px; border-left: 1px solid var(--line); }
.specline b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: clamp(1.7rem, 3.4vw, 2.7rem); letter-spacing: -0.02em; }
.specline span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }

/* ---------- Szekciófejléc ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* ---------- Story ---------- */
.story-band { padding: clamp(72px, 11vw, 150px) 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.story-lead h2 em { font-style: normal; color: var(--signal); }
.story-body p { font-size: 1.14rem; color: var(--ink-soft); }
.story-body em { font-style: normal; color: var(--ink); }

/* ---------- Flagship (a gép, editorial spread) ---------- */
.flagship { padding: clamp(60px, 9vw, 120px) 0; }
.flagship-card { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 80px); align-items: center; color: var(--ink); }
.flagship-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; }
.flagship-media::after { content: ''; position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); width: 56%; height: 28px; background: radial-gradient(ellipse at center, rgba(40,28,18,0.2), transparent 70%); filter: blur(9px); z-index: 0; }
.flagship-media img { position: relative; z-index: 1; width: 100%; max-width: 560px; mix-blend-mode: multiply; transition: transform 0.6s var(--ease); }
.flagship-card:hover .flagship-media img { transform: scale(1.03); }
.flagship-media .ph { font-size: 4rem; }
.flagship-price { position: absolute; left: 0; bottom: 0; font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: 1.5rem; }
.flagship-info { max-width: 480px; }
.flagship-info h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-stretch: 118%; margin: 0 0 14px; }
.flagship-tag { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 28px; }
.flagship-specs { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.flagship-specs li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.flagship-specs span { font-size: 0.74rem; letter-spacing: 0.06em; color: var(--mute); }
.flagship-specs strong { font-weight: 600; }

/* ---------- Termékkártya (lebegő fotó + vezérlők) ---------- */
.featured, .accessories { padding: clamp(60px, 9vw, 120px) 0; }
.accessories { border-top: 1px solid var(--line); }
.product-grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.product-card { position: relative; display: flex; flex-direction: column; }
.card-media {
	position: relative; display: block; aspect-ratio: 1/1; background: var(--paper-2);
	border-radius: 8px; overflow: hidden; transition: box-shadow 0.4s var(--ease);
}
.product-card:hover .card-media { box-shadow: 0 24px 44px -26px rgba(40,30,20,0.4); }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; transition: transform 0.6s var(--ease); }
.product-card:hover .card-media img { transform: scale(1.05); }
.ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 2.4rem; }
.card-badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; border-radius: 3px; background: var(--signal); color: #fff; }
.card-badge.out { background: var(--ink); left: auto; right: 12px; }
.card-body { padding: 18px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.card-title { font-size: 1.16rem; font-stretch: 108%; line-height: 1.12; margin: 0 0 7px; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--signal); }
.card-tagline { font-size: 0.86rem; line-height: 1.42; color: var(--mute); margin: 0 0 14px; }
.card-foot { margin: auto 0 14px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price-old { font-size: 0.82rem; color: var(--mute); text-decoration: line-through; }
.price-now { font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 1.4rem; letter-spacing: -0.01em; }

.card-actions { display: flex; gap: 8px; align-items: stretch; margin-bottom: 12px; }
.card-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 3px; flex: none; background: var(--white); }
.card-qty button { width: 34px; height: 46px; border: 0; background: transparent; color: var(--ink); font-size: 1.2rem; cursor: pointer; transition: background 0.2s; }
.card-qty button:hover { background: var(--paper-2); }
.card-qty input { width: 32px; height: 46px; border: 0; background: transparent; color: var(--ink); text-align: center; font-family: var(--mono); font-size: 0.92rem; -moz-appearance: textfield; }
.card-qty input::-webkit-outer-spin-button, .card-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.card-cart { flex: 1; padding: 12px 14px; font-size: 0.92rem; border-radius: 3px; }
.card-details { align-self: flex-start; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.04em; color: var(--ink-soft); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.card-details span { display: inline-block; transition: transform 0.2s; }
.card-details:hover { color: var(--signal); border-color: var(--signal); }
.card-details:hover span { transform: translateX(3px); }
.card-out { font-family: var(--mono); font-size: 0.8rem; color: var(--mute); }
.is-out { opacity: 0.62; }

/* ---------- Idézet ---------- */
.quote-band { padding: clamp(76px, 12vw, 170px) 0; }
.quote-band .wrap { max-width: 1040px; }
.quote-band blockquote { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.8rem, 4.4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 24px; }
.quote-band cite { font-family: var(--mono); font-style: normal; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--signal); }

/* ---------- Záró CTA ---------- */
.final-cta { padding: clamp(60px, 9vw, 120px) 0; }
.final-inner { border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 90px); text-align: center; }
.final-inner h2 { margin-bottom: 0.4em; }
.final-inner p { color: var(--ink-soft); max-width: 500px; margin: 0 auto 1.8em; }

/* ---------- Bolt / archívum ---------- */
.shop-hero { padding: clamp(52px, 7vw, 96px) 0 20px; }
.shop-hero h1 { margin: 0 0 0.3em; }
.shop-sub { color: var(--ink-soft); max-width: 560px; }
.shop-layout { padding-bottom: 100px; }
.shop-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 48px; }
.chip { font-size: 0.76rem; letter-spacing: 0.04em; padding: 9px 16px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--ink-soft); background: transparent; transition: 0.2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.pagination .page-numbers { font-family: var(--mono); font-size: 0.82rem; padding: 9px 14px; border: 1px solid var(--line); color: var(--ink); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.empty-note { color: var(--mute); padding: 48px 0; }

/* ---------- Termékoldal ---------- */
.breadcrumb { padding: 28px 0 12px; font-size: 0.76rem; color: var(--mute); }
.breadcrumb a:hover { color: var(--signal); }
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); padding: 12px 0 72px; align-items: start; }
.product-gallery { position: sticky; top: 100px; }
.gallery-main { display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.gallery-main.ph { font-size: 4rem; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); padding: 6px; cursor: pointer; background: var(--paper-2); }
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumb.is-active { border-color: var(--ink); }
.product-cat { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); margin: 0 0 14px; }
.product-name { font-size: clamp(2rem, 4vw, 3.1rem); font-stretch: 118%; margin: 0 0 0.4em; }
.product-tagline { font-size: 1.18rem; color: var(--ink-soft); margin-bottom: 1.4em; }
.product-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.product-price .price-now { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 2.1rem; }
.product-price .price-old { font-size: 1.05rem; }
.vat-note { width: 100%; font-size: 0.74rem; color: var(--mute); }
.product-stock { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 0.8rem; margin-bottom: 28px; }
.product-stock.in { color: #2f8f52; }
.product-stock.out { color: var(--mute); }
.product-stock .dot { width: 8px; height: 8px; border-radius: 50%; background: #2f8f52; }
.product-buy { display: flex; gap: 12px; margin-bottom: 32px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 2px; }
.qty button { width: 46px; height: 52px; border: 0; background: transparent; color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.qty button:hover { background: var(--paper-2); }
.qty input { width: 46px; height: 52px; border: 0; background: transparent; color: var(--ink); text-align: center; font-family: var(--mono); font-size: 1.05rem; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn-buy { flex: 1; }
.spec-list { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.spec-list span { font-size: 0.76rem; letter-spacing: 0.04em; color: var(--mute); }
.spec-list strong { text-align: right; font-weight: 600; }
.trust-row { list-style: none; margin: 0; padding: 22px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.product-story { padding: 52px 0 84px; border-top: 1px solid var(--line); }
.story-content { max-width: 740px; font-size: 1.14rem; color: var(--ink-soft); }
.story-content p { margin-bottom: 1.2em; }
.story-content strong { color: var(--ink); }
.feature-block { max-width: 740px; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.feature-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.feature-list li { position: relative; padding-left: 24px; font-size: 0.98rem; color: var(--ink-soft); }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--signal); border-radius: 2px; }
@media (max-width: 680px) { .feature-list { grid-template-columns: 1fr; } }
.related { padding: 24px 0 110px; }
.related h2 { margin-bottom: 36px; }

/* ---------- Kosár ---------- */
.cart-page, .checkout-page { padding: clamp(44px, 6vw, 84px) 0 100px; }
.page-title { margin-bottom: 40px; }
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-line-media { width: 92px; height: 92px; border-radius: 3px; overflow: hidden; background: var(--paper-2); }
.cart-line-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.cart-line-title { font-family: var(--display); font-weight: 700; font-stretch: 108%; font-size: 1.08rem; margin: 0 0 4px; }
.cart-line-title a { color: var(--ink); }
.cart-line-price { font-size: 0.8rem; color: var(--mute); }
.cart-line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-line-total { font-family: var(--display); font-weight: 700; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 2px; }
.cart-qty button { width: 34px; height: 34px; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.1rem; }
.cart-qty button:hover { background: var(--paper-2); }
.cart-qty span { min-width: 34px; text-align: center; font-family: var(--mono); font-size: 0.88rem; }
.cart-qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.cart-line-max { display: block; font-family: var(--mono); font-size: 0.68rem; color: var(--signal); margin-top: 8px; }
.cart-remove { background: none; border: 0; color: var(--mute); font-family: var(--mono); font-size: 0.72rem; cursor: pointer; }
.cart-remove:hover { color: var(--signal); }
.cart-summary, .checkout-summary { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 30px; position: sticky; top: 100px; }
.cart-summary h2, .checkout-summary h2 { font-size: 1.3rem; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.summary-row.total { font-size: 1.2rem; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.summary-row.total strong { font-family: var(--display); font-weight: 800; }
.summary-note { font-size: 0.82rem; color: var(--mute); margin: 6px 0 22px; }
.cart-summary .link-arrow { margin-top: 18px; }
.cart-empty { text-align: center; padding: 80px 0; }
.empty-illustration { font-size: 3rem; margin-bottom: 18px; }

/* ---------- Pénztár ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.checkout-form fieldset { border: 1px solid var(--line); border-radius: 4px; padding: 26px; margin: 0 0 20px; background: var(--white); }
.checkout-form legend { font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 1.05rem; padding: 0 8px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-form label { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.03em; color: var(--ink-soft); margin-bottom: 4px; }
.checkout-form label.full { grid-column: 1 / -1; }
.checkout-form input, .checkout-form textarea { width: 100%; margin-top: 6px; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(223,52,23,0.12); }
.checkbox-row { display: flex; align-items: center; gap: 10px; font-family: var(--sans) !important; font-size: 0.92rem !important; letter-spacing: 0 !important; color: var(--ink) !important; }
.checkbox-row input { width: auto; margin: 0; accent-color: var(--signal); }
.billing-fields { margin-top: 18px; }

/* Szállításválasztó */
.ship-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.ship-option { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 4px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.ship-option:has(input:checked) { border-color: var(--signal); background: rgba(223,52,23,0.04); }
.ship-option input { accent-color: var(--signal); width: 18px; height: 18px; flex: none; margin: 0; }
.ship-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 1; }
.ship-name { font-weight: 600; font-size: 0.98rem; }
.ship-fee { font-family: var(--mono); font-size: 0.9rem; color: var(--ink-soft); white-space: nowrap; }
.field-hint { font-size: 0.8rem; color: var(--mute); margin: 6px 0 0; }
.parcelshop-note { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.co-line { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.84rem; }
.co-line span { color: var(--ink-soft); }
.checkout-error { background: rgba(223,52,23,0.08); border: 1px solid rgba(223,52,23,0.3); color: var(--signal-deep); padding: 13px 16px; border-radius: 3px; font-size: 0.92rem; }
.notice { padding: 14px 18px; border-radius: 3px; margin-bottom: 28px; font-size: 0.94rem; }
.notice-warn { background: #fbf1dd; border: 1px solid #ecd39a; color: #8a5a12; }
.secure-note { font-size: 0.74rem; color: var(--mute); text-align: center; margin-top: 14px; }
.btn.is-loading { color: transparent !important; position: relative; }
.btn.is-loading::after { content: ''; position: absolute; width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Köszönjük ---------- */
.thankyou { padding: clamp(56px, 9vw, 110px) 0; text-align: center; }
.ty-check { font-size: 3rem; margin-bottom: 14px; }
.thankyou .lead { color: var(--ink-soft); font-size: 1.15rem; }
.ty-card { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 30px; text-align: left; max-width: 480px; margin: 34px auto; }
.ty-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 0.94rem; }
.ty-row span { color: var(--mute); }
.ty-row.total { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.ty-card hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.ty-card .btn { margin-top: 18px; }

/* ---------- Történet ---------- */
.story-hero { padding: clamp(64px, 10vw, 130px) 0 clamp(28px, 5vw, 56px); }
.story-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.story-longform { padding: clamp(40px, 6vw, 80px) 0 120px; }
.story-longform .lead { font-family: var(--display); font-weight: 600; font-stretch: 108%; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 1.4em; }
.story-longform h2 { margin: 1.4em 0 0.5em; }
.story-longform p { font-size: 1.08rem; color: var(--ink-soft); }
.pull { font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; border-left: 2px solid var(--signal); padding-left: 26px; margin: 1.6em 0; }
.pull-heat { color: var(--signal); }
.story-cta { margin-top: 2.4em; }

/* ---------- Kapcsolat ---------- */
.contact-page { padding: clamp(60px, 9vw, 120px) 0; }
.contact-page .lead { color: var(--ink-soft); font-size: 1.2rem; max-width: 580px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.contact-card { padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line); }
.contact-card + .contact-card { padding-left: 30px; border-left: 1px solid var(--line); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-card p { font-size: 1.1rem; margin: 0 0 6px; }
.contact-card p a:hover { color: var(--signal); }
.contact-card span { font-family: var(--mono); font-size: 0.74rem; color: var(--mute); }

/* ---------- Prose / oldal / 404 ---------- */
.page-body { padding: clamp(44px, 6vw, 84px) 0 100px; }
.prose { max-width: 780px; }
.prose a { color: var(--signal); text-decoration: underline; }
.error-404 { padding: clamp(80px, 13vw, 190px) 0; text-align: center; }
.error-404 .kicker { justify-content: center; }

/* ---------- Lábléc ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 76px 0 34px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer-brand .brand-text { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.5rem; letter-spacing: -0.03em; }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 0.94rem; color: var(--ink-soft); }
.footer-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: var(--ink-soft); font-size: 0.94rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--signal); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badges span { font-family: var(--mono); font-size: 0.7rem; border: 1px solid var(--line-2); border-radius: 2px; padding: 4px 9px; color: var(--ink-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 0.76rem; color: var(--mute); flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--signal); }

/* ---------- Scroll-reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1000px) {
	.hero-inner { grid-template-columns: 1fr; gap: 20px; }
	.hero-stage { order: -1; max-width: 440px; margin-inline: auto; }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.story-grid, .product-layout, .cart-layout, .checkout-layout, .flagship-card { grid-template-columns: 1fr; }
	.flagship-media { max-width: 420px; margin-inline: auto; }
	.contact-cards { grid-template-columns: 1fr; }
	.contact-card + .contact-card { padding-left: 0; border-left: 0; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.product-gallery, .cart-summary, .checkout-summary { position: static; }
	.field-grid { grid-template-columns: 1fr; }
	.specline .wrap { grid-template-columns: 1fr 1fr; }
	.specline .cell:nth-child(3) { border-left: 0; }
	.specline .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
	/* A backdrop-filter containing blockot hozna létre → a fixed menü beszorulna
	   a fejlécbe. Mobilon tömör háttér, blur nélkül. */
	.site-header { background: var(--paper); backdrop-filter: none; }
	.header-inner { height: 66px; gap: 14px; }
	/* Mobilon a site-nav fixed → kiesik a flexből, ezért a header-actionst
	   külön kell jobbra tolni. */
	.header-actions { margin-left: auto; }
	.nav-toggle { display: flex; z-index: 120; }
	.site-nav { margin-left: 0; }
	body.menu-open { overflow: hidden; }

	/* Teljes képernyős mobilmenü a fejléc alatt */
	.site-nav {
		position: fixed; inset: 66px 0 0 0; z-index: 90;
		background: var(--paper);
		display: flex; flex-direction: column; justify-content: space-between;
		padding: clamp(28px, 8vw, 56px) 26px calc(34px + env(safe-area-inset-bottom));
		opacity: 0; visibility: hidden; transform: translateY(-6px);
		transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0.35s;
	}
	.site-nav.open { opacity: 1; visibility: visible; transform: none; }
	.nav-list { flex-direction: column; gap: 2px; align-items: stretch; margin-top: auto; }
	.nav-list a {
		display: block; padding: 16px 0;
		font-family: var(--display); font-weight: 800; font-stretch: 112%;
		font-size: clamp(1.9rem, 8vw, 2.9rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink);
		border-bottom: 1px solid var(--line);
		opacity: 0; transform: translateY(14px);
	}
	.nav-list a::after { display: none; }
	.site-nav.open .nav-list a { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.55s var(--ease); }
	.site-nav.open .nav-list li:nth-child(1) a { transition-delay: 0.06s; }
	.site-nav.open .nav-list li:nth-child(2) a { transition-delay: 0.12s; }
	.site-nav.open .nav-list li:nth-child(3) a { transition-delay: 0.18s; }
	.site-nav.open .nav-list li:nth-child(4) a { transition-delay: 0.24s; }
	.site-nav.open .nav-list li:nth-child(5) a { transition-delay: 0.30s; }
	.nav-menu-foot { display: block; opacity: 0; transition: opacity 0.5s var(--ease) 0.3s; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--mute); text-transform: uppercase; }
	.site-nav.open .nav-menu-foot { opacity: 1; }

	/* Hamburger → X */
	body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
	body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 680px) {
	body { font-size: 16px; }
	.hero { padding-top: 20px; }
	.hero-title { font-size: clamp(2.7rem, 11vw, 3.6rem); }
	.hero-temp b { font-size: clamp(2.2rem, 13vw, 3.2rem); }
	.hero-temp { right: 2%; top: 4%; }
	.grid-3, .grid-4 { grid-template-columns: 1fr 1fr; gap: 18px; }
	.card-title { font-size: 1.02rem; }
	.card-tagline { display: none; }
	.card-actions { flex-direction: column; gap: 8px; }
	.card-qty { align-self: flex-start; }
	.card-cart { width: 100%; }
	.specline .cell { padding: 22px 6px 22px 0; }
	.specline .cell + .cell { padding-left: 16px; }
	.specline b { font-size: clamp(1.4rem, 6vw, 2rem); }
	.section-head { margin-bottom: 28px; }
	.page-title { margin-bottom: 26px; }
	.cart-line { grid-template-columns: 72px 1fr; gap: 14px; }
	.cart-line-right { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
	.ship-option { padding: 14px; }
}
@media (max-width: 400px) {
	.grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	[data-reveal] { opacity: 1; transform: none; }
}
