/* Elivena: design-consistency fixes from the 2026-11-26 audit against the team design (12 Nov).
   Loaded last by novamira-sandbox/elivena-design-fixes.php. Remove that file to undo everything here. */

/* ---------- 1. COA library: the empty state showed for everyone (hidden attribute beaten by display:grid) */
.elv-cl-empty[hidden]{display:none!important}

/* ---------- 2. Accordion plus/minus: design = navy, 1.5px bars (Bricks accordions use thin Phosphor Light SVGs) */
.brxe-accordion .accordion-title .icon,
.brxe-accordion-nested .icon{color:var(--c-navy)!important;opacity:1!important}
.brxe-accordion .accordion-title .icon path,
.brxe-accordion-nested .icon path{stroke:currentColor;stroke-width:5px;stroke-linejoin:round}
/* category long-form toggle: keep both bars whatever the hover state */
body .elv-lf__pm::before{transform:none!important;opacity:1!important}
body .elv-lf__pm::after{opacity:1!important}

/* ---------- 3. Shop archives: accordion titles are 18px (16px phone) in the design */
body #brxe-shpset .elv-lf__sum h2,
body #brxe-shpsfa .accordion-title h3{font-size:1.8rem;line-height:1.35;letter-spacing:-0.005em}
@media (max-width:767px){
  body #brxe-shpset .elv-lf__sum h2,
  body #brxe-shpsfa .accordion-title h3{font-size:1.6rem}
}

/* Peptides (top level): intro sits under the "About" heading on the left, questions on the right */
@media (min-width:992px){
  body #brxe-shpsel:has(.elv-lf--guide){grid-template-rows:auto 1fr}
  body #brxe-shpsel:has(.elv-lf--guide) #brxe-shpseh{grid-row:1;position:static}
  body #brxe-shpsel:has(.elv-lf--guide) #brxe-shpset,
  body #brxe-shpsel .elv-lf--guide{display:contents}
  body #brxe-shpsel .elv-lf--guide .elv-lf__intro{grid-column:1 / span 4;grid-row:2;margin-top:1.6rem;font-size:1.5rem;line-height:1.55}
  body #brxe-shpsel .elv-lf--guide .elv-lf__acc{grid-column:6 / span 7;grid-row:1 / span 2;margin-top:0}
}
body #brxe-shpset .elv-lf--guide .elv-lf__body{font-size:1.5rem;line-height:1.6;color:var(--c-muted)}

/* Sub-categories: the "About" text is a full article, as in the design */
body #brxe-shpset .elv-lf--article{font-size:1.7rem;line-height:1.7;color:var(--c-ink)}
body #brxe-shpset .elv-lf--article > *{margin:0}
body #brxe-shpset .elv-lf--article > * + *{margin-top:.7em}
body #brxe-shpset .elv-lf--article .elv-lf__intro{color:var(--c-ink)}
body #brxe-shpset .elv-lf--article > h2{font-size:3.6rem;font-weight:600;line-height:1.1;letter-spacing:-0.02em;color:var(--c-navy);text-wrap:balance}
body #brxe-shpset .elv-lf--article > * + h2{margin-top:5.4rem;padding-top:4.68rem;border-top:1px solid rgba(0,0,112,.16)}
body #brxe-shpset .elv-lf--article > h2 strong,body #brxe-shpset .elv-lf--article > h2 b{font-weight:inherit}
body #brxe-shpset .elv-lf--article > h3{font-size:2.5rem;line-height:1.15;letter-spacing:-0.015em;margin-top:.7em}
body #brxe-shpset .elv-lf--article ul > li::before{border-top-width:1px}
@media (max-width:767px){
  body #brxe-shpset .elv-lf--article{font-size:1.6rem;line-height:1.65}
  body #brxe-shpset .elv-lf--article > h2{font-size:2.6rem}
  body #brxe-shpset .elv-lf--article > * + h2{margin-top:3.9rem;padding-top:3.38rem}
  body #brxe-shpset .elv-lf--article > h3{font-size:2rem;letter-spacing:-0.01em}
}

/* ---------- 4. Card titles (blog, related posts, About journal): near-black ink, not navy */
body .brxe-acdttl,body .brxe-acdttl a{color:var(--c-ink)!important}
body .brxe-acdttl a:hover,body .brxe-acdttl a:focus-visible{color:var(--c-navy)!important}

/* ---------- 5. Buttons: design hero buttons are 56px, 0 28px, 16px/600 */
body #brxe-lbhb1x,body #brxe-lbhb2x,body #brxe-coahtb{display:inline-flex;align-items:center;justify-content:center;height:5.6rem;min-height:5.6rem;padding:0 2.8rem;font-size:1.6rem;line-height:1}
body #brxe-lbhb2x{border-color:rgba(224,224,255,.55)}
@media (min-width:768px){
  body #brxe-hmtsct,body #brxe-hmboxu{min-width:24rem;justify-content:center}
}

/* ---------- 6. Footer: no "Book your free call" pill (not in the design); phone section titles white */
#brx-footer #brxe-ftrctb{display:none!important}
@media (max-width:767px){
  #brx-footer #brxe-ftrnav summary h3{color:#fff}
}

/* ---------- 7. Home (phone): quiz heading 42px */
@media (max-width:767px){
  body #brxe-hmquih{font-size:4.2rem;line-height:1.02}
}

/* ---------- 8. FAQ (phone): no topic chip pre-selected */
@media (max-width:767px){
  body #brxe-faqtoc .toc-link.is-active-link{background:#fff;color:rgb(72,67,107);border-color:rgba(0,0,112,.18)}
}

/* ---------- 9. COA library: chip borders and status tab height */
body .elv-cl-try{border-color:rgb(200,198,224);font-weight:400}
body .elv-cl-seg{height:3.8rem}

/* ---------- 10. About: no hairlines on values, testimonial authors or the trust strip */
body :is(#brxe-abtv1b,#brxe-abtv2b,#brxe-abtv3b,#brxe-abtv4b,#brxe-abtv5b,#brxe-abtv6b,#brxe-abtt1b,#brxe-abtt2b,#brxe-abtt3b,#brxe-abtt4b){border-top-color:transparent}
body [id^="brxe-abtq"][id$="w"]{border-top-color:transparent}

/* ---------- 11. Research call: phone hero gutter + the design's type scale */
@media (max-width:767px){
  body #brxe-rchero{align-items:stretch}
  body #brxe-rchero > #brxe-rchmd2{width:calc(100% - 4rem)!important;max-width:calc(100% - 4rem)!important;min-width:0!important}
}
body #rc-hero-title{font-size:clamp(3.8rem, 2.4rem + 1.95vw, 5.15rem);line-height:1.05;letter-spacing:-0.035em}
body:has(#brxe-rchead) #brx-content h2.brxe-heading:not(#brxe-rchcpy){font-size:clamp(3.4rem, 2.5rem + 2.4vw, 5.94rem);line-height:1.05;letter-spacing:-0.03em}
body #brxe-rchcpy{font-weight:600;letter-spacing:-0.025em}
body #brxe-rcbens h3{font-size:clamp(2.3rem, 2.04rem + .6vw, 2.85rem);line-height:1.08;letter-spacing:-0.02em}
body #brxe-rcblh3{font-size:clamp(4.5rem, 3.17rem + 3.4vw, 8.06rem);line-height:1.05;letter-spacing:-0.035em}
body #brxe-rcbkh3{font-size:clamp(4rem, 3.37rem + 1.62vw, 5.7rem);line-height:1.05;letter-spacing:-0.03em}
body #brxe-rchbtn{font-size:1.6rem}
