/* Hársfa Polc — paper catalog, Budapest drugstore shelf */

:root {
  --paper: #f7f4ee;
  --white: #fffcf7;
  --ink: #1c1917;
  --muted: #5c574e;
  --navy: #1a2744;
  --green: #2f6a3c;
  --green-dark: #255530;
  --line: #d6d0c7;
  --wrap: 1120px;
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 0.15em; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 600; }
h1 { font-size: clamp(1.5rem, 4vw, 1.85rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
a, button, input, select, textarea, summary, label { scroll-margin-top: 5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.skip, .hp {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 100;
  width: auto; height: auto;
  margin: 0;
  padding: 0.65rem 1rem;
  clip: auto;
  overflow: visible;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.1rem;
}

.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 64px;
  flex-wrap: wrap;
}
.logo {
  color: var(--white);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin-right: auto;
}
.logo:hover { color: var(--white); opacity: 0.9; }
.header-place {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  order: 3;
  width: 100%;
}
.header-cta {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }

.crumbs {
  padding: 0.55rem 0;
  font-size: 0.8125rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.crumbs .wrap { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; }
.crumbs span[aria-hidden="true"] { color: var(--line); }

.product-stage { padding: 1.25rem 0 1.75rem; background: var(--white); }
.stage-grid { display: grid; gap: 1.5rem; }
.stage-gallery { min-width: 0; }
.stage-hero {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.stage-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.thumbs {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.thumbs li { border: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.thumbs img { width: 100%; height: 88px; object-fit: cover; }

.buybox {
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem;
  background: var(--white);
}
.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}
.buybox h1 { margin-bottom: 0.4rem; }
.sku { margin: 0 0 0.85rem; font-size: 0.9375rem; color: var(--muted); }
.price { margin: 0 0 0.5rem; line-height: 1.3; }
.price-main { font-size: 1.65rem; font-weight: 600; color: var(--navy); }
.price-unit { font-size: 0.875rem; color: var(--muted); }
.ship-line { margin: 0 0 0.85rem; font-size: 0.875rem; color: var(--muted); }
.facts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.875rem;
}
.facts li { padding: 0.3rem 0 0.3rem 1.1rem; position: relative; }
.facts li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}
.fine {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}
.buybox .btn-primary { width: 100%; padding: 0.65rem 1rem; }

.section { padding: 2rem 0; }
.section-alt { padding: 2rem 0; background: var(--paper); }
.section-note { margin: -0.25rem 0 1.25rem; font-size: 0.9375rem; color: var(--muted); }
.prose { max-width: 68ch; }
.prose > :last-child { margin-bottom: 0; }

.spec {
  width: 100%;
  margin: 1.25rem 0 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.spec caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.spec th, .spec td {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.spec th { width: 34%; font-weight: 500; color: var(--muted); background: var(--paper); }
.spec td { background: var(--white); }

.split { display: grid; gap: 1.25rem; align-items: start; }
.split > img {
  width: 100%;
  border: 1px solid var(--line);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.plain { padding-left: 1.25em; }
.plain li, .steps li { margin-bottom: 0.4rem; }
.steps { padding-left: 1.35em; }

.warn {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  background: var(--white);
}
.warn h3 { font-size: 0.9375rem; margin-bottom: 0.5rem; }
.warn ul { margin: 0; font-size: 0.9375rem; }

.prose details {
  margin: 1rem 0;
  border: 1px solid var(--line);
  background: var(--white);
}
.prose details + details { margin-top: 0.5rem; }
.prose summary {
  padding: 0.65rem 0.85rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.prose summary::-webkit-details-marker { display: none; }
.prose summary::before { content: "+ "; color: var(--green); font-weight: 600; }
.prose details[open] summary::before { content: "− "; }
.prose details > p, .prose details > :not(summary) {
  padding: 0 0.85rem 0.85rem;
  margin: 0;
  font-size: 0.9375rem;
}

.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.gallery li { display: flex; flex-direction: column; gap: 0.4rem; }
.gallery img {
  width: 100%;
  border: 1px solid var(--line);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.gallery span { font-size: 0.8125rem; color: var(--muted); }

.packages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.pkg {
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.pkg h3 { margin-bottom: 0.15rem; }
.pkg-mark { border-color: var(--navy); border-width: 2px; }
.badge {
  display: inline-block;
  margin: 0 0 0.25rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  align-self: flex-start;
}
.total { margin: 0; font-size: 1.35rem; font-weight: 600; color: var(--navy); }
.detail { margin: 0 0 0.65rem; font-size: 0.875rem; color: var(--muted); flex-grow: 1; }
.pkg .btn { align-self: flex-start; margin-top: auto; }

.narrow { max-width: 36rem; }
.hours {
  margin: 0 0 1.25rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.875rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.rendeles { margin-top: 0.5rem; }
.field { margin-bottom: 1rem; }
.field label, .field legend {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.field input[type="text"], .field input[type="tel"] {
  width: 100%;
  padding: 0.55rem 0.65rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.field input::placeholder { color: var(--muted); opacity: 0.75; }
.field input[aria-invalid="true"] { border-color: #9b2c2c; }
fieldset.field {
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  margin: 0 0 1rem;
  border-radius: var(--radius);
  background: var(--white);
}
.radio {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.9375rem;
  cursor: pointer;
}
.radio:last-child { margin-bottom: 0; }
.radio input { margin-top: 0.25rem; accent-color: var(--green); }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
}
.consent input { margin-top: 0.2rem; accent-color: var(--green); flex-shrink: 0; }

.hiba {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #7f1d1d;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
}

.btn {
  display: inline-block;
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-outline { background: var(--white); color: var(--green); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); }
.btn-lg { width: 100%; padding: 0.7rem 1.25rem; font-size: 1rem; }
button.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.site-footer {
  padding: 2rem 0 2.5rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.8125rem;
}
.footer-nav a:hover { color: var(--white); text-decoration: underline; }
.footer-legal p { margin-bottom: 0.75rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.9); }
.footer-legal a:hover { color: var(--white); }
.disclaimer { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.65); line-height: 1.5; }
.muted { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); }

.legal { padding: 2rem 0 3rem; }
.legal .wrap { max-width: 52rem; }
.legal h1 { font-size: clamp(1.5rem, 4vw, 1.85rem); margin-bottom: 0.5rem; }
.updated { margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--muted); }
.legal h2 { margin-top: 1.75rem; font-size: 1.15rem; }
.legal table {
  width: 100%;
  margin: 1rem 0 1.25rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.legal th, .legal td {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.legal th { width: 30%; font-weight: 500; color: var(--muted); background: var(--paper); }
.legal td { background: var(--white); }
.legal-back { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.lead { font-size: 1.0625rem; max-width: 42ch; }

.suti-sav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.85rem 1.1rem;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(28, 25, 23, 0.08);
}
.suti-sav-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.suti-sav-inner p { margin: 0; font-size: 0.875rem; max-width: 62ch; }
.suti-sav-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.suti-sav-actions .btn { font-size: 0.875rem; padding: 0.45rem 0.85rem; }
body:has(.suti-sav) { padding-bottom: 7.5rem; }

@media (min-width: 800px) {
  .header-place { order: 0; width: auto; margin-right: auto; }
  .logo { margin-right: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .packages { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
  .suti-sav-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .suti-sav-actions { flex-shrink: 0; }
  .btn-lg { width: auto; min-width: 14rem; }
}

@media (min-width: 1024px) {
  .stage-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 2rem;
    align-items: start;
  }
  .buybox { position: sticky; top: 1rem; }
}

/* ==================================================================
   Google Ads megfelelőségi kiegészítések — 2026-08-31
   ================================================================== */

/* Fejléc: látható telefonszám (üzleti átláthatóság) */
.header-tel {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.header-tel:hover { color: var(--white); text-decoration: underline; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green-dark); text-decoration: underline; }

/* Ár- és eladói átláthatóság a vásárlódobozban */
.price-vat {
  margin: -0.4rem 0 0.9rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.seller-line {
  margin: 0.9rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Kiemelt jogi/termékbesorolási doboz */
.notice {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
}
.notice > :last-child { margin-bottom: 0; }
.notice h2 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.notice p { font-size: 0.9375rem; }
.notice-strong { border-left-color: var(--green); }

/* Fejlesztői megjegyzés — világos háttéren olvasható */
.note-dev {
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
}

/* Kapcsolat oldal */
.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 1.25rem 0 2rem;
}
.contact-card {
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-card h3 { margin-bottom: 0.35rem; font-size: 0.9375rem; color: var(--muted); }
.contact-card p { font-size: 0.875rem; }
.contact-card > :last-child { margin-bottom: 0; }
.contact-main { font-size: 1.05rem; font-weight: 600; }
.contact-main a { text-decoration: none; }

/* Elállási nyilatkozatminta */
.formminta {
  margin: 1rem 0 1.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}
.formminta > :last-child { margin-bottom: 0; }

/* INCI lista */
.inci { font-size: 0.875rem; letter-spacing: 0.01em; }

/* Kötelező mező jelölés */
.req { color: var(--green); font-weight: 600; }

/* Nem kötelező hozzájárulás vizuálisan elkülönítve */
.consent-optional {
  border-top: 1px dashed var(--line);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.linkrow { font-size: 0.9375rem; }

/* Lábléc: gomb, ami linkként néz ki (a "#" horgony helyett) */
.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.footer-nav .linklike { color: inherit; }
.copyright { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); margin-top: 0.75rem; }

/* Süti-sáv: az elfogadás és az elutasítás azonos súlyú (nincs dark pattern) */
.suti-sav-cim { font-weight: 600; margin-bottom: 0.25rem !important; }
.btn-consent {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
  font-size: 0.875rem;
  padding: 0.5rem 0.9rem;
}
.btn-consent:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

@media (max-width: 600px) {
  .header-tel { display: none; }
  .suti-sav-actions .btn-consent { flex: 1 1 100%; text-align: center; }
}

@media (max-width: 600px) {
  .suti-sav-inner { padding: 0.9rem 1rem; gap: 0.5rem; }
  .suti-sav-inner p { font-size: 0.8125rem; }
  body:has(.suti-sav) { padding-bottom: 12rem; }
}

/* ==================================================================
   Köszönőoldal — adatellenőrző blokk
   ================================================================== */
.adatcheck {
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
}
.adatcheck[hidden] { display: none; }
.adatcheck h2 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.adatcheck-note { font-size: 0.875rem; color: var(--muted); }
.adatlista { margin: 1rem 0; }
.adatsor {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}
.adatsor[hidden] { display: none; }
.adatlista dt {
  flex: 0 0 9rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.adatlista dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.adatcheck-actions { margin-top: 0.5rem; }
.adatcheck-actions .btn { font-size: 0.9375rem; }
.adatcheck-fine {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
@media (max-width: 480px) {
  .adatlista dt { flex: 0 0 100%; }
  .adatcheck-actions .btn { width: 100%; text-align: center; }
}

/* Süti-sáv: a cím ne szoruljon össze széles képernyőn sem */
.suti-sav-inner { flex-wrap: wrap; }
.suti-sav-cim { flex: 1 1 100%; }
