/* ==========================================================
   VitaminBomba – arculati stíluslap
   Paletta: erdőzöld, levélzöld, friss lime, napsárga-narancs,
   krémfehér. Piros szín szándékosan nincs a palettában.
   ========================================================== */
:root {
  --forest: #17402A;      /* Bükki erdő – fő sötét szín */
  --leaf: #2E7D3A;        /* levélzöld – elsődleges akció */
  --leaf-dark: #22642D;
  --lime: #7DB83A;        /* friss lime – kiemelés */
  --lime-soft: #E8F3D6;
  --sun: #F7A823;         /* napsárga – másodlagos kiemelés */
  --sun-soft: #FFF1D3;
  --cream: #FFF8E6;       /* címke krém */
  --paper: #FBFAF4;       /* háttér */
  --white: #FFFFFF;
  --ink: #1F2A22;         /* szöveg */
  --muted: #5C6B60;
  --line: #E3E6DA;
  --violet: #6B3A7D;      /* céklás termékakcentus */

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(23, 64, 42, .25);
  --shadow-sm: 0 2px 10px -4px rgba(23, 64, 42, .2);
  --max: 1180px;

  --f-display: 'Fraunces', Georgia, serif;
  --f-logo: 'Fredoka', 'Trebuchet MS', sans-serif;
  --f-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--leaf); }
a:hover { color: var(--forest); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--forest); line-height: 1.15; margin: 0 0 .5em; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-sm { padding: 48px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-logo); font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--leaf);
  margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--sun); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--f-body); padding: 15px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--leaf); color: #fff; box-shadow: 0 8px 18px -8px rgba(46,125,58,.7); }
.btn-primary:hover { background: var(--leaf-dark); color: #fff; }
.btn-sun { background: var(--sun); color: var(--forest); }
.btn-sun:hover { background: #E8961A; color: var(--forest); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-light:hover { background: #fff; color: var(--forest); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Fejléc ---------- */
.topbar { background: var(--forest); color: #DCEBD0; font-size: .85rem; }
.topbar .container { display: flex; justify-content: center; gap: 24px; padding: 8px 0; flex-wrap: wrap; text-align: center; }
.topbar strong { color: var(--sun); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 244, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.wordmark { font-family: var(--f-logo); font-weight: 700; font-size: 1.6rem; line-height: 1; letter-spacing: -.01em; color: var(--forest); }
.wordmark span { color: var(--lime); }
.wordmark small { display: block; font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 4px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  color: var(--ink); font-weight: 700; font-size: .98rem;
}
.nav-links a:hover { background: var(--lime-soft); color: var(--forest); }
.nav-links a[aria-current="page"] { background: var(--forest); color: #fff; }
.nav-icons { display: flex; gap: 6px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none;
  color: var(--forest); font-weight: 700; font-size: .92rem; border: 1px solid var(--line); background: #fff;
}
.icon-btn:hover, .icon-btn[aria-current="page"] { border-color: var(--leaf); color: var(--leaf); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--sun); color: var(--forest);
  font-size: .75rem; font-weight: 800; display: grid; place-items: center;
}
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--forest); }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .menu-toggle { display: block; order: 3; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; border-radius: var(--radius-sm); }
  .icon-btn .label { display: none; }
  .icon-btn { padding: 0 12px; }
  .nav { gap: 10px; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 1.3rem; }
  .wordmark small { display: none; }
  .brand img { width: 38px; height: 38px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--forest);
  min-height: min(720px, 88vh); display: grid; align-items: center;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(23,64,42,.94) 0%, rgba(23,64,42,.78) 42%, rgba(23,64,42,.15) 100%);
}
.hero .container { position: relative; z-index: 2; padding: 80px 0 140px; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--sun); font-weight: 500; }
.hero p { max-width: 54ch; font-size: 1.15rem; color: #E4EFDC; }
.hero .eyebrow { color: var(--sun); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-ridge { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; width: 100%; height: auto; }

/* Hegyvonulat elválasztó */
.ridge { display: block; width: 100%; height: 70px; }

/* ---------- Előnyök sáv ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perk {
  display: flex; gap: 14px; align-items: flex-start; padding: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.perk-ico { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--lime-soft); color: var(--leaf); }
.perk-ico svg { width: 26px; height: 26px; }
.perk h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 800; margin: 2px 0 4px; color: var(--forest); }
.perk p { font-size: .9rem; margin: 0; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

/* ---------- Termékkártyák ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-visual {
  position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 4px;
  height: 280px; padding: 22px 12px 10px; background: var(--tint, var(--lime-soft));
  text-decoration: none;
}
.product-visual::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 46px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.12), transparent 70%);
}
.product-visual svg { position: relative; height: 100%; width: auto; filter: drop-shadow(0 10px 10px rgba(0,0,0,.12)); }
.product-visual svg.small { height: 80%; }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font: 800 .72rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase;
  background: #fff; color: var(--leaf); padding: 7px 10px; border-radius: 999px;
}
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.product-body h3 { font-size: 1.12rem; margin-bottom: 4px; }
.product-body h3 a { color: inherit; text-decoration: none; }
.product-body h3 a:hover { color: var(--leaf); }
.product-tag { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.size-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; margin-bottom: 14px; }
.size-price { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); }
.size-price small { display: block; font-size: .75rem; color: var(--muted); font-weight: 700; }
.size-price strong { font-size: 1.02rem; color: var(--forest); }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { flex: 1; padding: 12px 10px; font-size: .9rem; }

/* ---------- Kétoszlopos blokkok ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-img { position: relative; }
.split-img img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.split-img .stamp {
  position: absolute; right: -14px; bottom: -18px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--sun); color: var(--forest); display: grid; place-items: center; text-align: center;
  font: 700 .95rem/1.1 var(--f-logo); transform: rotate(-8deg); box-shadow: var(--shadow-sm);
}
.split-img .stamp b { display: block; font-size: 2.3rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-img .stamp { right: 10px; }
}

.bottles-stage { display: flex; align-items: flex-end; justify-content: center; gap: 18px; height: 380px; }
.bottles-stage svg { height: 100%; width: auto; filter: drop-shadow(0 16px 14px rgba(0,0,0,.14)); }
@media (max-width: 520px) { .bottles-stage { height: 280px; } }

.band { background: var(--forest); color: #E4EFDC; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: var(--sun); }
.band-lime { background: var(--lime-soft); }
.band-sun { background: var(--sun-soft); }

.cta-band {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(32px, 6vw, 64px);
  background: var(--forest) center/cover; color: #fff;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,64,42,.95), rgba(23,64,42,.6)); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { max-width: 56ch; color: #E4EFDC; }

/* ---------- Oldalfejléc (aloldalak) ---------- */
.page-head { position: relative; background: var(--forest); color: #E4EFDC; overflow: hidden; }
.page-head .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-head .container { position: relative; padding: 64px 0 100px; }
.page-head h1 { color: #fff; margin-bottom: .25em; }
.page-head .eyebrow { color: var(--sun); }
.page-head p { max-width: 62ch; font-size: 1.1rem; margin: 0; }
.page-head .ridge { position: absolute; bottom: -1px; left: 0; }
.crumbs { font-size: .88rem; margin-bottom: 14px; color: #B9D3AC; }
.crumbs a { color: #fff; }

/* ---------- Rólunk ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.member img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.member-body { padding: 20px 22px 24px; }
.member-role { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--leaf); background: var(--lime-soft); border-radius: 999px; padding: 5px 10px; margin-bottom: 10px; }
.member-rel { font-size: .88rem; color: var(--muted); margin-top: -4px; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.family-tree { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 36px; font-weight: 700; color: var(--forest); }
.family-tree .node { background: #fff; border: 2px solid var(--leaf); border-radius: 999px; padding: 8px 16px; }
.family-tree .node.root { background: var(--leaf); color: #fff; }
.family-tree .rel { font-size: .82rem; color: var(--muted); font-weight: 600; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.value .num { font: 700 2rem/1 var(--f-display); color: var(--sun); margin-bottom: 12px; }
.value p { font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--lime); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ''; position: absolute; left: -10px; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: var(--sun); border: 3px solid var(--paper); }
.timeline strong { display: block; font-family: var(--f-display); color: var(--forest); font-size: 1.1rem; }

/* ---------- Termékoldal ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.gallery-main {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  height: 520px; border-radius: 28px; background: var(--tint, var(--lime-soft)); padding: 40px 20px 26px; overflow: hidden;
}
.gallery-main > svg { height: 100%; width: auto; filter: drop-shadow(0 18px 16px rgba(0,0,0,.15)); }
.gallery-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.thumb {
  height: 92px; border-radius: 14px; border: 2px solid transparent; overflow: hidden; cursor: pointer; padding: 0;
  background: var(--tint, var(--lime-soft)); display: flex; align-items: flex-end; justify-content: center;
}
.thumb svg { height: 86%; width: auto; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--leaf); }
.pdp-info h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.price-big { font: 700 2.2rem/1 var(--f-display); color: var(--forest); margin: 16px 0 4px; }
.price-unit { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.opt-label { font-weight: 800; font-size: .9rem; margin-bottom: 8px; display: block; }
.size-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.size-opt { position: relative; }
.size-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-opt label {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px;
  border: 2px solid var(--line); background: #fff; cursor: pointer; transition: border-color .15s, background .15s;
}
.size-opt label b { font-size: 1.1rem; color: var(--forest); }
.size-opt label span { font-size: .85rem; color: var(--muted); }
.size-opt input:checked + label { border-color: var(--leaf); background: var(--lime-soft); }
.size-opt input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 18px; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 44px; height: 48px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--forest); }
.qty input { width: 44px; text-align: center; border: 0; font: 700 1rem var(--f-body); background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 34px; height: 38px; }
.qty.sm input { width: 34px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; margin: 22px 0; }
.facts div { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.facts div:nth-child(odd) { font-weight: 800; color: var(--forest); background: var(--paper); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--lime-soft); color: var(--forest); font-weight: 700; font-size: .85rem; }
.tabs { margin-top: 56px; }
.tab-list { display: flex; gap: 6px; border-bottom: 2px solid var(--line); overflow-x: auto; }
.tab-list button {
  padding: 14px 18px; border: 0; background: none; font: 800 1rem var(--f-body); color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; white-space: nowrap;
}
.tab-list button[aria-selected="true"] { color: var(--forest); border-color: var(--sun); }
.tab-panel { padding: 26px 0; max-width: 78ch; }
.tab-panel[hidden] { display: none; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery-main { height: 400px; }
}

/* ---------- Űrlapok ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 800; font-size: .9rem; margin-bottom: 6px; color: var(--forest); }
.field label .opt { font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid #D5DACB; background: #fff;
  font: 500 1rem var(--f-body); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(125,184,58,.25); }
.field.invalid input, .field.invalid textarea { border-color: #B26A00; background: #FFFBF2; }
.field .err { display: none; font-size: .84rem; color: #8A5200; margin-top: 5px; font-weight: 700; }
.field.invalid .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--leaf); flex: 0 0 auto; }
.check.invalid { color: #8A5200; font-weight: 700; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); }
.notice { padding: 14px 18px; border-radius: 12px; background: var(--sun-soft); border: 1px solid #F3D28C; font-size: .93rem; color: #6A4A00; }
.notice.ok { background: var(--lime-soft); border-color: #BFDB97; color: var(--forest); }

/* ---------- Kapcsolat ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .perk-ico { flex-basis: 46px; height: 46px; }
.contact-list small { display: block; color: var(--muted); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a, .contact-list span { font-weight: 800; color: var(--forest); text-decoration: none; font-size: 1.05rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Kosár & pénztár ---------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-thumb { width: 84px; height: 100px; border-radius: 14px; display: flex; align-items: flex-end; justify-content: center; padding-top: 8px; }
.cart-thumb svg { height: 92%; width: auto; }
.cart-item h3 { font-size: 1.02rem; margin: 0 0 2px; }
.cart-item h3 a { color: inherit; text-decoration: none; }
.cart-meta { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.cart-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font: 700 .88rem var(--f-body); cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--forest); }
.line-total { font-weight: 800; color: var(--forest); white-space: nowrap; }
@media (max-width: 520px) {
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-thumb { width: 64px; height: 80px; }
  .line-total { grid-column: 2; }
}
.summary { position: sticky; top: 100px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .98rem; }
.summary-row.total { border-top: 2px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.2rem; font-weight: 800; color: var(--forest); }
.free-bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; margin: 6px 0 4px; }
.free-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--lime), var(--leaf)); border-radius: 8px; transition: width .3s; }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state svg { width: 120px; margin: 0 auto 16px; }
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; flex-wrap: wrap; font-size: .9rem; font-weight: 800; }
.steps li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.steps li.on { background: var(--forest); color: #fff; border-color: var(--forest); }

/* Stripe-stílusú fizetési blokk */
.stripe-box { border: 1px solid #E3E8EE; border-radius: 14px; padding: 20px; background: #fff; box-shadow: 0 1px 3px rgba(50,50,93,.08); font-family: -apple-system, 'Segoe UI', Roboto, sans-serif; }
.stripe-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.stripe-head h3 { font-family: inherit; font-size: 1rem; margin: 0; color: #30313D; }
.brands { display: flex; gap: 6px; }
.brands svg { width: 40px; height: 26px; }
.stripe-field { margin-bottom: 12px; }
.stripe-field label { display: block; font-size: .85rem; color: #30313D; margin-bottom: 5px; font-weight: 500; }
.stripe-input {
  display: flex; align-items: center; gap: 8px; border: 1px solid #E0E0E6; border-radius: 6px; padding: 0 12px;
  box-shadow: 0 1px 1px rgba(0,0,0,.03), 0 3px 6px rgba(0,0,0,.02); transition: border-color .15s, box-shadow .15s; background: #fff;
}
.stripe-input:focus-within { border-color: #635BFF; box-shadow: 0 0 0 3px rgba(99,91,255,.25); }
.stripe-input input { flex: 1; border: 0; outline: none; padding: 12px 0; font: 400 1rem inherit; color: #30313D; background: transparent; min-width: 0; }
.stripe-input .brand-ico { font-size: .72rem; font-weight: 800; color: #6D6E78; letter-spacing: .04em; }
.stripe-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stripe-field.invalid .stripe-input { border-color: #DF7B00; box-shadow: 0 0 0 3px rgba(223,123,0,.18); }
.stripe-field .err { display: none; font-size: .82rem; color: #A35A00; margin-top: 4px; }
.stripe-field.invalid .err { display: block; }
.stripe-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #6D6E78; font-size: .8rem; }
.stripe-foot svg { height: 18px; width: auto; }
.pay-btn { width: 100%; margin-top: 8px; background: #635BFF; color: #fff; border: 0; border-radius: 8px; padding: 15px; font: 600 1.02rem -apple-system, 'Segoe UI', Roboto, sans-serif; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; }
.pay-btn:hover { background: #5148E5; }
.pay-btn[disabled] { opacity: .7; cursor: progress; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.test-pill { font-size: .72rem; font-weight: 700; background: #FFE9C7; color: #8A4B00; padding: 3px 8px; border-radius: 6px; }

.success-box { text-align: center; max-width: 620px; margin: 0 auto; }
.success-box .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--lime-soft); color: var(--leaf); display: grid; place-items: center; margin: 0 auto 18px; }
.success-box .tick svg { width: 44px; height: 44px; }

/* ---------- Fiókom ---------- */
.auth-wrap { max-width: 520px; margin: 0 auto; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--lime-soft); padding: 5px; border-radius: 999px; margin-bottom: 22px; }
.seg button { border: 0; background: none; padding: 12px; border-radius: 999px; font: 800 .98rem var(--f-body); color: var(--forest); cursor: pointer; }
.seg button[aria-selected="true"] { background: #fff; box-shadow: var(--shadow-sm); }
.account-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--leaf); color: #fff; display: grid; place-items: center; font: 700 1.8rem var(--f-logo); margin-bottom: 12px; }
.order { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.order-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-weight: 800; color: var(--forest); }
.order ul { margin: 8px 0 0; padding-left: 18px; font-size: .92rem; color: var(--muted); }
.status { font-size: .78rem; background: var(--lime-soft); color: var(--leaf); padding: 4px 10px; border-radius: 999px; }

/* ---------- Jogi szövegek ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal ol, .legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.legal .fill { background: var(--sun-soft); padding: 0 4px; border-radius: 4px; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--forest); color: #C9DBBE; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 36px; }
.site-footer h4 { color: #fff; font-family: var(--f-body); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #C9DBBE; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark small { color: #9DB894; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 26px; font-size: .84rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pay-logos { display: flex; gap: 8px; align-items: center; margin-top: 14px; }
.pay-logos svg { width: 44px; height: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 100;
  background: var(--forest); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center; transition: transform .3s ease; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--sun); font-weight: 800; white-space: nowrap; }

/* ---------- Arculati kézikönyv ---------- */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.swatch { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.swatch div { height: 110px; }
.swatch p { margin: 0; padding: 12px 14px; font-size: .88rem; }
.swatch b { display: block; color: var(--forest); }
.logo-stage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.logo-stage > div { border-radius: var(--radius); padding: 36px 20px; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 190px; }
@media (max-width: 860px) { .logo-stage { grid-template-columns: 1fr; } }
.labels-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; align-items: flex-end; }
.labels-row figure { margin: 0; text-align: center; }
.labels-row svg { height: 300px; width: auto; }
.labels-row figcaption { font-weight: 800; color: var(--forest); font-size: .9rem; margin-top: 8px; }
.type-sample { display: grid; gap: 18px; }
.type-sample > div { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.no-red { display: flex; align-items: center; gap: 14px; }
.no-red span { width: 48px; height: 48px; border-radius: 12px; background: repeating-linear-gradient(45deg, #ddd 0 6px, #eee 6px 12px); position: relative; }
.no-red span::after { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 3px; background: var(--forest); transform: rotate(-45deg); }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
