/* ==========================================================================
   Reusable components (clean clinical style)
   ========================================================================== */

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: 0 0 32px; background: #fff; border-bottom: 1px solid var(--border); }
.page-hero .breadcrumb { margin: 0 0 28px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { display: none; }
.page-hero h1 { margin-bottom: 8px; max-width: 900px; }
.page-hero .lead { max-width: 880px; margin: 0; }
.page-hero .btn-row { margin-top: 20px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; font-size: .8125rem; color: var(--heading); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "chevron_right"; font-family: "Material Symbols Outlined"; font-size: 14px; color: var(--soft); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--heading); font-weight: 600; }
.breadcrumb-bar { border-bottom: 1px solid var(--border); }
.breadcrumb-bar .breadcrumb { padding: 10px 0; }

/* ---------- Product card ---------- */
.product-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .product-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
}
.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  overflow: hidden;
}
.product-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 14px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-card__media .badge { position: absolute; top: 0; right: 0; z-index: 1; }
.product-card__cat { margin: 0 0 2px; font-size: .75rem; color: var(--muted); }
.product-card__title { margin: 0 0 6px; font-size: 1.125rem; font-weight: 600; }
.product-card__title a { color: var(--heading); }
.product-card__text { margin: 0 0 6px; font-size: .8125rem; color: var(--muted); }
.product-card__codes { margin: 0 0 10px; font-size: .75rem; color: var(--soft); }
.product-card__meta { margin: auto 0 4px; padding-top: 4px; font-size: .75rem; color: var(--muted); }
.product-card__meta strong { font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; color: var(--heading); margin-right: 4px; }
.product-card__stock { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: .75rem; font-weight: 600; color: var(--green); }
.product-card__stock::before { content: ""; width: 8px; height: 8px; background: var(--green-dot); }
.product-card__stock--info { color: var(--muted); }
.product-card__stock--info::before { background: var(--primary); }
.product-card__actions { display: grid; gap: 8px; }
.product-card__details { text-align: center; font-size: .8125rem; font-weight: 600; }

/* Horizontal mini card (More from…) */
.mini-card { display: flex; gap: 18px; padding: 20px; background: #fff; border: 1px solid var(--border); }
.mini-card__media { position: relative; flex-shrink: 0; width: 140px; aspect-ratio: 1; background: var(--surface-muted); border: 1px solid var(--border); }
.mini-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 10px; object-fit: contain; mix-blend-mode: multiply; }
.mini-card__body { display: flex; flex-direction: column; min-width: 0; }
.mini-card h3 { margin-bottom: 4px; }
.mini-card h3 a { color: var(--heading); }
.mini-card p { margin: 0 0 8px; font-size: .8125rem; color: var(--muted); }
.mini-card .mini-card__meta { font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--heading); }
.mini-card .btn-row { margin-top: auto; padding-top: 8px; }
@media (max-width: 480px) { .mini-card { flex-direction: column; } .mini-card__media { width: 100%; aspect-ratio: 16/9; } }

/* ---------- Simple icon card ---------- */
.icon-card { height: 100%; padding: 28px; background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column; }
.icon-card__icon { margin-bottom: 14px; color: var(--primary); }
.icon-card__icon .icon { font-size: 2.25rem; }
.icon-card h3 { margin-bottom: 6px; }
.icon-card p { font-size: .9375rem; color: var(--muted); }
.icon-card .btn-row, .icon-card > .btn, .icon-card > .link-arrow { margin-top: auto; padding-top: 8px; }
.icon-card--dark { background: #fff; }

/* ---------- Stats (left border style) ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding-left: 14px; border-left: 2px solid var(--primary); }
.stat__value { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--primary); }
.stat__value small { font-size: .55em; margin-left: 2px; }
.stat__label { display: block; margin-top: 6px; font-size: .8125rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonials__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.testimonials__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .testimonials__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (min-width: 1100px) { .testimonials__track { grid-auto-columns: calc((100% - 48px) / 3); } }
.quote-card { scroll-snap-align: start; display: flex; flex-direction: column; margin: 0; padding: 24px; background: #fff; border: 1px solid var(--border); }
.quote-card__mark { color: var(--primary); font-size: 0; margin-bottom: 12px; }
.quote-card__mark::before { content: "format_quote"; font-family: "Material Symbols Outlined"; font-size: 28px; font-variation-settings: "FILL" 1; }
.quote-card blockquote { flex: 1; margin: 0 0 20px; font-size: .9375rem; line-height: 1.65; color: var(--text); }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.quote-card img { width: 44px; height: 44px; object-fit: cover; }
.quote-card strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9375rem; color: var(--heading); }
.quote-card span { display: block; font-size: .75rem; line-height: 1.4; color: var(--muted); }
.slider-nav { display: flex; gap: 8px; }
.slider-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border-strong); background: #fff; color: var(--heading); }
.slider-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.slider-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Logo row ---------- */
.logo-marquee { overflow: hidden; }
.logo-marquee__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 48px; }
.logo-marquee__track img[aria-hidden="true"] { display: none; }
.logo-marquee img { height: 54px; width: auto; filter: grayscale(1); opacity: .8; mix-blend-mode: multiply; }

/* ---------- CTA / promo boxes ---------- */
.cta-band {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: 1.5rem; margin-bottom: 4px; }
.cta-band p { margin: 0; color: var(--text); }
.promo-box { padding: 32px; background: #fff; border: 1px solid var(--border); }
.promo-box h2 { font-size: 1.5rem; margin-bottom: 4px; }
.promo-box p { margin-bottom: 24px; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--border); }
.accordion details { border-bottom: 1px solid var(--border); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; color: var(--heading); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { color: var(--primary); transition: transform .2s; }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion .accordion__body { padding: 0 0 18px; }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--border); scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9375rem;
}
.tabs__tab:hover { color: var(--primary); }
.tabs__tab[aria-selected="true"] { color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); }
.tabs__tab .icon { font-size: 1.2rem; }
.tabs__panel { padding-top: 28px; }

/* ---------- Data table ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); }
.data-table { font-size: .875rem; min-width: 480px; }
.data-table th, .data-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table thead th { position: sticky; top: 0; background: var(--surface-muted); color: var(--heading); font-family: var(--font-head); font-size: .8125rem; font-weight: 600; border-bottom: 1px solid var(--border-strong); }
.data-table tbody tr:hover td { background: var(--surface-soft); }
.data-table tr.data-table__group td { background: var(--primary-50) !important; font-family: var(--font-head); font-weight: 600; font-size: .8125rem; color: var(--primary-dark); }
.data-table td:first-child { font-weight: 600; color: var(--heading); white-space: nowrap; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr.is-hidden { display: none; }
.data-table .copy-code { margin-left: 4px; padding: 0; border: 0; background: none; color: var(--soft); vertical-align: middle; }
.data-table .copy-code:hover { color: var(--primary); }
.data-table .copy-code .icon { font-size: 1rem; }
.data-table .add-row { padding: 0; border: 0; background: none; color: var(--primary); font-weight: 600; font-size: .8125rem; white-space: nowrap; }
.data-table .add-row:hover { text-decoration: underline; }
.data-table .add-row.is-added { color: var(--green); }

/* ---------- Info card ---------- */
.info-card { display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--border); }
.info-card > .icon { font-size: 1.75rem; color: var(--primary); }
.info-card h3 { font-size: 1rem; margin-bottom: 2px; }
.info-card p { margin: 0; font-size: .875rem; }

/* ---------- Panels ---------- */
.panel { padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--border); }
.panel--muted { background: var(--surface-muted); }
.panel__title { font-size: 1.25rem; margin-bottom: 4px; }
.panel__sub { color: var(--muted); margin-bottom: 20px; }

/* ---------- Check list ---------- */
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before { content: "check_circle"; font-family: "Material Symbols Outlined"; flex-shrink: 0; font-size: 20px; line-height: 1.2; color: var(--primary); }
.check-list--light li::before { color: var(--primary); }

/* ---------- Filter pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--border-strong); background: #fff; color: var(--text); font-family: var(--font-head); font-size: .8125rem; font-weight: 600; }
.pill:hover { border-color: var(--primary); color: var(--primary); }
.pill[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.pill .count { font-size: .75rem; opacity: .75; }

/* ---------- Catalog layout: sidebar + grid ---------- */
.catalog { display: grid; gap: 32px; }
@media (min-width: 1000px) { .catalog { grid-template-columns: 240px 1fr; } }
.filters { align-self: start; }
@media (min-width: 1000px) { .filters { position: sticky; top: calc(var(--header-h) - 12px); padding-right: 24px; border-right: 1px solid var(--border); } }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.filters__head h2 { margin: 0; font-size: 1rem; font-weight: 600; }
.filters__reset { padding: 0; border: 0; background: none; color: var(--primary); font-size: .8125rem; font-weight: 600; }
.filters__group { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); border-left: 0; border-right: 0; border-top: 0; }
.filters__group legend, .filters__label { margin-bottom: 8px; padding: 0; font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--heading); }
.filters__option { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .9375rem; cursor: pointer; }
.filters__option input { width: 17px; height: 17px; margin: 0; accent-color: var(--primary); }
.filters__option span:first-of-type { flex: 1; }
.filters__count { padding: 1px 6px; background: var(--surface-muted); font-size: .6875rem; color: var(--muted); }
.catalog__bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.catalog__bar h2 { margin: 0; }
.catalog__bar p { margin: 0; font-size: .8125rem; color: var(--muted); }
.catalog__sort { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; }
.catalog__sort .select { width: auto; min-width: 180px; min-height: 40px; font-size: .875rem; }
.catalog__search { position: relative; margin-bottom: 18px; }
.catalog__search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--soft); }
.catalog__search .input { padding-left: 40px; min-height: 40px; font-size: .875rem; }

/* ---------- Two-column quick list ("+ Add to Quote") ---------- */
.quick-lists { display: grid; gap: 8px 48px; }
@media (min-width: 900px) { .quick-lists { grid-template-columns: 1fr 1fr; } }
.quick-list h3 { margin: 18px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--border); font-size: 1rem; }
.quick-list ul { list-style: none; }
.quick-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9375rem; }
.quick-list li small { color: var(--muted); margin-left: 6px; }
.quick-add { flex-shrink: 0; padding: 0; border: 0; background: none; color: var(--primary); font-size: .9375rem; white-space: nowrap; }
.quick-add:hover { text-decoration: underline; }
.quick-add.is-added { color: var(--green); }

/* ---------- Media frame ---------- */
.media-frame { position: relative; aspect-ratio: 4 / 3; background: var(--surface-muted); border: 1px solid var(--border); overflow: hidden; }
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; padding: clamp(16px, 3vw, 32px); object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Empty state ---------- */
.empty-state { padding: 40px 24px; text-align: center; border: 1px dashed var(--border-strong); color: var(--muted); }
.empty-state .icon { font-size: 2.25rem; color: var(--soft); margin-bottom: 6px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--heading);
  color: #fff;
  font-size: .875rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .icon { color: #6ee7b7; }
.toast a { color: #fff; font-weight: 700; text-decoration: underline; margin-left: 6px; }

/* ---------- Prose ---------- */
.prose { line-height: 1.75; }
.prose h2 { font-size: 1.375rem; margin: 2em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.0625rem; margin: 1.6em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose .caps { font-size: .8125rem; }

/* ---------- Form page layout: info aside + form ---------- */
.form-layout { display: grid; gap: 32px; }
@media (min-width: 980px) { .form-layout { grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; } }
.form-aside h2 { margin-bottom: 8px; }
.form-aside > p { color: var(--muted); }
.form-aside .info-card + .info-card { margin-top: 12px; }

/* ---------- Numbered steps ---------- */
.steps { list-style: none; display: grid; gap: 0; margin: 20px 0; border: 1px solid var(--border); }
.steps li { display: flex; gap: 14px; padding: 16px 18px; background: #fff; }
.steps li + li { border-top: 1px solid var(--border); }
.steps__num { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .875rem; }
.steps strong { display: block; font-family: var(--font-head); color: var(--heading); }
.steps p { margin: 2px 0 0; font-size: .875rem; color: var(--muted); }

/* ==========================================================================
   Motion & hover polish
   ========================================================================== */

/* Inner page heading entrance */
.page-hero h1 { animation: fadeUp .7s var(--ease-out) both; }
.page-hero .lead { animation: fadeUp .7s var(--ease-out) .12s both; }
.page-hero .btn-row { animation: fadeUp .7s var(--ease-out) .22s both; }

/* Cards lift gently on hover */
.product-card, .mini-card, .icon-card, .info-card, .promo-box, .news-card, .story-card, .dist-card, .partner, .process__step, .link-card, .quote-card, .type-card, .download-card {
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out), opacity .7s var(--ease-out);
}
.product-card:hover, .mini-card:hover, .news-card:hover, .story-card:hover, .link-card:hover, .type-card:hover {
  transform: translateY(-4px);
  border-color: #c9d6e2;
  box-shadow: 0 14px 30px -12px rgba(31, 90, 135, .25);
}
.icon-card:hover, .info-card:hover, .dist-card:hover, .partner:hover, .process__step:hover, .quote-card:hover, .promo-box:hover {
  border-color: #c9d6e2;
  box-shadow: 0 10px 24px -14px rgba(31, 90, 135, .25);
}
/* (reveal + hover share transform: keep hover lift working after reveal) */
.js .reveal-up.is-in.product-card:hover, .js .reveal-up.is-in.mini-card:hover, .js .reveal-up.is-in.news-card:hover,
.js .reveal-up.is-in.story-card:hover, .js .reveal-up.is-in.link-card:hover, .js .reveal-up.is-in.type-card:hover { transform: translateY(-4px); }

.product-card__media img, .mini-card__media img, .news-card__media img, .story-card__img img, .type-card__media img { transition: transform .5s var(--ease-out); }
.product-card:hover .product-card__media img, .mini-card:hover .mini-card__media img, .type-card:hover .type-card__media img { transform: scale(1.06); }
.news-card:hover .news-card__media img, .story-card:hover .story-card__img img { transform: scale(1.05); }
.icon-card__icon .icon, .info-card > .icon { transition: transform .3s var(--ease-out); }
.icon-card:hover .icon-card__icon .icon, .info-card:hover > .icon { transform: translateY(-3px); }

/* "+ Add" buttons confirm with a tick */
.quick-add.is-added, .add-row.is-added { animation: fadeIn .3s both; }

/* Hospital logos: slow continuous scroll */
.logo-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 56px; animation: marquee 40s linear infinite; }
.logo-marquee__track img[aria-hidden="true"] { display: block; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee img { transition: filter .3s, opacity .3s; }
.logo-marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .logo-marquee__track img[aria-hidden="true"] { display: none; }
}

/* Tabs panel swap */
.tabs__panel:not([hidden]) { animation: fadeIn .35s var(--ease-out); }
.tabs__tab { transition: color .2s, box-shadow .25s var(--ease-out); }

/* Filtered items re-appearing */
[data-filter-item]:not([hidden]) { animation: fadeIn .35s var(--ease-out); }

/* ---------- Neuro pattie upsell strip ---------- */
.upsell__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .upsell__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .upsell__grid { grid-template-columns: repeat(4, 1fr); } }
.upsell-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.upsell-card:hover { border-color: #c9d6e2; box-shadow: 0 12px 26px -14px rgba(31, 90, 135, .28); }
@media (min-width: 1100px) { .upsell-card { flex-direction: column; } }
.upsell-card__img { position: relative; flex-shrink: 0; width: 96px; aspect-ratio: 1; background: var(--surface-muted); border: 1px solid var(--border); overflow: hidden; }
@media (min-width: 1100px) { .upsell-card__img { width: 100%; aspect-ratio: 16 / 9; } }
.upsell-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 10px; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease-out); }
.upsell-card:hover .upsell-card__img img { transform: scale(1.06); }
.upsell-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.upsell-card h3 { margin-bottom: 2px; font-size: 1rem; }
.upsell-card h3 a { color: var(--heading); }
.upsell-card p { margin: 0 0 10px; font-size: .75rem; color: var(--muted); }
.upsell-card__row { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: auto; }
.upsell-card__row .select { min-height: 36px; padding: 6px 30px 6px 10px; font-size: .75rem; background-position: right 10px center; }
.upsell-card__row .btn { padding: 0 12px; }
.upsell .section-title-row p { max-width: 720px; }

/* ---------- Mobile: collapsible catalog filters ---------- */
.filters__toggle { display: none; }
@media (max-width: 999px) {
  .filters__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--border-strong);
    background: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9375rem;
    color: var(--heading);
  }
  .filters__toggle .icon { transition: transform .2s; }
  .filters__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .filters__body { display: none; padding: 18px 16px 4px; border: 1px solid var(--border); border-top: 0; }
  .filters__body.is-open { display: block; animation: fadeIn .25s; }
  .catalog { gap: 20px; }
}

/* ---------- General small-screen polish ---------- */
@media (max-width: 599px) {
  .page-hero { padding-bottom: 24px; }
  .page-hero .breadcrumb { margin-bottom: 20px; }
  .page-hero .lead { font-size: 1rem; }
  .section-head--split { align-items: flex-start; }
  .panel { padding: 20px; }
  .cta-band { padding: 24px; }
  .icon-card { padding: 22px; }
  .product-card { padding: 18px; }
  .catalog__bar { align-items: flex-start; }
  .catalog__sort { width: 100%; }
  .catalog__sort .select { flex: 1; }
  .form .btn--lg { width: 100%; }
}

/* ==========================================================================
   Store components (American Surgical Products)
   ========================================================================== */
.product-card__meta s { margin-left: 4px; font-size: .8125rem; color: var(--muted); }
.product-card__meta strong.is-sale { color: var(--red); }
.product-card__stock--out { color: #b45309; }
.product-card__stock--out::before { background: #d97706; }
.product-card__media .badge { top: 8px; right: 8px; }

/* Full-bleed photos fill their frame; product shots on white stay contained */
.is-photo img, .media-frame.is-photo img { object-fit: cover !important; padding: 0 !important; mix-blend-mode: normal !important; }

.review-stars { display: flex; color: var(--primary); margin-bottom: 12px; }
.review-stars .icon { font-size: 18px; }
.quote-card .avatar {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--primary); color: #fff;
  font-family: var(--font-head); font-weight: 700;
}
.stats-note { margin: 12px 0 0; font-size: .75rem; color: var(--muted); }

/* Drape finder result card (home + drapes page) */
.finder-card__meta { margin: 4px 0 2px !important; color: var(--heading) !important; font-size: .875rem !important; }
.finder-card__meta .finder-card__price { font-family: var(--font-head); font-size: 1.25rem; }
.finder-card__meta s { color: var(--muted); }
.finder-card__stock { display: flex; align-items: center; gap: 6px; margin: 0 0 12px !important; color: var(--green) !important; font-weight: 600; font-size: .8125rem !important; }
.finder-card__stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-dot); }
.finder-card__stock.is-out { color: #b45309 !important; }
.finder-card__stock.is-out::before { background: #d97706; }
.finder-card--alt { opacity: .92; }
.finder__fields { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 560px) { .finder__fields { grid-template-columns: 1fr 1fr; } }
.finder__note { margin: 12px 0 0; font-size: .8125rem; color: var(--muted); }
.finder__note .icon { font-size: 1.1rem; color: var(--muted); }
.finder-card { display: flex; gap: 16px; margin-top: 16px; padding: 16px; background: #fff; border: 1px solid var(--border); animation: fadeUp .45s var(--ease-out) both; }
.finder-card__img { position: relative; flex-shrink: 0; width: 120px; aspect-ratio: 1; background: var(--surface-muted); border: 1px solid var(--border); overflow: hidden; }
.finder-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finder-card h4 { margin-bottom: 4px; font-size: 1.05rem; }
.finder-card__fit { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .8125rem; color: var(--green); font-weight: 600; }
.finder-card__fit .icon { font-size: 1.05rem; }
.finder-card .btn-row { gap: 8px; }
@media (max-width: 479px) { .finder-card { flex-direction: column; } .finder-card__img { width: 100%; aspect-ratio: 16 / 9; } }
.quote-card .review-stars span, .stars span { display: inline-block; color: var(--primary); }
