/* ODPCLI store — built from the "ODPCLI Redesign" Figma file (Catalog — Approach A design).
   Tokens mirror the PCLI / Primitives, Color, Spacing & Radius and Typography variable collections. */

:root {
  /* Primitives */
  --navy-900: #122026;
  --navy-700: #1e3640;
  --charcoal-900: #1c1f1f;
  --charcoal-800: #252a2b;
  --charcoal-600: #555a59;
  --charcoal-500: #6e6c66;
  --stone-400: #9a9892;
  --stone-300: #cfcdc7;
  --stone-200: #dddbd6;
  --stone-150: #e4e2dd;
  --stone-100: #f1f0ec;
  --stone-50: #f7f7f5;
  --white: #ffffff;
  --orange-500: #ff9706;
  --orange-600: #ff8c00;
  --orange-700: #ed9004;
  --orange-800: #a55700; /* was #b35f00 (4.0–4.3:1 on the tinted panels); now 4.6:1 or better on white, stone-50 and stone-100 */
  --teal-500: #00abc7;
  --teal-700: #0d9898;
  --teal-800: #0e6b72;
  --teal-100: #e3f4f6;
  --orange-100: #fff1dd;
  --green-100: #e6f2ec;
  --green-800: #1f6a4a;
  --red-100: #fbe9e7;
  --red-800: #8a2a1e;

  /* Color roles */
  --pcli-color-bg-page: var(--white);
  --pcli-color-bg-subtle: var(--stone-50);
  --pcli-color-bg-muted: var(--stone-100);
  --pcli-color-bg-inverse: var(--navy-900);
  --pcli-color-bg-inverse-strong: var(--charcoal-900);
  --pcli-color-bg-selected: var(--teal-100);
  --pcli-color-surface-card: var(--white);
  --pcli-color-surface-card-dark: var(--navy-700);
  --pcli-color-text-primary: var(--charcoal-800);
  --pcli-color-text-strong: var(--charcoal-900);
  --pcli-color-text-secondary: var(--charcoal-600);
  --pcli-color-text-tertiary: var(--charcoal-500);
  --pcli-color-text-inverse: var(--white);
  --pcli-color-text-eyebrow: var(--orange-800);
  --pcli-color-text-eyebrow-on-dark: var(--orange-700);
  --pcli-color-text-link: var(--teal-800);
  --pcli-color-text-on-primary: var(--charcoal-900); /* charcoal on orange: 7.1:1 (WCAG AA). White was 2.3:1 */
  --pcli-color-border-default: var(--stone-200);
  --pcli-color-border-subtle: var(--stone-150);
  --pcli-color-border-input: var(--stone-300);
  --pcli-color-border-strong: var(--charcoal-800);
  --pcli-color-border-focus: var(--teal-500);
  --pcli-color-action-primary: var(--orange-600);
  --pcli-color-action-primary-hover: var(--orange-700);
  --pcli-color-action-secondary: var(--charcoal-800);
  --pcli-color-action-selected: var(--teal-800);
  --pcli-color-accent-teal: var(--teal-500);
  --pcli-color-accent-orange: var(--orange-500);
  --pcli-color-icon-default: var(--charcoal-800);
  --pcli-color-icon-muted: var(--stone-400);
  /* Order status pills (Figma: PCLI / Color › status/*) */
  --pcli-color-status-received-bg: var(--teal-100);
  --pcli-color-status-received-text: var(--teal-800);
  --pcli-color-status-packed-bg: var(--orange-100);
  --pcli-color-status-packed-text: var(--orange-800);
  --pcli-color-status-shipped-bg: var(--green-100);
  --pcli-color-status-shipped-text: var(--green-800);
  --pcli-color-status-cancelled-bg: var(--red-100);
  --pcli-color-status-cancelled-text: var(--red-800);
  --pcli-color-status-neutral-bg: var(--stone-100);
  --pcli-color-status-neutral-text: var(--charcoal-600);

  /* Spacing & radius */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-64: 64px;
  --sp-80: 80px;
  --sp-120: 120px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Type */
  --pcli-font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pcli-font-mono: 'Montserrat', system-ui, sans-serif; /* Figma font/family/mono — counts, meta lines, CE weekdays */
  --pcli-font-serif-italic: Georgia, 'Times New Roman', serif;
  --fs-display: 64px;
  --fs-heading-xl: 50px;
  --fs-heading-l: 38px;
  --fs-heading-m: 28px;
  --fs-title-l: 19px;
  --fs-title-m: 16px;
  --fs-title-s: 14px;
  --fs-body-l: 18px;
  --fs-body-m: 15px;
  --fs-body-s: 13px;
  --fs-button-l: 16px;
  --fs-button-s: 14px;
  --fs-nav: 16px;
  --fs-eyebrow: 14px;
  --fs-overline: 11px;
  --fs-meta: 13px;

  --nav-bg: #0b0d0f;
  --nav-text: #f5f5f7;
  --gutter: var(--sp-120);
  --content: 1200px;
  --shadow-card: 0 1px 2px rgba(18, 32, 38, 0.06), 0 8px 24px -12px rgba(18, 32, 38, 0.18);
}
@media (max-width: 1280px) {
  :root {
    --gutter: 48px;
  }
}
@media (max-width: 720px) {
  :root {
    --gutter: 20px;
    --fs-heading-l: 30px;
    --fs-heading-m: 24px;
  }
} /* page headlines keep Heading XL (50px) on phones */

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--pcli-font-sans);
  font-size: var(--fs-body-m);
  line-height: 1.55;
  color: var(--pcli-color-text-primary);
  background: var(--pcli-color-bg-page);
}
/* Footer stays at the bottom of the window on short pages */
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > * {
  flex-shrink: 0;
}
#main {
  flex: 1 0 auto;
}
#main:focus {
  outline: none;
}
/* Skip link — first focusable thing on every page; hidden until focused */
.skip-link {
  position: absolute;
  left: var(--sp-16, 16px);
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--pcli-color-text-primary);
  font-size: var(--fs-button-s);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.skip-link:focus {
  top: 12px;
}
/* Hint under a field (e.g. no patient information) */
.field-note {
  margin: 6px 0 0;
  font-size: var(--fs-body-s);
  line-height: 1.5;
  color: var(--pcli-color-text-tertiary);
}
a {
  color: var(--pcli-color-text-link);
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}
p {
  margin: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.wrap {
  padding-inline: var(--gutter);
}
.inner {
  max-width: var(--content);
  margin-inline: auto;
  box-sizing: content-box;
} /* padded sections (.review, .page-title…) keep 1200px of content at 1440, like the Figma frames */
:focus-visible {
  outline: 2px solid var(--pcli-color-border-focus);
  outline-offset: 2px;
}

/* ---- Type styles (PCLI/…) ---- */
.t-heading-xl {
  font-size: var(--fs-heading-xl);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
@media (max-width: 720px) {
  /* 50px on most phones; eases down on narrow ones so a long single word ("Comanagement") still fits */
  .t-heading-xl {
    font-size: clamp(36px, 12.4vw, var(--fs-heading-xl));
    overflow-wrap: break-word;
  }
}
.t-heading-l {
  font-size: var(--fs-heading-l);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.t-heading-m {
  font-size: var(--fs-heading-m);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.t-title-l {
  font-size: var(--fs-title-l);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.t-title-m {
  font-size: var(--fs-title-m);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.t-title-s {
  font-size: var(--fs-title-s);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.t-body-l {
  font-size: var(--fs-body-l);
  line-height: 1.6;
}
.t-body-m {
  font-size: var(--fs-body-m);
  line-height: 1.55;
}
.t-body-s {
  font-size: var(--fs-body-s);
  line-height: 1.5;
}
.t-meta {
  font-family: var(--pcli-font-mono);
  font-size: var(--fs-meta);
  line-height: 1.4;
  color: var(--pcli-color-text-tertiary);
}
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pcli-color-text-eyebrow);
}
.eyebrow--on-dark {
  color: var(--pcli-color-text-eyebrow-on-dark);
}
.overline {
  font-size: var(--fs-overline);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pcli-color-text-tertiary);
}
.text-secondary {
  color: var(--pcli-color-text-secondary);
}
.text-tertiary {
  color: var(--pcli-color-text-tertiary);
}
.link {
  font-size: var(--fs-button-s);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--pcli-color-text-link);
  text-decoration: none;
}
.link--l {
  font-size: var(--fs-button-l);
  letter-spacing: -0.02em;
}
.link:hover {
  text-decoration: underline;
}

/* ---- Buttons (Button: Primary / Secondary / Outline / Ghost × L / S) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 var(--sp-24);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-size: var(--fs-button-l);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.btn--s {
  height: 36px;
  padding: 0 var(--sp-16);
  font-size: var(--fs-button-s);
  letter-spacing: -0.01em;
}
.btn--primary {
  background: var(--pcli-color-action-primary);
  color: var(--pcli-color-text-on-primary);
}
.btn--primary:hover {
  background: var(--pcli-color-action-primary-hover);
}
.btn--secondary {
  background: var(--pcli-color-action-secondary);
  color: var(--pcli-color-text-inverse);
}
.btn--outline {
  border-color: var(--pcli-color-border-strong);
  color: var(--pcli-color-text-primary);
}
.btn--outline:hover {
  background: var(--stone-100);
}
.btn--outline-inverse {
  border-color: var(--white);
  color: var(--white);
}
.btn--outline-inverse:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn--ghost {
  color: var(--pcli-color-text-link);
}
.btn--ghost:hover {
  background: var(--stone-100);
}
.btn--block {
  width: 100%;
}
.btn:disabled,
.btn[aria-disabled='true'] {
  opacity: 0.4;
  cursor: default;
}
/* Download button (Figma: Download button, Size S/L) — ghost with icon, text/link */
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  height: 36px;
  padding: 0 var(--sp-16);
  border-radius: var(--r-sm);
  color: var(--pcli-color-text-link);
  font-size: var(--fs-button-s);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.btn-download svg {
  flex: 0 0 16px;
}
.btn-download:hover {
  background: var(--pcli-color-bg-muted);
}
.btn-download--l {
  height: 48px;
  padding: 0 var(--sp-24);
  font-size: var(--fs-button-l);
  letter-spacing: -0.02em;
}
.btn-download--l svg {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}
.product-row .downloads {
  margin-top: 2px;
}
/* Phones: long button and download labels wrap instead of pushing the page sideways */
.btn,
.btn-download {
  max-width: 100%;
}
@media (max-width: 720px) {
  .btn {
    height: auto;
    min-height: 48px;
    padding-block: 12px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }
  .btn--s {
    min-height: 36px;
    padding-block: 8px;
  }
  .btn-download {
    height: auto;
    min-height: 36px;
    padding-block: 8px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
  }
  .btn-download--l {
    min-height: 48px;
    padding-block: 12px;
  }
}
/* Web link button (e.g. "Refer online") before the downloads — Downloads & links → Web link */
.downloads {
  align-items: center;
}
.btn-weblink {
  gap: 6px;
  margin-right: 8px;
}
.btn-weblink svg {
  flex: none;
}

/* ---- Chips, badges ---- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 var(--sp-16);
  border: 1px solid var(--pcli-color-border-input);
  border-radius: var(--r-pill);
  background: var(--pcli-color-bg-page);
  color: var(--pcli-color-text-primary);
  font-size: var(--fs-body-s);
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--pcli-color-border-strong);
}
.chip--active {
  background: var(--pcli-color-bg-inverse);
  border-color: var(--pcli-color-bg-inverse);
  color: var(--pcli-color-text-inverse);
}
.chip__x {
  font-size: var(--fs-title-s);
  font-weight: 600;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 var(--sp-8);
  border-radius: var(--r-pill);
  background: var(--pcli-color-action-selected);
  color: var(--pcli-color-text-inverse);
  font-size: var(--fs-body-s);
  line-height: 1;
}
.badge--new {
  height: 16px;
  padding: 0 6px;
  border-radius: 3px;
  background: var(--orange-500);
  color: var(--pcli-color-text-on-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.badge--tag {
  height: 28px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--stone-100);
  color: var(--pcli-color-text-secondary);
  font-size: var(--fs-body-s);
}
.badge--office {
  background: var(--teal-100);
  color: var(--teal-800);
}

/* ---- Fields ---- */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label,
.field .label {
  font-size: var(--fs-title-s);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.field .optional {
  font-weight: 400;
  color: var(--pcli-color-text-tertiary);
  font-size: var(--fs-body-s);
  margin-left: 6px;
}
.input {
  width: 100%;
  height: 44px;
  padding: 0 var(--sp-16);
  border: 1px solid var(--pcli-color-border-strong);
  border-radius: var(--r-sm);
  background: var(--pcli-color-bg-page);
  font: inherit;
  font-size: var(--fs-body-m);
  color: var(--pcli-color-text-primary);
}
.input:focus {
  outline: none;
  border-color: var(--pcli-color-border-focus);
  box-shadow: 0 0 0 3px rgba(0, 171, 199, 0.2);
}
textarea.input {
  height: auto;
  min-height: 120px;
  padding: var(--sp-16);
  line-height: 1.55;
  resize: vertical;
}
.input--light {
  border-color: var(--pcli-color-border-input);
}
.select {
  position: relative;
}
.select select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.select::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: var(--fs-title-s);
  font-weight: 600;
}
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-body-s);
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--pcli-color-action-selected);
}
.form-error {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: #fbe9e7;
  color: #8a2a1e;
  font-size: var(--fs-body-s);
}
.form-error ul {
  margin: 0;
  padding-left: 18px;
}
.form-notice {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: 16px;
  line-height: 1.5;
}
.form-notice p {
  margin: 0;
}
.form-notice p + p {
  margin-top: 6px;
}
.form-notice a {
  color: inherit;
  text-decoration: underline;
}
.flash {
  padding: 12px var(--gutter);
  font-size: var(--fs-body-s);
}
.flash--notice {
  background: var(--teal-100);
  color: var(--teal-800);
}
.flash--error {
  background: #fbe9e7;
  color: #8a2a1e;
}

/* ---- Nav / Utility row ---- */
.nav-utility {
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 54px;
}
.nav-utility__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: var(--fs-body-s);
}
.nav-utility a {
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-utility__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-utility__links a {
  color: #dfdfdf;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.nav-utility__links a:hover {
  color: #fff;
}
/* Utility dropdown — Resources (links: Globals → Navigation → Resources). Opens on hover, focus or click. */
.nav-utility {
  position: relative;
  z-index: 50;
}
.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
  height: 54px;
}
.nav-drop__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #dfdfdf;
  font: inherit;
  font-size: inherit;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.nav-drop__toggle:hover,
.nav-drop.is-open .nav-drop__toggle,
.nav-drop:hover .nav-drop__toggle {
  color: #fff;
}
.nav-drop__toggle svg {
  transition: transform 0.2s ease;
}
.nav-drop.is-open .nav-drop__toggle svg,
.nav-drop:hover .nav-drop__toggle svg {
  transform: rotate(180deg);
}
.nav-drop__menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0.18s;
}
.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu,
.nav-drop.is-open .nav-drop__menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.nav-drop.is-closed .nav-drop__menu {
  opacity: 0;
  visibility: hidden;
}
.nav-utility__links .nav-drop__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  color: var(--pcli-color-text-primary);
  font-size: var(--fs-body-m);
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-utility__links .nav-drop__menu a:hover,
.nav-utility__links .nav-drop__menu a:focus-visible {
  background: var(--pcli-color-bg-subtle);
  color: var(--pcli-color-text-primary);
  outline: none;
}
.nav-utility__links .nav-drop__menu a[aria-current] {
  color: var(--pcli-color-text-link);
  font-weight: 600;
}
/* Same dropdown on the main nav's Resources item: chip look, menu under the bar */
.nav-drop--main {
  height: 100%;
  align-items: flex-end;
}
.nav-drop--main .nav-drop__toggle {
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: -0.06em;
  text-transform: none;
  color: var(--nav-text);
  cursor: pointer;
}
.nav-drop--main .nav-drop__toggle svg {
  width: 10px;
  height: 10px;
  margin-left: 2px;
}
.nav-drop--main:hover .nav-chip::after,
.nav-drop--main.is-open .nav-chip::after {
  background: var(--teal-500);
}
.nav-drop--main .nav-drop__menu {
  top: 100%;
  left: -10px;
  transform: translateY(-6px);
  border-radius: 0 0 var(--r-md) var(--r-md);
}
.nav-drop--main:hover .nav-drop__menu,
.nav-drop--main:focus-within .nav-drop__menu,
.nav-drop--main.is-open .nav-drop__menu {
  transform: none;
}
.nav-drop--main .nav-drop__menu {
  list-style: none;
}
.nav-drop--main .nav-drop__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  color: var(--pcli-color-text-primary);
  font-size: var(--fs-body-m);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-drop--main .nav-drop__menu a:hover,
.nav-drop--main .nav-drop__menu a:focus-visible {
  background: var(--pcli-color-bg-subtle);
  outline: none;
}
.nav-drop--main .nav-drop__menu a[aria-current] {
  color: var(--pcli-color-text-link);
  font-weight: 600;
}
.btn--referral {
  height: auto;
  padding: 10px 18px;
  background: var(--orange-500);
  color: var(--pcli-color-text-on-primary);
  font-size: var(--fs-button-s);
  letter-spacing: 0;
  border-radius: var(--r-sm);
}

/* ---- Nav / Primary (sticky, dark) ---- */
.nav-primary {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nav-bg);
  height: 84px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-primary__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-primary__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
}
.pcli-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.pcli-mark img {
  width: 147px;
  height: 52px;
} /* 150% of the Figma 98×35 mark */
.pcli-mark__tag {
  font-size: 19.5px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--orange-500);
  font-weight: 600;
  max-width: 126px;
}
.pcli-mark__tag em {
  font-family: 'Lora', var(--pcli-font-serif-italic);
  font-style: italic;
  text-transform: none;
  font-weight: 400;
} /* Lora Italic, as in the Figma PCLI_mark */
.pcli-mark__tag strong {
  font-weight: 700;
}
.nav-primary__divider {
  width: 1px;
  height: 83px;
  background: rgba(255, 255, 255, 0.22);
}
.nav-primary__links {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-chip {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 40px;
  padding: 0 4px;
  color: var(--nav-text);
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: -0.06em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-chip__label {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 18px;
}
.nav-chip__label svg {
  width: 14px;
  height: 12px;
}
.nav-chip::after {
  content: '';
  height: 2px;
  width: 100%;
  background: transparent;
}
.nav-chip.is-active::after,
.nav-chip:hover::after {
  background: var(--teal-500);
}
.nav-primary__cta {
  margin-left: auto;
}
.btn--new-doctors {
  height: 40px;
  padding: 10px 16px;
  border: 1.5px solid #fff;
  border-radius: var(--r-sm);
  color: #ff9706;
  font-size: var(--fs-button-s);
  letter-spacing: 0;
} /* Figma: Button / New Referring Doctors (72:6) — white outline, orange label, no badge */
.btn--new-doctors:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffb35c;
}
/* Desktop links give way to the mobile menu at 1390px — below that they run into the logo (web/css/mobile-nav.css) */
@media (max-width: 1390px) {
  .nav-primary__links,
  .nav-primary__divider {
    display: none;
  }
}
@media (max-width: 720px) {
  .nav-utility {
    display: none;
  }
  .nav-primary {
    height: 64px;
  }
  .nav-primary__cta {
    display: none;
  }
}

/* ---- Catalog bar ---- */
.catalog-bar {
  padding: var(--sp-12) var(--gutter);
} /* Figma: no fill or rule — sits on the page */
.catalog-bar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.catalog-bar--order .catalog-bar__inner {
  justify-content: flex-end;
}
.breadcrumb {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 39px; /* the Your order button's height, so the bar doesn't change height when it's missing */
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--pcli-color-text-link);
  white-space: nowrap;
  overflow: hidden;
}
.breadcrumb > a,
.breadcrumb > span:not(.breadcrumb__sep) {
  padding: 2px 4px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb__sep {
  display: inline-flex;
  flex: none;
  margin: 0 -1px;
  color: rgba(0, 0, 0, 0.25);
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.catalog-bar__account {
  font-size: var(--fs-button-s);
  font-weight: 600;
  color: var(--pcli-color-text-primary);
  text-decoration: none;
}
.catalog-bar__account:hover {
  text-decoration: underline;
}
.order-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 16px;
  border: 1.5px solid var(--pcli-color-border-strong);
  border-radius: var(--r-sm);
  font-size: var(--fs-button-s);
  font-weight: 600;
  color: var(--pcli-color-text-primary);
  text-decoration: none;
  background: none;
  cursor: pointer;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--pcli-color-bg-inverse);
  color: #fff;
  padding: var(--sp-80) var(--gutter);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(0, 171, 199, 0.18), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(255, 151, 6, 0.12), transparent 60%), var(--pcli-color-bg-inverse);
}
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.hero__inner {
  position: relative;
  display: flex;
  gap: var(--sp-80);
  align-items: flex-end;
  flex-wrap: wrap;
}
.hero__copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero__copy p.t-body-l {
  max-width: 640px;
}
.hero--short {
  padding-block: var(--sp-80);
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  max-width: 640px;
  padding: 0 var(--sp-20);
  border: 1.5px solid #fff;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--pcli-color-text-tertiary);
}
.search__glyph {
  font-size: var(--fs-heading-m);
  line-height: 1;
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--fs-body-m);
  color: var(--pcli-color-text-primary);
}
.search input::placeholder {
  color: var(--pcli-color-text-tertiary);
}
.search input:focus {
  outline: none;
}
.ordering-for {
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--sp-24);
  border-radius: var(--r-lg);
  background: var(--pcli-color-surface-card-dark);
}
.ordering-for form {
  margin: 0;
}
.office-select {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 var(--sp-16);
  border: 1px solid var(--pcli-color-border-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--pcli-color-text-primary);
  position: relative;
}
.office-select__prefix {
  font-size: var(--fs-body-s);
  color: var(--pcli-color-text-secondary);
  white-space: nowrap;
}
.office-select select {
  flex: 1;
  min-width: 0;
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--fs-title-s);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--pcli-color-text-primary);
  padding-right: 20px;
  cursor: pointer;
}
.office-select select:focus {
  outline: none;
}
.office-select::after {
  content: '▾';
  position: absolute;
  right: 14px;
  font-size: var(--fs-title-s);
  font-weight: 600;
  pointer-events: none;
}
@media (max-width: 900px) {
  .ordering-for {
    flex-basis: 100%;
  }
}

/* ---- Order again ---- */
.order-again {
  background: var(--pcli-color-bg-subtle);
  padding: var(--sp-24) var(--gutter);
}
.order-again__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.order-again__chips {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.order-again__chips::-webkit-scrollbar {
  display: none;
}
.order-again form {
  margin: 0;
  margin-left: auto;
}
.order-again button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

/* ---- Category groups ---- */
.groups {
  padding: var(--sp-48) var(--gutter);
}
.group {
  display: flex;
  gap: 40px;
  padding: var(--sp-40) 0;
  border-top: 1px solid var(--pcli-color-border-default);
}
.group__head {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.group__tiles {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 200px));
  gap: 20px;
}
@media (max-width: 900px) {
  .group {
    flex-direction: column;
    gap: 24px;
  }
  .group__head {
    flex-basis: auto;
  }
  .group__tiles {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--sp-12) var(--sp-12) var(--sp-20);
  border: 1px solid var(--pcli-color-border-default);
  border-radius: var(--r-lg);
  background: var(--pcli-color-surface-card);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.tile:hover {
  border-color: var(--pcli-color-border-strong);
  box-shadow: var(--shadow-card);
}
.tile__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 var(--sp-4);
}
.thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--stone-100);
  aspect-ratio: 266/150;
}
.thumb--portrait {
  aspect-ratio: 130/124;
}
.thumb--tall {
  aspect-ratio: 560/640;
}
.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

/* ---- Utility cards / help ---- */
.utility-cards {
  display: flex;
  gap: 20px;
  padding: 0 var(--gutter) var(--sp-80);
  flex-wrap: wrap;
}
.help-card {
  flex: 1 1 300px;
  display: flex;
  gap: 16px;
  padding: var(--sp-24);
  border: 1px solid var(--pcli-color-border-default);
  border-radius: var(--r-lg);
  background: var(--pcli-color-surface-card);
}
.help-card__icon {
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--pcli-color-text-link);
}
/* Only one card under the categories: 590px wide, centred (desktop; phones stay full width) */
@media (min-width: 721px) {
  .utility-cards:has(> .help-card:only-child) {
    justify-content: center;
  }
  .help-card:only-child {
    flex: 0 1 590px;
  }
}
.help-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* ---- Shop by procedure ---- */
/* Collapsed by default (native <details>); opens automatically when a procedure filter is active */
/* Shop by procedure — Figma: Catalog — Design system › Procedure strip (light), Procedure tile Theme=Light.
   A stone band under the catalog bar: ▾ Shop by procedure — hint; opens to a white tile per procedure. */
.procedures {
  background: var(--pcli-color-bg-muted);
  color: var(--pcli-color-text-primary);
  padding: 0 var(--gutter);
}
.procedures__head {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: var(--sp-16) 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.procedures__head::-webkit-details-marker {
  display: none;
}
.procedures__chevron {
  display: inline-flex;
  align-items: center;
  width: 14px;
  height: 12px;
  color: var(--pcli-color-surface-card-dark);
  transition: transform 0.2s ease;
}
.procedures__chevron svg {
  width: 14px;
  height: 7px;
}
.procedures[open] .procedures__chevron {
  transform: rotate(180deg);
}
.procedures__title {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--pcli-color-text-eyebrow);
}
.procedures__hint {
  margin: 0 0 0 -2px; /* 4px after the title (Figma) */
  line-height: 20px; /* closed band 16 + 20 + 16 = 52, as in Figma */
  color: var(--pcli-color-text-strong);
}
.procedures__head:hover .procedures__title {
  text-decoration: underline;
}
.procedures > div.inner {
  padding-bottom: var(--sp-24);
} /* the tiles' wrapper — not the summary, which is also .inner (that made the closed band 62px instead of 52) */
.procedures__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.proc-tile {
  display: flex;
  align-items: center;
  height: 80px;
  padding: var(--sp-12) var(--sp-16) var(--sp-12) var(--sp-12);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  background: #fff;
  color: var(--pcli-color-text-primary);
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.proc-tile:hover,
.proc-tile.is-active {
  background: var(--pcli-color-bg-selected);
  border-color: var(--pcli-color-action-selected);
}
.proc-tile.is-active .proc-tile__label {
  color: var(--pcli-color-text-link);
}
.proc-tile__label {
  display: block;
  font-size: var(--fs-title-s);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.proc-tile__count {
  display: block;
  font-family: var(--pcli-font-mono);
  font-size: var(--fs-meta);
  line-height: 1.4;
  color: var(--pcli-color-text-secondary);
}

/* ---- Page title row ---- */
.page-title {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  padding: var(--sp-48) var(--gutter) var(--sp-32);
  flex-wrap: wrap;
}
.page-title__copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-title .office-select {
  flex: 0 0 280px;
}
.steps {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-title-m);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pcli-color-bg-inverse);
  color: #fff;
  font-size: var(--fs-title-s);
}
.step--todo {
  font-weight: 400;
  color: var(--pcli-color-text-tertiary);
  font-size: var(--fs-body-m);
}
.step--todo .step__n {
  background: none;
  border: 1.5px solid var(--pcli-color-border-input);
  color: var(--pcli-color-text-tertiary);
}
.step--done .step__n {
  background: var(--pcli-color-action-selected);
}

/* ---- Results toolbar + body ---- */
.toolbar__sort {
  font-size: var(--fs-body-s);
  color: var(--pcli-color-text-secondary);
}
.view-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--pcli-color-border-input);
  border-radius: 4px;
  background: #fff;
}
.view-toggle a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 3px;
  font-size: var(--fs-button-s);
  font-weight: 600;
  color: var(--pcli-color-text-secondary);
  text-decoration: none;
}
.view-toggle a.is-active {
  background: var(--pcli-color-bg-inverse);
  color: #fff;
}
.view-toggle svg {
  width: 16px;
  height: 16px;
}
/* Filters / Clear all (over the filter column) · Sort and List / Grid (over the results) — Figma 864:542 */
.results-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 0 var(--gutter) 10px;
}
/* Figma: a keyline 10px under the row, across the full content width (filters column through the List / Grid toggle) */
.results-head::after {
  content: '';
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: var(--pcli-color-border-subtle);
}
.results-head__filters {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 0;
}
.results-head__title {
  flex: 1;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.results-head__filters .link {
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.results-head__spacer {
  flex: 1;
}
.results-head .toolbar__sort {
  padding-bottom: 0;
  line-height: 20px;
} /* Sort and the toggle stay level with Filters / Clear all above the keyline */
.results-layout {
  display: flex;
  gap: 40px;
  padding: 0 var(--gutter) var(--sp-64);
}
/* the first section (Categories) sits right under Filters / Clear all, without a rule */
.filters > details:first-child > .filter-section {
  border-top: 0;
}
.filters-box {
  flex: 0 0 260px;
  min-width: 0;
}
.filters-toggle,
.filters__clear {
  display: none;
}
.results {
  flex: 1;
  min-width: 0;
}
@media (max-width: 900px) {
  .results-head {
    flex-wrap: wrap;
  }
  .results-head__filters {
    order: 1;
    flex: 1 1 100%;
  }
  .results-layout {
    flex-direction: column;
    gap: 24px;
  }
  .filters-box {
    flex-basis: auto;
  }
  /* Catalog / Filters toggle (Figma, Design system): one bordered box — the Filters bar, and the filters under it when open */
  html.filters-js .results-head__filters {
    display: none;
  }
  html.filters-js .filters-box {
    border: 1px solid var(--pcli-color-border-default);
    border-radius: 10px;
    background: #fff;
  }
  html.filters-js .filters-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: none;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--pcli-color-text-primary);
    text-align: left;
    cursor: pointer;
  }
  .filters-toggle__icon {
    flex: none;
    color: var(--pcli-color-text-secondary);
  }
  .filters-toggle__count {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--pcli-color-action-selected);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
  }
  .filters-toggle__summary {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 400;
    color: var(--pcli-color-text-secondary);
  }
  .filters-toggle__label + .filters-toggle__chev {
    margin-left: auto;
  }
  .filters-toggle__chev {
    flex: none;
    color: var(--pcli-color-text-secondary);
    transition: transform 0.2s;
  }
  .filters-box.is-open .filters-toggle__chev {
    transform: rotate(180deg);
  }
  .filters-toggle:focus-visible {
    outline: 2px solid var(--pcli-color-border-focus);
    outline-offset: -2px;
  }
  html.filters-js .filters-box:not(.is-open) .filters {
    display: none;
  }
  html.filters-js .filters {
    padding: 0 4px 8px;
    border-top: 1px solid var(--pcli-color-border-subtle);
  }
  html.filters-js .filters > details:first-child > .filter-section {
    border-top: 0;
  }
  html.filters-js .filters__clear {
    display: block;
    padding: 12px 12px 4px;
    font-size: 14px;
    font-weight: 600;
  }
}
.filters__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 16px;
}
.filters__head .t-title-l {
  flex: 1;
}
.filter-section {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  border-top: 1px solid var(--pcli-color-border-subtle);
  font-size: var(--fs-title-s);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.filter-section::-webkit-details-marker {
  display: none;
}
.filter-section span {
  flex: 1;
}
.filter-section::after {
  content: '+';
  font-size: var(--fs-heading-m);
  font-weight: 400;
  color: var(--pcli-color-text-secondary);
}
details[open] > .filter-section::after {
  content: '−';
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--pcli-color-text-primary);
  font-size: var(--fs-body-s);
}
.filter-option--group {
  font-size: var(--fs-title-s);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.filter-option--item {
  padding-left: 32px;
}
.filter-option.is-on {
  background: var(--pcli-color-bg-selected);
}
.filter-option__box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--pcli-color-border-input);
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}
.is-on .filter-option__box,
.is-mixed .filter-option__box {
  background: var(--pcli-color-action-selected);
  border-color: var(--pcli-color-action-selected);
}
.filter-option__label {
  flex: 1;
  min-width: 0;
}
.filter-option__count {
  font-family: var(--pcli-font-mono);
  font-size: var(--fs-meta);
  color: var(--pcli-color-text-tertiary);
}

/* ---- Product row (list view) ---- */
.product-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: var(--sp-20) 0;
  border-bottom: 1px solid var(--pcli-color-border-subtle);
}
.product-row .thumb {
  flex: 0 0 130px;
  width: 130px;
}
.product-row__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-row__info h3 a {
  color: inherit;
  text-decoration: none;
}
.product-row__info h3 a:hover {
  text-decoration: underline;
}
.product-row__action {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
@media (max-width: 720px) {
  .product-row {
    flex-wrap: wrap;
  }
  .product-row__action {
    flex-basis: 100%;
  }
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.actions form {
  display: contents;
}
.stepper {
  display: inline-flex;
  align-items: center;
  height: 36px;
  width: 108px;
  border: 1px solid var(--pcli-color-border-input);
  border-radius: var(--r-sm);
  background: #fff;
}
.stepper button {
  width: 36px;
  height: 34px;
  border: 0;
  background: none;
  color: var(--pcli-color-text-secondary);
  font-size: var(--fs-title-l);
  font-weight: 600;
  cursor: pointer;
}
.stepper input {
  width: 36px;
  height: 34px;
  border: 0;
  text-align: center;
  font: inherit;
  font-size: var(--fs-title-m);
  font-weight: 600;
  color: var(--pcli-color-text-primary);
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.add {
  flex: 1;
  min-width: 120px;
}
.add--added {
  background: var(--pcli-color-bg-selected);
  border-color: var(--pcli-color-action-selected);
  color: var(--pcli-color-action-selected);
}
.add--added:hover {
  background: var(--pcli-color-bg-selected);
}
.pack-note {
  width: 108px;
  text-align: center;
}

/* ---- Product card (grid view) ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--sp-12) var(--sp-12) var(--sp-16);
  border: 1px solid var(--pcli-color-border-default);
  border-radius: var(--r-lg);
  background: var(--pcli-color-surface-card);
}
.product-card__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--sp-4);
  flex: 1;
}
.product-card__info h3 a {
  color: inherit;
  text-decoration: none;
}
.product-card__order {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}
.product-card .actions {
  padding: 0 var(--sp-16);
}
.product-card .pack-note {
  align-self: flex-start;
  margin: 0 0 0 var(--sp-16);
}
.product-card__rule {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--pcli-color-border-default);
}
/* "Often ordered with" (Figma: Product card / Related): each card only as tall as its content */
.product-card--related .product-card__info {
  flex: none;
}
.related__row {
  align-items: start;
}

/* ---- Order bar (sticky) ---- */
.order-bar {
  position: sticky;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: var(--sp-16) var(--gutter);
  background: var(--pcli-color-bg-inverse);
  color: #fff;
}
.order-bar__count {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-title-m);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.order-bar__bag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pcli-color-accent-teal);
}
.order-bar__summary {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-body-s);
  opacity: 0.72;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .order-bar__summary {
    display: none;
  }
}

/* ---- Item page ---- */
.item {
  display: flex;
  gap: var(--sp-80);
  align-items: flex-start;
  padding: var(--sp-48) var(--gutter) var(--sp-80);
  flex-wrap: wrap;
}
.item__preview {
  flex: 0 1 560px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.item__thumbs {
  display: flex;
  justify-content: center;
  gap: 12px;
} /* centred under the image (Figma 04 Item) */
.item__thumbs .thumb {
  width: 90px;
  aspect-ratio: 90/116;
  border-radius: 4px;
} /* matches the flip-book tile */
.item__thumb {
  padding: 0;
  border: 1px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition:
    opacity 0.15s ease,
    border-color 0.15s ease;
}
.item__thumb:hover {
  opacity: 1;
}
.item__thumb.is-on {
  opacity: 1;
  border-color: var(--pcli-color-action-selected);
}
/* Item description: paragraphs and bullet lists from the plain-text Description (_partials/formatted-text.twig) */
.formatted-text.formatted-text > * {
  margin: 0;
}
.formatted-text.formatted-text > * + * {
  margin-top: 0.75em; /* doubled class: beats page rules like ".item__details p" */
}
.formatted-text ul {
  padding-left: 1.25em;
}
.formatted-text li + li {
  margin-top: 0.25em;
}
.formatted-text a {
  color: var(--pcli-color-text-link);
  overflow-wrap: anywhere;
}
.item__details {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Figma "Catalog — 04 Item": side by side, the image starts at the top and the details sit 120px lower */
@media (min-width: 1100px) {
  .item {
    padding-top: 0;
  }
  .item__details {
    padding-top: 120px;
  }
}
.item__order {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.item__pack {
  width: 108px;
  text-align: center;
}
.item__rule {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--pcli-color-border-default);
}
.formats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.format {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-16);
  border: 1px solid var(--pcli-color-border-input);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
}
.format.is-selected {
  border: 2px solid var(--pcli-color-action-selected);
  background: var(--pcli-color-bg-selected);
}
.format input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: var(--sp-20);
  border-top: 1px solid var(--pcli-color-border-default);
  font-size: var(--fs-body-m);
}
.specs div {
  display: flex;
}
.specs dt {
  flex: 0 0 160px;
  margin: 0;
  color: var(--pcli-color-text-tertiary);
}
.specs dd {
  margin: 0;
}
.related {
  background: var(--pcli-color-bg-subtle);
  padding: var(--sp-64) var(--gutter) var(--sp-80);
} /* not a flex column: .inner's auto margins would cancel stretch and collapse the card grid to one column */
.related__row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* ---- Review ---- */
.review {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding: 0 var(--gutter) var(--sp-80);
  flex-wrap: wrap;
}
.review__lines {
  flex: 1 1 560px;
  min-width: 0;
  border-top: 1.5px solid var(--pcli-color-border-strong);
}
.order-line {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: var(--sp-20) 0;
  border-bottom: 1px solid var(--pcli-color-border-subtle);
}
.order-line .thumb {
  flex: 0 0 72px;
  width: 72px;
  aspect-ratio: 72/92;
}
.order-line__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.order-line form {
  display: contents;
}
.order-line__remove {
  border: 0;
  background: none;
  padding: 0;
  font-size: var(--fs-body-s);
  color: var(--pcli-color-text-tertiary);
  cursor: pointer;
}
.order-line__remove:hover {
  color: var(--pcli-color-text-primary);
  text-decoration: underline;
}
.review__notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: var(--sp-24);
}
.summary {
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: var(--sp-24);
  border: 1px solid var(--pcli-color-border-default);
  border-radius: var(--r-lg);
  background: var(--pcli-color-bg-subtle);
}
.summary__address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-16);
  border: 1px solid var(--pcli-color-border-subtle);
  border-radius: var(--r-md);
  background: #fff;
}
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: var(--sp-16);
  border-top: 1px solid var(--pcli-color-border-default);
}
address {
  font-style: normal;
} /* |address already emits <br> between lines; pre-line would double them */
@media (max-width: 900px) {
  .summary {
    flex-basis: 100%;
  }
}

/* ---- Continuing education ---- */
/* CE videos — Figma: CE / Video card (Size=Default 3 across · Compact 4 across). Whole card links out to pucoce.com. */
.ce-videos {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
  padding-bottom: 56px;
}
.ce-videos h2 {
  margin: 0;
}
.ce-videos__grid {
  padding-top: var(--sp-20);
  border-top: 1.5px solid var(--pcli-color-border-strong);
} /* same rule as the event / observation lists */
.ce-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.ce-videos__grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ce-video {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--pcli-color-border-default);
  border-radius: 12px;
  background: var(--pcli-color-surface-card, #fff);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.ce-video:hover {
  border-color: var(--pcli-color-border-strong);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.ce-video:hover .ce-video__cta {
  text-decoration: underline;
}
.ce-video__media {
  position: relative;
  display: block;
  height: 148px;
  background-color: var(--pcli-color-bg-muted);
  background-size: cover;
  background-position: center;
}
.ce-video__hours {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 10px;
  border-radius: 980px;
  background: var(--pcli-color-bg-page);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--pcli-color-text-primary);
}
.ce-video__body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: 20px 24px 24px;
} /* grows to fill the card: text stays at the top, the footer at the bottom */
.ce-video__title {
  overflow-wrap: anywhere;
}
.ce-video__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--pcli-color-border-subtle);
}
.ce-video__cta {
  font-size: var(--fs-title-s);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--pcli-color-text-link);
  white-space: nowrap;
}
.ce-video--compact .ce-video__media {
  height: 120px;
}
.ce-video--compact .ce-video__hours {
  top: 12px;
  left: 12px;
}
.ce-video--compact .ce-video__body {
  gap: 8px;
  padding: 18px 20px 20px;
}
.ce-video--compact .ce-video__foot {
  padding: 16px 20px 20px;
}
@media (max-width: 1100px) {
  .ce-videos__grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .ce-videos__grid,
  .ce-videos__grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .ce-videos__grid,
  .ce-videos__grid--4 {
    grid-template-columns: 1fr;
  }
  .ce-video__media {
    height: 96px;
  }
}
.ce {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-48) 40px;
  align-items: start;
}
.ce__group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
  min-width: 0;
}
.ce-empty {
  padding: var(--sp-20);
  font-size: var(--fs-body-m);
  color: var(--pcli-color-text-secondary);
}
.btn--stack {
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}
@media (max-width: 900px) {
  .ce {
    grid-template-columns: 1fr;
  }
}
.ce__list {
  border-top: 1.5px solid var(--pcli-color-border-strong);
}
.ce-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-24);
  padding: var(--sp-20);
  border-bottom: 1px solid var(--pcli-color-border-subtle);
}
.ce-row__details {
  padding-top: 15px;
}
.ce-row__date {
  flex: 0 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  border-radius: var(--r-md);
  background: var(--pcli-color-bg-subtle);
  border: 1px solid var(--pcli-color-border-default);
  text-align: center;
}
.ce-row__month {
  font-size: var(--fs-overline);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pcli-color-text-eyebrow);
}
.ce-row__day {
  font-size: var(--fs-heading-m);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.ce-row__dow {
  font-family: var(--pcli-font-mono);
  font-size: var(--fs-meta);
  color: var(--pcli-color-text-tertiary);
}
.ce-row__date--ongoing {
  justify-content: center;
  min-height: 72px;
}
.ce-row__date--ongoing .ce-row__dow {
  font-family: var(--pcli-font-sans);
  font-size: var(--fs-body-s);
  font-weight: 600;
  color: var(--pcli-color-text-secondary);
}
.ce-row__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-wrap: anywhere;
}
.ce-row__info h3 a {
  color: inherit;
  text-decoration: none;
}
.ce-row__info h3 a:hover {
  text-decoration: underline;
}
.ce-closed {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f0ec;
  font-size: 13px;
  font-weight: 600;
  color: var(--pcli-color-text-secondary);
  white-space: nowrap;
} /* "Registration closed" in place of Register (CE event → Close registration on) */
/* CE event page: Add to calendar under Register in the summary card (templates/ce/entry.twig) */
.ce-cal {
  margin-top: 10px;
}
.ce-closed--block {
  display: block;
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  text-align: center;
  white-space: normal;
}
.ce-row__action {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.ce-back {
  margin-bottom: 12px;
}
.ce-top {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: var(--sp-48) var(--gutter) 0;
}
.ce-detail--event {
  padding-top: var(--sp-20);
}
.ce-detail__main {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ce-indent {
  padding-left: var(--sp-20);
}
.ce-detail__main .ce-detail__body {
  padding-top: var(--sp-20);
}
.ce-detail__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-32);
  padding-top: var(--sp-24);
}
@media (max-width: 720px) {
  .ce-indent {
    padding-left: 0;
  }
  .ce-row {
    padding: var(--sp-20) 0;
  }
}
.specs--stacked {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.specs--stacked div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.specs--stacked dt {
  flex: none;
  font-size: var(--fs-body-s);
  color: var(--pcli-color-text-tertiary);
}
.ce-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  padding: var(--sp-32);
  border: 1px solid var(--pcli-color-border-default);
  border-radius: var(--r-lg);
  background: var(--pcli-color-bg-subtle);
  scroll-margin-top: 100px;
}
.ce-form__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}
.ce-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ce-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Request / Register form: required fields get a red asterisk after the label, explained above the buttons */
.ce-form .req {
  margin-left: 4px;
  font-weight: 600;
  color: var(--pcli-color-status-cancelled-text, #b3261e);
}
.ce-form__req-note {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--pcli-color-text-secondary);
}
.ce-form__req-note .req {
  margin: 0 2px 0 0;
}
.ce-form__actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.check-group {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.check-group legend {
  padding: 0;
  margin-bottom: 8px;
}
.check-group__options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 4px;
}
.check-group .check {
  font-size: var(--fs-title-s);
  font-weight: 600;
  letter-spacing: -0.01em;
  gap: 10px;
}
.check--off {
  color: var(--pcli-color-text-tertiary);
  cursor: not-allowed;
}
/* Request-an-appointment modal (Figma: CE — Request form) */
.ce-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: none;
  overflow: auto;
}
.ce-dialog::backdrop {
  background: rgba(18, 32, 38, 0.6);
}
.ce-dialog .ce-form {
  max-width: none;
  margin: 0;
}
.ce-dialog .ce-form__actions {
  justify-content: center;
}
.ce-dialog[open] {
  animation: ce-dialog-in 0.2s ease-out;
}
@keyframes ce-dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 720px) {
  .ce-row {
    flex-wrap: wrap;
  }
  .ce-row__action {
    flex-basis: 100%;
    flex-direction: row;
    align-items: center;
  }
  .ce-form__row {
    grid-template-columns: 1fr;
  }
}

/* ---- Sign-in prompt, login, signed-out ---- */
.signin-prompt {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: var(--sp-32);
  border-radius: var(--r-lg);
  background: var(--pcli-color-bg-inverse);
  color: #fff;
  flex-wrap: wrap;
}
.signin-prompt__copy {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.signin-prompt__copy .t-body-m {
  opacity: 0.8;
}
.signin-prompt__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.section {
  padding: var(--sp-48) var(--gutter);
}
.auth {
  display: flex;
  gap: var(--sp-80);
  align-items: flex-start;
  padding: var(--sp-64) var(--gutter) var(--sp-80);
  flex-wrap: wrap;
}
.auth__copy {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth__panel {
  flex: 0 1 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: var(--sp-32);
  border-radius: var(--r-lg);
  background: var(--pcli-color-bg-inverse);
  color: #fff;
}
.auth__panel .field label {
  color: #fff;
}
.auth__panel .input {
  border-color: #fff;
}
.auth__panel .check {
  color: rgba(255, 255, 255, 0.8);
}
.auth__panel .link {
  color: #fff;
}
.auth__foot {
  font-size: var(--fs-body-s);
  color: rgba(255, 255, 255, 0.72);
}
.auth__foot a {
  color: #fff;
}
.auth__panel .auth__hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
@media (max-width: 900px) {
  .auth__panel {
    flex-basis: 100%;
  }
}

/* ---- Account ---- */
.account {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding: 0 var(--gutter) var(--sp-80);
  flex-wrap: wrap;
}
.account__main {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.account__side {
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: var(--sp-24);
  border: 1px solid var(--pcli-color-border-default);
  border-radius: var(--r-lg);
  background: var(--pcli-color-bg-subtle);
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  text-align: left;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--pcli-color-border-subtle);
  vertical-align: top;
  font-size: var(--fs-body-m);
}
.table th {
  font-size: var(--fs-title-s);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--pcli-color-status-neutral-bg);
  color: var(--pcli-color-status-neutral-text);
  font-size: var(--fs-body-s);
  font-weight: 600;
}
.status--received {
  background: var(--pcli-color-status-received-bg);
  color: var(--pcli-color-status-received-text);
}
.status--packed {
  background: var(--pcli-color-status-packed-bg);
  color: var(--pcli-color-status-packed-text);
}
.status--shipped,
.status--delivered {
  background: var(--pcli-color-status-shipped-bg);
  color: var(--pcli-color-status-shipped-text);
}
.status--cancelled {
  background: var(--pcli-color-status-cancelled-bg);
  color: var(--pcli-color-status-cancelled-text);
}
.empty {
  color: var(--pcli-color-text-secondary);
}

/* ---- Footer ---- */

/* Footer — Figma: Footer / Desktop (536:60) */
.footer {
  background: var(--pcli-color-bg-inverse);
  color: #fff;
  padding: 50px var(--gutter) 40px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.footer__brand {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__brand img.logo {
  width: 123px;
  height: 43px;
}
.footer__brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer__brand-text img {
  width: 453px;
  max-width: 100%;
  height: auto;
}
.footer__brand-text .rule {
  width: 1px;
  height: 18px;
  background: #c4c4c4;
}
.footer__tag {
  font-family: 'Lora', var(--pcli-font-serif-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
} /* Figma: Footer / Brand block › Tagline (Lora Italic 14, white 60%) */
.footer__cols {
  display: flex;
  justify-content: flex-end;
  gap: 56px;
  flex-wrap: wrap;
  padding: 0 29px;
}
.footer__group {
  display: flex;
  gap: 31px;
  flex: 0 0 auto;
  flex-wrap: wrap;
} /* Figma: Footer / Desktop › Columns › link columns, hugging their content at the right */
.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: 0 0 auto;
}
.footer__mission {
  flex: 1 1 0;
  min-width: 240px;
  max-width: 588px;
  margin: 0 auto 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: #f2f2f2;
} /* left of the columns; the columns stay at the right */
.footer__col.footer__finder {
  flex-basis: 305px;
  align-items: stretch;
}
.footer__col .footer__heading {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange-700);
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.footer__col a {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
.footer__col a:hover {
  color: #fff;
}
.footer__finder label {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.footer__finder > a {
  align-self: flex-start;
}
.footer__finder-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 6px 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}
.footer__finder-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: #fff;
}
.footer__finder-input input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.footer__finder-input button {
  padding: 9px 14px;
  border: 0;
  border-radius: 4px;
  background: var(--orange-600);
  color: var(--pcli-color-text-on-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}
.footer__legal nav {
  display: flex;
  gap: 28px;
}
.footer__legal a {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
.footer__legal a:hover {
  color: #fff;
}
/* Phones — Figma: Footer / Mobile (Footer — Option 1 › Footer components). Brand centred and stacked, a hairline,
   the columns and facility finder in a 284px column, then the centred legal bar. */
@media (max-width: 720px) {
  .footer {
    padding: 40px 24px 32px;
  }
  .footer__inner {
    gap: 28px;
  }
  .footer__brand {
    flex-direction: column;
    align-items: center;
    gap: 13px;
  }
  .footer__brand img.logo {
    width: 98px;
    height: 35px;
  }
  .footer__brand-text {
    flex-direction: column;
    align-items: center;
    gap: 13px;
  }
  .footer__brand-text img {
    width: 261px;
  }
  .footer__brand-text .rule {
    display: none;
  }
  .footer__tag {
    text-align: center;
  }
  .footer__cols {
    flex-direction: column;
    justify-content: flex-start;
    gap: 32px;
    padding: 28px 29px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .footer__mission {
    flex: none;
    min-width: 0;
    max-width: none;
    margin: 0;
  }
  .footer__group {
    flex-direction: column;
    gap: 32px;
  }
  .footer__col,
  .footer__col.footer__finder {
    flex: none;
    width: 100%;
  }
  .footer__legal {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }
  .footer__legal nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

/* Account tabs — Figma: Account / Tabs (Profile · Orders · OD MarketSpace) */
.account-tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--pcli-color-border-default);
  margin-bottom: var(--sp-32);
}
.account-tabs__tab {
  padding-bottom: 14px;
  margin-bottom: -1px;
  border-bottom: 3px solid transparent;
  font-size: var(--fs-title-m, 16px);
  font-weight: 600;
  color: var(--pcli-color-text-secondary);
  text-decoration: none;
}
.account-tabs__tab:hover {
  color: var(--pcli-color-text-primary);
}
.account-tabs__tab.is-active {
  color: var(--pcli-color-text-primary);
  border-bottom-color: var(--pcli-color-action-primary);
}
@media (max-width: 720px) {
  .account-tabs {
    gap: 20px;
    overflow-x: auto;
  }
}

/* Select menu — styled dropdown of links. Figma: Office select (State=Open) */
.select-menu {
  position: relative;
}
.select-menu__field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 var(--sp-16);
  border: 1px solid var(--pcli-color-border-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--pcli-color-text-primary);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.select-menu__field:focus-visible {
  outline: none;
  border-color: var(--pcli-color-border-focus);
  box-shadow: 0 0 0 3px rgba(0, 171, 199, 0.2);
}
.select-menu__prefix {
  font-size: var(--fs-body-s);
  color: var(--pcli-color-text-secondary);
  white-space: nowrap;
}
.select-menu__value {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-title-s);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.select-menu__chevron {
  font-size: var(--fs-title-s);
  font-weight: 600;
  transition: transform 0.15s;
}
.select-menu.is-open .select-menu__chevron {
  transform: rotate(180deg);
}
.select-menu--filtered .select-menu__field {
  padding-right: 46px;
}
.select-menu__clear {
  position: absolute;
  top: 11px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pcli-color-bg-muted);
  color: var(--pcli-color-text-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
.select-menu__clear:hover {
  background: var(--stone-200, #e2dfd9);
}
.select-menu__clear:focus-visible {
  outline: 2px solid var(--pcli-color-border-focus);
  outline-offset: 2px;
}
.select-menu__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--pcli-color-border-default);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.select-menu__menu[hidden] {
  display: none;
}
/* Primary variant — orange, like .btn--primary, still a dropdown (Our Services location filter) */
.select-menu--primary .select-menu__field {
  height: 48px;
  padding: 0 12px 0 16px;
  gap: 10px;
  border-color: transparent;
  background: var(--pcli-color-action-primary);
  color: var(--pcli-color-text-on-primary);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.select-menu--primary .select-menu__field:hover,
.select-menu--primary.is-open .select-menu__field {
  background: var(--pcli-color-action-primary-hover);
}
.select-menu--primary .select-menu__field:focus-visible {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.35);
}
.select-menu--primary .select-menu__prefix {
  color: inherit;
  opacity: 0.85;
}
.select-menu--primary .select-menu__value {
  font-size: var(--fs-button-l);
  letter-spacing: -0.02em;
}
.select-menu--primary.select-menu--filtered .select-menu__field {
  padding-right: 44px;
}
.select-menu--primary .select-menu__chevron {
  display: flex;
  align-items: center;
  font-size: 0;
}
.select-menu--primary .select-menu__clear {
  top: 13px;
  right: 12px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--pcli-color-text-on-primary);
}
.select-menu--primary .select-menu__clear:hover {
  background: rgba(255, 255, 255, 0.35);
}
.select-menu--primary .select-menu__menu {
  right: auto;
  min-width: 100%;
  width: max-content;
  max-width: min(360px, calc(100vw - 32px));
}
.select-menu__option {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: var(--fs-body-m);
  color: var(--pcli-color-text-primary);
  text-decoration: none;
}
.select-menu__option:hover,
.select-menu__option:focus {
  outline: none;
  background: var(--pcli-color-bg-subtle);
}
.select-menu__option.is-selected {
  background: var(--pcli-color-bg-selected, #e3f4f6);
  font-size: var(--fs-title-s);
  font-weight: 600;
}

/* Account › Ship-to addresses */
.addr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.addr-head p {
  margin: 0;
}
.addr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.addr-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: var(--sp-24);
  border: 1px solid var(--pcli-color-border-default);
  border-radius: var(--r-lg);
  background: var(--pcli-color-bg-page);
}
.addr-card--default {
  border-color: var(--pcli-color-action-selected);
}
.addr-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.addr-card address {
  font-style: normal;
  margin: 0;
}
.addr-card__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--pcli-color-border-subtle);
}
.addr-card__actions form {
  margin: 0;
}
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--pcli-color-text-link);
  cursor: pointer;
}
.link-btn:hover {
  text-decoration: underline;
}
.link-btn--danger {
  color: #8a2a1e;
}
.addr-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
}
.addr-form h2 {
  margin: 0;
}
.addr-form__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}
.addr-form__actions {
  display: flex;
  gap: 12px;
}
@media (max-width: 600px) {
  .addr-form__row {
    grid-template-columns: 1fr 1fr;
  }
  .addr-form__row .field:first-child {
    grid-column: 1/-1;
  }
}

/* Order detail › Reorder */
.summary__reorder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.summary__reorder p {
  margin: 0;
}

/* Contact panel above the footer — Figma: Catalog — Design system › "Components / Contact panel" (_partials/contact-panel.twig).
   Light (stone-50) or dark (on dark pages). Desktop: message left, person (400) right with the photo flush top and bottom. */
.cp {
  --cp-bg: var(--stone-50);
  --cp-line: var(--stone-200);
  --cp-eyebrow: var(--orange-800);
  --cp-ink: var(--charcoal-800);
  --cp-muted: var(--charcoal-600);
  --cp-link: var(--teal-800);
  background: var(--cp-bg);
  border-top: 1px solid var(--cp-line);
  padding-inline: var(--gutter);
  color: var(--cp-ink);
}
.cp--dark {
  --cp-bg: #0b0d0f;
  --cp-line: #262d33;
  --cp-eyebrow: #f58220;
  --cp-ink: #fff;
  --cp-muted: #aeb6bd;
  --cp-link: #ffb35c;
}
.cp p {
  margin: 0;
}
.cp__inner {
  display: flex;
  align-items: stretch;
  gap: 80px;
}
.cp__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 40px 0;
}
.cp__eyebrow {
  padding: 0 20px;
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cp-eyebrow);
}
.cp__message {
  font-size: var(--fs-body-l);
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--cp-ink);
}
.cp__person {
  flex: 0 0 400px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.cp__photo {
  position: relative;
  flex: 0 0 193px;
  align-self: stretch;
  min-height: 183px;
  overflow: hidden;
}
.cp--dark .cp__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 13, 15, 0) 75%, var(--cp-bg) 100%);
  pointer-events: none;
} /* Figma: dark variant fades the photo into the panel colour (#0B0D0F) on the right */
.cp__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.cp__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 24px 0;
}
.cp__name {
  font-size: var(--fs-title-l);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cp-ink);
}
.cp__title {
  font-size: var(--fs-body-m);
  line-height: 1.5;
  color: var(--cp-muted);
}
.cp__phone {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cp-link);
  text-decoration: none;
}
.cp__phone:hover {
  text-decoration: underline;
}
.cp__email {
  margin-top: 10px;
  border-color: var(--cp-ink);
  color: var(--cp-ink);
}
.cp__email:hover {
  background: var(--stone-100);
}
.cp--dark .cp__email {
  border-color: var(--cp-link);
  color: var(--cp-link);
}
.cp--dark .cp__email:hover {
  background: rgba(255, 179, 92, 0.1);
}
.cp a:focus-visible {
  outline: 2px solid var(--pcli-color-border-focus);
  outline-offset: 2px;
}
@media (max-width: 1100px) {
  .cp__inner {
    gap: 40px;
  }
  .cp__person {
    flex-basis: 360px;
  }
  .cp__photo {
    flex-basis: 160px;
  }
}
@media (max-width: 720px) {
  .cp__inner {
    flex-direction: column;
    gap: 28px;
    padding: 48px 0;
  }
  .cp__copy {
    padding: 0;
  }
  .cp__eyebrow {
    padding: 0;
    font-size: 12px;
  }
  .cp__message {
    line-height: 1.3;
    letter-spacing: -0.02em;
  }
  .cp__message br {
    display: none;
  } /* phones: ignore the chosen line break and wrap naturally */
  .cp__person {
    flex: none;
    align-items: center;
  }
  .cp__photo {
    flex: 0 0 calc(50% - 10px);
    align-self: auto;
    min-height: 0;
    aspect-ratio: 176/183;
  }
  .cp__info {
    padding: 0;
  }
  /* Photo on, light and dark (Figma 1396:2, 1396:28): the photo sits on the bottom edge of the panel, 176 × 183; name, title, phone and
     Email start at the top of the row beside it, 36px clear of the bottom */
  .cp--photo .cp__inner {
    padding-bottom: 0;
  }
  .cp--photo .cp__person {
    align-items: stretch;
  }
  .cp--photo .cp__photo {
    flex: 0 0 176px;
    align-self: flex-end;
  }
  .cp--photo .cp__info {
    padding-bottom: 36px;
  }
}
@media (max-width: 360px) {
  .cp--photo .cp__photo {
    flex-basis: calc(50% - 10px);
  }
}

/* Catalog landing — Figma: Catalog — Store › "Catalog — 01c Landing (old-site categories)" (templates/store/index.twig).
   Shorter hero (80 top / 32 bottom), copy only; signed out, a sign-in card on the right ("01b Landing (signed out)").
   "Browse by category": eyebrow + heading with the search (519px) beside them, then the cards four across, 40px in. */
.hero--catalog {
  padding-block: 80px 32px;
}
/* Signed in: Account + Your order at the top right of the band (Figma 1543:23225 — no catalog bar on this page) */
.hero--catalog:has(.hero-account) {
  padding-top: 29px;
}
.hero-account {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-account__link {
  font-size: var(--fs-button-s);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.hero-account__link:hover {
  text-decoration: underline;
}
.order-btn--inverse {
  border-width: 1px;
  border-color: #cfcdc7;
  color: #fff;
}
.order-btn--inverse:hover {
  border-color: #fff;
}
.hero--catalog:has(.hero-account) .hero__copy {
  padding-right: 260px;
} /* keeps the heading clear of the account links */
.hero-signin {
  flex: 0 0 400px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 24px;
  color: #fff;
} /* Figma: just the heading and the two buttons, no panel */
.hero-signin h2 {
  margin: 0;
}
.hero-signin--light {
  color: var(--pcli-color-text-primary);
} /* on the light title row of category / procedure / search results */
.hero-signin__title {
  position: relative;
  top: 10px; /* nudged 10px toward the buttons */
  font-size: var(--fs-title-l);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.hero-signin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cat-browse {
  padding: 40px var(--gutter);
}
.cat-browse__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.cat-browse__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-right: 40px;
}
.cat-browse__titles {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-browse__titles p,
.cat-browse__titles h2 {
  margin: 0;
}
.cat-browse__eyebrow {
  padding: 0 20px;
}
.cat-browse__title {
  font-size: var(--fs-heading-m);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--pcli-color-text-primary);
}
.cat-browse__search {
  flex: 0 1 519px;
  max-width: none;
  border: 1px solid var(--stone-150);
}
.cat-browse__search:focus-within {
  border-color: var(--pcli-color-border-focus);
}
.cat-browse__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0 40px;
}
@media (max-width: 1100px) {
  .cat-browse__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
  }
  .cat-browse__head {
    padding-right: 0;
  }
}
@media (max-width: 900px) {
  .hero-signin {
    flex: 1 1 100%;
    padding: 0;
  }
  .cat-browse__head {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .cat-browse__search {
    flex: none;
  }
  .cat-browse__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 720px) {
  .hero--catalog {
    padding-block: 48px 32px;
  }
  .hero--catalog:has(.hero-account) {
    padding-top: 24px;
  }
  .hero-account {
    position: static;
    order: -1;
    flex: 1 1 100%;
    justify-content: flex-end;
  }
  .hero--catalog:has(.hero-account) .hero__copy {
    padding-right: 0;
  }
  .hero--catalog:has(.hero-account) .hero__inner {
    row-gap: 20px;
  }
  .cat-browse__eyebrow {
    padding: 0;
  }
}

/* ===================== Catalog on phones — Figma: Catalog — Store › "Catalog — Mobile (390)" ===================== */
.item__gallery {
  display: none;
}
.table__unit {
  display: none;
}
@media (max-width: 720px) {
  /* 01c Landing: category cards one per row — photo left, copy right */
  .cat-browse__grid {
    grid-template-columns: minmax(0, 1fr); /* 1fr alone let a long title widen the card past a 320px screen */
    gap: 12px;
  }
  .cat-browse__grid .tile {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 12px 16px 12px 12px;
  }
  .cat-browse__grid .tile .thumb {
    flex: 0 0 104px;
    width: 104px;
    height: 92px;
    aspect-ratio: auto;
  }
  .cat-browse__grid .tile__body {
    flex: 1;
    min-width: 0;
    gap: 4px;
    padding: 0;
  }
  .cat-browse__grid .tile__body .t-title-l {
    overflow-wrap: break-word;
  }
}
@media (max-width: 360px) {
  .cat-browse__grid .tile {
    gap: 12px;
    padding-right: 12px;
  }
  .cat-browse__grid .tile .thumb {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }
  .cat-browse__grid .tile__body .t-title-l {
    font-size: 18px;
    hyphens: auto;
  }
}
@media (max-width: 720px) {
  /* 02 list: Product card / List (mobile) — like the order line: thumbnail left; category, title, pack; stepper + Add;
     Download PDF. The description is left to the item page. */
  .product-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 4px;
    align-items: start;
  }
  .product-row > .thumb {
    grid-row: 1 / span 20;
    width: 72px;
    aspect-ratio: 72/92;
  }
  .product-row__info,
  .product-row__action {
    display: contents;
  }
  .product-row__info > *,
  .product-row__action > * {
    grid-column: 2;
  }
  .product-row__info > .overline {
    order: 1;
  }
  .product-row__info > h3 {
    order: 2;
  }
  .product-row__info > .t-body-m,
  .product-row__info > .product-row__about {
    display: none;
  }
  .product-row__action > .pack-note {
    order: 3;
    width: auto;
    text-align: left;
  }
  .product-row__action > .actions {
    order: 4;
    margin-top: 8px;
  }
  .product-row__action .actions .add {
    flex: 1;
  }
  .product-row__info > .downloads {
    order: 5;
    margin-top: 4px;
  }

  /* 04 Item: thumbnails off, swipe strip on (next image peeks in), dots under it */
  .item__preview:has(.item__gallery) > .item__stage,
  .item__thumbs {
    display: none;
  } /* the gallery has its own Flip through button over the strip */
  .item__gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .item__strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .item__strip::-webkit-scrollbar {
    display: none;
  }
  .item__slide {
    flex: 0 0 calc(100% - 28px);
    scroll-snap-align: start;
  }
  .item__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  .item__dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--stone-300);
    transition:
      width 0.2s ease,
      background-color 0.2s ease;
  }
  .item__dot.is-on {
    width: 20px;
    background: var(--charcoal-800);
  }

  /* 05 Review: order line — thumbnail left; details, then stepper with Remove at the right */
  .review .order-line {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    column-gap: 20px;
    row-gap: 20px;
    align-items: center;
  }
  .review .order-line > .thumb {
    grid-row: 1 / span 2;
    align-self: start;
  }
  .review .order-line__info {
    grid-column: 2 / -1;
    align-self: start;
  }
  .review .order-line .stepper {
    grid-column: 2;
    justify-self: start;
  }
  .review .order-line__remove {
    grid-column: 3;
  }

  /* 07 Your orders: order number, then date · items · status on one line */
  .table--orders thead {
    display: none;
  }
  .table--orders tr {
    display: grid;
    grid-template-columns: auto auto 1fr;
    column-gap: 24px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--pcli-color-border-subtle);
  }
  .table--orders td {
    padding: 2px 0;
    border: 0;
  }
  .table--orders td:first-child {
    grid-column: 1 / -1;
  }
  .table--orders td:last-child {
    justify-self: end;
  }
  .table__unit {
    display: inline;
  }

  /* Account tabs: spread across, labels bottom-aligned (OD MarketSpace may wrap to two lines) */
  .account-tabs {
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    overflow: visible;
  }
  .account-tabs__tab {
    flex: 0 1 auto;
    min-width: 0;
    line-height: 1.35;
  }
}

/* Referral choice — Figma: Catalog — Design system › Button / Submit a referral (_partials/referral-choice.twig) */
.ref-choice {
  display: inline-grid;
  grid-template-columns: minmax(
    0,
    1fr
  ); /* the track is the pill's width — the hidden options (wider) overflow it
     instead of widening it, which pushed the centred label off to the right on phones ("Submit a re…") */
  align-items: center;
  justify-items: start;
  max-width: 100%;
  border-radius: 999px;
  background: var(--orange-600);
  color: var(--pcli-color-text-on-primary);
  overflow: hidden;
  transition:
    width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.2s;
}
.ref-choice.is-measuring {
  transition: none;
}
.ref-choice > * {
  grid-area: 1/1;
}
.ref-choice:not(.is-open):hover {
  background: var(--orange-700);
}
.ref-choice__toggle {
  width: max-content;
  padding: 13px 26px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
/* Plain launch version — a link with the same pill look, no options (config/custom.php referralOptions = false) */
.ref-choice--link,
.ref-choice--link:hover {
  text-decoration: none;
  color: var(--pcli-color-text-on-primary);
}
.ref-choice--link .ref-choice__toggle {
  display: block;
}
.ref-choice.is-open .ref-choice__toggle {
  opacity: 0;
}
.ref-choice__options {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0s linear 0.2s;
}
.ref-choice.is-open .ref-choice__options {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s ease 0.18s,
    visibility 0s;
}
.ref-choice__opt {
  padding: 9px 20px;
  border-radius: 999px;
  color: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.ref-choice__opt:hover,
.ref-choice__close:hover {
  background: rgba(0, 0, 0, 0.16);
}
.ref-choice__sep {
  width: 1px;
  height: 20px;
  background: #000;
}
.ref-choice__close {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
@media (prefers-reduced-motion: reduce) {
  .ref-choice {
    transition: background 0.2s;
  }
  .ref-choice__options,
  .ref-choice.is-open .ref-choice__options {
    transition:
      opacity 0.15s ease,
      visibility 0s;
  }
}
@media (max-width: 720px) {
  .ref-choice {
    justify-items: center;
  }
  .ref-choice__opt {
    padding: 9px 13px;
    font-size: 15px;
  }
  .ref-choice__close {
    width: 38px;
    height: 38px;
  }
}

/* hCaptcha "I am human" checkbox (Figma: Catalog — Design system › hCaptcha / Checkbox).
   The widget is a fixed 303×78 iframe drawn by hCaptcha; on narrow forms (phones) it's scaled down to fit. */
.hcaptcha {
  container-type: inline-size;
  min-height: 78px;
}
.hcaptcha--center {
  display: flex;
  justify-content: center;
}
.hcaptcha .h-captcha {
  transform-origin: left top;
}
.hcaptcha--center .h-captcha {
  transform-origin: center top;
}
@container (max-width: 302px) {
  .h-captcha {
    transform: scale(0.9);
  }
}
@container (max-width: 272px) {
  .h-captcha {
    transform: scale(0.8);
  }
}

/* "Stay informed" sign-up form (Figma: Catalog — Stay informed). Builds on .ce-form / .ce-dialog / .check-group. */
.signup .signup__legend {
  font-size: var(--fs-title-m);
  font-weight: 600;
  color: var(--pcli-color-text-primary);
}
.signup--page {
  max-width: none;
}
.signup--page .signup__topics .check-group__options {
  padding-left: 20px;
}
.signup__delivery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-left: 20px;
}
.signup__delivery legend {
  float: left;
  margin: 0;
  font-size: var(--fs-title-s);
  font-weight: 600;
}
.signup__delivery .check-group__options {
  padding-top: 0;
}
.signup__delivery[hidden],
.signup__address[hidden] {
  display: none;
}
.signup__address {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
}
.signup__address .label {
  margin: 0;
  font-size: var(--fs-title-s);
  font-weight: 600;
  color: var(--pcli-color-text-primary);
}
.signup__city-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.signup .hcaptcha {
  padding: 15px 0;
}
.signup__actions {
  justify-content: center;
}
@media (max-width: 600px) {
  .signup__city-row {
    grid-template-columns: 1fr 1fr;
  }
  .signup__city-row .field:first-child {
    grid-column: 1 / -1;
  }
}
/* CE listing: "Sign up for updates" sits right of the page title, on its own line on phones */
@media (max-width: 720px) {
  .page-title > .btn {
    align-self: flex-start;
  }
}

/* Account › Updates (Figma: Catalog — Store › 09 Account · Updates). The form reuses the sign-up styles (.signup). */
.prefs__intro {
  margin: 0 0 24px;
}
.prefs__notice,
.prefs__panel {
  max-width: 760px;
}
.prefs__notice {
  margin-bottom: 24px;
}
.prefs__notice--todo {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: #fbf1df;
  color: #734503;
  font-size: 15px;
  line-height: 1.5;
}
.prefs__notice p {
  margin: 0;
}
.prefs__notice p + p {
  margin-top: 6px;
}
.prefs__addresses {
  border: 0;
  margin: 0;
  min-width: 0;
}
.prefs__addresses legend {
  padding: 0;
  margin-bottom: 4px;
  font-size: var(--fs-title-s);
  font-weight: 600;
}
.prefs__address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--pcli-color-border-default);
  border-radius: 8px;
  background: var(--pcli-color-bg-page);
  cursor: pointer;
}
.prefs__address:has(input:checked) {
  border-color: var(--pcli-color-action-selected);
  box-shadow: inset 0 0 0 1px var(--pcli-color-action-selected);
}
.prefs__address input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--pcli-color-action-selected);
}
.prefs__address-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prefs__address-name {
  font-size: var(--fs-title-s);
  font-weight: 600;
}
.prefs__address-line {
  font-size: var(--fs-body-s);
  color: var(--pcli-color-text-secondary);
}
.prefs__add {
  align-self: flex-start;
  font-size: var(--fs-body-s);
}
.prefs__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.prefs__unsub {
  color: var(--pcli-color-text-secondary);
  text-decoration: underline;
}
/* Product row description: two lines, then "More details" (the item page shows it in full) */
.product-row__about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.product-row__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 0;
}
.product-row__more {
  font-size: var(--fs-body-m);
  line-height: 1.55;
}

/* Product row: the photo and text are one link to the item page (the title link stretched over them), with a light
   hover panel. Download buttons and the order controls sit above it and keep working. */
.product-row {
  position: relative;
  isolation: isolate;
}
.product-row__info h3 a::after,
.product-row::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: -12px;
  right: calc(250px + 12px); /* stops short of the order column */
  border-radius: var(--r-md);
}
.product-row__info h3 a::after {
  z-index: 1;
}
.product-row::before {
  z-index: -1;
  background: var(--pcli-color-bg-subtle);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.product-row:has(.product-row__info h3 a:hover)::before,
.product-row:has(.product-row__info h3 a:focus-visible)::before {
  opacity: 1;
}
.product-row .downloads,
.product-row__more,
.product-row__action > * {
  position: relative;
  z-index: 2;
}
@media (max-width: 720px) {
  .product-row__info h3 a::after,
  .product-row::before {
    right: -12px;
  }
}

/* Scroll cue on product pages — the home page's down arrow, light version, fixed at the bottom centre of the window
   (templates/store/product.twig). Fades once the page scrolls. */
.scroll-cue-page {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  border: 1px solid rgba(37, 42, 43, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 16px -6px rgba(18, 32, 38, 0.25);
  color: var(--charcoal-800);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  animation: scroll-cue-page 2.4s ease-in-out infinite;
  transition:
    opacity 0.3s,
    background 0.15s ease,
    border-color 0.15s ease;
}
.scroll-cue-page[hidden] {
  display: none;
}
.scroll-cue-page:hover {
  border-color: rgba(37, 42, 43, 0.4);
  background: #fff;
}
.scroll-cue-page:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
}
.scroll-cue-page.is-gone {
  opacity: 0;
  pointer-events: none;
}
@keyframes scroll-cue-page {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}
html:has(.scroll-cue-page) {
  scroll-behavior: smooth;
}
#related {
  scroll-margin-top: 84px;
} /* clear the sticky nav */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-page {
    animation: none;
  }
  html:has(.scroll-cue-page) {
    scroll-behavior: auto;
  }
}
