/* Igrace Kaplja - vaporwave sunset over sea-green woodland */
:root {
  --c-bg: #f3ecdf;
  --c-bg-deep: #26433c;
  --c-ink: #1f2e29;
  --c-sea: #2f5d50;
  --c-sea-dark: #1c3a32;
  --c-sand: #e7d3ab;
  --c-driftwood: #8a6a52;
  --c-pink: #ff6fae;
  --c-cyan: #4fd6c9;
  --c-sun-1: #ffd9c0;
  --c-sun-2: #ff8f6b;
  --radius: 18px;
  --maxw: 1240px;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Avenir Next", Segoe UI, system-ui, -apple-system, sans-serif;
  --font-mono: "Consolas", "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--c-sea-dark); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.1; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-pink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.grid { display: grid; gap: 1.5rem; }
.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: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3.5rem; }
.mb-0 { margin-bottom: 0; }
.section { padding: clamp(3rem, 6vw, 6rem) 0; }

/* ---------- grain overlay ---------- */
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1; mix-blend-mode: overlay; }
.grain-overlay svg { width: 100%; height: 100%; }

/* ---------- reveal animation ---------- */
.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.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 236, 223, .92); backdrop-filter: blur(6px); border-bottom: 2px solid var(--c-sea); }
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: .75rem 1.25rem; display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--c-sea-dark); flex-shrink: 0; }
.logo-mark { color: var(--c-sea); flex-shrink: 0; }
.logo-word { width: 168px; height: 24px; color: var(--c-sea-dark); }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.main-nav a { font-weight: 600; font-size: .95rem; position: relative; padding: .25rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--c-pink); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--c-pink); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-link { position: relative; color: var(--c-sea-dark); display: inline-flex; }
.cart-count { position: absolute; top: -8px; right: -10px; background: var(--c-pink); color: #fff; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.cart-link.bump .cart-count { animation: bump .4s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.nav-toggle { display: none; background: none; border: none; color: var(--c-sea-dark); }

@media (max-width: 820px) {
  .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px); background: var(--c-sea-dark); padding: 5.5rem 1.5rem 2rem; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s ease; }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 1.2rem; }
  .main-nav a { color: #f3ecdf; }
  .nav-toggle { display: inline-flex; z-index: 60; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid var(--c-sea-dark); min-height: 44px; position: relative; overflow: hidden; background: var(--c-sand); color: var(--c-sea-dark); isolation: isolate; }
.btn-sweep::before { content: ""; position: absolute; inset: 0; width: 100%; left: -100%; background: var(--c-pink); z-index: -1; transition: left .3s ease; }
.btn-sweep:hover::before { left: 0; }
.btn-sweep:hover { color: #fff; border-color: var(--c-pink); }
.btn-primary { background: var(--c-sea); color: #fff; border-color: var(--c-sea); }
.btn-primary.btn-sweep::before { background: var(--c-cyan); }
.btn-primary.btn-sweep:hover { color: var(--c-sea-dark); border-color: var(--c-cyan); }
.btn-ghost { background: transparent; color: var(--c-sea-dark); border-color: var(--c-sea-dark); }
.btn-ghost:hover { background: var(--c-sea-dark); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; min-height: 36px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--c-sun-1) 0%, var(--c-sun-2) 35%, var(--c-sea) 70%, var(--c-sea-dark) 100%); color: #fff; padding: clamp(3rem, 8vw, 7rem) 0 0; }
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.2rem); color: #fff; text-shadow: 0 3px 0 rgba(0,0,0,.15); }
.hero-sweep { position: relative; display: inline-block; }
.hero-sweep::after { content: ""; position: absolute; left: 0; bottom: .06em; width: 100%; height: .28em; background: var(--c-pink); z-index: -1; transform: scaleX(0); transform-origin: left; animation: sweep 1s ease .4s forwards; }
@keyframes sweep { to { transform: scaleX(1); } }
.hero-lede { font-size: 1.15rem; max-width: 36ch; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.hero-grid { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1; opacity: .5; }
.hero-grid svg { width: 100%; height: 100%; }

/* ---------- oversized number sections ---------- */
.num-section { position: relative; padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 2px dashed var(--c-driftwood); }
.num-row { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
.num-big { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 9rem); line-height: .8; color: var(--c-sea); opacity: .18; }
@media (max-width: 700px) { .num-row { grid-template-columns: 1fr; } .num-big { font-size: clamp(3rem, 18vw, 5rem); } }

/* ---------- product strip / cards ---------- */
.product-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
@media (min-width: 760px) { .product-strip { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); overflow: visible; } }
.product-card { scroll-snap-align: start; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 0 rgba(31,46,41,.08), 0 16px 30px rgba(31,46,41,.1); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 0 rgba(31,46,41,.1), 0 26px 40px rgba(31,46,41,.16); }
.product-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .thumb img { transform: scale(1.08); }
.product-card .body { padding: 1.1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-card h3 { font-size: 1.15rem; margin: 0; }
.product-card .price { font-weight: 700; color: var(--c-sea-dark); margin-top: auto; font-size: 1.1rem; }
.product-card .cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-driftwood); }

/* ---------- play compass (signature feature) ---------- */
.compass { background: var(--c-sea-dark); color: #fff; border-radius: 28px; padding: clamp(1.5rem, 4vw, 3rem); position: relative; overflow: hidden; }
.compass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 780px) { .compass-grid { grid-template-columns: 1fr; } }
.compass-dial { position: relative; }
.compass-dial svg { width: 100%; height: auto; }
.compass-controls label { display: block; font-weight: 700; margin-bottom: .4rem; }
.compass-controls input[type="range"] { width: 100%; accent-color: var(--c-pink); margin-bottom: 1.5rem; }
.compass-result { background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 1rem; min-height: 90px; display: flex; align-items: center; gap: 1rem; }
.compass-result img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }

/* ---------- dividers / ornaments ---------- */
.wave-divider { display: block; width: 100%; height: 70px; color: var(--c-sea-dark); }
.footer-sun { position: absolute; top: -40px; right: 10%; opacity: .9; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--c-sand), var(--c-bg)); padding: clamp(2.5rem, 6vw, 4.5rem) 0 2.5rem; border-bottom: 2px solid var(--c-sea); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { max-width: 60ch; }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; margin-bottom: .75rem; }
.breadcrumbs a { color: var(--c-driftwood); }
.breadcrumbs .sep { margin: 0 .4rem; color: var(--c-driftwood); }
.breadcrumbs .current { color: var(--c-ink); font-weight: 600; }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.prose h3 { font-size: 1.15rem; }
.prose p, .prose li { color: var(--c-ink); }
.prose ul, .prose ol { padding-left: 1.3rem; list-style: disc; margin-bottom: 1em; }
.prose ol { list-style: decimal; }

/* ---------- legal toc ---------- */
.legal-toc { background: #fff; border: 2px solid var(--c-sea); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 2rem; }
.legal-toc h2 { font-size: 1.1rem; margin-bottom: .6rem; }
.legal-toc ol { list-style: decimal; padding-left: 1.2rem; }
.legal-toc a { font-weight: 600; }

/* ---------- notice ---------- */
.notice { border-radius: var(--radius); padding: 1rem 1.2rem; border: 2px solid var(--c-sea); background: rgba(47,93,80,.08); margin-bottom: 1.5rem; }
.notice-warn { border-color: var(--c-sun-2); background: rgba(255,143,107,.12); }
.notice-success { border-color: var(--c-cyan); background: rgba(79,214,201,.12); }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field textarea, .field select { font: inherit; padding: .7rem .9rem; border: 2px solid var(--c-driftwood); border-radius: 10px; background: #fff; accent-color: var(--c-pink); min-height: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--c-sea); }
.field-error { color: #b23a3a; font-size: .82rem; min-height: 1.1em; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-weight: 700; min-height: 1.2em; }
.form-msg.is-success { color: var(--c-sea); }
.form-msg.is-error { color: #b23a3a; }

/* ---------- newsletter ---------- */
.newsletter-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.newsletter-form input[type="email"] { flex: 1 1 180px; padding: .7rem .9rem; border-radius: 10px; border: 2px solid var(--c-driftwood); min-height: 44px; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--c-sea-dark); color: #f3ecdf; padding: 4rem 0 2rem; overflow: hidden; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 2rem; position: relative; z-index: 2; }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.footer-links a { display: block; padding: .25rem 0; color: #d9e6df; }
.footer-links a:hover { color: var(--c-cyan); }
.footer-brand a { color: var(--c-cyan); }
.footer-bottom { max-width: var(--maxw); margin: 2.5rem auto 0; padding: 1rem 1.25rem 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; color: #b9c8c0; position: relative; z-index: 2; }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 560px; margin: 0 auto; background: var(--c-sea-dark); color: #f3ecdf; border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: 0 10px 30px rgba(0,0,0,.3); z-index: 90; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie-banner a { color: var(--c-cyan); }
.cookie-actions { display: flex; gap: .6rem; }
.cookie-banner .btn-ghost { color: #f3ecdf; border-color: #f3ecdf; }
.cookie-banner .btn-ghost:hover { background: #f3ecdf; color: var(--c-sea-dark); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 2px solid var(--c-sand); padding: 1rem 0; }
.faq-item summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; 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.4rem; color: var(--c-sea); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: .6rem; color: var(--c-ink); }

/* ---------- 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 .thumb { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.product-detail .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail .price-big { font-size: 1.8rem; font-weight: 700; color: var(--c-sea-dark); }
.qty-row { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0; }
.qty-row input { width: 70px; text-align: center; padding: .6rem; border: 2px solid var(--c-driftwood); border-radius: 10px; min-height: 44px; }

/* ---------- cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.cart-table th, .cart-table td { text-align: left; padding: .9rem .6rem; border-bottom: 2px solid var(--c-sand); }
.cart-table img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.cart-summary { background: #fff; border: 2px solid var(--c-sea); border-radius: var(--radius); padding: 1.4rem; max-width: 380px; margin-left: auto; }
.cart-summary .row { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.cart-summary .total { font-weight: 700; font-size: 1.2rem; border-top: 2px dashed var(--c-sand); padding-top: .6rem; }

/* ---------- contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info .row { display: flex; gap: .8rem; margin-bottom: 1.2rem; }
.contact-info .icon { color: var(--c-sea); flex-shrink: 0; }

/* ---------- icons ---------- */
.icon { stroke: currentColor; }

/* COMPONENTS: .class - what it is
.wrap - centered max-width content container
.grid / .grid-2 / .grid-3 / .grid-4 - responsive grid helpers
.section - vertical page section spacing
.reveal / .in-view / .d1-d4 - scroll-reveal animation hook + stagger delays
.site-header / .header-inner - sticky site header bar
.logo / .logo-mark / .logo-word - brand logo lockup
.main-nav - primary navigation (desktop + mobile off-canvas)
.nav-toggle - mobile menu button
.cart-link / .cart-count - header cart icon + badge (bump on add)
.btn / .btn-primary / .btn-ghost / .btn-sweep / .btn-block / .btn-sm - button variants
.hero / .hero-inner / .hero-title / .hero-sweep / .hero-lede / .hero-art / .hero-grid - home hero block
.num-section / .num-row / .num-big - oversized-number guided sections
.product-strip / .product-card - product grid / horizontal scroll strip on mobile
.compass / .compass-grid / .compass-dial / .compass-controls / .compass-result - Play Compass signature feature
.wave-divider / .footer-sun - decorative SVG dividers
.page-hero - inner-page hero/header band
.breadcrumbs - breadcrumb trail
.prose - readable long-form legal/text content
.legal-toc - table of contents box for legal pages
.notice / .notice-warn / .notice-success - callout boxes
.form-grid / .field / .field-error - form layout and field wrapper
.hp-field - visually hidden honeypot field
.form-msg - form status message
.newsletter-form - footer newsletter signup
.site-footer / .footer-inner / .footer-col / .footer-links / .footer-brand / .footer-bottom - footer layout
.cookie-banner / .cookie-actions - cookie consent banner
.faq / .faq-item - FAQ accordion (details/summary)
.product-detail / .qty-row / .price-big - single product page layout
.cart-table / .cart-summary - cart/checkout page layout
.contact-layout / .contact-info - contact page layout
.grain-overlay - fixed full-viewport SVG noise texture
.icon / .icon-sprite - stroke icon set via <symbol>/<use>
*/

/* ---------- footer newsletter ---------- */
.footer-newsletter { }

/* ---------- hero section copy ---------- */
.hero-copy { }

/* ---------- compass section wrapper ---------- */
.compass-wrap { }

/* ---------- product detail page ---------- */
.product-image { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }

.product-info { display: flex; flex-direction: column; gap: 1.2rem; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; font-size: .95rem; }
@media (max-width: 600px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- cart page ---------- */
.qty-input { width: 50px; padding: .4rem; border: 1px solid var(--c-sea); border-radius: 4px; font: inherit; text-align: center; }
.qty-input:focus { outline: none; border-color: var(--c-sea-dark); }

.remove-btn { background: none; border: none; color: var(--c-pink); cursor: pointer; font-size: 1.2rem; padding: .2rem .4rem; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.remove-btn:hover { color: var(--c-sea-dark); }
