/* ===== Zoknibolt Csíkos — Bohemian Crystal stílus ===== */
:root {
  --cream: #f7efe2;
  --cream-deep: #efe0c8;
  --paper: #fffaf1;
  --terracotta: #c1603c;
  --terracotta-dark: #96462a;
  --olive: #565c25;
  --olive-dark: #333813;
  --ink: #2a2318;
  --ink-soft: #564a37;
  --gold: #c99a46;
  --ruby: #9c3b47;
  --line: rgba(42, 35, 24, 0.14);
  --glass: rgba(255, 255, 255, 0.5);
  --shadow: 0 18px 40px -20px rgba(42, 35, 24, 0.35);
  --radius: 22px;
  --font-display: "Iowan Old Style", "Palatino Linotype", "URW Palladio L", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Courier New", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .4em; line-height: 1.1; color: var(--olive-dark); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
li { list-style: none; }
button { font-family: inherit; }
:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}
.visually-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.container { width: min(1180px, 100% - 2.8rem); margin-inline: auto; }
section { position: relative; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  clip-path: inset(0 0 12% 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease), clip-path .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.in-view {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* ===== Icon sprite ===== */
svg.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Ornaments ===== */
.paprika-ornament { color: var(--terracotta); }

/* ===== Grain overlay ===== */
.grain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .7rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  color: var(--olive-dark);
}
.logo svg { width: 46px; height: 46px; flex-shrink: 0; }
.logo .word { display: flex; flex-direction: column; line-height: 1.05; }
.logo .word strong { font-size: 1.22rem; letter-spacing: .01em; }
.logo .word span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-dark); }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav ul { display: flex; gap: 1.4rem; }
.main-nav a {
  position: relative;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding-block: .3rem;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--terracotta-dark); }

.header-actions { display: flex; align-items: center; gap: .8rem; }
.cart-link {
  position: relative;
  display: flex; align-items: center; gap: .4rem;
  border: 1.5px solid var(--olive-dark);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-weight: 700;
  font-size: .85rem;
}
.cart-link svg { width: 20px; height: 20px; }
.cart-count {
  background: var(--terracotta);
  color: var(--paper);
  border-radius: 999px;
  min-width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800;
  padding-inline: 4px;
}
.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; cursor: pointer;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.8rem 2rem;
    gap: 2rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
    box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 1.1rem; font-size: 1.1rem; }
  body.nav-open { overflow: hidden; }
}

/* ===== Hero / Magazine cover ===== */
.hero {
  position: relative;
  padding-top: 2.6rem;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.4rem;
  align-items: center;
}
.hero-kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--terracotta-dark);
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1rem;
}
.hero-kicker::before { content: ""; width: 26px; height: 2px; background: var(--terracotta); }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.01em;
}
.underline-sweep {
  position: relative;
  display: inline-block;
}
.underline-sweep svg {
  position: absolute;
  left: -2%; bottom: -.12em;
  width: 104%; height: .34em;
  overflow: visible;
}
.underline-sweep path {
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  transition: stroke-dashoffset 1s var(--ease) .3s;
}
.in-view .underline-sweep path, .hero .underline-sweep path.go { stroke-dashoffset: 0; }

.hero p.lead { font-size: 1.1rem; max-width: 34ch; color: var(--ink-soft); }
.hero-ctas { display: flex; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1.5px solid var(--olive-dark);
  background: transparent;
  color: var(--olive-dark);
  cursor: pointer;
  overflow: hidden;
  z-index: 0;
  min-height: 44px;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  width: 100%;
  background: var(--olive-dark);
  transition: left .35s var(--ease);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { left: 0; }
.btn:hover, .btn:focus-visible { color: var(--paper); }
.btn.primary { background: var(--terracotta); border-color: var(--terracotta); color: var(--paper); }
.btn.primary::before { background: var(--terracotta-dark); }
.btn.primary:hover { color: var(--paper); }
.btn.ghost { border-color: var(--paper); color: var(--paper); }
.btn.ghost::before { background: var(--paper); }
.btn.ghost:hover { color: var(--olive-dark); }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.hero-visual { position: relative; }
.hero-visual .facet-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.hero-visual .facet-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .facet-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(150,70,40,.28), rgba(51,56,19,.22));
  mix-blend-mode: multiply;
}
.hero-illustration {
  position: absolute;
  width: 46%;
  bottom: -8%;
  left: -14%;
  filter: drop-shadow(0 14px 18px rgba(42,35,24,.25));
}

/* numbered index */
.index-list {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.index-list a {
  display: flex; align-items: baseline; gap: .5rem;
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
}
.index-list a:hover { color: var(--terracotta-dark); }
.index-list .num { font-family: var(--font-mono); color: var(--terracotta); font-size: .85rem; }

/* ===== Section headings / dividers ===== */
.section { padding-block: clamp(3.2rem, 7vw, 5.6rem); }
.section.alt { background: var(--cream-deep); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}
.section-head .tag {
  font-family: var(--font-mono);
  color: var(--terracotta-dark);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  display: block;
  margin-bottom: .5rem;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head p { max-width: 46ch; color: var(--ink-soft); margin: 0; }

.divider { width: 100%; height: auto; display: block; color: var(--terracotta); }
.divider path { fill: none; stroke: currentColor; stroke-width: 2; }

/* ===== Product grid / cards ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
@media (max-width: 1040px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .product-grid.strip-mobile {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.1rem;
    padding-bottom: .6rem;
    margin: 0 -1.4rem;
    padding-inline: 1.4rem;
  }
  .product-grid.strip-mobile .card { min-width: 72vw; scroll-snap-align: start; }
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); }
.card .thumb {
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  aspect-ratio: 1/1;
  margin-bottom: .9rem;
  background: var(--cream-deep);
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .thumb img { transform: scale(1.08); }
.card .cat {
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--terracotta-dark);
  margin-bottom: .3rem;
}
.card h3 { font-size: 1.14rem; margin-bottom: .3rem; }
.card .muted { color: var(--ink-soft); font-size: .88rem; margin-bottom: .7rem; flex-grow: 1; }
.card .price-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}
.price { font-weight: 800; font-size: 1.15rem; color: var(--olive-dark); }
.card a.card-link { position: relative; font-weight: 700; font-size: .85rem; color: var(--terracotta-dark); }
.card a.card-link svg { width: 16px; height: 16px; vertical-align: -3px; }

.btn-small {
  border: 1.5px solid var(--olive-dark);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  min-height: 44px;
}
.btn-small:hover { background: var(--olive-dark); color: var(--paper); }

/* ===== Calculator (signature feature) ===== */
.calculator {
  background: var(--olive-dark);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.calculator h2, .calculator .section-head p { color: var(--cream); }
.calculator-pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .14; }
.calculator-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.4rem; position: relative; z-index: 1; }
@media (max-width: 760px) { .calculator-grid { grid-template-columns: 1fr; } }
.calculator label { display: block; font-weight: 700; margin-bottom: .5rem; }
.size-input-row { display: flex; gap: .8rem; align-items: center; }
.size-input-row input[type="range"] { flex-grow: 1; accent-color: var(--terracotta); }
.size-input-row output {
  font-family: var(--font-mono); font-size: 1.6rem; font-weight: 800;
  min-width: 2.6ch; text-align: center;
  background: var(--cream); color: var(--olive-dark);
  border-radius: 10px; padding: .2rem .5rem;
}
.calc-result { margin-top: 1.4rem; }
.calc-result .size-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--terracotta);
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: .9rem;
}
.calc-result .size-badge svg { width: 20px; height: 20px; }
.calc-matches { display: flex; flex-wrap: wrap; gap: .7rem; }
.calc-matches a {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: .6rem .9rem;
  font-size: .85rem;
  font-weight: 600;
  transition: background .3s;
}
.calc-matches a:hover { background: rgba(255,255,255,.2); }

/* ===== Badges / seals ===== */
.badge-seal { width: 118px; height: 118px; color: var(--terracotta); }

/* ===== About / split sections ===== */
.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2.6rem;
  align-items: center;
}
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split.reverse { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 760px) { .split.reverse { grid-template-columns: 1fr; } }

/* ===== Icon steps (how to order) ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { display: flex; flex-direction: column; gap: .6rem; }
.step .icon-wrap {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.step .icon-wrap svg { width: 28px; height: 28px; color: var(--terracotta-dark); }
.step h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.step p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* ===== Newsletter ===== */
.newsletter {
  background: var(--terracotta);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  align-items: center;
  justify-content: space-between;
}
.newsletter h2, .newsletter p { color: var(--paper); margin: 0; }
.newsletter form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter input[type="email"] {
  border: none; border-radius: 999px;
  padding: .8rem 1.2rem; min-width: 240px; font-size: .95rem;
}
.newsletter .msg { width: 100%; font-size: .85rem; margin-top: .4rem; }

/* ===== Forms ===== */
.form-grid { display: grid; gap: 1.2rem; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .75rem .9rem;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
  accent-color: var(--terracotta);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); }
.field .error { color: var(--ruby); font-size: .82rem; min-height: 1.1em; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--ruby); }
fieldset { border: 1.5px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; }
legend { font-weight: 700; padding-inline: .3rem; }
.form-success { background: var(--olive); color: var(--paper); border-radius: 12px; padding: 1rem 1.2rem; font-weight: 600; }
.form-fail { background: var(--ruby); color: var(--paper); border-radius: 12px; padding: 1rem 1.2rem; font-weight: 600; }

/* ===== Cart / checkout ===== */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.6rem; }
.cart-table th { text-align: left; font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.cart-table td { padding: .9rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item-info { display: flex; gap: .9rem; align-items: center; }
.cart-item-info img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.qty-control { display: flex; align-items: center; gap: .5rem; }
.qty-control button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--olive-dark); background: transparent; cursor: pointer; font-weight: 800; }
.cart-remove { color: var(--ruby); font-weight: 700; font-size: .85rem; background: none; border: none; cursor: pointer; }
.cart-summary { max-width: 360px; margin-left: auto; display: grid; gap: .6rem; }
.cart-summary .total-row { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 800; border-top: 1px solid var(--line); padding-top: .6rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }

/* ===== Page header (non-home) ===== */
.page-header { padding-block: 3rem 1.2rem; }
.page-header h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.breadcrumb { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.breadcrumb a { color: var(--terracotta-dark); }

/* ===== FAQ accordion ===== */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { transition: transform .3s var(--ease); flex-shrink: 0; margin-left: 1rem; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1.1rem; color: var(--ink-soft); max-width: 70ch; }

/* ===== Legal content ===== */
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal ul { padding-left: 1.3rem; list-style: disc; margin-bottom: 1em; }

/* ===== Filter bar (catalog) ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-bar button {
  border: 1.5px solid var(--olive-dark);
  background: transparent;
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  min-height: 44px;
}
.filter-bar button.active { background: var(--olive-dark); color: var(--paper); }

/* ===== Product detail ===== */
.product-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.8rem; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail .thumb { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1/1; }
.product-detail .thumb img { width: 100%; height: 100%; object-fit: cover; }
.size-pills { display: flex; gap: .6rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.size-pills span { border: 1.5px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .85rem; font-weight: 700; }
.qty-add-row { display: flex; gap: 1rem; align-items: center; margin-top: 1.4rem; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { background: var(--olive-dark); color: var(--cream); margin-top: 4rem; }
.footer-top { padding-block: 3.4rem 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top h3 { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--gold); margin-bottom: 1rem; }
.footer-top ul { display: grid; gap: .6rem; }
.footer-top a { color: var(--cream); opacity: .85; font-size: .92rem; }
.footer-top a:hover { opacity: 1; text-decoration: underline; }
.footer-brand .logo { color: var(--cream); }
.footer-brand .logo .word span { color: var(--gold); }
.footer-brand p { opacity: .8; font-size: .9rem; max-width: 30ch; }
.footer-newsletter input[type="email"] { width: 100%; }
.footer-newsletter form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-start; }
.footer-newsletter .field { flex: 1 1 180px; gap: .2rem; }
.footer-newsletter .field .error { color: #ffd9c9; }
.footer-newsletter .form-status { width: 100%; font-size: .85rem; margin: .4rem 0 0; }
.footer-newsletter .btn { flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-block: 1.2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; opacity: .75;
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 200;
  background: var(--olive-dark);
  color: var(--cream);
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap;
  max-width: 760px;
  margin-inline: auto;
  transform: translateY(140%);
  transition: transform .5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: .9rem; flex: 1 1 280px; }
.cookie-banner a { text-decoration: underline; color: var(--gold); }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie-actions .btn.ghost { border-color: rgba(255,255,255,.6); color: var(--cream); }
.cookie-actions .btn.ghost::before { background: rgba(255,255,255,.18); }
.cookie-actions .btn.ghost:hover { color: var(--cream); }
@media (min-width: 760px) {
  .cookie-banner { left: auto; right: 1.5rem; max-width: 420px; }
}

/* ===== 404 ===== */
.notfound { text-align: center; padding-block: 5rem; }
.notfound svg { width: 180px; height: 180px; margin-inline: auto 1.6rem; }

/* ===== continuous subtle element: floating thread dot ===== */
.thread-float {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .5;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(10px); }
}
@media (prefers-reduced-motion: reduce) {
  .thread-float { animation: none; }
}
