/* NaturaOlej - Retro diner x botanical lab, lavender/graphite/mint */
:root {
  --lav: #c9a6e8;
  --lav-dk: #8a63b0;
  --teal: #2f8f7e;
  --mint: #8fd9c4;
  --graphite: #2a2e30;
  --graphite-2: #3a3f41;
  --cream: #f7f3ec;
  --red: #c4432f;
  --chrome: #e8e8e4;
  --ink: #202423;
  --radius: 14px;
  --measure: 68ch;
  --shadow-1: 0 10px 30px -10px rgba(32,36,35,.35);
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-mono: "Consolas", "SF Mono", monospace;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.12; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 8px; top: 8px; z-index: 999; background: var(--cream); padding: .5em 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.icon { width: 1.3em; height: 1.3em; stroke: currentColor; }
.icon-sm { width: 1em; height: 1em; vertical-align: -2px; }

/* ===== Layout helpers ===== */
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.flex { display: flex; gap: 1rem; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 12% 0); transition: opacity .7s ease, transform .7s ease, clip-path .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; clip-path: none; }
  html { scroll-behavior: auto; }
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--graphite);
  color: var(--chrome);
  border-bottom: 3px solid var(--mint);
}
.header-inner { max-width: 1180px; margin-inline: auto; padding: .7rem clamp(1rem, 4vw, 2.5rem); display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .5rem; color: var(--chrome); }
.logo-mark { width: 34px; height: 34px; }
.logo-word { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .02em; color: var(--chrome); }
.logo-word span { color: var(--mint); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--chrome); position: relative; padding: .3rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--mint); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--mint); }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.cart-link { position: relative; color: var(--chrome); display: inline-flex; }
.cart-count {
  position: absolute; top: -8px; right: -10px; background: var(--red); color: #fff;
  font-size: .68rem; min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.burger { display: none; background: none; border: 0; color: var(--chrome); padding: .3rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); background: var(--graphite);
  color: var(--chrome); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  z-index: 100; padding: 4rem 1.5rem 2rem; box-shadow: var(--shadow-1);
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; font-size: 1.1rem; }
.mobile-nav a { color: var(--chrome); }
.burger-close { position: absolute; top: 1rem; right: 1rem; }
@media (max-width: 860px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; cursor: pointer; font-size: .95rem; position: relative; overflow: hidden;
  min-height: 44px; font-family: var(--font-body);
}
.btn-fill { background: var(--teal); color: #fff; }
.btn-fill::before {
  content: ""; position: absolute; inset: 0; width: 100%; left: -100%;
  background: var(--lav-dk); transition: left .3s ease; z-index: 0;
}
.btn-fill:hover::before { left: 0; }
.btn-fill span, .btn-fill { z-index: 1; }
.btn-fill:hover { color: #fff; }
.btn-outline { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn-outline:hover { background: var(--graphite); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--chrome); color: var(--chrome); }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; min-height: 36px; }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  background: var(--graphite); color: var(--chrome); padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: repeating-linear-gradient(90deg, var(--mint) 0 20px, var(--lav) 20px 40px);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); color: #fff; }
.page-hero p { max-width: 50ch; color: var(--chrome); opacity: .85; }

/* ===== Breadcrumbs ===== */
.breadcrumbs { list-style: none; display: flex; gap: .4rem; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: var(--chrome); opacity: .8; flex-wrap: wrap; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; }
.breadcrumbs a { color: var(--mint); }

/* ===== Prose (legal text) ===== */
.prose { max-width: var(--measure); margin-inline: auto; padding-block: 2rem; }
.prose h2 { margin-top: 2rem; font-size: 1.4rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.prose p, .prose li { color: var(--graphite-2); }
.prose ul, .prose ol { padding-left: 1.3rem; }

/* ===== Legal TOC ===== */
.legal-toc { background: #fff; border: 1px solid #e3ddd0; border-radius: var(--radius); padding: 1.2rem 1.5rem; max-width: var(--measure); margin: 0 auto 2rem; }
.legal-toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; }

/* ===== Notice ===== */
.notice { border-radius: var(--radius); padding: 1rem 1.2rem; border-left: 4px solid var(--teal); background: #eaf5f1; margin: 1.2rem 0; }
.notice-warn { border-color: var(--red); background: #fbeae6; }

/* ===== Cards / sections ===== */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-alt { background: var(--graphite); color: var(--chrome); }
.section-head { max-width: 60ch; margin-bottom: 2rem; }
.section-head p { opacity: .8; }

.checker-band { height: 18px; background-image: conic-gradient(var(--graphite) 90deg, transparent 90deg 180deg, var(--graphite) 180deg 270deg, transparent 270deg); background-size: 18px 18px; }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  border: 1px solid #ece5d6; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -14px rgba(32,36,35,.4); }
.card-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.08); }
.card-body { padding: 1.1rem 1.2rem 1.4rem; }
.card-body h3 { font-size: 1.1rem; }
.price-tag { font-weight: 700; color: var(--teal); font-size: 1.05rem; }

/* ===== Product grid / strip ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; }
.product-strip {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem;
}
.product-strip .card { min-width: 240px; scroll-snap-align: start; }
@media (min-width: 860px) { .product-strip { overflow: visible; } }

/* ===== Product detail ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.product-detail .gallery { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.product-detail .gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-detail .meta-list { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .5rem; font-size: .92rem; color: var(--graphite-2); }
.qty-input { width: 72px; padding: .5rem; border-radius: 8px; border: 1px solid #d7cfbc; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* ===== Cart / checkout ===== */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.cart-table th, .cart-table td { padding: .8rem .6rem; border-bottom: 1px solid #e6e0d2; text-align: left; vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-summary { background: #fff; border: 1px solid #ece5d6; border-radius: var(--radius); padding: 1.4rem; max-width: 380px; margin-left: auto; box-shadow: var(--shadow-1); }
.cart-summary .row { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.cart-summary .row.total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid #e6e0d2; padding-top: .6rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--graphite-2); }

/* ===== Forms ===== */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 720px; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .field select {
  padding: .7rem .8rem; border-radius: 10px; border: 1px solid #d7cfbc; font: inherit; background: #fff;
  accent-color: var(--teal); min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-full { grid-column: 1 / -1; }
.field-error { color: var(--red); font-size: .82rem; min-height: 1.1em; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: .9rem; min-height: 1.3em; }
.form-msg.is-ok { color: var(--teal); }
.form-msg.is-error { color: var(--red); }

/* ===== Contact layout ===== */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); }
.contact-info { background: var(--graphite); color: var(--chrome); border-radius: var(--radius); padding: 1.6rem; }
.contact-info a { color: var(--mint); }
.contact-info ul { list-style: none; padding: 0; display: grid; gap: .9rem; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq { max-width: var(--measure); margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid #ece5d6; border-radius: var(--radius); padding: .2rem 1.2rem; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--teal); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 1rem; color: var(--graphite-2); margin: 0; }

/* ===== Hero (home) ===== */
.hero { position: relative; background: var(--graphite); color: #fff; overflow: hidden; padding: 4rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; max-width: 1180px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: #fff; }
.hero .lede { max-width: 42ch; opacity: .85; font-size: 1.05rem; }
.hero-media { position: relative; aspect-ratio: 1/1; border-radius: 28px; overflow: hidden; isolation: isolate; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) saturate(1.3) hue-rotate(220deg) contrast(1.05); transition: filter .4s ease; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(201,166,232,.35), rgba(47,143,126,.25)); mix-blend-mode: multiply; }
.hero-badge { position: absolute; bottom: -18px; left: -18px; width: 100px; z-index: 3; filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ===== Horizontal scroll story (desktop) ===== */
.scroll-story { position: relative; }
.scroll-story-track { display: flex; gap: 1.6rem; overflow-x: auto; scroll-snap-type: x proximity; padding: .5rem 0 1.5rem; }
.scroll-story-panel {
  flex: 0 0 min(72vw, 420px); scroll-snap-align: start; background: #fff; border-radius: var(--radius);
  border: 1px solid #ece5d6; padding: 1.6rem; box-shadow: var(--shadow-1); position: relative;
}
.scroll-story-panel .num { font-family: var(--font-mono); color: var(--lav-dk); font-size: .85rem; letter-spacing: .1em; }
@media (min-width: 1000px) {
  .scroll-story-track { scroll-snap-type: none; }
}

/* ===== Divider / pattern SVG blocks ===== */
.divider { width: 100%; height: auto; display: block; }
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .05; z-index: 1; mix-blend-mode: multiply; }

/* ===== Footer ===== */
.site-footer { background: var(--graphite); color: var(--chrome); margin-top: 3rem; }
.footer-divider { width: 100%; height: 40px; display: block; }
.footer-inner { max-width: 1180px; margin-inline: auto; padding: 1rem clamp(1rem, 4vw, 2.5rem) 2rem; display: grid; grid-template-columns: 1.2fr 2fr; gap: 2.5rem; }
.footer-logo { font-size: 1.2rem; }
.footer-brand p { opacity: .75; max-width: 30ch; }
.newsletter-form { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.newsletter-form input[type=email] { flex: 1; min-width: 160px; padding: .6rem .8rem; border-radius: 8px; border: 1px solid #555; background: var(--graphite-2); color: #fff; min-height: 44px; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; }
.footer-col h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mint); margin-bottom: .8rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; }
.footer-col a { color: var(--chrome); opacity: .85; }
.footer-col a:hover { opacity: 1; color: var(--mint); }
.footer-bottom { text-align: center; padding: 1rem; border-top: 1px solid #454a4b; opacity: .7; font-size: .85rem; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin-inline: auto;
  background: var(--graphite); color: var(--chrome); border-radius: var(--radius); padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-1); z-index: 200; display: grid; gap: .9rem;
}
.cookie-actions { display: flex; gap: .7rem; justify-content: flex-end; }

/* ===== Oil Compass (signature feature) ===== */
.compass {
  background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-1); border: 1px solid #ece5d6;
}
.compass-controls { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 1.5rem; }
.compass-group h4 { margin-bottom: .6rem; font-size: .95rem; }
.compass-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.compass-chip {
  border: 2px solid var(--graphite); border-radius: 999px; background: transparent; padding: .45rem 1rem;
  cursor: pointer; font-size: .85rem; min-height: 40px;
}
.compass-chip.is-selected { background: var(--teal); border-color: var(--teal); color: #fff; }
.compass-results { display: grid; gap: 1rem; }
.compass-result-card { display: flex; gap: 1rem; align-items: center; border: 1px solid #ece5d6; border-radius: 12px; padding: 1rem; }
.compass-result-card img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.compass-empty { color: var(--graphite-2); font-style: italic; }

/* COMPONENTS: .class - what it is
.wrap - centered max-width content wrapper
.grid / .grid-2 / .grid-3 - responsive grid helpers
.reveal / .reveal-stagger / .in-view - scroll-reveal animation hooks
.site-header / .header-inner / .main-nav / .mobile-nav / .burger - site header and navigation
.cart-link / .cart-count - header cart indicator
.btn / .btn-fill / .btn-outline / .btn-ghost / .btn-sm - button variants
.page-hero - inner page hero band (dark, checker stripe)
.breadcrumbs - breadcrumb trail list
.prose - long-form legal/readable text column
.legal-toc - table of contents box for legal pages
.notice / .notice-warn - callout boxes
.section / .section-alt / .section-head - page section wrapper and heading block
.checker-band - thin retro checker divider strip
.card / .card-media / .card-body / .price-tag - generic content/product card
.product-grid / .product-strip - catalog grid and mobile scroll-snap strip
.product-detail / .gallery / .meta-list / .qty-input - single product page layout
.cart-table / .cart-summary / .cart-empty - cart and checkout tables
.form-grid / .field / .field-error / .hp-field / .form-msg - form layout and validation
.contact-layout / .contact-info - contact page split layout
.faq / .faq-item - accordion FAQ built on details/summary
.hero / .hero-grid / .hero-media / .hero-badge - home page hero
.scroll-story / .scroll-story-track / .scroll-story-panel - horizontal scroll story section
.divider / .grain-overlay - decorative SVG dividers and grain texture
.site-footer / .footer-inner / .newsletter-form / .footer-col - site footer
.cookie-banner / .cookie-actions - cookie consent banner
.compass / .compass-controls / .compass-chip / .compass-results / .compass-result-card - Olejový Kompas signature feature
*/

/* wg-contrast-autofix */
div.wrap.scroll-story div.scroll-story-track article.scroll-story-panel.reveal h3 { color: #111111 !important; }
div.wrap.scroll-story div.scroll-story-track article.scroll-story-panel.reveal p { color: #111111 !important; }
