/*
Theme Name:        Specialty Supply
Theme URI:         https://example.com/
Author:            Specialty Supply
Author URI:        https://example.com/
Description:       TEMPLATE FILE — install.sh renames specialtysupply to project slug and substitutes __BUSINESS_*__ from .env.site-builder. Award-caliber FSE child theme for Twenty Twenty-Five. Built for the four ranking surfaces: classic SEO, AI search, AI snippet capture, and conversion.
Requires at least: 6.7
Tested up to:      7.0
Requires PHP:      8.2
Version:           0.5.1
License:           Proprietary
Template:          twentytwentyfive
Text Domain:       specialtysupply
Tags:              local-business, fse, child-theme
*/

/* ============================================================
 * STRUCTURAL BASE — extend with per-build cosmetic stylesheet.
 *
 * This file contains brand-AGNOSTIC architecture only:
 *   - CSS custom-property tokens (--color-*, --type-*, --motion-*, --space-*)
 *   - Skip-link a11y treatment
 *   - prefers-reduced-motion guards (root + reveal + smooth-scroll)
 *   - Mobile (<=767px) overflow guards (header nowrap + button rows)
 *   - Scroll-reveal observer styles (.specialtysupply-reveal)
 *   - FSE/Gutenberg type-binding architecture
 *
 * Stripped:
 *   - Per-page cosmetic copy styling
 *   - Topic/species-specific imagery rules
 *   - Hero/CTA/card cosmetic finish (lives in per-build stylesheet)
 *
 * Per-build palette + typography hex values come from
 * phase-4-design/brandkit.json — illustrative defaults below are
 * structurally meaningful but visually replaced per-build.
 * ============================================================ */

:root {
  /* === BRAND TOKENS — replace hex values per-build ====================== */
  /* Illustrative defaults: warm-violet + orange + cream. Replace at build time
     from design-system-tokens skill output. Slug names are stable. */
  --specialtysupply-brand-primary:        #0B0F0C;
  --specialtysupply-brand-primary-hover:  #166533;
  --specialtysupply-brand-primary-deep:   #0B0F0C;
  --specialtysupply-brand-lavender:       #ECE4FC;
  --specialtysupply-brand-accent:         #5BB07A;
  --specialtysupply-brand-accent-hover:   #E89C00;
  --specialtysupply-brand-accent-soft:    #E4EFE6;
  --specialtysupply-brand-surface:        #F6F8F4;
  --specialtysupply-brand-surface-warm:   #E4EFE6;
  --specialtysupply-brand-border:         #C5D9CC;
  --specialtysupply-brand-muted:          #4A5A50;
  --specialtysupply-brand-white:          #FFFFFF;

  /* Semantic aliases (prefer these in new components) */
  --specialtysupply-bg:          var(--specialtysupply-brand-surface);
  --specialtysupply-surface:     var(--specialtysupply-brand-white);
  --specialtysupply-text:        var(--specialtysupply-brand-primary);
  --specialtysupply-heading:     var(--specialtysupply-brand-primary);
  --specialtysupply-link:        var(--specialtysupply-brand-primary);
  --specialtysupply-link-hover:  var(--specialtysupply-brand-primary-hover);
  --specialtysupply-cta-bg:      var(--specialtysupply-brand-accent);
  --specialtysupply-cta-text:    var(--specialtysupply-brand-primary);
  --specialtysupply-cta-hover:   var(--specialtysupply-brand-accent-hover);
  --specialtysupply-dark-band:   var(--specialtysupply-brand-primary-hover);
  --specialtysupply-footer-bg:   var(--specialtysupply-brand-primary-deep);
  --specialtysupply-on-dark:     var(--specialtysupply-brand-surface-warm);
  --specialtysupply-success:     #2E7D32;
  --specialtysupply-danger:      #E04E2C;

  /* Type families — replace family names per-build via theme.json */
  --specialtysupply-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --specialtysupply-font-body:    'IBM Plex Sans', 'Helvetica Neue', system-ui, sans-serif;
  --specialtysupply-font-mono:    'IBM Plex Mono', 'SF Mono', Menlo, monospace;

  /* Motion tokens */
  --specialtysupply-ease-out:          cubic-bezier(0.2, 0.65, 0.3, 1);
  --specialtysupply-ease-out-quint:    cubic-bezier(0.22, 1, 0.36, 1);
  --specialtysupply-ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --specialtysupply-dur-fast:          180ms;
  --specialtysupply-dur-base:          280ms;
  --specialtysupply-dur-slow:          480ms;
  --specialtysupply-dur-cinematic:     1200ms;

  /* Shadow presets */
  --specialtysupply-shadow-soft:     0 1px 2px rgba(0,0,0,0.4);
  --specialtysupply-shadow-card:     0 12px 32px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
  --specialtysupply-shadow-elevated: 0 24px 60px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.3);
  --specialtysupply-shadow-glow:     0 0 32px rgba(91,176,122,0.25);

  /* === TYPE & SPACING LOCK — single source of truth =================== */
  /* Fluid type scale — rem-based, clamp() so one token spans mobile→desktop */
  --type-display: clamp(2.5rem, 1.6rem + 4vw, 4.4rem);       /* 40 → 70.4 — hero H1 */
  --type-h1:      clamp(2.25rem, 1.8rem + 2vw, 3.25rem);     /* 36 → 52 — page H1 */
  --type-h2:      clamp(2rem, 1.6rem + 1.4vw, 2.5rem);       /* 32 → 40 — section title */
  --type-h3:      clamp(1.25rem, 1.1rem + 0.5vw, 1.375rem);  /* 20 → 22 — sub heading */
  --type-h4:      clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); /* 18 → 20 */
  --type-body-lg: 1.1875rem;
  --type-body:    1.1875rem;
  --type-small:   0.875rem;
  --type-eyebrow: 0.8125rem;

  /* Line heights + tracking + weights */
  --lh-tight:  1.05;
  --lh-snug:   1.15;
  --lh-normal: 1.45;
  --lh-body:   1.6;
  --weight-h:        700;
  --weight-body:     400;
  --weight-eyebrow:  700;
  --tracking-h:        -0.015em;
  --tracking-tight:    -0.022em;
  --tracking-eyebrow:   0.16em;

  /* Spacing scale (4px base, 8 + 4 hybrid for fine control) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  5.6rem;
  --space-10: 7rem;

  /* Component rhythm */
  --section-pad-block: clamp(3rem, 1.5rem + 4vw, 5.6rem);
  --card-pad:          1.5rem 1.75rem;
  --stack-gap:         var(--space-5);
  --heading-gap:       var(--space-3);
  --grid-gap:          var(--space-5);

  /* Reading measure */
  --measure: 65ch;
}

/* ============================================================
 * BASE ELEMENT BINDING (token application layer)
 *
 * Bind body elements + major content components to the type/spacing tokens
 * above. Lower specificity than per-page surgery; equal-or-higher than
 * default theme rules so this is what wins by default. The `:not(.specialtysupply-...)`
 * exclusions exempt named utility strips + headers + footers from the
 * sitewide type binding (they manage their own scale).
 * ============================================================ */

.wp-site-blocks h1 {
  font-family: var(--specialtysupply-font-display);
  font-size: var(--type-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-h);
  font-weight: var(--weight-h);
}
.wp-site-blocks main h1.wp-block-heading {
  font-size: var(--type-h1) !important;
}
.wp-site-blocks main h2.wp-block-heading:not(.specialtysupply-trust-strip *):not(.specialtysupply-header *) {
  font-size: var(--type-h2) !important;
}
.wp-site-blocks main h3.wp-block-heading:not(.specialtysupply-trust-strip *):not(.specialtysupply-header *):not(.specialtysupply-faq__item *),
.wp-site-blocks main h3.wp-block-post-title:not(.specialtysupply-trust-strip *):not(.specialtysupply-header *) {
  font-size: var(--type-h3) !important;
}
.wp-site-blocks .specialtysupply-silo-hero h1,
.wp-site-blocks .specialtysupply-hero h1,
.wp-site-blocks .specialtysupply-hero__title,
.wp-site-blocks .specialtysupply-silo-hero__title {
  font-size: var(--type-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
}
.wp-site-blocks h2:not(.specialtysupply-trust-strip *):not(.specialtysupply-header *) {
  font-family: var(--specialtysupply-font-display);
  font-size: var(--type-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-h);
  font-weight: var(--weight-h);
}
.wp-site-blocks h3:not(.specialtysupply-trust-strip *):not(.specialtysupply-header *) {
  font-family: var(--specialtysupply-font-display);
  font-size: var(--type-h3);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-h);
  font-weight: var(--weight-h);
}
.wp-site-blocks h4:not(.specialtysupply-trust-strip *):not(.specialtysupply-header *):not(.specialtysupply-footer *) {
  font-family: var(--specialtysupply-font-display);
  font-size: var(--type-h4);
  line-height: var(--lh-snug);
  font-weight: var(--weight-h);
}
.wp-site-blocks main p,
.wp-site-blocks main li,
.wp-site-blocks .wp-block-post-content p,
.wp-site-blocks .wp-block-post-content li,
.wp-site-blocks .specialtysupply-section p,
.wp-site-blocks .specialtysupply-section li {
  font-size: var(--type-body);
  line-height: var(--lh-body);
}
/* Repair: utility strips + cards + hero keep their own type scale so the
   broad `main p` binding doesn't clobber them. */
.wp-site-blocks .specialtysupply-trust-strip p,
.wp-site-blocks .specialtysupply-trust-strip li,
.wp-site-blocks .specialtysupply-credentials-strip p,
.wp-site-blocks .specialtysupply-credentials-strip li,
.wp-site-blocks .specialtysupply-header p,
.wp-site-blocks .specialtysupply-header li,
.wp-site-blocks .specialtysupply-footer p,
.wp-site-blocks .specialtysupply-footer li,
.wp-site-blocks .specialtysupply-silo-hero p,
.wp-site-blocks .specialtysupply-hero p,
.wp-site-blocks .specialtysupply-article-hero p,
.wp-site-blocks .specialtysupply-featurable-review p,
.wp-site-blocks .specialtysupply-author-card p,
.wp-site-blocks .specialtysupply-byline-card p,
.wp-site-blocks .specialtysupply-step p,
.wp-site-blocks .specialtysupply-faq__item p {
  font-size: inherit;
  line-height: inherit;
}
/* Repair (after inherit, so it wins specificity tie): named eyebrow paragraphs
   keep their token-driven eyebrow size. */
.wp-site-blocks p.specialtysupply-trust-strip__eyebrow,
.wp-site-blocks p.specialtysupply-section-header__eyebrow,
.wp-site-blocks p.specialtysupply-silo-hero__eyebrow,
.wp-site-blocks p.specialtysupply-article-hero__eyebrow {
  font-size: var(--type-eyebrow);
  line-height: var(--lh-normal);
}
/* Measure cap on long-form body text — exempt UI components and cards */
.wp-site-blocks main p:not([class*="specialtysupply-"] *):not(.has-text-align-center),
.wp-site-blocks .wp-block-post-content > p,
.wp-site-blocks .wp-block-post-content > ul,
.wp-site-blocks .wp-block-post-content > ol,
.wp-site-blocks .specialtysupply-section-header__sub {
  max-width: var(--measure);
}
.wp-site-blocks small,
.wp-site-blocks .specialtysupply-small {
  font-size: var(--type-small);
  line-height: var(--lh-normal);
}
.wp-site-blocks .specialtysupply-eyebrow,
.wp-site-blocks .specialtysupply-section-header__eyebrow,
.wp-site-blocks .specialtysupply-silo-hero__eyebrow {
  font-family: var(--specialtysupply-font-mono);
  font-size: var(--type-eyebrow);
  font-weight: var(--weight-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

/* Section band rhythm — canonical, applied to named FSE section bands
   sitewide. Excluded: header, footer, trust-strip, credentials-strip
   (they manage their own padding). */
.wp-site-blocks .specialtysupply-section,
.wp-site-blocks .wp-block-group.alignfull[class*="specialtysupply-"][class*="-section"]:not(.specialtysupply-trust-strip):not(.specialtysupply-credentials-strip):not(.specialtysupply-header):not(.specialtysupply-footer),
.wp-site-blocks .specialtysupply-cta-band {
  padding-block: var(--section-pad-block);
}

/* Canonical card padding — unify utility cards */
.wp-site-blocks .specialtysupply-step,
.wp-site-blocks .specialtysupply-card,
.wp-site-blocks .specialtysupply-area-card,
.wp-site-blocks .specialtysupply-pricing-card {
  padding: var(--card-pad);
}

/* ============================================================
 * Reduced-motion respect (root)
 *
 * Honor prefers-reduced-motion sitewide — collapse animation duration to
 * effectively zero, kill smooth scroll. R4 brief: this needs to be at root
 * so it covers third-party scripts + WP-core animations too.
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
 * Skip link — a11y AAA requirement
 *
 * Brand-styled focus treatment. Renders via wp_body_open in functions.php.
 * The WP-core duplicate is stripped server-side (see functions.php).
 * ============================================================ */
.specialtysupply-skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--specialtysupply-brand-accent);
  color: var(--specialtysupply-brand-primary);
  padding: 1rem 1.5rem;
  font-family: var(--specialtysupply-font-body);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--specialtysupply-dur-fast) var(--specialtysupply-ease-out);
}
.specialtysupply-skip-link:focus {
  top: 0;
}

/* ============================================================
 * Hero — full-bleed alignfull override
 *
 * FSE alignfull is constrained by contentSize on some block templates.
 * Force true viewport width on the section while keeping inner content
 * at wideSize. Pair with the per-build hero cosmetic stylesheet.
 * ============================================================ */
.specialtysupply-hero.alignfull,
.specialtysupply-hero.wp-block-group.alignfull {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  position: relative;
  overflow: hidden;
}
.specialtysupply-hero.alignfull > .wp-block-group {
  max-width: var(--wp--style--global--wide-size, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}
.specialtysupply-hero .specialtysupply-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Reduced-motion: stop hero autoplay video (was a multi-MB stream for
   reduced-motion users — WCAG fail). `display:none` collapses the element
   before metadata commits so the browser also stops fetching. */
@media (prefers-reduced-motion: reduce) {
  .specialtysupply-hero .specialtysupply-hero__video,
  .specialtysupply-hero-v3 .herovid {
    display: none;
  }
}

/* ============================================================
 * Mobile-overflow guards (<=767px)
 *
 * Mobile QA flagged ~457px doc width at 390 viewport across multiple builds.
 * Two systemic offenders:
 *   (1) `wp-block-group.is-nowrap` containers (header CTA row) refusing to
 *       wrap, pushing the schedule-CTA past the right edge.
 *   (2) Tables on long-form articles rendering wider than viewport.
 * Force wrap on the nowrap pill rows + clamp the header row so neither
 * widens the page. !important because Gutenberg ships per-container
 * inline `.wp-container-core-group-…` rules nailing `flex-wrap:nowrap`.
 * ============================================================ */
@media (max-width: 767px) {
  .wp-site-blocks .wp-block-group.is-nowrap.is-layout-flex,
  .wp-site-blocks .wp-block-buttons.is-layout-flex,
  .specialtysupply-header__row1 > .wp-block-group.is-layout-flex,
  .specialtysupply-header__row1 .wp-block-group.is-nowrap.is-layout-flex {
    flex-wrap: wrap !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .specialtysupply-header__row1,
  .specialtysupply-header__row1 > .wp-block-group {
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .specialtysupply-header__row1 .wp-block-buttons,
  .specialtysupply-header__row1 .wp-block-button,
  .specialtysupply-header__row1 .wp-block-button__link {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Tables: horizontal-scroll wrapper so long-form article tables never
     widen the viewport. Pair with a per-build `.scroll-wrapper` HTML
     wrapper or rely on the overflow on the table itself. */
  .wp-site-blocks .wp-block-post-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}

/* ============================================================
 * Scroll reveal (intersection-observer driven)
 *
 * The specialtysupply-scroll-reveal mu-plugin enqueues a small IO script
 * that adds .is-visible to .specialtysupply-reveal elements on entry. These
 * are the structural transition rules; reduced-motion users skip the
 * animation entirely and see the final state immediately.
 * ============================================================ */
.specialtysupply-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.specialtysupply-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .specialtysupply-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Smooth scroll — auto-fallback for reduced-motion users */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/* ============================================================
 * DESIGN-SPEC.md token system + Phase 1 components
 * ============================================================ */
:root {
  --ss-green: #166533;
  --ss-green-light: #5BB07A;
  --ss-green-wash: #E4EFE6;
  --ss-green-ink: #0B2E18;
  --ss-black: #0B0F0C;
  --ss-charcoal: #1E1E1E;
  --ss-white: #FFFFFF;
  --ss-off: #F6F8F4;
  --ss-amber: #E0A93E;
  --ss-danger: #B4552D;
  --ss-border-light: rgba(22, 101, 51, 0.25);
  --ss-border-dark: rgba(91, 176, 122, 0.25);
}
body { font-size: 16px; line-height: 1.6; }
h1, h2, h3, .specialtysupply-hero__title {
  font-family: var(--wp--preset--font-family--display, 'Playfair Display', serif);
}
/* announcement bar (MVP pattern, green) */
/* utility topbar (Gemstar pattern, green) */
.specialtysupply-topbar {
  background: var(--ss-green); color: var(--ss-white);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  justify-content: space-between; align-items: center;
  padding: 0.4rem 1.5rem; font-size: 0.8125rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.specialtysupply-topbar a { color: var(--ss-white); text-decoration: none; }
.specialtysupply-topbar a:hover { text-decoration: underline; }
/* charcoal nav row */
.specialtysupply-header { background: var(--ss-charcoal); }
.specialtysupply-header .wp-block-navigation .wp-block-navigation-item__label {
  text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; font-size: 0.8125rem;
}
.specialtysupply-header__row2 { background: var(--ss-charcoal); }
.specialtysupply-header__row2 a { color: var(--ss-white); }
.specialtysupply-header__row2 a:hover { color: var(--ss-green-light); }
.specialtysupply-svc-pills__eyebrow { color: var(--ss-green-light) !important; }
/* pill CTA */
.specialtysupply-pill-cta {
  display: inline-block; background: var(--ss-green); color: var(--ss-white);
  border-radius: 999px; padding: 0.625rem 1.25rem; font-weight: 700;
  font-size: 0.875rem; text-decoration: none; letter-spacing: 0.01em;
}
.specialtysupply-pill-cta:hover { background: var(--ss-green-ink); color: var(--ss-white); }
/* hero */
.specialtysupply-hero__eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8125rem;
  color: var(--ss-green-light); font-weight: 700;
}
.specialtysupply-hero__title { color: var(--ss-white); font-size: clamp(2.4rem, 5vw, 4rem); margin: 0.5rem 0; }
.specialtysupply-hero__sub { color: var(--ss-white); max-width: 44rem; font-size: 1.125rem; }
.specialtysupply-hero__trust { color: var(--ss-white); }
.specialtysupply-hero__trust .stars { color: var(--ss-amber); }
.specialtysupply-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.specialtysupply-hero__cta {
  display: inline-block; padding: 0.875rem 1.75rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1rem;
}
.specialtysupply-hero__cta--primary { background: var(--ss-green); color: var(--ss-white); }
.specialtysupply-hero__cta--primary:hover { background: var(--ss-green-ink); }
.specialtysupply-hero__cta--secondary {
  border: 2px solid var(--ss-white); color: var(--ss-white); background: transparent;
}
.specialtysupply-hero__cta--secondary:hover { background: rgba(255, 255, 255, 0.12); }
/* brand carousel on --ss-black */
.specialtysupply-brand-carousel { background: var(--ss-black); }
.specialtysupply-brand-carousel__track img { filter: grayscale(1); transition: filter 0.25s ease; }
.specialtysupply-brand-carousel__track a:hover img { filter: grayscale(0); }
/* reviews block on green wash */
.specialtysupply-reviews {
  background: var(--ss-green-wash); border-radius: 16px; padding: 2.5rem;
}
.specialtysupply-reviews__score {
  font-family: var(--wp--preset--font-family--display, serif);
  font-size: 3.5rem; line-height: 1; color: var(--ss-green-ink);
}
.specialtysupply-reviews .stars { color: var(--ss-amber); font-size: 1.25rem; letter-spacing: 0.15em; }
.specialtysupply-reviews blockquote {
  border-left: 4px solid var(--ss-green); margin: 1rem 0; padding-left: 1rem;
}
/* footer on --ss-black */
.specialtysupply-footer { background: var(--ss-black) !important; }
.specialtysupply-footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem; max-width: 1320px; margin: 0 auto;
}
.specialtysupply-footer__heading {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8125rem;
  font-weight: 700; color: var(--ss-green-light); margin-bottom: 0.75rem;
}
.specialtysupply-footer__list { list-style: none; padding: 0; margin: 0; }
.specialtysupply-footer__list li { margin: 0.4rem 0; }
.specialtysupply-footer__list a { color: var(--ss-white); text-decoration: none; font-size: 0.9375rem; }
.specialtysupply-footer__list a:hover { color: var(--ss-green-light); }
.specialtysupply-footer__nap { font-style: normal; color: var(--ss-white); margin-top: 1rem; }
.specialtysupply-footer__nap a { color: var(--ss-green-light); }
.specialtysupply-footer__legal { border-top: 1px solid var(--ss-border-dark); margin-top: 2.5rem; padding-top: 1.25rem; color: var(--ss-white); opacity: 0.7; }
/* floating pill + scroll-top */
.specialtysupply-float-pill {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 60;
  background: var(--ss-green); color: var(--ss-white); border-radius: 999px;
  padding: 0.75rem 1.375rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 18px rgba(11, 46, 24, 0.35); font-size: 0.9375rem;
}
.specialtysupply-float-pill:hover { background: var(--ss-green-ink); color: var(--ss-white); }
.specialtysupply-scroll-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%; background: var(--ss-charcoal);
  color: var(--ss-white); display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 1.125rem;
}
/* brand page dark hero band */
.specialtysupply-brand-band {
  background: var(--ss-black); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; padding: 2.5rem;
}
.specialtysupply-brand-band img { max-height: 96px; width: auto; }
/* category card grid (light ground, green borders) */
.specialtysupply-category-card { border-color: var(--ss-border-light) !important; }
.specialtysupply-category-card:hover { border-color: var(--ss-green) !important; }

/* Header actions cluster (phone + two-track CTAs) + nav wrap control */
.specialtysupply-header .wp-block-navigation .wp-block-navigation-item__label { white-space: nowrap; }
.specialtysupply-header__actions { display: flex; align-items: center; gap: 0.875rem; flex-wrap: nowrap; }
.specialtysupply-header__phone { color: var(--ss-white); text-decoration: none; font-weight: 600; font-size: 0.875rem; white-space: nowrap; }
.specialtysupply-header__phone:hover { color: var(--ss-green-light); }
.specialtysupply-pill-cta--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; white-space: nowrap; }
.specialtysupply-pill-cta--outline {
  display: inline-block; border: 2px solid var(--ss-white); color: var(--ss-white);
  border-radius: 999px; padding: 0.4rem 1rem; font-weight: 700; font-size: 0.8125rem;
  text-decoration: none; white-space: nowrap;
}
.specialtysupply-pill-cta--outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--ss-white); }
@media (max-width: 1300px) {
  .specialtysupply-header .wp-block-navigation { font-size: 0.8125rem; }
  .specialtysupply-header__phone { display: none; }
}
@media (max-width: 1120px) {
  .specialtysupply-pill-cta--outline { display: none; }
}

/* Header width budget: no horizontal page scroll at any width */
html, body { overflow-x: clip; }
.specialtysupply-header__row1 > .wp-block-group { flex-wrap: nowrap; min-width: 0; width: 100%; }
.specialtysupply-header__row1 .wp-block-navigation { min-width: 0; }
.specialtysupply-header__actions { flex-shrink: 0; }
.specialtysupply-header__tagline { display: none; }              /* topbar + announcement already carry it */
@media (min-width: 1560px) { .specialtysupply-header__tagline { display: block; } }
@media (max-width: 1300px) {
  .specialtysupply-header .wp-block-navigation { gap: 0.9rem; }
  .specialtysupply-header__logo img { height: 54px !important; }
}
@media (max-width: 1120px) {
  .specialtysupply-header .wp-block-navigation { font-size: 0.75rem; gap: 0.7rem; }
  .specialtysupply-pill-cta--sm { padding: 0.45rem 0.8rem; font-size: 0.75rem; }
}

/* Width reclaim: stop nav spilling left under the logo (justify-right overflow) */
.specialtysupply-header__brand { flex-shrink: 0; }
.specialtysupply-header .wp-block-navigation { font-size: 0.8125rem; gap: 0.9rem; justify-content: flex-end; }
.specialtysupply-header__phone { display: none; }
@media (min-width: 1500px) { .specialtysupply-header__phone { display: inline; } }
.specialtysupply-pill-cta--outline { display: none; }
@media (min-width: 1300px) { .specialtysupply-pill-cta--outline { display: inline-block; } }
@media (max-width: 1120px) {
  .specialtysupply-header .wp-block-navigation { font-size: 0.72rem; gap: 0.6rem; }
  .specialtysupply-header__logo img { height: 48px !important; }
}

/* FINAL header width budget (later cascade wins). Baseline: single green pill;
   phone + outline CTA only on very wide screens; nav metrics step down. */
.specialtysupply-header__phone { display: none !important; }
.specialtysupply-pill-cta--outline { display: none !important; }
@media (min-width: 1700px) {
  .specialtysupply-header__phone { display: inline !important; }
  .specialtysupply-pill-cta--outline { display: inline-block !important; }
}
.specialtysupply-header .wp-block-navigation { font-size: 0.78rem; gap: 0.8rem; letter-spacing: 0.01em; }
@media (max-width: 1300px) {
  .specialtysupply-header__logo img { height: 54px !important; }
  .specialtysupply-header .wp-block-navigation { font-size: 0.72rem; gap: 0.6rem; letter-spacing: 0; }
}
@media (max-width: 1120px) {
  .specialtysupply-pill-cta--sm { display: none; }
  .specialtysupply-header__logo img { height: 48px !important; }
}

/* Label-level nav type steps (the label rule beats nav-level inheritance) */
@media (max-width: 1300px) {
  .specialtysupply-header .wp-block-navigation .wp-block-navigation-item__label { font-size: 0.72rem; letter-spacing: 0; }
}
@media (max-width: 1120px) {
  .specialtysupply-header .wp-block-navigation .wp-block-navigation-item__label { font-size: 0.68rem; }
}

/* ============================================================
 * DESIGN ELEVATION PASS (2026-08-25) — card language + section
 * containers per DESIGN-SPEC. Tokens only; flat band edges.
 * ============================================================ */

/* --- Section bands: every full-width strip gets a deliberate ground --- */
.ss-band { padding: 4.5rem 1.5rem; }
.ss-band > .ss-band__inner, .ss-band > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.ss-band--white { background: var(--ss-white); color: var(--ss-black); }
.ss-band--off { background: var(--ss-off); color: var(--ss-black); }
.ss-band--dark { background: var(--ss-black); color: var(--ss-white); }
.ss-band--wash { background: var(--ss-green-wash); color: var(--ss-green-ink); }
.ss-band--textured {
  background-image: linear-gradient(rgba(11, 15, 12, 0.88), rgba(11, 15, 12, 0.88)),
    url('/wp-content/uploads/store/warehouse-racks-1600.webp');
  background-size: cover; background-position: center;
  color: var(--ss-white);
}

/* --- Section head: eyebrow + serif headline + green italic accent --- */
.ss-section-head { margin-bottom: 2.25rem; }
.ss-section-head__eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem;
  font-weight: 700; color: var(--ss-green); margin: 0 0 0.75rem;
}
.ss-band--dark .ss-section-head__eyebrow, .ss-band--textured .ss-section-head__eyebrow { color: var(--ss-green-light); }
.ss-section-head__eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.ss-section-head h2 {
  font-family: var(--wp--preset--font-family--display, 'Playfair Display', serif);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.15; margin: 0;
}
.ss-section-head em {
  font-style: italic; color: var(--ss-green);
}
.ss-band--dark .ss-section-head em, .ss-band--textured .ss-section-head em { color: var(--ss-green-light); }

/* --- Category cards: Gemstar card language, photo header band --- */
.ss-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.ss-card {
  display: flex; flex-direction: column; background: var(--ss-charcoal);
  border: 1px solid var(--ss-border-dark); border-radius: 14px; overflow: hidden;
  text-decoration: none; color: var(--ss-white);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.ss-card:hover { transform: translateY(-4px); border-color: var(--ss-green-light); box-shadow: 0 14px 30px rgba(11, 15, 12, 0.35); }
.ss-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ss-black); }
.ss-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.ss-card:hover .ss-card__media img { transform: scale(1.04); }
.ss-card__body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.ss-card__title {
  font-family: var(--wp--preset--font-family--display, 'Playfair Display', serif);
  font-size: 1.25rem; color: var(--ss-white); margin: 0; line-height: 1.25;
  background-image: linear-gradient(var(--ss-green-light), var(--ss-green-light));
  background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 100%;
  transition: background-size 0.25s ease; padding-bottom: 3px; width: fit-content;
}
.ss-card:hover .ss-card__title { background-size: 100% 2px; }
.ss-card__desc { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.78); margin: 0; }
.ss-card__arrow { margin-top: auto; padding-top: 0.5rem; color: var(--ss-green-light); font-weight: 700; font-size: 0.9375rem; }

/* --- Brand cards (hub): product panel + logo strip --- */
.ss-brand-card { text-align: center; }
.ss-brand-card .ss-card__media { background: var(--ss-white); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.ss-brand-card .ss-card__media img { object-fit: contain; }
.ss-brand-card__logo { padding: 0.9rem; display: flex; align-items: center; justify-content: center; min-height: 64px; }
.ss-brand-card__logo img { max-height: 34px; width: auto; }
.ss-brand-card__logo span { color: var(--ss-white); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.9375rem; }

/* --- Q&A blocks: contained, green-check language --- */
.specialtysupply-faq-item {
  background: var(--ss-white); border: 1px solid var(--ss-border-light);
  border-radius: 12px; padding: 1.25rem 1.5rem 1rem; margin-bottom: 1rem;
}
.specialtysupply-faq-item h3 {
  display: flex; gap: 0.6rem; align-items: baseline;
  font-size: 1.125rem; margin: 0 0 0.5rem;
}
.specialtysupply-faq-item h3::before { content: "✓"; color: var(--ss-green); font-weight: 700; flex-shrink: 0; }
.specialtysupply-faq-item p { margin: 0 0 0.5rem; }

/* --- Trust strip: big serif numerals band --- */
.specialtysupply-trust-strip { border-top: 1px solid var(--ss-border-light); border-bottom: 1px solid var(--ss-border-light); background: var(--ss-off) !important; }
.specialtysupply-trust-strip__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; max-width: 1200px; margin: 0 auto; }
.specialtysupply-trust-strip__item { flex: 1 1 160px; text-align: center; }
.specialtysupply-trust-strip__value {
  display: block; font-family: var(--wp--preset--font-family--display, 'Playfair Display', serif);
  font-size: clamp(2rem, 3.4vw, 2.75rem); color: var(--ss-green-ink); line-height: 1.1;
}
.specialtysupply-trust-strip__suffix { font-size: 1rem; color: var(--ss-green); margin-left: 0.2rem; }
.specialtysupply-trust-strip__label { display: block; margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; color: var(--ss-muted, #4A5A50); }
.specialtysupply-trust-strip__eyebrow { display: none; }

/* --- Split bands (wholesale: photo | copy) --- */
.ss-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 880px) { .ss-split { grid-template-columns: 1fr; } }
.ss-split img { border-radius: 14px; width: 100%; height: auto; }

/* --- Visit band: three-part --- */
.ss-visit { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 1000px) { .ss-visit { grid-template-columns: 1fr; } }
.ss-visit figure, .ss-visit iframe { border-radius: 12px; overflow: hidden; margin: 0; }

/* --- Reviews (wash band) refinement --- */
.specialtysupply-reviews { background: transparent; padding: 0; }

/* --- Page-top still band on subpages --- */
.ss-page-still { border-radius: 14px; overflow: hidden; margin: 0 0 1rem; }
.ss-page-still img { width: 100%; height: auto; display: block; }


/* ============================================================
 * COMPONENT PRIMITIVES (Phase 4 addendum) — shadcn restraint,
 * our green. One radius (10px), one soft shadow, token colors.
 * ============================================================ */
:root { --ss-radius: 10px; --ss-shadow: 0 2px 10px rgba(11, 15, 12, 0.08); --ss-shadow-dark: 0 2px 12px rgba(0, 0, 0, 0.30); }

/* Radius unification */
.ss-card, .ss-page-still, .ss-split img, .ss-visit figure, .ss-visit iframe,
.specialtysupply-faq-item, .ss-acc,
.wp-block-table table, .ss-callout, .direct-answer { border-radius: var(--ss-radius) !important; }
.ss-card { box-shadow: var(--ss-shadow-dark); }

/* Card variants: white card on light bands, charcoal keeps photo cards */
.ss-card--light { background: var(--ss-white); color: var(--ss-black); border: 1px solid var(--ss-border-light); box-shadow: var(--ss-shadow); }
.ss-card--light .ss-card__title { color: var(--ss-black); }
.ss-card--light .ss-card__desc { color: var(--ss-muted, #4A5A50); }
.ss-card--light .ss-card__arrow { color: var(--ss-green); }
.ss-icon-card { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.ss-icon-card .ss-icon { color: var(--ss-green); }

/* Badge / chip */
.ss-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--ss-green-wash); color: var(--ss-green-ink);
  border: 1px solid var(--ss-border-light); border-radius: 999px;
  padding: 0.25rem 0.75rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
}
.ss-band--dark .ss-chip, .ss-band--textured .ss-chip, .ss-chip--dark {
  background: rgba(91, 176, 122, 0.14); color: var(--ss-green-light); border-color: var(--ss-border-dark);
}
.ss-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }

/* Callout: every speakable direct-answer gets a visible container */
p.direct-answer {
  background: var(--ss-green-wash); color: var(--ss-green-ink);
  border-left: 3px solid var(--ss-green); padding: 1rem 1.25rem; margin: 1.25rem 0;
}
.ss-band--wash p.direct-answer { background: rgba(255, 255, 255, 0.65); }
.specialtysupply-faq-item p.direct-answer, .ss-acc p.direct-answer {
  background: transparent; border-left: 0; padding: 0; margin: 0 0 0.5rem; color: inherit;
}

/* Accordion (native details/summary, no JS) */
.ss-acc { background: var(--ss-white); border: 1px solid var(--ss-border-light); margin-bottom: 0.75rem; overflow: hidden; }
.ss-acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.6rem;
  padding: 1rem 1.25rem; font-weight: 600; font-size: 1.05rem;
  font-family: var(--wp--preset--font-family--display, serif);
}
.ss-acc summary::-webkit-details-marker { display: none; }
.ss-acc summary::before { content: "✓"; color: var(--ss-green); font-weight: 700; }
.ss-acc summary::after {
  content: ""; margin-left: auto; width: 9px; height: 9px; flex-shrink: 0;
  border-right: 2px solid var(--ss-green); border-bottom: 2px solid var(--ss-green);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.ss-acc[open] summary::after { transform: rotate(225deg); }
.ss-acc[open] summary { border-bottom: 1px solid var(--ss-border-light); }
.ss-acc__body { padding: 1rem 1.25rem; }

/* Icons (inline Lucide, currentColor) */
.ss-icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: -0.25em; }
.ss-icon--lg { width: 24px; height: 24px; }
.ss-band--dark .ss-icon, .ss-band--textured .ss-icon { color: var(--ss-green-light); }
.ss-iconrow { display: flex; align-items: center; gap: 0.6rem; margin: 0.4rem 0; }

/* Buttons: two variants, radius matches cards for in-content buttons */
.wp-block-button__link { border-radius: var(--ss-radius) !important; box-shadow: var(--ss-shadow); }
.ss-section-head__desc { color: var(--ss-muted, #4A5A50); margin: 0.6rem 0 0; font-size: 1rem; max-width: 46rem; }
.ss-band--dark .ss-section-head__desc, .ss-band--textured .ss-section-head__desc { color: rgba(255, 255, 255, 0.72); }

/* Card with bottom-aligned button */
.ss-card__body .wp-block-buttons, .ss-card__btn { margin-top: auto; padding-top: 0.75rem; }
.ss-card__btn a { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--ss-green); color: var(--ss-white); border-radius: var(--ss-radius); padding: 0.6rem 1.1rem; font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.ss-card__btn a:hover { background: var(--ss-green-ink); }

/* ============================================================
 * HERO v2 (reference-adapted, locked rules resolved)
 * ============================================================ */
.ss-hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ss-black); color: #ffffff; overflow: hidden;
  margin-top: calc(-1 * var(--ss-hdr, 120px));
  padding-top: var(--ss-hdr, 120px);
}
.ss-hero__media { position: absolute; inset: 0; }
.ss-hero__media img, .ss-hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ss-hero__media video { opacity: 0; transition: opacity 1s ease; }
.ss-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.6) 30%, rgba(0,0,0,.6) 70%, rgba(0,0,0,.75) 100%);
}
.ss-hero__content {
  position: relative; z-index: 2; text-align: center;
  max-width: 1100px; margin: auto auto 0; padding: 2rem 1.5rem 0;
  flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center;
}
.ss-hero__title {
  font-family: var(--wp--preset--font-family--display, 'Playfair Display', serif);
  font-weight: 600; font-size: clamp(34px, 4vw, 74px);
  line-height: 1.11; letter-spacing: -0.012em; color: #ffffff; margin: 0;
}
.ss-hero__line { display: block; }
.ss-hero__sub {
  font-family: Inter, sans-serif; font-weight: 300; font-size: 16px;
  line-height: 1.5; color: rgba(255,255,255,.7);
  max-width: 680px; margin: clamp(12px, 1.4vw, 24px) auto 0;
}
.ss-hero__ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: clamp(22px, 2.3vw, 42px);
}
.ss-hero__cta {
  font-family: Inter, sans-serif; font-weight: 500;
  font-size: clamp(14px, 1.13vw, 20px);
  padding: clamp(12px, .97vw, 18px) clamp(18px, 1.62vw, 30px);
  border-radius: 15px; text-decoration: none; transition: background 0.25s ease;
}
.ss-hero__cta--solid { background: #ffffff; color: var(--ss-black); }
.ss-hero__cta--solid:hover { background: var(--ss-green-wash); color: var(--ss-black); }
.ss-hero__cta--glass, .ss-glass-pill {
  background: rgba(255,255,255,.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.35); color: #ffffff; box-shadow: none;
}
.ss-hero__cta--glass:hover, .ss-glass-pill:hover { background: rgba(255,255,255,.16); color: #ffffff; }
.ss-hero__stats {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(20px, 9vw, 150px) clamp(28px, 4vh, 56px);
  column-gap: clamp(32px, 4vw, 80px); row-gap: 1.5rem;
  margin-top: clamp(40px, 6vh, 90px); text-align: center;
}
@media (max-width: 720px) { .ss-hero__stats { grid-template-columns: repeat(2, 1fr); } }
.ss-hero__num {
  display: block; font-family: 'IBM Plex Mono', Menlo, monospace; font-weight: 500;
  font-size: clamp(26px, 2.6vw, 46px); letter-spacing: -0.02em; color: #ffffff;
}
.ss-hero__label {
  display: block; font-family: Inter, sans-serif; font-weight: 300;
  font-size: clamp(13px, 1.13vw, 20px); color: #e8e6e4;
  margin-top: clamp(6px, 0.6vw, 10px);
}

/* Load animation: word-by-word reveal, fully disabled for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .ss-hero .w { display: inline-block; opacity: 0; transform: translateY(16px); filter: blur(8px);
    animation: ssWordIn .7s cubic-bezier(.22,.61,.36,1) forwards; animation-delay: var(--d, 0s); }
  .ss-hero__sub .w { animation-duration: .6s; }
  .ss-hero__ctas { opacity: 0; transform: translateY(20px);
    animation: ssRiseIn .8s cubic-bezier(.22,.61,.36,1) forwards; animation-delay: var(--d, 1.95s); }
  .ss-hero__stat { opacity: 0; transform: translateY(20px);
    animation: ssRiseIn .8s cubic-bezier(.22,.61,.36,1) forwards; animation-delay: var(--d, 2.1s); }
  .specialtysupply-topbar, .specialtysupply-header__row1, .specialtysupply-header__row2 {
    opacity: 0; transform: translateY(-8px); animation: ssRiseIn .6s ease forwards; }
  .specialtysupply-topbar { animation-delay: .15s; }
  .specialtysupply-header__row1 { animation-delay: .25s; }
  .specialtysupply-header__row2 { animation-delay: .35s; }
}
@keyframes ssWordIn { to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes ssRiseIn { to { opacity: 1; transform: translateY(0); } }

/* Header over the hero: transparent on the front page until scrolled */
.home .specialtysupply-header { background: transparent !important; border-bottom-color: transparent; transition: background 0.3s ease; }
.home .specialtysupply-header .specialtysupply-header__row2 { background: transparent; border-top-color: transparent; }
.home .specialtysupply-header.is-scrolled,
.home .specialtysupply-header.is-scrolled .specialtysupply-header__row2 {
  background: rgba(30, 30, 30, 0.82) !important;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
/* Header phone CTA: glass pill */
.specialtysupply-header__actions .ss-glass-pill {
  border-radius: 999px; padding: 0.5rem 1.1rem; font-weight: 600; font-size: 0.875rem;
  text-decoration: none; white-space: nowrap; display: inline-block;
}

/* Burger below 1120px (core's mobile pattern at our breakpoint) */
@media (max-width: 1120px) {
  .specialtysupply-header .wp-block-navigation__responsive-container-open { display: flex !important; }
  .specialtysupply-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
}
@media (min-width: 1121px) {
  .specialtysupply-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none !important; }
}

/* Header action visibility (final): glass phone >=1300, green pill >=1450 */
.specialtysupply-header__actions .ss-glass-pill { display: none; }
@media (min-width: 1300px) { .specialtysupply-header__actions .ss-glass-pill { display: inline-block; } }
.specialtysupply-pill-cta--sm { display: none; }
@media (min-width: 1450px) { .specialtysupply-pill-cta--sm { display: inline-block; } }
/* Non-home pages: hero band absent, no negative pull */
body:not(.home) .ss-hero { margin-top: 0; padding-top: 0; }

/* Hero tuck: beat the constrained-layout first-child margin reset */
.home .ss-hero { margin-top: calc(-1 * var(--ss-hdr, 120px)) !important; }
/* Front-page transparent rows need to outrank preset !important */
.home .specialtysupply-header .specialtysupply-header__row2 { background: transparent !important; border-top-color: transparent !important; }
.home .specialtysupply-header.is-scrolled .specialtysupply-header__row2 { background: rgba(30, 30, 30, 0.82) !important; }
/* Burger: visible white glyph on any ground, right-aligned in row1 */
.specialtysupply-header .wp-block-navigation__responsive-container-open {
  color: #ffffff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px; padding: 0.45rem; margin-left: auto;
}
.specialtysupply-header .wp-block-navigation__responsive-container-open svg { stroke: currentColor; }
/* Subpages: rows keep charcoal (transparent rules are .home-scoped) */

/* Hero v2 fit + header polish */
.specialtysupply-header > * { margin-block: 0 !important; }   /* no white slivers between rows */
.ss-hero__content { margin: 0 auto; }                          /* flex handles vertical fit */
.specialtysupply-pill-cta--sm { display: none; }
@media (min-width: 1560px) { .specialtysupply-pill-cta--sm { display: inline-block; } }
@media (max-width: 1120px) { .specialtysupply-header__row2 { display: none; } }

/* Header cleanup (Andy review): no borders/edges anywhere on the header block.
   Scrolled state gets a soft shadow only. */
.specialtysupply-header, .specialtysupply-header * { border: 0 !important; outline: 0; }
.specialtysupply-header .ss-glass-pill { border: 1px solid rgba(255, 255, 255, 0.35) !important; } /* glass pill keeps its spec border */
.specialtysupply-header { box-shadow: none; }
.home .specialtysupply-header.is-scrolled { box-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
body:not(.home) .specialtysupply-header { box-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }

/* ============================================================
 * FULL-WIDTH LAYOUT (site-wide, Andy 2026-08-25): 1720px container,
 * clamp(16px,3vw,48px) gutters. Prose keeps a 76ch measure inside.
 * ============================================================ */
.ss-band { padding-left: clamp(16px, 3vw, 48px); padding-right: clamp(16px, 3vw, 48px); }
.ss-band > .ss-band__inner, .ss-band > * { max-width: 1720px; }
.specialtysupply-header__row1 > .wp-block-group,
.specialtysupply-trust-strip__row,
.specialtysupply-footer__grid,
.specialtysupply-footer__legal { max-width: 1720px !important; margin-left: auto; margin-right: auto; }
.ss-hero__content { max-width: 1720px; }
.ss-hero__title, .ss-hero__sub { margin-left: auto; margin-right: auto; }
/* Kill parent/base narrow constraints */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: 1720px; }
.wp-block-post-content > * { max-width: 1720px; }
/* Reading-width exception: long-form prose stays readable inside the wide shell */
.ss-band__inner > p, .ss-band__inner > .wp-block-paragraph,
.wp-block-post-content > p, .ss-split p, .ss-acc, .specialtysupply-faq-item,
.ss-band__inner > .wp-block-table, .ss-section-head__desc { max-width: 76ch; }
.ss-band__inner > .ss-card-grid, .ss-band__inner > .ss-split, .ss-band__inner > .ss-visit,
.ss-band__inner > .ss-marquee, .ss-band__inner > .ss-chips, .ss-band__inner > figure { max-width: none; }

/* ============================================================
 * BRAND MARQUEE (MVP style): white band, original-color marks,
 * one real link set + aria-hidden clone, pause on hover/focus.
 * ============================================================ */
.ss-marquee { overflow: hidden; width: 100%; }
.ss-marquee__track { display: flex; width: max-content; animation: ssMarquee 50s linear infinite; }
.ss-marquee:hover .ss-marquee__track, .ss-marquee:focus-within .ss-marquee__track { animation-play-state: paused; }
.ss-marquee__group { display: flex; align-items: center; gap: clamp(2.5rem, 4vw, 4.5rem); padding-right: clamp(2.5rem, 4vw, 4.5rem); }
.ss-marquee__item { display: flex; align-items: center; text-decoration: none; }
.ss-marquee__mark { display: flex; align-items: center; justify-content: center; }
.ss-marquee__mark img { height: 48px; width: auto; max-width: 190px; object-fit: contain; }
.ss-marquee__mark--chip { background: var(--ss-charcoal); border-radius: 10px; padding: 0.6rem 1rem; }
.ss-marquee__mark--chip img { height: 34px; }
.ss-marquee__text { color: #ffffff; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.9375rem; }
@keyframes ssMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ss-marquee__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .ss-marquee__group { flex-wrap: wrap; justify-content: center; }
  .ss-marquee__group--clone { display: none; }
}

/* ============================================================
 * DESIGN-JUDGE REMEDIATION BATCH (2026-08-25)
 * ============================================================ */
/* F1: header rows animate OPACITY ONLY (transform created a containing
   block that trapped the fixed mobile overlay at 327x42) */
@media (prefers-reduced-motion: no-preference) {
  .specialtysupply-topbar, .specialtysupply-header__row1, .specialtysupply-header__row2 {
    transform: none !important; animation-name: ssFadeIn !important;
  }
}
@keyframes ssFadeIn { from { opacity: 0; } to { opacity: 1; } }
/* F1: bulletproof full-screen mobile menu overlay */
.specialtysupply-header .wp-block-navigation__responsive-container.is-menu-open {
  position: fixed !important; inset: 0 !important; width: 100% !important;
  height: 100dvh !important; overflow-y: auto !important;
  background: var(--ss-charcoal) !important; z-index: 200 !important;
  padding: 4.5rem 2rem 2.5rem !important; display: flex !important;
}
.specialtysupply-header .is-menu-open .wp-block-navigation__container { display: flex !important; flex-direction: column; gap: 1rem; font-size: 1.15rem; }
.specialtysupply-header .is-menu-open .wp-block-navigation-item__label { font-size: 1.05rem !important; }
.specialtysupply-header .wp-block-navigation__responsive-container-close { color: #fff !important; top: 1rem !important; right: 1rem !important; position: absolute !important; }
/* F2: dropdown panel on the component system */
.specialtysupply-header .wp-block-navigation__submenu-container {
  background: var(--ss-charcoal) !important; border-radius: 10px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4) !important; padding: 0.5rem !important; z-index: 90 !important;
}
.specialtysupply-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.specialtysupply-header .wp-block-navigation__submenu-container .wp-block-navigation-item__label { color: #ffffff !important; }
.specialtysupply-header .wp-block-navigation__submenu-container a:hover .wp-block-navigation-item__label { color: var(--ss-green-light) !important; }
/* F5: green-light never on light grounds — links take brand green there */
.ss-band--white a:not(.wp-block-button__link):not(.ss-card a):not(.ss-marquee a),
.ss-band--off a:not(.wp-block-button__link):not(.ss-card a),
.ss-band--wash a:not(.wp-block-button__link),
p.direct-answer a { color: var(--ss-green); }
.ss-band--white .ss-card__arrow, .ss-band--off .ss-card__arrow { color: var(--ss-green-light); } /* cards stay charcoal */
/* F9: alignfull is always truly full; header top bars full-bleed */
.alignfull { max-width: none !important; }
.specialtysupply-header > .specialtysupply-header > .specialtysupply-topbar,
.specialtysupply-header > .specialtysupply-header__row1 { max-width: none !important; width: 100%; }
/* F11: tables on the component system */
.wp-block-table table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--ss-border-light); border-radius: 10px; overflow: hidden; box-shadow: var(--ss-shadow); background: var(--ss-white); width: 100%; }
.wp-block-table td, .wp-block-table th { border: 0; border-bottom: 1px solid var(--ss-border-light); padding: 0.7rem 1rem; }
.wp-block-table tr:last-child td { border-bottom: 0; }
.wp-block-table thead th, .wp-block-table tr:first-child th { background: var(--ss-green-wash); color: var(--ss-green-ink); }
/* F12: brand banner composed, not a void */
.specialtysupply-brand-band {
  padding: 2.25rem !important; min-height: 0;
  background-image: linear-gradient(rgba(11, 15, 12, 0.9), rgba(11, 15, 12, 0.9)), url('/wp-content/uploads/store/products-sign-1600.webp');
  background-size: cover; background-position: center;
}
.specialtysupply-brand-band img { height: 76px !important; max-width: 70vw; object-fit: contain; }
/* F15: >=44px tap targets in the top chrome */
.specialtysupply-topbar { row-gap: 0; }
.specialtysupply-topbar .specialtysupply-topbar__item { min-height: 44px; }
/* F17: hero CTA motion + spec radius (assert over any legacy rule) */
.ss-hero__cta { border-radius: 15px !important; transition: background 0.18s cubic-bezier(.22,.61,.36,1), transform 0.18s cubic-bezier(.22,.61,.36,1), box-shadow 0.18s ease !important; }
.ss-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35); }
/* F18: stat values never wrap */
.ss-hero__num, .specialtysupply-trust-strip__value { white-space: nowrap; }
/* F22: hub logo strips contain their marks */
.ss-brand-card__logo { min-height: 64px; padding: 0.9rem 1.1rem; }
.ss-brand-card__logo img { max-height: 34px; max-width: 90%; width: auto; object-fit: contain; }
/* F23: branded focus rings */
:focus-visible { outline: 2px solid var(--ss-green) !important; outline-offset: 2px; }
.ss-band--dark :focus-visible, .ss-band--textured :focus-visible, .specialtysupply-header :focus-visible,
.specialtysupply-footer :focus-visible, .ss-hero :focus-visible { outline-color: var(--ss-green-light) !important; }
/* F24 */ a[href^="tel:"] { white-space: nowrap; }
/* F25 */ .ss-hero__title { text-wrap: balance; }
/* F14: CTA band actions become real buttons */
.specialtysupply-cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.specialtysupply-cta-band a { text-decoration: none; }

/* F14: CTA band = two distinct buttons (solid + glass), no underlines */
.specialtysupply-cta-band__cta, .specialtysupply-cta-band__right { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.specialtysupply-cta-band__schedule {
  background: #ffffff; color: var(--ss-black) !important; border-radius: 15px;
  padding: 0.85rem 1.5rem; font-weight: 600; text-decoration: none !important; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: background 0.18s ease, transform 0.18s ease;
}
.specialtysupply-cta-band__schedule:hover { background: var(--ss-green-wash); transform: translateY(-2px); }
.specialtysupply-cta-band__phone-block {
  display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none !important;
  background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35) !important; border-radius: 15px; padding: 0.7rem 1.25rem; color: #ffffff !important;
}
.specialtysupply-cta-band__phone-block:hover { background: rgba(255, 255, 255, 0.16); }
.specialtysupply-cta-band__phone-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.75; }
.specialtysupply-cta-band__phone-num { display: block; font-weight: 700; }
.specialtysupply-cta-band a { text-decoration: none !important; }

/* Dark grounds re-color default links to green-light (link base is now brand green) */
.ss-band--dark a:not(.wp-block-button__link):not(.ss-hero__cta):not(.ss-card a),
.ss-band--textured a:not(.wp-block-button__link):not(.specialtysupply-cta-band__schedule):not(.specialtysupply-cta-band__phone-block),
.specialtysupply-footer a, .specialtysupply-brand-band a { color: var(--ss-green-light); }

/* ============================================================
 * ULTRA-WIDE HEADER DETERMINISM (2026-08-25)
 * Brand block = one nowrap flex unit, fixed at every width.
 * Tagline: hidden below 1800px, inline-nowrap at >=1800 (container
 * caps at 1720, so the fit is identical from 1800 to infinity).
 * ============================================================ */
.specialtysupply-header__brand { display: flex !important; flex-wrap: nowrap !important; flex-shrink: 0; align-items: center; gap: 0.9rem; }
.specialtysupply-header__brand > .wp-block-group { flex-shrink: 0; }
.specialtysupply-header__tagline { display: none !important; white-space: nowrap; margin: 0 !important; }
@media (min-width: 1800px) { .specialtysupply-header__tagline { display: block !important; } }
/* Row1 cluster never wraps; nav takes the slack, actions stay whole */
.specialtysupply-header__row1 > .wp-block-group { flex-wrap: nowrap !important; }
/* Topbar: never clip the trailing item at ultra-wide */
.specialtysupply-topbar { padding-right: clamp(1.5rem, 3vw, 3rem); column-gap: 1.5rem; }
/* Full-bleed header bars overshoot viewport by the root padding (alignfull
   negative margin). Fold that amount into their own edge padding. */
.specialtysupply-topbar { padding-right: calc(clamp(1.5rem, 3vw, 3rem) + var(--wp--preset--spacing--50, 24px)); padding-left: calc(1.5rem + var(--wp--preset--spacing--50, 24px)); }
/* Root cause of the topbar overshoot: content-box + width:100% + padding */
.specialtysupply-header, .specialtysupply-header * { box-sizing: border-box; }

/* ============================================================
 * POLISH PASS (2026-08-26) — skill-advised, spec-decided.
 * Motion tokens per animate-skill; values exact, not approximated.
 * ============================================================ */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* A1 (P1 affordance): subpage hero CTAs had no styles — mirror the hero system */
.specialtysupply-silo-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.specialtysupply-silo-hero__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 15px; padding: 0.75rem 1.35rem; font-weight: 600;
  text-decoration: none !important; font-size: 0.9375rem;
  transition: background 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.specialtysupply-silo-hero__cta--primary { background: #ffffff; color: var(--ss-black) !important; }
.specialtysupply-silo-hero__cta--primary:hover { background: var(--ss-green-wash); }
.specialtysupply-silo-hero__cta--phone {
  background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35) !important; color: #ffffff !important;
}
.specialtysupply-silo-hero__cta--phone:hover { background: rgba(255, 255, 255, 0.16); }

/* A2 (P2 alignment, better-layout "align to shared edges"): prose keeps its
   76ch measure but sits on the band's leading edge, not auto-centered */
.ss-band__inner > p, .ss-band__inner > .wp-block-paragraph,
.ss-band__inner > .wp-block-table, .ss-band__inner > .specialtysupply-faq-item,
.ss-band__inner > .ss-acc, .wp-block-post-content > p { margin-left: 0 !important; margin-right: auto !important; }
.ss-hero p, .ss-hero__sub { margin-left: auto !important; margin-right: auto !important; } /* hero stays centered */

/* A4 (better-typography): deliberate wrapping + underline metrics */
.ss-section-head h2 { text-wrap: balance; }
.ss-card__desc, .ss-section-head__desc, .ss-band__inner > p { text-wrap: pretty; }
.ss-band--white a, .ss-band--off a, .ss-band--wash a, .wp-block-post-content a {
  text-underline-position: from-font; text-decoration-thickness: from-font;
  text-underline-offset: 2px; text-decoration-skip-ink: auto;
}
.ss-chip, .ss-hero__num, .specialtysupply-trust-strip__value { white-space: nowrap; }

/* A5 (animate: accordion recipe): height transition on details content */
.ss-acc { interpolate-size: allow-keywords; }
.ss-acc::details-content {
  block-size: 0; overflow: clip; opacity: 0;
  transition: block-size 0.25s var(--ease-out), opacity 0.25s var(--ease-out), content-visibility 0.25s allow-discrete;
}
.ss-acc[open]::details-content { block-size: auto; opacity: 1; }
.ss-acc summary::after { transition: transform 0.2s var(--ease-out); }

/* A6 (animate: press feedback 120ms + unified curves + hover gating) */
.wp-block-button__link, .ss-hero__cta, .specialtysupply-pill-cta, .ss-glass-pill,
.specialtysupply-cta-band__schedule, .specialtysupply-cta-band__phone-block,
.specialtysupply-silo-hero__cta, .ss-card__btn a {
  transition: background 0.18s var(--ease-out), transform 0.14s var(--ease-out), box-shadow 0.18s var(--ease-out);
}
.wp-block-button__link:active, .ss-hero__cta:active, .specialtysupply-pill-cta:active,
.ss-glass-pill:active, .specialtysupply-cta-band__schedule:active,
.specialtysupply-silo-hero__cta:active, .ss-card__btn a:active { transform: scale(0.97); }
.ss-card { transition: transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out); }
.ss-card:active { transform: translateY(-1px) scale(0.99); }
@media (hover: none), (pointer: coarse) {
  .ss-card:hover { transform: none; }
  .ss-card:hover .ss-card__media img { transform: none; }
}

/* A7 (animate: dropdown 180ms ease-out from trigger edge; overlay fade) */
.specialtysupply-header .wp-block-navigation__submenu-container {
  transform-origin: top center;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out), visibility 0.18s !important;
  transform: translateY(4px) scale(0.98);
}
.specialtysupply-header .wp-block-navigation-submenu:hover > .wp-block-navigation__submenu-container,
.specialtysupply-header .wp-block-navigation-submenu:focus-within > .wp-block-navigation__submenu-container {
  transform: translateY(0) scale(1);
}
.specialtysupply-header .wp-block-navigation__responsive-container.is-menu-open { animation: ssFadeIn 0.22s var(--ease-out); }

/* Reduced motion: keep color/opacity, drop transform-based movement */
@media (prefers-reduced-motion: reduce) {
  .ss-acc::details-content { transition: opacity 0.15s ease; }
  .wp-block-button__link:active, .ss-hero__cta:active, .ss-card:active,
  .specialtysupply-silo-hero__cta:active { transform: none; }
  .ss-card, .ss-card:hover { transform: none; }
  .specialtysupply-header .wp-block-navigation__submenu-container { transition: opacity 0.15s ease !important; transform: none; }
}

/* ============================================================
 * FINAL PUNCH LIST (design judge 78/100 -> targets F1-F13)
 * ============================================================ */
/* F1: float pill lives in the footer part; footer link color was repainting
   its text green-light on the green ground (2.69:1, the site's only axe hit) */
.specialtysupply-float-pill, .specialtysupply-footer a.specialtysupply-float-pill { color: #ffffff !important; }
.specialtysupply-scroll-top, .specialtysupply-footer a.specialtysupply-scroll-top { color: #ffffff !important; }
/* F4: lock background scroll while the mobile menu is open */
html:has(.wp-block-navigation__responsive-container.is-menu-open) { overflow: clip; }
.specialtysupply-header .wp-block-navigation__responsive-container.is-menu-open { overscroll-behavior: contain; }
/* F5: floating chrome never stacks above the open menu */
body:has(.wp-block-navigation__responsive-container.is-menu-open) .specialtysupply-float-pill,
body:has(.wp-block-navigation__responsive-container.is-menu-open) .specialtysupply-scroll-top { display: none; }
/* F6: 44px menu rows in the overlay */
.specialtysupply-header .is-menu-open .wp-block-navigation-item { min-height: 44px; align-items: center; }
.specialtysupply-header .is-menu-open .wp-block-navigation-item__content { padding-block: 0.55rem; }
/* F7: topbar collapses to essentials on small phones */
@media (max-width: 400px) {
  .specialtysupply-topbar { font-size: 0.78rem; }
  .specialtysupply-topbar .specialtysupply-topbar__item { min-height: 36px; }
}
/* F8: AAA on wash grounds — green-ink there, token-pure */
.ss-band--wash a:not(.wp-block-button__link), .ss-band--wash .ss-section-head__eyebrow { color: var(--ss-green-ink); }
/* F9: lift the brand banner plate, larger mark */
.specialtysupply-brand-band {
  background-image: linear-gradient(rgba(11, 15, 12, 0.72), rgba(11, 15, 12, 0.72)), url('/wp-content/uploads/store/products-sign-1600.webp') !important;
}
.specialtysupply-brand-band img { height: 88px !important; }
/* F12: lining tabular numerals where values sit in columns */
.wp-block-table td, .ss-hero__num, .specialtysupply-trust-strip__value { font-variant-numeric: tabular-nums lining-nums; }
/* F13: selection + scrollbar craft */
::selection { background: var(--ss-green); color: #ffffff; }
.ss-band--dark ::selection, .ss-hero ::selection { background: var(--ss-green-light); color: var(--ss-black); }
* { scrollbar-width: thin; scrollbar-color: var(--ss-green) var(--ss-off); }

/* ============================================================
 * HERO HEIGHT FIX (2026-08-26): stats always inside the first
 * viewport. Hero = 100svh minus the measured top chrome.
 * ============================================================ */
.ss-hero {
  min-height: calc(100vh - var(--ss-topchrome, 120px));
  min-height: calc(100svh - var(--ss-topchrome, 120px));
  display: flex; flex-direction: column;
}
.ss-hero__content { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.ss-hero__stats { flex: 0 0 auto; margin-top: clamp(20px, 3vh, 56px); }
/* Laptop heights: tighter verticals so H1 + sub + CTAs + stats all fit */
@media (max-height: 900px) {
  .ss-hero__content { padding-top: 1rem; }
  .ss-hero__title { font-size: clamp(30px, 3.4vw, 58px); }
  .ss-hero__ctas { margin-top: clamp(16px, 1.8vw, 28px); }
  .ss-hero__stats { margin-top: clamp(12px, 2vh, 32px); padding-bottom: clamp(18px, 2.5vh, 32px); }
  .ss-hero__num { font-size: clamp(22px, 2.1vw, 36px); }
}
/* Short-viewport guard: below ~700px available height the hero grows
   naturally and stats flow below the fold — no clipping, no fixed height */
@media (max-height: 820px) {
  .ss-hero { min-height: auto; padding-bottom: 1rem; }
  .ss-hero__content { padding-top: 2rem; padding-bottom: 1rem; }
}
@media (max-height: 820px) and (min-height: 701px) {
  .ss-hero { min-height: calc(100svh - var(--ss-topchrome, 120px)); }
}

/* ============================================================
 * Audit remediation (2026-08-26)
 * Category split sections, phone-first contact component,
 * brand-card name lines, float-pill suppression, outline CTA
 * ============================================================ */

/* Category content splits: two-col at >=1024px, stacked below.
   Base .ss-split collapses at 880px; --cat raises that to 1024. */
@media (max-width: 1023.98px) {
  .ss-split--cat { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
  .ss-split--flip > div:last-child { order: -1; }
}
.ss-split--cat .ss-page-still { margin: 0; }

/* Phone-first contact component (dealer apply + contact reach) */
.ss-contactways { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: stretch; margin-top: 1.25rem; }
.ss-contactways__phone, .ss-contactways__email {
  display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.6rem; border-radius: 14px; text-decoration: none;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.ss-contactways a.ss-contactways__phone,
.ss-contactways a.ss-contactways__phone span { background: var(--ss-green); color: var(--ss-white) !important; }
.ss-contactways a.ss-contactways__phone span { background: none; }
.ss-contactways a.ss-contactways__phone:hover { background: var(--ss-green-ink); }
.ss-contactways__email { border: 2px solid var(--ss-green); color: var(--ss-green); background: transparent; }
.ss-contactways__email:hover { background: var(--ss-green-wash); color: var(--ss-green); }
.ss-contactways .ss-icon { width: 22px; height: 22px; flex: none; }
.ss-contactways__meta { display: flex; flex-direction: column; line-height: 1.3; text-align: left; }
.ss-contactways__label { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; opacity: 0.85; }
.ss-contactways__num { font-family: var(--specialtysupply-font-mono); font-weight: 500; font-size: 1.05rem; word-break: break-all; }
.ss-contactways__hours { flex-basis: 100%; margin: 0.25rem 0 0; font-size: 0.95rem; color: var(--ss-charcoal); }

/* Brands hub: visible name line under each card logo */
.ss-brand-card__name { display: block; padding: 0 0.9rem 0.9rem; font-weight: 600; font-size: 0.95rem; color: inherit; }

/* Brand pages: official-site + route-details link lines */
.ss-official-link a, .ss-route-link a { font-weight: 600; }

/* Float pill: suppressed above the fold and while the CTA band
   or footer is in view (motion.js toggles is-suppressed). */
.specialtysupply-float-pill {
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.specialtysupply-float-pill.is-suppressed { opacity: 0; pointer-events: none; transform: translateY(8px); }
@media (prefers-reduced-motion: reduce) {
  .specialtysupply-float-pill { transition: none; }
  .specialtysupply-float-pill.is-suppressed { transform: none; }
}

/* Outline button variant (Visit the Store in the pickup band) */
.wp-block-button.is-style-outline .wp-block-button__link {
  border: 2px solid var(--ss-green); color: var(--ss-green); background: transparent;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ss-green-wash); color: var(--ss-green); }

/* Koch Chemie wordmark inside the category brand-strip chip */
.ss-brandchips .ss-marquee__mark--chip img[src*="koch-chemie-wordmark"] { max-height: 26px; width: auto; }

/* ============================================================
 * Round 3 (2026-08-26, all three items Andy-approved)
 * 1. Footer social icon row  2. Contextual hero strip
 * 3. Category hero texture
 * ============================================================ */

/* 1 — Footer social icons: monochrome, currentColor, 44px hit area.
   Base inherits the footer link color (green-light); hover uses the
   footer's white/green-light pairing. */
.specialtysupply-social--icons { display: flex; gap: 0.25rem; margin-top: 0.9rem; }
.specialtysupply-social--icons a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; border-radius: 10px;
  color: var(--ss-green-light);
  transition: color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.specialtysupply-social--icons a:hover,
.specialtysupply-social--icons a:focus-visible { color: var(--ss-white); background: rgba(255, 255, 255, 0.06); }
.specialtysupply-social--icons svg { width: 22px; height: 22px; display: block; }
@media (prefers-reduced-motion: reduce) { .specialtysupply-social--icons a { transition: none; } }

/* 2 — Contextual hero strip (brand / route / utility pages) */
.specialtysupply-trust-strip--context {
  padding: 1.15rem var(--wp--preset--spacing--50, 2rem);
}
.specialtysupply-context-strip {
  margin: 0; text-align: center;
  font-family: var(--specialtysupply-font-mono);
  font-weight: 500; font-size: clamp(0.72rem, 0.95vw, 0.875rem);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ss-charcoal); text-wrap: balance;
}

/* 3 — Category hero texture: each category page's own band-1 still at
   ~8%% visibility under a 92%% charcoal overlay (CTA-band treatment).
   Solid primary background-color stays underneath as the base. */
.page-id-6 .specialtysupply-page-hero { background-image: linear-gradient(rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0.92)), url('/wp-content/uploads/store/counter-display-800.webp'); background-size: cover; background-position: center; }
.page-id-7 .specialtysupply-page-hero { background-image: linear-gradient(rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0.92)), url('/wp-content/uploads/store/products-sign-800.webp'); background-size: cover; background-position: center; }
.page-id-8 .specialtysupply-page-hero { background-image: linear-gradient(rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0.92)), url('/wp-content/uploads/store/brush-wall-800.webp'); background-size: cover; background-position: center; }
.page-id-9 .specialtysupply-page-hero { background-image: linear-gradient(rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0.92)), url('/wp-content/uploads/store/equipment-corner-800.webp'); background-size: cover; background-position: center; }
.page-id-10 .specialtysupply-page-hero { background-image: linear-gradient(rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0.92)), url('/wp-content/uploads/store/pad-wall-800.webp'); background-size: cover; background-position: center; }
.page-id-11 .specialtysupply-page-hero { background-image: linear-gradient(rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0.92)), url('/wp-content/uploads/store/warehouse-racks-800.webp'); background-size: cover; background-position: center; }
.page-id-12 .specialtysupply-page-hero { background-image: linear-gradient(rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0.92)), url('/wp-content/uploads/store/gallon-aisle-800.webp'); background-size: cover; background-position: center; }
.page-id-13 .specialtysupply-page-hero { background-image: linear-gradient(rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0.92)), url('/wp-content/uploads/store/washnwax-shelf-800.webp'); background-size: cover; background-position: center; }
.page-id-14 .specialtysupply-page-hero { background-image: linear-gradient(rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0.92)), url('/wp-content/uploads/site-photos/specialty-supply-van-storefront-800.webp'); background-size: cover; background-position: center; }
.page-id-15 .specialtysupply-page-hero { background-image: linear-gradient(rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0.92)), url('/wp-content/uploads/store/towel-wall-800.webp'); background-size: cover; background-position: center; }

/* ============================================================
 * Featurable reviews band cards (2026-08-27)
 * Server-side rendered from the Featurable API single source.
 * Dormant (renders nothing) until the GBP location is connected.
 * ============================================================ */
.ss-reviewcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0; }
@media (max-width: 1023.98px) { .ss-reviewcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ss-reviewcards { grid-template-columns: 1fr; } }
.ss-reviewcard {
  margin: 0; padding: 1.5rem; background: var(--ss-white);
  border: 1px solid var(--specialtysupply-brand-border); border-radius: 14px;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.ss-reviewcard__stars { margin: 0; color: var(--ss-amber); letter-spacing: 0.15em; }
.ss-reviewcard__text { margin: 0; border: 0; padding: 0; font-size: 0.98rem; line-height: 1.55; color: var(--ss-charcoal); }
.ss-reviewcard__meta { font-weight: 600; font-size: 0.9rem; color: var(--ss-charcoal); margin-top: auto; }
.ss-reviewcard__when, .ss-reviewcard__src { font-weight: 400; opacity: 0.75; }

/* ============================================================
 * Round 4 (2026-08-27, launch prep): tagline, wholesale form,
 * apply split layout
 * ============================================================ */
.ss-tagline {
  font-family: var(--wp--preset--font-family--display, 'Playfair Display', serif);
  font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  color: var(--ss-green); margin: 0 0 1rem;
}
.ss-band--dark .ss-tagline, .ss-band--textured .ss-tagline { color: var(--ss-green-light); }

/* ============================================================
 * Wholesale form v2 (2026-08-28) — DESIGN-SPEC component language
 * ============================================================ */

/* Layout: sticky phone rail right on desktop, rail ABOVE form on mobile
   (rail is first in DOM; desktop grid moves it to column 2). */
.ss-applysplit { display: grid; gap: clamp(20px, 2.5vw, 40px); align-items: start; }
@media (min-width: 1024px) {
  .ss-applysplit { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); }
  .ss-applysplit__rail { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--ss-hdr, 100px) + 24px); }
  .ss-applysplit__main { grid-column: 1; grid-row: 1; }
}
.ss-applysplit__rail {
  background: var(--specialtysupply-brand-surface); border: 1px solid var(--specialtysupply-brand-border);
  border-radius: 14px; padding: 1.5rem; min-width: 0; max-width: 100%;
}
.ss-applysplit__rail .ss-contactways { flex-direction: column; align-items: stretch; margin-top: 1rem; }
.ss-applysplit__rail .ss-contactways a { width: 100%; box-sizing: border-box; justify-content: flex-start; }
.ss-applysplit__rail .ss-contactways__num { word-break: normal; overflow-wrap: anywhere; }
.ss-applysplit__rail .ss-contactways__hours {
  white-space: normal; overflow-wrap: break-word; max-width: 100%;
  font-size: 0.9rem; line-height: 1.5;
}

/* The form card */
.ss-wform--card {
  background: var(--specialtysupply-brand-surface); border: 1px solid var(--specialtysupply-brand-border);
  border-radius: 14px; padding: clamp(1.25rem, 3vw, 2.25rem); min-width: 0;
}
.ss-wform form { margin: 0; }
.ss-wform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.ss-wform__field--full, .ss-wform__citystatezip { grid-column: 1 / -1; }
.ss-wform__citystatezip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.1rem 1.25rem; }
/* Pairs collapse wherever they would squeeze below ~300px each:
   mobile (<=768) and the 1024-1179 range where the rail eats the width. */
@media (max-width: 768px) {
  .ss-wform__grid, .ss-wform__citystatezip { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .ss-wform__grid, .ss-wform__citystatezip { grid-template-columns: 1fr; }
}
.ss-wform__field { margin: 0; min-width: 0; }
.ss-wform label {
  display: block; font-weight: 500; font-size: 0.875rem; color: var(--ss-charcoal);
  letter-spacing: 0.01em;
}
.ss-wform input[type="text"], .ss-wform input[type="tel"], .ss-wform input[type="email"],
.ss-wform select, .ss-wform textarea {
  display: block; width: 100%; box-sizing: border-box; margin-top: 0.45rem;
  padding: 0.9rem 1rem; min-height: 52px;
  border: 1px solid var(--specialtysupply-brand-border); border-radius: 10px;
  background: var(--ss-white); color: var(--ss-charcoal);
  font-family: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.ss-wform textarea { min-height: 120px; resize: vertical; }
.ss-wform input:hover, .ss-wform select:hover, .ss-wform textarea:hover { border-color: var(--specialtysupply-brand-muted); }
.ss-wform input:focus-visible, .ss-wform select:focus-visible, .ss-wform textarea:focus-visible {
  outline: none !important; border-color: var(--ss-green);
  box-shadow: 0 0 0 3px rgba(22, 101, 51, 0.16);
}
/* Select: custom chevron, no naked browser arrow */
.ss-wform__selectwrap { position: relative; display: block; }
.ss-wform select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer; }
.ss-wform__selectwrap::after {
  content: ""; position: absolute; right: 1rem; top: 50%; margin-top: 0.05rem;
  width: 0.6rem; height: 0.6rem; pointer-events: none;
  border-right: 2px solid var(--ss-charcoal); border-bottom: 2px solid var(--ss-charcoal);
  transform: translateY(-50%) rotate(45deg);
}
/* Error state: validate on submit only (script toggles is-error) */
.ss-wform__field.is-error input, .ss-wform__field.is-error textarea, .ss-wform__field.is-error select {
  border-color: #B4552D; box-shadow: 0 0 0 3px rgba(180, 85, 45, 0.14);
}
.ss-wform__fielderr { display: block; margin-top: 0.35rem; font-size: 0.82rem; font-weight: 500; color: #B4552D; }
/* Honeypot stays off-screen */
.ss-wform__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* Submit */
.ss-wform__actions { margin: 1.4rem 0 0; }
.ss-wform__submit {
  background: var(--ss-green); color: var(--ss-white); border: 0; cursor: pointer;
  padding: 1rem 2rem; min-height: 52px; border-radius: 14px;
  font: inherit; font-weight: 700; font-size: 1rem;
  transition: background-color 200ms var(--ease-out);
}
.ss-wform__submit:hover { background: var(--ss-green-ink); }
.ss-wform__submit:focus-visible { outline: 2px solid var(--ss-green) !important; outline-offset: 2px; }
@media (max-width: 768px) { .ss-wform__submit { width: 100%; } }
/* Failure banner */
.ss-wform__err { background: #F6E4DC; border-radius: 10px; padding: 0.9rem 1.1rem; margin: 0 0 1.2rem; font-weight: 600; color: #B4552D; }
/* Success card (replaces the form) */
.ss-wform__done {
  background: var(--ss-green-wash); border: 1px solid var(--ss-green);
  border-radius: 14px; padding: clamp(1.75rem, 4vw, 2.75rem); text-align: center;
}
.ss-wform__done-icon {
  width: 46px; height: 46px; padding: 9px; box-sizing: border-box;
  border-radius: 50%; background: var(--ss-green); color: var(--ss-white); margin: 0 auto 0.9rem; display: block;
}
.ss-wform__done h3 {
  margin: 0 0 0.4rem;
  font-family: var(--wp--preset--font-family--display, 'Playfair Display', serif);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--ss-green-ink);
}
.ss-wform__done p { margin: 0; color: var(--ss-charcoal); }

/* ============================================================
 * Imagery-scale pass (2026-08-28): no bare full-viewport images.
 * (a) .ss-photo-band  — capped overlay band with content
 * (c) .ss-figure      — constrained inline figure
 * ============================================================ */
.ss-photo-band {
  position: relative; display: flex; align-items: center;
  min-height: clamp(300px, 45vh, 520px); border-radius: 14px; overflow: hidden;
  margin: 1.5rem 0;
}
.ss-photo-band__media, .ss-photo-band__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ss-photo-band__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 12, 0.78) 0%, rgba(11, 15, 12, 0.55) 55%, rgba(11, 15, 12, 0.25) 100%);
}
.ss-photo-band__inner { position: relative; z-index: 2; max-width: 620px; padding: clamp(1.5rem, 4vw, 3rem); color: var(--ss-white); }
.ss-photo-band__eyebrow {
  margin: 0 0 0.6rem; font-family: var(--specialtysupply-font-mono);
  font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ss-green-light);
}
.ss-photo-band__title {
  margin: 0 0 0.7rem; font-family: var(--wp--preset--font-family--display, 'Playfair Display', serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.12; color: var(--ss-white);
}
.ss-photo-band__title em { font-style: italic; color: var(--ss-green-light); }
.ss-photo-band__line { margin: 0 0 1.3rem; font-size: 1.02rem; line-height: 1.5; }
.ss-photo-band__cta {
  display: inline-block; background: var(--ss-green); color: var(--ss-white) !important;
  padding: 0.9rem 1.8rem; border-radius: 14px; font-weight: 700; text-decoration: none;
  transition: background-color 200ms var(--ease-out);
}
.ss-photo-band__cta:hover { background: var(--ss-green-ink); }

.ss-figure { max-width: 860px; margin: 1.75rem 0; }
.ss-figure img { width: 100%; height: auto; max-height: 60vh; object-fit: cover; border-radius: 14px; display: block; }
.ss-figure figcaption { margin-top: 0.55rem; font-size: 0.85rem; color: var(--specialtysupply-brand-muted); }

/* ============================================================
 * RESTORED 2026-08-28: the social-feed block below was accidentally
 * deleted by a line-splice during the form-v2 CSS rewrite (recovered
 * from git eb4c694). Styles live HERE, in the theme stylesheet —
 * never in plugin-emitted side channels.
 * ============================================================ */

/* ============================================================
 * Social feed "From the Counter" (2026-08-27) — static grid from
 * the ss-social-feed cache; placeholder store stills until tokens.
 * ============================================================ */
.ss-socialgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1023.98px) { .ss-socialgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ss-socialtile {
  position: relative; display: block; aspect-ratio: 1; border-radius: 14px;
  overflow: hidden; background: var(--ss-charcoal);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.ss-socialtile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-socialtile:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(11, 46, 24, 0.25); }
@media (prefers-reduced-motion: reduce) { .ss-socialtile { transition: none; } .ss-socialtile:hover { transform: none; } }
.ss-socialtile__badge {
  position: absolute; top: 0.6rem; right: 0.6rem; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(30, 30, 30, 0.82); color: var(--ss-white);
  display: flex; align-items: center; justify-content: center;
}
.ss-socialtile__badge svg { width: 15px; height: 15px; }
.ss-socialtile__caption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 0.75rem 0.6rem;
  background: linear-gradient(transparent, rgba(11, 15, 12, 0.82));
  color: var(--ss-white); font-size: 0.8rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ss-social-follow { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* ============================================================
 * Topbar v2 (2026-08-28) — single utility bar, Fiber Specialties
 * pattern in our tokens: left near-me/hours/rating, right
 * phone/email/socials. Address moved out (footer/contact/schema
 * keep the NAP). Nothing wraps at any width.
 * ============================================================ */
.specialtysupply-topbar--v2 { flex-wrap: nowrap; gap: 1rem; overflow: hidden; }
.specialtysupply-topbar__left, .specialtysupply-topbar__right {
  display: flex; align-items: center; gap: 0.7rem; min-width: 0; white-space: nowrap;
}
.specialtysupply-topbar__right { flex-shrink: 0; }
.specialtysupply-topbar__item {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--ss-white); text-decoration: none;
}
.specialtysupply-topbar__item svg { flex: none; }
.specialtysupply-topbar__nearme {
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem;
}
.specialtysupply-topbar__rating svg { color: var(--ss-amber); }
.specialtysupply-topbar__dot { opacity: 0.55; flex: none; }
.specialtysupply-topbar__social { display: inline-flex; align-items: center; gap: 0.1rem; margin-left: 0.2rem; }
.specialtysupply-topbar__social a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; min-height: 32px; color: var(--ss-white); border-radius: 8px;
}
.specialtysupply-topbar__social a:hover { color: var(--ss-green-wash); }
@media (max-width: 1120px) {
  .specialtysupply-topbar__mail, .specialtysupply-topbar__social,
  .specialtysupply-topbar__right .specialtysupply-topbar__dot { display: none; }
}
@media (max-width: 768px) {
  .specialtysupply-topbar__hours, .specialtysupply-topbar__rating,
  .specialtysupply-topbar__left .specialtysupply-topbar__dot { display: none; }
  .specialtysupply-topbar__nearme { font-size: 0.7rem; letter-spacing: 0.05em; }
}

/* Legal pages + footer legal row (2026-08-31) */
.ss-legal { max-width: 76ch; }
.ss-legal h2 { font-family: var(--wp--preset--font-family--display, 'Playfair Display', serif); font-size: 1.5rem; margin: 2rem 0 0.6rem; }
.ss-legal p { margin: 0 0 1rem; line-height: 1.65; }
.ss-wform__consent { margin: 0.8rem 0 0; font-size: 0.82rem; color: var(--specialtysupply-brand-muted); }
.specialtysupply-footer__legallinks { margin-top: 0.4rem; font-size: 0.85rem; }

/* ============================================================
 * Polish round (2026-08-31): hero full-bleed, footer seam
 * ============================================================ */
/* Hero media spans the full viewport at every width: the 1720px cap
   applies to hero CONTENT only, never the video/poster/scrim layer.
   (Absolutely positioned elements still honor max-width - override.) */
.ss-hero { position: relative; }
.ss-hero__media, .ss-hero__scrim {
  max-width: none !important; margin: 0 !important; width: 100%;
}
/* CTA band meets the footer with zero gap; the white body never shows.
   Transition reads designed via a subtle 1px top border (flat colors
   per DESIGN-SPEC - no gradients, no dividers). */
.wp-site-blocks > footer, footer.wp-block-template-part {
  margin-block-start: 0 !important;
}
.specialtysupply-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* Brand marquee: full-bleed width + larger marks (client ask 2026-08-31).
   Escapes the 1720px content cap; duration scales with the longer track
   so the px/s speed stays calm. */
.ss-band__inner > .ss-marquee {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}
.ss-marquee__track { animation-duration: 64s; }
.ss-marquee__mark img { height: 64px; max-width: 250px; }
.ss-marquee__mark--chip { padding: 0.75rem 1.25rem; border-radius: 12px; }
.ss-marquee__mark--chip img { height: 46px; }
.ss-marquee__text { font-size: 1.125rem; }
@media (max-width: 768px) {
  .ss-marquee__mark img { height: 48px; max-width: 190px; }
  .ss-marquee__mark--chip img { height: 34px; }
}
/* Sitewide: full-width bands stack flush - no body-background slivers
   between main's top-level sections (same defect class as the footer
   seam; found on page-hero->trust-strip->body transitions). */
main.wp-block-group > * + * { margin-block-start: 0 !important; }
/* Topbar band spans the full viewport at every width (same cap class
   as the hero media); its content row stays capped + centered. */
.specialtysupply-header > .specialtysupply-topbar { max-width: none; }
.specialtysupply-topbar--v2 { max-width: none; }
.specialtysupply-topbar--v2 .specialtysupply-topbar__left,
.specialtysupply-topbar--v2 .specialtysupply-topbar__right { }
@media (min-width: 1780px) {
  .specialtysupply-topbar--v2 { padding-left: calc((100vw - 1720px) / 2 + 1.5rem); padding-right: calc((100vw - 1720px) / 2 + 1.5rem); }
}

/* Mobile fixes (2026-08-31): topbar items were overlapping (nowrap
   collision between the near-me link and the phone), and inline
   2-column card grids stayed 2-up on phones. */
@media (max-width: 768px) {
  .specialtysupply-topbar--v2 { flex-wrap: wrap; justify-content: center; row-gap: 0; padding-top: 0.3rem; padding-bottom: 0.3rem; }
  .specialtysupply-topbar__left, .specialtysupply-topbar__right { flex-wrap: wrap; justify-content: center; width: 100%; }
  /* two-column inline grids collapse to one column on phones */
  .ss-band__inner > .ss-card-grid[style*="repeat(2"] { grid-template-columns: 1fr !important; }
}
