/* nervesrevive360.com store styles */
:root {
    --paper: #f3f8fc;
    --card: #ffffff;
    --ink: #14304a;
    --muted: #52708a;
    --line: #d9e7f2;
    --sky: #d7e9f7;
    --blue: #1878be;
    --deep: #0e5a96;
    --amber: #eda23b;
    --amberdk: #c97f14;
    --good: #1d7a53;
    --rad: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Commissioner", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: linear-gradient(180deg, #eaf4fc 0%, var(--paper) 340px);
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: "Bricolage Grotesque", "Commissioner", sans-serif; line-height: 1.18; }
h2 { font-size: 1.7rem; margin: 0 0 .7em; }
h3 { font-size: 1.13rem; margin: 1.2em 0 .4em; }
a { color: var(--deep); }
.shell { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skiplink { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 999px; z-index: 60; }
.skiplink:focus { left: 8px; }
.rmark { font-size: .55em; vertical-align: super; }

.ribbon { background: var(--deep); color: #f2f8fd; text-align: center; padding: 9px 16px; font-size: .88rem; }

.topbar { background: rgba(255,255,255,.92); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 22px; min-height: 62px; position: relative; }
.wordmark { display: flex; align-items: center; gap: 9px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.14rem; color: var(--ink); text-decoration: none; }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.mainnav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.mainnav a:hover { color: var(--deep); text-decoration: underline; }
.mainnav a[aria-current="page"] { color: var(--deep); font-weight: 600; }
.navcta { background: var(--amber); color: #3a2405 !important; padding: 9px 18px; border-radius: 999px; font-weight: 700; }
.navtoggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; }
.navtoggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

.btn { display: inline-block; text-align: center; text-decoration: none; font-weight: 700; border-radius: 999px; }
.btn-amber { background: var(--amber); color: #3a2405; padding: 15px 26px; font-size: 1.05rem; box-shadow: 0 6px 18px rgba(237,162,59,.35); }
.btn-amber:hover { background: var(--amberdk); color: #fff; }

/* PDP layout: content flows left, purchase column sticky right */
.pdp { display: grid; grid-template-columns: minmax(0,1fr) 396px; gap: 44px; padding-top: 34px; padding-bottom: 60px; }
.buycol { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 26px; align-self: start; position: sticky; top: 82px; }
.buycol h1 { font-size: 1.55rem; margin: .3em 0 .5em; }
.rateline { margin: 0; font-size: .92rem; color: var(--muted); }
.stars { color: var(--amber); letter-spacing: 2px; }
.define { font-size: .97rem; }
.gal-main { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 28px; display: flex; justify-content: center; }
.gal-main img { max-height: 430px; width: auto; }
.gal-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; cursor: pointer; display: flex; align-items: center; }
.thumb.is-on { border-color: var(--blue); box-shadow: 0 0 0 2px var(--sky); }
.thumb img { max-height: 54px; width: auto; }

.plans { border: 0; margin: 18px 0 0; padding: 0; }
.plans legend { font-weight: 600; margin-bottom: 8px; }
.plan { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 16px; padding: 13px 14px; margin-bottom: 10px; cursor: pointer; position: relative; background: #fbfdff; }
.plan:hover { border-color: var(--blue); }
.plan:has(input:checked) { border-color: var(--blue); background: #eef6fd; box-shadow: 0 0 0 2px var(--sky); }
.plan input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
.plan-name { flex: 1; font-weight: 700; }
.plan-name em, .plan-price em { display: block; font-style: normal; font-weight: 400; font-size: .82rem; color: var(--muted); }
.plan-price { text-align: right; font-weight: 700; font-size: 1.1rem; }
.fave-tag { position: absolute; top: -10px; right: 14px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 11px; border-radius: 999px; }
.pricebar { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; }
.bigprice { margin: 0; font-family: "Bricolage Grotesque", sans-serif; font-size: 2rem; font-weight: 800; }
.bigprice em { font-style: normal; font-size: 1rem; font-weight: 400; color: var(--muted); }
.totline { margin: 2px 0; }
.totline s { color: var(--muted); }
.shipline { margin: 2px 0 0; color: var(--good); font-weight: 600; font-size: .93rem; }
.buy-btn { display: block; margin-top: 14px; }
.assure { list-style: none; margin: 14px 0 0; padding: 0; font-size: .87rem; color: var(--muted); }
.assure li { padding-left: 20px; position: relative; margin-bottom: 5px; }
.assure li::before { content: "\2713"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.paytext { font-size: .8rem; color: var(--muted); text-align: center; margin: 12px 0 0; }

.band.trust { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); margin-top: 26px; padding: 6px 22px; }
.band.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 12px 0; padding: 0; }
.band.trust li { text-align: center; font-size: .82rem; color: var(--muted); }
.band.trust strong { display: block; color: var(--ink); font-size: .92rem; }

.chunk { margin-top: 44px; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.why-grid article { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 20px; }
.why-grid h3 { margin-top: 0; }
.why-grid p { font-size: .93rem; margin-bottom: 0; }

.snapcard table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; }
.snapcard th, .snapcard td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
.snapcard tr:last-child th, .snapcard tr:last-child td { border-bottom: 0; }
.snapcard th { width: 200px; color: var(--muted); font-weight: 600; background: #fafcfe; }

.plain { background: var(--sky); border-radius: var(--rad); padding: 24px 26px; }
.plain h2 { margin-bottom: .4em; }
.plain p { margin: 0; font-size: 1.02rem; }

.textlink { font-weight: 600; }
.ing-list li, .steps li { margin-bottom: 8px; }

.stories-lede { font-size: 1.05rem; }
.story-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.story-grid blockquote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 20px; font-size: .93rem; }
.story-grid footer { color: var(--muted); font-size: .84rem; margin-top: 10px; }
.vbadge { display: inline-block; background: #e4f4ec; color: var(--good); font-size: .74rem; font-weight: 700; padding: 1px 9px; border-radius: 999px; margin-left: 6px; }

.qa h3 { color: var(--deep); }

.gband { background: var(--card); border: 2px solid var(--amber); border-radius: var(--rad); padding: 26px; display: flex; gap: 26px; align-items: center; }
.gband .gnum { font-family: "Bricolage Grotesque", sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--amberdk); margin: 0; flex: none; }
.gband h2 { margin: 0 0 .3em; font-size: 1.3rem; }
.gband p { margin: 0; }

.takeaways ul { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 20px 20px 20px 40px; margin: 0; }
.takeaways li { margin-bottom: 7px; }

.refs ol { font-size: .88rem; color: var(--muted); }
.updated { font-size: .84rem; color: var(--muted); }

/* sticky order dock, revealed after the buy column scrolls away */
.dock { position: fixed; left: 0; right: 0; bottom: 0; background: var(--deep); color: #fff; z-index: 30; box-shadow: 0 -6px 20px rgba(14,48,74,.25); }
.dock-in { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.dock-copy { margin: 0; flex: 1; font-size: .93rem; }
.dock-btn { padding: 11px 22px; font-size: .95rem; box-shadow: none; }

/* subpage scaffolding */
.pagehead { padding: 44px 0 8px; }
.pagehead h1 { font-size: 2.1rem; margin: 0 0 .3em; }
.pagehead .crumb { font-size: .84rem; color: var(--muted); }
.pagehead .crumb a { color: var(--muted); }
.prose { max-width: 780px; padding-bottom: 60px; }
.prose .chunk { margin-top: 36px; }
.byline { font-size: .88rem; color: var(--muted); border-left: 3px solid var(--sky); padding-left: 12px; }

.factspanel { border: 2.5px solid var(--ink); padding: 14px 16px; background: #fff; max-width: 560px; }
.factspanel h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.6rem; margin: 0; border-bottom: 8px solid var(--ink); padding-bottom: 4px; }
.factspanel p { margin: 6px 0; font-size: .92rem; }
.factspanel table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.factspanel th, .factspanel td { text-align: left; border-top: 1px solid var(--ink); padding: 5px 2px; }
.factspanel td:last-child { text-align: right; }
.factspanel .thick { border-top: 4px solid var(--ink); }
.factspanel .footnote { font-size: .8rem; }

.dist { list-style: none; padding: 0; max-width: 560px; }
.dist li { display: grid; grid-template-columns: 70px 1fr 52px; align-items: center; gap: 12px; margin-bottom: 7px; font-size: .92rem; }
.dist .bar { background: var(--line); border-radius: 999px; height: 12px; overflow: hidden; }
.dist .bar span { display: block; height: 100%; background: var(--amber); border-radius: 999px; }

.statrow { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 20px 0; }
.statrow div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; text-align: center; }
.statrow strong { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.5rem; color: var(--deep); }
.statrow span { font-size: .82rem; color: var(--muted); }

.wall { columns: 2; column-gap: 18px; }
.wall blockquote { break-inside: avoid; margin: 0 0 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 18px 20px; font-size: .94rem; }
.wall .rstars { color: var(--amber); letter-spacing: 2px; font-size: .9rem; }
.wall footer { color: var(--muted); font-size: .84rem; margin-top: 8px; }

.faqwrap details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; padding: 0 18px; }
.faqwrap summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style-position: outside; }
.faqwrap details[open] summary { border-bottom: 1px dashed var(--line); }
.faqwrap details p { font-size: .94rem; }
.faqgroup { margin-top: 34px; }

.ctaband { background: var(--sky); border-radius: var(--rad); padding: 28px; text-align: center; margin: 44px 0 0; }
.ctaband h2 { margin: 0 0 .4em; }
.ctaband .btn { margin-top: 8px; }

.quality-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.quality-grid article { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 20px; }
.quality-grid h3 { margin-top: 0; }

.basefoot { background: #10283d; color: #c3d6e6; margin-top: 40px; padding: 44px 0 30px; }
.basefoot a { color: #e8f2fa; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot-logo { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.2rem; color: #fff; margin-top: 0; }
.foot-brand p { font-size: .88rem; }
.foot-firm { font-size: .84rem !important; }
.foot-col p { font-weight: 700; color: #fff; margin: 0 0 8px; }
.foot-col a { display: block; font-size: .88rem; margin-bottom: 6px; text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot-note, .foot-disc, .foot-legal { font-size: .78rem; color: #8aa6bd; margin-top: 18px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

@media (max-width: 960px) {
    .pdp { grid-template-columns: 1fr; }
    .buycol { position: static; order: -1; }
    .gallery { order: -2; }
    .why-grid, .story-grid { grid-template-columns: 1fr; }
    .band.trust ul { grid-template-columns: repeat(2,1fr); }
    .wall { columns: 1; }
    .statrow { grid-template-columns: repeat(2,1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .quality-grid { grid-template-columns: 1fr; }
    .navtoggle { display: block; }
    .mainnav { visibility: hidden; opacity: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 20px; gap: 14px; border-bottom: 1px solid var(--line); transition: opacity .2s, visibility 0s linear .2s; z-index: 50; }
    .mainnav.open { visibility: visible; opacity: 1; transition: opacity .2s, visibility 0s; }
    .gband { flex-direction: column; text-align: center; }
    .dock-copy strong { display: block; }
}
