/* NovenyMix — přírodní e-shop. Self-contained stylesheet (no external fonts/CDN). */

:root {
  --bg: oklch(98% 0.012 88);
  --bg-alt: oklch(94% 0.018 85);
  --card: oklch(99% 0.008 90);
  --border: oklch(88% 0.015 90);
  --text: oklch(24% 0.02 95);
  --text-soft: oklch(30% 0.015 95);
  --text-muted: oklch(45% 0.015 95);
  --text-faint: oklch(55% 0.01 90);
  --green: oklch(42% 0.09 145);
  --green-dark: oklch(32% 0.08 145);
  --green-light: oklch(90% 0.03 145);
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: var(--font-sans); }
::placeholder { color: var(--text-faint); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; margin: 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-legal { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--bg) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .header-inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 24px;
}
.logo {
  font-family: var(--font-serif); font-size: 26px; font-weight: 600;
  letter-spacing: 0.5px; color: var(--green-dark); text-decoration: none; flex: 0 0 auto;
}
.nm-desktop-nav { display: none; gap: 28px; flex: 1; }
.nm-desktop-nav a { font-size: 15px; color: var(--text); text-decoration: none; }
.nm-desktop-nav a:hover, .nm-mobile-nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.search-form { display: flex; }
.search-input {
  width: 180px; padding: 9px 12px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--card); font-size: 14px; outline: none;
}
.account-icon {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--text);
  display: flex; align-items: center; justify-content: center; font-size: 12px; text-decoration: none; color: var(--text);
}
.cart-link {
  position: relative; display: flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-radius: 20px; background: var(--green); color: var(--bg); font-size: 14px; text-decoration: none;
}
.cart-badge {
  background: var(--bg); color: var(--green-dark); border-radius: 10px; padding: 1px 7px;
  font-size: 12px; font-weight: 600;
}
.cart-badge[hidden] { display: none; }
.hamburger {
  display: flex; flex-direction: column; gap: 4px; padding: 4px; background: none; border: none; cursor: pointer;
}
.hamburger span { width: 22px; height: 2px; background: var(--text); display: block; }
.nm-mobile-nav {
  display: none; flex-direction: column; padding: 8px 24px 20px; gap: 14px; border-top: 1px solid var(--border);
}
.nm-mobile-nav.open { display: flex; }
.nm-mobile-nav a { font-size: 16px; color: var(--text); text-decoration: none; }
@media (min-width: 900px) {
  .nm-desktop-nav { display: flex !important; }
  .hamburger { display: none !important; }
  .nm-mobile-nav { display: none !important; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 28px; border: none; font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none; font-family: var(--font-sans);
}
.btn-primary { background: var(--green); color: var(--bg); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
.btn-block { width: 100%; }
.btn-small { padding: 11px; border-radius: 20px; font-size: 14px; }
.btn:disabled { background: var(--bg-alt); color: var(--text-faint); cursor: not-allowed; border: 1px solid var(--border); }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 90px 24px 100px; text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(94% 0.018 85 / 0.55), oklch(98% 0.012 88 / 0.92)); }
.hero-content { position: relative; max-width: 780px; margin: 0 auto; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.hero h1 { font-size: 52px; line-height: 1.15; margin: 0 0 22px; color: oklch(22% 0.02 95); }
.hero p.lead { font-size: 19px; line-height: 1.6; color: var(--text-muted); margin: 0 0 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .hero h1 { font-size: 36px; } .hero p.lead { font-size: 17px; } }

/* ===== GENERIC SECTIONS ===== */
.section { padding: 80px 24px; }
.section-alt { background: var(--bg-alt); }
.section-bordered { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: 32px; text-align: center; margin: 0 0 12px; }
.section .subtitle { text-align: center; color: var(--text-muted); margin: 0 0 44px; }
.section-header-row {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 32px; flex-wrap: wrap; gap: 12px;
}
.section-header-row h2 { text-align: left; margin: 0; }
.link-arrow { color: var(--green); font-size: 15px; text-decoration: underline; }

/* ===== GRIDS ===== */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-products { gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-steps { gap: 22px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.grid-advantages { gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-blog { gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ===== CATEGORY CARD ===== */
.category-card { border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--border); text-decoration: none; color: var(--text); display: block; }
.category-card .thumb { height: 150px; position: relative; overflow: hidden; }
.category-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.category-card .label { padding: 16px 18px; font-size: 16px; font-weight: 600; }

/* ===== PRODUCT CARD ===== */
.product-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--border); height: 100%; text-decoration: none; color: var(--text); }
.product-card .thumb { height: 180px; position: relative; overflow: hidden; display: block; text-decoration: none; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .cat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--green); }
.product-card .name { font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; color: var(--text); }
.product-card .desc { font-size: 13px; color: var(--text-muted); line-height: 1.4; flex: 1; }
.product-card .price-row { display: flex; justify-content: space-between; align-items: baseline; }
.product-card .price { font-size: 17px; font-weight: 600; }
.product-card .weight { font-size: 12px; color: var(--text-muted); }
.product-card .avail { font-size: 12px; }
.avail.in { color: var(--green); }
.avail.out { color: var(--text-faint); }
.add-to-cart-form { margin: 0; }

/* ===== PROCESS STEPS ===== */
.step { text-align: center; padding: 8px; }
.step .num { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--bg); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 20px; margin: 0 auto 16px; }
.step .label { font-size: 15px; font-weight: 600; }

/* ===== ADVANTAGES ===== */
.advantage { text-align: center; }
.advantage .icon { width: 48px; height: 48px; border-radius: 50%; background: var(--green-light); margin: 0 auto 18px; }
.advantage .title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.advantage .desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ===== BLOG CARD ===== */
.blog-card { border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--border); text-decoration: none; color: var(--text); display: block; }
.blog-card .thumb { height: 150px; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 18px; }
.blog-card .title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.blog-card .excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ===== CATALOG ===== */
.catalog-title { font-size: 34px; margin: 0 0 8px; }
.catalog-count { color: var(--text-muted); margin: 0 0 36px; }
.catalog-layout { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 700px) { .catalog-layout { grid-template-columns: 220px 1fr; } }
.filters { display: flex; flex-direction: column; gap: 26px; }
.filter-group .filter-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; }
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-option { cursor: pointer; font-size: 14px; padding: 5px 0; color: var(--text-soft); background: none; border: none; text-align: left; font-family: var(--font-sans); }
.filter-option.active { color: var(--green-dark); font-weight: 700; }
.filter-select, .filter-range { width: 100%; padding: 9px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); font-size: 14px; }
.filter-reset { cursor: pointer; font-size: 13px; color: var(--green); text-decoration: underline; background: none; border: none; padding: 0; font-family: var(--font-sans); }
.empty-state { padding: 60px 0; text-align: center; color: var(--text-muted); }

/* ===== PRODUCT DETAIL ===== */
.back-link { font-size: 14px; color: var(--text-muted); text-decoration: none; }
.product-detail-grid { display: grid; grid-template-columns: 1fr; gap: 48px; margin-top: 24px; }
@media (min-width: 700px) { .product-detail-grid { grid-template-columns: 1fr 1fr; } }
.product-gallery-main { height: 380px; border-radius: 18px; overflow: hidden; margin-bottom: 14px; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product-gallery-thumbs .thumb-box { height: 90px; border-radius: 12px; overflow: hidden; }
.product-gallery-thumbs .thumb-box img { width: 100%; height: 100%; object-fit: cover; }
.product-info .cat { font-size: 13px; color: var(--green); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.product-info h1 { font-size: 32px; margin: 0 0 14px; }
.product-info .price { font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.product-info .meta { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.product-info .short-desc { font-size: 15px; line-height: 1.6; color: var(--text-soft); margin: 0 0 26px; }
.qty-add-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; }
.qty-stepper button { width: 38px; height: 38px; border: none; background: transparent; font-size: 18px; cursor: pointer; }
.qty-stepper input { width: 34px; text-align: center; font-size: 15px; border: none; background: transparent; }
.product-facts { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--border); padding-top: 22px; }
.product-facts .fact-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.product-facts .fact-body { font-size: 14px; color: var(--text-soft); line-height: 1.6; }
.reviews-block { margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--border); }
.reviews-block h2 { font-size: 22px; margin: 0 0 10px; text-align: left; }
.reviews-block p { font-size: 14px; color: var(--text-muted); margin: 0 0 16px; }

/* ===== CART ===== */
.cart-line { display: flex; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); flex-wrap: wrap; }
.cart-line .thumb { width: 80px; height: 80px; border-radius: 10px; flex: 0 0 auto; overflow: hidden; }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .info { flex: 1; min-width: 160px; }
.cart-line .info .name { font-size: 15px; font-weight: 600; }
.cart-line .info .sub { font-size: 13px; color: var(--text-muted); }
.cart-line .line-total { width: 80px; text-align: right; font-weight: 600; font-size: 15px; }
.cart-line .remove { cursor: pointer; color: var(--text-faint); font-size: 13px; text-decoration: underline; background: none; border: none; font-family: var(--font-sans); }
.cart-summary { display: flex; justify-content: flex-end; margin-top: 28px; }
.cart-summary-box { width: 100%; max-width: 280px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; padding: 14px 0; border-top: 1px solid var(--border); }
.cart-actions { display: flex; flex-direction: column; gap: 10px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--text-muted); }

/* ===== CHECKOUT ===== */
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 700px) { .checkout-grid { grid-template-columns: 1.4fr 1fr; } }
.form-col { display: flex; flex-direction: column; gap: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
.text-input, .text-area {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); font-size: 14px; width: 100%;
}
.text-area { min-height: 70px; resize: vertical; }
.form-label { font-size: 14px; font-weight: 600; margin-top: 8px; }
.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-group label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.order-summary { background: var(--bg-alt); border-radius: 16px; padding: 24px; align-self: start; }
.order-summary .heading { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.order-summary-lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; font-size: 14px; }
.order-summary-line { display: flex; justify-content: space-between; }
.order-summary-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; border-top: 1px solid var(--border); padding-top: 14px; }
.thanks-block { text-align: center; padding: 80px 24px; }
.thanks-block h1 { font-size: 30px; margin: 0 0 16px; }
.thanks-block p { color: var(--text-muted); margin: 0 0 28px; }

/* ===== ABOUT / CONTACT / LEGAL ===== */
.page-photo { height: 280px; border-radius: 18px; margin-bottom: 36px; overflow: hidden; }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }
.prose { display: flex; flex-direction: column; gap: 22px; font-size: 16px; line-height: 1.7; color: var(--text-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info .name { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.contact-info .details { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-soft); margin-bottom: 28px; }
.contact-map { height: 200px; border-radius: 14px; overflow: hidden; }
.contact-map img { width: 100%; height: 100%; object-fit: cover; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-thanks { padding: 40px 0; color: var(--text-soft); }
.legal-sections { display: flex; flex-direction: column; gap: 16px; }
.legal-sections p { font-size: 15px; line-height: 1.7; color: var(--text-soft); margin: 0; }
.impressum-list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-soft); }
.impressum-list ul { margin: 0; padding-left: 20px; line-height: 1.7; }

/* ===== BLOG POST ===== */
.blog-post-photo { height: 260px; border-radius: 16px; margin-bottom: 28px; overflow: hidden; }
.blog-post-photo img { width: 100%; height: 100%; object-fit: cover; }
.blog-post-body p { font-size: 16px; line-height: 1.75; color: var(--text-soft); margin: 0 0 20px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 60px 24px 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; margin-bottom: 40px; }
.footer-brand { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--green-dark); margin-bottom: 16px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.6; max-width: 220px; }
.footer-col-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-links a { text-decoration: none; color: var(--text-soft); }
.footer-links a:hover { color: var(--green); }
.footer-contact { display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--text-soft); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-faint); }
.footer-bottom a { color: var(--text-faint); text-decoration: underline; }

/* ===== 404 ===== */
.error-page { text-align: center; padding: 120px 24px; }
.error-page h1 { font-size: 96px; margin: 0; color: var(--green-light); }
.error-page p { font-size: 18px; color: var(--text-muted); margin: 16px 0 32px; }

/* ===== FORM FEEDBACK ===== */
.form-error { color: oklch(50% 0.18 25); font-size: 13px; margin: -6px 0 0; }
.form-note { font-size: 12px; color: var(--text-faint); }
