/* Shared styles for product pages — extends colors_and_type.css */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font-sans); color: var(--fms-deep-blue); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--soft { background: var(--fms-light-blue); }
.section--dark { background: var(--fms-deep-blue); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: var(--radius-pill); border: none; transition: all var(--dur-base) var(--ease-out); }
.btn--primary { background: var(--fms-deep-blue); color: #fff; }
.btn--primary:hover { background: var(--fms-electric-blue); box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn--electric { background: var(--fms-electric-blue); color: #fff; }
.btn--electric:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--fms-deep-blue); border: 1.5px solid var(--fms-deep-blue); }
.btn--outline:hover { background: var(--fms-deep-blue); color: #fff; }
.btn--white-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--white-outline:hover { background: #fff; color: var(--fms-deep-blue); border-color: #fff; }
.btn--lg { padding: 16px 30px; font-size: 15px; }

/* Crumbs + section header */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fms-ink-500); margin-bottom: 24px; letter-spacing: .04em; padding-top: auto; }
.crumbs a { color: var(--fms-ink-500); }
.crumbs a:hover { color: var(--fms-electric-blue); }
.crumbs svg { width: 12px; height: 12px; opacity: .5; }
.crumbs--white, .crumbs--white a { color: rgba(255,255,255,.6); }
.crumbs--white a:hover { color: #fff; }

.sec-h { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-h .eyebrow { display: inline-block; margin-bottom: 14px; }
.sec-h h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 16px; text-wrap: pretty; }
.sec-h p { font-size: 17px; line-height: 1.6; color: var(--fms-ink-600); margin: 0; }

/* === Product hero (detail pages) === */
.phero { background: var(--fms-grad-msk); color: #fff; padding-bottom: 80px; position: relative; overflow: hidden; }
.phero--pfh { background: linear-gradient(135deg, #ffffff 0%, #c95e3f 100%); }
.phero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 500px at 90% 10%, rgba(0,70,255,.4), transparent 60%); }
.phero--pfh::before { background: radial-gradient(800px 500px at 90% 10%, rgba(255,255,255,.18), transparent 60%); }
.phero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.phero__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); margin-bottom: 22px; color: rgba(255,255,255,.9); }
.phero__name { font-size: clamp(3rem, 6.5vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; margin: 0 0 14px; }
.phero__sub { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; line-height: 1.4; color: rgba(255,255,255,.9); margin: 0 0 22px; max-width: 480px; }
.phero__body { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.78); margin: 0 0 32px; max-width: 460px; }
.phero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.phero__visual { aspect-ratio: 1; border-radius: 28px; overflow: hidden; position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); font-size: 13px; text-align: center; padding: 20px; backdrop-filter: blur(8px); }
.phero__visual::before { content: ""; position: absolute; inset: -1px; background: conic-gradient(from 220deg, transparent, rgba(0,70,255,.3) 30%, transparent 60%); border-radius: 30px; z-index: -1; filter: blur(20px); }

/* Quick stats strip */
.qstats { background: rgba(255,255,255,.07); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; padding: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 480px; margin-top: 28px; }
.qstat { text-align: left; padding: 0 8px; border-right: 1px solid rgba(255,255,255,.15); }
.qstat:last-child { border-right: none; }
.qstat__num { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #fff; line-height: 1; }
.qstat__lbl { font-size: 10px; color: rgba(255,255,255,.7); margin-top: 4px; letter-spacing: .04em; line-height: 1.3; }

/* === Spec table === */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.spec { background: #fff; border: 1px solid var(--fms-ink-200); border-radius: 18px; padding: 24px 26px; transition: all var(--dur-base) var(--ease-out); }
.spec:hover { border-color: rgba(0,70,255,.3); box-shadow: var(--shadow-sm); }
.spec__lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fms-electric-blue); font-weight: 600; margin-bottom: 8px; }
.spec__val { font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--fms-deep-blue); line-height: 1.05; }
.spec__sub { font-size: 13px; color: var(--fms-ink-600); margin-top: 6px; line-height: 1.5; }

/* Feature bullets */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat { display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--fms-ink-200); border-radius: 16px; }
.feat__icon { width: 40px; height: 40px; border-radius: 11px; background: unset; color: var(--fms-electric-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat__icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.feat__h { font-size: 14px; font-weight: 600; margin: 0 0 4px; line-height: 1.3; }
.feat__p { font-size: 13px; line-height: 1.5; color: var(--fms-ink-600); margin: 0; }

/* Applicator chips */
.applicators { display: flex; flex-wrap: wrap; gap: 10px; }
.app-chip { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; background: #fff; border: 1px solid var(--fms-ink-200); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--fms-deep-blue); }
.app-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fms-electric-blue); }

/* === Hub page (product index) === */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hub-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fms-ink-200); border-radius: 22px; padding: 24px; transition: all var(--dur-base) var(--ease-out); position: relative; }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(0,70,255,.3); }
.hub-card--top { border: 1.5px solid var(--fms-electric-blue); }
.hub-card__flag { position: absolute; top: -10px; right: 18px; background: var(--fms-electric-blue); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .12em; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
.hub-card__visual { aspect-ratio: 4/3; border-radius: 14px; background: linear-gradient(135deg, var(--fms-light-blue), #fff); border: 1px solid var(--fms-ink-200); display: flex; align-items: center; justify-content: center; color: var(--fms-ink-400); font-size: 11px; margin-bottom: 18px; }
.hub-card__visual--pfh { background: linear-gradient(135deg, #FBEFEA, #fff); }
.hub-card__tag { font-size: 11px; color: var(--fms-electric-blue); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.hub-card__name { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 6px; }
.hub-card__pitch { font-size: 13px; line-height: 1.5; color: var(--fms-ink-600); margin: 0 0 16px; flex: 1; }
.hub-card__specs { list-style: none; padding: 0; margin: 0 0 18px; }
.hub-card__specs li { font-size: 13px; padding: 5px 0; display: flex; justify-content: space-between; border-bottom: 1px dashed var(--fms-ink-200); }
.hub-card__specs li:last-child { border-bottom: none; }
.hub-card__specs li span { color: var(--fms-ink-600); }
.hub-card__specs li strong { color: var(--fms-deep-blue); font-weight: 600; }

/* CTA strip */
.cta-strip { background: var(--fms-grad-msk); border-radius: var(--radius-xl); padding: 56px 48px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 50%, rgba(0,70,255,.55), transparent 70%); }
.cta-strip > * { position: relative; }
.cta-strip h2 { font-size: clamp(1.75rem, 3.2vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; line-height: 1.15; color: #fff; }
.cta-strip p { font-size: 16px; color: rgba(255,255,255,.82); margin: 0 0 24px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Footer */
.footer { background: var(--fms-deep-blue); color: rgba(255,255,255,.78); padding: 56px 0 24px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer h5 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 14px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 4px 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer__brand p { font-size: 14px; line-height: 1.55; max-width: 320px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 12px; color: rgba(255,255,255,.55); }
.footer__partners { display: flex; gap: 24px; align-items: center; font-size: 11px; }

/* Related products */
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rel-card { background: #fff; border: 1px solid var(--fms-ink-200); border-radius: 18px; padding: 22px; transition: all var(--dur-base) var(--ease-out); }
.rel-card:hover { border-color: rgba(0,70,255,.3); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.rel-card__visual { aspect-ratio: 4/3; border-radius: 12px; background: linear-gradient(135deg, var(--fms-light-blue), #fff); border: 1px solid var(--fms-ink-200); display: flex; align-items: center; justify-content: center; color: var(--fms-ink-400); font-size: 11px; margin-bottom: 14px; }
.rel-card__name { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.rel-card__line { font-size: 13px; color: var(--fms-ink-600); margin: 0 0 12px; }

@media (max-width: 1000px) {
  .phero__grid, .features, .spec-grid { grid-template-columns: 1fr; gap: 32px; }
  .hub-grid, .related, .footer__top { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 600px) {
  .hub-grid, .related, .footer__top { grid-template-columns: 1fr; }
  .qstats { grid-template-columns: 1fr 1fr; }
  .qstat { border-right: none; }
  .footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
}

.hub-hero { padding: calc(var(--header-h) + 80px) 0 60px; background: var(--fms-light-blue); }
  .hub-hero h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 16px; max-width: 780px; }
  .hub-hero p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--fms-ink-600); max-width: 640px; margin: 0; }
  .hub-hero h1 em { font-style: normal; color: var(--fms-electric-blue); }

  .filter-bar { display: flex; gap: 8px; margin: 36px 0 28px; flex-wrap: wrap; }
  .filter-chip { padding: 8px 16px; background: #fff; border: 1px solid var(--fms-ink-300); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--fms-ink-700); cursor: pointer; transition: all var(--dur-base); }
  .filter-chip:hover { border-color: var(--fms-electric-blue); color: var(--fms-electric-blue); }
  .filter-chip.is-active { background: var(--fms-deep-blue); color: #fff; border-color: var(--fms-deep-blue); }

  .helper-box { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-top: 56px; }
  .helper { padding: 24px; background: var(--fms-light-blue); border-radius: 18px; }
  .helper svg { color: var(--fms-electric-blue); width: 24px; height: 24px; stroke-width: 1.75; margin-bottom: 12px; }
  .helper h4 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
  .helper p { font-size: 14px; line-height: 1.55; color: var(--fms-ink-600); margin: 0; }

  @media (max-width:1000px){ .helper-box{grid-template-columns:1fr 1fr} }
  @media (max-width:600px){ .helper-box{grid-template-columns:1fr} }

  /* === BRAND MARK 2026 — typographic FMS logo (overrides legacy circular mark) === */
  .logo { display: inline-flex !important; align-items: center !important; gap: 11px !important; flex-shrink: 0; color: var(--fms-deep-blue); text-decoration: none; line-height: 1; }
  .logo__mark {
    display: inline-block !important;
    font-family: var(--font-sans) !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    letter-spacing: -.045em !important;
    line-height: .85 !important;
    color: currentColor !important;
    background: transparent !important;
    border-radius: 0 !important;
    width: auto !important; height: auto !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .logo__text {
    display: inline-block !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    font-size: 7.5px !important;
    line-height: 1.32 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    padding-left: 10px !important;
    border-left: 1px solid currentColor !important;
    opacity: .82 !important;
    color: currentColor !important;
    margin-top: 0 !important;
  }
  .logo__text strong, .logo__text span {
    display: block !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    letter-spacing: inherit !important;
    color: currentColor !important;
    margin: 0 !important;
    text-transform: inherit !important;
  }
  
.flag-top{position:absolute;top:calc(var(--header-h, 76px) + 20px);right:32px;background:#fff;color:var(--fms-electric-blue);font-size:11px;font-weight:700;letter-spacing:.14em;padding:6px 14px;border-radius:999px;text-transform:uppercase;z-index:2;box-shadow:0 4px 14px rgba(0,0,0,.18)}
  /* === BRAND MARK 2026 — typographic FMS logo (overrides legacy circular mark) === */
  .logo { display: inline-flex !important; align-items: center !important; gap: 11px !important; flex-shrink: 0; color: var(--fms-deep-blue); text-decoration: none; line-height: 1; }
  .logo__mark {
    display: inline-block !important;
    font-family: var(--font-sans) !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    letter-spacing: -.045em !important;
    line-height: .85 !important;
    color: currentColor !important;
    background: transparent !important;
    border-radius: 0 !important;
    width: auto !important; height: auto !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .logo__text {
    display: inline-block !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    font-size: 7.5px !important;
    line-height: 1.32 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    padding-left: 10px !important;
    border-left: 1px solid currentColor !important;
    opacity: .82 !important;
    color: currentColor !important;
    margin-top: 0 !important;
  }
  .logo__text strong, .logo__text span {
    display: block !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    letter-spacing: inherit !important;
    color: currentColor !important;
    margin: 0 !important;
    text-transform: inherit !important;
  }
  
 
  