/* Snow Pharma — site stylesheet
   Author: Mohammad Shafi Seddiq
   One file, no build step. Sections: tokens · base · layout · header · hero ·
   components · page sections · catalogue · product · forms · footer · motion */

/* ---------- Fonts (self-hosted) ---------- */
@font-face{font-family:"Plex Sans";src:url(/assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Plex Sans";src:url(/assets/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Plex Sans";src:url(/assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Plex Serif";src:url(/assets/fonts/ibm-plex-serif-latin-400-italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}

/* ---------- Tokens ---------- */
:root{
  --brand:#0072bc;          /* logo blue */
  --brand-strong:#005a96;   /* text/buttons on white (AA) */
  --brand-deep:#062a4d;     /* quality band, footer */
  --cyan:#00b9f2;           /* logo cyan — accents on dark only */
  --ink:#0d2236;            /* body text */
  --muted:#4d6275;          /* secondary text (AA on white and surface) */
  --line:#d8e1e9;
  --line-strong:#b9c7d4;
  --surface:#f2f6f9;
  --surface-2:#e8eff5;
  --white:#fff;
  --ok:#157347;
  --warn:#8a5a00;
  --danger:#b3261e;

  --font:"Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --font-serif:"Plex Serif",Georgia,"Times New Roman",serif;

  /* modular scale 1.25 */
  --fs-xs:.8125rem; --fs-sm:.9rem; --fs-base:1rem; --fs-md:1.125rem; --fs-lg:1.375rem;
  --fs-xl:clamp(1.6rem,1.2rem + 1.4vw,2.15rem);
  --fs-2xl:clamp(2rem,1.4rem + 2.4vw,3.1rem);
  --fs-3xl:clamp(2.3rem,1.5rem + 3.3vw,3.9rem);

  --r-sm:4px; --r:6px; --r-lg:12px;
  --wrap:1240px; --gutter:clamp(1.1rem,3.5vw,2.5rem);
  --section:clamp(3.5rem,7vw,6.5rem);
  --header-h:72px;
  --ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 12px)}
body{margin:0;font-family:var(--font);font-size:var(--fs-base);line-height:1.6;color:var(--ink);background:var(--white);font-feature-settings:"tnum" 0;overflow-x:hidden}
img,svg,picture{display:block;max-width:100%;height:auto}
figure{margin:0}
a{color:var(--brand-strong);text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{color:var(--brand-deep)}
h1,h2,h3,h4{margin:0;line-height:1.15;font-weight:600;letter-spacing:-.015em;color:var(--brand-deep)}
h1{font-size:var(--fs-3xl);letter-spacing:-.025em}
h2{font-size:var(--fs-2xl);letter-spacing:-.02em}
h3{font-size:var(--fs-md);letter-spacing:-.005em}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
ul,ol{margin:0;padding:0}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--brand);outline-offset:3px;border-radius:2px}
.on-dark :focus-visible{outline-color:var(--cyan)}
.num{font-variant-numeric:tabular-nums}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:1rem;top:-100px;z-index:200;background:var(--brand-deep);color:#fff;padding:.7rem 1rem;border-radius:var(--r)}
.skip-link:focus{top:1rem;color:#fff}

/* ---------- Layout ---------- */
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.section{padding-block:var(--section)}
.section--tint{background:var(--surface)}
.section--tight{padding-block:calc(var(--section) * .6)}
.section-head{max-width:46rem;margin-bottom:clamp(2rem,4vw,3rem)}
.section-head p{color:var(--muted);font-size:var(--fs-md);margin-top:1rem;max-width:40rem}
.kicker{display:block;font-size:var(--fs-sm);font-weight:500;color:var(--brand-strong);margin-bottom:.9rem}
.lead{font-size:var(--fs-md);color:var(--muted);max-width:40rem}
.split{display:grid;gap:clamp(2rem,5vw,4.5rem);grid-template-columns:1fr}
@media (min-width:900px){
  .split{grid-template-columns:1fr 1fr;align-items:center}
  .split--wide-left{grid-template-columns:1.15fr .85fr}
  .split--wide-right{grid-template-columns:.85fr 1.15fr}
  .split--top{align-items:start}
}
.stack>*+*{margin-top:1rem}
.row-link{display:inline-flex;align-items:center;gap:.4rem;font-weight:500;text-decoration:none}
.row-link svg{width:16px;height:16px;transition:transform .2s var(--ease)}
.row-link:hover svg{transform:translateX(3px)}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:48px;padding:.75rem 1.35rem;border-radius:var(--r);border:1px solid transparent;font-weight:500;font-size:var(--fs-base);line-height:1.2;text-decoration:none;cursor:pointer;transition:background-color .18s,border-color .18s,color .18s}
.btn svg{width:18px;height:18px;flex:none}
.btn--primary{background:var(--brand-strong);color:#fff}
.btn--primary:hover{background:var(--brand-deep);color:#fff}
.btn--ghost{background:transparent;border-color:var(--line-strong);color:var(--brand-deep)}
.btn--ghost:hover{border-color:var(--brand-deep);color:var(--brand-deep)}
.btn--light{background:#fff;color:var(--brand-deep)}
.btn--light:hover{background:var(--surface-2);color:var(--brand-deep)}
.btn--outline-light{border-color:rgba(255,255,255,.45);color:#fff}
.btn--outline-light:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.06)}
.btn--sm{min-height:40px;padding:.5rem 1rem;font-size:var(--fs-sm)}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--line)}
.site-header .bar{display:flex;align-items:center;gap:1.5rem;height:var(--header-h)}
.brand{display:flex;align-items:center;flex:none;padding-block:.5rem}
.brand img{height:38px;width:auto}
.primary-nav{margin-left:auto}
.primary-nav>ul{display:flex;align-items:center;gap:.15rem;list-style:none}
.primary-nav a,.nav-btn{display:flex;align-items:center;gap:.3rem;height:44px;padding:0 .8rem;border-radius:var(--r);color:var(--ink);text-decoration:none;font-weight:500;font-size:.95rem;background:none;border:0;cursor:pointer;white-space:nowrap}
.primary-nav a:hover,.nav-btn:hover{color:var(--brand-strong);background:var(--surface)}
.primary-nav a[aria-current="page"],.nav-btn.is-current{color:var(--brand-strong);box-shadow:inset 0 -2px 0 var(--brand)}
.nav-btn svg{width:14px;height:14px;transition:transform .2s}
.nav-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.header-cta{margin-left:.75rem}
.nav-toggle{display:none;margin-left:auto;width:48px;height:48px;border:1px solid var(--line);border-radius:var(--r);background:#fff;cursor:pointer;align-items:center;justify-content:center}
.nav-toggle svg{width:22px;height:22px}
.nav-toggle .i-close,.nav-toggle[aria-expanded="true"] .i-menu{display:none}
.nav-toggle[aria-expanded="true"] .i-close{display:block}

/* Mega menu */
.has-mega{position:static}
.mega{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 18px 30px -24px rgba(6,42,77,.35);display:none}
.mega.is-open{display:block}
.mega-inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2.5rem;padding-block:2rem 2.25rem}
.mega h2{font-size:var(--fs-sm);font-weight:600;color:var(--muted);letter-spacing:0;margin-bottom:.8rem}
.mega ul{list-style:none}
.mega-cats{columns:2;column-gap:2rem}
.mega-cats li{break-inside:avoid}
.mega a{display:flex;justify-content:space-between;gap:1rem;height:auto;padding:.42rem .5rem;margin-inline:-.5rem;font-size:.93rem;font-weight:400;border-radius:var(--r-sm)}
.mega a .count{color:var(--muted);font-size:var(--fs-xs)}
.mega-feature{background:var(--surface);border-radius:var(--r-lg);padding:1.25rem}
.mega-feature p{font-size:var(--fs-sm);color:var(--muted)}
.mega-feature a{justify-content:flex-start;font-weight:500;color:var(--brand-strong)}

@media (max-width:1080px){
  .primary-nav a,.nav-btn{padding:0 .55rem;font-size:.9rem}
  .header-cta{display:none}
}
@media (max-width:920px){
  .nav-toggle{display:inline-flex}
  .primary-nav{position:fixed;inset:var(--header-h) 0 0 0;background:#fff;overflow-y:auto;display:none;margin:0;padding:1rem var(--gutter) 2rem;border-top:1px solid var(--line)}
  .primary-nav.is-open{display:block}
  .primary-nav>ul{flex-direction:column;align-items:stretch;gap:0}
  .primary-nav>ul>li{border-bottom:1px solid var(--line)}
  .primary-nav a,.nav-btn{height:56px;padding:0 .25rem;font-size:1.05rem;width:100%;justify-content:space-between;border-radius:0}
  .primary-nav a[aria-current="page"],.nav-btn.is-current{box-shadow:inset 3px 0 0 var(--brand);padding-left:.9rem}
  .mega{position:static;box-shadow:none;border:0}
  .mega-inner{grid-template-columns:1fr;gap:1.5rem;padding:0 0 1.25rem;width:auto}
  .mega-cats{columns:1}
  .mega a{padding:.6rem .25rem;margin:0}
  .mobile-cta{display:block;margin-top:1.5rem}
  .primary-nav .mobile-cta .btn{width:100%;height:52px;justify-content:center;background:var(--brand-strong);color:#fff;border-radius:var(--r);padding:0 1rem}
  .mega-feature{order:-1}
  .mega-inner{display:flex;flex-direction:column}
  body.nav-open{overflow:hidden}
}
@media (min-width:921px){.mobile-cta{display:none}}

/* ---------- Hero (home) ---------- */
.hero{position:relative;background:var(--white);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1fr;gap:0}
.hero-copy{padding-block:clamp(2.5rem,6vw,5.5rem) clamp(2rem,4vw,3rem)}
.hero-copy h1{max-width:15ch}
.hero-copy .lead{margin-top:1.4rem;font-size:clamp(1.05rem,.98rem + .35vw,1.25rem);max-width:34rem}
.hero-copy .btn-row{margin-top:2rem}
.hero-media{position:relative;margin-inline:calc(var(--gutter) * -1)}
.hero-media img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
@media (min-width:980px){
  .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);min-height:min(78vh,720px)}
  .hero-copy{padding-right:3rem;align-self:center;padding-block:4rem 7.5rem}
  .hero-media{margin:0 calc((100vw - min(100vw,var(--wrap))) / -2 - var(--gutter)) 0 0}
  .hero-media img{aspect-ratio:auto;position:absolute;inset:0;border-bottom-left-radius:var(--r-lg)}
}

/* Regulatory register — the hero's anchor */
.register{position:relative;z-index:2;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);display:grid;grid-template-columns:1fr;margin-top:-1px}
.register-item{padding:1.25rem 1.4rem;display:grid;gap:.25rem;align-content:start}
.register-item+.register-item{border-top:1px solid var(--line)}
.register-label{font-size:var(--fs-xs);color:var(--muted);font-weight:500}
.register-value{font-weight:600;color:var(--brand-deep);font-size:var(--fs-md)}
.register-meta{font-size:var(--fs-sm);color:var(--muted)}
.register-item a{font-size:var(--fs-sm);font-weight:500;margin-top:.35rem;text-decoration:none;display:inline-flex;gap:.35rem;align-items:center}
.register-item a svg{width:15px;height:15px}
.status{display:inline-flex;align-items:center;gap:.4rem;font-size:var(--fs-xs);font-weight:600;color:var(--ok)}
.status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
@media (min-width:720px){
  .register{grid-template-columns:repeat(3,1fr)}
  .register-item+.register-item{border-top:0;border-left:1px solid var(--line)}
}
@media (min-width:980px){
  .register{margin-top:-4.5rem;box-shadow:0 24px 40px -32px rgba(6,42,77,.45)}
}

/* ---------- Figures / stats ---------- */
.figures{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--line)}
.figure{padding:1.5rem 1rem 1.5rem 0;border-bottom:1px solid var(--line)}
.figure .value{font-size:clamp(1.7rem,1.3rem + 1.5vw,2.5rem);font-weight:500;color:var(--brand-deep);letter-spacing:-.02em;line-height:1.1;font-variant-numeric:tabular-nums}
.figure .label{margin-top:.4rem;color:var(--muted);font-size:var(--fs-sm)}
@media (min-width:720px){
  .figures{grid-template-columns:repeat(3,1fr)}
  .figure{padding:1.75rem 1.5rem}
  .figure:not(:nth-child(3n+1)){border-left:1px solid var(--line)}
  .figure:nth-child(3n+1){padding-left:0}
}
/* ---------- Media ---------- */
.frame{position:relative;overflow:hidden;border-radius:var(--r-lg);background:var(--surface-2)}
.frame picture,.mosaic picture{height:100%}
.frame img{width:100%;height:100%;object-fit:cover}
.frame figcaption,.cap{font-size:var(--fs-sm);color:var(--muted);margin-top:.6rem}
.frame--tall img{aspect-ratio:4/5}
.frame--wide img{aspect-ratio:16/9}
.frame--square img{aspect-ratio:1}

/* Editorial mosaic (manufacturing) */
.mosaic{display:grid;gap:.75rem;grid-template-columns:repeat(2,1fr)}
.mosaic figure{margin:0;position:relative;overflow:hidden;border-radius:var(--r-lg);background:var(--surface-2)}
.mosaic img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;transition:transform .8s var(--ease)}
.mosaic figure:hover img{transform:scale(1.03)}
.mosaic figcaption{position:absolute;left:.6rem;bottom:.6rem;background:rgba(255,255,255,.94);color:var(--brand-deep);font-size:var(--fs-xs);font-weight:500;padding:.3rem .6rem;border-radius:var(--r-sm)}
.mosaic .m-a,.mosaic .m-d{grid-column:1/-1}
.mosaic .m-a img{aspect-ratio:16/9}
@media (min-width:900px){
  .mosaic{grid-template-columns:1.35fr 1fr 1fr;grid-template-rows:auto auto}
  .mosaic .m-a{grid-column:1;grid-row:1/3}
  .mosaic .m-a img{aspect-ratio:auto;height:100%}
  .mosaic .m-d{grid-column:2/4}
  .mosaic .m-d img{aspect-ratio:21/9}
}

/* Facility gallery (manufacturing page) */
.gallery{display:grid;gap:clamp(1.5rem,3vw,2.5rem);grid-template-columns:1fr}
.gallery figure{margin:0}
.gallery img{border-radius:var(--r-lg);width:100%;aspect-ratio:3/2;object-fit:cover;background:var(--surface-2)}
.gallery figcaption{margin-top:.75rem}
.gallery figcaption strong{display:block;color:var(--brand-deep);font-weight:600}
.gallery figcaption span{color:var(--muted);font-size:var(--fs-sm)}
@media (min-width:760px){
  .gallery{grid-template-columns:repeat(6,1fr)}
  .gallery figure{grid-column:span 3}
  .gallery .g-wide{grid-column:span 4}
  .gallery .g-narrow{grid-column:span 2}
  .gallery .g-narrow img{aspect-ratio:3/4}
}

/* ---------- Lists & capability rows ---------- */
.cap-list{list-style:none;border-top:1px solid var(--line)}
.cap-list li{border-bottom:1px solid var(--line)}
.cap-list a,.cap-list .cap-row{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:baseline;padding:1.05rem 0;text-decoration:none;color:var(--ink)}
.cap-list a:hover .cap-name{color:var(--brand-strong)}
.cap-name{font-weight:600;color:var(--brand-deep);font-size:var(--fs-md)}
.cap-desc{display:block;color:var(--muted);font-size:var(--fs-sm);font-weight:400;margin-top:.15rem}
.cap-count{color:var(--muted);font-size:var(--fs-sm);white-space:nowrap}

/* Quality band */
.band{background:var(--brand-deep);color:#d8e6f2}
.band h2,.band h3{color:#fff}
.band .kicker{color:#7fdcff}
.band .lead,.band p{color:#c3d6e7}
.band a:not(.btn){color:#fff}
.steps{list-style:none;counter-reset:step;display:grid;gap:0;margin-top:2rem;border-top:1px solid rgba(255,255,255,.18)}
.steps li{counter-increment:step;display:grid;grid-template-columns:3rem 1fr;gap:.5rem;padding:1.1rem 0;border-bottom:1px solid rgba(255,255,255,.18)}
.steps li::before{content:counter(step,decimal-leading-zero);font-variant-numeric:tabular-nums;color:#7fdcff;font-weight:500;padding-top:.1rem}
.steps strong{display:block;color:#fff;font-weight:600}
.steps span{font-size:var(--fs-sm);color:#b9cde0}
.steps--light{border-top-color:var(--line)}
.steps--light li{border-bottom-color:var(--line)}
.steps--light li::before{color:var(--brand)}
.steps--light strong{color:var(--brand-deep)}
.steps--light span{color:var(--muted)}

/* Certificate document card */
.cert{border:1px solid var(--line);border-radius:var(--r-lg);background:#fff;overflow:hidden}
.cert-head{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:flex-start;padding:1.5rem 1.5rem 1.25rem;border-bottom:1px solid var(--line)}
.cert-head h3{font-size:var(--fs-lg)}
.cert-head p{color:var(--muted);font-size:var(--fs-sm);margin-top:.4rem;max-width:40rem}
.cert dl{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.cert dl div{padding:1rem 1.5rem;border-bottom:1px solid var(--line)}
.cert dt{font-size:var(--fs-xs);color:var(--muted);font-weight:500}
.cert dd{margin:.2rem 0 0;font-weight:600;color:var(--brand-deep);font-variant-numeric:tabular-nums}
.cert-foot{padding:1rem 1.5rem;display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;background:var(--surface)}
.cert-foot small{color:var(--muted)}

/* Simple info blocks */
.facts{display:grid;gap:1.5rem 2.5rem;grid-template-columns:1fr}
@media (min-width:720px){.facts{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1040px){.facts--3{grid-template-columns:repeat(3,1fr)}}
.fact{border-top:2px solid var(--brand);padding-top:1rem}
.fact h3{margin-bottom:.45rem}
.fact p{color:var(--muted);font-size:.97rem}
.band .fact{border-top-color:var(--cyan)}

.note{border-left:3px solid var(--line-strong);padding:.8rem 1rem;background:var(--surface);color:var(--muted);font-size:var(--fs-sm);border-radius:0 var(--r) var(--r) 0}
.tag{display:inline-block;font-size:var(--fs-xs);font-weight:500;padding:.18rem .55rem;border-radius:var(--r-sm);background:var(--surface-2);color:var(--brand-deep)}
.tag--plan{background:#fff4dc;color:var(--warn)}

/* Quote */
.quote{margin:0}
.quote blockquote{margin:0;font-family:var(--font-serif);font-style:italic;font-size:clamp(1.3rem,1.1rem + .9vw,1.75rem);line-height:1.4;color:var(--brand-deep)}
.quote figcaption{margin-top:1.1rem;font-size:var(--fs-sm);color:var(--muted)}
.quote figcaption strong{color:var(--ink);font-weight:600;display:block}

/* Timeline */
.timeline{list-style:none;border-left:1px solid var(--line-strong);margin-left:.35rem}
.timeline li{position:relative;padding:0 0 1.75rem 1.6rem}
.timeline li::before{content:"";position:absolute;left:-5px;top:.45rem;width:9px;height:9px;border-radius:50%;background:#fff;border:2px solid var(--brand)}
.timeline time{font-size:var(--fs-sm);font-weight:600;color:var(--brand-strong);font-variant-numeric:tabular-nums}
.timeline p{margin-top:.2rem;color:var(--ink)}

/* Page header (inner pages) */
.page-head{background:var(--surface);border-bottom:1px solid var(--line)}
.page-head .wrap{padding-block:clamp(2.25rem,5vw,4rem)}
.page-head h1{font-size:var(--fs-2xl);max-width:22ch}
.page-head .lead{margin-top:1rem}
.page-head--image .wrap{display:grid;gap:2rem;align-items:center}
@media (min-width:900px){.page-head--image .wrap{grid-template-columns:1fr 1fr}}
.page-head--image .frame img{aspect-ratio:16/10}
.crumbs{font-size:var(--fs-sm);color:var(--muted);margin-bottom:1rem}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.35rem}
.crumbs li+li::before{content:"/";margin-right:.35rem;color:var(--line-strong)}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--brand-strong);text-decoration:underline}
.crumbs [aria-current]{color:var(--ink)}

.head-row{display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between;align-items:flex-end;margin-bottom:2rem}

/* Prose */
.prose{max-width:44rem}
.prose p{color:var(--ink);font-size:1.04rem;line-height:1.7}
.prose h2{font-size:var(--fs-xl);margin:2.25rem 0 .9rem}
.prose h3{margin:1.5rem 0 .5rem}
.prose ul{padding-left:1.2rem;margin-bottom:1em}

/* Home: product category index */
.cat-index{list-style:none;display:grid;grid-template-columns:1fr;border-top:1px solid var(--line)}
@media (min-width:640px){.cat-index{grid-template-columns:repeat(2,1fr);column-gap:2.5rem}}
@media (min-width:1040px){.cat-index{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1240px){.cat-index{grid-template-columns:repeat(4,1fr);column-gap:2rem}}
.cat-index li{border-bottom:1px solid var(--line)}
.cat-index a{display:flex;align-items:center;gap:.9rem;padding:.95rem 0;text-decoration:none;color:var(--ink);min-height:56px}
.cat-index .ico{flex:none;width:36px;height:36px;border-radius:var(--r);background:var(--surface);color:var(--brand);display:grid;place-items:center}
.cat-index .ico svg{width:20px;height:20px}
.cat-index .name{flex:1;font-weight:500}
.cat-index .count{color:var(--muted);font-size:var(--fs-sm);font-variant-numeric:tabular-nums}
.cat-index a:hover .name{color:var(--brand-strong)}
.cat-index a:hover .ico{background:var(--brand);color:#fff}

.quick-search{display:flex;gap:.5rem;max-width:34rem;margin-top:1.75rem}
.quick-search input{flex:1;min-width:0}

/* Product strip */
.shelf{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin-top:2.5rem}
@media (min-width:720px){.shelf{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1100px){.shelf{grid-template-columns:repeat(6,1fr)}}
.shelf a:nth-child(n+5){display:none}
@media (min-width:720px){.shelf a:nth-child(n+5){display:block}}
.shelf a{display:block;text-decoration:none;color:var(--ink);background:var(--surface);border-radius:var(--r-lg);overflow:hidden}
.shelf img{aspect-ratio:1;object-fit:cover;width:100%;mix-blend-mode:multiply}
.shelf span{display:block;padding:.6rem .8rem .8rem;font-size:var(--fs-sm);font-weight:600;color:var(--brand-deep)}
.shelf small{display:block;font-weight:400;color:var(--muted);font-size:var(--fs-xs)}

/* Audience / contact routes */
.routes{display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid rgba(255,255,255,.2)}
@media (min-width:860px){.routes{grid-template-columns:repeat(3,1fr)}}
.route{padding:1.5rem 0;border-bottom:1px solid rgba(255,255,255,.2)}
@media (min-width:860px){.route{padding:1.75rem 1.75rem 1.75rem 0;border-bottom:0}.route+.route{padding-left:1.75rem;border-left:1px solid rgba(255,255,255,.2)}}
.route h3{margin-bottom:.4rem}
.route p{font-size:var(--fs-sm)}
.route a{font-weight:500;word-break:break-word}

/* News */
.news-item{display:grid;gap:1.5rem;grid-template-columns:1fr;border-top:1px solid var(--line);padding-top:1.5rem}
@media (min-width:860px){.news-item{grid-template-columns:12rem 1fr}}
.news-item time{color:var(--muted);font-size:var(--fs-sm);font-weight:500}
.news-item h3{font-size:var(--fs-lg);margin-bottom:.5rem}
.news-item p{color:var(--muted);max-width:42rem}

/* ---------- Leadership ---------- */
.people{display:grid;gap:1.25rem;grid-template-columns:repeat(2,1fr)}
@media (min-width:760px){.people{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1100px){.people{grid-template-columns:repeat(5,1fr)}}
.person{all:unset;box-sizing:border-box;cursor:pointer;display:block;text-align:left;border-radius:var(--r-lg)}
.person img{aspect-ratio:1;object-fit:cover;width:100%;border-radius:var(--r-lg);background:var(--surface-2);filter:saturate(.9)}
.person .p-name{display:block;margin-top:.8rem;font-weight:600;color:var(--brand-deep)}
.person .p-role{display:block;color:var(--muted);font-size:var(--fs-sm)}
.person .p-more{display:inline-block;margin-top:.35rem;font-size:var(--fs-sm);font-weight:500;color:var(--brand-strong)}
.person:hover img{filter:none}
.person:focus-visible{outline:3px solid var(--brand);outline-offset:4px}
dialog.profile{border:0;border-radius:var(--r-lg);padding:0;max-width:40rem;width:calc(100% - 2rem);color:var(--ink);box-shadow:0 30px 60px -20px rgba(6,42,77,.5)}
dialog.profile::backdrop{background:rgba(6,42,77,.55)}
.profile-head{display:grid;grid-template-columns:96px 1fr auto;gap:1.1rem;align-items:center;padding:1.4rem;border-bottom:1px solid var(--line)}
.profile-head img{width:96px;height:96px;border-radius:var(--r);object-fit:cover}
.profile-head h2{font-size:var(--fs-lg)}
.profile-head p{margin:.2rem 0 0;color:var(--muted);font-size:var(--fs-sm)}
.profile-body{padding:1.4rem;max-height:60vh;overflow:auto}
.profile-body p{font-size:.97rem}
.icon-btn{width:44px;height:44px;border:1px solid var(--line);border-radius:var(--r);background:#fff;display:grid;place-items:center;cursor:pointer;align-self:start}
.icon-btn svg{width:18px;height:18px}
.contact-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}

/* ---------- Catalogue ---------- */
.catalogue{display:grid;grid-template-columns:1fr;gap:2rem}
@media (min-width:1000px){.catalogue{grid-template-columns:260px 1fr;gap:2.5rem}}
.filters{align-self:start}
@media (min-width:1000px){.filters{position:sticky;top:calc(var(--header-h) + 1.25rem);max-height:calc(100vh - var(--header-h) - 2.5rem);overflow:auto;padding-right:.25rem}}
.filter-group{border-bottom:1px solid var(--line);padding-block:1rem}
.filter-group:first-child{padding-top:0}
.filter-group legend,.filter-group>.f-label{font-weight:600;font-size:var(--fs-sm);color:var(--brand-deep);margin-bottom:.6rem;padding:0}
.filter-group fieldset{border:0;margin:0;padding:0}
.opt{display:flex;align-items:center;gap:.6rem;padding:.35rem 0;font-size:.93rem;cursor:pointer;min-height:36px}
.opt input{width:18px;height:18px;accent-color:var(--brand-strong);flex:none;margin:0}
.opt .c{margin-left:auto;color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}
.filters-toggle{display:none}
.filters-close{display:none}
@media (max-width:999px){
  .filters-toggle{display:inline-flex}
  .filters{position:fixed;inset:0;z-index:150;background:#fff;padding:1.25rem var(--gutter) 6rem;overflow:auto;display:none}
  .filters.is-open{display:block}
  .filters-close{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
  .filters-apply{position:fixed;left:0;right:0;bottom:0;padding:1rem var(--gutter);background:#fff;border-top:1px solid var(--line)}
  .filters-apply .btn{width:100%}
}
@media (min-width:1000px){.filters-apply{display:none}}
.toolbar{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:space-between;margin-bottom:1.25rem}
.toolbar .search{position:relative;flex:1 1 320px}
.toolbar .search svg{position:absolute;left:.9rem;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted);pointer-events:none}
.toolbar .search input{padding-left:2.6rem}
.result-meta{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:space-between;margin-bottom:1rem;font-size:var(--fs-sm);color:var(--muted)}
.chips{display:flex;flex-wrap:wrap;gap:.4rem}
.chip{display:inline-flex;align-items:center;gap:.35rem;border:1px solid var(--line-strong);background:#fff;border-radius:999px;padding:.25rem .5rem .25rem .75rem;font-size:var(--fs-xs);cursor:pointer;min-height:32px}
.chip svg{width:12px;height:12px}
.chip:hover{border-color:var(--brand-deep)}
.link-btn{background:none;border:0;padding:0;color:var(--brand-strong);text-decoration:underline;cursor:pointer;font-size:var(--fs-sm)}

.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;list-style:none}
@media (min-width:640px){.product-grid{gap:1rem}}
@media (min-width:760px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1280px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.p-card{height:100%}
.p-card a{display:flex;flex-direction:column;height:100%;text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:#fff;transition:border-color .18s}
.p-card a:hover{border-color:var(--brand)}
.p-card .img{background:#eef1f3;aspect-ratio:1;overflow:hidden}
.p-card picture,.pd-media picture{height:100%}
.p-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.p-card a:hover img{transform:scale(1.035)}
.p-card .body{padding:.85rem .9rem 1rem;display:flex;flex-direction:column;gap:.2rem;flex:1}
.p-card .cat{font-size:var(--fs-xs);color:var(--brand-strong);font-weight:500}
.p-card h3{font-size:1rem;line-height:1.25;letter-spacing:0}
.p-card .gen{font-size:var(--fs-sm);color:var(--muted);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.p-card .spec{margin-top:auto;padding-top:.6rem;display:flex;justify-content:space-between;gap:.5rem;font-size:var(--fs-xs);color:var(--muted);border-top:1px dashed var(--line);margin-top:.6rem}
.p-card .price{color:var(--brand-deep);font-weight:600;white-space:nowrap}
@media (max-width:420px){.p-card .body{padding:.7rem .7rem .8rem}.p-card .spec{flex-direction:column;gap:.1rem}}
.empty{padding:3rem 1rem;text-align:center;border:1px dashed var(--line-strong);border-radius:var(--r-lg)}
.empty h2{font-size:var(--fs-lg)}
.empty p{color:var(--muted);margin-top:.5rem}
[hidden]{display:none!important}

/* ---------- Product detail ---------- */
.pd{display:grid;gap:clamp(1.5rem,4vw,3.5rem);grid-template-columns:1fr}
@media (min-width:900px){.pd{grid-template-columns:1fr 1fr;align-items:start}}
.pd-media{background:#eef1f3;border-radius:var(--r-lg);overflow:hidden}
@media (min-width:900px){.pd-media{position:sticky;top:calc(var(--header-h) + 1.5rem)}}
.pd-media img{width:100%;aspect-ratio:1;object-fit:cover}
.pd h1{font-size:var(--fs-2xl)}
.pd .generic{font-size:var(--fs-md);color:var(--muted);margin-top:.6rem}
.pd .price-line{display:flex;align-items:baseline;gap:.6rem;margin-top:1.5rem}
.pd .price-line strong{font-size:var(--fs-xl);color:var(--brand-deep);font-weight:500}
.pd .price-line span{font-size:var(--fs-sm);color:var(--muted)}
.spec-table{width:100%;border-collapse:collapse;margin-top:1.75rem;font-size:.96rem}
.spec-table caption{text-align:left;font-weight:600;color:var(--brand-deep);padding-bottom:.6rem}
.spec-table th,.spec-table td{text-align:left;padding:.75rem 0;border-bottom:1px solid var(--line);vertical-align:top}
.spec-table th{font-weight:500;color:var(--muted);width:42%;padding-right:1rem}
.spec-table td{color:var(--ink)}
.pd .btn-row{margin-top:1.75rem}
.pd .note{margin-top:1.5rem}

/* ---------- Network ---------- */
.branch-list{list-style:none;display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid var(--line)}
@media (min-width:800px){.branch-list{grid-template-columns:repeat(2,1fr);column-gap:2.5rem}}
.branch{padding:1.25rem 0;border-bottom:1px solid var(--line)}
.branch h3{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.branch .addr{color:var(--muted);font-size:var(--fs-sm);margin-top:.35rem}
.branch .links{display:flex;flex-wrap:wrap;gap:.25rem 1rem;margin-top:.5rem;font-size:var(--fs-sm)}
.branch--hq{grid-column:1/-1;background:var(--surface);padding:1.5rem;border-radius:var(--r-lg);border:0;margin:1.25rem 0}

/* ---------- Forms ---------- */
.field{display:grid;gap:.4rem}
.field label{font-weight:500;font-size:var(--fs-sm);color:var(--brand-deep)}
.field .opt-label{font-weight:400;color:var(--muted)}
.input,input[type=text],input[type=email],input[type=tel],input[type=search],select,textarea{width:100%;min-height:48px;padding:.7rem .9rem;border:1px solid var(--line-strong);border-radius:var(--r);background:#fff;font-size:16px;transition:border-color .15s,box-shadow .15s}
textarea{min-height:150px;resize:vertical;line-height:1.5}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d6275' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .8rem center;background-size:18px;padding-right:2.5rem}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(0,114,188,.18)}
.field.has-error input,.field.has-error textarea,.field.has-error select{border-color:var(--danger)}
.field .error{color:var(--danger);font-size:var(--fs-sm);display:none}
.field.has-error .error{display:block}
.form-grid{display:grid;gap:1.1rem;grid-template-columns:1fr}
@media (min-width:640px){.form-grid--2{grid-template-columns:1fr 1fr}}
.hp{position:absolute!important;left:-9999px!important;height:0;overflow:hidden}
.form-status{margin-top:1rem;padding:.9rem 1rem;border-radius:var(--r);font-size:var(--fs-sm);display:none}
.form-status.is-ok{display:block;background:#e7f4ec;color:#0e5433}
.form-status.is-error{display:block;background:#fbeaea;color:#8a1c16}
.form-note{font-size:var(--fs-sm);color:var(--muted);margin-top:.9rem}
.contact-card{border:1px solid var(--line);border-radius:var(--r-lg);padding:1.5rem}
.contact-card+.contact-card{margin-top:1rem}
.contact-card h2{font-size:var(--fs-md);margin-bottom:.75rem}
.contact-card address{font-style:normal;color:var(--ink)}
.dl-list{margin:0;display:grid;gap:.6rem}
.dl-list div{display:grid;grid-template-columns:9rem 1fr;gap:.75rem}
.dl-list dt{color:var(--muted);font-size:var(--fs-sm)}
.dl-list dd{margin:0;word-break:break-word}
@media (max-width:480px){.dl-list div{grid-template-columns:1fr;gap:0}}

/* Downloads */
.docs{list-style:none;border-top:1px solid var(--line)}
.doc{display:grid;grid-template-columns:auto 1fr;gap:1rem 1.25rem;align-items:center;padding:1.4rem 0;border-bottom:1px solid var(--line)}
@media (min-width:720px){.doc{grid-template-columns:auto 1fr auto}}
.doc-ico{width:48px;height:56px;border:1px solid var(--line-strong);border-radius:var(--r-sm);display:grid;place-items:center;font-size:var(--fs-xs);font-weight:600;color:var(--danger);background:#fff}
.doc h2{font-size:var(--fs-md)}
.doc p{color:var(--muted);font-size:var(--fs-sm);margin-top:.2rem}
.doc .btn{grid-column:1/-1}
@media (min-width:720px){.doc .btn{grid-column:auto}}

/* ---------- CTA band ---------- */
.cta{background:var(--brand-deep);color:#fff;border-radius:var(--r-lg);padding:clamp(2rem,5vw,3.5rem);display:grid;gap:1.5rem;align-items:center}
@media (min-width:860px){.cta{grid-template-columns:1.4fr auto}}
.cta h2{color:#fff;font-size:var(--fs-xl)}
.cta p{color:#c3d6e7;margin-top:.6rem;max-width:38rem}

/* ---------- Footer ---------- */
.site-footer{background:var(--brand-deep);color:#b9cde0;font-size:.95rem;margin-top:0}
.site-footer a{color:#e3eef7;text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline}
.footer-top{display:grid;gap:2.5rem;grid-template-columns:1fr;padding-block:clamp(3rem,6vw,4.5rem) 2.5rem}
@media (min-width:720px){.footer-top{grid-template-columns:1fr 1fr}}
@media (min-width:1080px){.footer-top{grid-template-columns:1.5fr 1fr 1fr 1fr 1.3fr}}
.footer-brand img{height:40px;width:auto;margin-bottom:1.1rem}
.footer-brand p{max-width:22rem;font-size:var(--fs-sm)}
.site-footer h2{font-size:var(--fs-sm);color:#fff;font-weight:600;letter-spacing:0;margin-bottom:.9rem}
.site-footer ul{list-style:none;display:grid;gap:.5rem}
.site-footer address{font-style:normal;font-size:var(--fs-sm);line-height:1.6}
.footer-reg{border-top:1px solid rgba(255,255,255,.14);padding-block:1.25rem;font-size:var(--fs-xs);display:flex;flex-wrap:wrap;gap:.5rem 1.5rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding-block:1.25rem 1.5rem;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;font-size:var(--fs-xs)}
.footer-bottom ul{display:flex;gap:1.25rem}

/* WhatsApp button */
.wa-fab{position:fixed;right:1rem;bottom:1rem;z-index:90;width:54px;height:54px;border-radius:50%;background:#1f8f4e;color:#fff;display:grid;place-items:center;box-shadow:0 10px 24px -10px rgba(0,0,0,.45)}
.wa-fab svg{width:28px;height:28px}
.nav-open .wa-fab,.filters-open .wa-fab{display:none}
.wa-fab:hover{background:#177a41;color:#fff}
@media print{.wa-fab,.site-header,.site-footer{display:none}}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion:no-preference){
  .js .hero-copy>*{opacity:1;transform:none}
  .js .hero-copy>*:nth-child(2){animation-delay:.08s}
  .js .hero-copy>*:nth-child(3){animation-delay:.16s}
  .js .hero-copy>*:nth-child(4){animation-delay:.24s}
  .js .hero-media img{clip-path:none}
  .js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
  .js .reveal.is-in{opacity:1;transform:none}
}
@keyframes rise{to{opacity:1;transform:none}}
@keyframes unveil{to{clip-path:inset(0 0 0 0)}}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
@media (min-width:600px) and (max-width:899px){.frame--tall img{aspect-ratio:16/10}}
/* OTC tag on catalogue cards (added 2026-09-27) */
.p-card .img{position:relative}
.p-card .tag-otc{position:absolute;top:.6rem;left:.6rem;z-index:1;background:var(--brand);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.05em;line-height:1.3;padding:.2rem .55rem;border-radius:999px;box-shadow:0 1px 3px rgba(0,0,0,.15)}

/* ===== Snow Pharma "Motion" theme — dark blue / light blue / orange (added 2026-09-27) ===== */
:root{--orange:#ff7a2f;--orange-deep:#e8601c;--sky:#00b9f2;--sky-soft:#9ce9ff;--navy:#062a4d;--navy-2:#0a3a66;
  --page-bg:#f3f8fc;--surface:#e9f3fa;--surface-2:#dfeef8}

/* Page: soft light-blue canvas instead of plain white */
body{background:
  radial-gradient(1100px 600px at 100% 0%,rgba(0,185,242,.10),transparent 60%),
  radial-gradient(900px 500px at 0% 35%,rgba(0,114,188,.07),transparent 60%),
  radial-gradient(700px 400px at 90% 80%,rgba(255,122,47,.06),transparent 60%),
  var(--page-bg);background-attachment:fixed}

/* Frosted header with a blue-to-orange hairline */
.site-header{background:rgba(255,255,255,.82);-webkit-backdrop-filter:saturate(160%) blur(14px);backdrop-filter:saturate(160%) blur(14px);border-bottom:0}
.site-header::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,var(--navy),var(--brand) 35%,var(--sky) 65%,var(--orange));background-size:200% 100%;animation:sp-slide 12s linear infinite}

/* Tinted sections: light-blue gradient */
.section--tint{background:linear-gradient(180deg,#e6f2fa 0%,#f1f8fd 100%)}

/* ---------- Hero + page heads: drifting orbs and a glass ring ---------- */
.hero,.page-head{position:relative;isolation:isolate;overflow:hidden;
  background:linear-gradient(135deg,#e4f2fc 0%,#f6fbff 45%,#e1f0fb 100%)}
.hero>.wrap,.page-head>.wrap{position:relative;z-index:1}
.hero::before,.page-head::before{content:"";position:absolute;z-index:0;pointer-events:none;border-radius:50%;
  width:clamp(160px,22vw,340px);aspect-ratio:1;right:-4%;top:6%;
  background:radial-gradient(circle at 28% 24%,#fff 0%,var(--sky-soft) 18%,var(--sky) 62%,var(--brand) 100%);
  box-shadow:0 30px 60px -20px rgba(0,114,188,.45),inset -12px -18px 40px rgba(6,42,77,.25);
  opacity:.85;animation:sp-drift 16s ease-in-out infinite}
.hero::after,.page-head::after{content:"";position:absolute;z-index:0;pointer-events:none;border-radius:50%;
  width:clamp(34px,3.6vw,54px);aspect-ratio:1;left:46%;top:9%;
  background:radial-gradient(circle at 30% 25%,#ffe4d6,#ff8b53 42%,var(--orange-deep) 78%);
  box-shadow:0 12px 24px -8px rgba(232,96,28,.55);animation:sp-drift-b 11s ease-in-out infinite}
.hero>.wrap::before,.page-head>.wrap::before{content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:50%;
  width:clamp(220px,30vw,420px);aspect-ratio:1;left:calc(var(--gutter) * -3);bottom:-38%;
  border:22px solid rgba(0,185,242,.10);box-shadow:inset 0 0 0 1px rgba(255,255,255,.7),0 0 0 1px rgba(0,114,188,.08);
  animation:sp-rock 18s ease-in-out infinite}
.hero>.wrap::after,.page-head>.wrap::after{content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:50%;
  width:18px;aspect-ratio:1;right:38%;bottom:12%;background:var(--navy);opacity:.18;animation:sp-drift 13s ease-in-out infinite reverse}
.page-head--image::before{opacity:.55}

/* Hero title: slow dark-to-light blue shimmer (stays dark enough to read) */
.hero h1,.page-head h1{background:linear-gradient(100deg,var(--navy) 10%,var(--brand-strong) 35%,#0a8fc9 50%,var(--brand-strong) 65%,var(--navy) 90%);
  background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:sp-shine 9s ease-in-out infinite}
.hero h1::after,.page-head h1::after{content:"";display:block;width:64px;height:4px;border-radius:4px;margin-top:.9rem;
  background:linear-gradient(90deg,var(--orange),#ffb07a)}
.hero-media img{border-radius:var(--r-lg);box-shadow:0 30px 60px -30px rgba(6,42,77,.55)}

/* Kicker / eyebrow text gets an orange dot */
.kicker::before{content:"";display:inline-block;width:.5em;height:.5em;border-radius:50%;background:var(--orange);margin-right:.5em;vertical-align:.08em}

/* ---------- Key figures: navy panel with moving glows ---------- */
.figures{position:relative;isolation:isolate;overflow:hidden;border:0;border-radius:var(--r-lg);
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 60%,#0b4a80 100%);padding:.5rem clamp(1rem,3vw,2rem);
  box-shadow:0 30px 60px -35px rgba(6,42,77,.8)}
.figures::before,.figures::after{content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none;filter:blur(8px)}
.figures::before{width:320px;aspect-ratio:1;right:-80px;top:-120px;background:radial-gradient(circle,rgba(0,185,242,.55),transparent 65%);animation:sp-drift 14s ease-in-out infinite}
.figures::after{width:220px;aspect-ratio:1;left:-60px;bottom:-110px;background:radial-gradient(circle,rgba(255,122,47,.45),transparent 65%);animation:sp-drift-b 12s ease-in-out infinite}
.figures .figure{border-color:rgba(255,255,255,.12)!important}
.figures .figure .value{color:#fff}
.figures .figure .label{color:#a9cde8}

/* ---------- Dark bands, CTA and footer: animated glows ---------- */
.band,.cta,.site-footer{position:relative;isolation:isolate;overflow:hidden}
.band,.site-footer{background:linear-gradient(160deg,var(--navy) 0%,#07345e 55%,var(--navy) 100%)}
.cta{background:linear-gradient(120deg,var(--navy) 0%,#0a3f70 60%,#0b5a94 100%)}
.band::before,.cta::before,.site-footer::before{content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:50%;
  width:clamp(260px,34vw,520px);aspect-ratio:1;right:-8%;top:-30%;background:radial-gradient(circle,rgba(0,185,242,.32),transparent 65%);
  animation:sp-drift 18s ease-in-out infinite}
.band::after,.cta::after{content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:50%;
  width:clamp(160px,18vw,280px);aspect-ratio:1;left:-5%;bottom:-25%;background:radial-gradient(circle,rgba(255,122,47,.30),transparent 65%);
  animation:sp-drift-b 14s ease-in-out infinite}
.site-footer{border-top:3px solid transparent;border-image:linear-gradient(90deg,var(--sky),var(--brand) 50%,var(--orange)) 1}

/* ---------- Cards lift slightly ---------- */
.p-card a{box-shadow:0 1px 2px rgba(6,42,77,.05);transition:border-color .18s,box-shadow .25s var(--ease),transform .25s var(--ease)}
.p-card a:hover{transform:translateY(-3px);box-shadow:0 18px 30px -18px rgba(6,42,77,.45)}
.p-card .tag-otc{background:var(--orange-deep)}

/* ---------- Motion ---------- */
@keyframes sp-drift{0%,100%{transform:translate(0,0)}33%{transform:translate(-18px,22px)}66%{transform:translate(14px,-12px)}}
@keyframes sp-drift-b{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(26px,18px) scale(1.08)}}
@keyframes sp-rock{0%,100%{transform:rotate(-6deg) translateY(0)}50%{transform:rotate(6deg) translateY(-14px)}}
@keyframes sp-shine{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes sp-slide{from{background-position:0% 0}to{background-position:200% 0}}
@media (prefers-reduced-motion:reduce){
  .hero::before,.hero::after,.page-head::before,.page-head::after,.hero>.wrap::before,.hero>.wrap::after,
  .page-head>.wrap::before,.page-head>.wrap::after,.figures::before,.figures::after,.band::before,.band::after,
  .cta::before,.cta::after,.site-footer::before,.site-header::after,.hero h1,.page-head h1{animation:none!important}}
@media print{.hero::before,.hero::after,.page-head::before,.page-head::after,.figures::before,.figures::after{display:none}}
/* Hero orb placement on the home page (photo sits on the right) */
.hero::before{right:auto;top:auto;left:-7%;bottom:14%;width:clamp(140px,16vw,240px)}
.hero::after{z-index:2;right:auto;left:calc(50% - 26px);top:13%}
.p-card .tag-otc{left:auto;inset-inline-start:.6rem}

/* ===== Language switch (English / Pashto) ===== */
.lang-btn{font:inherit;font-size:var(--fs-sm);font-weight:600;line-height:1;padding:.55rem .8rem;border-radius:999px;cursor:pointer;
  border:1px solid var(--line-strong);background:rgba(255,255,255,.7);color:var(--brand-deep);transition:border-color .18s,background .18s}
.lang-btn:hover{border-color:var(--orange);background:#fff}
.lang-btn[lang="ps"]{font-family:"Segoe UI",Tahoma,"Noto Naskh Arabic","Geeza Pro",sans-serif;font-size:1rem}
.site-header .bar .lang-btn + .header-cta{margin-inline-start:.6rem}
html.is-ps body{font-family:"Segoe UI",Tahoma,"Noto Naskh Arabic","Geeza Pro",var(--font);letter-spacing:0}
html.is-ps h1,html.is-ps h2,html.is-ps h3{letter-spacing:0;line-height:1.35}
html.is-ps .kicker::before{margin-right:0;margin-left:.5em}
html[dir="rtl"] .row-link svg{transform:scaleX(-1)}

/* ===== Catalogue: disease search, try-chips, coming-soon cards ===== */
.try-row{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:.6rem 0 0;font-size:var(--fs-sm);color:var(--muted)}
.try-row button{font:inherit;font-size:var(--fs-xs);padding:.3rem .65rem;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--brand-strong);cursor:pointer}
.try-row button:hover{border-color:var(--orange);color:var(--brand-deep)}
.disease-match{margin:1rem 0 0;padding:.9rem 1.1rem;border-radius:var(--r-lg);border:1px solid rgba(0,114,188,.2);
  border-inline-start:4px solid var(--orange);background:linear-gradient(90deg,#fff,#eef7fd)}
.disease-match .dm-title{color:var(--brand-deep);font-size:var(--fs-md)}
.disease-match .alt{color:var(--muted);font-weight:400;font-family:"Segoe UI",Tahoma,"Noto Naskh Arabic",var(--font)}
.disease-match .dm-note{margin-top:.3rem;font-size:var(--fs-sm);color:var(--muted)}
.p-card.is-soon a{border-style:dashed;background:linear-gradient(180deg,#fff,#f5f9fc)}
.p-card .img.soon-img{display:grid;place-items:center;position:relative;
  background:radial-gradient(circle at 30% 25%,#fff 0%,#dff1fb 45%,#cfe7f6 100%)}
.p-card .soon-img svg{width:34%;height:auto;color:var(--brand);opacity:.55}
.p-card .tag-soon{position:absolute;top:.6rem;inset-inline-start:.6rem;z-index:1;background:var(--navy);color:#fff;font-size:.72rem;font-weight:700;
  letter-spacing:.03em;line-height:1.3;padding:.2rem .55rem;border-radius:999px}
.p-card.is-soon .price{color:var(--orange-deep);font-weight:600}

/* Home hero: orange ball tucked behind the photo edge (2026-09-27) */
.hero::after{display:none}
.hero-media::before{content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:50%;width:clamp(34px,3.6vw,54px);aspect-ratio:1;left:-36px;top:16%;background:radial-gradient(circle at 30% 25%,#ffe4d6,#ff8b53 42%,#e8601c 78%);box-shadow:0 12px 24px -8px rgba(232,96,28,.55);animation:sp-drift-b 11s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.hero-media::before{animation:none}}
/* All section titles: same sliding-colour style as the page titles (2026-09-27) */
main .section h2:not(.sr-only),main h1{background:linear-gradient(100deg,var(--navy) 10%,var(--brand-strong) 35%,#0a8fc9 50%,var(--brand-strong) 65%,var(--navy) 90%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:sp-shine 9s ease-in-out infinite}
main .section h2:not(.sr-only)::after,main h1::after{content:"";display:block;width:56px;height:4px;border-radius:4px;margin-top:.8rem;background:linear-gradient(90deg,var(--orange),#ffb07a)}
.text-center h2::after,main .section .text-center h2::after{margin-inline:auto}
main .band h2:not(.sr-only),main .on-dark h2:not(.sr-only),main .cta h2:not(.sr-only),main .section.band h2:not(.sr-only),main .section.on-dark h2:not(.sr-only){background:linear-gradient(100deg,#fff 10%,#bfeaff 35%,#7fdcff 50%,#bfeaff 65%,#fff 90%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent}
main .empty h2{background:none;color:var(--brand-deep);animation:none}main .empty h2::after{display:none}
@media (prefers-reduced-motion:reduce){main .section h2,main h1{animation:none!important}}
/* Primary (blue) buttons: sliding colour, text contrast kept above 4.5:1 (2026-09-27) */
.btn--primary{background:linear-gradient(100deg,var(--navy) 5%,var(--brand-strong) 30%,var(--brand) 50%,var(--brand-strong) 70%,var(--navy) 95%);background-size:220% 100%;animation:sp-shine 6s ease-in-out infinite;border-color:transparent}
.btn--primary:hover{background-size:160% 100%;box-shadow:0 8px 18px -8px rgba(0,114,188,.6)}
@media (prefers-reduced-motion:reduce){.btn--primary{animation:none}}
/* Header logo: light sweep masked to the logo shape (2026-09-27) */
.site-header .brand{position:relative;display:inline-flex;isolation:isolate}
.site-header .brand::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,0) 38%,rgba(255,255,255,.95) 47%,rgba(255,176,122,.9) 52%,rgba(255,255,255,0) 60%,transparent 70%);
  background-size:300% 100%;background-position:150% 0;
  -webkit-mask:url(/assets/img/brand/snow-pharma-logo-horizontal.svg) center/contain no-repeat;mask:url(/assets/img/brand/snow-pharma-logo-horizontal.svg) center/contain no-repeat;
  animation:sp-logo-sheen 5s ease-in-out infinite}
@keyframes sp-logo-sheen{0%,55%{background-position:150% 0}85%,100%{background-position:-50% 0}}
@media (prefers-reduced-motion:reduce){.site-header .brand::after{animation:none;display:none}}
/* Liquid-glass header, menus and dropdowns (2026-09-27). The blur sits on header::before so the dropdown can blur the page behind it too. */
.site-header{background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.site-header::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,255,255,.38));
  -webkit-backdrop-filter:blur(22px) saturate(185%);backdrop-filter:blur(22px) saturate(185%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 -1px 0 rgba(255,255,255,.35),0 10px 30px -18px rgba(6,42,77,.45)}
.primary-nav > ul > li > a,.primary-nav .nav-btn{border-radius:999px;transition:background .2s,box-shadow .2s}
.primary-nav > ul > li > a:hover,.primary-nav .nav-btn:hover,.primary-nav .nav-btn[aria-expanded="true"]{
  background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(255,255,255,.35));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px rgba(255,255,255,.55),0 6px 14px -8px rgba(6,42,77,.35)}
.primary-nav a[aria-current="page"],.primary-nav .nav-btn.is-current{
  background:linear-gradient(180deg,rgba(255,255,255,.85),rgba(222,240,252,.55));
  box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px rgba(0,114,188,.18),0 6px 16px -8px rgba(0,114,188,.45)!important}
.mega{background:linear-gradient(160deg,rgba(255,255,255,.66),rgba(236,246,253,.42))!important;
  -webkit-backdrop-filter:blur(26px) saturate(190%);backdrop-filter:blur(26px) saturate(190%);
  border:1px solid rgba(255,255,255,.65)!important;border-top-color:rgba(255,255,255,.9)!important;
  border-radius:0 0 22px 22px;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 30px 60px -30px rgba(6,42,77,.5)!important}
.mega .mega-feature{background:linear-gradient(160deg,rgba(255,255,255,.55),rgba(255,255,255,.2))!important;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.7);box-shadow:inset 0 1px 0 #fff;border-radius:18px}
@media (max-width:920px){
  .primary-nav{background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(236,246,253,.55))!important;
    -webkit-backdrop-filter:blur(26px) saturate(190%);backdrop-filter:blur(26px) saturate(190%);box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
  .primary-nav > ul > li > a,.primary-nav .nav-btn{border-radius:12px}
  .mega{border-radius:16px;background:rgba(255,255,255,.35)!important}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .site-header::before{background:rgba(255,255,255,.96)}.mega,.primary-nav{background:#fff!important}}
/* Product search suggestions (2026-09-27) */
.search.has-suggest{position:relative}
.suggest{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;margin:0;padding:.35rem;list-style:none;max-height:min(440px,62vh);overflow:auto;border-radius:16px;
  background:linear-gradient(160deg,rgba(255,255,255,.92),rgba(236,246,253,.84));-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);
  border:1px solid rgba(255,255,255,.85);box-shadow:inset 0 1px 0 #fff,0 24px 48px -24px rgba(6,42,77,.55)}
.suggest li[role=option]{display:flex;align-items:center;gap:.65rem;padding:.5rem .65rem;border-radius:10px;cursor:pointer}
.suggest li[aria-selected=true],.suggest li[role=option]:hover{background:rgba(0,114,188,.09)}
.suggest .sg-kind{flex:none;min-width:4.4rem;text-align:center;font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:.14rem .45rem;border-radius:999px;background:#e3f0f9;color:var(--brand-strong)}
.suggest .sg-generic .sg-kind{background:rgba(255,122,47,.14);color:#a8430d}
.suggest .sg-main{flex:1;min-width:0;display:block;line-height:1.3;color:var(--ink)}
.suggest .sg-main strong,.suggest .sg-gen{display:block}
.suggest .sg-main strong{color:var(--brand-deep);font-weight:600}
.suggest .sg-gen{font-size:var(--fs-sm);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.suggest .sg-meta{flex:none;font-size:var(--fs-xs);color:var(--muted)}
.suggest .sg-soon{color:var(--orange-deep);font-weight:600}
.suggest mark{background:none;color:var(--orange-deep);font-weight:700;padding:0}
.suggest .suggest-more,.suggest .suggest-empty{padding:.55rem .65rem;font-size:var(--fs-sm);color:var(--muted)}
/* Expansion roadmap: 500+ products highlight */
.roadmap-stat{display:flex;align-items:center;gap:.9rem;margin-top:1.5rem;padding:1rem 1.2rem;border-radius:16px;position:relative;overflow:hidden;isolation:isolate;
  background:linear-gradient(135deg,var(--navy),#0b4a80);color:#cfe7f6;box-shadow:0 20px 40px -24px rgba(6,42,77,.8)}
.roadmap-stat::after{content:"";position:absolute;z-index:-1;width:160px;aspect-ratio:1;right:-40px;top:-60px;border-radius:50%;background:radial-gradient(circle,rgba(255,122,47,.45),transparent 65%);animation:sp-drift-b 12s ease-in-out infinite}
.roadmap-stat strong{flex:none;font-size:clamp(2rem,1.5rem + 1.6vw,2.6rem);line-height:1;color:#fff;font-weight:600}
.roadmap-stat span{font-size:var(--fs-sm);line-height:1.45}
/* Footer credit */
.site-credit{opacity:.85;margin-inline-start:.35rem}
.site-credit strong{color:#fff;font-weight:600}
/* Home quick search: same look and suggestions as the catalogue search (2026-09-27) */
.quick-search{position:relative;align-items:stretch}
.quick-search .search{flex:1;min-width:0;position:relative}
.quick-search .search svg{position:absolute;left:.9rem;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted);pointer-events:none}
.quick-search .search input{width:100%;padding-left:2.6rem}
html[dir="rtl"] .quick-search .search svg{left:auto;right:.9rem}html[dir="rtl"] .quick-search .search input{padding-left:.9rem;padding-right:2.6rem}
/* Expansion roadmap: whole section fits in one screen (2026-09-27) */
section[aria-labelledby="roadmap-title"]{padding-block:clamp(2.25rem,4.5vw,3.25rem)}
section[aria-labelledby="roadmap-title"] > .wrap{display:block}
section[aria-labelledby="roadmap-title"] > .wrap > div:first-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,26rem);column-gap:2.5rem;align-items:end}
section[aria-labelledby="roadmap-title"] > .wrap > div:first-child > *{grid-column:1}
section[aria-labelledby="roadmap-title"] .lead{margin-top:.6rem!important;max-width:40rem}
section[aria-labelledby="roadmap-title"] > .wrap > div:first-child > .roadmap-stat{grid-column:2;grid-row:1 / span 3;margin-top:0;align-self:end}
section[aria-labelledby="roadmap-title"] .cap-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;margin-top:1.6rem;counter-reset:rm}
section[aria-labelledby="roadmap-title"] .cap-list > li{border:0!important;padding:0!important;counter-increment:rm}
section[aria-labelledby="roadmap-title"] .cap-row{position:relative;height:100%;display:flex;flex-direction:column;gap:.45rem;padding:1rem 1rem 1.05rem;border-radius:16px;overflow:hidden;
  background:linear-gradient(160deg,rgba(255,255,255,.9),rgba(236,246,253,.65));border:1px solid rgba(255,255,255,.9);
  box-shadow:inset 0 1px 0 #fff,0 14px 30px -22px rgba(6,42,77,.55);transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
section[aria-labelledby="roadmap-title"] .cap-row:hover{transform:translateY(-3px);box-shadow:inset 0 1px 0 #fff,0 22px 36px -22px rgba(6,42,77,.6)}
section[aria-labelledby="roadmap-title"] .cap-row::before{content:counter(rm,decimal-leading-zero);font-size:.75rem;font-weight:700;letter-spacing:.06em;color:var(--orange-deep)}
section[aria-labelledby="roadmap-title"] .cap-row::after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--navy),var(--brand),var(--sky),var(--orange))}
section[aria-labelledby="roadmap-title"] .cap-row > span:first-child{display:flex;flex-direction:column;gap:.3rem;flex:1}
section[aria-labelledby="roadmap-title"] .cap-name{font-size:1rem;line-height:1.3}
section[aria-labelledby="roadmap-title"] .cap-desc{font-size:.8rem;line-height:1.45}
section[aria-labelledby="roadmap-title"] .tag{position:absolute;top:.8rem;right:.8rem}
html[dir="rtl"] section[aria-labelledby="roadmap-title"] .tag{right:auto;left:.8rem}
@media (max-width:1080px){section[aria-labelledby="roadmap-title"] .cap-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){section[aria-labelledby="roadmap-title"] > .wrap > div:first-child{grid-template-columns:1fr}
  section[aria-labelledby="roadmap-title"] > .wrap > div:first-child > .roadmap-stat{grid-column:1;grid-row:auto;margin-top:1rem}}
@media (max-width:520px){section[aria-labelledby="roadmap-title"] .cap-list{grid-template-columns:1fr}}
/* ===== Dark mode (2026-09-27). Turned on by html[data-theme="dark"] (theme.js). ===== */
html[data-theme="dark"]{color-scheme:dark;
  --white:#0f2742;--ink:#e6eef6;--muted:#a6bbcf;--line:#223d5e;--line-strong:#34587f;
  --surface:#0c2139;--surface-2:#12304f;--page-bg:#07172a;
  --brand-deep:#e3f1fb;--brand-strong:#6cc9f4;--brand:#4db8ee;--cyan:#7fdcff}
html[data-theme="dark"] body{background:
  radial-gradient(1100px 600px at 100% 0%,rgba(0,185,242,.12),transparent 60%),
  radial-gradient(900px 500px at 0% 35%,rgba(0,114,188,.14),transparent 60%),
  radial-gradient(700px 400px at 90% 80%,rgba(255,122,47,.07),transparent 60%),var(--page-bg);background-attachment:fixed;color:var(--ink)}
/* surfaces that were hard-coded white */
html[data-theme="dark"] :is(.btn--light,.nav-toggle,.register,.mosaic figcaption,.cert,.icon-btn,.filters,.filters-apply,.chip,.p-card a,.doc-ico,.try-row button,.lang-btn,.theme-btn,.install-btn){background:#0f2742;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] :is(.input,input[type=text],input[type=email],input[type=tel],input[type=search],input[type=number],select,textarea){background:#0b1f36;color:var(--ink);border-color:var(--line-strong)}
html[data-theme="dark"] ::placeholder{color:#7f97ad}
html[data-theme="dark"] .timeline li::before{background:#0f2742}
html[data-theme="dark"] .skip-link{background:#0b5a94;color:#fff}
/* header, menus, dropdowns: dark glass */
html[data-theme="dark"] .site-header::before{background:linear-gradient(180deg,rgba(9,28,50,.78),rgba(9,28,50,.55));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 -1px 0 rgba(255,255,255,.05),0 10px 30px -18px rgba(0,0,0,.7)}
html[data-theme="dark"] .primary-nav > ul > li > a:hover,html[data-theme="dark"] .primary-nav .nav-btn:hover,html[data-theme="dark"] .primary-nav .nav-btn[aria-expanded="true"]{
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.05));box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 0 0 1px rgba(255,255,255,.08)}
html[data-theme="dark"] .primary-nav a[aria-current="page"],html[data-theme="dark"] .primary-nav .nav-btn.is-current{
  background:linear-gradient(180deg,rgba(108,201,244,.22),rgba(108,201,244,.08));box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 0 0 1px rgba(108,201,244,.3)!important}
html[data-theme="dark"] .mega{background:linear-gradient(160deg,rgba(12,33,57,.86),rgba(9,26,46,.74))!important;border-color:rgba(255,255,255,.1)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 30px 60px -30px rgba(0,0,0,.8)!important}
html[data-theme="dark"] .mega .mega-feature{background:linear-gradient(160deg,rgba(255,255,255,.08),rgba(255,255,255,.02))!important;border-color:rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
@media (max-width:920px){html[data-theme="dark"] .primary-nav{background:linear-gradient(180deg,rgba(12,33,57,.9),rgba(9,26,46,.82))!important}}
/* hero, page heads, tinted sections */
html[data-theme="dark"] :is(.hero,.page-head){background:linear-gradient(135deg,#0b2542 0%,#081a2f 50%,#0a2138 100%)}
html[data-theme="dark"] .section--tint{background:linear-gradient(180deg,#0a1f37 0%,#081a2e 100%)}
html[data-theme="dark"] .hero > .wrap::before,html[data-theme="dark"] .page-head > .wrap::before{border-color:rgba(0,185,242,.14);box-shadow:none}
/* headings: light sliding colour on dark */
html[data-theme="dark"] :is(.hero h1,.page-head h1,main h1,main .section h2:not(.sr-only)){background:linear-gradient(100deg,#ffffff 10%,#bfeaff 35%,#7fdcff 50%,#bfeaff 65%,#ffffff 90%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-theme="dark"] main .empty h2{background:none;color:var(--ink)}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] h4{color:#eef5fb}
html[data-theme="dark"] .kicker{color:#7fdcff}
html[data-theme="dark"] a:not(.btn){color:#6cc9f4}
html[data-theme="dark"] :is(.site-footer,.band,.cta) a:not(.btn){color:#d8ecfa}
/* buttons keep white text on a dark-enough gradient */
html[data-theme="dark"] .btn--primary{background:linear-gradient(100deg,#062a4d 5%,#005a96 30%,#0072bc 50%,#005a96 70%,#062a4d 95%);background-size:220% 100%;color:#fff}
html[data-theme="dark"] .btn--ghost{color:var(--ink);border-color:var(--line-strong)}
/* cards, lists, roadmap, suggestions */
html[data-theme="dark"] .p-card a{background:#0f2742}
html[data-theme="dark"] .p-card .img{background:#e9eef2}
html[data-theme="dark"] .p-card.is-soon a{background:linear-gradient(180deg,#0f2742,#0c2139)}
html[data-theme="dark"] section[aria-labelledby="roadmap-title"] .cap-row{background:linear-gradient(160deg,rgba(18,48,79,.9),rgba(12,33,57,.75));border-color:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 30px -22px rgba(0,0,0,.8)}
html[data-theme="dark"] .suggest{background:linear-gradient(160deg,rgba(15,39,66,.96),rgba(11,31,54,.94));border-color:rgba(255,255,255,.1);box-shadow:0 24px 48px -24px rgba(0,0,0,.8)}
html[data-theme="dark"] .suggest li[aria-selected=true],html[data-theme="dark"] .suggest li[role=option]:hover{background:rgba(108,201,244,.12)}
html[data-theme="dark"] .suggest .sg-kind{background:#143a60;color:#bfe6fa}
html[data-theme="dark"] .suggest .sg-generic .sg-kind{background:rgba(255,122,47,.18);color:#ffb58a}
html[data-theme="dark"] .suggest .sg-main strong{color:#eef5fb}
html[data-theme="dark"] .disease-match{background:linear-gradient(90deg,#0f2742,#0c2139);border-color:var(--line)}
html[data-theme="dark"] .tag{background:rgba(255,122,47,.16);color:#ffb58a}
html[data-theme="dark"] :is(.frame,.mosaic figure,.gallery img,.person img){box-shadow:0 20px 40px -24px rgba(0,0,0,.8)}
html[data-theme="dark"] dialog.profile{background:#0f2742;color:var(--ink)}
html[data-theme="dark"] .site-header .brand img{filter:brightness(1.35) saturate(1.1)}
html[data-theme="dark"] .register,html[data-theme="dark"] .cert{box-shadow:0 20px 40px -26px rgba(0,0,0,.8)}

/* ===== Header tools: theme switch + install app ===== */
.head-tools{display:flex;align-items:center;gap:.45rem;margin-inline-start:auto}
.site-header .bar .head-tools + .header-cta{margin-inline-start:.6rem}
.theme-btn,.install-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;height:38px;min-width:38px;padding:0 .7rem;border-radius:999px;cursor:pointer;
  font:inherit;font-size:var(--fs-sm);font-weight:600;color:var(--brand-deep);border:1px solid rgba(0,114,188,.18);
  background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(255,255,255,.45));box-shadow:inset 0 1px 0 #fff,0 4px 12px -8px rgba(6,42,77,.4);transition:transform .2s,box-shadow .2s}
.theme-btn{padding:0;width:38px}
.theme-btn:hover,.install-btn:hover{transform:translateY(-1px);border-color:var(--orange)}
.theme-btn svg,.install-btn svg{width:18px;height:18px}
.theme-btn .i-sun{display:none}
html[data-theme="dark"] .theme-btn .i-sun{display:block}
html[data-theme="dark"] .theme-btn .i-moon{display:none}
html[data-theme="dark"] :is(.theme-btn,.install-btn){background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.04));color:#eef5fb;border-color:rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.15)}
.install-btn[hidden]{display:none}
@media (max-width:920px){.install-btn .lbl{display:none}.install-btn{padding:0;width:38px}}
.install-help{position:fixed;left:50%;bottom:1.2rem;transform:translateX(-50%);z-index:300;width:min(92vw,380px);padding:1rem 1.1rem;border-radius:18px;
  background:linear-gradient(160deg,rgba(255,255,255,.95),rgba(236,246,253,.9));-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,.9);box-shadow:0 30px 60px -20px rgba(6,42,77,.55);color:var(--ink);font-size:var(--fs-sm)}
html[data-theme="dark"] .install-help{background:linear-gradient(160deg,rgba(15,39,66,.97),rgba(11,31,54,.95));border-color:rgba(255,255,255,.1)}
.install-help strong{display:block;font-size:var(--fs-base);margin-bottom:.3rem}
.install-help button{margin-top:.7rem}
@media (prefers-reduced-motion:reduce){.theme-btn,.install-btn{transition:none}}
/* Header tools: keep on one line; menu text in dark mode (2026-09-27) */
.install-btn,.header-cta,.theme-btn{white-space:nowrap;flex:none}
@media (max-width:1320px){.install-btn .lbl{display:none}.install-btn{padding:0;width:38px}}
html[data-theme="dark"] .primary-nav > ul > li > a,html[data-theme="dark"] .primary-nav .nav-btn{color:#dbe8f3}
html[data-theme="dark"] .primary-nav a[aria-current="page"],html[data-theme="dark"] .primary-nav .nav-btn.is-current{color:#fff}
html[data-theme="dark"] .mega a{color:#dbe8f3}

/* News posts (2026-09-28) */
.news-item + .news-item{margin-top:2rem}
.news-item h2::after{display:none!important}
.news-item p + p{margin-top:.7rem}
.news-item .news-ps{font-family:"Segoe UI",Tahoma,"Noto Naskh Arabic",var(--font);color:var(--brand-strong);font-size:1.05rem;margin:0 0 .8rem;max-width:42rem;text-align:right}
.news-item .news-src{font-size:var(--fs-sm);margin-top:.9rem}
.news-item h3 a{color:inherit;text-decoration:none}.news-item h3 a:hover{color:var(--brand)}
.news-item{scroll-margin-top:calc(var(--header-h) + 1rem)}

/* Procurement page facts list (2026-09-28) */
.facts{display:grid;gap:0;margin:0;border-top:1px solid var(--line)}
.facts > div{display:grid;grid-template-columns:minmax(9rem,13rem) 1fr;gap:1rem;padding:.85rem 0;border-bottom:1px solid var(--line)}
.facts dt{font-weight:600;color:var(--brand-deep);font-size:var(--fs-sm)}
.facts dd{margin:0;color:var(--ink);font-size:var(--fs-sm)}
@media (max-width:560px){.facts > div{grid-template-columns:1fr;gap:.2rem}}
/* ===== Language switcher: EN | پښتو | دری (2026-09-28) ===== */
.lang-switch{display:inline-flex;align-items:center;height:38px;padding:3px;gap:2px;border-radius:999px;border:1px solid rgba(0,114,188,.18);
  background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(255,255,255,.45));box-shadow:inset 0 1px 0 #fff,0 4px 12px -8px rgba(6,42,77,.4)}
.lang-switch a{display:inline-flex;align-items:center;justify-content:center;height:30px;min-width:34px;padding:0 .55rem;border-radius:999px;
  font-size:.8rem;font-weight:600;line-height:1;color:var(--brand-deep);text-decoration:none;white-space:nowrap}
.lang-switch a[lang="ps"],.lang-switch a[lang="fa-AF"]{font-family:"Noto Sans Arabic","Segoe UI",Tahoma,sans-serif;font-size:.86rem;padding-bottom:2px}
.lang-switch a:hover{color:var(--brand)}
.lang-switch a[aria-current="true"]{background:linear-gradient(100deg,#062a4d,#0072bc);color:#fff}
html[data-theme="dark"] .lang-switch{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.04));border-color:rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.15)}
html[data-theme="dark"] .lang-switch a{color:#eef5fb}
html[data-theme="dark"] .lang-switch a[aria-current="true"]{background:linear-gradient(100deg,#005a96,#0a86d6)}
@media (max-width:420px){.lang-switch a{min-width:30px;padding:0 .4rem;font-size:.74rem}.lang-switch a[lang="ps"],.lang-switch a[lang="fa-AF"]{font-size:.8rem}}
@font-face{font-family:"Noto Sans Arabic";src:url(/assets/fonts/noto-sans-arabic-arabic-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Noto Sans Arabic";src:url(/assets/fonts/noto-sans-arabic-arabic-600-normal.woff2) format("woff2");font-weight:500 600;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Noto Sans Arabic";src:url(/assets/fonts/noto-sans-arabic-arabic-700-normal.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFC}
@media (max-width:480px){.site-header .brand img{width:118px;height:auto}.head-tools{gap:.3rem}.lang-switch{height:34px;padding:2px}.lang-switch a{height:28px;min-width:28px;padding:0 .38rem;font-size:.72rem}.lang-switch a[lang="ps"],.lang-switch a[lang="fa-AF"]{font-size:.78rem}.theme-btn{width:34px;height:34px;min-width:34px}.nav-toggle{width:42px;height:42px}}
@media (max-width:359px){.theme-btn{display:none}}
/* ===== Catalogue: search sits in the left column with the filters (2026-09-28) ===== */
.side-col .search{position:relative}
.side-col .search svg{position:absolute;left:.9rem;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted);pointer-events:none}
.side-col .search input{width:100%;padding-left:2.6rem}
@media (max-width:999px){.side-col{display:contents}.side-col .search{margin-bottom:.75rem}}
@media (min-width:1000px){
  .side-col{position:sticky;top:calc(var(--header-h) + 1.25rem);align-self:start;display:flex;flex-direction:column;gap:1rem;max-height:calc(100vh - var(--header-h) - 2.5rem);z-index:5}
  .side-col .filters{position:static;max-height:none;min-height:0;flex:1 1 auto;overflow:auto}
  .side-col .suggest{right:auto;width:min(440px,70vw)}
  .toolbar{justify-content:flex-end}
}

/* Wider left column so the full search placeholder shows (2026-09-28) */
@media (min-width:1000px){.catalogue{grid-template-columns:290px 1fr}.side-col .search input{font-size:.95rem;text-overflow:ellipsis}}
@media (min-width:1240px){.catalogue{grid-template-columns:310px 1fr}}
.p-card .spec span{white-space:nowrap}
/* Controlled product label (2026-09-28) */
.p-card .ctrl{display:inline-block;align-self:flex-start;width:auto;margin:.3rem 0 .1rem;font-size:.7rem;font-weight:700;line-height:1.4;color:#b54708;background:rgba(255,122,47,.14);padding:.1rem .55rem;border-radius:999px}
.p-card .cat + .ctrl{margin-inline-start:.4rem}
.note--ctrl{border-color:var(--orange,#ff7a2f);color:var(--ink)}
html[data-theme="dark"] .p-card .ctrl{color:#ffb58a;background:rgba(255,122,47,.18)}
.p-card .spec{flex-wrap:wrap;row-gap:.2rem;column-gap:.6rem}

/* ===== 2026-09-29: scroll-progress header line, back-to-top ring, Auto/Light/Dark theme icon ===== */
.site-header::after{height:5px;
  -webkit-mask-image:linear-gradient(90deg,#000 calc(var(--sp-p,0) * 100%),rgba(0,0,0,.2) calc(var(--sp-p,0) * 100%));
  mask-image:linear-gradient(90deg,#000 calc(var(--sp-p,0) * 100%),rgba(0,0,0,.2) calc(var(--sp-p,0) * 100%))}
html[dir="rtl"] .site-header::after{
  -webkit-mask-image:linear-gradient(270deg,#000 calc(var(--sp-p,0) * 100%),rgba(0,0,0,.2) calc(var(--sp-p,0) * 100%));
  mask-image:linear-gradient(270deg,#000 calc(var(--sp-p,0) * 100%),rgba(0,0,0,.2) calc(var(--sp-p,0) * 100%))}

.to-top{position:fixed;right:1rem;bottom:calc(1rem + 54px + .75rem);z-index:91;width:52px;height:52px;padding:0;border:0;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;color:var(--brand-deep);
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(236,246,253,.82));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 #fff,0 12px 26px -12px rgba(6,42,77,.55);
  opacity:0;visibility:hidden;transform:translateY(10px) scale(.92);transition:opacity .25s,transform .25s,visibility .25s}
.to-top.is-visible{opacity:1;visibility:visible;transform:none}
.to-top:hover{transform:translateY(-2px)}
.to-top:focus-visible{outline:3px solid var(--orange,#ff7a2f);outline-offset:3px}
.to-top .ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.to-top .ring circle{fill:none;stroke-width:3.5}
.to-top .ring .track{stroke:rgba(0,114,188,.14)}
.to-top .ring .bar{stroke:url(#spRingGrad);stroke-linecap:round;transition:stroke-dashoffset .1s linear}
.to-top .arrow{position:relative;width:20px;height:20px}
html[dir="rtl"] .to-top{right:auto;left:1rem}
html[data-theme="dark"] .to-top{color:#eef5fb;background:linear-gradient(180deg,rgba(18,48,79,.92),rgba(12,33,57,.86));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 12px 26px -12px rgba(0,0,0,.8)}
html[data-theme="dark"] .to-top .ring .track{stroke:rgba(255,255,255,.14)}
.nav-open .to-top,.filters-open .to-top{display:none}
@media print{.to-top{display:none}}
@media (prefers-reduced-motion:reduce){.to-top{transition:none}.to-top .ring .bar{transition:none}}

/* theme button shows the current mode: Auto (half circle), Light (sun), Dark (moon) */
html[data-mode] .theme-btn svg{display:none!important}
html[data-mode="system"] .theme-btn .i-auto,html[data-mode="light"] .theme-btn .i-sun,html[data-mode="dark"] .theme-btn .i-moon{display:block!important}

/* logo: mark larger, text smaller (svg updated) */
@media (min-width:481px){.site-header .brand img{height:44px}}
/* captions inside image cards get breathing room (2026-09-29) */
.frame>figcaption{padding:1rem 1.25rem 1.25rem!important}

/* Social profiles in the footer (2026-09-29) */
.social{display:flex;flex-wrap:wrap;gap:.55rem;list-style:none;margin:1.2rem 0 0;padding:0}
.social a{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#fff!important;text-decoration:none;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);transition:background .2s,border-color .2s,transform .2s}
.social a:hover,.social a:focus-visible{background:var(--orange,#ff7a2f);border-color:var(--orange,#ff7a2f);transform:translateY(-2px)}
.social svg{width:18px;height:18px}
@media (prefers-reduced-motion:reduce){.social a{transition:none}}
.site-footer ul.social{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:.55rem!important}
.site-footer ul.social li{margin:0!important}

/* Dark mode: home product tiles show the pack on a light tile (2026-09-29) */
html[data-theme="dark"] .shelf img{mix-blend-mode:normal;background:#e9eef2}
html[data-theme="dark"] .shelf a{background:#0f2742;border:1px solid var(--line)}
html[data-theme="dark"] .shelf span{color:#eef5fb}

/* ---------- 2026-09-30 updates ---------- */
/* Network: Google Maps directions */
.branch .dir-link{display:inline-flex;align-items:center;gap:.35rem;padding:.18rem .7rem .18rem .55rem;border-radius:999px;background:var(--surface-2);color:var(--brand-strong);font-weight:600;text-decoration:none;line-height:1.5}
.branch .dir-link svg{width:15px;height:15px;flex:none}
.branch .dir-link:hover,.branch .dir-link:focus-visible{background:var(--brand-strong);color:#fff}
html[dir="rtl"] .branch .dir-link{padding:.18rem .55rem .18rem .7rem}
html[data-theme="dark"] .branch .dir-link{background:#143a60;color:#bfe6fa}
html[data-theme="dark"] .branch .dir-link:hover{background:#bfe6fa;color:#062a4d}
/* Roadmap cards: counter always at the reading start, tag at the end (fixes RTL overlap) */
section[aria-labelledby~="roadmap-title"] .cap-row{align-items:stretch}
section[aria-labelledby~="roadmap-title"] .cap-row::before{align-self:flex-start;direction:ltr;unicode-bidi:isolate}
/* Catalogue: keep the search box pinned under the header on tablets and phones */
@media (max-width:999px){
  .catalogue > .side-col{display:contents}
  .catalogue > .side-col > .search{position:sticky;top:calc(var(--header-h) + .5rem);z-index:40;border-radius:14px;
    box-shadow:0 10px 24px -18px rgba(6,42,77,.55);background:var(--white)}
  html[data-theme="dark"] .catalogue > .side-col > .search{background:#0f2742}
}
/* Home: site-wide search groups */
.suggest--site .sg-head{display:flex;justify-content:space-between;align-items:center;padding:.6rem .65rem .25rem;font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.suggest--site .sg-head:not(:first-child){border-top:1px solid var(--line);margin-top:.3rem}
.suggest--site .sg-head span{font-weight:600;letter-spacing:0;background:var(--surface-2);border-radius:999px;padding:0 .45rem;min-width:1.4rem;text-align:center}
.suggest--site .sg-gen{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.suggest--site .sg-all{color:var(--brand-strong);font-weight:600;font-size:var(--fs-sm)}
html[dir="rtl"] .suggest--site .sg-head{letter-spacing:0}
html[data-theme="dark"] .suggest--site .sg-head{color:#9fb6cb}
html[data-theme="dark"] .suggest--site .sg-head:not(:first-child){border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .suggest--site .sg-head span{background:#143a60;color:#bfe6fa}
html[data-theme="dark"] .suggest--site .sg-all{color:#8fd3f7}

/* Procurement: key facts as cards, in the style of the roadmap (2026-09-30) */
section[aria-labelledby~="facts-title"] > .wrap{display:block}
section[aria-labelledby~="facts-title"] > .wrap > div:first-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,24rem);column-gap:2.5rem;align-items:end}
section[aria-labelledby~="facts-title"] > .wrap > div:first-child > *{grid-column:1}
section[aria-labelledby~="facts-title"] .lead{max-width:40rem}
section[aria-labelledby~="facts-title"] > .wrap > div:first-child > .facts-cta{grid-column:2;grid-row:1 / span 3;align-self:end;display:flex;flex-direction:column;gap:.7rem;padding:1.15rem 1.25rem;border-radius:16px;
  background:linear-gradient(135deg,var(--navy,#062a4d),#0b4a80);color:#cfe7f6;box-shadow:0 20px 40px -24px rgba(6,42,77,.8)}
section[aria-labelledby~="facts-title"] .facts-cta p{margin:0!important}
section[aria-labelledby~="facts-title"] .facts-cta .btn{width:100%;justify-content:center}
section[aria-labelledby~="facts-title"] .facts-cta .row-link{color:#cfe7f6;font-size:var(--fs-sm)}
section[aria-labelledby~="facts-title"] .facts-cta .row-link:hover{color:#fff}
section[aria-labelledby~="facts-title"] dl.facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;margin:1.8rem 0 0;border:0}
section[aria-labelledby~="facts-title"] dl.facts > .fact{position:relative;display:flex;flex-direction:column;gap:.55rem;padding:1.1rem 1.1rem 1.2rem;border:1px solid rgba(255,255,255,.9);border-radius:16px;overflow:hidden;
  background:linear-gradient(160deg,rgba(255,255,255,.95),rgba(236,246,253,.7));box-shadow:inset 0 1px 0 #fff,0 14px 30px -22px rgba(6,42,77,.55);transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
section[aria-labelledby~="facts-title"] dl.facts > .fact::after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--navy,#062a4d),var(--brand),var(--sky,#6cc9f4),var(--orange,#ff7a2f))}
section[aria-labelledby~="facts-title"] dl.facts > .fact:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 #fff,0 20px 36px -22px rgba(6,42,77,.6)}
section[aria-labelledby~="facts-title"] dl.facts > .fact--wide{grid-column:span 2}
section[aria-labelledby~="facts-title"] .fact dt{display:flex;align-items:center;gap:.65rem;font-size:1rem;font-weight:700;line-height:1.3;color:var(--brand-deep)}
section[aria-labelledby~="facts-title"] .fact-ic{flex:none;display:grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:10px;background:var(--surface-2);color:var(--brand-strong)}
section[aria-labelledby~="facts-title"] .fact-ic svg{width:18px;height:18px}
section[aria-labelledby~="facts-title"] .fact dd{margin:0;font-size:var(--fs-sm);line-height:1.6;color:var(--muted)}
section[aria-labelledby~="facts-title"] .fact dd a{font-weight:600}
html[data-theme="dark"] section[aria-labelledby~="facts-title"] dl.facts > .fact{background:linear-gradient(160deg,rgba(18,48,79,.9),rgba(12,33,57,.75));border-color:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 30px -22px rgba(0,0,0,.8)}
html[data-theme="dark"] section[aria-labelledby~="facts-title"] .fact dt{color:#eef5fb}
html[data-theme="dark"] section[aria-labelledby~="facts-title"] .fact-ic{background:#143a60;color:#bfe6fa}
html[data-theme="dark"] section[aria-labelledby~="facts-title"] .fact dd{color:#b8cadb}
@media (max-width:1080px){section[aria-labelledby~="facts-title"] dl.facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){section[aria-labelledby~="facts-title"] > .wrap > div:first-child{grid-template-columns:1fr}
  section[aria-labelledby~="facts-title"] > .wrap > div:first-child > .facts-cta{grid-column:1;grid-row:auto;margin-top:1.25rem}}
@media (max-width:520px){section[aria-labelledby~="facts-title"] dl.facts{grid-template-columns:1fr}
  section[aria-labelledby~="facts-title"] dl.facts > .fact--wide{grid-column:auto}}

/* Home: procurement band, same card style as the procurement page (2026-09-30) */
section[aria-labelledby~="proc-title"] > .wrap{display:block}
section[aria-labelledby~="proc-title"] > .wrap > div:first-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,24rem);column-gap:2.5rem;align-items:end}
section[aria-labelledby~="proc-title"] > .wrap > div:first-child > *{grid-column:1}
section[aria-labelledby~="proc-title"] .lead{max-width:40rem}
section[aria-labelledby~="proc-title"] > .wrap > div:first-child > .facts-cta{grid-column:2;grid-row:1 / span 3;align-self:end;display:flex;flex-direction:column;gap:.7rem;padding:1.15rem 1.25rem;border-radius:16px;
  background:linear-gradient(135deg,var(--navy,#062a4d),#0b4a80);color:#cfe7f6;box-shadow:0 20px 40px -24px rgba(6,42,77,.8)}
section[aria-labelledby~="proc-title"] .facts-cta p{margin:0!important}
section[aria-labelledby~="proc-title"] .facts-cta .btn{width:100%;justify-content:center}
section[aria-labelledby~="proc-title"] .facts-cta .row-link{color:#cfe7f6;font-size:var(--fs-sm)}
section[aria-labelledby~="proc-title"] .facts-cta .row-link:hover{color:#fff}
section[aria-labelledby~="proc-title"] dl.facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;margin:1.8rem 0 0;border:0}
section[aria-labelledby~="proc-title"] dl.facts > .fact{position:relative;display:flex;flex-direction:column;gap:.55rem;padding:1.1rem 1.1rem 1.2rem;border:1px solid rgba(255,255,255,.9);border-radius:16px;overflow:hidden;
  background:linear-gradient(160deg,rgba(255,255,255,.95),rgba(236,246,253,.7));box-shadow:inset 0 1px 0 #fff,0 14px 30px -22px rgba(6,42,77,.55);transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
section[aria-labelledby~="proc-title"] dl.facts > .fact::after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--navy,#062a4d),var(--brand),var(--sky,#6cc9f4),var(--orange,#ff7a2f))}
section[aria-labelledby~="proc-title"] dl.facts > .fact:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 #fff,0 20px 36px -22px rgba(6,42,77,.6)}
section[aria-labelledby~="proc-title"] dl.facts > .fact--wide{grid-column:span 2}
section[aria-labelledby~="proc-title"] .fact dt{display:flex;align-items:center;gap:.65rem;font-size:1rem;font-weight:700;line-height:1.3;color:var(--brand-deep)}
section[aria-labelledby~="proc-title"] .fact-ic{flex:none;display:grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:10px;background:var(--surface-2);color:var(--brand-strong)}
section[aria-labelledby~="proc-title"] .fact-ic svg{width:18px;height:18px}
section[aria-labelledby~="proc-title"] .fact dd{margin:0;font-size:var(--fs-sm);line-height:1.6;color:var(--muted)}
section[aria-labelledby~="proc-title"] .fact dd a{font-weight:600}
html[data-theme="dark"] section[aria-labelledby~="proc-title"] dl.facts > .fact{background:linear-gradient(160deg,rgba(18,48,79,.9),rgba(12,33,57,.75));border-color:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 30px -22px rgba(0,0,0,.8)}
html[data-theme="dark"] section[aria-labelledby~="proc-title"] .fact dt{color:#eef5fb}
html[data-theme="dark"] section[aria-labelledby~="proc-title"] .fact-ic{background:#143a60;color:#bfe6fa}
html[data-theme="dark"] section[aria-labelledby~="proc-title"] .fact dd{color:#b8cadb}
@media (max-width:1080px){section[aria-labelledby~="proc-title"] dl.facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){section[aria-labelledby~="proc-title"] > .wrap > div:first-child{grid-template-columns:1fr}
  section[aria-labelledby~="proc-title"] > .wrap > div:first-child > .facts-cta{grid-column:1;grid-row:auto;margin-top:1.25rem}}
@media (max-width:520px){section[aria-labelledby~="proc-title"] dl.facts{grid-template-columns:1fr}
  section[aria-labelledby~="proc-title"] dl.facts > .fact--wide{grid-column:auto}}

.route h3 a{color:inherit;text-decoration:none}
.route h3 a:hover{text-decoration:underline}


/* ---------- Product filter icons and selected state. Author: Mohammad Shafi Seddiq. 2026-10-05 ---------- */
.opt{position:relative;display:flex;align-items:center;gap:.7rem;padding:.55rem .65rem .55rem .85rem;border-radius:13px;transition:background .25s,box-shadow .25s}
html[dir="rtl"] .opt{padding:.55rem .85rem .55rem .65rem}
.opt .ico{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;color:var(--brand,#0072bc);opacity:.85;transition:opacity .25s,transform .25s}
.opt .ico svg{width:25px;height:25px}
.opt:hover .ico{opacity:1}
.opt::before{content:"";position:absolute;inset-inline-start:0;top:50%;transform:translateY(-50%) scaleY(.2);width:5px;height:70%;border-radius:999px;background:linear-gradient(180deg,var(--brand,#0072bc),var(--brand-strong,#005a96));opacity:0;transition:opacity .25s,transform .3s cubic-bezier(.4,1.4,.5,1)}
.opt--on{background:linear-gradient(135deg,rgba(255,255,255,.75),rgba(236,245,252,.58));box-shadow:inset 0 0 0 1px rgba(0,114,188,.2),0 7px 20px -12px rgba(0,60,110,.5);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.opt--on::before{opacity:1;transform:translateY(-50%) scaleY(1)}
.opt--on .ico{opacity:1;transform:scale(1.08)}
html[data-theme="dark"] .opt--on{background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(0,114,188,.14));box-shadow:inset 0 0 0 1px rgba(255,255,255,.15),0 7px 20px -12px rgba(0,0,0,.65)}
@media (prefers-reduced-motion:reduce){.opt,.opt::before,.opt .ico{transition:none}}
/* Accent call-to-action button. Author: Mohammad Shafi Seddiq. 2026-10-05 */
.btn--accent{background:var(--orange,#EE7623);color:#fff;border:1px solid transparent;box-shadow:0 10px 24px -14px rgba(238,118,35,.9)}
.btn--accent:hover,.btn--accent:focus-visible{background:#d9641a;color:#fff;transform:translateY(-1px)}
.btn--accent .btn-ar{width:18px;height:18px;margin-inline-start:.5rem;vertical-align:-3px;transition:transform .25s}
html[dir="rtl"] .btn--accent .btn-ar{transform:scaleX(-1)}
.btn--accent:hover .btn-ar{transform:translateX(3px)}
html[dir="rtl"] .btn--accent:hover .btn-ar{transform:scaleX(-1) translateX(3px)}
.cta-row{margin-top:1.1rem}
@media (prefers-reduced-motion:reduce){.btn--accent,.btn--accent .btn-ar{transition:none}}

/* sp-facts3-fix: .facts--3 is a three-up card row, not the label/value spec rows
   that the generic .facts > div rule produces. Author: Mohammad Shafi Seddiq */
.facts.facts--3{display:grid;gap:1.1rem;grid-template-columns:1fr;border-top:0;margin-top:2rem}
.facts.facts--3>div{display:block;padding:1.25rem 1.3rem 1.35rem;border:1px solid var(--line);border-top:2px solid var(--brand);border-bottom:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.72);box-shadow:0 10px 26px -22px rgba(0,60,110,.55)}
.facts.facts--3>div>h3{margin:0 0 .5rem;font-size:1.06rem;line-height:1.3;color:var(--brand-deep)}
.facts.facts--3>div>p{margin:0;color:var(--muted);line-height:1.6}
@media (min-width:760px){.facts.facts--3{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem}}


/* sp-contrast-fix (2026-10-06): colour-contrast corrections found in the light/dark audit. Author: Mohammad Shafi Seddiq */
/* three-up fact tiles: were light cards with light text in dark theme */
html[data-theme="dark"] .facts.facts--3>div{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);border-top-color:var(--brand);box-shadow:none}
/* accent button: white text on the bright orange was 2.6:1 */
.btn--accent{background:#b8500c}
.btn--accent:hover,.btn--accent:focus-visible{background:#9a430a}
/* validity status text: dark green on dark background */
html[data-theme="dark"] .status{color:#5fdca0}
/* OTC tag on product cards */
.p-card .tag-otc{background:#075a96}

/* sp-skiplink-fix (2026-10-06): keyboard skip link, readable in both themes. Author: Mohammad Shafi Seddiq */
.skip-link:focus,.skip-link:focus-visible,html[data-theme="dark"] .skip-link:focus,html[data-theme="dark"] .skip-link:focus-visible{background:#0b3d6b;color:#fff}

/* Snow Pharma catalogue patch v2 (8 Oct 2026): wider catalogue, glass toolbar, Order now, controlled notice */
.wrap.catalogue{max-width:min(1760px,calc(100vw - 2.5rem));grid-template-columns:300px minmax(0,1fr)}
.catalogue .product-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.catalogue .toolbar{position:sticky;top:80px;z-index:30;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;padding:.6rem .8rem;border-radius:16px;background:rgba(255,255,255,.28);-webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);border:1px solid rgba(255,255,255,.55);box-shadow:0 8px 24px rgba(0,60,100,.12)}
.catalogue .toolbar .tb-spacer{flex:1 1 auto}
.catalogue .side-col .search{position:sticky;top:80px;z-index:31}
.btn-order{display:inline-flex;align-items:center;justify-content:center;background:#f26b1d;color:#fff;border:0;border-radius:10px;padding:.7rem 1.1rem;font-weight:700;text-decoration:none;white-space:nowrap;box-shadow:0 6px 16px rgba(242,107,29,.3)}
.btn-order:hover,.btn-order:focus-visible{background:#d95a10;color:#fff}
.btn-pdf{background:rgba(255,255,255,.75);border:1.5px solid #005a96;color:#005a96;border-radius:10px;padding:.65rem 1rem;font-weight:600;text-decoration:none;white-space:nowrap}
.btn-pdf:hover,.btn-pdf:focus-visible{background:#005a96;color:#fff}
.restricted-note{background:#fff3e8;border:1.5px solid #f26b1d;color:#7a3300;border-radius:12px;padding:.8rem 1rem;margin:1rem 0 0;max-width:46rem;font-weight:600}
.restricted-note a{color:#c24a00;font-weight:800;text-decoration:underline}
.pd .btn-order{margin-inline-start:.6rem}
#branchSearch{scroll-margin-top:120px}
@media (max-width:1100px){.catalogue .product-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}
@media (max-width:900px){.wrap.catalogue{grid-template-columns:minmax(0,1fr);max-width:calc(100vw - 1.5rem)}.catalogue .side-col .search{position:static}.catalogue .toolbar{top:72px;gap:.4rem;padding:.5rem .6rem}.btn-order,.btn-pdf{padding:.55rem .8rem;font-size:.9rem}}
@media (max-width:560px){.catalogue .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalogue .toolbar #sort{min-width:0;flex:1 1 100%}.catalogue .toolbar .tb-spacer{display:none}.btn-order,.btn-pdf{flex:1 1 calc(50% - .4rem);text-align:center}.pd .btn-order{margin-inline-start:0;margin-top:.5rem}}

/* ---- Catalogue theme fix, 8 Oct 2026. Author: Mohammad Shafi Seddiq.
   Dark mode colours every link that is not .btn light blue, which hid the
   Product list (PDF) and Order now labels. The doubled class keeps these
   rules winning whatever the source order. ---- */
html[data-theme="dark"] .catalogue .toolbar{background:rgba(13,34,58,.55);border-color:rgba(130,180,225,.3);box-shadow:0 8px 24px rgba(0,0,0,.45)}
html[data-theme="dark"] a.btn-pdf.btn-pdf{background:rgba(8,24,44,.55);border-color:#7fd0f7;color:#cfe9fb}
html[data-theme="dark"] a.btn-pdf.btn-pdf:hover,html[data-theme="dark"] a.btn-pdf.btn-pdf:focus-visible{background:#7fd0f7;color:#06182c}
html[data-theme="dark"] .restricted-note{background:rgba(242,107,29,.14);border-color:rgba(255,150,80,.65);color:#ffdcc2}
html[data-theme="dark"] .restricted-note a{color:#ffb482}
a.btn-order.btn-order,html[data-theme="dark"] a.btn-order.btn-order{background:#c84808;color:#fff;border-color:transparent;box-shadow:0 6px 16px rgba(200,72,8,.35)}
a.btn-order.btn-order:hover,a.btn-order.btn-order:focus-visible,html[data-theme="dark"] a.btn-order.btn-order:hover,html[data-theme="dark"] a.btn-order.btn-order:focus-visible{background:#a73a05;color:#fff}
a.btn-order.btn-order:focus-visible,a.btn-pdf.btn-pdf:focus-visible{outline:3px solid #ffb482;outline-offset:2px}

/* ---- Catalogue refinements, 8 Oct 2026. Author: Mohammad Shafi Seddiq.
   1. Card footers (pack size and MRP) and the dashed rule above them line up
      across every card in a row, at any screen size or orientation.
   2. The search box keeps its own magnifier icon on small screens.
   3. Phone portrait: Filters and Sort scroll away, only the two buttons stay pinned. ---- */
.catalogue .p-card .spec{margin-top:auto;padding-top:.55rem}
@media (max-width:900px){.catalogue .side-col .search{position:relative}}
.catalogue .tb-sortrow{display:flex;align-items:center;gap:.6rem;margin:0 0 .6rem}
.catalogue .tb-sortrow #sort{flex:1 1 auto;min-width:0}
@media (max-width:560px) and (orientation:portrait){
  .catalogue .toolbar{gap:.5rem}
  .catalogue .toolbar .btn-pdf,.catalogue .toolbar .btn-order{flex:1 1 calc(50% - .25rem);text-align:center}
}

/* ---- Catalogue layout corrections, 10 Oct 2026. Author: Mohammad Shafi Seddiq.
   1. On small screens the search box kept top:80px from the desktop sticky rule,
      which slid it 80px down over the Filters and Sort controls. Reset the offset
      and the stacking so it sits in its own space and scrolls away normally.
   2. Between 901px and 1200px the 300px sidebar squeezed the grid to two columns,
      fewer than a narrower phone layout shows. A 240px sidebar restores three. ---- */
@media (max-width:900px){
  .catalogue .side-col .search{position:relative;top:auto;z-index:auto}
}
@media (min-width:901px) and (max-width:1200px){
  .wrap.catalogue{grid-template-columns:240px minmax(0,1fr)}
}

/* ---- Phone portrait pinned bar, 10 Oct 2026. Author: Mohammad Shafi Seddiq.
   The search box joins the pinned bar, sitting above the two buttons, so it
   stays reachable while scrolling the list. Filters and Sort scroll away. ---- */
@media (max-width:560px) and (orientation:portrait){
  .catalogue .toolbar{flex-wrap:wrap;gap:.5rem}
  .catalogue .toolbar .search{flex:1 1 100%;margin:0}
  .catalogue .tb-sortrow{margin:.6rem 0 0}
}

/* 2026-10-18 LCP fix: no entrance animation on hero content, and no infinite headline shimmer on phones/tablets */
@media (max-width:899px){.hero h1,.page-head h1{animation:none}}

/* 2026-10-18 speed: no endless decorative animation on phones and tablets (they repaint constantly on slow devices). Desktop keeps them. */
@media (max-width:899px){*::before,*::after{animation:none!important}.site-header::after{animation:none!important}}

/* 2026-10-18 rtl-decor: mirror decorative bubble in RTL, smaller and softer on phones so it never sits over headings */
html[dir="rtl"] .hero::before,html[dir="rtl"] .page-head::before{right:auto;left:-4%}
@media (max-width:760px){.hero::before,.page-head::before{width:104px;opacity:.55}.page-head::after{opacity:.7}}

/* 2026-10-18 photos-uncropped: on phones and tablets show photos at their natural shape instead of tall crops */
@media (max-width:899px){
.hero-media img{aspect-ratio:16/9}
.frame--tall img{aspect-ratio:auto;height:auto}
.frame--wide img{aspect-ratio:auto;height:auto}
.frame picture{height:auto}
.mosaic img{aspect-ratio:16/9}
}
