/* Orechy Kvapka — Vaporwave sunset design system */
:root {
  --sky: #bfe9ff;
  --cream: #fef3e6;
  --sun: #ffb703;
  --terra: #e2653c;
  --pink: #ff2fb0;
  --cyan: #2fe0ff;
  --ink: #2b2318;
  --ink-soft: #5c4f3d;
  --white: #ffffff;
  --line: #e7d8bf;
  --radius: 18px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", Consolas, 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(--terra); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 4px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white);
  padding: .6em 1em; z-index: 100;
}
.skip-link:focus { left: 0; }

.icon { width: 1.2em; height: 1.2em; stroke: currentColor; vertical-align: -.2em; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: .7em 1.2em;
  display: flex; align-items: center; justify-content: space-between; gap: 1em;
}
.brand { display: flex; align-items: center; gap: .6em; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand--footer .brand__mark { width: 32px; height: 32px; }
.brand__word { font-family: var(--font-display); line-height: 1.1; font-size: .95rem; color: var(--ink); }
.brand__word strong { font-size: 1.15rem; color: var(--terra); }

.nav-main { display: flex; align-items: center; gap: 1.4em; }
.nav-main a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; position: relative; }
.nav-main a.is-active { color: var(--terra); }
.nav-main a:not(.nav-cart)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--pink); transition: width .25s ease;
}
.nav-main a:not(.nav-cart):hover::after { width: 100%; }
.nav-cart { display: inline-flex; align-items: center; gap: .4em; }
.cart-badge {
  background: var(--pink); color: var(--white); border-radius: 999px;
  font-size: .72rem; min-width: 1.4em; height: 1.4em; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 .3em;
}
.cart-badge.bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: none; background: none; cursor: pointer;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); }

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav-main {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); height: 100vh;
    background: var(--cream); flex-direction: column; align-items: flex-start;
    padding: 5em 1.5em 2em; gap: 1.4em; box-shadow: -8px 0 24px rgba(0,0,0,.15);
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease;
    z-index: 60;
  }
  .nav-main.is-open { transform: translateX(0); visibility: visible; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .75em 1.4em; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--cream); font-weight: 700; font-size: .95rem;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
}
.btn--sweep::before {
  content: ""; position: absolute; inset: 0; left: -100%; width: 100%;
  background: var(--pink); z-index: -1; transition: left .3s ease;
}
.btn--sweep:hover::before { left: 0; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--small { padding: .5em 1em; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }

.link-underline {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--terra);
  border-bottom: 2px solid transparent; transition: border-color .2s;
}
.link-underline:hover { border-color: var(--terra); }

/* ===== Layout helpers ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 3.5em 1.2em; }
.section--divider { padding: 0 1.2em; }
.eyebrow { font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--terra); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.section-lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 560px; }
.grid { display: grid; gap: 1.5em; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 1em; }

.divider { width: 100%; height: 48px; display: block; }

/* ===== Reveal / motion ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease, clip-path .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; }
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__inner {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3em, 8vw, 6em) 1.2em; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 2em; align-items: center; min-height: 70vh;
}
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .95; margin-bottom: .5em;
  color: var(--ink);
}
.hero__title em { color: var(--terra); font-style: normal; }
.hero__lead { max-width: 420px; font-size: 1.1rem; color: var(--ink-soft); }
.hero__actions { display: flex; gap: 1em; flex-wrap: wrap; }
.hero__visual { position: relative; }
.hero__photo { aspect-ratio: 1/1; clip-path: url(#dropClip); overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__ring { position: absolute; inset: -10% ; width: 120%; height: 120%; z-index: -1; animation: spin 40s linear infinite; }
@media (prefers-reduced-motion: reduce) { .hero__ring { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
}

/* ===== Intro / value list ===== */
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2em; align-items: start; }
.value-list { display: flex; flex-direction: column; gap: 1em; }
.value-list li { display: flex; align-items: center; gap: .6em; font-weight: 600; }
@media (max-width: 760px) { .intro-grid { grid-template-columns: 1fr; } }

/* ===== Mixer (signature feature) ===== */
.section--mixer { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--sky) 40%, transparent)); border-radius: var(--radius); }
.mixer__panel {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 2em; margin-top: 1.5em;
  background: var(--white); border-radius: var(--radius); padding: 2em; box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.mixer-row { display: grid; grid-template-columns: 140px 1fr 60px; align-items: center; gap: 1em; margin-bottom: 1.2em; }
.mixer-row label { font-weight: 700; }
.mixer-row input[type="range"] { accent-color: var(--pink); width: 100%; }
.mixer__summary { border-left: 2px dashed var(--line); padding-left: 2em; display: flex; flex-direction: column; gap: .6em; }
@media (max-width: 760px) {
  .mixer__panel { grid-template-columns: 1fr; }
  .mixer-row { grid-template-columns: 90px 1fr 50px; }
  .mixer__summary { border-left: none; padding-left: 0; border-top: 2px dashed var(--line); padding-top: 1.5em; }
}

/* ===== Product strip / cards ===== */
.product-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 1.2em; overflow-x: auto;
  padding-bottom: .5em; scroll-snap-type: x mandatory;
}
.featured-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1em; }
.product-card {
  scroll-snap-align: start; background: var(--white); border-radius: var(--radius-sm);
  padding: 1em; box-shadow: 0 6px 18px rgba(0,0,0,.06); transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(0,0,0,.12); }
.product-card__link { color: inherit; display: block; }
.product-card__image { aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius-sm); margin-bottom: .6em; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card__image img { transform: scale(1.08); }
.product-card h3 { font-size: 1.05rem; margin-bottom: .2em; }
.product-card__unit { font-size: .85rem; color: var(--ink-soft); margin-bottom: .3em; }
.product-card__price { font-weight: 700; color: var(--terra); margin: 0; }
.product-card__badge {
  display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase;
  background: var(--sun); color: var(--ink); padding: .2em .6em; border-radius: 999px; margin-bottom: .4em;
}

/* ===== Story section ===== */
.section--story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2em; align-items: center; }
.story-layer { position: relative; }
.story-layer img { border-radius: var(--radius); aspect-ratio: 3/2; object-fit: cover; }
.story-badge { position: absolute; bottom: -20px; right: -20px; width: 110px; height: 110px; }
@media (max-width: 760px) { .section--story { grid-template-columns: 1fr; } .story-badge { display: none; } }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: var(--cream); padding: 3em 1.2em 1.5em; margin-top: 2em; }
.site-footer a { color: var(--cream); }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 2em; }
.footer-col h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sun); }
.footer-col { display: flex; flex-direction: column; gap: .6em; }
.footer-tagline { color: #cfc3ab; font-size: .9rem; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: .5em; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 140px; padding: .6em .8em; border-radius: 999px; border: 1px solid #5c4f3d; background: #3a3024; color: var(--cream);
}
.footer-mail { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; }
.footer-copy { text-align: center; color: #9b8e76; font-size: .85rem; margin-top: 2.5em; }
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-col { min-width: 0; }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; left: 1em; right: 1em; bottom: 1em; z-index: 90; max-width: 560px;
  background: var(--ink); color: var(--cream); border-radius: var(--radius-sm);
  padding: 1.2em; display: flex; flex-wrap: wrap; gap: 1em; align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.cookie-banner a { color: var(--sun); }
.cookie-banner__actions { display: flex; gap: .6em; }

/* ===== Inner-page component library (for the second writer) ===== */
.page-hero {
  padding: 3em 1.2em 2em; max-width: var(--maxw); margin: 0 auto;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.breadcrumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1em; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs span { margin: 0 .4em; }

.prose { max-width: 680px; margin: 0 auto; padding: 0 1.2em 4em; }
.prose h2 { margin-top: 2em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose li { margin-bottom: .5em; padding-left: 1.2em; position: relative; }
.prose li::before { content: "•"; position: absolute; left: 0; color: var(--terra); }

.legal-toc { background: var(--white); border-radius: var(--radius-sm); padding: 1.2em; margin: 2em auto; max-width: 680px; }
.legal-toc a { display: block; padding: .3em 0; }

.notice { border-radius: var(--radius-sm); padding: 1em 1.2em; margin: 1.5em 0; border: 1px solid var(--line); background: var(--white); }
.notice--info { border-color: var(--cyan); }
.notice--warn { border-color: var(--terra); }
.notice--success { border-color: #3bb273; }

.form-grid { display: grid; gap: 1.2em; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: .4em; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea {
  padding: .7em .9em; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; accent-color: var(--pink); background: var(--white);
}
.field input:invalid:not(:placeholder-shown), .field.has-error input { border-color: var(--terra); }
.field-error { color: var(--terra); font-size: .85rem; }
.form-success { color: #2e7d4f; font-weight: 600; }
.form-error { color: var(--terra); font-weight: 600; }

.faq { max-width: 680px; margin: 0 auto 4em; padding: 0 1.2em; }
.faq-item { border-bottom: 1px solid var(--line); padding: 1em 0; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--terra); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: .8em; color: var(--ink-soft); }

.product-detail { max-width: var(--maxw); margin: 0 auto; padding: 2em 1.2em 4em; display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5em; }
.product-detail__image { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; }
.product-detail__image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-size: 1.6rem; font-weight: 700; color: var(--terra); }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 2em; }
.cart-table th, .cart-table td { text-align: left; padding: .8em; border-bottom: 1px solid var(--line); }
.cart-table img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.cart-summary { max-width: 360px; margin-left: auto; background: var(--white); border-radius: var(--radius-sm); padding: 1.5em; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: .6em; }

.contact-layout { max-width: var(--maxw); margin: 0 auto; padding: 2em 1.2em 4em; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5em; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

/* COMPONENTS: .page-hero - page title block for inner pages
   COMPONENTS: .breadcrumbs - small breadcrumb trail
   COMPONENTS: .prose - readable long-form legal/text content, centered measure
   COMPONENTS: .legal-toc - boxed table of contents for legal pages
   COMPONENTS: .notice / .notice--info / .notice--warn / .notice--success - callout boxes
   COMPONENTS: .btn / .btn--sweep / .btn--ghost / .btn--small / .btn--block - button variants
   COMPONENTS: .link-underline - inline text link with animated underline
   COMPONENTS: .form-grid - grid wrapper for form fields
   COMPONENTS: .field / .field-error - labeled input wrapper + inline error text
   COMPONENTS: .form-success / .form-error - ajax form feedback messages
   COMPONENTS: .faq / .faq-item - details/summary FAQ accordion
   COMPONENTS: .product-detail / .product-detail__image / .product-detail__price - single product layout
   COMPONENTS: .cart-table / .cart-summary / .cart-summary__row - cart and checkout layout
   COMPONENTS: .contact-layout - two-column contact page layout
   COMPONENTS: .product-card / .product-card__link / .product-card__image / .product-card__badge - catalog/strip product card
   COMPONENTS: .product-strip - horizontal scroll-snap row of product cards
   COMPONENTS: .grid / .grid-2 / .grid-3 - generic responsive grids
   COMPONENTS: .section / .section-title / .section-lead / .eyebrow - generic content section
   COMPONENTS: .reveal - scroll-reveal animation hook (JS adds .in-view)
   COMPONENTS: .divider - decorative SVG section divider
   COMPONENTS: .cookie-banner - fixed cookie consent banner
   COMPONENTS: .visually-hidden / .hp - accessible-hidden and honeypot field utilities
*/

/* ===== Hero section extensions ===== */
.hero__text {
  font-size: .9rem;
  color: var(--ink-soft);
  margin-top: 1em;
  font-style: italic;
}
.hero__mask-def { display: none; }

/* ===== Dividers ===== */
.divider--wave { fill: var(--sky); }

/* ===== Section variants ===== */
.section--intro {
  background: color-mix(in srgb, var(--sky) 15%, transparent);
  border-radius: var(--radius);
  text-align: center;
}
.section--featured { /* inherits from .section */ }

/* ===== Mixer feature ===== */
.mixer { display: block; }
.mixer__intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 1.5em;
}
.mixer__sliders { display: flex; flex-direction: column; gap: 1.2em; }

/* ===== Story section ===== */
.story-text {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ===== Checkout form ===== */
.checkout-form {
  max-width: 640px;
  margin: 0 auto;
}

/* ===== Product detail extensions ===== */
.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}
.product-detail__description {
  color: var(--ink-soft);
  margin: 0 0 1em 0;
}
.product-detail__actions {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  margin-top: 1.5em;
}

/* ===== Footer extensions ===== */
.footer-col--newsletter {
  border-top: 1px solid #5c4f3d;
  padding-top: 1.2em;
  margin-top: 1.2em;
}

@media (max-width: 760px) {
  .mixer__intro { font-size: 1rem; }
  .product-detail__actions { flex-direction: column; }
  .story-text { font-size: 1rem; }
}

/* wg-contrast-autofix */
div.site-footer__inner div.footer-col a.brand.brand--footer span.brand__word { color: #ffffff !important; }
div.cookie-banner div.cookie-banner__actions button.btn.btn--ghost { color: #ffffff !important; }
