/* Category pages (web/pages/categories.php). Everything shared is in site.css; only what these pages add is here. */

/* hero headline: a step smaller than the home page's, as in the approved mock-up */
.cat-h{font-size:clamp(42px,7vw,104px)}

/* the brand promise under the summary on the 2 hormone categories: the same size as the summary, marked with a citron rule */
.cat-promise{margin:0;padding-left:16px;border-left:3px solid var(--citron);color:#fff;max-width:52ch}

/* a hero panel with a note under it */
.cat-panel{display:grid;gap:10px;min-width:0;align-content:end}
.cat-panel .note,.cat-panel .flagnote{margin:0}
.cat-panel .disclosure{margin:14px 0 0;font-size:13.5px;line-height:1.5;color:var(--on-dark)}
.cat-panel .states .st{min-width:38px;padding:7px 0;font-size:12.5px}
#bmi-range:empty{display:none}

/* the before and after frame can be moved with the keyboard, so show where the focus is */
.cat-ba:focus-within{outline:2px solid var(--citron);outline-offset:3px}

/* the notices under the treatment grid */
.cat-legal{display:grid;gap:10px;margin-top:clamp(24px,3vw,36px);max-width:92ch}
.cat-legal p{margin:0;font-size:13.5px;line-height:1.55;color:var(--ink2)}

/* "People come here for" */
.cat-needs h2.eyebrow{margin:0;font-weight:400}

/* plans: what each length costs, from the price list */
.cat-prices{border:1px solid var(--glass-line);border-radius:var(--r-lg);overflow:hidden}
.cat-prices[hidden]{display:none}
.cat-prices h3{margin:0;padding:14px 20px;font-weight:400;color:var(--citron);border-bottom:1px solid rgba(255,255,255,.1)}
.cat-prices>div{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:14px;padding:14px 20px;border-bottom:1px solid rgba(255,255,255,.1)}
.cat-prices>div:last-child{border-bottom:0}
.cat-prices b{font-weight:500}
.cat-prices span{color:var(--on-dark2);font-size:15px;line-height:1.5}
@media (max-width:560px){.cat-prices>div{grid-template-columns:1fr;gap:4px}}

/* questions */
.cat-acc .disclosure{margin:0 0 20px;color:var(--ink2);max-width:68ch}
.cat-acc .note{margin:0 0 20px}
.cat-acc b{font-weight:500;color:var(--ink)}

/* peptide availability by state, below the plan selector (November 21, 2026) */
.cat-statelist{list-style:none;margin:0;padding:0}
.cat-states .st{color:#fff}
.cat-states .st.lim{color:var(--amber);border-color:var(--amber)}
.cat-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* peptides hero (the owner, November 22, 2026): a taller picture, and the most common benefits, each in its own translucent
   overlay that floats. The words are plain topics people ask a physician about; they promise nothing. */
.hero.cat-tall{min-height:min(900px,96svh)}
/* The Peptides hero photograph (sell/peptides-hero.webp): his face is at the very top of the picture, exactly where the
   menu bar sits. So the picture starts just below the menu bar and fades in from the navy above it, keeps its top edge,
   and the slow zoom grows downward from that edge. */
.film.cat-film-pep>.media{top:88px;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 56px);mask-image:linear-gradient(180deg,transparent 0,#000 56px)}
.film.cat-film-pep>.media img{object-position:50% 0;transform-origin:50% 0}
@media (max-width:700px){.film.cat-film-pep>.media img{object-position:76% 0}}
.cat-bens-wrap{display:grid;gap:12px;align-content:end;min-width:0}
.cat-bens-k{font-family:var(--fm);font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--citron)}
.cat-bens{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;perspective:1200px}
.cat-ben{position:relative;background:var(--glass);border:1px solid var(--glass-line);border-radius:18px;-webkit-backdrop-filter:blur(22px) saturate(1.25);backdrop-filter:blur(22px) saturate(1.25);box-shadow:0 20px 50px rgba(4,10,22,.32);padding:15px 16px 15px 38px;display:grid;gap:3px;color:#fff;transform:rotateY(-6deg);transform-origin:100% 50%;animation:catFloat 7s ease-in-out infinite;animation-delay:calc(var(--i,0)*-1.3s)}
.cat-ben:nth-child(even){margin-top:20px;margin-bottom:-20px}
.cat-ben i{position:absolute;left:16px;top:22px;width:9px;height:9px;border-radius:50%;background:var(--citron);box-shadow:0 0 0 4px rgba(200,241,105,.24)}
.cat-ben b{font-size:19px;font-weight:500;letter-spacing:-.01em;line-height:1.2}
.cat-ben span{font-size:15px;line-height:1.35;color:var(--on-dark2)}
@keyframes catFloat{50%{translate:0 -8px}}
@media (max-width:960px){
  .hero.cat-tall{min-height:min(760px,92svh)}
  .cat-bens{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(var(--gut)*-1) calc(var(--gut-r)*-1);padding:4px var(--gut-r) 12px var(--gut);perspective:none}
  .cat-ben{flex:0 0 min(64%,260px);scroll-snap-align:start;transform:none;margin:0!important;animation:none}
}
