/* =========================================================
   TKALCOVKA — design system
   Style: řemeslná dílna + "tkalcovský kompas" (vlákna místo lan,
   tkané vlajky vzorků místo signálních vlajek, paprsky osnovy místo kompasu).
   ========================================================= */

:root {
  --teal-900: #122e2e;
  --teal-800: #1c4444;
  --teal-700: #245757;
  --teal-600: #2f6b6b;
  --mustard-600: #c99a2e;
  --mustard-500: #d9ab3e;
  --cream-050: #faf6ec;
  --cream-100: #f1e8d4;
  --linen-200: #e8dcc0;
  --ink: #20241f;
  --ink-soft: #4a4a43;
  --white: #fffdf8;
  --danger: #a6342a;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-label: "Courier New", ui-monospace, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-paper: 0 1px 0 rgba(32,36,31,.05), 0 10px 24px -14px rgba(18,46,46,.35), 0 2px 4px rgba(18,46,46,.08);
  --shadow-lift: 0 18px 36px -18px rgba(18,46,46,.45), 0 4px 10px rgba(18,46,46,.12);
  --container: 1200px;
  --measure: 68ch;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-050);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration-color: color-mix(in srgb, var(--teal-700) 50%, transparent); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 .5em; line-height: 1.12; color: var(--teal-900); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--mustard-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.flow > * + * { margin-top: 1em; }
.grid { display: grid; gap: clamp(1rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.gap-sm { gap: .6rem; }
.eyebrow {
  font-family: var(--font-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--mustard-600);
  display: inline-flex;
  align-items: center;
  gap: .5em;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--teal-900);
  color: var(--cream-050);
  border-bottom: 3px solid var(--mustard-600);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .75rem;
}
.logo { display: flex; align-items: center; gap: .6rem; color: var(--cream-050); text-decoration: none; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-word { width: 150px; height: 28px; flex: none; }
.main-nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); }
.nav-link {
  color: var(--cream-100);
  text-decoration: none;
  font-size: .95rem;
  position: relative;
  padding: .3em 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--mustard-500);
  transition: right .25s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.nav-link.is-active { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-link { position: relative; display: inline-flex; color: var(--cream-050); }
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.cart-count {
  position: absolute; top: -8px; right: -10px;
  background: var(--mustard-600); color: var(--teal-900);
  font-size: .68rem; font-weight: 700;
  width: 1.3em; height: 1.3em; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-label);
}
.js-cart-icon.bump { animation: cart-bump .35s ease; }
@keyframes cart-bump { 0%{transform:scale(1)} 40%{transform:scale(1.28) rotate(-6deg)} 100%{transform:scale(1)} }

.menu-toggle {
  display: none;
  background: none; border: 2px solid var(--cream-100);
  color: var(--cream-050);
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--teal-900);
    flex-direction: column; align-items: flex-start;
    padding: 5rem 1.6rem 2rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav .nav-link { font-size: 1.1rem; width: 100%; padding-block: .5em; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--teal-900); color: var(--cream-100); border-top: 3px solid var(--mustard-600); }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer-grid h3 { color: var(--cream-050); font-size: 1rem; letter-spacing: .04em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; }
.footer-grid a { color: var(--cream-100); text-decoration: none; }
.footer-grid a:hover { color: var(--mustard-500); }
.footer-bottom {
  border-top: 1px solid rgba(250,246,236,.15);
  padding-block: 1.2rem;
  font-size: .85rem;
  display: flex; flex-wrap: wrap; gap: .8rem;
  justify-content: space-between;
  color: var(--cream-100);
}
.newsletter-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 160px;
  background: var(--teal-800); border: 1px solid var(--teal-600);
  color: var(--cream-050); padding: .7em .9em; border-radius: var(--radius-sm);
}
.form-msg { font-size: .85rem; margin-top: .5em; color: var(--mustard-500); }
.form-msg.is-error { color: #e08a7d; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 44px;
  font-size: .95rem;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.btn::before {
  content: "";
  position: absolute; inset: 0; left: -100%; width: 100%;
  background: var(--teal-900);
  z-index: -1;
  transition: left .3s ease;
}
.btn-primary { background: var(--mustard-600); color: var(--teal-900); border-color: var(--mustard-600); }
.btn-primary:hover::before { left: 0; }
.btn-primary:hover { color: var(--cream-050); }
.btn-ghost { background: transparent; color: var(--teal-800); border-color: var(--teal-800); }
.btn-ghost::before { background: var(--teal-800); }
.btn-ghost:hover::before { left: 0; }
.btn-ghost:hover { color: var(--white); }
.btn-dark { background: transparent; color: var(--cream-050); border-color: var(--cream-100); }
.btn-dark::before { background: var(--mustard-600); }
.btn-dark:hover::before { left: 0; }
.btn-dark:hover { color: var(--teal-900); border-color: var(--mustard-600); }
.btn-block { width: 100%; }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; min-height: 38px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- decorative dividers / patterns ---------- */
.thread-divider { width: 100%; height: 28px; color: var(--mustard-600); }
.flag-rail { display: flex; gap: .4rem; overflow: hidden; }
.compass-rose { width: clamp(90px, 14vw, 140px); height: auto; color: var(--mustard-600); }
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .05; mix-blend-mode: multiply; z-index: 1; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--teal-900), var(--teal-800));
  color: var(--cream-050);
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6.5vw, 5rem); margin-bottom: .4em; }
.hero-underline { position: relative; display: inline-block; }
.hero-underline svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .3em; color: var(--mustard-500); }
.hero-underline svg path { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw-underline 1.1s .4s ease forwards; }
.hero p.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--cream-100); max-width: 36ch; }
.hero-art { position: relative; aspect-ratio: 4/5; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); filter: sepia(.12) saturate(1.05); box-shadow: var(--shadow-lift); }
.hero-art .compass-rose { position: absolute; right: -18px; bottom: -18px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
@keyframes draw-underline { to { stroke-dashoffset: 0; } }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; aspect-ratio: 16/10; } }

/* ---------- number-grid composition ---------- */
.number-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border: 1px solid var(--linen-200); border-radius: var(--radius); overflow: hidden; }
.number-cell { padding: clamp(1.6rem, 3vw, 2.4rem); border-right: 1px solid var(--linen-200); border-bottom: 1px solid var(--linen-200); position: relative; background: var(--white); }
.number-cell:last-child, .number-grid > .number-cell:nth-last-child(-n+1) { border-right: none; }
.number-cell .num { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5rem); color: var(--linen-200); line-height: 1; position: absolute; top: .3rem; right: .6rem; z-index: 0; }
.number-cell .num-body { position: relative; z-index: 1; }
.number-cell h3 { margin-top: 2.2rem; }

/* ---------- cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 1.2rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-badge {
  position: absolute; margin: .8rem; padding: .3em .7em;
  background: var(--mustard-600); color: var(--teal-900);
  font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  border-radius: 999px; font-family: var(--font-label);
}
.card-media { position: relative; }
.price { font-family: var(--font-label); font-size: 1.1rem; color: var(--teal-800); }

/* product strip (horizontal scroll-snap on mobile) */
.product-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
@media (max-width: 700px) {
  .product-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: .5rem; margin: 0 -1.1rem; padding-inline: 1.1rem; }
  .product-strip .card { min-width: 76vw; scroll-snap-align: start; }
}

/* ---------- signature feature: Kalkulátor příze ---------- */
.calc-panel {
  background: var(--teal-900);
  color: var(--cream-050);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.calc-panel::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(250,246,236,.05) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.calc-field { display: grid; gap: .4rem; }
.calc-field label { font-family: var(--font-label); font-size: .82rem; letter-spacing: .04em; color: var(--cream-100); }
.calc-field input {
  background: var(--teal-800); border: 1px solid var(--teal-600); color: var(--cream-050);
  padding: .75em .9em; border-radius: var(--radius-sm); font-size: 1rem;
}
.calc-result {
  background: var(--teal-800); border: 1px dashed var(--mustard-500);
  border-radius: var(--radius-sm); padding: 1.3rem;
  display: grid; gap: .3rem; align-content: center; position: relative; z-index: 1;
}
.calc-result strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--mustard-500); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); 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-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-underline svg path { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; stroke-dashoffset: 0 !important; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--teal-800), var(--teal-900));
  color: var(--cream-050);
  padding-block: clamp(2.4rem, 6vw, 4rem);
  border-bottom: 3px solid var(--mustard-600);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { color: var(--cream-100); max-width: 60ch; }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { display: flex; gap: .4em; flex-wrap: wrap; font-size: .85rem; color: var(--cream-100); list-style: none; padding: 0; margin: 0 0 1rem; }
.breadcrumbs a { color: var(--cream-100); text-decoration: none; }
.breadcrumbs a:hover { color: var(--mustard-500); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4em; color: var(--mustard-500); }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: var(--measure); margin-inline: auto; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { text-decoration-thickness: 1px; }
.legal-toc { background: var(--cream-100); border-radius: var(--radius); padding: 1.4rem 1.6rem; max-width: var(--measure); margin: 0 auto 2rem; }
.legal-toc h2 { font-size: 1.1rem; margin-top: 0; }
.legal-toc ol { margin: 0; padding-left: 1.2em; }
.legal-toc a { color: var(--teal-800); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

/* ---------- notice ---------- */
.notice { border-radius: var(--radius-sm); padding: 1rem 1.2rem; border: 1px solid var(--linen-200); background: var(--cream-100); display: flex; gap: .7rem; align-items: flex-start; }
.notice .icon { flex: none; color: var(--teal-700); margin-top: .1em; }
.notice-success { border-color: #9cbf9c; background: #eef5ea; }
.notice-error { border-color: #e2b3ab; background: #fbeeec; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: grid; gap: .4rem; }
.field.field-wide { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--teal-800); }
.field input, .field select, .field textarea {
  padding: .75em .9em; border: 1.5px solid var(--linen-200); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: var(--white); color: var(--ink);
  accent-color: var(--mustard-600);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-600); }
.field textarea { min-height: 120px; resize: vertical; }
.field-error { font-size: .82rem; color: var(--danger); min-height: 1.1em; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: var(--measure); margin-inline: auto; }
.faq-item { border: 1px solid var(--linen-200); border-radius: var(--radius-sm); background: var(--white); overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--teal-800); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--mustard-600); transition: transform .25s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }

/* ---------- product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); }
.product-detail .product-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.product-detail .product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail .price { font-size: 1.6rem; }
.qty-row { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0; }
.qty-row input[type="number"] { width: 5em; padding: .6em; border: 1.5px solid var(--linen-200); border-radius: var(--radius-sm); }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-family: var(--font-label); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: .6rem; border-bottom: 2px solid var(--linen-200); }
.cart-table td { padding: .9rem 0; border-bottom: 1px solid var(--linen-200); vertical-align: middle; }
.cart-table .cart-item-name { display: flex; align-items: center; gap: .8rem; }
.cart-table .cart-item-name img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-summary { background: var(--cream-100); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: .8rem; align-content: start; }
.cart-summary .summary-row { display: flex; justify-content: space-between; }
.cart-summary .summary-total { font-weight: 700; font-size: 1.2rem; border-top: 1px solid var(--linen-200); padding-top: .8rem; }
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; }
@media (max-width: 820px) { .cart-layout { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.contact-info { display: grid; gap: 1.2rem; }
.contact-info .notice { background: var(--white); }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  max-width: 640px; margin-inline: auto;
  background: var(--teal-900); color: var(--cream-050);
  border: 2px solid var(--mustard-600); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; box-shadow: var(--shadow-lift);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--cream-100); flex: 1 1 260px; }
.cookie-banner .cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(3rem, 10vw, 7rem); }
.error-page .num { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 10rem); color: var(--linen-200); line-height: 1; margin: 0; }

/* =========================================================
   COMPONENTS: .class - what it is
   .container - centered max-width content wrapper
   .section - standard vertical section padding
   .flow - adds vertical rhythm margin between children
   .grid / .grid-2 / .grid-3 / .grid-4 - responsive auto-fit grids
   .eyebrow - small uppercase label above headings
   .site-header - sticky top header bar
   .logo / .logo-mark / .logo-word - logo link and SVG parts
   .main-nav / .nav-link - primary navigation and links (is-active state)
   .menu-toggle - mobile hamburger button
   .header-actions / .cart-link / .cart-count - header right-side cart icon+badge
   .site-footer / .footer-grid / .footer-bottom - footer layout
   .newsletter-form / .form-msg - footer newsletter subscribe form
   .btn / .btn-primary / .btn-ghost / .btn-dark / .btn-block / .btn-sm - button variants with fill-sweep hover
   .thread-divider / .flag-rail / .compass-rose / .grain-overlay - decorative SVG motifs
   .hero / .hero-grid / .hero-underline / .hero-art / .hero-actions - home hero section
   .number-grid / .number-cell - oversized-number section composition
   .card / .card-media / .card-body / .card-badge / .price - product/content card
   .product-strip - responsive grid, becomes horizontal scroll-snap on mobile
   .calc-panel / .calc-field / .calc-result - Kalkulátor příze signature feature
   .reveal / .reveal-stagger / .in-view - scroll reveal animation states
   .page-hero - inner page header band
   .breadcrumbs - breadcrumb trail list
   .prose - readable long-form text column (legal pages)
   .legal-toc - table of contents box for legal pages
   .notice / .notice-success / .notice-error - inline message/alert box
   .form-grid / .field / .field-error / .field.has-error / .honeypot-field - form layout and validation
   .faq / .faq-item - details/summary accordion
   .product-detail / .qty-row - single product page layout
   .cart-table / .cart-summary / .cart-layout - cart and checkout layout
   .contact-layout / .contact-info - contact page layout
   .cookie-banner - fixed consent banner
   .error-page - 404 page layout
   ========================================================= */

/* ---------- catalog filters ---------- */
.filter-bar {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.6rem;
}

/* ---------- cart quantity input ---------- */
.qty-input {
  width: 4em;
  padding: 0.6em;
  border: 1.5px solid var(--linen-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}

/* ---------- cart remove button ---------- */
.remove-btn {
  background: transparent;
  border: 1px solid var(--danger);
  color: var(--danger);
  width: 2.2em;
  height: 2.2em;
  padding: 0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.remove-btn:hover {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}

/* wg-contrast-autofix */
section.section div.container div.reveal.flow p.eyebrow { color: #111111 !important; }
div.container div.number-grid div.number-cell.reveal span.num { color: #111111 !important; }

/* contrast fixes for dark backgrounds */
section.section[style*="background:var(--teal-900)"] div.container div.reveal.flow p.eyebrow { color: var(--cream-100) !important; }
.footer-bottom a { color: var(--cream-100); }
.cookie-banner a { color: var(--cream-100); }
