/* Centre Rx Shop, one stylesheet. Values are the approved prototype's literals (portal theme.css palette). */
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#fff}
body{color:#141416;font-family:Barlow,system-ui,sans-serif;font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:#c10f24;text-decoration:none}
a:hover{color:#e0142c;text-decoration:underline}
input,select,button,textarea{font-family:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
.geist{font-family:Geist,system-ui,sans-serif}
@keyframes crxFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes crxSlide{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}

/* header */
.hdr{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #e5e5e8}
.hdr-in{max-width:1180px;margin:0 auto;padding:0 24px;height:66px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#0f0f10}
.brand:hover{text-decoration:none;color:#0f0f10}
.ring{width:36px;height:36px;border-radius:50%;position:relative;flex-shrink:0;display:block;background:conic-gradient(from 0deg,#22c1c3,#e0142c,#f2b807,#1a9e4a,#22c1c3)}
.ring::after{content:"";position:absolute;inset:6px;background:#fff;border-radius:50%}
.brand-text{line-height:1;display:flex;flex-direction:column;gap:2px;font-family:Geist,system-ui,sans-serif}
.brand-text .l1{font-weight:800;font-size:17px;letter-spacing:.5px;color:#0f0f10}
.brand-text .l2{font-weight:600;font-size:9.5px;letter-spacing:2.5px;color:#9a9aa0}
.nav{display:flex;align-items:center;gap:26px;font-family:Geist,system-ui,sans-serif;font-weight:500;font-size:14px;white-space:nowrap;flex-shrink:0}
.nav a{text-decoration:none;padding:6px 0;border-bottom:2px solid transparent;color:#141416}
.nav a:hover{color:#141416;text-decoration:none}
.nav a.is-active{border-bottom-color:#e0142c;color:#e0142c}
.hdr-actions{display:flex;align-items:center;gap:10px;position:relative}
.btn-login{height:40px;padding:0 18px;border-radius:999px;border:0;background:#0f0f10;color:#fff;font-family:Geist,system-ui,sans-serif;font-weight:600;font-size:13.5px;display:flex;align-items:center;gap:8px;white-space:nowrap;flex-shrink:0}
.btn-login:hover{background:#2a2a2e}
.btn-list{position:relative;width:40px;height:40px;border-radius:10px;border:1px solid #e5e5e8;background:#fff;color:#141416;display:flex;align-items:center;justify-content:center}
.btn-list:hover{background:#f4f4f5}
.count{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e0142c;color:#fff;font-family:Geist,system-ui,sans-serif;font-size:10.5px;font-weight:700;display:flex;align-items:center;justify-content:center}
.btn-avatar{width:40px;height:40px;border-radius:50%;border:1px solid #e5e5e8;background:#0f0f10;color:#fff;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:12.5px}
.acct-menu{position:absolute;top:48px;right:0;width:200px;background:#fff;border:1px solid #e5e5e8;border-radius:10px;box-shadow:0 4px 24px rgba(0,0,0,.08);padding:6px;animation:crxFade .15s ease-out;font-family:Geist,system-ui,sans-serif;font-size:13.5px;z-index:60}
.acct-name{padding:8px 10px 6px;font-weight:700;font-size:12px;color:#9a9aa0;letter-spacing:.4px;text-transform:uppercase}
.acct-item{width:100%;white-space:nowrap;display:flex;align-items:center;gap:9px;padding:9px 10px;border:0;background:transparent;border-radius:7px;color:#141416;font-weight:500;text-align:left;text-decoration:none;font-size:13.5px}
.acct-item:hover{background:#f4f4f5;color:#141416;text-decoration:none}
.acct-item .ext{margin-left:auto;color:#9a9aa0}
.acct-sep{height:1px;background:#ededf0;margin:4px 6px}

/* hero */
.hero{background:#fafafa;border-bottom:1px solid #ededf0}
.hero-in{max-width:1180px;margin:0 auto;padding:72px 24px 80px;display:grid;grid-template-columns:minmax(0,760px);justify-content:center}
.eyebrow{font-family:Geist,system-ui,sans-serif;font-size:12px;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;color:#6b6b70;margin-bottom:18px}
.hero h1{font-family:Geist,system-ui,sans-serif;font-weight:800;font-size:clamp(38px,5vw,62px);line-height:1.02;letter-spacing:-1.5px;color:#0f0f10;margin:0 0 20px;text-wrap:pretty}
.hero-lead{font-size:17px;color:#6b6b70;margin:0 0 28px;max-width:560px;text-wrap:pretty}
.trust{display:flex;gap:26px;flex-wrap:wrap;margin-bottom:30px;font-family:Geist,system-ui,sans-serif;font-size:13.5px;font-weight:500;color:#141416}
.trust span{display:flex;align-items:center;gap:9px}
.trust i{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.trust i.red{background:#fdeaec;color:#e0142c}
.trust i.green{background:#e8f8ee;color:#1a9e4a}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:44px}
.btn-pill-dark{white-space:nowrap;height:46px;padding:0 22px;border-radius:999px;border:0;background:#0f0f10;color:#fff;font-family:Geist,system-ui,sans-serif;font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.btn-pill-dark:hover{background:#2a2a2e;color:#fff;text-decoration:none}
.btn-pill-light{white-space:nowrap;height:46px;padding:0 22px;border-radius:999px;border:1px solid #e5e5e8;background:#fff;color:#141416;font-family:Geist,system-ui,sans-serif;font-weight:600;font-size:14px;display:inline-flex;align-items:center;text-decoration:none}
.btn-pill-light:hover{border-color:#0f0f10;color:#141416;text-decoration:none}
.stats{display:flex;gap:40px;flex-wrap:wrap}
.stat-v{font-family:Geist,system-ui,sans-serif;font-weight:800;font-size:30px;letter-spacing:-.5px;color:#0f0f10;line-height:1}
.stat-l{font-size:13px;color:#6b6b70;margin-top:4px}

/* sections */
.sec{max-width:1180px;margin:0 auto;padding:60px 24px 40px}
.sec.first{padding-top:80px}
.sec.last{padding-bottom:80px}
.sec-head{text-align:center;margin-bottom:40px}
.h2{font-family:Geist,system-ui,sans-serif;font-weight:800;font-size:36px;letter-spacing:-.8px;color:#0f0f10;margin:0 0 8px}
.sec-sub{margin:0;color:#6b6b70;font-size:16px}

/* product tile: no product images exist; the tile is a styled plate with the dosage glyph */
.photo{position:relative;background:#f4f4f5;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#d4d4d8}
.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.photo svg.ph{width:34px;height:34px}
.photo.has-img svg.ph{display:none}

/* home formulations */
.pop-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;max-width:960px;margin:0 auto}
.pcard{background:#fff;border:1px solid #e5e5e8;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px;transition:box-shadow .2s,transform .2s}
.pcard:hover{box-shadow:0 8px 28px rgba(0,0,0,.07);transform:translateY(-3px)}
.pcard .photo{aspect-ratio:4/3;border-radius:10px}
.photo-pill{position:absolute;top:10px;left:10px;background:#e8f8ee;color:#127034;border-radius:999px;padding:3px 9px;font-family:Geist,system-ui,sans-serif;font-size:11px;font-weight:600;display:flex;align-items:center;gap:5px;pointer-events:none}
.pcard-head{text-align:center}
.pcard-name{border:0;background:transparent;padding:0;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:16px;color:#0f0f10;text-decoration:none}
.pcard-name:hover{color:#e0142c;text-decoration:none}
.pcard-meta{font-size:12.5px;color:#9a9aa0;margin-top:2px}
.pcard-price{text-align:center;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:20px;color:#0f0f10}
.btn-add-outline{height:38px;border-radius:8px;border:1px solid #e5e5e8;background:#fff;color:#141416;font-family:Geist,system-ui,sans-serif;font-weight:600;font-size:13px}
.btn-add-outline:hover{background:#0f0f10;color:#fff;border-color:#0f0f10}
.btn-lock{height:38px;border-radius:8px;border:1px solid #e5e5e8;background:#fff;color:#6b6b70;font-family:Geist,system-ui,sans-serif;font-weight:600;font-size:13px;display:flex;align-items:center;justify-content:center;gap:7px;width:100%}
.btn-lock:hover{border-color:#0f0f10;color:#0f0f10}

/* why */
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.why{border:1px solid #e5e5e8;border-radius:14px;padding:28px 22px;text-align:center}
.why i{width:48px;height:48px;border-radius:12px;background:#f4f4f5;color:#0f0f10;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.why b{display:block;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:16px;margin-bottom:6px}
.why p{margin:0;font-size:13.5px;color:#6b6b70}

/* contact */
.contact{max-width:720px;margin:0 auto;border:1px solid #e5e5e8;border-radius:20px;padding:48px 32px;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.contact .h2{font-size:34px}
.contact-sub{margin:0 0 28px;color:#6b6b70}
.contact-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;text-align:left}
.contact-form input{height:46px;padding:0 14px;border:1px solid #e5e5e8;border-radius:10px;font-size:14.5px;outline:none;width:100%}
.contact-form textarea{grid-column:1 / -1;padding:12px 14px;border:1px solid #e5e5e8;border-radius:10px;font-size:14.5px;outline:none;resize:vertical;width:100%}
.contact-form input:focus,.contact-form textarea:focus{border-color:#0f0f10}
.field-err{grid-column:1 / -1;font-size:12.5px;color:#b42318}
.btn-send{grid-column:1 / -1;height:46px;border-radius:999px;border:0;background:#0f0f10;color:#fff;font-family:Geist,system-ui,sans-serif;font-weight:600;font-size:14px}
.btn-send:hover{background:#2a2a2e}
.notice-ok{background:#e8f8ee;border:1px solid #c5e6d1;color:#127034;border-radius:10px;padding:16px;font-weight:500;animation:crxFade .2s ease-out}

/* formulary */
.band{background:#fafafa;border-bottom:1px solid #ededf0;text-align:center;padding:48px 24px}
.band h1{font-family:Geist,system-ui,sans-serif;font-weight:800;font-size:40px;letter-spacing:-1px;color:#0f0f10;margin:0 0 8px}
.band-status{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;color:#1a9e4a;font-weight:500}
.band-status::before{content:"";width:7px;height:7px;border-radius:50%;background:#1a9e4a;display:inline-block}
.formulary{max-width:1180px;margin:0 auto;padding:28px 24px 80px}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.search{position:relative;flex:1;min-width:220px;max-width:340px}
.search svg{position:absolute;left:12px;top:12px;color:#9a9aa0}
.search input{height:40px;width:100%;padding:0 12px 0 34px;border:1px solid #e5e5e8;border-radius:10px;font-size:14px;outline:none}
.search input:focus{border-color:#0f0f10}
.tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.chip{height:34px;padding:0 13px;border-radius:999px;border:1px solid #e5e5e8;background:#fff;color:#6b6b70;font-family:Geist,system-ui,sans-serif;font-size:12.5px;font-weight:600}
.chip.is-active{background:#0f0f10;color:#fff;border-color:#0f0f10}
.sort{height:40px;padding:0 12px;border:1px solid #e5e5e8;border-radius:10px;font-size:13.5px;background:#fff;color:#141416;outline:none}
.countline{font-size:13px;color:#6b6b70;margin-bottom:18px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
.gcard{background:#fff;border:1px solid #e5e5e8;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.gcard:hover{box-shadow:0 8px 28px rgba(0,0,0,.07);transform:translateY(-3px)}
.gcard .photo{aspect-ratio:4/3}
.avail{position:absolute;top:10px;right:10px;background:#1a9e4a;color:#fff;border-radius:6px;padding:3px 8px;font-family:Geist,system-ui,sans-serif;font-size:10.5px;font-weight:700;pointer-events:none}
.gcard-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.gcard-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.gcard-name{border:0;background:transparent;padding:0;text-align:left;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:15px;color:#0f0f10;text-decoration:none}
.gcard-name:hover{color:#e0142c;text-decoration:none}
.gcard-meta{font-size:12.5px;color:#6b6b70}
.gcard-spec{font-size:12.5px;color:#141416}
.gcard-price{font-family:Geist,system-ui,sans-serif;font-weight:800;font-size:20px;color:#0f0f10;margin-top:4px}
.gcard-actions{display:flex;gap:8px;margin-top:auto}
.btn-add-red{flex:1;height:36px;border-radius:8px;border:0;background:#e0142c;color:#fff;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:12.5px;display:flex;align-items:center;justify-content:center;gap:7px}
.btn-add-red:hover{background:#c10f24}
.btn-view{height:36px;padding:0 14px;border-radius:8px;border:1px solid #e5e5e8;background:#fff;color:#141416;font-family:Geist,system-ui,sans-serif;font-weight:600;font-size:12.5px;display:inline-flex;align-items:center;text-decoration:none}
.btn-view:hover{border-color:#0f0f10;color:#141416;text-decoration:none}
.empty{text-align:center;color:#9a9aa0;padding:60px 0}

/* product detail */
.detail{max-width:1180px;margin:0 auto;padding:28px 24px 80px}
.back{border:0;background:transparent;padding:0;display:inline-flex;align-items:center;gap:6px;color:#6b6b70;font-family:Geist,system-ui,sans-serif;font-weight:600;font-size:13px;margin-bottom:22px;text-decoration:none}
.back:hover{color:#c10f24;text-decoration:none}
.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:48px;align-items:start}
.detail-photo{aspect-ratio:1/1;max-height:460px;width:100%;border-radius:20px;box-shadow:0 4px 24px rgba(0,0,0,.06)}
.detail-photo svg.ph{width:48px;height:48px}
.detail-pill{position:absolute;top:14px;right:14px;background:#e8f8ee;color:#127034;border:1px solid #c5e6d1;border-radius:999px;padding:4px 10px;font-family:Geist,system-ui,sans-serif;font-size:11.5px;font-weight:600;display:flex;align-items:center;gap:5px;pointer-events:none}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:20px}
.tile{border:1px solid #e5e5e8;border-radius:14px;padding:18px;text-align:center}
.tile i{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px}
.tile i.green{background:#e8f8ee;color:#1a9e4a}
.tile i.red{background:#fdeaec;color:#e0142c}
.tile i.grey{background:#f4f4f5;color:#0f0f10}
.tile b{display:block;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:13.5px}
.tile span{font-size:12px;color:#6b6b70}
.avail-badge{display:inline-flex;align-items:center;gap:6px;background:#e8f8ee;color:#127034;border:1px solid #c5e6d1;border-radius:6px;padding:4px 10px;font-family:Geist,system-ui,sans-serif;font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;margin-bottom:14px}
.detail h1{font-family:Geist,system-ui,sans-serif;font-weight:800;font-size:40px;letter-spacing:-1px;color:#0f0f10;margin:0 0 16px;line-height:1.05}
.spec{display:flex;flex-direction:column;gap:6px;font-size:15px;color:#6b6b70;margin-bottom:22px}
.spec span{color:#141416}
.price-big{font-family:Geist,system-ui,sans-serif;font-weight:800;font-size:40px;letter-spacing:-1px;color:#0f0f10;margin-bottom:24px}
.price-card{background:#fafafa;border:1px solid #ededf0;border-radius:14px;padding:18px 22px;display:flex;flex-direction:column;gap:6px;font-size:13.5px;color:#6b6b70}
.price-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.price-row>:first-child{flex:1 1 auto;min-width:0}
.price-row>:last-child{flex:0 0 auto;white-space:nowrap}
.price-row b{font-family:Geist,system-ui,sans-serif;font-weight:700;color:#0f0f10}
.price-row span{color:#141416}
.price-note{font-size:12.5px;color:#9a9aa0;margin-top:4px}
.btn-add-big{width:100%;height:50px;margin-top:20px;border-radius:8px;border:0;background:#e0142c;color:#fff;font-family:Geist,system-ui,sans-serif;font-weight:800;font-size:15px;letter-spacing:.3px}
.btn-add-big:hover{background:#c10f24}
.btn-add-big:active{transform:scale(.985)}
.added{margin-top:10px;font-size:13px;color:#127034;display:flex;align-items:center;gap:6px;animation:crxFade .2s ease-out}
.link-red{border:0;background:transparent;padding:0;color:#c10f24;font-weight:600;text-decoration:underline;font-size:inherit}
.tabs-wrap{margin-top:56px}
.tabs{display:inline-flex;background:#f4f4f5;border-radius:8px;padding:4px;gap:2px;font-family:Geist,system-ui,sans-serif;font-size:13px;font-weight:600}
.tab{white-space:nowrap;height:32px;padding:0 14px;border-radius:6px;border:0;background:transparent;color:#6b6b70}
.tab.is-active{background:#fff;color:#0f0f10;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.note-panel{margin-top:16px;background:#fffbeb;border:1px solid #f0dcb4;border-radius:14px;padding:26px 28px}
.note-title{display:flex;align-items:center;gap:8px;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:15px;margin-bottom:10px}
.note-panel p{margin:0;font-size:14.5px;color:#141416;max-width:70ch}
.desc-panel{margin-top:16px;border:1px solid #e5e5e8;border-radius:14px;padding:26px 28px;font-size:14.5px;color:#141416;max-width:70ch}

/* legal pages */
.legal{max-width:680px;margin:0 auto;padding:56px 24px 80px;font-size:15px;color:#141416}
.legal-head{text-align:center;margin-bottom:28px}
.legal h1{font-family:Geist,system-ui,sans-serif;font-weight:800;font-size:38px;letter-spacing:-1px;color:#0f0f10;margin:0 0 6px}
.legal-date{font-size:13px;color:#6b6b70}
.rule{height:1px;background:#e5e5e8;margin-bottom:28px}
.rule.tight{margin-bottom:16px}
.legal h2{font-family:Geist,system-ui,sans-serif;font-weight:800;font-size:18px;margin:0 0 6px}
.legal p{margin:0 0 10px}
.legal p.end{margin-bottom:22px}
.legal p.end-lg{margin-bottom:28px}
.legal ul{margin:0 0 10px;padding-left:22px}
.legal ul.end{margin-bottom:22px}
.legal-foot{text-align:center;font-size:12.5px;color:#6b6b70}

/* footer */
.ftr{border-top:1px solid #e5e5e8;background:#fff}
.ftr-in{max-width:1180px;margin:0 auto;padding:48px 24px 28px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:36px;font-size:13.5px}
.ftr-brand{font-family:Geist,system-ui,sans-serif;font-weight:800;font-size:16px;color:#0f0f10;margin-bottom:10px}
.ftr p.blurb{margin:0;color:#6b6b70;max-width:260px}
.ftr-h{font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:14px;color:#0f0f10;margin-bottom:12px}
.ftr-links{display:flex;flex-direction:column;gap:8px;color:#6b6b70}
.ftr-links a,.ftr-links span{display:flex;align-items:center;gap:8px;color:#6b6b70;font-size:13.5px;text-decoration:none}
.ftr-links a:hover{color:#0f0f10;text-decoration:none}
.ftr-note{background:#fdeaec;border:1px solid #f5c9cf;border-radius:10px;padding:16px 18px}
.ftr-note b{display:block;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:13.5px;color:#c10f24;margin-bottom:6px}
.ftr-note p{margin:0;font-size:12px;color:#141416;line-height:1.55}
.ftr-bottom{border-top:1px solid #ededf0}
.ftr-bottom-in>span{white-space:nowrap}
.ftr-bottom-in{max-width:1180px;margin:0 auto;padding:16px 24px;font-size:12.5px;color:#9a9aa0;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ftr-bottom-in nav{display:flex;gap:16px}
.ftr-bottom-in a{color:#9a9aa0;font-size:12.5px;text-decoration:none}
.ftr-bottom-in a:hover{color:#0f0f10;text-decoration:none}

/* auth modal (portal login.html / signup.html replica, Inter) */
.scrim{position:fixed;inset:0;background:rgba(15,15,16,.45);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;overflow-y:auto}
.modal{width:100%;max-width:420px;background:#fff;border:1px solid #e5e5e8;border-radius:14px;box-shadow:0 4px 24px rgba(0,0,0,.06);padding:36px 34px;animation:crxFade .2s ease-out;position:relative;font-family:Inter,-apple-system,system-ui,sans-serif;color:#141416;margin:auto}
.modal-close{position:absolute;top:14px;right:14px;border:0;background:transparent;color:#9a9aa0;padding:4px;display:flex}
.modal-logo{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:28px}
.modal-logo .ring{width:38px;height:38px}
.modal-logo .ring::after{inset:7px}
.modal-logo .brand-text{font-family:Inter,-apple-system,system-ui,sans-serif}
.modal-logo .l1{font-size:19px}
.modal-logo .l2{font-size:10.5px}
.modal h1{font-size:20px;font-weight:800;text-align:center;margin:0 0 4px;color:#0f0f10;letter-spacing:-.3px}
.modal-sub{font-size:13px;color:#6b6b70;text-align:center;margin-bottom:26px}
.roletabs{display:flex;gap:4px;background:#f4f4f5;padding:4px;border-radius:9px;margin-bottom:24px}
.roletab{flex:1;padding:9px;border-radius:6px;font-size:13.5px;font-weight:700;border:0;background:transparent;color:#6b6b70;font-family:inherit}
.roletab.is-active{background:#fff;color:#c10f24;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.alert{border-radius:8px;padding:11px 14px;margin-bottom:16px;font-size:13px;background:#fdeaec;border:1px solid #f5c9cf;color:#c10f24}
.fg{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;position:relative}
.fg label{font-size:13px;font-weight:700;color:#141416}
.fg label .req{color:#e53e3e}
.fg input{font-family:inherit;font-size:14px;padding:11px 13px;border:1px solid #e5e5e8;border-radius:8px;width:100%;background:#fff;color:#141416;outline:none;transition:border-color .15s,box-shadow .15s}
.fg input:focus{border-color:#e0142c;box-shadow:0 0 0 3px rgba(224,20,44,.12)}
.hint{font-size:12px;color:#9a9aa0;line-height:1.5}
.btn-red{font-family:inherit;font-size:14px;font-weight:700;padding:12px 18px;border-radius:8px;border:0;width:100%;background:#e0142c;color:#fff;margin-top:8px}
.btn-red:hover{background:#c10f24}
.btn-white{font-family:inherit;font-size:14px;font-weight:700;padding:12px 18px;border-radius:8px;border:1px solid #e5e5e8;width:100%;background:#fff;color:#141416;margin-top:16px}
.btn-white:hover{border-color:#0f0f10}
.modal-foot{margin-top:18px;text-align:center;font-size:12.5px;color:#9a9aa0;line-height:1.6}
.lnk{border:0;background:transparent;padding:0;font-family:inherit;font-size:12.5px;color:#6b6b70;font-weight:600}
.lnk:hover{color:#c10f24;text-decoration:underline}
.lnk.u{text-decoration:underline;font-size:inherit}
.states-btn{width:100%;text-align:left;padding:10px 14px;border:1px solid #e5e5e8;border-radius:8px;background:#fff;font-size:15px;font-family:inherit;color:#9a9aa0;display:flex;justify-content:space-between;align-items:center}
.states-btn.has{color:#141416}
.states-btn small{font-size:12px}
.states-panel{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #e5e5e8;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:100;max-height:200px;overflow-y:auto;padding:6px 0}
.fg.states .states-panel{top:auto}
.state-opt{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:8px 12px;border:0;background:#fff;font-family:inherit;font-size:13.5px;color:#141416}
.state-opt:hover{background:#f4f4f5}
.state-opt.on{background:#fdeaec}
.state-box{width:16px;height:16px;border-radius:4px;border:1.5px solid #e5e5e8;background:#fff;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:11px;flex-shrink:0}
.state-opt.on .state-box{border-color:#e0142c;background:#e0142c}
.pills{display:flex;flex-wrap:wrap;gap:6px}
.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:#f4f4f5;border:1px solid #e5e5e8;font-size:12px;font-weight:700;color:#6b6b70}
.pill button{border:0;background:transparent;padding:0;color:#9a9aa0;font-size:13px;line-height:1}
.consent{font-size:12px;color:#9a9aa0;line-height:1.5;margin-bottom:12px}
.consent a{color:#6b6b70;font-weight:600;text-decoration:underline}
.success{text-align:center;padding:24px 0}
.success .check{font-size:48px;margin-bottom:16px;color:#1a9e4a}
.success h2{margin:0 0 8px;font-size:20px;font-weight:800;color:#0f0f10}
.success p{color:#555;margin:0 0 16px;font-size:14px}
.success p.small{color:#888;font-size:13px;margin:0}

/* order list (drawer + order.html) */
.drawer-scrim{position:fixed;inset:0;background:rgba(15,15,16,.35);z-index:100}
.drawer{position:absolute;top:0;right:0;bottom:0;width:460px;max-width:100%;background:#fff;box-shadow:-8px 0 40px rgba(0,0,0,.18);display:flex;flex-direction:column;animation:crxSlide .22s cubic-bezier(.4,0,.2,1)}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:0 24px;height:66px;border-bottom:1px solid #e5e5e8}
.drawer-title{font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:17px}
.icon-btn{border:0;background:transparent;color:#6b6b70;padding:4px;display:flex}
.drawer-body{flex:1;overflow-y:auto;padding:18px 24px}
.ol-meta{display:flex;justify-content:space-between;font-size:13px;color:#6b6b70;margin-bottom:12px}
.ol-empty{text-align:center;padding:60px 0;color:#9a9aa0}
.ol-empty svg{margin-bottom:12px}
.ol-empty div{font-size:14px}
.btn-browse{margin-top:14px;height:38px;padding:0 16px;border-radius:8px;border:1px solid #e5e5e8;background:#fff;font-family:Geist,system-ui,sans-serif;font-weight:600;font-size:13px;color:#141416;display:inline-flex;align-items:center;text-decoration:none}
.btn-browse:hover{border-color:#0f0f10;color:#141416;text-decoration:none}
.lines{display:flex;flex-direction:column;gap:10px}
.line{border:1px solid #e5e5e8;border-radius:10px;padding:14px;display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center}
.line-ico{width:52px;height:52px;border-radius:8px;background:#f4f4f5;border:1px solid #ededf0;display:flex;align-items:center;justify-content:center;color:#9a9aa0}
.line-main{min-width:0}
.line-name{font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:13.5px;color:#0f0f10}
.line-meta{font-size:12px;color:#6b6b70}
.line-price{font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:13.5px;margin-top:6px}
.line-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.line-qty{font-size:11.5px;color:#9a9aa0;text-align:right}
.line-remove{border:0;background:transparent;padding:0;font-size:12.5px;color:#6b6b70}
.line-remove:hover{color:#e0142c}
.drawer-foot{border-top:1px solid #e5e5e8;padding:18px 24px 22px;display:flex;flex-direction:column;gap:10px}
.subtotal{display:flex;justify-content:space-between;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:14px}
.ol-note{font-size:12px;color:#9a9aa0}
.btn-submit{height:46px;border-radius:8px;border:0;background:#0f0f10;color:#fff;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:14px}
.btn-submit:disabled{background:#e5e5e8;color:#9a9aa0;cursor:not-allowed}
.btn-continue{height:44px;border-radius:8px;border:1px solid #e5e5e8;background:#fff;color:#141416;font-family:Geist,system-ui,sans-serif;font-weight:600;font-size:13.5px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.btn-continue:hover{border-color:#0f0f10;color:#141416;text-decoration:none}
/* order.html: the same list as a page */
.order-page{max-width:560px;margin:0 auto;padding:0 24px 80px}
.order-page .drawer-body{padding:18px 0}
.order-page .drawer-foot{padding:18px 0 0}

/* phone */
@media (max-width:720px){
  .hdr-in{height:auto;flex-wrap:wrap;padding-top:12px;padding-bottom:0;row-gap:8px}
  .hdr-in .nav{order:3;flex-basis:100%;gap:22px;overflow-x:auto;padding-bottom:0;scrollbar-width:none}
  .hdr-in .nav::-webkit-scrollbar{display:none}
  .hdr-in .nav a{padding:8px 0 10px}
  .btn-login span{display:none}
  .btn-login{padding:0 14px}
  .acct-menu{top:52px}
  .hero-in{padding:48px 20px 56px}
  .hero h1{letter-spacing:-1px}
  .stats{gap:28px}
  .sec,.formulary,.detail,.legal{padding-left:20px;padding-right:20px}
  .sec{padding-top:48px;padding-bottom:24px}
  .sec.first{padding-top:56px}
  .sec.last{padding-bottom:56px}
  .h2{font-size:30px}
  .contact{padding:36px 20px}
  .band{padding:36px 20px}
  .band h1{font-size:34px}
  .detail h1{font-size:32px}
  .detail-grid{gap:32px}
  .detail-photo{border-radius:14px}
  .price-big{font-size:32px}
  .tabs-wrap{margin-top:40px}
  .note-panel,.desc-panel{padding:20px}
  .legal h1{font-size:32px}
  .ftr-in{padding:36px 20px 24px;gap:28px}
  .scrim{padding:12px}
  .modal{padding:28px 20px}
  .drawer{width:100%}
}

/* real-data additions, 5 October 2026 */
.pcard-dis{font-size:12.5px;color:#141416;margin-top:3px}
.ftr-links a small{display:block;font-size:11.5px;color:#9a9aa0;margin-top:1px}
.ftr-links a{flex-direction:column;align-items:flex-start;gap:0;width:100%}
.ftr-links a.row{flex-direction:row;align-items:center;gap:8px}
.line-gone{border:1px solid #f5c9cf;background:#fdeaec;border-radius:10px;padding:14px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:#c10f24}
.line-gone .line-remove{color:#c10f24}
.missing{text-align:center;padding:80px 0;color:#6b6b70}
.missing b{display:block;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:18px;color:#0f0f10;margin-bottom:8px}

/* footer disclaimer and LegitScript seal slot, 5 October 2026 */
.legitscript{display:flex;width:73px;height:79px;margin-top:18px;align-items:center;justify-content:center;text-decoration:none}
.legitscript .legitscript-ph{width:73px;height:79px;border:1px dashed #c9c9ce;border-radius:8px;background:#fafafa;display:flex;align-items:center;justify-content:center;text-align:center;padding:6px;font-family:Geist,system-ui,sans-serif;font-size:10.5px;font-weight:600;line-height:1.3;color:#9a9aa0}
.legitscript:hover .legitscript-ph{border-color:#0f0f10;color:#0f0f10}
.legitscript img{display:block;width:73px;height:79px}
.legitscript.has-seal .legitscript-ph{display:none}
.legitscript:hover{text-decoration:none}


/* certification pass, 2026-10-13 */
body{min-height:100vh;display:flex;flex-direction:column}
main{flex:1 0 auto;width:100%}
.band-sub{margin:6px 0 0;color:#6b6b70;font-size:14px}
.steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;max-width:960px;margin:0 auto}
.step{border:1px solid #e5e5e8;border-radius:14px;padding:26px 22px}
.step .n{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#0f0f10;color:#fff;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:13.5px;margin-bottom:14px}
.step b{display:block;font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:16px;color:#0f0f10;margin-bottom:8px}
.step p{margin:0;font-size:13.5px;color:#6b6b70;line-height:1.6}
.steps-more{text-align:center;margin:26px 0 0;font-family:Geist,system-ui,sans-serif;font-weight:600;font-size:14px}
.pharm-line{text-align:center;color:#6b6b70;font-size:13px;margin:16px auto 0;max-width:760px;line-height:1.6}
.hiw-copy{max-width:760px;margin:0 auto;font-size:15px;line-height:1.7;color:#141416}
.hiw-copy .h2{font-size:24px;letter-spacing:-.4px;margin:34px 0 12px}
.hiw-copy > .h2:first-child{margin-top:0}
.hiw-copy p{margin:0 0 14px}
.hiw-note{margin-top:26px}
.pharm-card{border:1px solid #e5e5e8;border-radius:14px;padding:22px 24px;background:#fff}
.pharm-h{font-family:Geist,system-ui,sans-serif;font-weight:700;font-size:12px;letter-spacing:1.2px;text-transform:uppercase;color:#9a9aa0;margin-bottom:14px}
.pharm-dl{margin:0;display:grid;gap:9px}
.pharm-dl > div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;font-size:14px}
.pharm-dl dt{color:#6b6b70}
.pharm-dl dd{margin:0;color:#0f0f10;font-weight:500;overflow-wrap:anywhere}
.pharm-note{margin:14px 0 0;font-size:12.5px;color:#9a9aa0;line-height:1.6}
.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;max-width:960px;margin:0 auto}
.ftr-cert{border-top:1px solid #ededf0}
.ftr-cert-in{max-width:1180px;margin:0 auto;padding:16px 24px;font-size:12.5px;color:#6b6b70;line-height:1.65}
.ftr-cert-in p{margin:0 0 6px}
.ftr-cert-in b{color:#141416;font-weight:600}
@media (max-width:720px){.pharm-dl > div{grid-template-columns:1fr;gap:2px}}

.states-line{margin:14px 0 0;font-size:13.5px;color:#6b6b70}

/* header state, 2026-10-13 */
/* All three controls ship in the markup and shop.js hides the wrong ones only once the session read
   has answered, so until then they are invisible rather than absent: no wrong state can paint, and
   the row keeps its box. */
.hdr-actions [data-gate]{visibility:hidden}
body.hdr-ready .hdr-actions [data-gate]{visibility:visible}
