/* Tiszta Ruha — fő stíluslap */

:root {
  --font-heading: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --color-primary: oklch(56% 0.13 245);
  --color-primary-dark: oklch(45% 0.13 245);
  --color-primary-tint: oklch(94% 0.03 242);
  --color-text: oklch(23% 0.02 250);
  --color-text-muted: oklch(48% 0.015 250);
  --color-text-muted-2: oklch(52% 0.015 250);
  --color-text-body: oklch(30% 0.02 250);
  --color-text-soft: oklch(40% 0.02 250);
  --color-border: oklch(90% 0.008 240);
  --color-border-light: oklch(88% 0.008 240);
  --color-bg-soft: oklch(97% 0.006 240);
  --color-footer-text: oklch(55% 0.012 250);
  --color-danger: oklch(55% 0.14 25);
  --color-placeholder-a: oklch(93% 0.025 240);
  --color-placeholder-b: oklch(97% 0.012 240);
  --max-width: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: #ffffff;
  color: var(--color-text);
  line-height: 1.5;
}

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 800; margin: 0; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, oklch(70% 0.1 245), oklch(52% 0.14 245));
  display: inline-block;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 21px;
  color: var(--color-text);
}

.brand--footer .brand__mark { width: 30px; height: 30px; }
.brand--footer .brand__name { font-size: 18px; }

.main-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 15px;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 500;
}

.main-nav a.is-active {
  color: var(--color-primary);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-link {
  position: relative;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 15px;
  padding: 9px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.cart-link.is-active { color: var(--color-primary); font-weight: 700; }

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  font-size: 11px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-badge.is-visible { display: flex; }

.phone-btn {
  text-decoration: none;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-simple {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 15px;
}
.nav-simple a { text-decoration: none; color: var(--color-text-muted); font-weight: 500; }
.nav-simple a.is-active { color: var(--color-primary); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

.btn-outline {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border-light);
}

.btn-dark { background: #fff; color: var(--color-text); }

.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 8px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--color-bg-soft), #ffffff);
  padding: 72px 24px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1, .page-header h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 20px;
}

.page-header h1 { font-size: clamp(28px, 4vw, 42px); margin: 8px 0 16px; }

.hero p.lead, .page-header p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 0 32px;
}

.page-header p.lead { font-size: 17px; max-width: 680px; margin: 0; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.stat-row { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.stat-row__num { font-family: var(--font-heading); font-weight: 800; font-size: 28px; color: var(--color-text); }
.stat-row__label { font-size: 14px; color: var(--color-text-muted); }

.media-box {
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-bg-soft);
}
.media-box img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sections ---------- */
.section { padding: 72px 24px; }
.section--tight { padding: 56px 24px; }
.section--tighter { padding: 48px 24px; }
.section--white { background: #fff; }
.section--soft { background: var(--color-bg-soft); }
.section--tint { background: var(--color-primary-tint); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: 32px; margin: 0 0 14px; }
.section-head p { font-size: 16px; color: var(--color-text-muted); line-height: 1.6; }

.h2-tight { font-size: 26px; margin: 0 0 18px; }
.h2-center { font-size: 26px; margin: 0 0 32px; text-align: center; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-auto-220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-auto-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-auto-200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-auto-180 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grid-2--asym { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }

@media (max-width: 820px) {
  .hero__grid, .grid-2, .grid-2--asym { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-bg-soft);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--color-border);
}
.card-link { text-decoration: none; color: inherit; display: block; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-tint);
  margin-bottom: 18px;
}

.card h3 { font-size: 19px; margin: 0 0 10px; }
.card p { font-size: 14.5px; color: var(--color-text-muted); line-height: 1.55; margin: 0; }

.card--white { background: #fff; border: none; padding: 24px; border-radius: 16px; }
.card--white h4 { font-size: 16px; margin: 0 0 8px; font-family: var(--font-body); font-weight: 700; }
.card--white p { font-size: 14px; color: var(--color-text-muted); margin: 0; line-height: 1.5; }

.card--pad26 { padding: 26px; }

.step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-primary);
  font-size: 22px;
  margin-bottom: 10px;
}

.circle-step {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-primary-tint); color: var(--color-primary-dark);
  font-family: var(--font-heading); font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}

/* ---------- Why-us list ---------- */
.check-list { display: flex; flex-direction: column; gap: 20px; }
.check-item { display: flex; gap: 14px; }
.check-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); margin-top: 8px; flex-shrink: 0; }
.check-item strong { font-size: 16px; }
.check-item p { margin: 6px 0 0; color: var(--color-text-muted); font-size: 14.5px; line-height: 1.55; }

.tick-list { display: flex; flex-direction: column; gap: 14px; }
.tick-list--tight { gap: 12px; }
.tick-row { display: flex; gap: 12px; font-size: 15px; color: var(--color-text-body); }
.tick-row span.tick { color: var(--color-primary); font-weight: 700; }

.chip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.chip { background: var(--color-bg-soft); border-radius: 12px; padding: 16px 18px; font-size: 15px; font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border-radius: 16px; padding: 26px; text-align: left; }
.testimonial p { font-size: 15px; line-height: 1.6; color: var(--color-text-body); margin: 0 0 14px; }
.testimonial strong { font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-dark {
  max-width: 900px; margin: 0 auto; text-align: center;
  background: var(--color-text); border-radius: 24px; padding: 56px 32px;
}
.cta-dark h2 { font-size: 28px; color: #fff; margin: 0 0 14px; }
.cta-dark p { color: oklch(80% 0.01 250); font-size: 16px; margin: 0 0 28px; }

.cta-tint { max-width: 700px; margin: 0 auto; text-align: center; }
.cta-tint h2 { font-size: 26px; margin: 0 0 14px; }
.cta-tint p { color: oklch(45% 0.02 250); font-size: 16px; margin: 0 0 24px; }

/* ---------- FAQ (native details) ---------- */
.faq { max-width: 900px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 4px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--color-primary);
  margin-left: 12px;
}
.faq-item[open] summary::after { content: '\2013'; }
.faq-item p { margin: 0 0 18px; padding: 0 4px; font-size: 15px; color: var(--color-text-muted); line-height: 1.6; }

/* Advice/articles accordion */
.article-item { border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; }
.article-item summary {
  cursor: pointer; list-style: none;
  background: var(--color-bg-soft); padding: 20px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.article-item summary::-webkit-details-marker { display: none; }
.article-item summary::after { content: '+'; font-size: 22px; color: var(--color-primary); flex-shrink: 0; }
.article-item[open] summary::after { content: '\2013'; }
.article-item__category { font-size: 12px; color: var(--color-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.article-item__title { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--color-text); margin-top: 4px; }
.article-item__body { padding: 22px; font-size: 15px; color: var(--color-text-soft); line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  padding: 56px 24px 24px;
}
.site-footer__grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px;
}
.site-footer h5 {
  font-size: 14px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--color-text); margin: 0 0 16px; font-family: var(--font-body); font-weight: 700;
}
.site-footer p { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; margin: 0 0 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-links a { text-decoration: none; color: var(--color-text-muted); }
.site-footer__bottom {
  max-width: var(--max-width); margin: 36px auto 0; padding-top: 20px;
  border-top: 1px solid var(--color-border); font-size: 13px; color: var(--color-footer-text);
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between;
}

.footer-simple {
  background: var(--color-bg-soft); border-top: 1px solid var(--color-border);
  padding: 32px 24px; text-align: center;
}
.footer-simple__links {
  max-width: var(--max-width); margin: 0 auto; display: flex; gap: 20px; flex-wrap: wrap;
  justify-content: center; font-size: 13.5px; margin-bottom: 14px;
}
.footer-simple__links a { text-decoration: none; color: var(--color-text-muted); }
.footer-simple__links a.is-active { color: var(--color-primary); }
.footer-simple p { font-size: 13px; color: var(--color-footer-text); margin: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: var(--color-text); color: #fff; padding: 16px 24px;
  display: none; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; font-size: 14px; max-width: 640px; line-height: 1.5; }
.cookie-banner a { color: oklch(80% 0.05 240); }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner__details {
  text-decoration: none; padding: 10px 18px; border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px; color: #fff; font-size: 14px;
}
.cookie-banner__accept {
  padding: 10px 18px; border-radius: 8px; border: none;
  background: oklch(66% 0.12 245); color: #fff; font-weight: 600; cursor: pointer; font-size: 14px;
}

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form input, .form textarea, .form select {
  padding: 13px 16px; border: 1px solid var(--color-border-light); border-radius: 9px;
  font-size: 15px; font-family: var(--font-body); width: 100%;
}
.form textarea { resize: vertical; }
.form-note { font-size: 12.5px; color: var(--color-footer-text); margin: 2px 0 0; line-height: 1.5; }
.form-success {
  background: var(--color-primary-tint); border-radius: 14px; padding: 24px;
  font-size: 15px; color: var(--color-text-body);
}
.form-error {
  background: oklch(94% 0.05 25); border: 1px solid oklch(80% 0.1 25); border-radius: 10px;
  padding: 14px 16px; font-size: 14px; color: oklch(35% 0.14 25); margin-bottom: 4px;
}

.info-card { background: var(--color-bg-soft); border-radius: 16px; padding: 26px; }
.info-card h4 { margin: 0 0 8px; font-size: 16px; }
.info-card p { font-size: 15px; color: var(--color-text-muted); margin: 0; line-height: 1.6; }

/* ---------- Pricing table ---------- */
.price-table { border-collapse: collapse; width: 100%; }
.price-table td { padding: 14px 12px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--color-border); }
.price-table tr:last-child td { border-bottom: none; }
.price-table td.price { text-align: right; font-weight: 600; }
.price-block h2 { font-size: 22px; margin: 0 0 4px; }
.price-block .subtitle { font-size: 14px; color: var(--color-text-muted-2); margin: 0 0 16px; }

.legal-table { border-collapse: collapse; width: 100%; }
.legal-table th, .legal-table td { padding: 10px 12px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--color-border); }

/* ---------- Team ---------- */
.team-photo {
  aspect-ratio: 1; border-radius: 50%; margin: 0 auto 14px; max-width: 160px;
  overflow: hidden; background: var(--color-bg-soft);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member { text-align: center; }
.team-member strong { font-size: 15px; }
.team-member p { font-size: 13.5px; color: var(--color-text-muted-2); margin: 4px 0 0; }

/* ---------- Legal pages ---------- */
.legal-main { flex: 1; padding: 56px 24px; }
.legal-wrap { max-width: 800px; margin: 0 auto; }
.legal-wrap h1 { font-size: 34px; margin: 0 0 8px; }
.legal-date { font-size: 14px; color: var(--color-footer-text); margin: 0 0 36px; }
.legal-blocks { display: flex; flex-direction: column; gap: 28px; font-size: 15px; line-height: 1.7; color: var(--color-text-body); }
.legal-blocks h2 { font-size: 19px; margin: 0 0 10px; font-weight: 800; }
.legal-blocks p { margin: 0; }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }

.product-card { border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.product-card__img { aspect-ratio: 1; background: var(--color-bg-soft); overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__body strong { font-size: 15px; font-family: var(--font-heading); }
.product-card__body p { font-size: 13px; color: var(--color-text-muted); margin: 0; line-height: 1.5; flex: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-card__price { font-weight: 700; font-size: 15px; }
.btn-add { background: var(--color-primary); color: #fff; border: none; border-radius: 8px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; }

.cart-panel { background: var(--color-bg-soft); border-radius: 16px; padding: 24px; position: sticky; top: 88px; }
.cart-panel h2 { font-size: 19px; margin: 0 0 18px; }
.cart-empty { font-size: 14.5px; color: var(--color-text-muted-2); }
.cart-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; }
.cart-row__name { font-weight: 600; }
.qty-ctrl { color: var(--color-text-muted-2); display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.qty-btn { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--color-border-light); background: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
.cart-row__total { text-align: right; }
.cart-row__total .line-total { font-weight: 700; }
.remove-btn { border: none; background: none; color: var(--color-danger); font-size: 12px; cursor: pointer; padding: 0; margin-top: 4px; }
.cart-subtotal { border-top: 1px solid var(--color-border-light); padding-top: 14px; display: flex; justify-content: space-between; font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.btn-checkout { width: 100%; padding: 13px; background: var(--color-primary); color: #fff; border: none; border-radius: 8px; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.checkout-form { display: flex; flex-direction: column; gap: 10px; }
.checkout-form input { padding: 11px 14px; border: 1px solid var(--color-border-light); border-radius: 8px; font-size: 14px; width: 100%; font-family: var(--font-body); }
.order-success { background: var(--color-primary-tint); border-radius: 12px; padding: 18px; font-size: 14px; color: var(--color-text-body); line-height: 1.6; }
.shop-legal { max-width: 900px; margin: 0 auto; text-align: center; font-size: 13px; color: var(--color-footer-text); line-height: 1.6; }

.placeholder-box {
  display: flex; align-items: center; justify-content: center; color: oklch(48% 0.02 240);
  font-family: monospace; font-size: 13px; text-align: center; padding: 24px; width: 100%; height: 100%;
  background: repeating-linear-gradient(135deg, var(--color-placeholder-a) 0px, var(--color-placeholder-a) 16px, var(--color-placeholder-b) 16px, var(--color-placeholder-b) 32px);
}

.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .site-header__inner { gap: 12px; }
  .main-nav { font-size: 14px; gap: 12px; }
  .hero, .section { padding: 48px 20px; }
  .cta-dark { padding: 36px 20px; }
}
