/*
 * MEGAZONE design language v0.2 — the single stylesheet apps import (`@megazone/ui/styles.css`).
 * Every value comes from tokens.css; components never hard-code a colour.
 * Ported from the design system artifact (components/bundle.css); B2C price styles are left out
 * on purpose — there is no price anywhere on the B2B catalogue (AGENTS.md).
 */
/* plus-jakarta-sans-latin-ext-wght-normal */
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* plus-jakarta-sans-latin-wght-normal */
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* MEGAZONE design tokens (v0.2). Same values as tokens.ts — kept in sync by tokens.test.ts. */
:root {
  --surface: #f7f9fc;
  --surface-raised: #ffffff;
  --surface-sunken: #eef2f7;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --line: #e2e8f0;
  --line-strong: #8394aa;
  --ink: #0f2744;
  --ink-body: #2c4460;
  --ink-muted: #5a6b82;
  --navy: #003366;
  --navy-bright: #1b5e9e;
  --navy-deep: #002447;
  --navy-hover: #0a3f78;
  --navy-soft: #e7eef7;
  --navy-soft-strong: #dce7f3;
  --on-fill: #ffffff;
  --success: #157a4e;
  --success-soft: #e3f4ec;
  --warning: #9a5b00;
  --warning-soft: #fdf1dc;
  --danger: #c2283a;
  --danger-soft: #fbe7e9;
  --focus: #2f7dd1;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  --shadow-card: 0 1px 2px rgba(15, 39, 68, 0.04), 0 12px 32px -16px rgba(15, 39, 68, 0.14);
  --shadow-raised: 0 2px 6px rgba(15, 39, 68, 0.06), 0 22px 44px -18px rgba(15, 39, 68, 0.24);
  --shadow-pill: 0 1px 2px rgba(15, 39, 68, 0.05), 0 6px 20px -10px rgba(15, 39, 68, 0.16);
  --shadow-lift: 0 1px 2px rgba(0, 51, 102, 0.12), 0 12px 24px -14px rgba(0, 51, 102, 0.5);
  --shadow-thumb: 0 1px 2px rgba(15, 39, 68, 0.08), 0 4px 12px -4px rgba(15, 39, 68, 0.16);

  --font-sans:
    'Plus Jakarta Sans Variable', 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system,
    'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}


/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

:where(a) {
  color: var(--navy);
}

:where(button, input, select, textarea) {
  font: inherit;
  color: inherit;
}

.mz-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3.4vw, 32px);
}

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

/* ---------- Type styles (tokens.json → type) ---------- */
.mz-display {
  font-size: clamp(40px, 3.2vw + 14px, 56px);
  line-height: 1.07;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.mz-h1 {
  font-size: clamp(32px, 1.6vw + 18px, 40px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mz-h2 {
  font-size: clamp(24px, 0.8vw + 17px, 28px);
  line-height: 1.29;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.mz-h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.mz-body-lg {
  font-size: 18px;
  line-height: 30px;
}
.mz-body {
  font-size: 16px;
  line-height: 26px;
}
.mz-body-sm {
  font-size: 14px;
  line-height: 22px;
}
.mz-label {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.mz-caption {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}
.mz-overline {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mz-muted {
  color: var(--ink-muted);
}

/* ---------- Icon (Lucide, 1.75 stroke) ---------- */
.mz-icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mz-icon--16 {
  width: 16px;
  height: 16px;
}
.mz-icon--18 {
  width: 18px;
  height: 18px;
}
.mz-icon--24 {
  width: 24px;
  height: 24px;
}

/* ---------- Button: pill, flat fill; no resting shadow ---------- */
.mz-btn {
  --mz-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--mz-h);
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-full);
  font: 600 15px/20px var(--font-sans);
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    color 0.2s ease,
    transform 0.12s ease;
}
.mz-btn:active {
  transform: scale(0.98);
}
.mz-btn--lg {
  --mz-h: 56px;
  padding: 0 30px;
  font-size: 16px;
}
.mz-btn--sm {
  --mz-h: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.mz-btn--block {
  width: 100%;
}
.mz-btn .mz-icon {
  width: 18px;
  height: 18px;
}
.mz-btn--primary {
  color: var(--on-fill);
  background: var(--navy);
}
.mz-btn--primary:hover {
  background: var(--navy-hover);
  box-shadow: var(--shadow-lift);
}
.mz-btn--primary:active {
  background: var(--navy-deep);
}
.mz-btn--soft {
  color: var(--navy);
  background: var(--navy-soft);
}
.mz-btn--soft:hover {
  background: var(--navy-soft-strong);
}
.mz-btn--quiet {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}
.mz-btn--quiet:hover {
  background: var(--surface-raised);
  box-shadow: inset 0 0 0 1px var(--navy-soft-strong);
}
.mz-btn--ghost {
  color: var(--navy);
  background: transparent;
  padding: 0 14px;
}
.mz-btn--ghost:hover {
  background: var(--navy-soft);
}
.mz-btn--text {
  --mz-h: auto;
  padding: 4px 0;
  border-radius: 0;
  color: var(--navy);
  background: transparent;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}
.mz-btn--text:hover {
  text-decoration-color: currentColor;
}
.mz-btn--text:active {
  transform: none;
}
.mz-btn--danger {
  color: var(--danger);
  background: var(--danger-soft);
}
.mz-btn--danger:hover {
  color: var(--on-fill);
  background: var(--danger);
}
.mz-btn[disabled],
.mz-btn[aria-disabled='true'] {
  cursor: not-allowed;
  color: var(--ink-muted);
  background: var(--surface-sunken);
  box-shadow: none;
  transform: none;
}
.mz-btn[aria-busy='true'] {
  cursor: progress;
}
.mz-spin {
  animation: mz-spin 0.8s linear infinite;
}
@keyframes mz-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- IconButton: round, soft tone ---------- */
.mz-iconbtn {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    color 0.2s ease,
    transform 0.12s ease;
}
.mz-iconbtn:hover {
  color: var(--navy);
  background: var(--navy-soft);
}
.mz-iconbtn:active {
  transform: scale(0.94);
}
.mz-iconbtn--sm {
  width: 36px;
  height: 36px;
}
.mz-iconbtn--sm .mz-icon {
  width: 18px;
  height: 18px;
}
.mz-iconbtn--soft {
  color: var(--navy);
  background: var(--navy-soft);
}
.mz-iconbtn--soft:hover {
  background: var(--navy-soft-strong);
}
.mz-iconbtn--solid {
  color: var(--on-fill);
  background: var(--navy);
}
.mz-iconbtn--solid:hover {
  color: var(--on-fill);
  background: var(--navy-hover);
  box-shadow: var(--shadow-lift);
}
.mz-iconbtn--float {
  color: var(--navy);
  background: var(--surface-raised);
  box-shadow: var(--shadow-pill);
}
.mz-iconbtn--float:hover {
  background: var(--surface-raised);
  box-shadow: var(--shadow-raised);
}
.mz-iconbtn--success,
.mz-iconbtn--success:hover {
  color: var(--success);
  background: var(--success-soft);
  box-shadow: none;
}
.mz-iconbtn[disabled] {
  cursor: not-allowed;
  color: var(--ink-muted);
  background: var(--surface-sunken);
  transform: none;
}
.mz-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--navy);
  color: var(--on-fill);
  font: 700 11px/18px var(--font-sans);
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--surface-raised);
}

/* ---------- SearchField ---------- */
.mz-search {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  max-width: 560px;
  height: 48px;
  margin: 0;
  padding: 0 var(--space-1) 0 var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface-raised);
  box-shadow: var(--shadow-pill);
  color: var(--navy);
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.mz-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: 400 15px/20px var(--font-sans);
  color: var(--ink);
}
.mz-search input::placeholder {
  color: var(--ink-muted);
  opacity: 1;
}
.mz-search input::-webkit-search-cancel-button {
  display: none;
}
.mz-search .mz-iconbtn {
  width: 38px;
  height: 38px;
  color: var(--ink-muted);
}
.mz-search__spacer {
  width: var(--space-3);
  flex: none;
}

/* ---------- SegmentedControl: sunken rail, white thumb ---------- */
.mz-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  max-width: 100%;
  padding: 4px;
  border-radius: 24px;
  background: var(--surface-sunken);
}
.mz-seg__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--ink-muted);
  font: 600 14px/20px var(--font-sans);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    color 0.2s ease;
}
.mz-seg__item:hover {
  color: var(--ink);
}
.mz-seg__item[aria-pressed='true'],
.mz-seg__item[aria-current='page'],
.mz-seg__item[aria-current='true'] {
  color: var(--navy);
  background: var(--surface-raised);
  box-shadow: var(--shadow-thumb);
}
.mz-seg__n {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
}
.mz-seg--sm .mz-seg__item {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}

/* ---------- Badge (status is never colour alone: the label is always text) ---------- */
.mz-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  background: var(--surface-sunken);
  color: var(--ink-muted);
  font: 600 12px/16px var(--font-sans);
  white-space: nowrap;
}
.mz-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.mz-badge--navy {
  background: var(--navy-soft);
  color: var(--navy);
}
.mz-badge--success {
  background: var(--success-soft);
  color: var(--success);
}
.mz-badge--warning {
  background: var(--warning-soft);
  color: var(--warning);
}
.mz-badge--danger {
  background: var(--danger-soft);
  color: var(--danger);
}

/* ---------- Header (Shop) ---------- */
.mz-header {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.mz-header--sticky {
  position: sticky;
  top: 0;
  z-index: 20;
}
.mz-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 76px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.mz-header__brand {
  display: inline-flex;
  flex: none;
  margin-right: var(--space-2);
}
.mz-header__logo {
  display: block;
  height: 34px;
  width: auto;
}
.mz-header__search {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.mz-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: none;
  margin-left: auto;
}
.mz-header__mobile {
  display: none;
}
.mz-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 var(--space-3);
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--ink);
  font: 600 13px/16px var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.mz-lang:hover {
  background: var(--navy-soft);
}
.mz-lang .mz-icon {
  width: 16px;
  height: 16px;
  color: var(--ink-muted);
}
@media (max-width: 767px) {
  .mz-header__inner {
    height: 64px;
    padding: 0 var(--space-3);
    gap: var(--space-1);
  }
  .mz-header__brand {
    margin-right: auto;
  }
  .mz-header__logo {
    height: 26px;
  }
  .mz-header__desktop {
    display: none;
  }
  .mz-header__mobile {
    display: contents;
  }
  .mz-header__actions {
    gap: var(--space-1);
    margin-left: 0;
  }
}

/* Very narrow phones (320 px): smaller wordmark and gutters so menu, logo, search and quote fit. */
@media (max-width: 359px) {
  .mz-header__inner {
    padding: 0 var(--space-2);
    gap: 2px;
  }
  .mz-header__logo {
    height: 22px;
  }
  .mz-header__actions {
    gap: 2px;
  }
}

/* ---------- ProductCard (B2B: no price) ---------- */
.mz-pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 216px), 1fr));
  gap: var(--space-5);
  align-items: start;
}
@media (max-width: 559px) {
  .mz-pgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }
}
.mz-pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}
.mz-pcard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-raised);
}
.mz-pcard__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  margin: var(--space-2);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.mz-pcard__media img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s var(--ease-out);
}
.mz-pcard:hover .mz-pcard__media img {
  transform: scale(1.03);
}
.mz-pcard__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
}
.mz-pcard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-1) var(--space-4) var(--space-4);
}
.mz-pcard__brand {
  font: 600 12px/16px var(--font-sans);
  color: var(--ink-muted);
}
.mz-pcard__name {
  margin: 0;
  min-height: 44px;
  font: 600 15px/22px var(--font-sans);
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.mz-pcard__name a {
  color: inherit;
  text-decoration: none;
}
.mz-pcard__name a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}
.mz-pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-2);
}
.mz-pcard__foot .mz-iconbtn {
  position: relative;
  z-index: 1;
}
.mz-pcard__pack {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font: 500 13px/18px var(--font-sans);
  color: var(--ink-muted);
}
.mz-pcard__pack .mz-icon {
  width: 16px;
  height: 16px;
}
@media (max-width: 559px) {
  .mz-pcard__body {
    padding: var(--space-1) var(--space-3) var(--space-3);
  }
  .mz-pcard__name {
    font-size: 14px;
    line-height: 20px;
    min-height: 40px;
  }
  .mz-pcard__pack {
    font-size: 12px;
  }
}

/* ---------- CategoryCard (round arrow in a notch) ---------- */
.mz-cgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr));
  gap: var(--space-5);
}
@media (max-width: 559px) {
  .mz-cgrid {
    gap: var(--space-3);
  }
}
.mz-ccard {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  background: var(--surface-sunken);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}
.mz-ccard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-raised);
}
.mz-ccard > img {
  position: absolute;
  inset: 0 0 40px;
  width: 100%;
  height: calc(100% - 40px);
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.mz-ccard:hover > img {
  transform: scale(1.04);
}
.mz-ccard__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 84px 0 var(--space-4);
  background: var(--surface-raised);
}
.mz-ccard__title {
  font: 700 16px/20px var(--font-sans);
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mz-ccard__bump {
  position: absolute;
  right: 0;
  bottom: 56px;
  width: 76px;
  height: 22px;
  background: var(--surface-raised);
  border-top-left-radius: 22px;
}
.mz-ccard__bump::before {
  content: '';
  position: absolute;
  left: -14px;
  bottom: 0;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 0 0, transparent 13.5px, var(--surface-raised) 14px);
}
.mz-ccard__go {
  position: absolute;
  right: 16px;
  bottom: 34px;
  width: 44px;
  height: 44px;
}
.mz-ccard__go .mz-icon {
  transition: transform 0.2s var(--ease-out);
}
.mz-ccard:hover .mz-ccard__go .mz-icon {
  transform: translateX(2px);
}

/* ---------- Forms (V02): field, input, select, textarea, checkbox ---------- */
.mz-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.mz-field__label {
  font: 600 14px/20px var(--font-sans);
  color: var(--ink);
}
.mz-field__optional {
  font-weight: 500;
  color: var(--ink-muted);
}
.mz-field__hint {
  font: 400 13px/18px var(--font-sans);
  color: var(--ink-muted);
}
.mz-field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 600 13px/18px var(--font-sans);
  color: var(--danger);
}
.mz-input,
.mz-select,
.mz-textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  color: var(--ink);
  font: 400 15px/22px var(--font-sans);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.mz-input::placeholder,
.mz-textarea::placeholder {
  color: var(--ink-muted);
  opacity: 1;
}
.mz-textarea {
  min-height: 120px;
  resize: vertical;
}
.mz-select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6b82' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.mz-input:hover,
.mz-select:hover,
.mz-textarea:hover {
  border-color: var(--ink-muted);
}
.mz-input[aria-invalid='true'],
.mz-select[aria-invalid='true'],
.mz-textarea[aria-invalid='true'] {
  border-color: var(--danger);
}
.mz-input:disabled,
.mz-select:disabled,
.mz-textarea:disabled,
.mz-input[readonly] {
  background: var(--surface-sunken);
  color: var(--ink-muted);
  cursor: not-allowed;
}
.mz-input--sm {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 14px;
}
.mz-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  font: 500 15px/22px var(--font-sans);
  color: var(--ink);
  cursor: pointer;
}
.mz-check input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: none;
  accent-color: var(--navy);
  cursor: pointer;
}

/* ---------- Alert (status messages; always words, never colour alone) ---------- */
.mz-alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--navy-soft);
  color: var(--ink);
  font: 500 14px/22px var(--font-sans);
}
.mz-alert .mz-icon {
  margin-top: 1px;
  color: var(--navy);
}
.mz-alert--success {
  background: var(--success-soft);
}
.mz-alert--success .mz-icon {
  color: var(--success);
}
.mz-alert--warning {
  background: var(--warning-soft);
}
.mz-alert--warning .mz-icon {
  color: var(--warning);
}
.mz-alert--danger {
  background: var(--danger-soft);
}
.mz-alert--danger .mz-icon {
  color: var(--danger);
}
.mz-alert__body {
  flex: 1;
  min-width: 0;
}
.mz-alert__title {
  display: block;
  font-weight: 700;
}

/* ---------- Table (dash lists) ---------- */
.mz-table-wrap {
  /* containing block for absolutely positioned cells (e.g. .mz-sr-only) — else they escape the
     scroll box and widen the page on phones (V05 tour) */
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
}
.mz-table {
  width: 100%;
  border-collapse: collapse;
  font: 400 14px/22px var(--font-sans);
}
.mz-table th {
  padding: 12px 16px;
  text-align: left;
  font: 600 12px/16px var(--font-sans);
  color: var(--ink-muted);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.mz-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--ink-body);
}
.mz-table tr:last-child td {
  border-bottom: 0;
}
.mz-table tbody tr:hover td {
  background: var(--surface);
}
.mz-table a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.mz-table a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mz-table .mz-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---------- Panel and dialog ---------- */
.mz-panel {
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
}
.mz-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  padding: var(--space-6);
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--surface-raised);
  color: var(--ink-body);
  box-shadow: var(--shadow-raised);
}
.mz-dialog::backdrop {
  background: rgba(15, 39, 68, 0.36);
}
.mz-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

/* ---------- Focus: every interactive element (last, so it beats the variants' shadows) ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.mz-input:focus-visible,
.mz-select:focus-visible,
.mz-textarea:focus-visible,
.mz-btn:focus-visible,
.mz-iconbtn:focus-visible,
.mz-seg__item:focus-visible,
.mz-lang:focus-visible,
.mz-ccard:focus-visible,
.mz-pcard__name a:focus-visible,
.mz-search:focus-within {
  outline: none;
  box-shadow:
    0 0 0 2px var(--surface-raised),
    0 0 0 4px var(--focus);
}
.mz-search input:focus-visible {
  outline: none;
}
.mz-pcard:has(.mz-pcard__name a:focus-visible) {
  box-shadow:
    0 0 0 2px var(--surface-raised),
    0 0 0 4px var(--focus);
}
.mz-pcard__name a:focus-visible {
  box-shadow: none;
}

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

/* megazone.com.pl — design "Galeria" (approved 2026-11-02) in design language v0.2.
   Loaded after @megazone/ui/styles.css (tokens + components). Six type sizes, one radius family. */
:root {
  --cz-m: max(20px, 4vw);
  --cz-display: clamp(48px, 8vw, 128px);
  --cz-h2: clamp(36px, 4.6vw, 76px);
  --cz-h3: 28px;
  --cz-lead: clamp(18px, 1.4vw, 20px);
  --cz-body: 16px;
  --cz-small: 14px;
  --cz-r: 28px;
  --cz-r-big: 32px;
  --cz-sky: #9fc4ea;
  --cz-gap: 170px;
}

/* ---------- Base ---------- */
body {
  background: var(--surface-raised);
  font-size: var(--cz-body);
  line-height: 1.6;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}
h1,
h2 {
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.045em;
}
h1 {
  font-size: var(--cz-display);
  letter-spacing: -0.05em;
}
h2 {
  font-size: var(--cz-h2);
}
h3 {
  font-size: var(--cz-h3);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
a {
  color: var(--navy);
}
.cz-lead {
  font-size: var(--cz-lead);
  line-height: 1.6;
  color: var(--ink-body);
}
.cz-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.cz-icon {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* sample text still to be confirmed (draft only; the release build refuses it) */
.ph {
  text-decoration: underline dashed var(--warning);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
.cz-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  background: var(--navy);
  color: var(--on-fill);
  font-weight: 700;
  text-decoration: none;
}
.cz-skip:focus {
  top: 12px;
}
.cz-btn-light {
  background: var(--surface-raised);
  color: var(--navy);
}
.cz-btn-light:hover {
  background: var(--navy-soft);
}
.cz-btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-fill);
}
.cz-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}
.cz-linkbtn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* ---------- Top bar ---------- */
.cz-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
  padding: 0 var(--cz-m);
  background: rgba(255, 255, 255, 0.96);
}
.cz-brand {
  display: inline-flex;
  border-radius: var(--radius-sm);
}
.cz-brand img {
  width: auto;
  height: 30px;
}
.cz-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.cz-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  color: var(--ink);
  font-size: var(--cz-small);
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.cz-links a:hover,
.cz-links a[aria-current='page'] {
  background: var(--navy-soft);
  color: var(--navy);
}
.cz-act {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cz-menu {
  display: none;
  position: relative;
}
.cz-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  background: var(--surface-sunken);
  color: var(--ink);
  font-size: var(--cz-small);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.cz-menu summary::-webkit-details-marker {
  display: none;
}
.cz-menu__bars {
  position: relative;
  width: 18px;
  height: 12px;
  border-top: 2px solid;
  border-bottom: 2px solid;
}
.cz-menu__bars::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  border-top: 2px solid;
}
.cz-menu[open] .cz-menu__bars {
  border-color: transparent;
}
.cz-menu[open] .cz-menu__bars::after {
  top: 3px;
  border-color: currentColor;
  transform: rotate(45deg);
}
.cz-menu[open] .cz-menu__bars::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  border-top: 2px solid currentColor;
  transform: rotate(-45deg);
}
.cz-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(340px, calc(100vw - 32px));
  /* a phone held sideways is short: the panel scrolls instead of running off the screen */
  max-height: calc(100dvh - 96px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  border-radius: var(--cz-r);
  background: var(--surface-raised);
  box-shadow: var(--shadow-raised);
}
.cz-menu__panel nav {
  display: flex;
  flex-direction: column;
}
.cz-menu__panel nav a {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.cz-menu__panel nav a:hover,
.cz-menu__panel nav a[aria-current='page'] {
  background: var(--navy-soft);
  color: var(--navy);
}
.cz-menu__langs {
  display: none;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ---------- Language menu ---------- */
.cz-lang {
  position: relative;
}
.cz-lang summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background: var(--surface-sunken);
  color: var(--ink);
  font-size: var(--cz-small);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.cz-lang summary::-webkit-details-marker {
  display: none;
}
.cz-lang summary:hover,
.cz-lang[open] summary {
  background: var(--navy-soft);
  color: var(--navy);
}
.cz-lang summary .cz-icon:last-child {
  transition: transform 0.2s ease;
}
.cz-lang[open] summary .cz-icon:last-child {
  transform: rotate(180deg);
}
.cz-lang__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  width: 240px;
  padding: 8px;
  border-radius: 22px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-raised);
}
.cz-langs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cz-langs a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.cz-langs a:hover {
  background: var(--surface);
}
.cz-langs a[aria-current] {
  background: var(--navy-soft);
  color: var(--navy);
}
.cz-langs small {
  margin-left: auto;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
}
.cz-langs a[aria-current] small {
  color: var(--navy);
}

/* ---------- Hero: one block, words on the bright side of the photo ---------- */
.cz-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(620px, calc(100svh - 104px), 880px);
  margin: 0 var(--cz-m);
  padding: 72px clamp(32px, 5vw, 80px) 140px;
  border-radius: var(--cz-r-big);
  overflow: hidden;
  background: var(--surface-sunken);
}
.cz-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.cz-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
/* light veil on the left third only: the navy words stay sharp, the bottle stays untouched */
.cz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(247, 250, 253, 0.94) 0%,
    rgba(247, 250, 253, 0.8) 30%,
    rgba(247, 250, 253, 0.3) 52%,
    rgba(247, 250, 253, 0) 64%
  );
}
.cz-hero__body {
  max-width: 660px;
}
.cz-hero h1 {
  font-size: clamp(52px, 6.4vw, 104px);
}
.cz-hero .cz-lead {
  max-width: 30em;
  margin-top: 28px;
  color: var(--ink);
}
.cz-hero .cz-row {
  margin-top: 36px;
}
.cz-btn-glass {
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  backdrop-filter: blur(8px);
}
.cz-btn-glass:hover {
  background: var(--surface-raised);
}
.cz-trust {
  position: absolute;
  left: clamp(24px, calc(5vw - 8px), 72px);
  bottom: 28px;
  display: flex;
  gap: 6px;
  padding: 8px;
  border-radius: var(--radius-full);
  background: var(--surface-raised);
  box-shadow: var(--shadow-raised);
  white-space: nowrap;
}
.cz-trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 10px;
  border-radius: var(--radius-full);
  color: var(--ink-body);
  font-size: var(--cz-small);
  line-height: 1.3;
}
.cz-trust li:first-child {
  background: var(--navy-soft);
}
.cz-trust b {
  display: block;
  color: var(--ink);
}
.cz-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
}
.cz-tick::after {
  content: '';
  width: 6px;
  height: 11px;
  margin-top: -3px;
  border: solid var(--on-fill);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* ---------- Sections ---------- */
.cz-sec {
  padding: var(--cz-gap) var(--cz-m) 0;
}
.cz-sh {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}
.cz-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 8px;
  font-weight: 700;
  text-decoration: none;
}
.cz-more:hover {
  text-decoration: underline;
}

.cz-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.cz-cats a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.cz-cats img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--cz-r);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cz-cats a:hover img {
  transform: scale(1.02);
}
.cz-cats b {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: var(--cz-lead);
  letter-spacing: -0.01em;
}
.cz-cats span {
  display: block;
  margin-top: 2px;
  color: var(--ink-body);
  font-size: var(--cz-small);
}

.cz-big {
  position: relative;
  height: 720px;
  margin: var(--cz-gap) var(--cz-m) 0;
  border-radius: var(--cz-r-big);
  overflow: hidden;
  background: var(--navy-deep);
}
.cz-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* neutral scrim so the white words stay readable on any photo */
.cz-big::after {
  content: '';
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(0, 22, 46, 0.8));
}
.cz-big__txt {
  position: absolute;
  z-index: 1;
  left: 56px;
  right: 56px;
  bottom: 52px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.cz-big h2 {
  color: var(--on-fill);
}

.cz-brands {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.cz-brands li {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: 16px;
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink-muted);
  font-size: var(--cz-small);
  font-weight: 700;
  text-align: center;
}

.cz-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cz-steps li {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 40px 36px;
  border-radius: var(--cz-r-big);
  background: var(--surface);
}
.cz-steps li:nth-child(2) {
  background: var(--navy-soft);
}
.cz-steps li:nth-child(3) {
  background: var(--navy);
}
.cz-steps li:nth-child(3) h3,
.cz-steps li:nth-child(3) p {
  color: var(--on-fill);
}
.cz-steps h3 {
  margin-top: auto;
}
.cz-steps p {
  margin-top: 12px;
}
.cz-dots {
  display: grid;
  grid-template-columns: repeat(4, 14px);
  gap: 7px;
}
.cz-dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cz-sky);
}
.cz-steps li:nth-child(3) .cz-dots i {
  background: var(--on-fill);
}

.cz-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cz-about img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--cz-r-big);
}
.cz-about__text {
  margin-top: 26px;
  color: var(--ink);
}
.cz-facts {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}
.cz-facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-radius: 20px;
  background: var(--surface);
}
.cz-facts dt {
  color: var(--ink-muted);
}
.cz-facts dd {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.cz-mail {
  container-type: inline-size;
  margin: var(--cz-gap) var(--cz-m) 0;
  padding: 110px 64px 64px;
  border-radius: var(--cz-r-big);
  background: var(--navy);
  color: #d5e3f2;
}
.cz-mail__lead {
  color: #d5e3f2;
  font-size: var(--cz-lead);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
}
.cz-mail__address {
  display: block;
  margin-top: 22px;
  color: var(--on-fill);
  /* sized to the box (container units), so the longest address always fits on one line */
  font-size: min(120px, 7.4cqi);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-decoration: none;
  white-space: nowrap;
}
.cz-mail__address:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
}
.cz-mail__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 72px;
}
/* only the phone links in the text: the buttons keep their own colours */
.cz-mail__meta p a {
  color: var(--on-fill);
  text-decoration: none;
}
.cz-mail__meta p a:hover {
  text-decoration: underline;
}

/* ---------- Inner pages ---------- */
.cz-page {
  padding: 88px var(--cz-m) 0;
}
.cz-page__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.cz-cards {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 0.8fr;
  gap: 18px;
}
.cz-cards div {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border-radius: var(--cz-r);
  background: var(--surface);
}
.cz-cards div:first-child {
  background: var(--navy-soft);
}
.cz-cards dt {
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--ink-muted);
  font-size: var(--cz-small);
  font-weight: 600;
}
.cz-cards dd {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: break-word;
}
.cz-cards dd a {
  display: block;
  color: var(--ink);
  text-decoration: none;
}
.cz-cards dd a:hover {
  color: var(--navy);
  text-decoration: underline;
}
.cz-cards dd small {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-muted);
  font-size: var(--cz-small);
  font-weight: 500;
}
.cz-cards dd small a.cz-inline {
  display: inline;
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.cz-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--on-fill);
}
/* contact map: OpenStreetMap tiles toned down to the site's blue-grey, a navy pin, address card */
.cz-map {
  position: relative;
  isolation: isolate;
  height: clamp(440px, 42vw, 640px);
  border-radius: var(--cz-r-big);
  overflow: hidden;
  background: var(--surface);
}
.cz-map__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--surface);
  font: inherit;
}
.cz-map .leaflet-tile-pane {
  filter: grayscale(1) sepia(0.18) hue-rotate(178deg) saturate(1.7) brightness(1.03) contrast(0.9);
}
.cz-map .leaflet-bar {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-raised);
}
.cz-map .leaflet-bar a {
  width: 40px;
  height: 40px;
  border-color: var(--line);
  color: var(--ink);
  line-height: 40px;
}
.cz-map .leaflet-control-attribution {
  margin: 0 18px 12px 0;
  border-radius: 8px;
  font-size: 12px;
}
.cz-map .leaflet-control-attribution a {
  color: var(--ink-body);
}
.cz-pin span {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 0;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.35);
  transform: rotate(-45deg);
}
.cz-pin span::after {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--on-fill);
}
.cz-map__card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 480px;
  padding: 28px;
  border-radius: var(--cz-r);
  background: var(--surface-raised);
  box-shadow: var(--shadow-raised);
  color: var(--ink);
  font-size: var(--cz-lead);
  line-height: 1.45;
}
.cz-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.cz-split .cz-facts {
  margin-top: 0;
}
.cz-split h2 {
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.02;
}
.cz-page__photo {
  margin-bottom: 18px;
  aspect-ratio: 21 / 8;
  border-radius: var(--cz-r-big);
  overflow: hidden;
  background: var(--surface-sunken);
}
.cz-page__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cz-social {
  display: grid;
  gap: 10px;
}
.cz-social a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 24px;
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.cz-social a:hover {
  background: var(--navy-soft);
  color: var(--navy);
}
.cz-legal {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 880px;
}
.cz-legal h2 {
  margin-top: 28px;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.cz-legal p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.cz-foot {
  padding: var(--cz-gap) var(--cz-m) 32px;
}
.cz-foot__top {
  display: grid;
  /* the lead, then one column per link group (3 or 4, depending on the Shop) */
  grid-template-columns: 1.6fr;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 40px;
}
.cz-foot__lead {
  max-width: 15em;
  color: var(--ink);
  font-size: var(--cz-lead);
  font-weight: 600;
  line-height: 1.45;
}
.cz-foot h2 {
  margin-bottom: 18px;
  font-size: var(--cz-small);
  letter-spacing: 0;
  line-height: 1.4;
}
.cz-foot li {
  font-size: 15px;
  line-height: 1.5;
}
.cz-foot li + li {
  margin-top: 10px;
}
.cz-foot li a {
  color: var(--ink-body);
  text-decoration: none;
}
.cz-foot li a:hover {
  color: var(--navy);
  text-decoration: underline;
}
.cz-wa small {
  display: block;
  color: var(--ink-muted);
  font-size: 13px;
}
.cz-foot__mark {
  display: block;
  margin-top: 100px;
  border-radius: var(--radius-md);
}
.cz-foot__mark img {
  width: 100%;
}
.cz-foot__bot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  color: var(--ink-muted);
  font-size: var(--cz-small);
}
.cz-foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.cz-foot__legal a,
.cz-foot__legal button {
  color: var(--ink-muted);
  text-decoration: none;
}
.cz-foot__legal a:hover,
.cz-foot__legal button:hover {
  color: var(--navy);
  text-decoration: underline;
}
.cz-credits {
  max-width: 110ch;
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: var(--cz-small);
}
.cz-credits a {
  color: inherit;
}

/* ---------- Consent banner ---------- */
.cz-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(440px, calc(100vw - 32px));
  padding: 24px;
  border-radius: var(--cz-r);
  background: var(--surface-raised);
  box-shadow: var(--shadow-raised);
  font-size: var(--cz-small);
  line-height: 1.55;
}
.cz-consent[hidden] {
  display: none;
}
.cz-consent h2 {
  font-size: var(--cz-lead);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ---------- 404 ---------- */
.cz-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 100vh;
  padding: 48px 20px;
  text-align: center;
}
.cz-404 img {
  width: 200px;
}
.cz-404 ul {
  display: grid;
  gap: 10px;
}
.cz-404__year {
  color: var(--ink-muted);
  font-size: var(--cz-small);
}

/* ---------- Motion (site.js adds .cz-js; nothing is hidden without it) ---------- */
.cz-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cz-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Focus ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--surface-raised),
    0 0 0 4px var(--focus);
}

/* ---------- Narrow screens ---------- */
@media (max-width: 1100px) {
  .cz-links,
  .cz-act__cta {
    display: none;
  }
  .cz-menu {
    display: block;
  }
  .cz-act {
    margin-left: auto;
  }
  .cz-brands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cz-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cz-foot__top {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-flow: row;
  }
  .cz-foot__lead {
    grid-column: 1 / -1;
  }
  .cz-trust {
    flex-wrap: wrap;
    right: clamp(24px, calc(5vw - 8px), 72px);
    border-radius: var(--cz-r);
    white-space: normal;
  }
}
/* hero: the photo on top, the words below it, still one block */
@media (max-width: 900px) {
  .cz-hero {
    display: block;
    min-height: 0;
    padding: 0 0 16px;
    background: var(--surface);
  }
  .cz-hero::before {
    display: none;
  }
  .cz-hero__media {
    position: relative;
    z-index: auto;
    aspect-ratio: 4 / 3;
  }
  .cz-hero__media img {
    object-position: 70% 50%;
  }
  .cz-hero__body {
    max-width: none;
    padding: 36px clamp(20px, 5vw, 40px) 0;
  }
  .cz-hero h1 {
    font-size: clamp(40px, 9vw, 72px);
  }
  .cz-btn-glass {
    background: var(--surface-raised);
  }
  .cz-trust {
    position: static;
    margin: 32px 16px 0;
    box-shadow: none;
  }
}
@media (max-width: 760px) {
  :root {
    --cz-gap: 104px;
  }
  .cz-top {
    height: 68px;
    gap: 12px;
  }
  .cz-act > .cz-lang {
    display: none;
  }
  .cz-menu__langs {
    display: block;
  }
  h1 {
    font-size: 13vw;
  }
  .cz-hero h1 {
    font-size: 11vw;
  }
  .cz-trust {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .cz-trust li {
    padding: 10px;
    border-radius: 20px;
  }
  .cz-sh,
  .cz-page__head,
  .cz-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .cz-sh {
    margin-bottom: 32px;
  }
  .cz-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .cz-cats img {
    border-radius: 20px;
  }
  .cz-big {
    height: 520px;
    border-radius: 24px;
  }
  .cz-big__txt {
    left: 24px;
    right: 24px;
    bottom: 28px;
    flex-direction: column;
    align-items: start;
  }
  .cz-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cz-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .cz-steps li {
    min-height: 0;
    gap: 48px;
    padding: 32px 28px;
    border-radius: 26px;
  }
  .cz-about {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .cz-mail {
    padding: 64px 24px 40px;
    border-radius: 26px;
  }
  .cz-page {
    padding-top: 48px;
  }
  .cz-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .cz-page__photo {
    aspect-ratio: 4 / 3;
    border-radius: 24px;
  }
  .cz-map {
    height: auto;
    border-radius: 24px;
  }
  .cz-map__canvas {
    position: relative;
    height: 380px;
  }
  .cz-map__card {
    position: static;
    max-width: none;
    padding: 24px;
    border-radius: 0;
    box-shadow: none;
    background: var(--surface);
  }
  .cz-foot__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cz-foot__lead {
    grid-column: 1 / -1;
  }
  .cz-foot li {
    overflow-wrap: anywhere;
  }
  .cz-foot__mark {
    margin-top: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
