/* Naturena — bio potraviny, čaje, orechy. Global stylesheet. */

:root {
  --color-bg: oklch(98% 0.012 95);
  --color-text: oklch(23% 0.01 90);
  --color-text-soft: oklch(35% 0.01 90);
  --color-text-softer: oklch(40% 0.01 90);
  --color-heading: oklch(22% 0.02 90);

  --color-primary: oklch(45% 0.09 145);
  --color-primary-dark: oklch(30% 0.09 145);
  --color-primary-soft-bg: oklch(94% 0.03 145);
  --color-primary-soft-text: oklch(30% 0.09 145);
  --color-accent-bg: oklch(96% 0.02 90);

  --color-border: oklch(90% 0.02 90);
  --color-border-soft: oklch(85% 0.02 90);

  --color-badge-bg: oklch(50% 0.15 30);
  --color-danger: oklch(45% 0.12 25);

  --color-footer-bg: oklch(28% 0.02 70);
  --color-footer-text: oklch(93% 0.01 90);
  --color-footer-text-soft: oklch(85% 0.01 90);
  --color-footer-text-softer: oklch(72% 0.01 90);
  --color-footer-border: oklch(38% 0.02 70);

  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, Segoe UI, sans-serif;

  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: var(--font-heading);
  margin: 0;
  color: var(--color-heading);
  font-weight: 700;
}

p { margin: 0; }

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow { max-width: 900px; }
.container--legal { max-width: 760px; }
.container--faq { max-width: 800px; }

.section { padding: 56px 20px; }
.section--tight { padding: 16px 20px 56px; }
.section--tinted { background: var(--color-primary-soft-bg); }
.section--accent { background: var(--color-accent-bg); }

.text-center { text-align: center; }

.eyebrow { color: var(--color-text-soft); }

/* Buttons */
.btn {
  display: inline-block;
  min-height: 44px;
  padding: 18px 32px;
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 1.1;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-soft { background: var(--color-primary-soft-bg); color: var(--color-primary-soft-text); }
.btn-soft:hover { background: oklch(90% 0.04 145); }
.btn-block { width: 100%; padding: 12px; font-size: 16px; }
.btn-small { padding: 16px 32px; font-size: 17px; }

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

.cookie-banner {
  background: oklch(30% 0.02 70);
  color: oklch(97% 0.01 90);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1.5;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner span { max-width: 640px; }
.cookie-banner a { color: oklch(88% 0.05 145); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept, .cookie-decline {
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  font-family: var(--font-body);
}
.cookie-accept { background: oklch(60% 0.1 145); color: #fff; }
.cookie-decline { background: transparent; color: oklch(97% 0.01 90); border: 1px solid oklch(70% 0.02 90); font-weight: 400; }

.header-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: oklch(55% 0.1 145);
  display: inline-block;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-heading);
}

.nav-desktop { display: none; gap: 26px; align-items: center; }
.nav-link {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  color: oklch(30% 0.01 90);
  padding: 8px 4px;
  border-bottom: 3px solid transparent;
}
.nav-link.active {
  font-weight: 700;
  color: oklch(35% 0.09 145);
  border-bottom-color: oklch(55% 0.1 145);
}

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

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--color-primary-soft-bg);
  text-decoration: none;
  flex-shrink: 0;
}
.cart-icon {
  width: 22px;
  height: 18px;
  border: 2.5px solid oklch(35% 0.09 145);
  border-top: none;
  border-radius: 0 0 4px 4px;
  display: block;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--color-badge-bg);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-badge[hidden] { display: none; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
}
.menu-toggle span { width: 26px; height: 3px; background: oklch(25% 0.02 90); border-radius: 2px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 20px 20px;
  gap: 4px;
  border-top: 1px solid var(--color-border);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile .nav-link {
  font-size: 19px;
  padding: 14px 10px;
  border-radius: 10px;
  border-bottom: none;
}
.nav-mobile .nav-link.active { background: var(--color-primary-soft-bg); }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* Hero split */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 20px 48px;
}
.hero-split--page { padding: 48px 20px 40px; gap: 40px; }
.hero-split--reverse .hero-media { order: 1; }

.hero-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 6/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero-split--page .hero-media img { aspect-ratio: 5/4; }
.hero-split .hero-media img { aspect-ratio: 5/4; }

.hero-title { font-size: 44px; line-height: 1.2; }
.hero-split--page .hero-title { font-size: 38px; margin-bottom: 16px; }
.hero-text { font-size: 20px; line-height: 1.6; color: var(--color-text-soft); margin: 22px 0 0; max-width: 520px; }
.hero-split--page .hero-text { font-size: 19px; line-height: 1.7; color: oklch(32% 0.01 90); margin: 0; max-width: none; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

@media (max-width: 780px) {
  .hero-split, .hero-split--page { grid-template-columns: 1fr; }
  .hero-split--reverse .hero-media { order: 0; }
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  text-align: center;
  padding: 24px 12px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-soft-bg);
  margin: 0 auto 14px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 6px; }

/* Card grid (category / topic cards) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: block;
}
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h2, .card-body h3 { font-size: 20px; }

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.mini-card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--color-border);
}
.mini-card h3 { font-size: 17px; }

/* Popular / product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.product-grid--wide { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.product-grid--wide .product-card { border-radius: var(--radius-md); }
.product-media { aspect-ratio: 1/1; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 16px; }
.product-grid--wide .product-body { padding: 18px; }
.product-body h3 { font-size: 16px; margin: 0; }
.product-grid--wide .product-body h3 { font-size: 17px; margin-bottom: 6px; }
.product-note { font-size: 15px; line-height: 1.5; color: var(--color-text-softer); margin: 0 0 14px; }

.btn-add {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  font-family: var(--font-body);
}
.btn-add.is-added { background: var(--color-primary-soft-bg); color: var(--color-primary-soft-text); }

/* Text-image informational sections */
.info-title { font-size: 30px; margin-bottom: 16px; }
.info-text { font-size: 18px; line-height: 1.7; color: oklch(30% 0.01 90); }
.info-text + .info-text { margin-top: 14px; }

/* Tips grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.tip-card { background: #fff; padding: 26px; border-radius: 14px; }
.tip-card h3 { font-size: 19px; margin-bottom: 10px; }
.tip-card p { font-size: 16px; line-height: 1.6; color: var(--color-text-soft); }

/* CTA */
.cta { max-width: 1000px; margin: 0 auto; padding: 56px 20px; text-align: center; }
.cta p { font-size: 18px; line-height: 1.7; color: var(--color-text-soft); margin-bottom: 28px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--color-text);
  font-family: var(--font-body);
}
.faq-sign {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary-soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-primary-soft-text);
}
.faq-answer { padding: 0 20px 20px; font-size: 17px; line-height: 1.7; color: oklch(32% 0.01 90); margin: 0; display: none; }
.faq-item.is-open .faq-answer { display: block; }

/* Cart */
.cart-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.cart-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cart-item-name { font-size: 18px; font-weight: 600; }
.cart-item-controls { display: flex; align-items: center; gap: 12px; }
.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--color-border-soft);
  background: #fff;
  font-size: 20px;
  cursor: pointer;
}
.qty-value { font-size: 18px; font-weight: 600; min-width: 24px; text-align: center; }
.remove-btn {
  margin-left: 8px;
  background: none;
  border: none;
  color: var(--color-danger);
  font-size: 15px;
  text-decoration: underline;
  cursor: pointer;
  padding: 8px;
  font-family: var(--font-body);
}

.cart-order-box { background: var(--color-primary-soft-bg); border-radius: 16px; padding: 28px; text-align: center; }
.cart-order-box p { font-size: 17px; line-height: 1.6; color: oklch(30% 0.01 90); margin: 0 0 20px; }
.cart-empty { text-align: center; padding: 40px 20px; }
.cart-empty p { font-size: 18px; line-height: 1.7; color: var(--color-text-soft); margin-bottom: 24px; }

.order-form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 0 auto; text-align: left; }
.order-form input, .order-form textarea {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--color-border-soft);
  font-size: 16px;
  font-family: var(--font-body);
  width: 100%;
}
.order-form textarea { resize: vertical; }
.order-success { font-size: 18px; font-weight: 600; color: oklch(35% 0.09 145); margin: 0; }
.order-error { font-size: 15px; color: var(--color-danger); margin: 0; display: none; }
.order-error.is-visible { display: block; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.contact-card { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--color-border); padding: 28px; }
.contact-card h2 { font-size: 22px; margin-bottom: 12px; }
.contact-card p { font-size: 18px; line-height: 1.7; color: oklch(30% 0.01 90); }
.contact-card .contact-meta { font-size: 16px; color: oklch(45% 0.01 90); margin-top: 12px; }
.map-wrap { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-border); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Legal content */
.legal-content { display: flex; flex-direction: column; gap: 22px; font-size: 17px; line-height: 1.75; color: oklch(28% 0.01 90); }
.legal-content h2 { font-size: 22px; margin-top: 8px; }
.legal-title { font-size: 34px; margin-bottom: 28px; }

/* Articles (Inspiracia) */
.article-block { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.article-block--tinted { background: var(--color-accent-bg); border-radius: var(--radius-lg); }
.article-media { aspect-ratio: 16/7; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 24px; }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-block h2 { font-size: 28px; margin-bottom: 14px; }
.article-block p { font-size: 18px; line-height: 1.75; color: oklch(30% 0.01 90); margin: 0; }
.article-block p + p { margin-top: 14px; }

/* Footer */
.site-footer { background: var(--color-footer-bg); color: var(--color-footer-text); margin-top: 64px; }
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-brand { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-about { font-size: 16px; line-height: 1.7; color: var(--color-footer-text-soft); max-width: 280px; }
.footer-heading { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--color-footer-text-soft); text-decoration: none; font-size: 16px; }
.footer-links a:hover { color: #fff; }
.footer-address { font-size: 16px; line-height: 1.7; color: var(--color-footer-text-soft); margin: 0 0 10px; }
.footer-legal-name { font-size: 15px; line-height: 1.6; color: var(--color-footer-text-softer); margin: 0; }
.footer-bottom {
  border-top: 1px solid var(--color-footer-border);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 14px; color: var(--color-footer-text-softer); }
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a { color: oklch(78% 0.01 90); text-decoration: none; font-size: 14px; }
.footer-legal-links a:hover { color: #fff; }

/* Section heading helpers */
.section-title { font-size: 32px; margin-bottom: 32px; }
.section-title--tight { margin-bottom: 12px; }
.section-lead { text-align: center; font-size: 18px; color: oklch(40% 0.01 90); max-width: 640px; margin: 0 auto 36px; }
