/* Orechy Lienka — Bento glass design system */
:root {
  --burgundy: #5c1a2b;
  --burgundy-deep: #3c0f1c;
  --rose: #c77d8a;
  --rose-light: #e8b9c1;
  --champagne: #f2cfa0;
  --champagne-pale: #faf2e4;
  --ink: #2a1419;
  --paper: #fffaf3;
  --glass: rgba(255, 250, 243, 0.62);
  --glass-dark: rgba(60, 15, 28, 0.55);
  --shadow: 0 18px 40px -16px rgba(60, 15, 28, 0.35);
  --radius: 22px;
  --font-display: "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .9, .3, 1);
}

* { 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(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.1; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--burgundy); color: #fff; padding: .6em 1em; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in-view { opacity: 1; transform: none; }
  .reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }
}
.reveal, .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal:not(.in-view) { opacity: 0; transform: translateY(24px); }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); background: rgba(250, 242, 228, .85); border-bottom: 1px solid rgba(92, 26, 43, .1); }
.site-header__bar { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.25rem; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__word { font-family: var(--font-display); font-size: 1.3rem; color: var(--burgundy); }
.logo__word em { font-style: italic; color: var(--rose); }
.logo__word--footer { color: var(--champagne); font-size: 1.5rem; }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .96rem; position: relative; padding: .3rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--rose); transition: width .3s var(--ease); }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--burgundy); }
.nav-close { display: none; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-link { position: relative; display: inline-flex; color: var(--burgundy); }
.cart-count { position: absolute; top: -8px; right: -10px; background: var(--rose); 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 .4s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.nav-toggle { display: none; background: none; border: none; color: var(--burgundy); cursor: pointer; padding: .3rem; }
.nav-overlay { position: fixed; inset: 0; background: rgba(42, 20, 25, .5); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; z-index: 150; }
.nav-overlay.is-open { opacity: 1; visibility: visible; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-close { display: block; position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--paper); cursor: pointer; }
  .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); background: var(--burgundy-deep); padding: 4.5rem 1.6rem 2rem; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; z-index: 160; }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 1.3rem; }
  .main-nav a { color: var(--champagne-pale); }
}

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.5rem; border-radius: 999px; border: 2px solid var(--burgundy); background: var(--burgundy); color: #fff; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none; min-height: 44px; overflow: hidden; isolation: isolate; }
.btn--sweep span, .btn--sweep { z-index: 1; }
.btn--sweep::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: var(--rose); transition: left .35s var(--ease); z-index: -1; }
.btn--sweep:hover::before, .btn--sweep:focus-visible::before { left: 0; }
.btn--ghost { background: transparent; color: var(--burgundy); }
.btn--ghost:hover { background: rgba(92, 26, 43, .08); }
.btn--outline-light { background: transparent; color: var(--champagne-pale); border-color: var(--champagne-pale); }
.btn--outline-light:hover { background: rgba(242, 207, 160, .15); }
.btn--small { padding: .55rem 1.1rem; font-size: .85rem; min-height: 40px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--rose); }

/* ---------- Glass / bento ---------- */
.glass-card { background: var(--glass); border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(10px); padding: 1.6rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.glass-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -18px rgba(60, 15, 28, .42); }

/* ---------- Hero / bento map ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero-canvas { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(70px, auto); gap: 1rem; }
.hero-headline { grid-column: 1 / 5; grid-row: 1 / 3; align-self: center; z-index: 2; }
.hero-headline h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--burgundy); }
.hero-headline .lede { font-size: 1.15rem; max-width: 36ch; }
.hero-photo { grid-column: 4 / 7; grid-row: 1 / 4; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 260px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) saturate(1.3) hue-rotate(-10deg); transition: filter .6s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { filter: sepia(.6) saturate(1.5) hue-rotate(-12deg) brightness(.92); }
  .hero.is-scrolled .hero-photo img { filter: sepia(0) saturate(1.05) hue-rotate(0deg) brightness(1); }
}
.hero-pin { grid-column: span 2; z-index: 2; }
.hero-pin--1 { grid-column: 1 / 3; grid-row: 3; }
.hero-pin--2 { grid-column: 3 / 5; grid-row: 3; }
.hero-pin--3 { grid-column: 1 / 7; grid-row: 4; }
@media (max-width: 900px) {
  .hero-canvas { grid-template-columns: 1fr; }
  .hero-headline, .hero-photo, .hero-pin, .hero-pin--1, .hero-pin--2, .hero-pin--3 { grid-column: 1 / -1; grid-row: auto; }
}
.hero-grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; mix-blend-mode: overlay; z-index: 1; }

/* ---------- Section divider ---------- */
.section-divider { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; opacity: .6; }

/* ---------- Mixer (signature feature) ---------- */
.mixer { background: linear-gradient(135deg, var(--burgundy-deep), var(--burgundy)); color: var(--champagne-pale); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow); }
.mixer h2 { color: var(--champagne); }
.mixer-sliders { display: grid; gap: 1rem; }
.mixer-row { display: grid; grid-template-columns: 9rem 1fr 4.5rem; align-items: center; gap: 1rem; }
.mixer-row input[type="range"] { width: 100%; accent-color: var(--rose-light); height: 44px; }
.mixer-row__name { font-weight: 600; }
.mixer-row__g { text-align: right; font-variant-numeric: tabular-nums; }
.mixer-summary { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; justify-content: space-between; border-top: 1px solid rgba(242, 207, 160, .25); padding-top: 1.2rem; }
.mixer-summary__weight, .mixer-summary__price { margin: 0; }

/* ---------- Product cards / catalog strip ---------- */
.product-strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .3rem .25rem 1rem; }
.product-strip .product-card { scroll-snap-align: start; }
@media (min-width: 900px) { .product-strip { grid-auto-flow: row; grid-auto-columns: unset; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
.product-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.product-card__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; margin-bottom: .8rem; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__name { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 .2rem; }
.product-card__price { font-weight: 700; color: var(--burgundy); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--champagne-pale), var(--rose-light)); padding: clamp(2.6rem, 6vw, 4.5rem) 0 2.6rem; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); color: var(--burgundy); }
.breadcrumbs { list-style: none; display: flex; gap: .4rem; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: var(--burgundy); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; opacity: .5; }
.breadcrumbs a { text-decoration: underline; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 68ch; margin: 0 auto; }
.prose h2 { color: var(--burgundy); margin-top: 2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.legal-toc { background: var(--champagne-pale); border-radius: var(--radius); padding: 1.3rem 1.6rem; max-width: 68ch; margin: 0 auto 2rem; }
.legal-toc ol { margin: 0; padding-left: 1.2em; }

/* ---------- Notices ---------- */
.notice { border-radius: 14px; padding: 1rem 1.2rem; border: 1px solid; margin: 1.2rem 0; }
.notice--info { background: #f1f6ff; border-color: #bcd3f5; }
.notice--success { background: #eef8ee; border-color: #b9ddb9; }
.notice--error { background: #fdeeee; border-color: #e9b9b9; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea { font: inherit; padding: .7rem .9rem; border-radius: 12px; border: 1.5px solid rgba(92, 26, 43, .25); background: #fff; accent-color: var(--burgundy); min-height: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--burgundy); }
.field-error { color: #9c2c2c; font-size: .82rem; min-height: 1.1em; }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; left: -9999px; }
.form-msg { font-weight: 600; margin-top: .6rem; }
.form-msg--ok { color: #2e7d32; }
.form-msg--error { color: #9c2c2c; }
.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter-form input[type="email"] { flex: 1; min-width: 10rem; padding: .65rem .9rem; border-radius: 10px; border: 1px solid rgba(242, 207, 160, .4); background: rgba(255,255,255,.08); color: var(--champagne-pale); }

/* ---------- FAQ ---------- */
.faq { max-width: 64ch; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(92, 26, 43, .15); padding: .4rem 0; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: .8rem 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(--rose); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding-bottom: 1rem; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.product-detail__price { font-size: 1.6rem; font-weight: 700; color: var(--burgundy); }
.qty-input { display: inline-flex; align-items: center; border: 1.5px solid rgba(92,26,43,.25); border-radius: 999px; overflow: hidden; }
.qty-input button { background: none; border: none; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; }
.qty-input input { width: 3rem; text-align: center; border: none; font: inherit; }

/* ---------- Cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { text-align: left; padding: .8rem .5rem; border-bottom: 1px solid rgba(92,26,43,.12); }
.cart-summary { background: var(--champagne-pale); border-radius: var(--radius); padding: 1.5rem; max-width: 24rem; margin-left: auto; }
.cart-summary dl { display: flex; justify-content: space-between; margin: .4rem 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 640px; margin: 0 auto; background: var(--burgundy-deep); color: var(--champagne-pale); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; z-index: 300; }
.cookie-banner a { color: var(--champagne); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--burgundy-deep); color: var(--champagne-pale); padding: 3.5rem 0 1.5rem; }
.footer-grid { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-nav h3 { color: var(--champagne); font-size: 1rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-nav a { text-decoration: none; opacity: .85; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-brand p { opacity: .85; max-width: 28ch; }
.footer-address, .footer-mail { display: flex; align-items: center; gap: .5rem; opacity: .9; }
.footer-mail a { text-decoration: underline; }
.footer-bottom { max-width: 1240px; margin: 2.5rem auto 0; padding: 1.2rem 1.25rem 0; border-top: 1px solid rgba(242,207,160,.18); opacity: .75; font-size: .85rem; }

/* ---------- Bespoke SVG decorations ---------- */
.ornament { color: var(--rose); }
.badge-seal { color: var(--burgundy); }

/* ---------- Additional product & page styles ---------- */
.lede { font-size: 1.15rem; max-width: 36ch; margin-bottom: 1.2rem; }
.product-detail__info { padding: 0; }
.product-detail__info h1 { color: var(--burgundy); }
.product-detail__unit { font-size: .95rem; color: var(--rose); margin-bottom: 1rem; }
.product-detail__desc { font-size: 1rem; margin: 1.5rem 0 1rem; line-height: 1.65; }
.product-card__short { font-size: .9rem; color: var(--rose); margin: .2rem 0 .4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge { display: inline-block; background: var(--rose-light); color: var(--burgundy); padding: .3em .6em; border-radius: 6px; font-size: .85em; margin-right: .5em; margin-bottom: .5em; }
hr { border: none; border-top: 1px solid var(--rose-light); margin: 2rem 0; }
textarea { font-family: inherit; }

/* COMPONENTS:
.site-header - sticky translucent header bar
.logo / .logo__mark / .logo__word - svg logo + wordmark
.main-nav - primary nav, becomes off-canvas drawer on mobile
.nav-toggle / .nav-close / .nav-overlay - mobile menu controls
.cart-link / .cart-count - header cart icon + animated badge
.btn / .btn--sweep / .btn--ghost / .btn--outline-light / .btn--small - button variants
.wrap - centered max-width container
.section - vertical page section spacing
.grid / .grid-2 / .grid-3 / .grid-4 - responsive grid helpers
.eyebrow - small uppercase label above headings
.glass-card - frosted bento card
.hero / .hero-canvas / .hero-headline / .hero-photo / .hero-pin / .hero-grain - home bento-map hero
.section-divider - thin decorative wave divider between sections
.mixer / .mixer-sliders / .mixer-row / .mixer-summary - signature "Mixér Lienka" builder
.product-strip / .product-card - scroll-snap product cards (catalog + home)
.page-hero - inner page hero band
.breadcrumbs - page breadcrumb trail
.prose - readable-measure long-form text (legal pages)
.legal-toc - table of contents box for legal pages
.notice / .notice--info / .notice--success / .notice--error - callout boxes
.form-grid / .field / .field-error - form layout and field wrapper
.hp-field - visually hidden honeypot field
.form-msg / .form-msg--ok / .form-msg--error - inline form feedback
.newsletter-form - footer newsletter signup
.faq / .faq-item - details/summary accordion
.product-detail / .product-detail__media / .product-detail__price - product page layout
.qty-input - quantity stepper control
.cart-table / .cart-summary - cart page table and totals box
.contact-layout - two-column contact page layout
.cookie-banner - bottom cookie consent bar
.site-footer / .footer-grid / .footer-nav / .footer-brand / .footer-bottom - footer layout
.reveal / .reveal.in-view - scroll-reveal animation hook
.ornament / .badge-seal - decorative svg color hooks
*/

/* ---------- Footer newsletter ---------- */
.footer-newsletter { padding: 1.5rem 0; border-top: 1px solid rgba(242, 207, 160, .25); }

/* ---------- Cart controls ---------- */
.qty-change { padding: .5rem .7rem; border-radius: 8px; border: 1px solid rgba(92, 26, 43, .15); background: #fff; font: inherit; font-size: .95rem; width: 3.5rem; text-align: center; min-height: 40px; accent-color: var(--burgundy); }
.qty-change:focus { border-color: var(--burgundy); }
.remove-btn { background: none; border: none; color: var(--rose); font-size: 1.1rem; cursor: pointer; padding: .4rem; min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; transition: background .2s var(--ease), color .2s var(--ease); }
.remove-btn:hover { background: rgba(92, 26, 43, .08); color: var(--burgundy); }

/* wg-contrast-autofix */
#cookieDecline { color: #ffffff !important; }
