/* ==========================================================================
   Milano Sweets Design System — tokens + component library.
   SOURCE OF TRUTH: "Milano Sweets Design System (standalone).html" (bundled ds_css),
   copied verbatim except `:host` -> `:root` so the tokens apply to the page.
   Do not edit here: site-specific layout and the documented accessibility
   adjustments live in site.css, which is loaded after this file.
   ========================================================================== */

/* Milano Sweets — typography tokens. Google Fonts (same families as the live site). */


:root {
  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --font-ar: 'Cairo', system-ui, sans-serif;
  --font-ar-display: 'Baloo Bhaijaan 2', 'Cairo', system-ui, sans-serif;

  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-heavy: 800;

  /* Scale (fluid where the site was fluid) */
  --fs-display: clamp(2.6rem, 4.8vw, 4.2rem);
  --fs-h1: clamp(2.2rem, 4.4vw, 3.4rem);
  --fs-h2: clamp(1.75rem, 3.8vw, 2.75rem);
  --fs-h3: 1.35rem;
  --fs-h4: 1.125rem;
  --fs-lead: 1.2rem;
  --fs-body-lg: 1.08rem;
  --fs-body: 1rem;
  --fs-small: .9rem;
  --fs-caption: .78rem;
  --fs-label: .76rem;

  --lh-display: 1.06;
  --lh-heading: 1.12;
  --lh-snug: 1.3;
  --lh-body: 1.65;
  --lh-relaxed: 1.8;

  --ls-heading: -.01em;
  --ls-eyebrow: .22em;
  --ls-kicker: .14em;
  --ls-label: .08em;
}

/* Milano Sweets — color tokens (sampled from logo, packaging & live site) */
:root {
  /* Brand — from the logo */
  --ms-red-500: #ca181f;
  --ms-red-600: #a5131a;
  --ms-red-50: #fff3f2;
  --ms-green-500: #0e8342;
  --ms-green-600: #0a6634;
  --ms-green-50: #e9f4ec;

  /* Caramel / honey — from product photography */
  --ms-gold-500: #d98a2b;
  --ms-gold-600: #b86f17;
  --ms-gold-50: #fbf0e0;
  --ms-honey-300: #ffd24a;
  /* accent text on dark/photo grounds only */

  /* Chocolate — dark grounds */
  --ms-choc-950: #1c0d06;
  --ms-choc-900: #2c160d;
  --ms-choc-800: #3a2014;
  --ms-choc-700: #4d2c1b;
  --ms-choc-600: #5f3823;

  /* Warm neutrals */
  --ms-paper: #fffdf8;
  --ms-cream-100: #fdf6ea;
  --ms-cream-200: #f7e9d3;
  --ms-line: #efe1cd;
  --ms-line-strong: #e0cbb0;
  --ms-ink: #3a2417;
  --ms-muted: #876b56;

  /* Text on dark grounds */
  --ms-on-dark-1: #f4e7d6;
  --ms-on-dark-2: #d8c4a8;
  --ms-on-dark-3: #a8917a;

  /* ---- Semantic aliases ---- */
  --color-primary: var(--ms-red-500);
  --color-primary-hover: var(--ms-red-600);
  --color-secondary: var(--ms-choc-800);
  --color-accent: var(--ms-gold-500);
  --color-accent-hover: var(--ms-gold-600);

  --bg-page: var(--ms-paper);
  --bg-subtle: var(--ms-cream-100);
  --bg-inverse: var(--ms-choc-900);
  --surface-card: var(--ms-paper);
  --surface-raised: #ffffff;
  --surface-inverse: var(--ms-choc-800);
  --surface-media: var(--ms-cream-200);

  --text-heading: var(--ms-choc-800);
  --text-body: var(--ms-ink);
  --text-muted: var(--ms-muted);
  --text-label: var(--ms-gold-600);
  --text-link: var(--ms-red-500);
  --text-on-dark: var(--ms-on-dark-1);
  --text-on-dark-muted: var(--ms-on-dark-2);
  --text-on-accent: #ffffff;

  --border-default: var(--ms-line);
  --border-strong: var(--ms-line-strong);
  --border-on-dark: rgba(255, 255, 255, .14);

  --success: var(--ms-green-500);
  --success-bg: var(--ms-green-50);
  --success-text: #155f33;
  --warning: var(--ms-gold-600);
  --warning-bg: var(--ms-gold-50);
  --warning-text: #7a4a0e;
  --error: var(--ms-red-600);
  --error-bg: var(--ms-red-50);
  --error-text: #8f1016;

  --focus: var(--ms-green-500);
  --overlay-photo: linear-gradient(90deg, rgba(28, 13, 6, .90) 0%, rgba(28, 13, 6, .70) 45%, rgba(28, 13, 6, .30) 100%);
  --overlay-scrim: rgba(20, 10, 5, .65);
}

/* Milano Sweets — spacing, layout, sizing */
:root {
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-section: 96px;
  --space-section-tablet: 72px;
  --space-section-mobile: 56px;

  --container-max: 1180px;
  --container-narrow: 820px;
  --container-text: 640px;
  --gutter: 24px;
  --gutter-mobile: 20px;
  --grid-gap: 24px;
  --header-h: 78px;

  --bp-sm: 600px;
  --bp-md: 768px;
  --bp-lg: 960px;
  --bp-xl: 1180px;

  --btn-h-sm: 40px;
  --btn-h-md: 48px;
  --btn-h-lg: 54px;
  --input-h: 48px;
  --tap-min: 44px;
}

/* Milano Sweets — radius, shadow, motion */
:root {
  --radius-sm: 10px;
  /* inputs, alerts, small panels */
  --radius-md: 14px;
  /* thumbs, icon tiles, key-facts, inner panels */
  --radius-lg: 20px;
  /* cards, media, CTA band */
  --radius-pill: 999px;
  /* buttons, chips, badges, nav links */

  --shadow-sm: 0 2px 10px rgba(60, 28, 10, .07);
  --shadow-md: 0 16px 44px rgba(60, 28, 10, .15);
  --shadow-lg: 0 34px 74px rgba(60, 28, 10, .26);
  --shadow-cta: 0 8px 22px rgba(202, 24, 31, .28);
  --ring-focus: 0 0 0 3px rgba(14, 131, 66, .22);
  --ring-error: 0 0 0 3px rgba(165, 19, 26, .16);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: .15s;
  --dur-base: .22s;
  --dur-slow: .5s;
  --lift-sm: translateY(-2px);
  --lift-md: translateY(-5px);
}

/* Milano Sweets — base / reset (opt-in via .ms-root or global) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.ms-root,
body.ms-root {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

:where(.ms-root) :where(h1, h2, h3, h4) {
  font-family: var(--font-display);
  font-weight: var(--fw-heavy);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--text-heading);
  margin: 0;
  text-wrap: balance;
}

:where(.ms-root) p {
  margin: 0;
  text-wrap: pretty;
}

:where(.ms-root) img {
  max-width: 100%;
  display: block;
}

:where(.ms-root) a {
  color: inherit;
  text-decoration: none;
}

.ms-root [dir="rtl"],
[dir="rtl"] .ms-root,
.ms-root[dir="rtl"] {
  font-family: var(--font-ar);
}

[dir="rtl"] .ms-root h1,
[dir="rtl"] .ms-root h2,
[dir="rtl"] .ms-root h3,
[dir="rtl"] .ms-root h4,
.ms-root[dir="rtl"] h1,
.ms-root[dir="rtl"] h2,
.ms-root[dir="rtl"] h3,
.ms-root[dir="rtl"] h4 {
  font-family: var(--font-ar-display);
  letter-spacing: 0;
}

.ms-display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: var(--fw-heavy);
  letter-spacing: var(--ls-heading);
}

.ms-h1 {
  font-size: var(--fs-h1);
  line-height: 1.08;
}

.ms-h2 {
  font-size: var(--fs-h2);
}

.ms-h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
}

.ms-h4 {
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
}

.ms-lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
}

.ms-body-lg {
  font-size: var(--fs-body-lg);
}

.ms-small {
  font-size: var(--fs-small);
}

.ms-caption {
  font-size: var(--fs-caption);
  color: var(--text-muted);
}

.ms-muted {
  color: var(--text-muted);
}

.ms-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.ms-section {
  padding: var(--space-section) 0;
}

.ms-bg-subtle {
  background: var(--bg-subtle);
}

.ms-bg-inverse {
  background: var(--bg-inverse);
  color: var(--text-on-dark);
}

.ms-bg-inverse h2,
.ms-bg-inverse h3 {
  color: var(--ms-cream-100);
}

.ms-grid {
  display: grid;
  gap: var(--grid-gap);
}

.ms-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ms-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ms-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ms-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

@media (max-width: 960px) {
  .ms-section {
    padding: var(--space-section-tablet) 0;
  }

  .ms-grid-3,
  .ms-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .ms-container {
    padding: 0 var(--gutter-mobile);
  }

  .ms-section {
    padding: var(--space-section-mobile) 0;
  }

  .ms-grid-2,
  .ms-grid-3,
  .ms-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {

  .ms-root *,
  .ms-root *::before,
  .ms-root *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ============================================================
   Milano Sweets — Component library (class-based, token-driven)
   Prefix: ms-   States: :hover :active :focus-visible [disabled]
   .is-active .is-error .is-success .is-loading .is-open
   ============================================================ */

/* ---------- Eyebrow / kicker ---------- */
.ms-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-label);
}

.ms-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.ms-eyebrow--on-dark {
  color: var(--ms-honey-300);
}

.ms-eyebrow--on-dark::before {
  background: var(--ms-honey-300);
}

.ms-eyebrow--plain::before {
  display: none;
}

.ms-kicker {
  font-size: .72rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
  color: var(--text-label);
}

[dir="rtl"] .ms-eyebrow,
[dir="rtl"] .ms-kicker {
  letter-spacing: 0;
  font-family: var(--font-ar);
}

/* ---------- Buttons ---------- */
.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: var(--btn-h-md);
  padding: 0 26px;
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: .96rem;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--dur-base), color var(--dur-base), border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
  text-align: center;
  text-decoration: none;
}

[dir="rtl"] .ms-btn {
  font-family: var(--font-ar);
}

.ms-btn:focus-visible {
  outline: 3px solid rgba(14, 131, 66, .55);
  outline-offset: 3px;
}

.ms-btn:active {
  transform: translateY(0) scale(.98);
}

.ms-btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-cta);
}

.ms-btn--primary:hover {
  background: var(--color-primary-hover);
  transform: var(--lift-sm);
}

.ms-btn--gold {
  background: var(--color-accent);
  color: var(--ms-choc-900);
}

.ms-btn--gold:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: var(--lift-sm);
}

.ms-btn--light {
  background: var(--ms-cream-100);
  color: var(--ms-choc-800);
}

.ms-btn--light:hover {
  box-shadow: var(--shadow-md);
  transform: var(--lift-sm);
}

.ms-btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ms-choc-800);
}

.ms-btn--outline:hover {
  background: var(--ms-choc-800);
  border-color: var(--ms-choc-800);
  color: var(--ms-cream-100);
}

.ms-btn--outline-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

.ms-btn--outline-dark:hover {
  background: #fff;
  color: var(--ms-choc-900);
}

.ms-btn--ghost {
  background: transparent;
  color: var(--ms-choc-700);
  padding: 0 16px;
}

.ms-btn--ghost:hover {
  background: var(--ms-cream-100);
}

.ms-btn--sm {
  min-height: var(--btn-h-sm);
  padding: 0 16px;
  font-size: .86rem;
}

.ms-btn--lg {
  min-height: var(--btn-h-lg);
  padding: 0 32px;
  font-size: 1rem;
}

.ms-btn--block {
  width: 100%;
}

.ms-btn--arrow::after {
  content: "\2192";
  transition: transform var(--dur-base);
}

.ms-btn--arrow:hover::after {
  transform: translateX(4px);
}

[dir="rtl"] .ms-btn--arrow::after {
  content: "\2190";
}

[dir="rtl"] .ms-btn--arrow:hover::after {
  transform: translateX(-4px);
}

.ms-btn[disabled],
.ms-btn.is-disabled {
  background: var(--ms-cream-200);
  color: #b39d87;
  border-color: transparent;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.ms-btn.is-loading {
  color: transparent !important;
  position: relative;
  pointer-events: none;
}

.ms-btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  animation: ms-spin .7s linear infinite;
}

.ms-btn--outline.is-loading::after,
.ms-btn--light.is-loading::after {
  border-color: rgba(58, 32, 20, .25);
  border-top-color: var(--ms-choc-800);
}

.ms-icon-btn {
  width: var(--tap-min);
  height: var(--tap-min);
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: var(--ms-cream-100);
  color: var(--ms-choc-800);
  cursor: pointer;
  transition: var(--dur-base);
}

.ms-icon-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.ms-icon-btn--on-dark {
  background: rgba(255, 255, 255, .08);
  color: var(--ms-on-dark-2);
  border-color: var(--border-on-dark);
}

.ms-icon-btn--on-dark:hover {
  background: var(--color-accent);
  color: var(--ms-choc-900);
  border-color: var(--color-accent);
}

.ms-icon-btn svg {
  width: 20px;
  height: 20px;
}

@keyframes ms-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Links ---------- */
.ms-link {
  color: var(--text-link);
  font-weight: var(--fw-bold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(202, 24, 31, .35);
  transition: var(--dur-fast);
}

.ms-link:hover {
  color: var(--color-primary-hover);
  text-decoration-color: currentColor;
}

.ms-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

.ms-link--more {
  text-decoration: none;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: var(--fw-heavy);
  font-size: .9rem;
  transition: gap var(--dur-base);
}

.ms-link--more::after {
  content: "\2192";
}

.ms-link--more:hover {
  gap: 11px;
}

[dir="rtl"] .ms-link--more::after {
  content: "\2190";
}

.ms-link--on-dark {
  color: var(--ms-on-dark-2);
  text-decoration: none;
}

.ms-link--on-dark:hover {
  color: var(--color-accent);
}

/* ---------- Badges & chips ---------- */
.ms-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  font-weight: var(--fw-bold);
  letter-spacing: .02em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  line-height: 1.3;
  white-space: nowrap;
}

.ms-badge--brand {
  background: var(--color-primary);
  color: #fff;
}

.ms-badge--meta {
  background: var(--ms-cream-100);
  color: var(--text-muted);
  border: 1px solid var(--border-default);
}

.ms-badge--cert {
  background: rgba(14, 131, 66, .08);
  color: var(--ms-green-600);
  border: 1px solid rgba(14, 131, 66, .22);
}

.ms-badge--accent {
  background: var(--ms-gold-50);
  color: var(--warning-text);
  border: 1px solid rgba(217, 138, 43, .3);
}

.ms-badge--on-dark {
  background: rgba(255, 255, 255, .1);
  color: var(--ms-on-dark-1);
  border: 1px solid var(--border-on-dark);
}

.ms-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: var(--fw-bold);
  color: var(--ms-green-500);
}

.ms-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

.ms-media-tag {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 18px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: .95rem;
}

.ms-tricolor {
  display: inline-flex;
  height: 4px;
  width: 54px;
  border-radius: 3px;
  overflow: hidden;
}

.ms-tricolor i {
  flex: 1;
}

.ms-tricolor i:nth-child(1) {
  background: var(--ms-green-500);
}

.ms-tricolor i:nth-child(2) {
  background: #fff;
}

.ms-tricolor i:nth-child(3) {
  background: var(--ms-red-500);
}

/* ---------- Header / navigation ---------- */
.ms-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 250, 243, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-default);
}

.ms-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.ms-header__brand img {
  height: 48px;
  width: auto;
}

.ms-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ms-nav__link {
  display: block;
  font-weight: var(--fw-semibold);
  font-size: .98rem;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  color: var(--ms-choc-700);
  transition: var(--dur-fast);
  cursor: pointer;
}

.ms-nav__link:hover {
  background: var(--ms-cream-100);
}

.ms-nav__link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.ms-nav__link.is-active {
  color: var(--color-primary);
  background: var(--ms-red-50);
}

.ms-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ms-lang-btn {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: .82rem;
  min-height: var(--btn-h-sm);
  border: 1.5px solid var(--border-default);
  background: transparent;
  color: var(--ms-choc-800);
  padding: 0 15px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  letter-spacing: .03em;
}

.ms-lang-btn:hover {
  border-color: var(--color-accent);
  color: var(--ms-gold-600);
}

.ms-burger {
  display: none;
  width: var(--tap-min);
  height: var(--tap-min);
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.ms-burger span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ms-choc-800);
  transition: transform .35s, opacity .25s;
}

.ms-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ms-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.ms-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ms-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(300px, 86vw);
  background: #fff;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 40px rgba(30, 14, 7, .3);
  transform: translateX(-100%);
  transition: transform .38s var(--ease-out);
}

[dir="rtl"] .ms-drawer {
  inset: 0 0 0 auto;
  transform: translateX(100%);
}

.ms-drawer.is-open {
  transform: none;
}

.ms-drawer__logo {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border-default);
}

.ms-drawer__logo img {
  height: 40px;
}

.ms-drawer__link {
  display: block;
  padding: 16px 28px;
  font-size: 1.08rem;
  font-weight: var(--fw-bold);
  color: var(--ms-choc-800);
  border-bottom: 1px solid var(--border-default);
  cursor: pointer;
}

.ms-drawer__link:hover,
.ms-drawer__link.is-active {
  background: var(--ms-cream-100);
  color: var(--color-primary);
}

.ms-drawer__cta {
  margin-top: auto;
  padding: 28px;
}

.ms-scrim {
  position: fixed;
  inset: 0;
  background: var(--overlay-scrim);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .38s;
}

.ms-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {

  .ms-header .ms-nav,
  .ms-header__actions .ms-btn {
    display: none;
  }

  .ms-burger {
    display: inline-flex;
  }

  .ms-header__brand img {
    height: 40px;
  }
}

/* ---------- Breadcrumb ---------- */
.ms-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  list-style: none;
  padding: 0;
  margin: 0;
}

.ms-breadcrumb a:hover {
  color: var(--color-primary);
}

.ms-breadcrumb .sep {
  color: var(--border-strong);
}

.ms-breadcrumb [aria-current] {
  color: var(--ms-choc-800);
}

.ms-breadcrumb--on-dark {
  color: var(--ms-on-dark-2);
}

.ms-breadcrumb--on-dark a:hover {
  color: #fff;
}

.ms-breadcrumb--on-dark .sep {
  color: rgba(255, 255, 255, .35);
}

.ms-breadcrumb--on-dark [aria-current] {
  color: var(--ms-honey-300);
}

/* ---------- Section header ---------- */
.ms-section-head {
  max-width: var(--container-text);
  margin-bottom: 52px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.ms-section-head--center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

.ms-section-head h2 {
  font-size: var(--fs-h2);
}

.ms-section-head p {
  color: var(--text-muted);
  font-size: var(--fs-body-lg);
}

.ms-bg-inverse .ms-section-head p {
  color: var(--ms-on-dark-2);
}

.ms-section-head--split {
  max-width: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Hero ---------- */
.ms-hero {
  position: relative;
  overflow: hidden;
  color: var(--ms-on-dark-1);
  background: var(--ms-choc-900) center 30%/cover no-repeat;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 96px 0 120px;
}

.ms-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-photo), linear-gradient(180deg, rgba(28, 13, 6, .3), transparent 30%, transparent 68%, rgba(28, 13, 6, .4));
}

[dir="rtl"] .ms-hero::before {
  transform: scaleX(-1);
}

.ms-hero>.ms-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.ms-hero__inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.ms-hero h1 {
  color: #fff;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
}

.ms-hero h1 em {
  font-style: normal;
  color: var(--ms-honey-300);
}

.ms-hero__lead {
  font-size: var(--fs-lead);
  max-width: 52ch;
  color: var(--ms-on-dark-1);
}

.ms-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ms-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 8px;
}

.ms-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--fw-bold);
  font-size: .94rem;
  color: var(--ms-on-dark-1);
}

.ms-hero__chip::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .15);
}

.ms-hero__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(48px, 7vw, 110px);
  width: 100%;
  z-index: 2;
  fill: var(--bg-page);
}

.ms-page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ms-choc-900) center 35%/cover no-repeat;
  color: var(--ms-on-dark-1);
  padding: 96px 0 84px;
}

.ms-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-photo);
}

[dir="rtl"] .ms-page-hero::before {
  transform: scaleX(-1);
}

.ms-page-hero>.ms-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.ms-page-hero h1 {
  color: #fff;
  font-size: var(--fs-h1);
  line-height: 1.08;
  max-width: 20ch;
}

.ms-page-hero p {
  font-size: 1.12rem;
  max-width: 58ch;
}

.ms-page-hero--lean {
  background: linear-gradient(180deg, #faf1e3, var(--bg-page));
  color: var(--text-body);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border-default);
}

.ms-page-hero--lean::before {
  display: none;
}

.ms-page-hero--lean h1 {
  color: var(--text-heading);
}

.ms-page-hero--lean p {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .ms-hero {
    min-height: 0;
    padding: 72px 0 96px;
  }

  .ms-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .ms-hero__lead {
    font-size: 1.02rem;
  }

  .ms-page-hero {
    padding: 64px 0 56px;
  }
}

/* ---------- Cards ---------- */
.ms-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--dur-base), box-shadow var(--dur-base), border-color var(--dur-base);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ms-card--interactive:hover {
  transform: var(--lift-md);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.ms-card--inverse {
  background: var(--ms-choc-800);
  border-color: rgba(217, 138, 43, .25);
  color: var(--ms-on-dark-2);
}

.ms-card--inverse h3 {
  color: var(--ms-cream-100);
}

.ms-card--subtle {
  background: var(--bg-subtle);
}

.ms-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--ms-cream-100);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.ms-card__icon svg {
  width: 26px;
  height: 26px;
}

.ms-card h3 {
  font-size: 1.25rem;
}

.ms-card p {
  color: var(--text-muted);
  font-size: .98rem;
}

.ms-card--inverse p {
  color: var(--ms-on-dark-2);
}

.ms-card__step {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: var(--fw-heavy);
  line-height: 1;
  color: var(--ms-cream-200);
}

.ms-info-card {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--surface-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ms-info-card__label {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-label);
  font-weight: var(--fw-bold);
}

.ms-info-card__value {
  font-weight: var(--fw-semibold);
  color: var(--ms-choc-800);
}

.ms-info-card__value a {
  color: var(--text-link);
}

/* ---------- Product card ---------- */
.ms-prod-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base), box-shadow var(--dur-base);
  color: inherit;
}

.ms-prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.ms-prod-card:focus-visible {
  outline: 3px solid rgba(14, 131, 66, .55);
  outline-offset: 3px;
}

.ms-prod-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-media);
  position: relative;
}

.ms-prod-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) ease;
}

.ms-prod-card:hover .ms-prod-card__media img {
  transform: scale(1.05);
}

.ms-prod-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ms-prod-card h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
}

.ms-prod-card p {
  color: var(--text-muted);
  font-size: .96rem;
}

.ms-prod-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ms-prod-card__foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-link);
}

.ms-prod-card--compact {
  flex-direction: row;
}

.ms-prod-card--compact .ms-prod-card__media {
  aspect-ratio: 1;
  width: 132px;
  flex: none;
}

.ms-prod-card--compact .ms-prod-card__body {
  padding: 16px 18px;
}

.ms-prod-card--compact h3 {
  font-size: 1.1rem;
}

/* ---------- Product detail ---------- */
.ms-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.ms-gallery__main {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-media);
  box-shadow: var(--shadow-sm);
}

.ms-gallery__main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ms-gallery__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.ms-gallery__thumb {
  width: 78px;
  height: 78px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-default);
  background: var(--surface-media);
  padding: 0;
  cursor: pointer;
  transition: border-color var(--dur-fast);
}

.ms-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ms-gallery__thumb:hover {
  border-color: var(--color-accent);
}

.ms-gallery__thumb.is-active {
  border-color: var(--color-primary);
}

.ms-gallery__thumb:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.ms-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ms-summary__top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ms-summary h1 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
}

.ms-summary__short {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.ms-summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  padding-top: 6px;
}

.ms-key-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ms-key-facts__item {
  background: var(--surface-card);
  padding: 14px 16px;
}

.ms-key-facts__label {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-muted);
  font-weight: var(--fw-bold);
  margin-bottom: 3px;
}

.ms-key-facts__value {
  display: block;
  font-size: 1rem;
  font-weight: var(--fw-heavy);
  color: var(--text-body);
}

.ms-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ms-spec-table th,
.ms-spec-table td {
  text-align: start;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-default);
  font-size: 1rem;
  vertical-align: top;
}

.ms-spec-table tr:last-child th,
.ms-spec-table tr:last-child td {
  border-bottom: 0;
}

.ms-spec-table th {
  background: var(--bg-subtle);
  color: var(--ms-choc-800);
  font-weight: var(--fw-bold);
  width: 42%;
}

.ms-spec-table td {
  color: var(--text-body);
}

.ms-tabs__nav {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid var(--border-default);
  overflow-x: auto;
}

.ms-tabs__btn {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 1rem;
  color: var(--text-muted);
  background: none;
  border: 0;
  padding: 14px 22px;
  cursor: pointer;
  margin-bottom: -2px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color var(--dur-fast);
}

.ms-tabs__btn:hover {
  color: var(--ms-choc-800);
}

.ms-tabs__btn.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.ms-tabs__btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}

.ms-tabs__panel {
  padding: 28px 2px;
  max-width: var(--container-narrow);
}

.ms-tabs__panel p {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
}

@media (max-width: 960px) {
  .ms-product {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .ms-spec-table th {
    width: 46%;
  }

  .ms-spec-table th,
  .ms-spec-table td {
    padding: 12px 14px;
    font-size: .94rem;
  }
}

/* ---------- Feature list ---------- */
.ms-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ms-check-list li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-default);
}

.ms-check-list li:last-child {
  border-bottom: 0;
}

.ms-check-list li::before {
  content: "\2713";
  color: var(--ms-green-500);
  font-weight: var(--fw-heavy);
  font-size: 1.1rem;
  line-height: 1.5;
}

.ms-check-list strong {
  display: block;
  color: var(--ms-choc-800);
}

.ms-check-list span {
  color: var(--text-muted);
  font-size: .95rem;
}

/* ---------- Stats ---------- */
.ms-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ms-stats__cell {
  background: var(--ms-choc-800);
  padding: 32px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ms-stats__value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: var(--fw-heavy);
  color: var(--ms-cream-100);
  line-height: 1.1;
}

.ms-stats__label {
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ms-on-dark-2);
}

@media (max-width: 960px) {
  .ms-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- CTA band / photo band ---------- */
.ms-cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--ms-choc-800), var(--ms-choc-700));
  color: var(--ms-on-dark-1);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ms-cta-band::after {
  content: "";
  position: absolute;
  inset-inline-end: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(202, 24, 31, .32), transparent 65%);
  pointer-events: none;
}

.ms-cta-band>* {
  position: relative;
  z-index: 1;
}

.ms-cta-band h2 {
  color: var(--ms-cream-100);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 22ch;
}

.ms-cta-band p {
  color: var(--ms-on-dark-2);
  margin-top: 10px;
  font-size: 1.05rem;
}

.ms-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ms-cta-band--light {
  background: var(--bg-subtle);
  color: var(--text-body);
  border: 1px solid var(--border-default);
}

.ms-cta-band--light h2 {
  color: var(--text-heading);
}

.ms-cta-band--light p {
  color: var(--text-muted);
}

.ms-cta-band--light::after {
  background: radial-gradient(circle, rgba(217, 138, 43, .22), transparent 65%);
}

.ms-photo-band {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  background: var(--ms-choc-900) center/cover no-repeat;
  color: var(--ms-on-dark-1);
  padding: 80px 0;
  overflow: hidden;
}

.ms-photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 16, 8, .86), rgba(34, 16, 8, .45) 60%, rgba(34, 16, 8, .2));
}

.ms-photo-band>.ms-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.ms-photo-band__inner {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.ms-photo-band h2 {
  color: #fff;
  font-size: var(--fs-h2);
}

@media (max-width: 768px) {
  .ms-cta-band {
    padding: 36px 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .ms-cta-band__actions {
    width: 100%;
    flex-direction: column;
  }

  .ms-cta-band__actions .ms-btn {
    width: 100%;
  }
}

/* ---------- Split media ---------- */
.ms-media {
  position: relative;
}

.ms-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Forms ---------- */
.ms-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ms-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.ms-field--full {
  grid-column: 1 / -1;
}

.ms-label {
  font-weight: var(--fw-bold);
  font-size: .92rem;
  color: var(--ms-choc-800);
}

.ms-label .req {
  color: var(--color-primary);
}

.ms-input,
.ms-select,
.ms-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  min-height: var(--input-h);
  padding: 12px 15px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--text-body);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.ms-input::placeholder,
.ms-textarea::placeholder {
  color: #ad977f;
}

.ms-input:hover,
.ms-select:hover,
.ms-textarea:hover {
  border-color: var(--border-strong);
}

.ms-input:focus,
.ms-select:focus,
.ms-textarea:focus,
.ms-input.is-focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: var(--ring-focus);
}

.ms-select {
  appearance: none;
  padding-inline-end: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ms-choc-700) 50%), linear-gradient(135deg, var(--ms-choc-700) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

[dir="rtl"] .ms-select {
  background-position: 15px 50%, 20px 50%;
}

.ms-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}

.ms-input:disabled,
.ms-select:disabled,
.ms-textarea:disabled {
  background: var(--bg-subtle);
  color: #b39d87;
  border-color: var(--border-default);
  cursor: not-allowed;
}

.ms-field.is-error .ms-input,
.ms-field.is-error .ms-select,
.ms-field.is-error .ms-textarea {
  border-color: var(--error);
  box-shadow: var(--ring-error);
}

.ms-field.is-success .ms-input,
.ms-field.is-success .ms-select {
  border-color: var(--success);
}

.ms-help {
  font-size: .84rem;
  color: var(--text-muted);
}

.ms-field.is-error .ms-help {
  color: var(--error-text);
  font-weight: var(--fw-semibold);
}

.ms-field.is-success .ms-help {
  color: var(--success-text);
  font-weight: var(--fw-semibold);
}

.ms-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  font-weight: var(--fw-semibold);
  color: var(--text-body);
  cursor: pointer;
  min-height: 32px;
}

.ms-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  flex: none;
  margin: 0;
}

.ms-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.ms-newsletter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ms-newsletter .ms-input {
  flex: 1 1 220px;
  border-radius: var(--radius-pill);
  padding-inline: 20px;
}

.ms-newsletter--on-dark .ms-input {
  background: rgba(255, 255, 255, .06);
  border-color: var(--border-on-dark);
  color: #fff;
}

.ms-newsletter--on-dark .ms-input::placeholder {
  color: var(--ms-on-dark-3);
}

@media (max-width: 768px) {

  .ms-form-grid,
  .ms-check-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Alerts ---------- */
.ms-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: .95rem;
  font-weight: var(--fw-semibold);
  line-height: 1.5;
}

.ms-alert__icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: var(--fw-heavy);
  color: #fff;
  margin-top: 1px;
}

.ms-alert strong {
  display: block;
}

.ms-alert--success {
  background: var(--success-bg);
  border-color: rgba(14, 131, 66, .45);
  color: var(--success-text);
}

.ms-alert--success .ms-alert__icon {
  background: var(--success);
}

.ms-alert--warning {
  background: var(--warning-bg);
  border-color: rgba(184, 111, 23, .45);
  color: var(--warning-text);
}

.ms-alert--warning .ms-alert__icon {
  background: var(--warning);
}

.ms-alert--error {
  background: var(--error-bg);
  border-color: rgba(165, 19, 26, .4);
  color: var(--error-text);
}

.ms-alert--error .ms-alert__icon {
  background: var(--error);
}

.ms-alert--info {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
  color: var(--ms-choc-800);
}

.ms-alert--info .ms-alert__icon {
  background: var(--ms-choc-700);
}

/* ---------- Modal ---------- */
.ms-modal-scrim {
  position: fixed;
  inset: 0;
  background: var(--overlay-scrim);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 1100;
}

.ms-modal {
  background: var(--surface-raised);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
}

.ms-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 26px 0;
}

.ms-modal__head h3 {
  font-size: 1.4rem;
}

.ms-modal__body {
  padding: 14px 26px 8px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ms-modal__foot {
  padding: 18px 26px 24px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.ms-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--ms-cream-100);
  color: var(--ms-choc-800);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  flex: none;
}

.ms-close:hover {
  background: var(--ms-cream-200);
}

@media (max-width: 600px) {
  .ms-modal-scrim {
    align-items: end;
    padding: 0;
  }

  .ms-modal {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    width: 100%;
  }

  .ms-modal__foot .ms-btn {
    flex: 1;
  }
}

/* ---------- Pagination ---------- */
.ms-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.ms-page {
  min-width: var(--tap-min);
  height: var(--tap-min);
  padding: 0 12px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-default);
  background: var(--surface-card);
  font-weight: var(--fw-bold);
  color: var(--ms-choc-800);
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
}

.ms-page:hover {
  border-color: var(--ms-choc-800);
}

.ms-page.is-active {
  background: var(--ms-choc-800);
  border-color: var(--ms-choc-800);
  color: var(--ms-cream-100);
}

.ms-page:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.ms-page--gap {
  border: 0;
  background: none;
  cursor: default;
}

/* ---------- Loading / empty ---------- */
.ms-skeleton {
  background: linear-gradient(90deg, var(--ms-cream-100) 0%, var(--ms-cream-200) 50%, var(--ms-cream-100) 100%);
  background-size: 200% 100%;
  animation: ms-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes ms-shimmer {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

.ms-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--ms-cream-200);
  border-top-color: var(--color-primary);
  animation: ms-spin .8s linear infinite;
}

.ms-empty {
  text-align: center;
  padding: 48px 24px;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ms-empty__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  display: grid;
  place-items: center;
  color: var(--ms-gold-600);
  margin-bottom: 4px;
}

.ms-empty__icon svg {
  width: 26px;
  height: 26px;
}

.ms-empty h3 {
  font-size: 1.25rem;
}

.ms-empty p {
  color: var(--text-muted);
  max-width: 40ch;
}

/* ---------- Footer ---------- */
.ms-footer {
  background: var(--ms-choc-900);
  color: var(--ms-on-dark-2);
  padding: 72px 0 64px;
}

.ms-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.ms-footer__brand img {
  height: 50px;
  margin-bottom: 16px;
}

.ms-footer__about {
  font-size: .96rem;
  max-width: 40ch;
  line-height: 1.7;
}

.ms-footer h4 {
  font-family: var(--font-body);
  color: var(--ms-cream-100);
  font-size: .8rem;
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ms-footer__col a {
  display: block;
  padding: 6px 0;
  color: var(--ms-on-dark-2);
  font-size: .96rem;
  transition: color var(--dur-fast);
  overflow-wrap: anywhere;
}

.ms-footer__col a:hover {
  color: var(--color-accent);
}

.ms-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.ms-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 48px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--ms-on-dark-3);
}

@media (max-width: 960px) {
  .ms-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .ms-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
/* ==========================================================================
   Milano Sweets — site layer (loaded after ds.css)
   Page layout and site-only patterns, built exclusively from Design System
   tokens. Visual rules for components live in ds.css (source of truth).
   ========================================================================== */

/* ---------- Fonts: the Design System families, self-hosted (latin) ---------- */
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

/* ---------- Accessibility adjustments to DS values (WCAG 2.2 AA) ----------
   Each uses an existing DS token; documented in docs/DESIGN_SYSTEM.md.
   1. Small label text: DS --ms-gold-600 is 3.9:1 on paper (needs 4.5:1);
      DS --warning-text (#7a4a0e) gives 7.4:1 and keeps the caramel hue.
   2. Form-control borders: DS --border-default is 1.3:1 against white (needs 3:1
      for input boundaries); DS --ms-muted gives 4.8:1.
   3. Focus rings: DS buttons/cards use a 55%-alpha green (2.2:1); the solid DS
      --focus green is 4.8:1. Honey on dark grounds.
   4. Checkbox rows: DS --tap-min (44px) height instead of 32px. */
:root { --text-label: var(--warning-text); }
.ms-input, .ms-select, .ms-textarea { border-color: var(--ms-muted); }
.ms-input:hover, .ms-select:hover, .ms-textarea:hover { border-color: var(--ms-choc-700); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ms-btn:focus-visible, .ms-prod-card:focus-visible, .ms-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ms-hero :focus-visible, .ms-page-hero:not(.ms-page-hero--lean) :focus-visible,
.ms-footer :focus-visible, .ms-cta-band :focus-visible { outline-color: var(--ms-honey-300); }
.ms-check { min-height: var(--tap-min); }

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--space-md)); }
body { margin: 0; background: var(--bg-page); }
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
code { font-size: .92em; background: var(--bg-subtle); padding: 1px 6px; border-radius: 6px; }
[hidden] { display: none !important; }
main:focus { outline: none; }
body.is-drawer-open { overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-md); top: -100px; z-index: 2000;
  background: var(--ms-choc-900); color: var(--ms-cream-100); padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-pill); font-weight: var(--fw-bold);
}
.skip-link:focus { top: var(--space-sm); }
.card-list, .link-list, .badge-list, .ms-hero__chips, .ms-footer__social,
.ms-drawer ul, .ms-gallery__thumbs, .ms-nav { list-style: none; margin: 0; padding: 0; }

/* ---------- Header + drawer ---------- */
.ms-header__brand { display: block; flex: none; border-radius: var(--radius-sm); }
.ms-header__brand img { width: auto; }
.ms-drawer { visibility: hidden; transition: transform .38s var(--ease-out), visibility 0s linear .38s; overflow-y: auto; }
.ms-drawer.is-open { visibility: visible; transition: transform .38s var(--ease-out), visibility 0s; }
.ms-drawer__logo img { width: auto; }
.ms-drawer__link { min-height: var(--tap-min); }
@media (min-width: 769px) { .ms-drawer, .ms-scrim { display: none; } }

/* ---------- Sections ---------- */
.ms-section--compact { padding: var(--space-3xl) 0; }
.ms-section--flush { padding-top: var(--space-xl); }
/* Pages that open with breadcrumbs instead of a hero start closer to the header. */
.ms-section.product-page { padding-top: var(--space-2xl); }
.ms-split.split--top { align-items: start; }
.section-head__copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: var(--container-text); }
.section-head__copy p { color: var(--text-muted); font-size: var(--fs-body-lg); }
.ms-section-head .pending, .section-head__copy .pending { align-self: stretch; }
.card-list > li { display: flex; flex-direction: column; min-width: 0; }
.card-list > li > .ms-prod-card { flex: 1; }
@media (max-width: 768px) {
  .ms-section--compact { padding: var(--space-2xl) 0; }
  .ms-section-head { margin-bottom: var(--space-xl); }
}

/* ---------- Hero (DS .ms-hero with the media as a layer under the overlay) ---------- */
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 62%; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--dur-slow) ease; }
.hero__media.is-playing video { opacity: 1; }
/* The approved hero photo is portrait: on wide screens it sits on the right so the jar stays legible. */
@media (min-width: 961px) {
  .hero__media { left: 0; right: 0; width: 100%; -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 25%, black 60%); mask-image: linear-gradient(to right, transparent 0%, transparent 25%, black 60%); }
  .hero__img { object-position: 50% 58%; }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.6) 1px, transparent 1px);
  background-size: 4px 4px;
  z-index: 1;
}
.hero.ms-hero::before { z-index: 1; }
.hero .ms-hero__curve { fill: var(--bg-subtle); }
.ms-hero__chips { margin-top: var(--space-xs); }
.ms-hero__chip { min-height: var(--tap-min); text-decoration: none; }
.ms-hero__chip:hover { color: var(--text-on-accent); text-decoration: underline; text-underline-offset: 4px; }
.hero__toggle { position: absolute; right: var(--gutter); bottom: clamp(64px, 9vw, 130px); z-index: 3; }
.hero__toggle span { display: inline-flex; align-items: center; gap: 8px; }
.hero__toggle[aria-pressed="true"] .hero__toggle-play, .hero__toggle[aria-pressed="false"] .hero__toggle-pause { display: none; }
@media (max-width: 768px) { .ms-hero__chips { gap: 4px 22px; } }

/* ---------- Page heroes ---------- */
.page-actions { margin-top: var(--space-xs); }
.ms-page-hero .crumbs { width: 100%; }

/* ---------- Product cards + placeholder ---------- */
.ms-prod-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  box-shadow: 0 2px 10px rgba(30, 15, 10, 0.04);
  transition: transform var(--dur-base) cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow var(--dur-base) cubic-bezier(0.16, 1, 0.3, 1),
              border-color var(--dur-base) ease;
}
.ms-prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(30, 15, 10, 0.12);
  border-color: rgba(197, 142, 60, 0.45);
}
.ms-prod-card__media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 1px) calc(var(--radius-xl) - 1px) 0 0;
}
.ms-prod-card__media picture { display: block; width: 100%; height: 100%; }
.ms-prod-card__media img {
  transition: transform var(--dur-slow) cubic-bezier(0.16, 1, 0.3, 1);
}
.ms-prod-card:hover .ms-prod-card__media img {
  transform: scale(1.05);
}

/* Enhanced single-line media tag badge */
.ms-media-tag {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 12px;
  background: linear-gradient(135deg, rgba(186, 24, 27, 0.94) 0%, rgba(140, 16, 20, 0.96) 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  white-space: nowrap;
  max-width: calc(100% - 24px);
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  z-index: 2;
}
.ms-prod-card:hover .ms-media-tag {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.ms-prod-card .ms-link--more::after {
  content: " \2192";
  transition: transform var(--dur-fast) ease;
  display: inline-block;
}
.ms-prod-card:hover .ms-link--more::after {
  transform: translateX(4px);
}

.focus-lower { object-position: 50% 72%; }
.focus-upper { object-position: 50% 28%; }
.media-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-xs); padding: var(--space-lg); background: var(--surface-media); text-align: center;
}
.media-placeholder__icon {
  width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--surface-card);
  border: 1px solid var(--border-default); display: grid; place-items: center; color: var(--ms-gold-600); margin-bottom: var(--space-2xs);
}
.media-placeholder__text { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); line-height: var(--lh-snug); color: var(--ms-choc-800); }
.media-placeholder--lg { aspect-ratio: 1; }
.media-placeholder--lg .media-placeholder__text { font-size: var(--fs-h3); }

/* ---------- Product detail ---------- */
.product-page .crumbs { margin-bottom: var(--space-xl); }
.ms-gallery__main { margin: 0; position: relative; }
.ms-gallery__main picture { display: block; }
.ms-gallery__thumb[aria-pressed="true"] { border-color: var(--color-primary); }
.ms-gallery__thumb picture { display: block; width: 100%; height: 100%; }
.ms-key-facts { margin: 0; }
.ms-key-facts dd { margin: 0; }
.ms-key-facts__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ms-summary__actions .ms-btn svg { flex: none; }
.spec-sections { display: grid; gap: var(--space-xl); }
@media (min-width: 961px) { .spec-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.spec-block__title { font-size: var(--fs-h4); margin-bottom: var(--space-sm); }
.notice { max-width: var(--container-narrow); }
.notice p { margin-top: var(--space-xs); }
@media (max-width: 600px) { .ms-key-facts { grid-template-columns: 1fr; } }

/* ---------- Cards, lists, info ---------- */
.ms-card--subtle h3 { margin-bottom: var(--space-xs); }
.ms-card .ms-check-list { margin-bottom: var(--space-xs); }
.ms-check-list li { align-items: flex-start; }
/* Home: quality and compliance — dark DS band with one light "data passport" card per product
   (shelf life, storage, allergens from approved specs). No certification is claimed. */
.compliance .ms-section-head p { max-width: var(--container-text); }
.compliance__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--grid-gap); }
.compliance-pass { padding: var(--space-lg); gap: var(--space-md); color: var(--text-body); }
.compliance-pass__head h3 { margin: var(--space-2xs) 0 0; color: var(--text-heading); }
.compliance-pass__facts { grid-template-columns: 1fr; }
.compliance-pass__facts .ms-key-facts__value { font-weight: var(--fw-bold); }
.compliance-pass__link { margin-top: auto; }
.quality-claims { list-style: none; margin: var(--grid-gap) 0 0; padding: 0; display: grid; gap: var(--space-sm); }
.quality-claim { display: flex; flex-direction: column; gap: var(--space-2xs); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); background: var(--surface-card); color: var(--text-body); }
@media (min-width: 601px) { .quality-claims { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .compliance__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ms-info-card__value a { color: var(--text-link); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: break-word; }
.link-list { display: grid; gap: var(--space-2xs); margin-top: var(--space-xs); }
.link-list .ms-link--more { min-height: var(--tap-min); }
.badge-list { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
ol.card-list { counter-reset: none; }

/* ---------- CTA band ---------- */
/* Closing CTA band (shared partial): message + actions | direct-contact panel. DS tokens only. */
.cta-band { display: grid; gap: var(--space-xl); align-items: center; }
.cta__copy { display: flex; flex-direction: column; align-items: flex-start; max-width: 62ch; }
.cta__copy .ms-cta-band__actions { margin-top: var(--space-lg); }
.cta__contact { list-style: none; margin: 0; padding: var(--space-xs); display: grid; gap: var(--space-2xs); background: var(--ms-choc-900); border: 1px solid var(--border-on-dark); border-radius: var(--radius-lg); }
.cta__tile {
  display: flex; align-items: center; gap: var(--space-md); min-height: var(--tap-min); padding: var(--space-sm) var(--space-md);
  border: 1px solid transparent; border-radius: var(--radius-md); color: var(--ms-on-dark-1); text-decoration: none;
}
a.cta__tile { transition: border-color var(--dur-base), background-color var(--dur-base); }
a.cta__tile:hover { border-color: var(--border-on-dark); background: var(--ms-choc-800); }
.cta__tile-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--ms-choc-800); color: var(--ms-honey-300); }
.cta__tile-text { display: flex; flex-direction: column; min-width: 0; }
.cta__tile-label { font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ms-on-dark-3); }
.cta__tile-value { font-weight: var(--fw-bold); color: var(--ms-on-dark-1); }
.cta__tile-value--email { overflow-wrap: anywhere; }
@media (min-width: 961px) { .cta-band { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); } }

/* ---------- Contact + form ---------- */
.contact__grid { display: grid; gap: var(--space-2xl); align-items: start; }
@media (min-width: 961px) { .contact__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.contact__side { display: flex; flex-direction: column; gap: var(--space-sm); }
@media (min-width: 961px) { .contact__side { position: sticky; top: calc(var(--header-h) + var(--space-lg)); } }
.contact__form { padding: var(--space-xl); }
@media (max-width: 768px) { .contact__form { padding: var(--space-lg) var(--space-md); } }
.inquiry__title { font-family: var(--font-display); font-size: var(--fs-h3); }
.inquiry__title:focus { outline: none; }
.inquiry__intro { margin: var(--space-2xs) 0 var(--space-lg); }
.form-errors { margin-bottom: var(--space-lg); }
.form-errors ul { list-style: disc; padding-left: 20px; margin: var(--space-2xs) 0 0; }
.form-errors a { color: var(--error-text); text-decoration: underline; }
.field__optional { font-weight: var(--fw-regular); color: var(--text-muted); font-size: var(--fs-small); }
.inquiry__choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.inquiry__choices legend { padding: 0; margin-bottom: 7px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry__privacy { margin-top: var(--space-lg); }
.inquiry__actions { margin-top: var(--space-lg); }
.form-status:not(:empty) { margin-top: var(--space-md); }
.form-status a { color: inherit; text-decoration: underline; }
.inquiry-done p { margin-top: var(--space-2xs); }

/* ---------- Tables ---------- */
.table-scroll { position: relative; overflow-x: auto; border-radius: var(--radius-md); }
.ms-spec-table thead th { width: auto; white-space: nowrap; }
.spec-table--overview { min-width: 560px; }
.spec-table--overview th, .spec-table--overview td { width: auto; }
.spec-table--checklist { min-width: 900px; }
.spec-table--checklist th, .spec-table--checklist td { font-size: var(--fs-small); width: auto; }
.ms-spec-table tbody th a { display: inline-flex; align-items: center; min-height: var(--tap-min); }

/* Range overview (products page): DS card surface, chocolate header band, product thumbnails,
   size/variant chips. Up to 1100px each row becomes a card (two per row on tablets); ARIA roles keep the table semantics. */
.range-table { background: var(--surface-raised); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.range-table .ms-spec-table { border: 0; border-radius: 0; }
.range-table thead th {
  background: var(--ms-choc-800); color: var(--ms-cream-100); padding-block: var(--space-md);
  font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--ls-label); text-transform: uppercase;
  white-space: normal; vertical-align: bottom;
}
.range-table th, .range-table td { padding-inline: var(--space-md); }
.range-table tbody th, .range-table tbody td { background: transparent; vertical-align: middle; padding-block: var(--space-md); transition: background var(--dur-base); }
.range-table tbody tr:hover > * { background: var(--bg-subtle); }
.range-table tbody td { min-width: 8.5rem; }
.range-table .ms-kicker { white-space: nowrap; }
.range-note { display: block; max-width: 20ch; font-size: var(--fs-small); line-height: 1.45; }
.range-product { position: relative; display: flex; align-items: center; gap: var(--space-sm); min-width: 210px; }
.range-product__thumb {
  flex: none; width: 56px; height: 56px; border-radius: var(--radius-md); overflow: hidden;
  background: var(--surface-media); border: 1px solid var(--border-default);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.range-product__thumb picture, .range-product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.range-product__initial { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display); font-size: 1.6rem; font-weight: var(--fw-heavy); color: var(--color-primary); }
.range-product__text { display: flex; flex-direction: column; align-items: flex-start; }
.ms-spec-table tbody th a.range-product__name {
  min-height: 0; font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-bold); line-height: var(--lh-snug);
  color: var(--ms-choc-800); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 4px;
  transition: color var(--dur-fast), text-decoration-color var(--dur-fast);
}
/* The name link covers the whole product cell (thumbnail included) for a larger target. */
.range-product__name::after { content: ""; position: absolute; inset: calc(-1 * var(--space-xs)); }
.range-product:hover .range-product__name { color: var(--color-primary); text-decoration-color: currentColor; }
.range-product:hover .range-product__thumb { transform: var(--lift-sm); box-shadow: var(--shadow-sm); }
.range-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.range-chip {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius-pill); white-space: nowrap;
  background: var(--ms-gold-50); border: 1px solid rgba(217, 138, 43, .3); color: var(--warning-text);
  font-family: var(--font-display); font-size: var(--fs-small); font-weight: var(--fw-bold); line-height: 1.3;
}
.range-list { display: grid; gap: 4px; font-size: var(--fs-small); line-height: 1.4; color: var(--ms-choc-800); }
.range-list--codes { font-weight: var(--fw-semibold); letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.range-list:not(.range-list--codes) span { display: flex; gap: var(--space-xs); max-width: 20ch; }
.range-list:not(.range-list--codes) span::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .5em; border-radius: 50%; background: var(--color-accent); }
.range-table .pending--inline { white-space: nowrap; }
.range-product__quote { position: relative; z-index: 1; margin-top: var(--space-2xs); font-size: var(--fs-small); }
.ms-spec-table tbody th a.range-product__quote { min-height: 32px; }
@media (min-width: 1101px) { .range-table .range-table__action { display: none; } }
@media (max-width: 1100px) {
  .range-table { background: none; border: 0; box-shadow: none; overflow: visible; }
  .range-table table, .range-table tbody, .range-table tr, .range-table tbody th, .range-table tbody td { display: block; }
  .range-table .spec-table--overview { min-width: 0; }
  .range-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .range-table tbody { display: grid; gap: var(--space-md); align-items: start; }
  .range-table tbody tr { background: var(--surface-raised); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
  .range-table tbody tr:hover > * { background: transparent; }
  .range-table tbody th { padding: var(--space-md); border-bottom: 1px solid var(--border-default); background: var(--bg-subtle); }
  .range-table tbody td[data-label] {
    display: flex; justify-content: space-between; align-items: center; gap: var(--space-md);
    padding: var(--space-sm) var(--space-md); white-space: normal; text-align: end;
  }
  .range-table tbody td[data-label]::before {
    content: attr(data-label); flex: none; max-width: 45%; text-align: start;
    font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-label);
  }
  .range-table .range-chips { justify-content: flex-end; }
  .range-table tbody td { min-width: 0; }
  .range-note { max-width: none; }
  .range-list { justify-items: end; }
  .range-list:not(.range-list--codes) span { max-width: none; }
  .range-product__quote { display: none !important; }
  .range-table__action { padding: var(--space-sm) var(--space-md) var(--space-md); border-bottom: 0; }
  .range-table__action .ms-btn { width: 100%; justify-content: center; }
  .range-table tbody tr:last-child > * { border-bottom: 1px solid var(--border-default); }
  .range-table tbody tr > :last-child { border-bottom: 0; }
}
@media (min-width: 601px) and (max-width: 1100px) { .range-table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: var(--container-narrow); display: flex; flex-direction: column; gap: var(--space-md); }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--space-md); }
.prose a { color: var(--text-link); font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- Footer ----------
   More generous spacing than the DS defaults, using DS spacing tokens only. */
.ms-footer { padding: var(--space-section) 0 0; }
.ms-footer__grid { column-gap: var(--space-3xl); row-gap: var(--space-2xl); }
.ms-footer__h { font-family: var(--font-body); color: var(--ms-cream-100); font-size: .8rem; letter-spacing: var(--ls-kicker); text-transform: uppercase; margin: 0 0 var(--space-lg); }
.ms-footer__brand picture { display: block; }
.ms-footer__brand img { width: auto; margin-bottom: var(--space-lg); }
.ms-footer__about { line-height: var(--lh-relaxed); }
.ms-footer__social { gap: var(--space-sm); margin-top: var(--space-xl); }
.ms-footer__social a { width: var(--tap-min); height: var(--tap-min); }
.ms-footer__col a, .ms-footer__text { padding: var(--space-xs) 0; }
.ms-footer__text { font-size: .96rem; }
.ms-footer__legal { display: inline-flex; flex-wrap: wrap; gap: var(--space-lg); }
/* Break long addresses at the @ rather than mid-word. */
.ms-footer__col .ms-footer__email { overflow-wrap: break-word; }
/* Bottom row: clear separation from the columns, compact space below. */
.ms-footer__bottom { margin-top: var(--space-3xl); padding: var(--space-xl) 0; gap: var(--space-md) var(--space-lg); }
/* Keep the right-aligned legal links clear of the fixed "Contact sales" dock (about 172px wide + 16px offset):
   reserve space on the right only when the dock reaches into the container. */
@media (min-width: 601px) {
  .ms-footer__bottom { padding-inline-end: clamp(0px, calc(184px + (var(--container-max) - 100vw) / 2), 184px); }
}
@media (max-width: 960px) {
  .ms-footer { padding-top: var(--space-section-tablet); }
  .ms-footer__grid { column-gap: var(--space-2xl); }
}
@media (max-width: 600px) {
  .ms-footer { padding-top: var(--space-section-mobile); }
  .ms-footer__grid { row-gap: var(--space-xl); }
  .ms-footer__bottom { margin-top: var(--space-2xl); flex-direction: column; }
}

/* ---------- Contact dock (site component, DS tokens) ---------- */
.contact-dock { position: fixed; right: var(--space-md); bottom: var(--space-md); z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-xs); }
.contact-dock__toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px;
  background: var(--color-primary); color: var(--text-on-accent); border: 0; border-radius: var(--radius-pill); cursor: pointer;
  font-family: var(--font-body); font-weight: var(--fw-bold); box-shadow: var(--shadow-cta);
  transition: background var(--dur-base), transform var(--dur-base);
}
.contact-dock__toggle:hover { background: var(--color-primary-hover); transform: var(--lift-sm); }
.contact-dock__toggle span { display: inline-flex; }
.contact-dock__icon-close { display: none !important; }
.contact-dock__toggle[aria-expanded="true"] .contact-dock__icon-open { display: none !important; }
.contact-dock__toggle[aria-expanded="true"] .contact-dock__icon-close { display: inline-flex !important; }
.contact-dock__panel { width: min(320px, calc(100vw - 32px)); background: var(--surface-raised); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-dock__title { padding: var(--space-md) var(--space-lg) var(--space-2xs); font-size: .72rem; font-weight: var(--fw-bold); letter-spacing: var(--ls-kicker); text-transform: uppercase; color: var(--text-label); }
.contact-dock__panel ul { list-style: none; margin: 0; padding: var(--space-2xs) var(--space-xs) var(--space-xs); }
.contact-dock__link { display: flex; align-items: center; gap: var(--space-sm); min-height: 48px; padding: 0 var(--space-sm); border-radius: var(--radius-sm); font-weight: var(--fw-semibold); color: var(--ms-choc-800); }
.contact-dock__link:hover { background: var(--bg-subtle); }
.contact-dock__link svg { color: var(--color-primary); flex: none; }
@media (max-width: 599px) {
  .contact-dock { right: var(--space-sm); bottom: var(--space-sm); }
  .contact-dock__toggle { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .contact-dock__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Products filter ---------- */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); margin-bottom: var(--space-xl); }
.filter__label { font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-label); }
.filter__chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chip { min-height: var(--tap-min); }
.chip[aria-pressed="true"] { background: var(--ms-choc-800); border-color: var(--ms-choc-800); color: var(--ms-cream-100); }
.filter__count { margin-left: auto; }
[data-filter-target] > [data-filtered="out"] { display: none; }

/* ---------- Review build markers (never in production) ---------- */
.review-banner { background: var(--warning-bg); color: var(--warning-text); border-bottom: 1px solid var(--warning); font-size: var(--fs-small); font-weight: var(--fw-semibold); padding: var(--space-xs) 0; }
.review-banner a { color: var(--ms-choc-800); text-decoration: underline; }
.pending {
  display: inline-flex; flex-direction: column; gap: var(--space-2xs); vertical-align: middle; max-width: 100%;
  background: var(--warning-bg); color: var(--warning-text); border: 1.5px dashed var(--warning);
  border-radius: var(--radius-sm); padding: 6px 12px; font-size: var(--fs-small); font-weight: var(--fw-regular);
  line-height: 1.4; text-align: start; letter-spacing: normal; text-transform: none; font-family: var(--font-body);
}
div.pending { display: flex; margin-block: var(--space-xs); }
.pending__tag { font-size: .7rem; font-weight: var(--fw-heavy); letter-spacing: var(--ls-label); text-transform: uppercase; }
.pending__value { color: var(--ms-choc-800); font-weight: var(--fw-semibold); }
.pending__note { font-size: .82rem; }
.pending--inline { padding: 2px 8px; }
.review-flag {
  position: absolute; left: var(--space-sm); top: var(--space-sm); z-index: 3;
  background: var(--warning-bg); color: var(--warning-text); border: 1.5px dashed var(--warning);
  border-radius: var(--radius-pill); font-size: .68rem; font-weight: var(--fw-heavy); letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px;
}
.review-flag--strong { background: var(--warning); color: var(--text-on-accent); border-color: var(--warning); }
.status { font-size: .72rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: var(--radius-pill); border: 1.5px solid currentColor; white-space: nowrap; }
.status--pending { color: var(--warning-text); }
.status--existing { color: var(--text-muted); }
.status--draft { color: var(--success-text); }
.status--approved { color: var(--success-text); white-space: normal; display: inline-block; line-height: 1.35; }

/* ---------- Enhanced Product Page Patterns ---------- */
.ms-gallery-badges { position: absolute; bottom: var(--space-sm); left: var(--space-sm); z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.ms-gallery-badge {
  background: rgba(44, 22, 13, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #ffffff; padding: 4px 12px; border-radius: var(--radius-pill); font-size: var(--fs-caption);
  font-weight: var(--fw-bold); border: 1px solid rgba(255, 255, 255, 0.25); box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  display: inline-flex; align-items: center; gap: 6px;
}
.ms-gallery-badge--gold { background: rgba(184, 111, 23, 0.92); border-color: rgba(255, 210, 74, 0.4); color: #ffffff; }
.ms-gallery-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ms-green-500); display: inline-block; }

.ms-format-picker { margin: var(--space-sm) 0 var(--space-md); }
.ms-format-picker__title { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--ls-kicker); color: var(--text-muted); font-weight: var(--fw-heavy); margin-bottom: var(--space-2xs); display: block; }
.ms-format-picker__options { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
.ms-format-opt {
  flex: 1; min-width: 140px; background: var(--surface-card); border: 2px solid var(--border-default);
  border-radius: var(--radius-md); padding: 10px 14px; text-align: left; cursor: pointer;
  transition: border-color var(--dur-fast) ease, background var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  display: flex; flex-direction: column; gap: 2px;
}
.ms-format-opt:hover { border-color: var(--ms-gold-500); background: var(--ms-cream-100); }
.ms-format-opt.is-active { border-color: var(--color-primary); background: var(--ms-red-50); box-shadow: 0 0 0 1px var(--color-primary); }
.ms-format-opt__badge { font-size: .68rem; font-weight: var(--fw-heavy); text-transform: uppercase; letter-spacing: .06em; color: var(--color-primary); }
.ms-format-opt__size { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-bold); color: var(--ms-choc-900); }
.ms-format-opt__pack { font-size: var(--fs-caption); color: var(--text-muted); }

.ms-trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--space-sm) 0 var(--space-xs); }
.ms-trust-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: var(--fw-bold); color: var(--ms-choc-800);
}
.ms-trust-badge svg { color: var(--ms-green-500); flex: none; }

/* Pillars Section */
.ms-section--pillars { padding: var(--space-2xl) 0; }
.ms-pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.ms-pillar-card {
  background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg);
  padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-xs);
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.ms-pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ms-line-strong); }
.ms-pillar-card__icon {
  width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--ms-gold-50);
  color: var(--ms-gold-600); display: grid; place-items: center; margin-bottom: 4px;
}
.ms-pillar-card__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: var(--fw-bold); color: var(--ms-choc-900); margin: 0; }
.ms-pillar-card__text { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.55; margin: 0; }

/* Sensory Profile Section */
.ms-section--sensory { padding: var(--space-3xl) 0; }
.sensory__split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-2xl); align-items: center; }
.sensory__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-md); }
.sensory__chip {
  background: var(--surface-card); border: 1px solid var(--ms-line-strong); padding: 6px 14px;
  border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--ms-choc-800);
}
.sensory__meters {
  display: flex; flex-direction: column; gap: var(--space-md); background: var(--surface-card);
  padding: var(--space-xl); border-radius: var(--radius-lg); border: 1px solid var(--border-default);
  box-shadow: var(--shadow-sm);
}
.ms-meter__header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.ms-meter__label { font-weight: var(--fw-bold); font-size: var(--fs-small); color: var(--ms-choc-900); }
.ms-meter__value { font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--ms-gold-600); font-size: var(--fs-body); }
.ms-meter__track { width: 100%; height: 9px; background: var(--ms-cream-200); border-radius: var(--radius-pill); overflow: hidden; }
.ms-meter__fill {
  height: 100%; background: linear-gradient(90deg, var(--ms-gold-500), var(--ms-red-500));
  border-radius: var(--radius-pill); transition: width 0.8s ease;
}
.ms-meter__fill--p88 { width: 88%; }
.ms-meter__fill--p76 { width: 76%; }
.ms-meter__fill--p96 { width: 96%; }
.ms-meter__fill--p72 { width: 72%; }
.ms-meter__fill--p94 { width: 94%; }
.ms-meter__fill--p90 { width: 90%; }
.ms-meter__fill--p92 { width: 92%; }

/* Temperature Guide Section */
.ms-section--temp-guide { padding: var(--space-3xl) 0; }
.ms-temp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.ms-temp-card {
  background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg);
  padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-xs);
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.ms-temp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ms-gold-500); }
.ms-temp-card__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2px; }
.ms-temp-card__step { font-size: .7rem; font-weight: var(--fw-heavy); text-transform: uppercase; letter-spacing: .08em; color: var(--color-primary); }
.ms-temp-card__degree { font-family: var(--font-display); font-size: 1.4rem; font-weight: var(--fw-heavy); color: var(--ms-choc-900); }
.ms-temp-card__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: var(--fw-bold); color: var(--ms-choc-900); margin: 0; }
.ms-temp-card__text { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.55; margin: 0; }
.ms-temp-card__badge {
  display: inline-flex; font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--ms-gold-600);
  background: var(--ms-cream-100); padding: 3px 10px; border-radius: var(--radius-pill); align-self: flex-start;
  margin-top: 4px; border: 1px solid var(--ms-line);
}

/* Applications Section */
.ms-section--applications { padding: var(--space-3xl) 0; }
.applications-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.ms-app-card {
  background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg);
  padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-xs);
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.ms-app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ms-gold-500); }
.ms-app-card__icon { width: 42px; height: 42px; border-radius: var(--radius-md); background: var(--ms-cream-100); color: var(--ms-choc-800); display: grid; place-items: center; margin-bottom: 2px; }
.ms-app-card__badge { font-size: .7rem; font-weight: var(--fw-heavy); text-transform: uppercase; letter-spacing: .08em; color: var(--ms-gold-600); }
.ms-app-card__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: var(--fw-bold); color: var(--ms-choc-900); margin: 0; }
.ms-app-card__text { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.55; margin: 0; }

/* B2B Estimator Section */
.ms-section--estimator { padding: var(--space-3xl) 0; }
.estimator-card {
  background: var(--surface-card); border: 2px solid var(--ms-line-strong); border-radius: var(--radius-xl);
  padding: var(--space-xl); box-shadow: var(--shadow-sm);
}
.estimator-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: start; }
.estimator-controls { display: flex; flex-direction: column; gap: var(--space-md); }
.estimator-field { display: flex; flex-direction: column; gap: 6px; }
.estimator-field label { font-weight: var(--fw-bold); font-size: var(--fs-small); color: var(--ms-choc-900); }
.estimator-presets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.estimator-preset-btn {
  padding: 6px 14px; background: var(--bg-subtle); border: 1px solid var(--border-default);
  border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: var(--fw-bold);
  color: var(--ms-choc-800); cursor: pointer; transition: all var(--dur-fast) ease;
}
.estimator-preset-btn:hover { background: var(--ms-gold-50); border-color: var(--ms-gold-500); color: var(--ms-gold-600); }
.estimator-preset-btn.is-active { background: var(--ms-choc-900); border-color: var(--ms-choc-900); color: var(--ms-cream-100); }
.estimator-results {
  background: var(--ms-cream-100); border: 1px solid var(--ms-line); border-radius: var(--radius-lg);
  padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md);
}
.estimator-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.estimator-stat { background: var(--surface-card); padding: var(--space-md); border-radius: var(--radius-md); border: 1px solid var(--border-default); }
.estimator-stat__label { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--ls-kicker); color: var(--text-muted); font-weight: var(--fw-heavy); margin-bottom: 4px; display: block; }
.estimator-stat__num { font-family: var(--font-display); font-size: 1.55rem; font-weight: var(--fw-heavy); color: var(--ms-choc-900); line-height: 1.1; display: block; }
.estimator-stat__unit { font-size: var(--fs-small); color: var(--text-muted); font-weight: var(--fw-regular); }
.estimator-cta { display: flex; flex-direction: column; gap: var(--space-xs); margin-top: var(--space-2xs); }

/* Compound Variants Showcase Section */
.ms-section--variants-showcase { padding: var(--space-3xl) 0; }
.ms-variant-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.ms-variant-card {
  background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-xl);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.ms-variant-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ms-gold-500); }
.ms-variant-card__media {
  position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ms-cream-100);
}
.ms-variant-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-fast) ease; }
.ms-variant-card:hover .ms-variant-card__media img { transform: scale(1.03); }
.ms-variant-card__badge {
  position: absolute; top: var(--space-xs); left: var(--space-xs); z-index: 2;
  padding: 4px 10px; border-radius: var(--radius-pill); font-size: var(--fs-caption);
  font-weight: var(--fw-bold); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ms-variant-card__badge--dark { background: rgba(30, 15, 10, 0.88); color: #ffffff; border: 1px solid rgba(255,255,255,0.25); }
.ms-variant-card__badge--milk { background: rgba(140, 75, 30, 0.9); color: #ffffff; border: 1px solid rgba(255,255,255,0.25); }
.ms-variant-card__badge--white { background: rgba(255, 255, 255, 0.92); color: var(--ms-choc-900); border: 1px solid var(--ms-line); }
.ms-variant-card__badge--retail { background: rgba(30, 15, 10, 0.88); color: #ffffff; border: 1px solid rgba(255,255,255,0.25); }
.ms-variant-card__badge--family { background: rgba(140, 75, 30, 0.9); color: #ffffff; border: 1px solid rgba(255,255,255,0.25); }
.ms-variant-card__badge--foodservice { background: rgba(197, 142, 60, 0.95); color: #1e0f0a; border: 1px solid rgba(255,255,255,0.4); }
.ms-variant-card__badge--luxury { background: rgba(14, 131, 66, 0.92); color: #ffffff; border: 1px solid rgba(255,255,255,0.25); }
.ms-variant-card__badge--snack { background: rgba(186, 24, 27, 0.92); color: #ffffff; border: 1px solid rgba(255,255,255,0.25); }
.ms-variant-card__badge--range { background: rgba(197, 142, 60, 0.95); color: #1e0f0a; border: 1px solid rgba(255,255,255,0.4); }
.ms-meter__fill--p82 { width: 82%; }
.ms-variant-card__body { padding: var(--space-lg); display: flex; flex-direction: column; flex: 1; gap: var(--space-xs); }
.ms-variant-card__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: var(--fw-bold); color: var(--ms-choc-900); margin: 0; }
.ms-variant-card__ar { font-size: 1.05rem; font-weight: var(--fw-bold); color: var(--color-primary); margin: -4px 0 2px; }
.ms-variant-card__desc { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.5; margin: 0; }
.ms-variant-card__features { list-style: none; padding: 0; margin: var(--space-xs) 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-small); color: var(--ms-choc-800); }
.ms-variant-card__features li { line-height: 1.45; }
.ms-variant-card__features strong { color: var(--ms-choc-900); }
.ms-variant-card__action { margin-top: auto; padding-top: var(--space-sm); }

/* Nutrition table */
.ms-nutrition-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.ms-nutrition-table th, .ms-nutrition-table td { padding: 9px 12px; border-bottom: 1px solid var(--border-subtle); text-align: left; }
.ms-nutrition-table td:last-child { text-align: right; font-weight: var(--fw-bold); color: var(--ms-choc-900); }

/* Responsive adjustments */
@media (max-width: 960px) {
  .ms-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .ms-variant-cards-grid { grid-template-columns: 1fr; }
  .ms-temp-grid { grid-template-columns: 1fr; }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
  .sensory__split { grid-template-columns: 1fr; gap: var(--space-xl); }
  .estimator-layout { grid-template-columns: 1fr; gap: var(--space-xl); }
}
@media (max-width: 600px) {
  .ms-pillars-grid { grid-template-columns: 1fr; }
  .applications-grid { grid-template-columns: 1fr; }
  .estimator-stats-grid { grid-template-columns: 1fr; }
}

/* ---------- Motion + print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .ms-prod-card:hover, .ms-card--interactive:hover, .ms-btn:hover { transform: none; }
  .ms-prod-card:hover .ms-prod-card__media img { transform: none; }
}
@media print {
  .ms-header, .ms-drawer, .ms-scrim, .contact-dock, .cta, .review-banner, .hero__toggle { display: none !important; }
}

/* ---------- Home: range spread (site-only pattern, DS tokens only) ----------
   One catalogue-style row per product: photo + sales sheet (key facts, quote CTA).
   Rows alternate image side on wide screens; stacked, image first, on small ones. */
.range-spread { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3xl); }
.range-row { display: grid; gap: var(--space-lg); align-items: center; }
.range-row__media {
  display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--surface-media); box-shadow: var(--shadow-md);
}
.range-row__media picture, .range-row__media img { display: block; width: 100%; height: 100%; }
.range-row__media img { object-fit: cover; object-position: center; }
.range-row__media .media-placeholder { height: 100%; }
.range-row__body { min-width: 0; }
.range-row__kicker { display: flex; align-items: baseline; gap: var(--space-sm); margin: 0 0 var(--space-xs); }
.range-row__index { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h3); line-height: 1; color: var(--text-label); }
.range-row__title { margin: 0; }
.range-row__sub { margin: var(--space-2xs) 0 0; font-weight: var(--fw-bold); color: var(--ms-choc-800); }
.range-row__summary { margin: var(--space-sm) 0 0; color: var(--text-muted); }
.range-row__facts { margin-top: var(--space-lg); }
.range-row__fact--wide { grid-column: 1 / -1; }
/* After the full-width sizes row, pair the remaining facts; a lone last fact spans the row. */
.range-row__fact--wide ~ .ms-key-facts__item:last-child:nth-child(odd) { grid-column: auto; }
.range-row__fact--wide ~ .ms-key-facts__item:last-child:nth-child(even) { grid-column: 1 / -1; }
.range-row__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); margin-top: var(--space-lg); }
@media (min-width: 961px) {
  /* Named areas: the photo column keeps the same 7fr width on every row; even rows only swap sides. */
  .range-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "media body"; gap: var(--space-2xl); }
  .range-row:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "body media"; }
  .range-row__media { grid-area: media; }
  .range-row__body { grid-area: body; }
}
@media (max-width: 768px) { .range-spread { gap: var(--space-2xl); } }
@media (prefers-reduced-motion: no-preference) {
  .range-row__media img { transition: transform var(--dur-slow) var(--ease-out); }
  .range-row:hover .range-row__media img { transform: scale(1.03); }
}

/* ---------- Home: inquiry paths + brief (site-only pattern, DS tokens only) ----------
   Four equal path cards (quote first, as the dark lead card), then a full-width brief
   with the checklist in two columns on wide screens. */
.inquiry-paths { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--grid-gap); }
.inquiry-paths > li { display: flex; min-width: 0; }
.inquiry-path { flex: 1; padding: var(--space-lg); color: inherit; }
.inquiry-path .ms-card__icon { margin-bottom: var(--space-xs); }
.inquiry-path h3, .inquiry-path p { margin: 0; }
.inquiry-path .ms-link { margin-top: auto; padding-top: var(--space-sm); }
.inquiry-brief { margin-top: var(--grid-gap); display: grid; gap: var(--space-md); }
.inquiry-brief__intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-xs); }
.inquiry-brief__intro h3, .inquiry-brief__intro p { margin: 0; }
.inquiry-brief__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-sm); }
/* Checklist as numbered tiles (DS card surface, border and radius). */
.inquiry-brief__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.inquiry-brief__list li {
  display: flex; align-items: flex-start; gap: var(--space-sm); padding: var(--space-sm) var(--space-md);
  background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md);
}
.inquiry-brief__num { flex: none; font-family: var(--font-display); font-weight: var(--fw-bold); line-height: 1.5; color: var(--text-label); }
@media (min-width: 601px) {
  .inquiry-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inquiry-brief__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 961px) {
  .inquiry-paths { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .inquiry-brief { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
}

/* ---------- Home: trade terms (light variant of DS .ms-stats, DS tokens only) ----------
   Values are computed from approved product specs (MOQ, lead time, Incoterms, formats). The
   section sits between two dark bands, so the stats strip uses the light card surface. */
.trade-terms { margin: 0; background: var(--border-default); border-color: var(--border-default); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.trade-terms .ms-stats__cell { background: var(--surface-card); text-align: start; gap: var(--space-xs); padding: var(--space-lg); }
.trade-terms .ms-stats__label { color: var(--text-label); order: -1; }
.trade-terms .ms-stats__value { color: var(--text-heading); }
.trade-terms__body { margin: 0; display: flex; flex-direction: column; gap: var(--space-2xs); }
.trade-terms__note { font-size: var(--fs-small); color: var(--text-muted); }
/* Trade claims: numbered two-column advantage list (spec-sheet rhythm, hairline separators).
   Approved claims read as a clean list; pending ones (review build only) get a compact flag. */
.trade-claims { margin-top: var(--space-2xl); }
.trade-claims__notice { margin: 0 0 var(--space-md); font-size: var(--fs-small); color: var(--warning-text); }
.trade-claims__list { list-style: none; margin: 0; padding: 0; display: grid; column-gap: var(--space-2xl); }
.trade-claim { display: flex; gap: var(--space-md); padding: var(--space-lg) 0; border-top: 1px solid var(--border-default); }
.trade-claim__num { flex: none; min-width: 2ch; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h3); line-height: 1.2; color: var(--text-label); }
.trade-claim__body { display: flex; flex-direction: column; gap: var(--space-2xs); min-width: 0; }
.trade-claim__body h3 { margin: 0; font-size: var(--fs-h4); }
.trade-claim__body p { margin: 0; color: var(--text-muted); }
/* Compact review flag: the shared .pending box becomes a pill + source line in this list. */
.trade-claim .pending { flex-direction: column; align-items: flex-start; gap: var(--space-2xs); margin-top: var(--space-xs); padding: 0; background: none; border: 0; }
.trade-claim .pending__tag { padding: 2px 10px; border: 1.5px dashed var(--warning); border-radius: var(--radius-pill); background: var(--warning-bg); }
.trade-claim .pending__note { color: var(--text-muted); }
@media (min-width: 769px) { .trade-claims__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .trade-terms { grid-template-columns: 1fr; } }

/* Long variant lists wrap inside the product card instead of running past its edge. */
.ms-prod-card__meta .ms-badge { white-space: normal; max-width: 100%; }

/* ---------- About page (site-only patterns, DS tokens only) ---------- */
/* Hero: editorial split on the lean (cream) page hero, with a two-photo collage. */
.about-hero { padding-bottom: var(--space-3xl); }
.about-hero__grid { display: grid; gap: var(--space-2xl); align-items: center; }
.about-hero > .about-hero__grid { display: grid; align-items: center; }
.about-hero__copy { display: flex; flex-direction: column; gap: var(--space-md); align-items: flex-start; min-width: 0; }
.about-hero__copy h1 { margin: 0; font-size: var(--fs-h1); max-width: 14ch; }
.about-hero__copy .ms-lead { margin: 0; color: var(--text-muted); max-width: 56ch; }
.about-hero__chips { list-style: none; margin: var(--space-xs) 0 0; padding: var(--space-md) 0 0; border-top: 1px solid var(--border-default); display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); width: 100%; }
.about-hero__chips li { display: inline-flex; align-items: center; gap: var(--space-xs); font-weight: var(--fw-bold); font-size: var(--fs-small); color: var(--text-heading); }
.about-hero__chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); }
.about-hero__media { position: relative; padding: 0 0 var(--space-2xl) var(--space-2xl); }
.about-hero__main picture, .about-hero__main img, .about-hero__inset picture, .about-hero__inset img { display: block; width: 100%; }
.about-hero__main img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-hero__inset { position: absolute; inset-inline-start: 0; bottom: 0; width: 46%; border: 6px solid var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; background: var(--surface-card); }
.about-hero__inset img { aspect-ratio: 1 / 1; object-fit: cover; }
.about-hero__tag { top: var(--space-lg); bottom: auto; inset-inline-start: auto; inset-inline-end: var(--space-md); }

/* Story: one lead statement, then labelled blocks. */
.about-story { display: grid; gap: var(--space-2xl); align-items: start; }
.about-story__intro { display: flex; flex-direction: column; gap: var(--space-md); align-items: flex-start; }
.about-story__statement { margin: 0; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h3); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); color: var(--text-heading); }
.about-story__body { display: grid; gap: 0; }
.about-story__block { padding: var(--space-lg) 0; border-top: 1px solid var(--border-default); }
.about-story__block:last-child { border-bottom: 1px solid var(--border-default); }
.about-story__label { margin: 0 0 var(--space-xs); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-label); font-family: var(--font-body); font-weight: var(--fw-bold); }
.about-story__label span { color: var(--color-primary); margin-inline-end: var(--space-2xs); }
.about-story__block p { margin: 0; font-size: var(--fs-body-lg); color: var(--text-body); line-height: var(--lh-relaxed); }

/* Factory: one cinematic panel (photo fades into the chocolate ground under the copy) + key figures. */
.about-factory__panel { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 480px; border-radius: var(--radius-lg); background: var(--ms-choc-950); border: 1px solid var(--border-on-dark); }
.about-factory__photo { position: absolute; inset-block: 0; inset-inline-end: 0; width: 62%; }
.about-factory__photo picture, .about-factory__photo img { display: block; width: 100%; height: 100%; }
.about-factory__photo img { object-fit: cover; object-position: center; }
/* Background video (desktop, motion allowed): fades in over the still photo once it plays; the gradient stays on top. */
.about-factory__photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--dur-slow) ease; }
.about-factory__photo.is-playing video { opacity: 1; }
.about-factory__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ms-choc-950) 0%, var(--ms-choc-950) 6%, rgba(28, 13, 6, .72) 26%, rgba(28, 13, 6, 0) 58%); pointer-events: none; }
.about-factory__copy { position: relative; z-index: 1; max-width: 580px; padding: var(--space-3xl); display: flex; flex-direction: column; gap: var(--space-md); align-items: flex-start; }
.about-factory__copy h2 { margin: 0; font-size: var(--fs-h2); line-height: var(--lh-heading); }
.about-factory__lead { margin: 0; font-size: var(--fs-body-lg); color: var(--ms-on-dark-1); }
.about-factory__copy .ms-hero__actions { margin-top: var(--space-xs); }
.about-factory__stats { margin: var(--space-lg) 0 0; }
.about-factory__stats .ms-stats__cell { text-align: start; gap: var(--space-xs); padding: var(--space-lg); }
.about-factory__stats .ms-stats__label { order: -1; color: var(--ms-honey-300); }
.about-factory__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: var(--space-md); border: 1.5px solid var(--ms-honey-300); border-radius: var(--radius-md); color: var(--ms-honey-300); }
.about-factory__icon svg { width: 24px; height: 24px; }
.about-factory__stat { margin: 0; display: flex; flex-direction: column; gap: var(--space-2xs); }
.about-factory__note { font-size: var(--fs-small); color: var(--ms-on-dark-2); }

/* Who we work with + trade terms. */
.about-partners { display: grid; gap: var(--space-xl); align-items: end; }
.about-partners__head { margin-bottom: 0; }
.about-audiences { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-audience { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-lg); background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md); }
.about-audience__num { font-family: var(--font-display); font-weight: var(--fw-heavy); color: var(--color-primary); font-size: var(--fs-small); }
.about-audience__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); color: var(--text-heading); line-height: var(--lh-snug); }
.about-terms { margin-top: var(--space-2xl); }
.about-terms__title { margin: 0 0 var(--space-md); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-label); font-family: var(--font-body); font-weight: var(--fw-bold); }

@media (min-width: 961px) {
  .about-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); }
  .about-story { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); }
  .about-story__statement { font-size: calc(var(--fs-h3) * 1.3); }
  .about-story__intro { position: sticky; top: calc(var(--header-h) + var(--space-lg)); }
  .about-partners { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); }
  .about-audiences { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .about-factory__panel { flex-direction: column; align-items: stretch; min-height: 0; }
  .about-factory__photo { position: relative; width: 100%; aspect-ratio: 16 / 10; }
  .about-factory__photo::after { background: linear-gradient(180deg, rgba(28, 13, 6, 0) 45%, var(--ms-choc-950) 100%); }
  .about-factory__copy { max-width: none; margin-top: -64px; padding: 0 var(--space-lg) var(--space-xl); }
}
@media (max-width: 600px) {
  .about-factory__stats { grid-template-columns: 1fr; }
  .about-hero__media { padding: 0 0 var(--space-xl) var(--space-xl); }
  .about-audience { padding: var(--space-md); }
}

/* ---------- Products page: trade catalogue (site-only patterns, DS tokens only) ---------- */
/* Hero: copy + a clickable index of the range. */
.catalog-hero { padding-bottom: var(--space-3xl); }
.catalog-hero > .catalog-hero__grid { display: grid; gap: var(--space-2xl); align-items: center; }
.catalog-hero__copy { display: flex; flex-direction: column; gap: var(--space-md); align-items: flex-start; min-width: 0; }
.catalog-hero__copy h1 { margin: 0; }
.catalog-hero__copy .ms-lead { margin: 0; color: var(--text-muted); max-width: 56ch; }
.catalog-index { background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-lg); min-width: 0; }
.catalog-index__title { margin: 0 0 var(--space-sm); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: var(--fw-bold); color: var(--text-label); }
.catalog-index__list { list-style: none; margin: 0; padding: 0; display: grid; }
.catalog-index__list li + li { border-top: 1px solid var(--border-default); }
.catalog-index__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; padding: var(--space-sm) var(--space-xs); color: inherit; text-decoration: none; border-radius: var(--radius-md); transition: background var(--dur-fast) ease; }
.catalog-index__item:hover { background: var(--bg-subtle); }
.catalog-index__thumb { width: 64px; height: 64px; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-media); }
.catalog-index__thumb picture, .catalog-index__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.catalog-index__text { display: grid; gap: 2px; min-width: 0; }
.catalog-index__num { font-family: var(--font-display); font-weight: var(--fw-heavy); font-size: var(--fs-small); color: var(--color-primary); }
.catalog-index__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); color: var(--text-heading); line-height: var(--lh-snug); }
.catalog-index__meta { font-size: var(--fs-small); color: var(--text-muted); }
.catalog-index__arrow { display: flex; color: var(--color-primary); transition: transform var(--dur-fast) ease; }
.catalog-index__item:hover .catalog-index__arrow { transform: translateY(2px) rotate(90deg); }

/* Catalogue sheets: photo mosaic + key facts, alternating sides. */
.catalog-sheet { scroll-margin-top: var(--header-h); }
.catalog-sheet__grid { display: grid; gap: var(--space-2xl); align-items: center; }
.catalog-sheet__gallery { display: grid; gap: var(--space-sm); grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
.catalog-sheet__main { position: relative; grid-column: 1 / -1; display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-media); box-shadow: var(--shadow-md); }
.catalog-sheet__main picture, .catalog-sheet__main img, .catalog-sheet__thumb picture, .catalog-sheet__thumb img { display: block; width: 100%; }
.catalog-sheet__main img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.catalog-sheet__main:hover img { transform: scale(1.03); }
.catalog-sheet__main .media-placeholder { aspect-ratio: 4 / 3; }
.catalog-sheet__thumb { position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-media); }
.catalog-sheet__thumb img { aspect-ratio: 3 / 2; object-fit: cover; }
.catalog-sheet__gallery--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-sheet__gallery--three .catalog-sheet__thumb img { aspect-ratio: 4 / 5; }
.catalog-sheet__label { position: absolute; inset-inline-start: var(--space-xs); bottom: var(--space-xs); padding: 4px 12px; border-radius: var(--radius-pill); background: var(--surface-card); color: var(--text-heading); font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-small); box-shadow: var(--shadow-sm); }
.catalog-sheet__body { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; min-width: 0; }
.catalog-sheet__index { font-family: var(--font-display); font-weight: var(--fw-heavy); font-size: var(--fs-small); letter-spacing: var(--ls-label); color: var(--color-primary); }
.catalog-sheet__name { margin: 0; font-size: var(--fs-h2); }
.catalog-sheet__sub { margin: 0; font-weight: var(--fw-bold); color: var(--ms-choc-800); }
.catalog-sheet__summary { margin: 0; color: var(--text-muted); font-size: var(--fs-body-lg); max-width: 60ch; }
.catalog-sheet__facts { margin: var(--space-xs) 0 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border-default); border: 1px solid var(--border-default); border-radius: var(--radius-md); overflow: hidden; }
.catalog-sheet__facts div { background: var(--surface-card); padding: var(--space-sm) var(--space-md); min-width: 0; }
.catalog-sheet__facts dt { font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: var(--fw-bold); color: var(--text-label); }
.catalog-sheet__facts dd { margin: var(--space-2xs) 0 0; font-weight: var(--fw-semibold); color: var(--text-heading); overflow-wrap: break-word; }
.catalog-sheet__channels { margin: 0; font-size: var(--fs-small); color: var(--text-muted); }
.catalog-sheet__channels span { font-weight: var(--fw-bold); color: var(--text-label); text-transform: uppercase; letter-spacing: var(--ls-label); font-size: var(--fs-label); margin-inline-end: var(--space-2xs); }
.catalog-sheet__body .ms-hero__actions { margin-top: var(--space-sm); }

@media (min-width: 961px) {
  .catalog-hero > .catalog-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); }
  .catalog-sheet__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); }
  .catalog-sheet--flip .catalog-sheet__gallery { order: 2; }
}
@media (max-width: 600px) {
  .catalog-index { padding: var(--space-sm); }
  .catalog-index__item { grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--space-sm); }
  .catalog-index__thumb { width: 56px; height: 56px; }
  .catalog-sheet__facts { grid-template-columns: 1fr; }
}

/* ---------- Export page (site-only patterns, DS tokens only) ---------- */
/* Hero: copy + an "Export at a glance" panel on the dark page hero. */
.export-hero { padding-bottom: var(--space-3xl); }
.export-hero > .export-hero__grid { display: grid; gap: var(--space-2xl); align-items: center; }
.export-hero__copy { display: flex; flex-direction: column; gap: var(--space-md); align-items: flex-start; min-width: 0; }
.export-hero__copy h1 { margin: 0; }
.export-hero__lead { margin: 0; color: var(--ms-on-dark-1); font-size: var(--fs-body-lg); max-width: 58ch; }
.export-glance { padding: var(--space-xl); border: 1px solid var(--border-on-dark); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); min-width: 0; }
.export-glance__title { margin: 0 0 var(--space-md); font-family: var(--font-body); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: var(--fw-bold); color: var(--ms-honey-300); }
.export-glance__list { margin: 0; display: grid; }
.export-glance__list div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-md); padding: var(--space-sm) 0; border-top: 1px solid var(--border-on-dark); }
.export-glance__list dt { font-size: var(--fs-small); color: var(--ms-on-dark-2); padding-top: 3px; }
.export-glance__list dd { margin: 0; display: grid; gap: 2px; }
.export-glance__value { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); color: var(--ms-cream-100); line-height: var(--lh-snug); }
.export-glance__note { font-size: var(--fs-small); color: var(--ms-on-dark-2); }

/* Markets: country tiles; the last tile invites other markets. */
.export-markets { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.export-market { display: flex; align-items: center; gap: var(--space-md); height: 100%; padding: var(--space-md) var(--space-lg); background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md); }
.export-market__code { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-subtle); border: 1.5px solid var(--border-strong); font-family: var(--font-display); font-weight: var(--fw-heavy); color: var(--color-primary); letter-spacing: .04em; }
.export-market__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); color: var(--text-heading); line-height: var(--lh-snug); }
.export-market--other { flex-wrap: wrap; text-decoration: none; border-style: dashed; border-color: var(--border-strong); transition: border-color var(--dur-fast) ease, background var(--dur-fast) ease; }
.export-market--other:hover { border-color: var(--color-primary); background: var(--bg-subtle); }
.export-market--other .export-market__code { color: var(--color-primary); }
.export-market__hint { display: inline-flex; align-items: center; gap: var(--space-2xs); width: 100%; padding-inline-start: calc(48px + var(--space-md)); margin-top: calc(var(--space-sm) * -1); font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--color-primary); }
.export-market__hint svg { width: 16px; height: 16px; }
.export-buyers { margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--border-default); display: grid; gap: var(--space-lg); align-items: center; }
.export-buyers__title { margin: 0 0 var(--space-xs); font-size: var(--fs-h3); }
.export-buyers__copy p { margin: 0; color: var(--text-muted); }
.export-buyers__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.export-buyers__list li { padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--bg-subtle); border: 1px solid var(--border-default); font-weight: var(--fw-bold); font-size: var(--fs-small); color: var(--text-heading); }

/* Logistics per product. */
.export-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--grid-gap); }
.export-line { padding: 0; overflow: hidden; gap: 0; display: flex; flex-direction: column; }
.export-line__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-media); }
.export-line__media picture, .export-line__media img { display: block; width: 100%; height: 100%; }
.export-line__media img { object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.export-line__media:hover img { transform: scale(1.03); }
.export-line__body { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-lg); flex: 1; }
.export-line__name { margin: 0; font-size: var(--fs-h3); }
.export-line__name a { color: inherit; text-decoration: none; }
.export-line__name a:hover { color: var(--color-primary); }
.export-line__facts { margin: var(--space-xs) 0 0; display: grid; }
.export-line__facts div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-sm); padding: var(--space-xs) 0; border-top: 1px solid var(--border-default); }
.export-line__facts dt { font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: var(--fw-bold); color: var(--text-label); padding-top: 3px; }
.export-line__facts dd { margin: 0; display: grid; gap: 2px; font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--text-heading); overflow-wrap: break-word; }
.export-line__actions { margin-top: auto; padding-top: var(--space-sm); display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }

/* Process timeline (shown once approved). */
.export-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); counter-reset: none; }
.export-step { position: relative; padding: var(--space-lg); background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md); }
.export-step__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); color: #fff; font-family: var(--font-display); font-weight: var(--fw-heavy); font-size: var(--fs-small); margin-bottom: var(--space-sm); }
.export-step h3 { margin: 0 0 var(--space-2xs); font-size: var(--fs-h4); }
.export-step p { margin: 0; color: var(--text-muted); font-size: var(--fs-small); }
.export-docs { margin-top: var(--space-xl); }
.export-docs h3 { margin: 0 0 var(--space-sm); }

/* Inquiry brief. */
.export-brief { display: grid; gap: var(--space-2xl); align-items: center; padding: var(--space-2xl); background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.export-brief__intro { display: flex; flex-direction: column; gap: var(--space-md); align-items: flex-start; }
.export-brief__intro h2 { margin: 0; font-size: var(--fs-h2); }
.export-brief__intro p { margin: 0; color: var(--text-muted); }
.export-brief__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.export-brief__list li { display: flex; gap: var(--space-md); align-items: flex-start; padding: var(--space-md); border-radius: var(--radius-md); background: var(--bg-subtle); color: var(--text-heading); font-weight: var(--fw-semibold); }
.export-brief__num { flex: none; font-family: var(--font-display); font-weight: var(--fw-heavy); color: var(--color-primary); }

@media (min-width: 769px) {
  .export-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .export-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .export-brief__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 961px) {
  .export-hero > .export-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); }
  .export-lines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .export-markets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .export-buyers { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); }
  .export-brief { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); padding: var(--space-3xl); }
  .export-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .export-markets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
  .export-market { flex-direction: column; align-items: flex-start; gap: var(--space-xs); padding: var(--space-md); }
  .export-market__code { width: 40px; height: 40px; font-size: var(--fs-small); }
  .export-market__name { font-size: var(--fs-body); }
  .export-market__hint { width: auto; padding-inline-start: 0; margin-top: 0; }
  .export-glance { padding: var(--space-lg); }
  .export-brief { padding: var(--space-lg); }
}


/* ---------- Review Checklist UI/UX Enhancements ---------- */
.page-checklist .ms-header {
  background: rgba(255, 250, 243, 0.98);
  border-bottom: 1px solid var(--border-default);
  box-shadow: 0 2px 10px rgba(30, 14, 7, 0.05);
}

.page-checklist .contact-dock {
  display: none !important;
}

.checklist-hero {
  padding-bottom: var(--space-xl);
}

.checklist-hero__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checklist-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-md);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* Dashboard Metric Cards */
.ms-checklist-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

@media (min-width: 641px) {
  .ms-checklist-dashboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
  }
}

@media (min-width: 992px) {
  .ms-checklist-dashboard {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.ms-checklist-metric {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast);
  user-select: none;
  text-align: start;
}

.ms-checklist-metric:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #542d1b;
}

.ms-checklist-metric.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary), var(--shadow-md);
  background: #fffdf9;
}

.metric__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
}

.metric__label {
  font-size: var(--fs-label);
  font-weight: var(--fw-heavy);
  text-transform: uppercase;
  letter-spacing: var(--ls-kicker);
  color: var(--text-muted);
}

.metric__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--text-heading);
  margin: var(--space-2xs) 0;
}

.ms-checklist-metric.is-needs-action .metric__num { color: var(--warning-text); }
.ms-checklist-metric.is-pending .metric__num { color: var(--ms-choc-800); }
.ms-checklist-metric.is-draft .metric__num { color: #854d0e; }
.ms-checklist-metric.is-existing .metric__num { color: var(--text-muted); }
.ms-checklist-metric.is-approved .metric__num { color: var(--success-text); }

.metric__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Sticky Toolbar & Filters */
.ms-checklist-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 250, 243, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-default);
  box-shadow: 0 4px 12px rgba(30, 14, 7, 0.04);
  padding: var(--space-sm) 0;
  margin-bottom: var(--space-xl);
}

.ms-checklist-toolbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.ms-filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ms-filter-btn {
  appearance: none;
  border: 1px solid var(--border-default);
  background: var(--surface-card);
  color: var(--ms-choc-800);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--dur-fast);
  white-space: nowrap;
}

.ms-filter-btn:hover {
  background: var(--ms-cream-100);
  border-color: #542d1b;
}

.ms-filter-btn.is-active {
  background: var(--ms-choc-800);
  color: #ffffff;
  border-color: var(--ms-choc-800);
  box-shadow: var(--shadow-sm);
}

.ms-filter-btn.is-active .ms-filter-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.ms-filter-btn.is-approved-tab.is-active {
  background: var(--success-text);
  border-color: var(--success-text);
}

.ms-filter-badge {
  font-size: 0.72rem;
  font-weight: var(--fw-heavy);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.ms-filter-badge.is-warning { background: var(--warning-bg); color: var(--warning-text); }
.ms-filter-badge.is-pending { background: #fef3c7; color: #92400e; }
.ms-filter-badge.is-draft { background: #fef9c3; color: #854d0e; }
.ms-filter-badge.is-existing { background: #f3f4f6; color: #4b5563; }
.ms-filter-badge.is-approved { background: #dcfce7; color: var(--success-text); }

/* Quick Search Box */
.ms-checklist-search {
  flex: 1 1 240px;
  max-width: 320px;
  min-width: 200px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  padding: 7px 32px 7px 36px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  background: var(--surface-card);
  color: var(--text-body);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(200, 22, 30, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}

.search-clear-btn:hover {
  color: var(--text-heading);
}

/* Quick Jump Links Bar */
.ms-checklist-jumps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-sm);
  margin-top: var(--space-xs);
  padding-top: var(--space-xs);
  border-top: 1px dashed var(--border-default);
  font-size: 0.82rem;
}

.jumps-label {
  font-weight: var(--fw-bold);
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: var(--ls-kicker);
}

.ms-jump-link {
  color: var(--ms-choc-700);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(63, 34, 20, 0.05);
  font-weight: var(--fw-semibold);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.ms-jump-link:hover {
  background: var(--ms-cream-100);
  color: var(--color-primary);
}

.ms-jump-link.is-approved {
  background: #dcfce7;
  color: var(--success-text);
  font-weight: var(--fw-bold);
}

.ms-jump-link.is-approved:hover {
  background: #bbf7d0;
}

.ms-checklist-count {
  margin-inline-start: auto;
  font-weight: var(--fw-bold);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Section Anchor Headings */
.checklist-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs);
  scroll-margin-top: calc(var(--header-h) + 120px);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xs);
}

.checklist-section-header h2 {
  margin: 0;
  scroll-margin-top: calc(var(--header-h) + 120px);
}

.section-jump-top {
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-jump-top:hover {
  color: var(--color-primary);
}

/* Empty filter state */
.checklist-empty-state {
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  background: var(--surface-card);
  border: 1.5px dashed var(--border-default);
  border-radius: var(--radius-lg);
  margin-block: var(--space-lg);
}

.checklist-empty-state h3 {
  margin: 0 0 var(--space-2xs);
  color: var(--text-heading);
}

.checklist-empty-state p {
  margin: 0 0 var(--space-md);
  color: var(--text-muted);
}

/* Row states */
tr[data-status].is-hidden {
  display: none !important;
}

.checklist-section.is-empty {
  display: none !important;
}

.checklist-content {
  padding-bottom: var(--space-4xl);
}

/* ---------- Enhanced 404 Page Patterns ---------- */
.not-found-hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
}

.not-found-hero__copy {
  max-width: 64ch;
}

.not-found-kicker {
  color: var(--ms-red-500);
}

.not-found-hero__badge {
  display: none;
}

@media (min-width: 861px) {
  .not-found-hero__badge {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
  }
}

.not-found-badge-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  overflow: hidden;
}

.not-found-badge-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ms-green-500) 0%, var(--ms-green-500) 33%, #ffffff 33%, #ffffff 66%, var(--ms-red-500) 66%, var(--ms-red-500) 100%);
}

.not-found-badge-card__code {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: var(--fw-heavy);
  line-height: 1;
  color: var(--ms-choc-800);
  letter-spacing: -0.02em;
}

.not-found-badge-card__label {
  font-size: var(--fs-label);
  font-weight: var(--fw-heavy);
  text-transform: uppercase;
  letter-spacing: var(--ls-kicker);
  color: var(--color-primary);
}

.not-found-badge-card__sub {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* Product cards grid */
.not-found-products {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (min-width: 641px) {
  .not-found-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .not-found-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.not-found-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}

.not-found-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.not-found-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ms-cream-100);
}

.not-found-card__media img,
.not-found-card__media picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) ease;
}

.not-found-card:hover .not-found-card__media img {
  transform: scale(1.03);
}

.not-found-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.not-found-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xs);
}

.not-found-card__tag {
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--ms-cream-100);
  color: var(--ms-choc-800);
}

.not-found-card__title {
  margin: 0 0 var(--space-2xs);
  font-size: var(--fs-h3);
}

.not-found-card__title a {
  color: var(--text-heading);
  text-decoration: none;
}

.not-found-card__title a:hover {
  color: var(--color-primary);
}

.not-found-card__sub {
  margin: 0 0 var(--space-xs);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  color: var(--color-primary);
}

.not-found-card__desc {
  margin: 0 0 var(--space-md);
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.not-found-card__actions {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

/* 4-way quick pathways */
.not-found-paths {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (min-width: 601px) {
  .not-found-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .not-found-paths {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.not-found-path {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.not-found-path h3 {
  margin: var(--space-xs) 0 var(--space-2xs);
  font-size: var(--fs-h4);
}

.not-found-path p {
  margin: 0 0 var(--space-md);
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.4;
}

.not-found-path .ms-link {
  margin-top: auto;
}

/* Contact bar */
.not-found-contact-bar {
  margin-top: var(--space-2xl);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
}

@media (min-width: 861px) {
  .not-found-contact-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.not-found-contact-bar__copy h3 {
  margin: var(--space-2xs) 0 4px;
}

.not-found-contact-bar__copy p {
  margin: 0;
  color: var(--text-muted);
  max-width: 50ch;
}

.not-found-contact-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* ---------- Enhanced Contact Page Patterns ---------- */
.contact-hero__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 80ch;
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin-top: var(--space-2xs);
}

.contact-hero__chips {
  list-style: none;
  margin: var(--space-xs) 0 0;
  padding: var(--space-md) 0 0;
  border-top: 1px solid var(--border-default);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-lg);
  width: 100%;
}

.contact-hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
  color: var(--text-heading);
}

.contact-hero__chips li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* Sidebar enhanced contact cards */
.contact-card {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: var(--surface-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur-base), transform var(--dur-base);
}

.contact-card:hover {
  box-shadow: var(--shadow-sm);
}

.contact-card--featured {
  border-color: rgba(202, 24, 31, 0.35);
  background: linear-gradient(to bottom, #fffdfb, var(--surface-card));
}

.contact-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--ms-cream-100);
  color: var(--ms-choc-800);
  flex-shrink: 0;
}

.contact-card__icon--wa {
  background: #e7f7ed;
  color: #0e8342;
}

.contact-card__icon--mail {
  background: #fdeeee;
  color: #ca181f;
}

.contact-card__label {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-label);
  font-weight: var(--fw-bold);
}

.contact-card__value {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-bold);
  color: var(--ms-choc-900);
  line-height: 1.3;
}

.contact-card__value a {
  color: var(--text-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: break-word;
}

.contact-card__desc {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.45;
}

.contact-card__action {
  margin-top: 4px;
}

/* 5-Step Process for Contact */
.contact-steps {
  list-style: none;
  margin: var(--space-xl) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 601px) {
  .contact-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 961px) {
  .contact-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1201px) {
  .contact-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.contact-step {
  position: relative;
  padding: var(--space-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.contact-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-heavy);
  font-size: var(--fs-small);
  margin-bottom: var(--space-sm);
}

.contact-step h3 {
  margin: 0 0 var(--space-2xs);
  font-size: var(--fs-h4);
}

.contact-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.45;
}

/* Sharjah Logistics Hub Grid */
.contact-hub-grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contact-hub-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  box-shadow: var(--shadow-xs);
}

.contact-hub-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--ms-cream-100);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2xs);
}

.contact-hub-card h3 {
  margin: 0;
  font-size: var(--fs-h4);
  color: var(--text-heading);
}

.contact-hub-card p {
  margin: 0;
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ Accordion */
.contact-faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 900px;
  margin: var(--space-xl) auto 0 0;
}

.contact-faq__item {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-fast);
}

.contact-faq__item[open] {
  border-color: var(--color-primary);
}

.contact-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-weight: var(--fw-bold);
  font-size: var(--fs-body-lg);
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.contact-faq__question::-webkit-details-marker {
  display: none;
}

.contact-faq__indicator {
  font-family: var(--font-display);
  font-weight: var(--fw-heavy);
  font-size: 1.4rem;
  color: var(--color-primary);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.contact-faq__item[open] .contact-faq__indicator {
  transform: rotate(45deg);
}

.contact-faq__answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.6;
}

.contact-faq__answer p {
  margin: 0;
}

