@import url("../fonts/fonts.css");

/* ==========================================================================
   UNIKA — design system
   Tokens documented in docs/DESIGN-SYSTEM.md and docs/BRAND.md
   ========================================================================== */

:root {
  /* Blue — "Baltic" (primary) */
  --blue-900: #05192b;
  --blue-800: #0a2a45;
  --blue-700: #103c60;
  --blue-600: #17537f;
  --blue-500: #2c74a8;
  --blue-100: #d8e6f2;
  --blue-50:  #f2f7fb;

  /* Green — "Fresh" (secondary). green-600 is a FILL colour, never text. */
  --green-800: #0b5b45;
  --green-700: #0e7355;
  --green-600: #12946e;
  --green-500: #2fb68c;
  --green-100: #d6f0e6;
  --green-50:  #f1faf6;

  /* Neutrals — "Steel" */
  --ink-900: #0d1720;
  --ink-700: #22313e;
  --ink-500: #4d5f6e;
  --ink-400: #7b8b99;
  --ink-200: #d6dee5;
  --ink-100: #e9eef2;
  --ink-50:  #f5f8fa;
  --white:   #ffffff;

  /* Signal */
  --amber: #8f5200;
  --amber-100: #fdf0dc;
  --danger: #b03024;

  --gradient-brand: linear-gradient(135deg, #103c60 0%, #17537f 45%, #12946e 100%);

  /* Spacing — 4px base */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 20px; --space-6: 24px;  --space-8: 32px;  --space-10: 48px;
  --space-12: 64px; --space-16: 96px; --space-20: 128px;

  --radius-sm: 8px;  --radius-md: 12px; --radius-lg: 18px;
  --radius-xl: 26px; --radius-pill: 999px;

  /* layered, low-opacity shadows read as "expensive"; single hard shadows do not */
  --shadow-xs: 0 1px 2px rgb(13 23 32 / .05);
  --shadow-sm: 0 1px 3px rgb(13 23 32 / .05), 0 6px 14px -8px rgb(13 23 32 / .10);
  --shadow-md: 0 2px 6px rgb(13 23 32 / .05), 0 14px 32px -12px rgb(13 23 32 / .16);
  --shadow-lg: 0 4px 12px rgb(13 23 32 / .06), 0 30px 60px -20px rgb(13 23 32 / .22);
  --shadow-blue: 0 10px 30px -12px rgb(16 60 96 / .45);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: 200ms;
  --dur-slow: 420ms;

  --container: 1240px;
  --gutter: 24px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-condensed: "Barlow Condensed", "Inter", sans-serif;
}

/* ── reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv05" 1, "ss01" 1;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgb(16 60 96 / .35);
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute; left: -9999px; top: var(--space-2); z-index: 200;
  background: var(--blue-700); color: #fff; padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md); font-weight: 600;
}
.skip-link:focus { left: var(--space-4); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── motion ────────────────────────────────────────────────────────────── */
@keyframes riseIn  { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes floatY  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes sheen   { from { transform: translateX(-120%); } to { transform: translateX(220%); } }

/* Scroll reveal. Elements stay visible unless JS has taken over (html.js),
   so the page degrades gracefully with scripting off. */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

/* Hero content animates on load — no JS, no flash. */
.anim-rise { animation: riseIn 760ms var(--ease-out) both; }
.d-1 { animation-delay: 80ms; }  .d-2 { animation-delay: 160ms; }
.d-3 { animation-delay: 240ms; } .d-4 { animation-delay: 320ms; }
.d-5 { animation-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ── typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -.028em; }
h2 { font-size: clamp(25px, 3.2vw, 34px); letter-spacing: -.024em; }
h3 { font-size: clamp(18px, 2vw, 20px); font-weight: 600; letter-spacing: -.015em; }

.display {
  font-size: clamp(36px, 5.6vw, 62px); font-weight: 700;
  letter-spacing: -.035em; line-height: 1.05;
}
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-500); max-width: 62ch; line-height: 1.6; }
.small { font-size: 14px; }
.muted { color: var(--ink-500); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue-700);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--gradient-brand);
}
.eyebrow--green { color: var(--green-700); }

.stat-num {
  font-family: var(--font-condensed);
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 700; line-height: 1; color: var(--blue-700);
  letter-spacing: .01em; font-variant-numeric: tabular-nums;
}

/* ── layout ────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-16); }
@media (min-width: 900px) { .section { padding-block: var(--space-20); } }
.section--tint  { background: var(--blue-50); }
.section--green { background: var(--green-50); }
.section--ink   { background: var(--ink-50); }

.section-head { max-width: 700px; margin-bottom: var(--space-12); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: var(--space-4); color: var(--ink-500); font-size: 17px; line-height: 1.6; }

.grid { display: grid; gap: var(--space-6); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1199px) { .cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px)  { .cols-3, .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px)  { .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: 1fr; } }

/* ── buttons ───────────────────────────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-6);
  border: 1px solid transparent; border-radius: var(--radius-md);
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
/* light sweep on hover — the one flourish, used sparingly */
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / .22) 50%, transparent 80%);
  transform: translateX(-120%);
}
.btn:hover::after { animation: sheen 720ms var(--ease-out); }

.btn--primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--blue-600); }
.btn--accent { background: var(--green-700); color: #fff; box-shadow: 0 10px 26px -14px rgb(14 115 85 / .8); }
.btn--accent:hover { background: var(--green-800); }
.btn--ghost { background: #fff; color: var(--ink-700); border-color: var(--ink-200); }
.btn--ghost:hover { background: #fff; border-color: var(--ink-400); box-shadow: var(--shadow-sm); }
.btn--onDark { background: #fff; color: var(--blue-800); }
.btn--onDark:hover { background: #fff; box-shadow: 0 12px 30px -12px rgb(0 0 0 / .5); }
.btn--outlineDark { background: rgb(255 255 255 / .06); color: #fff; border-color: rgb(255 255 255 / .34); }
.btn--outlineDark:hover { background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .7); }
.btn--sm { min-height: 40px; padding: 0 var(--space-5); font-size: 14px; }
.btn--block { width: 100%; }

.arrow-link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; color: var(--blue-700); font-size: 15px;
}
.arrow-link::after {
  content: "→"; transition: transform var(--dur) var(--ease);
}
.arrow-link:hover { text-decoration: none; }
.arrow-link:hover::after { transform: translateX(5px); }

/* ── badges ────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px var(--space-2); border-radius: var(--radius-sm);
  font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap; backdrop-filter: blur(6px);
}
.badge--eco     { background: rgb(220 242 229 / .92); color: var(--green-800); }
.badge--hazard  { background: rgb(253 240 220 / .92); color: var(--amber); }
.badge--made    { background: rgb(220 235 247 / .92); color: var(--blue-700); }
/* availability — solid green reads as "buy now", neutral grey as "to order" */
.badge--stock   { background: var(--green-700); color: #fff; }
.badge--order   { background: rgb(233 238 242 / .94); color: var(--ink-500); }

/* ── header ────────────────────────────────────────────────────────────── */
.utility {
  background: var(--blue-900); color: rgb(255 255 255 / .74); font-size: 12.5px;
  letter-spacing: .01em;
}
.utility .container { display: flex; align-items: center; gap: var(--space-6); min-height: 42px; }
.utility a { color: inherit; transition: color var(--dur) var(--ease); }
.utility a:hover { color: #fff; }
.utility__spacer { margin-left: auto; }
.utility__item { display: inline-flex; align-items: center; gap: var(--space-2); }

.langs {
  display: inline-flex; background: rgb(255 255 255 / .09); border-radius: var(--radius-pill);
  padding: 3px; border: 1px solid rgb(255 255 255 / .08);
}
.langs button {
  border: 0; background: transparent; color: rgb(255 255 255 / .72);
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em;
  padding: 4px var(--space-3); border-radius: var(--radius-pill); cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.langs button:hover { color: #fff; }
.langs button[aria-current="true"] { background: #fff; color: var(--blue-800); }

/* At phone width the utility bar cannot hold four items — the phone number
   wrapped onto three lines and clipped the language switcher. Keep the phone
   and the switcher; e-mail and opening hours are in the footer anyway. */
@media (max-width: 599px) {
  .utility .container { gap: var(--space-3); min-height: 38px; }
  .utility .container > :nth-child(2),
  .utility .container > :nth-child(4) { display: none; }
  .utility__item { white-space: nowrap; }
  .langs button { padding: 4px var(--space-2); }
}

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(255 255 255 / .82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--ink-100);
  box-shadow: 0 1px 24px -6px rgb(13 23 32 / .12);
  background: rgb(255 255 255 / .94);
}
.header .container { display: flex; align-items: center; gap: var(--space-8); min-height: 80px; }

.brand { display: inline-flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand > span { display: flex; flex-direction: column; justify-content: center; }
.brand__logo {
  height: 54px; width: auto;                 /* stacked lockup — height drives the fit */
  transition: opacity var(--dur) var(--ease);
}
.brand picture { display: block; }
.brand:hover .brand__logo { opacity: .82; }
.brand__name {
  font-family: var(--font-condensed); font-size: 28px; font-weight: 700;
  letter-spacing: .075em; color: var(--ink-900); line-height: 1;
}
.brand__tag {
  font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-400); line-height: 1.35; margin-top: 3px; max-width: 200px;
}

.nav { display: flex; align-items: center; gap: var(--space-6); margin-left: auto; }
.nav a {
  position: relative; color: var(--ink-700); font-weight: 500; font-size: 15px;
  padding-block: var(--space-2); transition: color var(--dur) var(--ease);
}
.nav a:hover { color: var(--blue-700); text-decoration: none; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  border-radius: 2px; background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--blue-700); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.burger {
  display: none; margin-left: auto; width: 46px; height: 46px;
  border: 1px solid var(--ink-200); border-radius: var(--radius-md);
  background: #fff; cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 2px; background: var(--ink-700);
  border-radius: 2px; margin-inline: auto; position: relative;
  transition: transform var(--dur) var(--ease);
}
.burger span::before { content: ""; position: absolute; top: -6px; }
.burger span::after  { content: ""; position: absolute; top: 6px; }

@media (max-width: 899px) {
  .header .container { min-height: 66px; gap: var(--space-4); }
  .brand__logo { height: 44px; }
  .nav { display: none; }
  .burger { display: block; }
  .nav--open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--ink-100);
    padding: var(--space-2) var(--gutter) var(--space-6);
    box-shadow: var(--shadow-md);
    animation: riseIn 260ms var(--ease-out) both;
  }
  .nav--open a { padding: var(--space-4) 0; border-bottom: 1px solid var(--ink-100); font-size: 17px; }
  .nav--open a::after { display: none; }
}

/* ── product-group card ────────────────────────────────────────────────
   One idea per card: what it is, how many, go. No bullet lists.
   ────────────────────────────────────────────────────────────────────── */
.cat-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6) var(--space-6); overflow: hidden;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out),
              border-color var(--dur) var(--ease);
}
.cat-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
.cat-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-md);
  border-color: transparent; text-decoration: none;
}
.cat-card:hover::before { transform: scaleX(1); }

.cat-card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--blue-50); color: var(--blue-700);
  display: grid; place-items: center; margin-bottom: var(--space-6);
  transition: background var(--dur-slow) var(--ease-out), color var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.cat-card:hover .cat-card__icon {
  background: var(--gradient-brand); color: #fff; transform: translateY(-2px) scale(1.04);
}
.cat-card--green .cat-card__icon { background: var(--green-100); color: var(--green-800); }
.cat-card h3 { margin-bottom: var(--space-3); }
.cat-card p { color: var(--ink-500); font-size: 14.5px; line-height: 1.55; flex-grow: 1; }

.cat-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  margin-top: var(--space-6); padding-top: var(--space-5);
  border-top: 1px solid var(--ink-100);
}
.cat-card__count { font-size: 13px; color: var(--ink-400); }
.cat-card__count b {
  font-family: var(--font-condensed); font-size: 21px; font-weight: 700;
  color: var(--ink-900); margin-right: 4px; font-variant-numeric: tabular-nums;
}
.cat-card__go {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--ink-50); color: var(--blue-700); font-size: 15px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.cat-card:hover .cat-card__go { background: var(--blue-700); color: #fff; transform: translateX(3px); }

.cols-5 .cat-card { padding: var(--space-6) var(--space-5) var(--space-5); }
.cols-5 .cat-card__icon { width: 46px; height: 46px; margin-bottom: var(--space-5); }
.cols-5 .cat-card h3 { font-size: 17px; }
.cols-5 .cat-card p { font-size: 13.5px; }

/* ── product card ──────────────────────────────────────────────────────
   Deliberately quiet: image, name, one line of description, one muted meta
   line. No category chip, no divider row, no coloured CTA — the whole card
   is a link, so it does not need to shout.
   ────────────────────────────────────────────────────────────────────── */
.p-card {
  display: flex; flex-direction: column; background: #fff; color: inherit;
  border: 1px solid var(--ink-100); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out),
              border-color var(--dur) var(--ease);
}
.p-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-md);
  border-color: transparent; text-decoration: none;
}
.p-card:hover .p-card__name { color: var(--blue-700); }

.p-card__media {
  position: relative; aspect-ratio: 4 / 3; background: #fff;
  display: grid; place-items: center; padding: var(--space-8) var(--space-6);
  overflow: hidden;
}
.p-card__media img {
  width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;
  transition: transform 520ms var(--ease-out);
}
.p-card:hover .p-card__media img { transform: scale(1.05); }

.p-card--hanger .p-card__media { background: var(--blue-50); }
.p-card--hanger .p-card__media img { mix-blend-mode: normal; }
/* real photography rather than a packshot on white — fill the frame */
.p-card--photo .p-card__media { padding: 0; background: var(--ink-100); }
.p-card--photo .p-card__media img { mix-blend-mode: normal; object-fit: cover; }

.p-card__badges {
  position: absolute; top: var(--space-4); left: var(--space-4);
  display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - var(--space-8));
}

.p-card__body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex; flex-direction: column; flex-grow: 1;
  border-top: 1px solid var(--ink-100);
}
.p-card__name {
  font-size: 16px; font-weight: 600; color: var(--ink-900); line-height: 1.35;
  letter-spacing: -.015em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--dur) var(--ease);
}
.p-card__sub {
  margin-top: var(--space-2); font-size: 13.5px; color: var(--ink-500); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.p-card__meta {
  margin-top: auto; padding-top: var(--space-5);
  font-size: 12px; color: var(--ink-400);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.p-ph { width: 100%; height: 100%; display: grid; place-items: center; }
.p-ph span {
  font-family: var(--font-condensed); font-size: 44px; font-weight: 700;
  color: var(--ink-200); letter-spacing: .04em;
}

.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.catalog .p-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1199px) {
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog .p-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) { .p-grid, .catalog .p-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .p-grid, .catalog .p-grid { grid-template-columns: 1fr; } }

/* ── page head ─────────────────────────────────────────────────────────── */
.page-head {
  position: relative; overflow: hidden; color: #fff;
  padding-block: var(--space-16) var(--space-16);
  background:
    radial-gradient(720px 340px at 94% 0%, rgb(47 182 140 / .22), transparent 62%),
    radial-gradient(700px 420px at 55% 40%, rgb(23 83 127 / .32), transparent 70%),
    linear-gradient(155deg, #0a2a45 0%, #05192b 100%);
}
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 400px at 20% 10%, #000 10%, transparent 80%);
}
.page-head .container { position: relative; }
.page-head h1 { color: #fff; }
.page-head p { color: rgb(255 255 255 / .76); margin-top: var(--space-4); max-width: 62ch; font-size: 17px; }
.crumbs { font-size: 13px; color: rgb(255 255 255 / .55); margin-bottom: var(--space-5); letter-spacing: .02em; }
.crumbs a { color: rgb(255 255 255 / .8); }

/* ── catalogue: toolbar + sidebar ──────────────────────────────────────── */
.catalog { display: grid; grid-template-columns: 264px 1fr; gap: var(--space-12); align-items: start; }
@media (max-width: 1199px) { .catalog { grid-template-columns: 224px 1fr; gap: var(--space-8); } }
@media (max-width: 899px)  { .catalog { grid-template-columns: 1fr; } }

.filters { position: sticky; top: 104px; }
.filters__group + .filters__group { margin-top: var(--space-8); }
.filters__title {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-900); padding-bottom: var(--space-3); margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--ink-100);
}
/* Each filter is a link to its own URL, so it can be opened in a new tab,
   bookmarked, and restored by the Back button. */
.f-item {
  display: flex; align-items: center; gap: var(--space-3);
  padding: 8px var(--space-2); margin-inline: calc(var(--space-2) * -1);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--ink-700);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.f-item:hover { color: var(--blue-700); background: var(--ink-50); text-decoration: none; }
.f-item.is-active { background: var(--blue-50); color: var(--blue-700); font-weight: 600; }
.f-item.is-active .count { color: var(--blue-600); }
.filters .count { margin-left: auto; font-size: 11.5px; color: var(--ink-400); font-variant-numeric: tabular-nums; }

.toolbar {
  display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.search { position: relative; flex-grow: 1; min-width: 220px; max-width: 400px; }
.search input {
  width: 100%; height: 48px; padding: 0 var(--space-4) 0 44px;
  border: 1px solid var(--ink-200); border-radius: var(--radius-md); background: #fff;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.search input:focus { border-color: var(--blue-700); box-shadow: 0 0 0 4px rgb(16 60 96 / .1); }
.search input::placeholder { color: var(--ink-400); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-400); }
.toolbar select {
  height: 48px; padding: 0 var(--space-4); border: 1px solid var(--ink-200);
  border-radius: var(--radius-md); background: #fff; cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}
.toolbar select:hover { border-color: var(--ink-400); }
.result-count { font-size: 14px; color: var(--ink-500); margin-left: auto; font-variant-numeric: tabular-nums; }

.pills { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100);
  border-radius: var(--radius-pill); padding: 6px var(--space-4);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pill:hover { background: var(--blue-100); transform: translateY(-1px); }
.pill::after { content: "×"; font-size: 15px; line-height: 1; opacity: .7; }
.pill--clear { background: transparent; border-color: transparent; color: var(--ink-500); text-decoration: underline; }
.pill:hover { text-decoration: none; }
.pill--clear::after { content: ""; }

.empty { text-align: center; padding: var(--space-16) var(--space-6); color: var(--ink-500); }
.empty strong { display: block; font-size: 20px; color: var(--ink-900); margin-bottom: var(--space-2); }

.filters-toggle { display: none; }
@media (max-width: 899px) {
  .filters-toggle { display: inline-flex; }
  .filters { display: none; position: static; }
  .filters--open {
    display: block; background: #fff; border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg); padding: var(--space-6); margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
    animation: riseIn 260ms var(--ease-out) both;
  }
}

/* ── product detail page ───────────────────────────────────────────────── */
.pdp-crumbs {
  border-bottom: 1px solid var(--ink-100); background: #fff;
  font-size: 13px; color: var(--ink-500);
}
.pdp-crumbs .container { padding-block: var(--space-5); }
.pdp-crumbs a { color: var(--ink-500); }
.pdp-crumbs a:hover { color: var(--blue-700); }
.pdp-crumbs span { color: var(--ink-900); font-weight: 500; }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: start; }
@media (max-width: 899px) { .pdp { grid-template-columns: 1fr; gap: var(--space-10); } }

.pdp__media {
  position: sticky; top: 104px; overflow: hidden;
  background: var(--ink-50); border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl); aspect-ratio: 1;
  display: grid; place-items: center; padding: var(--space-16);
  animation: fadeIn 600ms var(--ease-out) both;
}
@media (max-width: 899px) { .pdp__media { position: static; padding: var(--space-10); } }
.pdp__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__media--hanger { background: var(--blue-50); }
.pdp__media--hanger img { mix-blend-mode: normal; }
.pdp__media--photo { padding: 0; background: var(--ink-100); }
.pdp__media--photo img { mix-blend-mode: normal; object-fit: cover; }
.pdp__badges {
  position: absolute; top: var(--space-6); left: var(--space-6);
  display: flex; flex-wrap: wrap; gap: 6px;
}

.pdp__info { animation: riseIn 600ms var(--ease-out) 90ms both; }
.pdp__info h1 { margin-top: var(--space-1); }
.pdp__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-10); }

.pdp__avail {
  display: flex; gap: var(--space-3); align-items: baseline; flex-wrap: wrap;
  margin-top: var(--space-8); padding: var(--space-4) var(--space-5);
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  font-size: 14px; color: var(--green-800);
}
.pdp__avail strong { color: var(--green-800); }

.pdp__desc { margin-top: var(--space-6); color: var(--ink-700); line-height: 1.7; }
.pdp__desc p + p { margin-top: var(--space-3); }
.pdp__srcnote { font-size: 12.5px; color: var(--ink-400); line-height: 1.55; }
.pdp__mfr { font-size: 14.5px; color: var(--ink-700); line-height: 1.7; }
/* the manufacturer blocks are deliberately untranslated — say so, quietly */
.pdp__enflag {
  display: inline-block; margin-left: var(--space-2); padding: 1px 6px;
  border-radius: var(--radius-sm); background: var(--ink-100); color: var(--ink-500);
  font-size: 9.5px; font-weight: 700; letter-spacing: .1em; vertical-align: 2px;
}
.doc-link { justify-content: flex-start; }
/* Language / format / note as separate tags — spacing does the separating,
   so no punctuation is needed between them. */
.doc-link__meta {
  margin-left: auto; display: flex; align-items: center; gap: var(--space-2);
  font-size: 11.5px; color: var(--ink-400); font-weight: 600; letter-spacing: .06em;
  flex-shrink: 0;
}
.doc-link__meta > span {
  padding: 2px var(--space-2); border-radius: var(--radius-sm); background: var(--ink-50);
  white-space: nowrap;
}
/* the placeholder shown when a product has no manufacturer sheet — not a link */
.doc-link--none { color: var(--ink-400); cursor: default; margin: 0; }
.doc-link--none:hover { background: none; }

/* shared small heading inside the detail column */
.pdp__subhead {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-900); margin-top: var(--space-10);
  padding-bottom: var(--space-3); margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--ink-100);
}

/* a wide table must scroll inside its own box, never widen the page */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table--wide { min-width: 420px; }
.spec-table--wide td:first-child { width: auto; }
.spec-table--wide td { font-variant-numeric: tabular-nums; }
.spec-table--wide td:first-child { font-weight: 600; color: var(--ink-900); white-space: nowrap; }

.pdp__docs { margin-top: var(--space-10); }
.pdp__docs h2 {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-900); padding-bottom: var(--space-3); margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--ink-100);
}
.doc-link {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-3); margin-inline: calc(var(--space-3) * -1);
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: var(--blue-700);
  transition: background-color var(--dur) var(--ease);
}
.doc-link:hover { background: var(--ink-50); text-decoration: none; }
.doc-link + .doc-link { border-top: 1px solid var(--ink-100); }
.doc-link svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink-400); }
.doc-link[aria-disabled="true"] { color: var(--ink-400); cursor: not-allowed; }

.pdp__safety {
  margin-top: var(--space-8); padding: var(--space-5);
  background: var(--amber-100); border-radius: var(--radius-md);
  font-size: 13px; line-height: 1.6; color: var(--amber);
}

/* ── content bands ─────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; gap: var(--space-10); } }

.checklist { margin-top: var(--space-8); display: grid; gap: var(--space-4); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; }
.checklist svg {
  flex-shrink: 0; width: 22px; height: 22px; padding: 4px; border-radius: 50%;
  background: var(--green-100); color: var(--green-800); margin-top: 1px;
}

.spec-table {
  width: 100%; border-collapse: collapse; font-size: 14px; background: #fff;
  border: 1px solid var(--ink-100); border-radius: var(--radius-lg); overflow: hidden;
}
.spec-table th, .spec-table td { padding: var(--space-4) var(--space-5); text-align: left; }
.spec-table thead th {
  background: var(--ink-50); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-500); font-weight: 700;
}
.spec-table tbody tr + tr { border-top: 1px solid var(--ink-100); }
.spec-table tbody tr { transition: background-color var(--dur) var(--ease); }
.spec-table tbody tr:hover { background: var(--ink-50); }
.spec-table td:first-child { font-weight: 600; color: var(--ink-900); width: 42%; }

/* ── hanger card — the manufactured range on Ražošana ─────────────────── */
.hcard {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.hcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* Photos are square with the hanger in the middle band, so 3:2 crops the
   dead space top and bottom without ever clipping the product. */
.hcard__media { aspect-ratio: 3 / 2; background: var(--ink-50); }
.hcard__media picture { display: block; width: 100%; height: 100%; }
.hcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hcard__body { padding: var(--space-6); }
.hcard__body h3 { font-size: 16.5px; line-height: 1.35; }
.hcard__specs { margin-top: var(--space-4); display: grid; gap: var(--space-2); }
.hcard__specs > div {
  display: flex; justify-content: space-between; gap: var(--space-4);
  font-size: 14px; padding-block: var(--space-2);
  border-top: 1px solid var(--ink-100);
}
.hcard__specs dt { color: var(--ink-500); }
.hcard__specs dd { color: var(--ink-700); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ── homepage hero — copy left, photograph right ─────────────────────── */
.hero2 {
  background:
    radial-gradient(1100px 460px at 88% 12%, var(--blue-50) 0%, transparent 62%),
    linear-gradient(180deg, #fff 0%, var(--ink-50) 100%);
  padding-block: var(--space-12) var(--space-10);
  overflow: hidden;
}
.hero2__grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  gap: var(--space-12); align-items: center;
}
.hero2__title { margin: 0; }
.hero2__title strong,
.hero2__title span { display: block; }
.hero2__title strong {
  font-size: clamp(34px, 4.1vw, 54px); line-height: 1.04;
  font-weight: 700; letter-spacing: -.022em; color: var(--blue-700);
}
.hero2__title span {
  font-size: clamp(22px, 2.5vw, 33px); line-height: 1.2;
  font-weight: 500; letter-spacing: -.012em; color: var(--blue-600); margin-top: var(--space-2);
}
.hero2__lead {
  margin-top: var(--space-5); max-width: 42ch;
  font-size: 17px; line-height: 1.6; color: var(--ink-500);
}
.hero2__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.btn--pill { border-radius: var(--radius-pill); gap: var(--space-2); }
.btn--pill svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease-out); }
.btn--pill:hover svg { transform: translateX(3px); }
.btn--quiet {
  background: transparent; color: var(--blue-700); border: 1px solid var(--ink-200);
}
.btn--quiet:hover { background: #fff; border-color: var(--blue-100); }

.hero2__trust {
  display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-8);
  margin-top: var(--space-10); padding-top: var(--space-8);
  border-top: 1px solid var(--ink-100);
}
.hero2__trust li { display: flex; align-items: center; gap: var(--space-3); }
.hero2__trust svg { width: 22px; height: 22px; color: var(--green-700); flex-shrink: 0; }
.hero2__trust span { font-size: 13.5px; line-height: 1.35; color: var(--ink-500); max-width: 14ch; }

.hero2__media { position: relative; margin: 0; }
.hero2__media picture { display: block; }
.hero2__media img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
/* handwritten-style note tucked over the top corner of the photograph */
.hero2__tagline {
  position: absolute; top: calc(var(--space-5) * -1); right: var(--space-6);
  max-width: 15ch; text-align: center;
  font-family: var(--font-condensed); font-size: 19px; font-style: italic;
  font-weight: 600; line-height: 1.25; color: var(--blue-700);
  background: #fff; padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  transform: rotate(-2.5deg);
}

@media (max-width: 899px) {
  .hero2 { padding-block: var(--space-10); }
  .hero2__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero2__media { order: -1; }
  .hero2__tagline { top: auto; bottom: calc(var(--space-4) * -1); right: var(--space-4); font-size: 16px; }
  .hero2__trust { gap: var(--space-4) var(--space-6); }
  .hero2__trust span { max-width: none; }
}

/* ── four colour-coded entry points under the hero ───────────────────── */
.band { padding-bottom: var(--space-4); }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.bandcard {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-8) var(--space-6) var(--space-6);
  border-radius: var(--radius-lg); color: #fff; min-height: 216px;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.bandcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); text-decoration: none; }
.bandcard--chem { background: var(--green-700); }
.bandcard--hang { background: var(--blue-600); }
.bandcard--inv  { background: #9a6520; }
.bandcard--wash { background: #57458b; }
.bandcard__icon {
  display: inline-flex; width: 42px; height: 42px; margin-bottom: var(--space-3);
  align-items: center; justify-content: center; border-radius: var(--radius-md);
  background: rgb(255 255 255 / .16);
}
.bandcard__icon svg { width: 23px; height: 23px; }
.bandcard h3 { font-size: 18px; line-height: 1.25; color: #fff; }
.bandcard p { font-size: 14px; line-height: 1.5; color: rgb(255 255 255 / .84); }
.bandcard__go {
  margin-top: auto; padding-top: var(--space-5);
  font-size: 13.5px; font-weight: 600; color: #fff;
}
.bandcard__go::after {
  content: " →"; display: inline-block;
  transition: transform var(--dur) var(--ease-out);
}
.bandcard:hover .bandcard__go::after { transform: translateX(4px); }

@media (max-width: 899px) { .band__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .band__grid { grid-template-columns: 1fr; }
  .bandcard { min-height: 0; } }

/* ── media frame — 16:9 video or photo, used on Ražošana / Veļas mazgāšana ── */
.media-frame { margin: 0; }
.media-frame__inner {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); background: var(--blue-900);
  box-shadow: var(--shadow-lg);
}
/* Soft brand glow bleeding out from behind the frame. */
.media-frame__inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .10);
}
.media-frame picture { display: block; width: 100%; height: 100%; }
.media-frame video, .media-frame img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.media-frame figcaption {
  margin-top: var(--space-4); font-size: 14.5px; color: var(--ink-500); line-height: 1.55;
}
.media-frame--glow { position: relative; }
/* Insets stay non-negative: a box wider than its parent adds page scroll width,
   whereas the blur paints outside the box for free. */
.media-frame--glow::before {
  content: ""; position: absolute; inset: 10% 0 0 0; z-index: -1;
  border-radius: var(--radius-xl); filter: blur(46px); opacity: .30;
  background: var(--gradient-brand);
}
@media (prefers-reduced-motion: reduce) { .media-frame--glow::before { display: none; } }

/* Wide feature band: media on top, caption under, centred. */
.media-feature { max-width: 940px; margin-inline: auto; }
.media-feature figcaption { text-align: center; }

/* Shown only when the browser cannot play the file — it sits inside <video>. */
.media-fallback {
  display: grid; gap: var(--space-3); place-content: center; height: 100%;
  padding: var(--space-8); text-align: center; color: rgb(255 255 255 / .8); font-size: 14.5px;
}
.media-fallback a { color: #fff; text-decoration: underline; }

.hanger-art { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.hanger-art figure {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  padding: var(--space-6); text-align: center;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.hanger-art figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.hanger-art img { width: 100%; }
.hanger-art figcaption { font-size: 12.5px; color: var(--ink-500); margin-top: var(--space-3); }

/* ── CTA band ──────────────────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(620px 300px at 6% 0%, rgb(47 182 140 / .26), transparent 64%),
    linear-gradient(115deg, #0b5b45 -18%, #103c60 44%, #0a2a45 100%);
}
.cta-band .container {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-10); padding-block: var(--space-16); flex-wrap: wrap;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgb(255 255 255 / .82); margin-top: var(--space-3); max-width: 54ch; }
.cta-band__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ── numbers, timeline, values ─────────────────────────────────────────── */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.numbers div {
  text-align: center; padding: var(--space-8) var(--space-5); background: #fff;
  border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.numbers div:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.numbers span { display: block; font-size: 13.5px; color: var(--ink-500); margin-top: var(--space-3); }
@media (max-width: 599px) { .numbers { grid-template-columns: repeat(2, 1fr); } }

.timeline { position: relative; padding-left: var(--space-8); }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--blue-500), var(--green-500));
  opacity: .35;
}
.timeline li { position: relative; padding-bottom: var(--space-10); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1 * var(--space-8) + 1px); top: 7px;
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  border: 3px solid var(--green-600); box-shadow: 0 0 0 4px var(--green-50);
}
.timeline strong {
  display: block; font-family: var(--font-condensed); font-size: 24px;
  color: var(--blue-700); letter-spacing: .04em;
}
.timeline p { font-size: 15px; color: var(--ink-500); margin-top: 2px; }

.value-card {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value-card__icon {
  width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--green-100);
  color: var(--green-800); display: grid; place-items: center; margin-bottom: var(--space-5);
}
.value-card h3 { font-size: 17px; margin-bottom: var(--space-2); }
.value-card p { font-size: 14.5px; color: var(--ink-500); line-height: 1.55; }

.logos { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: center; }
.logo-chip {
  font-family: var(--font-condensed); font-size: 24px; font-weight: 700; letter-spacing: .1em;
  color: var(--ink-400); border: 1px solid var(--ink-100); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-8); background: #fff;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.logo-chip:hover { color: var(--blue-700); border-color: var(--blue-100); transform: translateY(-2px); }

/* ── panels, contact, forms ────────────────────────────────────────────── */
.panel {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.panel--tint { background: var(--blue-50); border-color: var(--blue-100); }

.contact-card {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact-card__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--blue-50);
  color: var(--blue-700); display: grid; place-items: center; margin-bottom: var(--space-5);
}
.contact-card h3 { font-size: 17px; margin-bottom: var(--space-1); }
.contact-card .role { font-size: 13px; color: var(--ink-400); margin-bottom: var(--space-5); }
.contact-card a { display: block; font-weight: 600; font-size: 15px; }
.contact-card a + a { margin-top: var(--space-1); }

.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 599px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-900); margin-bottom: var(--space-2); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4);
  border: 1px solid var(--ink-200); border-radius: var(--radius-md); background: #fff;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-700); box-shadow: 0 0 0 4px rgb(16 60 96 / .1);
}
.field .hint { font-size: 13px; color: var(--ink-400); margin-top: var(--space-2); }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 14px; color: var(--ink-500); }
.consent input { width: 18px; height: 18px; accent-color: var(--blue-700); flex-shrink: 0; margin-top: 3px; }
.form-note { font-size: 13px; color: var(--ink-400); }

.form-success {
  display: none; background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--radius-lg); padding: var(--space-6); color: var(--green-800);
}
.form-success strong { display: block; color: var(--green-800); margin-bottom: var(--space-1); }
.form-success--on { display: block; animation: riseIn 420ms var(--ease-out) both; }

.map {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10; background: var(--ink-50);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

.hours { width: 100%; font-size: 15px; }
.hours td { padding: var(--space-3) 0; border-bottom: 1px solid var(--ink-100); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; color: var(--ink-500); font-variant-numeric: tabular-nums; }

.faq details {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq details:hover { border-color: var(--ink-200); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq details + details { margin-top: var(--space-3); }
.faq summary {
  font-weight: 600; color: var(--ink-900); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: var(--space-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--blue-700); font-size: 20px; line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: var(--space-4); color: var(--ink-500); font-size: 15px; }

/* ── footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--blue-900); color: rgb(255 255 255 / .62); font-size: 14px; }
.footer .container { padding-block: var(--space-16) var(--space-8); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--space-10); }
@media (max-width: 899px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
@media (max-width: 599px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: var(--space-5);
}
.footer a { color: rgb(255 255 255 / .62); transition: color var(--dur) var(--ease); }
.footer a:hover { color: #fff; }
.footer li + li { margin-top: var(--space-3); }
.footer__brand img { height: 78px; width: auto; margin-bottom: var(--space-5); }
.footer__brand picture { display: block; }
.footer__brand p { max-width: 34ch; line-height: 1.6; }
.footer__bottom {
  border-top: 1px solid rgb(255 255 255 / .1); margin-top: var(--space-12);
  padding-top: var(--space-6); display: flex; justify-content: space-between;
  gap: var(--space-4); flex-wrap: wrap; font-size: 12.5px; color: rgb(255 255 255 / .42);
}
.tm-note { font-size: 11.5px; color: rgb(255 255 255 / .34); max-width: 78ch; margin-top: var(--space-6); line-height: 1.6; }

/* mock-only ribbon */

/* ── 404 ───────────────────────────────────────────────────────────────── */
.e404 { text-align: center; }
.e404__code {
  font-family: var(--font-condensed); font-size: clamp(72px, 13vw, 148px);
  font-weight: 700; line-height: .9; letter-spacing: -.02em;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text;
  color: transparent; margin-bottom: var(--space-4);
}
.e404 h1 { font-size: clamp(24px, 3.2vw, 34px); }
.e404__lead { margin-top: var(--space-4); color: var(--ink-500); font-size: 17px; }
.e404__actions {
  display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap;
  margin-top: var(--space-8);
}
.e404__helpT {
  margin-top: var(--space-12); font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-400);
}
.e404__links {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5);
  justify-content: center; margin-top: var(--space-4); font-size: 15px;
}

/* ── reserve space for JS-rendered regions ─────────────────────────────
   The catalogue grid and the product detail are injected after load. Without
   a reservation the footer paints near the top and is then shoved down, which
   is a large layout shift on exactly the two pages people land on most. */
/* Applies from first paint — before any JS runs — which is exactly when the
   shift would otherwise happen. Once a render has occurred the marker class
   is present, so a genuinely empty result set does not keep the reservation. */
#grid:not(.is-rendered):empty,
#pdp:not(.is-rendered):empty { min-height: 100vh; }
