/* ===== Spoločenské Úsvit — Y2K chrome design system ===== */
:root {
  --aubergine: #2b1a3d;
  --aubergine-2: #4a2e6b;
  --lime: #c7f24a;
  --lime-dark: #9ed620;
  --ivory: #fff8ec;
  --lilac: #b98cff;
  --ink: #221233;
  --ink-soft: #5b4a71;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --shadow-1: 0 18px 40px -16px rgba(43, 26, 61, .35);
  --shadow-2: 0 8px 20px -10px rgba(43, 26, 61, .3);
  --ff-display: Georgia, "Times New Roman", serif;
  --ff-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-mono: "Courier New", monospace;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--aubergine-2); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-display); margin: 0 0 .5em; line-height: 1.1; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.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(--lime); color: var(--ink); padding: .5em 1em; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 2px; border-radius: 4px; }

.icon { width: 1.3em; height: 1.3em; stroke: currentColor; }
.icon--sm { width: 1em; height: 1em; }

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

/* ===== layout helpers ===== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; position: relative; }
.grid { display: grid; gap: 24px; }
.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: 880px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.stack-sm > * + * { margin-top: 8px; }
.stack-md > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 32px; }
.mt-0 { margin-top: 0; }

/* ===== reveal / motion ===== */
.reveal { opacity: 1; transform: none; }
.reveal:not(.in-view) { opacity: 0; transform: translateY(24px); }
.reveal.in-view { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

/* ===== header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ivory);
  border-bottom: 2px solid var(--aubergine);
}
.site-header__row {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo__mark { width: 190px; height: 44px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 22px; list-style: none; }
.site-nav a { font-weight: 600; color: var(--ink); position: relative; padding: 4px 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--lime-dark); transition: width .25s ease;
}
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }
.site-nav a.is-active { color: var(--aubergine-2); }
.cart-link { position: relative; display: inline-flex; color: var(--ink); }
.cart-count {
  position: absolute; top: -8px; right: -10px; background: var(--lime); color: var(--ink);
  font-size: .7rem; font-weight: 700; border-radius: 50%; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--aubergine);
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); height: 100vh;
    background: var(--aubergine); color: var(--ivory); flex-direction: column; align-items: flex-start;
    padding: 90px 28px 28px; gap: 28px; transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s ease; z-index: 150;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 18px; }
  .site-nav a { color: var(--ivory); }
  .cart-link { color: var(--ivory); }
}

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .95rem; padding: 14px 28px; border-radius: 999px;
  border: 2px solid var(--aubergine); cursor: pointer; position: relative; overflow: hidden;
  background: var(--lime); color: var(--ink); min-height: 44px;
}
.btn--small { padding: 10px 18px; font-size: .85rem; }
.btn--outline { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn--ghost { background: transparent; color: var(--aubergine); }
.btn--dark { background: var(--aubergine); color: var(--ivory); border-color: var(--aubergine); }
.btn--sweep::before {
  content: ""; position: absolute; inset: 0; left: -100%; width: 100%;
  background: var(--aubergine-2); transition: left .35s ease; z-index: 0;
}
.btn--sweep { transition: color .35s ease; }
.btn--sweep span, .btn--sweep { z-index: 1; }
.btn--sweep:hover::before { left: 0; }
.btn--sweep:hover { color: var(--ivory); }
.btn--sweep > * { position: relative; z-index: 1; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ===== hero / monument headline ===== */
.hero {
  padding: 56px 0 40px; text-align: center; position: relative; overflow: hidden;
}
.hero__badge {
  width: 150px; height: 150px; margin: 0 auto 18px; animation: spin 24s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .hero__badge { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.2rem); margin: 0 auto .4em; max-width: 14ch;
  background: linear-gradient(120deg, var(--aubergine) 10%, var(--lilac) 45%, var(--lime-dark) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 46ch; margin: 0 auto 28px; font-size: 1.15rem; color: var(--ink-soft); }
.hero__orbit { position: relative; width: min(560px, 90vw); height: min(560px, 90vw); margin: 20px auto 0; }
.hero__orbit-img {
  position: absolute; width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--ivory); box-shadow: var(--shadow-1); animation: orbit 30s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .hero__orbit-img { animation: none; } }
.hero__orbit-img:nth-child(1) { top: 0; left: 50%; margin-left: -55px; animation-delay: 0s; }
.hero__orbit-img:nth-child(2) { top: 50%; right: 0; margin-top: -55px; animation-delay: -7.5s; }
.hero__orbit-img:nth-child(3) { bottom: 0; left: 50%; margin-left: -55px; animation-delay: -15s; }
.hero__orbit-img:nth-child(4) { top: 50%; left: 0; margin-top: -55px; animation-delay: -22.5s; }
@keyframes orbit {
  0% { transform: rotate(0deg) translateX(0) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(0) rotate(-360deg); }
}
.hero__center { position: absolute; inset: 0; display: grid; place-items: center; }

/* ===== page hero (inner pages) ===== */
.page-hero {
  padding: 56px 0 40px; background: linear-gradient(135deg, var(--aubergine) 0%, var(--aubergine-2) 100%);
  color: var(--ivory); text-align: center; position: relative; overflow: hidden;
}
.page-hero h1 { color: var(--ivory); font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: #e7dcff; max-width: 52ch; margin: 0 auto; }

/* ===== breadcrumbs ===== */
.breadcrumbs { font-size: .85rem; color: var(--ink-soft); padding: 18px 0; }
.breadcrumbs a { color: var(--aubergine-2); }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* ===== prose (legal pages) ===== */
.prose { max-width: 70ch; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose h3 { font-size: 1.15rem; }
.prose ul { padding-left: 1.4em; list-style: disc; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; }

/* ===== legal-toc ===== */
.legal-toc { background: #f4efe3; border-radius: var(--radius-md); padding: 20px 24px; max-width: 70ch; margin: 0 auto 40px; }
.legal-toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; }
.legal-toc ol { padding-left: 1.3em; margin: 0; }
.legal-toc li { margin-bottom: .3em; }

/* ===== notice ===== */
.notice { border-radius: var(--radius-sm); padding: 16px 20px; border: 2px solid var(--aubergine); background: #f4efe3; margin-bottom: 1.4em; }
.notice--success { border-color: var(--lime-dark); background: #f2fadc; }
.notice--error { border-color: #c0392b; background: #fbe7e4; }

/* ===== cards / product strip ===== */
.card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 2px solid var(--aubergine);
  box-shadow: var(--shadow-2); transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-1); }
.card__media { aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 18px 20px 22px; }
.card__badge { display: inline-block; background: var(--lime); border: 1px solid var(--aubergine); border-radius: 999px; font-size: .7rem; font-weight: 700; padding: 3px 10px; margin-bottom: 8px; }
.card__price { font-weight: 700; color: var(--aubergine-2); font-size: 1.1rem; }
.card__meta { font-size: .82rem; color: var(--ink-soft); }

.product-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
  gap: 20px; overflow-x: auto; padding: 8px 4px 16px; scroll-snap-type: x mandatory;
}
.product-strip .card { scroll-snap-align: start; }
@media (min-width: 880px) {
  .product-strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
}

/* ===== product detail ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail__media { border-radius: var(--radius-lg); overflow: hidden; border: 3px solid var(--aubergine); aspect-ratio: 4/3; }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-size: 1.8rem; font-weight: 700; color: var(--aubergine-2); }
.product-detail__meta-row { display: flex; gap: 20px; flex-wrap: wrap; margin: 16px 0; color: var(--ink-soft); font-size: .9rem; }
.qty-stepper { display: inline-flex; align-items: center; border: 2px solid var(--aubergine); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 40px; height: 40px; border: none; background: var(--ivory); font-size: 1.1rem; cursor: pointer; }
.qty-stepper input { width: 46px; text-align: center; border: none; font-size: 1rem; }

/* ===== cart / checkout ===== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid #e3dac4; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-table .remove-btn { background: none; border: none; color: #c0392b; cursor: pointer; font-weight: 700; }
.cart-summary {
  background: #f4efe3; border-radius: var(--radius-md); padding: 24px; border: 2px solid var(--aubergine);
  display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px;
}
.cart-summary__row { display: flex; justify-content: space-between; }
.cart-summary__total { font-weight: 700; font-size: 1.2rem; }
.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 880px) { .cart-layout { grid-template-columns: 1fr; } .cart-summary { position: static; } }

/* ===== forms ===== */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border-radius: var(--radius-sm); border: 2px solid #cfc3a4; font-size: 1rem;
  font-family: inherit; accent-color: var(--lime-dark); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--aubergine-2); }
.field-error { color: #c0392b; font-size: .82rem; min-height: 1.2em; }
.field input:invalid:not(:placeholder-shown) { border-color: #c0392b; }
.hp-field { position: absolute !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; left: -9999px; }
.form-msg { font-size: .9rem; min-height: 1.3em; }
.form-msg--ok { color: var(--lime-dark); font-weight: 700; }
.form-msg--error { color: #c0392b; font-weight: 700; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form .field { flex: 1; min-width: 160px; }

/* ===== contact layout ===== */
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info__item { display: flex; gap: 12px; align-items: flex-start; }
.contact-info__item .icon { flex-shrink: 0; margin-top: 2px; color: var(--aubergine-2); }

/* ===== faq ===== */
.faq { max-width: 70ch; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 2px solid var(--aubergine); border-radius: var(--radius-md); padding: 4px 20px; background: #fff; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--aubergine-2); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 16px; color: var(--ink-soft); }

/* ===== herný kompas (signature feature) ===== */
.kompas {
  background: var(--aubergine); color: var(--ivory); border-radius: var(--radius-lg);
  padding: 36px; display: grid; gap: 24px; position: relative; overflow: hidden;
}
.kompas h2 { color: var(--lime); }
.kompas__controls { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .kompas__controls { grid-template-columns: 1fr; } }
.kompas label { font-weight: 600; display: block; margin-bottom: 6px; }
.kompas input[type="range"] { width: 100%; accent-color: var(--lime); }
.kompas-moods { display: flex; gap: 10px; flex-wrap: wrap; }
.kompas-mood {
  border: 2px solid var(--lime); background: transparent; color: var(--ivory); border-radius: 999px;
  padding: 8px 16px; cursor: pointer; font-weight: 600; min-height: 44px;
}
.kompas-mood.is-active { background: var(--lime); color: var(--ink); }
.kompas-result { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .kompas-result { grid-template-columns: 1fr; } }
.kompas-card { display: flex; gap: 14px; align-items: center; background: var(--ivory); color: var(--ink); border-radius: var(--radius-md); padding: 14px; }
.kompas-card img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; }

/* ===== dividers / decorative svg ===== */
.divider { width: 100%; height: 40px; display: block; }
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .04; mix-blend-mode: multiply; z-index: 1; }

/* ===== cookie banner ===== */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 520px; margin: 0 auto;
  background: var(--aubergine); color: var(--ivory); border-radius: var(--radius-md); padding: 20px 24px;
  box-shadow: var(--shadow-1); z-index: 300; display: flex; flex-direction: column; gap: 14px;
}
.cookie-banner a { color: var(--lime); }
.cookie-banner__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ===== toast ===== */
.toast {
  position: fixed; bottom: 20px; right: 20px; background: var(--ink); color: var(--ivory);
  padding: 12px 20px; border-radius: 999px; opacity: 0; transform: translateY(10px);
  transition: opacity .3s, transform .3s; z-index: 400;
}
.toast--in { opacity: 1; transform: translateY(0); }

/* ===== footer ===== */
.site-footer { background: var(--aubergine); color: var(--ivory); padding-top: 10px; }
.footer-divider { width: 100%; height: 40px; }
.site-footer__grid { max-width: var(--maxw); margin: 0 auto; padding: 20px 20px 10px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 32px; }
@media (max-width: 880px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.footer-brand p { color: #d8c9ff; font-size: .9rem; }
.footer-col h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lime); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.footer-col a { color: var(--ivory); }
.footer-col a:hover { color: var(--lime); }
.footer-contact a { color: var(--ivory); display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; }
.site-footer__bottom { text-align: center; padding: 18px 20px; font-size: .82rem; color: #c9b8f0; border-top: 1px solid rgba(255,255,255,.15); }

/* ===== utility ===== */
.text-center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; }

/* COMPONENTS: .class - what it is
.wrap - centered max-width container
.section - vertical page section padding
.grid / .grid--2/3/4 - responsive CSS grid
.reveal - scroll-reveal animated element (JS adds .in-view)
.site-header / .site-nav / .nav-toggle / .cart-link / .cart-count - header & nav
.logo__mark - svg logo sizing
.btn / .btn--small/outline/ghost/dark/sweep - button variants incl. fill-sweep hover
.hero / .hero__badge / .hero__title / .hero__lead / .hero__orbit / .hero__orbit-img / .hero__center - home hero w/ orbiting images
.page-hero - inner-page hero banner
.breadcrumbs - breadcrumb trail
.prose - readable long-form legal text
.legal-toc - table of contents box for legal pages
.notice / .notice--success/error - callout boxes
.card / .card__media/body/badge/price/meta - product/content card
.product-strip - horizontal scroll-snap product row
.product-detail / .product-detail__media/price/meta-row - product page layout
.qty-stepper - quantity +/- control
.cart-table / .cart-summary / .cart-layout - cart & checkout layout
.form-grid / .field / .field--full / .field-error / .hp-field / .form-msg - form system
.newsletter-form - footer newsletter inline form
.contact-layout / .contact-info / .contact-info__item - contact page layout
.faq / .faq-item - details/summary FAQ accordion
.kompas / .kompas__controls / .kompas-moods / .kompas-mood / .kompas-result / .kompas-card - Herný kompas signature feature
.divider / .grain-overlay - decorative svg dividers & grain texture
.cookie-banner / .cookie-banner__actions - cookie consent banner
.toast - transient notice
.site-footer / .site-footer__grid/bottom / .footer-brand/col/newsletter/contact - footer
.skip-link / .sr-only / .visually-hidden - accessibility helpers
.text-center - center text utility
*/

/* ===== missing styles ===== */
.logo {
  display: inline-flex;
  align-items: center;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
