/*
Theme Name: PCRX Child
Template: kadence
Description: Licensed Canadian peptide pharmacy — Kadence child theme. Design layer only; legal rules live in the pcrx-core plugin.
Version: 0.1.0
Text Domain: pcrx-child
*/

/* ---------- tokens ---------- */
:root {
	--pcrx-ink: #10262e;
	--pcrx-text: #26363d;
	--pcrx-muted: #5d6b70;
	--pcrx-teal: #1d5c57;
	--pcrx-teal-d: #134440;
	--pcrx-sage: #e7efea;
	--pcrx-cream: #faf7f2;
	--pcrx-sand: #f1ebe1;
	--pcrx-copper: #a8643c;
	--pcrx-line: #dfe5e2;
	--pcrx-white: #fff;
	--pcrx-radius: 14px;
	--pcrx-shadow: 0 1px 2px rgba(16, 38, 46, .06), 0 8px 28px rgba(16, 38, 46, .08);
	--pcrx-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--pcrx-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--pcrx-wrap: 1180px;
	--global-palette1: var(--pcrx-teal);
	--global-palette2: var(--pcrx-teal-d);
	--global-palette3: var(--pcrx-ink);
	--global-palette4: var(--pcrx-text);
	--global-palette5: var(--pcrx-muted);
	--global-palette7: var(--pcrx-sand);
	--global-palette8: var(--pcrx-cream);
	--global-palette9: var(--pcrx-white);
}

body { font-family: var(--pcrx-sans); color: var(--pcrx-text); background: var(--pcrx-cream); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .site-title, .entry-title { font-family: var(--pcrx-serif); color: var(--pcrx-ink); font-weight: 560; letter-spacing: -.012em; font-variation-settings: 'opsz' 96; }
h4, h5, h6 { font-family: var(--pcrx-sans); color: var(--pcrx-ink); }
a { color: var(--pcrx-teal); }
a:hover { color: var(--pcrx-teal-d); }
.content-bg, body.content-style-unboxed .site { background: var(--pcrx-cream); }
.entry-content-wrap { padding-top: 0; }

/* ---------- top trust bar ---------- */
.pcrx-topbar { background: var(--pcrx-ink); color: #dfe9e6; font-size: .8rem; letter-spacing: .01em; }
.pcrx-topbar ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.6rem; margin: 0 auto; padding: .5rem 1rem; list-style: none; max-width: var(--pcrx-wrap); }
.pcrx-topbar li { position: relative; padding-left: 1.05rem; margin: 0; }
.pcrx-topbar li::before { content: ""; position: absolute; left: 0; top: .42em; width: .55rem; height: .3rem; border-left: 2px solid #8fc9b7; border-bottom: 2px solid #8fc9b7; transform: rotate(-45deg); }
@media (max-width: 720px) { .pcrx-topbar li:nth-child(n+3) { display: none; } }

/* ---------- buttons ---------- */
.pcrx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px; font: 600 1rem/1.2 var(--pcrx-sans); text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s; cursor: pointer; }
.pcrx-btn--primary { background: var(--pcrx-teal); color: #fff; }
.pcrx-btn--primary:hover, .pcrx-btn--primary:focus { background: var(--pcrx-teal-d); color: #fff; transform: translateY(-1px); }
.pcrx-btn--ghost { background: transparent; color: var(--pcrx-teal); border-color: currentColor; }
.pcrx-btn--ghost:hover { background: var(--pcrx-sage); color: var(--pcrx-teal-d); }
.pcrx-btn--light { background: #fff; color: var(--pcrx-ink); }
.pcrx-btn--light:hover { background: var(--pcrx-sage); color: var(--pcrx-ink); }
.pcrx-btn--onphoto { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.pcrx-btn--onphoto:hover { background: rgba(255,255,255,.12); color: #fff; }
.pcrx-btn--lg { min-height: 56px; padding: 1rem 1.8rem; font-size: 1.08rem; }
.pcrx-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- layout helpers for page HTML ---------- */
.pcrx-wrap { max-width: var(--pcrx-wrap); margin: 0 auto; padding: 0 1.25rem; }
.pcrx-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.pcrx-section--sage { background: var(--pcrx-sage); }
.pcrx-section--sand { background: var(--pcrx-sand); }
.pcrx-section--white { background: #fff; }
.pcrx-eyebrow { display: inline-block; margin: 0 0 .75rem; font: 600 .78rem/1 var(--pcrx-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--pcrx-copper); }
.pcrx-lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; color: var(--pcrx-muted); max-width: 46rem; }
.pcrx-section h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.12; margin: 0 0 1rem; }
.pcrx-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .pcrx-grid--2 { grid-template-columns: repeat(2, 1fr); } .pcrx-grid--3 { grid-template-columns: repeat(3, 1fr); } .pcrx-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.pcrx-split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .pcrx-split { grid-template-columns: 1.05fr 1fr; } .pcrx-split--rev > :first-child { order: 2; } }
.pcrx-photo { border-radius: var(--pcrx-radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--pcrx-sand) center / cover no-repeat; box-shadow: var(--pcrx-shadow); }

/* ---------- full-bleed blocks inside Kadence content ---------- */
.pcrx-bleed { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }

/* ---------- home hero ---------- */
.pcrx-hero { position: relative; isolation: isolate; color: #fff; min-height: clamp(560px, 82vh, 760px); display: flex; align-items: flex-end; background: #1b2e33 var(--pcrx-hero) center / cover no-repeat; }
.pcrx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9, 24, 29, .82) 0%, rgba(9, 24, 29, .55) 48%, rgba(9, 24, 29, .12) 100%), linear-gradient(0deg, rgba(9, 24, 29, .55) 0%, rgba(9, 24, 29, 0) 45%); }
@media (max-width: 699px) { .pcrx-hero::before { background: linear-gradient(0deg, rgba(9, 24, 29, .9) 0%, rgba(9, 24, 29, .55) 60%, rgba(9, 24, 29, .25) 100%); } }
.pcrx-hero .pcrx-wrap { width: 100%; padding-top: 5rem; padding-bottom: clamp(2.5rem, 7vw, 5rem); }
.pcrx-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.04; max-width: 15ch; margin: 0 0 1.1rem; text-shadow: 0 1px 24px rgba(0,0,0,.25); }
.pcrx-hero p { color: #e8f0ee; font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.55; max-width: 36rem; margin: 0; }
.pcrx-hero .pcrx-eyebrow { color: #f2c7a6; }
.pcrx-hero__proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; font-size: .92rem; color: #d7e4e0; }
.pcrx-hero__proof li { margin: 0; }
.pcrx-hero__proof strong { color: #fff; font-weight: 600; }

/* ---------- page title band with photo (Kadence "above" title) ---------- */
.pcrx-has-art .entry-hero.page-hero-section, .pcrx-has-art .entry-hero.pcrx_med-hero-section, .pcrx-has-art .entry-hero.post-archive-hero-section, .pcrx-has-art .entry-hero.product-archive-hero-section { position: relative; background: #1a2a33 var(--pcrx-hero) center / cover no-repeat; }
.pcrx-has-art .entry-hero .hero-section-overlay { background: linear-gradient(90deg, rgba(9,24,29,.8) 0%, rgba(9,24,29,.45) 60%, rgba(9,24,29,.15) 100%); opacity: 1; }
.pcrx-has-art .entry-hero .entry-hero-container-inner { background: transparent; }
.pcrx-has-art .entry-hero .hero-container { min-height: clamp(11rem, 24vw, 17rem); display: flex; align-items: flex-end; }
.pcrx-has-art .entry-hero h1, .pcrx-has-art .entry-hero .kadence-breadcrumbs, .pcrx-has-art .entry-hero .kadence-breadcrumbs a, .pcrx-has-art .entry-hero .archive-description { color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.pcrx-has-art .entry-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: .2rem; }

/* ---------- trust strip ---------- */
.pcrx-trust { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .pcrx-trust { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 760px) { .pcrx-trust--3 { grid-template-columns: repeat(3, 1fr); } }
.pcrx-trust li { margin: 0; padding: 1.25rem 1.25rem 1.3rem; background: #fff; border: 1px solid var(--pcrx-line); border-radius: var(--pcrx-radius); }
.pcrx-trust strong { display: block; font: 600 1.02rem/1.3 var(--pcrx-sans); color: var(--pcrx-ink); margin-bottom: .35rem; }
.pcrx-trust span { font-size: .93rem; color: var(--pcrx-muted); line-height: 1.5; }

/* ---------- steps ---------- */
.pcrx-steps { counter-reset: s; display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .pcrx-steps { grid-template-columns: repeat(4, 1fr); } }
.pcrx-steps li { counter-increment: s; position: relative; margin: 0; padding: 3.4rem 1.3rem 1.4rem; background: #fff; border-radius: var(--pcrx-radius); box-shadow: var(--pcrx-shadow); }
.pcrx-steps li::before { content: counter(s); position: absolute; top: 1.1rem; left: 1.3rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--pcrx-sage); color: var(--pcrx-teal-d); font: 700 .95rem/1 var(--pcrx-sans); }
.pcrx-steps h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.pcrx-steps .pcrx-when { display: block; font: 600 .78rem/1 var(--pcrx-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--pcrx-copper); margin-bottom: .6rem; }
.pcrx-steps p { margin: 0; color: var(--pcrx-muted); font-size: .96rem; line-height: 1.55; }

/* ---------- photo tiles ---------- */
.pcrx-tiles { display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .pcrx-tiles { grid-template-columns: repeat(3, 1fr); } }
.pcrx-tile { position: relative; display: flex; align-items: flex-end; min-height: 300px; padding: 1.4rem; border-radius: var(--pcrx-radius); overflow: hidden; color: #fff; text-decoration: none; background: #23363c center / cover no-repeat; isolation: isolate; }
.pcrx-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9,24,29,.85) 0%, rgba(9,24,29,.25) 55%, rgba(9,24,29,0) 100%); transition: background .2s; }
.pcrx-tile:hover::before { background: linear-gradient(0deg, rgba(9,24,29,.9) 0%, rgba(9,24,29,.35) 65%, rgba(9,24,29,.05) 100%); }
.pcrx-tile h3 { color: #fff; font-size: 1.45rem; margin: 0 0 .3rem; }
.pcrx-tile p { margin: 0; color: #dde8e5; font-size: .95rem; }
.pcrx-tile span.pcrx-more { display: inline-block; margin-top: .7rem; font-weight: 600; font-size: .93rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); }

/* ---------- full-width photo band ---------- */
.pcrx-band { position: relative; isolation: isolate; color: #fff; padding: clamp(4rem, 10vw, 7rem) 0; background: #1b2e33 center / cover no-repeat; }
.pcrx-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,24,29,.84) 0%, rgba(9,24,29,.5) 65%, rgba(9,24,29,.25) 100%); }
.pcrx-band h2 { color: #fff; max-width: 20ch; }
.pcrx-band p { color: #e3ece9; max-width: 38rem; font-size: 1.08rem; line-height: 1.6; }

/* ---------- medication cards + price tables ---------- */
.pcrx-cards { display: grid; gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .pcrx-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pcrx-cards { grid-template-columns: repeat(3, 1fr); } }
.pcrx-card { margin: 0; }
.pcrx-card a { position: relative; display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: 1.3rem 1.3rem 1.2rem; background: #fff; border: 1px solid var(--pcrx-line); border-radius: var(--pcrx-radius); text-decoration: none; color: var(--pcrx-text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.pcrx-card a:hover { border-color: var(--pcrx-teal); box-shadow: var(--pcrx-shadow); transform: translateY(-2px); }
.pcrx-card__name { font: 560 1.35rem/1.2 var(--pcrx-serif); color: var(--pcrx-ink); }
.pcrx-card__mol { font-size: .92rem; color: var(--pcrx-muted); }
.pcrx-card__form { font-size: .86rem; color: var(--pcrx-muted); }
.pcrx-card__price { margin-top: .7rem; font-weight: 650; color: var(--pcrx-teal-d); }
.pcrx-card__rx { position: absolute; top: 1rem; right: 1rem; padding: .2rem .5rem; border-radius: 6px; background: var(--pcrx-sage); color: var(--pcrx-teal-d); font: 700 .7rem/1.2 var(--pcrx-sans); letter-spacing: .06em; text-transform: uppercase; }

.pcrx-badge { display: inline-block; margin: 0 0 1rem; padding: .3rem .7rem; border-radius: 6px; background: var(--pcrx-sage); color: var(--pcrx-teal-d); font: 700 .78rem/1.2 var(--pcrx-sans); letter-spacing: .06em; text-transform: uppercase; }
.pcrx-med { max-width: 760px; }
.pcrx-med__form { color: var(--pcrx-muted); margin: 0 0 1rem; }
.pcrx-price { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--pcrx-line); border-radius: var(--pcrx-radius); background: #fff; }
.pcrx-price__table { width: 100%; border-collapse: collapse; margin: 0; font-size: 1rem; }
.pcrx-price__table caption { text-align: left; padding: 1rem 1.1rem .2rem; font: 560 1.15rem var(--pcrx-serif); color: var(--pcrx-ink); }
.pcrx-price__table th { text-align: left; padding: .8rem 1.1rem; font: 600 .78rem/1.2 var(--pcrx-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--pcrx-muted); background: var(--pcrx-cream); border-bottom: 1px solid var(--pcrx-line); }
.pcrx-price__table td { padding: .9rem 1.1rem; border-bottom: 1px solid var(--pcrx-line); }
.pcrx-price__table tr:last-child td { border-bottom: 0; }
.pcrx-price__amt { font-weight: 650; color: var(--pcrx-ink); white-space: nowrap; }
.pcrx-med__notes { margin: 0 0 1.5rem; padding-left: 1.1rem; color: var(--pcrx-muted); font-size: .95rem; line-height: 1.6; }
.pcrx-med__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.pcrx-med__decide { padding: 1rem 1.15rem; border-left: 3px solid var(--pcrx-teal); background: #fff; border-radius: 0 10px 10px 0; font-size: .97rem; }
.pcrx-med__dispenser { font-size: .9rem; color: var(--pcrx-muted); }
.pcrx-price-list__item { margin: 0 0 2rem; scroll-margin-top: 6rem; }
.pcrx-price-list__item h3 { margin: 0 0 .25rem; font-size: 1.4rem; }
.pcrx-price-list__item h3 a { color: var(--pcrx-ink); text-decoration: none; }
.pcrx-price-list__item h3 a:hover { color: var(--pcrx-teal); }
.pcrx-note, .pcrx-fine { font-size: .88rem; color: var(--pcrx-muted); line-height: 1.55; }

/* ---------- forms: consultation, call-back, BMI ---------- */
.pcrx-consult, .pcrx-bmi { max-width: 680px; padding: clamp(1.4rem, 3vw, 2rem); background: #fff; border: 1px solid var(--pcrx-line); border-radius: var(--pcrx-radius); box-shadow: var(--pcrx-shadow); }
.pcrx-step__n { margin: 0 0 .4rem; font: 600 .78rem/1 var(--pcrx-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--pcrx-copper); }
.pcrx-step__q { display: block; font: 560 1.4rem/1.25 var(--pcrx-serif); color: var(--pcrx-ink); margin-bottom: .9rem; }
.pcrx-consult select, .pcrx-consult input[type=text], .pcrx-consult input[type=email], .pcrx-consult input[type=tel], .pcrx-bmi input[type=number] { width: 100%; min-height: 50px; padding: .7rem .9rem; border: 1.5px solid #c9d3cf; border-radius: 10px; background: #fff; font: 400 1rem var(--pcrx-sans); color: var(--pcrx-ink); }
.pcrx-consult select:focus, .pcrx-consult input:focus, .pcrx-bmi input:focus { outline: 3px solid rgba(29, 92, 87, .25); border-color: var(--pcrx-teal); }
.pcrx-consult .pcrx-btn { margin-top: 1rem; }
.pcrx-form label { display: block; font-weight: 600; font-size: .95rem; color: var(--pcrx-ink); }
.pcrx-form label input, .pcrx-form label select { margin-top: .35rem; font-weight: 400; }
.pcrx-consent label { font-weight: 400; font-size: .9rem; color: var(--pcrx-muted); }
.pcrx-consent input { width: auto; margin-right: .4rem; }
.pcrx-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.pcrx-how { margin: 0 0 1.4rem; padding-left: 1.2rem; line-height: 1.6; }
.pcrx-how li { margin-bottom: .4rem; }
.pcrx-alert { padding: 1.1rem 1.25rem; border-radius: 10px; margin-bottom: 1rem; }
.pcrx-alert--ok { background: var(--pcrx-sage); color: var(--pcrx-teal-d); }
.pcrx-alert--err { background: #fbe9e6; color: #8a2a1b; }
.pcrx-bmi fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
.pcrx-bmi legend { font-weight: 600; color: var(--pcrx-ink); margin-bottom: .5rem; }
.pcrx-bmi__units label, .pcrx-bmi__cond label { display: inline-flex; gap: .4rem; align-items: center; margin: 0 1.2rem .5rem 0; font-size: .95rem; }
.pcrx-bmi__grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 1.2rem; }
.pcrx-bmi__grid label { font-weight: 600; font-size: .92rem; color: var(--pcrx-ink); }
.pcrx-bmi__out { margin-top: 1rem; padding: 1.3rem; border-radius: 12px; background: var(--pcrx-cream); }
.pcrx-bmi__val { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; margin: 0 0 .8rem; }
.pcrx-bmi__val strong { font: 600 2.6rem/1 var(--pcrx-serif); color: var(--pcrx-ink); }
.pcrx-bmi__val em { font-style: normal; color: var(--pcrx-teal-d); font-weight: 600; }
.pcrx-bmi__bar { position: relative; height: 10px; border-radius: 99px; margin: 0 0 1rem; background: linear-gradient(90deg, #9cc3d6 0 11.7%, #8fc9b7 11.7% 33.3%, #e6c98f 33.3% 50%, #e3a582 50% 66.7%, #d58a73 66.7% 83.3%, #c26f63 83.3% 100%); }
.pcrx-bmi__bar i { position: absolute; top: -5px; width: 4px; height: 20px; margin-left: -2px; border-radius: 2px; background: var(--pcrx-ink); }

/* ---------- disclosure ---------- */
.pcrx-dl { display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: 0; margin: 0 0 1.5rem; background: #fff; border: 1px solid var(--pcrx-line); border-radius: var(--pcrx-radius); overflow: hidden; }
.pcrx-dl dt, .pcrx-dl dd { margin: 0; padding: .85rem 1.1rem; border-bottom: 1px solid var(--pcrx-line); }
.pcrx-dl dt { font-weight: 600; color: var(--pcrx-ink); background: var(--pcrx-cream); }
@media (max-width: 600px) { .pcrx-dl { grid-template-columns: 1fr; } .pcrx-dl dt { border-bottom: 0; padding-bottom: .2rem; } }
.pcrx-people { display: grid; gap: 1rem; padding: 0; list-style: none; }
@media (min-width: 760px) { .pcrx-people { grid-template-columns: repeat(2, 1fr); } }
.pcrx-person { display: flex; flex-direction: column; gap: .25rem; margin: 0; padding: 1.2rem; background: #fff; border: 1px solid var(--pcrx-line); border-radius: var(--pcrx-radius); }
.pcrx-person span { font-size: .92rem; color: var(--pcrx-muted); }
.pcrx-missing { color: #b32d2e; font-weight: 600; }
.pcrx-prov { columns: 2; padding-left: 1.1rem; }

/* ---------- FAQ ---------- */
.pcrx-faq { border-bottom: 1px solid var(--pcrx-line); }
.pcrx-faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font: 600 1.06rem/1.4 var(--pcrx-sans); color: var(--pcrx-ink); }
.pcrx-faq summary::-webkit-details-marker { display: none; }
.pcrx-faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--pcrx-sans); color: var(--pcrx-teal); }
.pcrx-faq[open] summary::after { content: "–"; }
.pcrx-faq > :not(summary) { margin: 0 0 1.1rem; color: var(--pcrx-text); line-height: 1.65; }

/* ---------- article typography ---------- */
.entry-content > p, .entry-content > ul, .entry-content > ol { font-size: 1.06rem; line-height: 1.72; }
.entry-content > h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); margin-top: 2.6rem; }
.entry-content > h3 { font-size: 1.3rem; margin-top: 1.8rem; }
.pcrx-callout { margin: 1.8rem 0; padding: 1.2rem 1.35rem; border-radius: 12px; background: var(--pcrx-sage); color: var(--pcrx-ink); }
.pcrx-callout--warn { background: #fbefe6; border-left: 4px solid var(--pcrx-copper); }
.pcrx-callout p:last-child { margin-bottom: 0; }
.pcrx-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--pcrx-line); border-radius: 12px; overflow: hidden; font-size: .97rem; }
.pcrx-table th, .pcrx-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--pcrx-line); text-align: left; vertical-align: top; }
.pcrx-table th { background: var(--pcrx-cream); font-weight: 600; color: var(--pcrx-ink); }
.pcrx-reviewed { font-size: .88rem; color: var(--pcrx-muted); border-top: 1px solid var(--pcrx-line); padding-top: 1rem; margin-top: 2.5rem; }
.pcrx-credit { font-size: .75rem; color: var(--pcrx-muted); margin: .4rem 0 0; }
.pcrx-credit a { color: inherit; }
.pcrx-band .pcrx-credit, .pcrx-hero .pcrx-credit { color: rgba(255,255,255,.7); font-size: .75rem; margin-top: 1.25rem; }

/* ---------- footer ---------- */
.pcrx-footer { background: var(--pcrx-ink); color: #c9d6d3; padding: 3.5rem 0 1.5rem; }
.pcrx-footer__in { display: grid; gap: 2rem; max-width: var(--pcrx-wrap); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 620px) { .pcrx-footer__in { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .pcrx-footer__in { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .pcrx-footer__in { grid-template-columns: repeat(6, 1fr); gap: 1.5rem; } }
.pcrx-footer h2 { color: #fff; font: 600 .82rem/1 var(--pcrx-sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.pcrx-footer ul { list-style: none; margin: 0; padding: 0; }
.pcrx-footer li { margin: 0 0 .55rem; }
.pcrx-footer a { color: #c9d6d3; text-decoration: none; font-size: .95rem; }
.pcrx-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer { background: var(--pcrx-ink); }
.site-footer, .site-footer .site-info, .site-footer a { color: #9fb1ad; }
.pcrx-footer-lic { background: #0b1d23; color: #9fb1ad; text-align: center; font-size: .82rem; padding: .9rem 1.25rem calc(.9rem + env(safe-area-inset-bottom)); }
.pcrx-footer-lic a { color: #d5e3df; }

/* ---------- sticky mobile CTA ---------- */
.pcrx-sticky { display: none; }
@media (max-width: 760px) {
	.pcrx-sticky { display: flex; gap: .5rem; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(250, 247, 242, .97); border-top: 1px solid var(--pcrx-line); box-shadow: 0 -6px 20px rgba(16, 38, 46, .08); }
	.pcrx-sticky .pcrx-btn { flex: 1; min-height: 46px; padding: .6rem .8rem; font-size: .93rem; }
	.pcrx-sticky .pcrx-btn--primary { flex: 1.4; }
	body { padding-bottom: 76px; }
}

/* ---------- Kadence header polish ---------- */
.site-header-row-container-inner { background: var(--pcrx-cream); }
#masthead .site-branding .site-title { font-family: var(--pcrx-serif); font-size: 1.45rem; color: var(--pcrx-ink); }
/* #masthead: Kadence's own menu colour rule is more specific than a class-only selector. */
#masthead .header-navigation .menu > li > a { font-weight: 550; color: var(--pcrx-ink); white-space: nowrap; }
#masthead .header-navigation .menu > li > a:hover { color: var(--pcrx-teal); }
#masthead .header-navigation .menu > li.menu-cta > a,
#masthead .header-navigation .menu > li.menu-cta > a:hover { background: var(--pcrx-teal); color: #fff; border-radius: 999px; padding: .55rem 1.1rem; margin-left: .5rem; }
#masthead .header-navigation .menu > li.menu-cta > a:hover { background: var(--pcrx-teal-d); }
.pcrx-fr #masthead .header-navigation .menu > li > a { font-size: .95rem; }
/* Laptop widths: keep the whole menu and the consultation button on one line. */
@media (min-width: 1025px) and (max-width: 1439px) {
	#masthead .site-branding .site-title { font-size: 1.25rem; }
	#masthead .header-navigation .menu > li > a { font-size: .88rem; padding-left: .4em; padding-right: .4em; }
	#masthead .header-navigation .menu > li.menu-cta > a { padding: .5rem .9rem; margin-left: .35rem; }
}
/* Between tablet and small laptop the French labels are too long: Care and Pharmacy stay in the footer. */
@media (min-width: 1025px) and (max-width: 1199px) {
	.pcrx-fr #masthead .header-navigation .menu > li:nth-child(3),
	.pcrx-fr #masthead .header-navigation .menu > li:nth-child(6) { display: none; }
}
@media (min-width: 1025px) and (max-width: 1099px) {
	.pcrx-fr #masthead .site-branding .site-title { font-size: 1.1rem; }
	.pcrx-fr #masthead .header-navigation .menu > li > a { font-size: .8rem; padding-left: .3em; padding-right: .3em; }
	.pcrx-fr #masthead .header-navigation .menu > li.menu-cta > a { padding: .45rem .7rem; margin-left: .2rem; }
}

/* ---------- accessibility ---------- */
:focus-visible { outline: 3px solid #e3a582; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.pcrx-credit-line { max-width: 1242px; margin: 1rem auto 0; padding: 0 1.5rem; font-size: .72rem; opacity: .75; }
.pcrx-credit-line a { color: inherit; }
/* ---------- searchable medication table ---------- */
.pcrx-medtable__search { display: block; margin: 0 0 .5rem; font-weight: 600; }
.pcrx-medtable__search input { display: block; width: 100%; max-width: 32rem; margin-top: .4rem; padding: .75rem 1rem; border: 1px solid var(--pcrx-line); border-radius: 999px; font: inherit; background: #fff; }
.pcrx-medtable__count { font-size: .9rem; opacity: .75; margin: 0 0 .75rem; }
.pcrx-medtable__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pcrx-medtable__scroll .pcrx-table { min-width: 640px; }
.pcrx-medtable th[scope="row"] { font-weight: 600; }
.pcrx-medtable__mol { display: block; font-weight: 400; font-size: .85rem; opacity: .7; }
/* ---------- news list ---------- */
.pcrx-news { list-style: none; margin: 0; padding: 0; }
.pcrx-news li { padding: 1.25rem 0; border-bottom: 1px solid var(--pcrx-line); }
.pcrx-news time { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-bottom: .25rem; }
.pcrx-news h3 { margin: 0 0 .35rem; }
.pcrx-medtable tr[hidden] { display: none !important; }
@media (max-width: 640px) {
	.pcrx-medtable__scroll .pcrx-table { min-width: 0; }
	.pcrx-medtable thead { display: none; }
	.pcrx-medtable tbody tr { display: block; padding: .8rem .9rem; border-bottom: 1px solid var(--pcrx-line); }
	.pcrx-medtable tbody th, .pcrx-medtable tbody td { display: block; border: 0; padding: .1rem 0; }
	.pcrx-medtable tbody th { padding-bottom: .35rem; }
	.pcrx-medtable tbody td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--pcrx-ink); }
	.pcrx-medtable tbody td.pcrx-price__amt { margin-top: .2rem; }
}

/* ---------- WhatsApp: pharmacist chat ---------- */
.pcrx-btn--wa { background: #1f8f4e; border-color: #1f8f4e; color: #fff; display: inline-flex; align-items: center; gap: .5em; }
.pcrx-btn--wa:hover, .pcrx-btn--wa:focus-visible { background: #17733e; border-color: #17733e; color: #fff; }
.pcrx-wa__icon { flex: none; }
.pcrx-wa-float {
	position: fixed; z-index: 90; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.15em .8em .95em;
	background: #1f8f4e; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem;
	box-shadow: 0 6px 20px rgba(16, 38, 46, .22);
}
.pcrx-wa-float:hover, .pcrx-wa-float:focus-visible { background: #17733e; color: #fff; }
.pcrx-wa-float .pcrx-wa__icon { width: 22px; height: 22px; }
@media (max-width: 640px) {
	.pcrx-wa-float { padding: .85em; right: 14px; }
	.pcrx-wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media print { .pcrx-wa-float { display: none; } }

/* ---------- Credential strip + pharmacy team ---------- */
.pcrx-creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0 0 1.5rem; padding: 0; list-style: none; background: var(--pcrx-line); border: 1px solid var(--pcrx-line); border-radius: var(--pcrx-radius); overflow: hidden; }
@media (min-width: 760px) { .pcrx-creds { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .pcrx-creds { grid-template-columns: repeat(6, 1fr); } }
.pcrx-creds li { margin: 0; padding: 0; background: #fff; }
.pcrx-creds li > a { display: block; color: inherit; text-decoration: none; }
.pcrx-creds li { padding: 1rem 1.1rem 1.05rem; }
.pcrx-creds li > a:hover strong { text-decoration: underline; }
.pcrx-creds strong { display: block; font: 600 1.2rem/1.2 var(--pcrx-serif, Georgia, serif); color: var(--pcrx-teal); margin-bottom: .25rem; }
.pcrx-creds span { display: block; font-size: .86rem; line-height: 1.4; color: var(--pcrx-muted); }
.pcrx-team { display: grid; gap: 1rem; margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
@media (min-width: 640px) { .pcrx-team { grid-template-columns: repeat(2, 1fr); } }
.pcrx-team li { display: flex; gap: 1rem; align-items: flex-start; margin: 0; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--pcrx-line); border-radius: var(--pcrx-radius); }
.pcrx-team__mark { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--pcrx-sage); color: var(--pcrx-teal-d); font-weight: 700; letter-spacing: .02em; }
.pcrx-team strong { display: block; color: var(--pcrx-ink); font-size: 1.05rem; }
.pcrx-team span, .pcrx-team small { display: block; color: var(--pcrx-muted); font-size: .9rem; line-height: 1.45; }
ul.pcrx-creds, ul.pcrx-team { padding-left: 0 !important; margin-left: 0 !important; }
/* Mobile: the sticky bar carries the WhatsApp button, so the floating one steps aside. */
@media (max-width: 760px) { body:has(.pcrx-sticky) .pcrx-wa-float { display: none; } .pcrx-sticky .pcrx-btn--wa { justify-content: center; } }
.pcrx-team .pcrx-team__mark { display: grid; color: var(--pcrx-teal-d); font-size: .95rem; }

/* ---------- Studio look (2026-11-10): split hero + image category cards ---------- */
.pcrx-hero2 { background: radial-gradient(1200px 600px at 85% 20%, #e3efec 0%, rgba(227,239,236,0) 60%), var(--pcrx-cream); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.pcrx-hero2__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .pcrx-hero2__grid { grid-template-columns: 1.05fr .95fr; } }
.pcrx-pill { display: inline-flex; align-items: center; gap: .55em; margin: 0 0 1.4rem; padding: .45em 1em; border: 1px solid var(--pcrx-line); border-radius: 999px; background: #fff; font: 600 .72rem/1.2 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--pcrx-ink); }
.pcrx-pill::before { content: ""; width: .45em; height: .45em; border-radius: 50%; background: var(--pcrx-copper); }
.pcrx-hero2 h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 1.2rem; color: var(--pcrx-ink); max-width: 14ch; }
.pcrx-hero2 h1 em { font-style: normal; color: var(--pcrx-copper); }
.pcrx-hero2__lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; color: var(--pcrx-text); max-width: 36rem; margin: 0 0 .9rem; }
.pcrx-hero2__fine { font-size: .92rem; color: var(--pcrx-muted); margin: 0 0 1.6rem; }
.pcrx-hero2 .pcrx-hero__proof { color: var(--pcrx-text); margin-top: 1.4rem; }
.pcrx-hero2 .pcrx-hero__proof strong { color: var(--pcrx-ink); }
.pcrx-hero2__card { position: relative; margin: 0; aspect-ratio: 1 / 1; max-width: 100%; border-radius: 22px; overflow: hidden; background: #2a5a63 var(--pcrx-card) center / cover no-repeat; background-blend-mode: luminosity; background-color: #2f7a80; box-shadow: 0 30px 60px -20px rgba(16, 38, 46, .35); }
.pcrx-hero2__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 68, 64, 0) 45%, rgba(10, 34, 38, .78) 100%); pointer-events: none; }
.pcrx-hero2__badge { position: absolute; z-index: 2; top: 1.1rem; right: 1.1rem; display: block; padding: .85rem 1rem; max-width: 15rem; background: rgba(255,255,255,.96); border-radius: 12px; box-shadow: 0 10px 30px rgba(16, 38, 46, .18); text-decoration: none; color: var(--pcrx-ink); }
.pcrx-hero2__badge:hover strong { text-decoration: underline; }
.pcrx-hero2__kicker { display: block; font: 600 .62rem/1.3 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--pcrx-copper); margin-bottom: .3rem; }
.pcrx-hero2__badge strong { display: block; font-size: 1.05rem; }
.pcrx-hero2__badge small { display: block; color: var(--pcrx-muted); font-size: .82rem; margin-top: .15rem; }
ul.pcrx-hero2__stats { position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 0; padding: 0 !important; list-style: none; }
.pcrx-hero2__stats li { margin: 0; padding: .7rem .4rem; text-align: center; background: rgba(10, 34, 38, .72); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: #fff; }
.pcrx-hero2__stats strong { display: block; font: 700 clamp(1.05rem, 2vw, 1.45rem)/1.1 var(--pcrx-sans); }
.pcrx-hero2__stats span { display: block; margin-top: .3rem; font: 600 .6rem/1.25 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); }
@media (max-width: 480px) { ul.pcrx-hero2__stats { grid-template-columns: repeat(2, 1fr); } .pcrx-hero2__badge { display: none; } }

.pcrx-cats { display: grid; gap: 1.1rem; margin: 1.5rem 0 0; padding: 0 !important; list-style: none; }
@media (min-width: 640px) { .pcrx-cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pcrx-cats { grid-template-columns: repeat(3, 1fr); } }
.pcrx-cats li { margin: 0; }
.pcrx-cat { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 15rem; padding: 1.3rem 1.35rem; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; background: #23545a var(--pcrx-cat) center / cover no-repeat; box-shadow: 0 14px 30px -18px rgba(16, 38, 46, .45); transition: transform .2s ease, box-shadow .2s ease; }
.pcrx-cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 68, 64, .05) 0%, rgba(14, 52, 58, .55) 55%, rgba(9, 30, 34, .92) 100%); }
.pcrx-cat::after { content: ""; position: absolute; top: 1rem; right: 1rem; z-index: -1; width: 92px; height: 80px; opacity: .55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 80' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M23 4l17 10v20L23 44 6 34V14z'/%3E%3Cpath d='M57 24l17 10v20L57 64 40 54V34z'/%3E%3Cpath d='M74 34h14M40 34L23 44'/%3E%3Ccircle cx='88' cy='34' r='3'/%3E%3C/svg%3E") no-repeat right top / contain; }
.pcrx-cat:hover, .pcrx-cat:focus-visible { transform: translateY(-3px); box-shadow: 0 22px 40px -20px rgba(16, 38, 46, .55); color: #fff; }
.pcrx-cat h3 { margin: 0 0 .35rem; color: #fff; font-size: 1.3rem; }
.pcrx-cat p { margin: 0; color: rgba(255,255,255,.88); font-size: .93rem; line-height: 1.45; }
.pcrx-cat .pcrx-more { margin-top: .7rem; color: #f2c7a6; font-weight: 600; font-size: .9rem; }
.pcrx-hero2__card--photo { background-blend-mode: normal; background-color: #bfe6ea; }
.pcrx-hero2__card--photo::after { background: linear-gradient(180deg, rgba(19, 68, 64, 0) 55%, rgba(10, 34, 38, .55) 100%); }
.pcrx-cat { min-height: 17.5rem; background-position: center 30%; }
/* Bands: 900 px image on phones, 2000 px from 901 px up (set per section as CSS variables). */
.pcrx-band { background-image: var(--pcrx-band); }
@media (min-width: 901px) { .pcrx-band { background-image: var(--pcrx-band-lg, var(--pcrx-band)); } }

/* Medication list: the theme's empty loop container under the grouped cards. */
.post-type-archive-pcrx_med #archive-container:empty { display: none; }
.pcrx-shop > h2 { margin-top: 2.2rem; }
.pcrx-card__name { padding-right: 2.6rem; }
.pcrx-card__price--ask { font-weight: 560; color: var(--pcrx-muted); }
