/* PathRight Medical storefront — brand tokens from the old site's Elementor kit (theme_notes.md). */
:root {
  --primary: #008fe2; --primary-h: #00a0fc; --secondary: #2d529f; --logo: #216093; --dark: #023047;
  --text: #515151; --muted: #7a7a7a; --orange: #fb8500; --pack: #c3d0e1; --bg-soft: #f4f7fb; --line: #dfe5ec;
  --ok: #1d7a3a; --bad: #b42318; --radius: 4px; --wrap: 1140px;
  --head: 'Montserrat', system-ui, sans-serif; --body: 'Open Sans', system-ui, sans-serif;
}
/* Build 38: self-hosted fonts (SIL OFL — wwwroot/fonts/OFL-*.txt). No Google Fonts request. */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/open-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/open-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/open-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
/* Montserrat 800 (.pd-big) falls back to 700 — add montserrat-latin-800-normal.woff2 if the heavier weight is wanted. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--text); background: #fff; }
img, video { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--secondary); text-decoration: underline; }
h1, h2, h3, h4, h5, h6, .e-h { font-family: var(--head); font-weight: 700; color: var(--logo); line-height: 1.2; letter-spacing: .3px; margin: 0 0 .6em; }
h1 { font-size: clamp(28px, 4vw, 40px); } h2 { font-size: clamp(24px, 3.2vw, 34px); } h3 { font-size: 21px; } h4 { font-size: 18px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.small { font-size: 14px; } .muted { color: var(--muted); } .d-block { display: block; }
.ta-center { text-align: center; } .ta-right { text-align: right; } .ta-left { text-align: left; } .ta-justify { text-align: justify; }
.sr, .skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 100; }
.rowbetween { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-block; font: 600 15px/1 var(--head); text-transform: uppercase; letter-spacing: .8px; color: #fff; background: var(--primary);
  border: 1px solid var(--primary); border-radius: var(--radius); padding: 14px 24px; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; text-decoration: none; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-sm { padding: 9px 14px; font-size: 13px; } .btn-lg { padding: 17px 30px; font-size: 16px; } .btn-block { display: block; width: 100%; text-align: center; }
.btn-ghost { background: transparent; color: var(--primary); } .btn-ghost:hover { color: #fff; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }

/* Header */
.announce { background: var(--dark); color: #fff; text-align: center; font: 600 14px/1.4 var(--head); padding: 8px 16px; }
.announce a { color: #ffb703; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.hdr { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo img { display: block; max-width: 180px; height: auto; }
.mainnav { flex: 1; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; justify-content: center; }
.menu > li { position: relative; }
.menu > li > a, .megabtn { display: block; padding: 26px 14px; font: 600 15px/1 var(--head); color: var(--dark); background: none; border: 0; cursor: pointer; }
.menu > li > a:hover, .megabtn:hover, .has-mega.open .megabtn { color: var(--secondary); text-decoration: none; }
.megabtn::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.sub { display: none; position: absolute; left: 0; top: 100%; background: #fff; list-style: none; margin: 0; padding: 10px 0; min-width: 220px; box-shadow: 0 10px 30px rgba(2,48,71,.15); border-radius: 0 0 6px 6px; }
.sub a { display: block; padding: 8px 18px; color: var(--text); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.mega { display: none; position: absolute; left: 50%; transform: translateX(-50%); top: 100%; background: #fff; padding: 24px 28px; width: min(880px, 92vw);
  box-shadow: 0 14px 40px rgba(2,48,71,.18); border-radius: 0 0 8px 8px; gap: 28px; grid-template-columns: 1.2fr .8fr 1fr; }
.mega-2 { grid-template-columns: 1fr 1fr; width: min(720px, 92vw); }
.has-mega.open .mega { display: grid; }
@media (hover: hover) and (min-width: 1001px) { .has-mega:hover .mega { display: grid; } }
.mega-h { font: 700 15px/1.3 var(--head); margin: 6px 0 6px; } .mega-h a { color: var(--logo); }
.mega ul { list-style: none; margin: 0 0 14px; padding: 0; } .mega li a { display: block; padding: 4px 0; color: var(--text); font-size: 15px; }
.mega li a:hover { color: var(--primary); }
.mega-pics { display: flex; flex-direction: column; gap: 10px; align-items: center; } .mega-pics img { width: 110px; height: 110px; object-fit: contain; }
.navnote { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 14px; }
.cartlink { position: relative; display: inline-flex; color: var(--dark); }
.cartlink svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: -6px; right: -9px; background: var(--orange); color: #fff; font: 700 11px/18px var(--head); min-width: 18px; text-align: center; border-radius: 9px; padding: 0 4px; }
.cur { font: 600 13px var(--head); color: var(--muted); }
.navtoggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; order: 3; }
.navtoggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; }
@media (max-width: 1000px) {
  .navtoggle { display: block; }
  .hdr { flex-wrap: wrap; min-height: 64px; }
  .logo img { max-width: 143px; }
  .hdr-actions { margin-left: auto; }
  .cur { display: none; }
  .mainnav { display: none; flex-basis: 100%; order: 4; padding-bottom: 12px; }
  .mainnav.open { display: block; }
  .menu { flex-direction: column; }
  .menu > li > a, .megabtn { padding: 12px 4px; width: 100%; text-align: left; border-bottom: 1px solid var(--line); }
  .sub, .mega { position: static; transform: none; box-shadow: none; width: auto; padding: 8px 12px; }
  .has-sub .sub { display: block; }
  .has-mega.open .mega { display: block; }
  .mega-pics { display: none; }
  .navnote { display: block; font-size: 13px; color: var(--muted); margin: 10px 4px 0; }
}
.co-header .hdr { justify-content: space-between; } .secure { font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--dark); color: #d6e2ee; margin-top: 40px; font-size: 15px; }
.site-footer a { color: #fff; } .site-footer h4 { color: #fff; font-size: 17px; margin-top: 8px; }
.fcols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.fcols ul { list-style: none; margin: 0; padding: 0; } .fcols li { margin: 0 0 6px; }
.flogo { background: #fff; padding: 8px 10px; border-radius: 6px; margin-bottom: 12px; max-width: 200px; }
.fbar { border-top: 1px solid rgba(255,255,255,.15); padding: 14px 0; font-size: 14px; }
.li svg { width: 22px; height: 22px; fill: #fff; }
.co-footer { border-top: 1px solid var(--line); padding: 18px 0; margin-top: 40px; }
@media (max-width: 800px) { .fcols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fcols { grid-template-columns: 1fr; } }

/* Converted content (Elementor / WPBakery) */
.e-sec { padding: 48px 0; background-repeat: no-repeat; }
.e-sec + .e-sec:not(.has-bg) { padding-top: 16px; }
.e-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.e-col { flex: 1 1 0; min-width: 0; }
.e-col[style*="--w"] { flex: 0 1 calc(var(--w) - 28px); }
.e-box.has-bg { padding: 24px; border-radius: 6px; }
.dark, .dark .e-h, .dark h1, .dark h2, .dark h3, .dark h4, .dark a:not(.btn) { color: #fff; }
.e-sec.dark { background-color: var(--dark); }
.e-h.e-sub { font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); }
h3.e-h { font-weight: 600; }
.e-text > :last-child { margin-bottom: 0; } .e-text { margin-bottom: 1em; }
.e-text table { border-collapse: collapse; width: 100%; } .e-text td, .e-text th { border: 1px solid var(--line); padding: 8px; }
.e-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.e-list li { margin: 0 0 8px; } .e-list li a, .e-list li { display: flex; gap: 10px; align-items: flex-start; }
.e-list-inline { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ico { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
img.ico { object-fit: contain; }
.dark .ico { stroke: #8ecae6; }
.e-img { margin: 0 0 1em; } .e-img img { display: block; border-radius: 4px; } .e-img.ta-center img { margin: 0 auto; }
.e-img figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.e-btnwrap { margin: 1.2em 0; }
.e-ibox { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 1em; }
.e-ibox-left { flex-direction: row; text-align: left; align-items: center; }
.ibox-ico { width: 44px; height: 44px; flex: 0 0 44px; fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; object-fit: contain; }
.ibox-title { font: 700 17px/1.3 var(--head); color: var(--logo); } .ibox-desc { font-size: 15px; }
.dark .ibox-title { color: #fff; }
.e-counter { text-align: center; } .e-counter .num { font: 700 52px/1.1 var(--head); color: var(--primary); } .e-counter .lbl { font-size: 15px; }
.e-hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.e-acc { border: 1px solid var(--line); border-radius: 6px; margin: 0 0 10px; background: #fff; }
.e-acc > summary { cursor: pointer; padding: 14px 18px; font: 600 16px/1.4 var(--head); color: #fff; background: var(--primary); border-radius: 6px; list-style: none; }
.e-acc > summary::after { content: "+"; float: right; } .e-acc[open] > summary::after { content: "−"; }
.e-acc[open] > summary { border-radius: 6px 6px 0 0; } .e-acc > div { padding: 14px 18px; color: var(--text); }
.e-quote { margin: 0 0 18px; padding: 16px 20px; border-left: 4px solid var(--primary); background: rgba(255,255,255,.06); font-style: italic; }
.e-quote cite { display: block; font-style: normal; font-weight: 600; margin-top: 6px; }
.e-stars { color: #ffb703; font-size: 22px; letter-spacing: 2px; }
.e-cta { background-size: cover; background-position: center; border-radius: 8px; overflow: hidden; margin-bottom: 1em; }
.e-cta-in { background: rgba(2,48,71,.75); color: #fff; padding: 32px; } .e-cta-in h3 { color: #fff; }
.e-video, .vid { position: relative; margin-bottom: 1em; }
.vid iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.vid-file { width: 100%; border-radius: 6px; background: #000; }
iframe { max-width: 100%; }
.lite-yt { position: relative; aspect-ratio: 16/9; background: #000 center/cover no-repeat; border-radius: 6px; cursor: pointer; overflow: hidden; }
.lite-yt button { position: absolute; inset: 0; margin: auto; width: 72px; height: 50px; border: 0; border-radius: 12px; background: rgba(0,0,0,.7); cursor: pointer; }
.lite-yt button::before { content: ""; position: absolute; left: 29px; top: 15px; border: 10px solid transparent; border-left: 16px solid #fff; }
.lite-yt:hover button { background: #f00; }
.lite-yt iframe { width: 100%; height: 100%; border: 0; }
.e-gallery { margin-bottom: 16px; } .e-gallery .slide img { display: block; border-radius: 6px; margin-bottom: 8px; }
.e-gallery.js .g-main img { width: 100%; border-radius: 6px; background: #fff; }
.g-thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.g-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 4px; background: #fff; cursor: pointer; width: 72px; height: 72px; }
.g-thumbs button.on { border-color: var(--primary); } .g-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
@media (max-width: 760px) {
  .e-sec { padding: 28px 0; }
  .e-row { flex-direction: column; gap: 14px; }
  .e-col, .e-col[style*="--w"] { flex: 1 1 auto; width: 100%; }
  .e-row:has(> .e-col > .e-counter) { flex-direction: row; flex-wrap: wrap; } .e-row > .e-col:has(> .e-counter) { flex: 1 1 40%; }
}

/* Page furniture */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 14px; padding-bottom: 4px; }
.pagehead { background: linear-gradient(120deg, #c8d6e5, #8ecae6); padding: 36px 0; } .pagehead h1 { margin: 0; color: var(--dark); }
.hero { background: linear-gradient(120deg, #c8d6e5 0%, #8ecae6 100%); padding: 56px 0; }
.hero-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.hero h1 { color: var(--dark); font-size: clamp(32px, 5vw, 52px); } .lead { font-size: 19px; color: #24435a; }
.eyebrow { font: 700 14px var(--head); text-transform: uppercase; letter-spacing: 2px; color: var(--secondary); margin-bottom: 8px; }
.hero-img img { display: block; margin: 0 auto; max-width: 380px; width: 100%; }
@media (max-width: 760px) { .hero-in { grid-template-columns: 1fr; } .hero-img { display: none; } }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; color: var(--text); background: #fff; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 10px 28px rgba(2,48,71,.12); transform: translateY(-2px); text-decoration: none; color: var(--text); }
.card-img { aspect-ratio: 1; background: #f4f7fb; display: flex; align-items: center; justify-content: center; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 14px 16px 18px; } .card-title { font: 700 16px/1.3 var(--head); color: var(--logo); margin-bottom: 4px; }
.card-price { font: 700 17px var(--head); color: var(--dark); margin-top: 6px; }
.tabs { display: flex; gap: 8px; margin: 10px 0 20px; } .tabs a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 20px; color: var(--text); }
.tabs a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.news { border-bottom: 1px solid var(--line); padding: 18px 0; }

/* Buy box */
.buybox { background: #fff; border-radius: 8px; padding: 22px; box-shadow: 0 6px 24px rgba(2,48,71,.10); margin: 10px 0 18px; color: var(--text); scroll-margin-top: 100px; }
.price { font: 700 30px/1.2 var(--head); color: var(--dark); margin-bottom: 6px; }
.banksave { background: #e8f6ee; color: #145c2c; border-radius: 6px; padding: 8px 12px; font-size: 15px; margin: 8px 0 12px; }
.notice { background: #fff7e6; border-left: 4px solid var(--orange); padding: 10px 12px; margin: 8px 0 14px; font-size: 15px; }
.questions { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.q { margin: 0 0 14px; } .q label, .q legend { display: block; font-weight: 600; color: #2b2b2b; font-size: 15px; }
.q fieldset { border: 0; margin: 0; padding: 0; }
.q.invalid { outline: 2px solid var(--bad); outline-offset: 4px; border-radius: 4px; }
.qhelp, .qnote { font-size: 14px; color: var(--muted); margin-top: 4px; } .qnote { background: #fff3f0; color: #8a2a12; padding: 10px; border-radius: 6px; font-weight: 600; }
.q-note .qnote:not(:has(a)) { background: var(--bg-soft); color: var(--text); font-weight: 400; }
label.radio, label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; margin: 6px 0; cursor: pointer; }
label.radio input, label.check input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--primary); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea, input:not([type]) {
  display: block; width: 100%; margin-top: 4px; font: 16px var(--body); color: #2b2b2b; padding: 11px 12px; border: 1px solid #d5d5d5; border-radius: 6px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
input.invalid, select.invalid { border-color: var(--bad); outline: 2px solid rgba(180,35,24,.25); }
input[type=file] { margin-top: 6px; font-size: 15px; }
.addrow { display: flex; gap: 12px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid #d5d5d5; border-radius: 6px; overflow: hidden; }
.qty input { width: 56px; text-align: center; border: 0; margin: 0; padding: 10px 4px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qbtn { background: var(--bg-soft); border: 0; width: 40px; height: 44px; font-size: 20px; cursor: pointer; color: var(--dark); }
.alert { background: #fdecea; color: var(--bad); border-radius: 6px; padding: 12px 14px; margin: 0 0 14px; }
.alert ul { margin: 0; padding-left: 18px; }
.ok { background: #e8f6ee; color: var(--ok); border-radius: 6px; padding: 12px 14px; margin: 0 0 14px; }
.note { background: var(--bg-soft); border-radius: 6px; padding: 12px 14px; margin: 10px 0 16px; }
.hp { position: absolute; left: -9999px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; } .grid2 .span2 { grid-column: span 2; }
.grid2 label, .co-sec > label, .contactform label { font-weight: 600; font-size: 15px; color: #2b2b2b; display: block; margin-bottom: 4px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } .grid2 .span2 { grid-column: auto; } .grid2 > span:empty { display: none; } }
.contactform { background: #fff; border-radius: 8px; padding: 20px; margin-top: 16px; color: var(--text); }
.contactform textarea { margin-bottom: 12px; }

/* Cart */
.cartgrid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cline { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cimg img { width: 84px; height: 84px; object-fit: contain; background: var(--bg-soft); border-radius: 6px; }
.cname { font: 700 16px var(--head); color: var(--logo); }
.answers summary { cursor: pointer; font-size: 14px; color: var(--primary); }
.answers dl { font-size: 13px; margin: 6px 0 0; } .answers dt { font-weight: 600; } .answers dd { margin: 0 0 4px; }
.cline-total { font: 700 16px var(--head); color: var(--dark); min-width: 80px; text-align: right; }
.summary { background: var(--bg-soft); border-radius: 8px; padding: 22px; position: sticky; top: 100px; }
.sumrow { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 8px; }
@media (max-width: 860px) {
  .cartgrid { grid-template-columns: 1fr; }
  .cline { grid-template-columns: 64px 1fr auto; } .cimg img { width: 64px; height: 64px; }
  .cqty { grid-column: 2; } .cline-total { grid-column: 3; grid-row: 1; } .crm { grid-column: 3; }
  .summary { position: static; }
}

/* Checkout */
.checkout { padding-top: 18px; }
.co-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.co-steps { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; font: 600 12px var(--head); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.co-steps li + li::before { content: "›"; margin-right: 8px; } .co-steps .on { color: var(--dark); }
.co-grid { display: grid; grid-template-columns: 1fr 400px; gap: 36px; align-items: start; }
.co-sec { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px 14px; margin: 0 0 16px; background: #fff; }
.co-sec legend { font: 600 18px var(--head); color: #2b2b2b; padding: 0 6px; display: flex; align-items: center; gap: 8px; }
.co-sec .n { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 14px; align-items: center; justify-content: center; }
.co-extra summary { cursor: pointer; font-weight: 600; color: var(--secondary); }
.co-extra[open] summary { margin-bottom: 10px; }
.optlist { display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; border: 1px solid #d5d5d5; border-radius: 8px; padding: 12px 14px; cursor: pointer; font-weight: 400 !important; }
.opt:has(input:checked) { border-color: var(--primary); background: #f0f8fe; box-shadow: 0 0 0 1px var(--primary); }
.opt input { width: 18px; height: 18px; accent-color: var(--primary); flex: 0 0 18px; }
.opt-main { flex: 1; } .opt-price { font: 600 15px var(--head); color: var(--dark); }
.pill { display: inline-block; background: #1d7a3a; color: #fff; font: 700 12px/1 var(--head); padding: 4px 8px; border-radius: 10px; margin-left: 6px; vertical-align: 2px; }
.co-summary { background: #e7e5e4; border-radius: 8px; padding: 22px; position: sticky; top: 90px; }
.co-summary h2 { font-size: 20px; font-weight: 600; color: #2b2b2b; }
.sumlines { list-style: none; margin: 0 0 14px; padding: 0; }
.sumlines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.sl-img { position: relative; } .sl-img img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 6px; border: 1px solid #d5d5d5; }
.sl-img b { position: absolute; top: -8px; right: -8px; background: #6b6b6b; color: #fff; font: 700 11px/20px var(--head); min-width: 20px; text-align: center; border-radius: 10px; }
.sl-name { font-size: 15px; color: #2b2b2b; } .sl-price { font-weight: 600; }
.coupon { display: flex; gap: 8px; } .coupon input { margin: 0; }
#couponMsg { min-height: 20px; margin: 4px 0 8px; } #couponMsg.good { color: var(--ok); } #couponMsg.bad { color: var(--bad); }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 10px 0; border-top: 1px solid #cfccca; padding-top: 12px; transition: opacity .15s; }
.totals.loading { opacity: .5; } .totals dt { color: #2b2b2b; } .totals dd { margin: 0; text-align: right; font-weight: 600; }
.totals .grand { font: 700 20px var(--head); color: #2b2b2b; border-top: 1px solid #cfccca; padding-top: 10px; margin-top: 4px; }
@media (max-width: 900px) { .co-grid { grid-template-columns: 1fr; } .co-summary { position: static; order: -1; } }

/* Order confirmation */
.success { text-align: center; } .success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 34px; line-height: 64px; margin: 0 auto 12px; }
.ordersum { background: var(--bg-soft); border-radius: 8px; padding: 20px; margin: 20px 0; }
.ordersum table { width: 100%; border-collapse: collapse; } .ordersum td { padding: 6px 0; } .ordersum td:last-child { text-align: right; }
.ordersum .sub td { border-top: 1px solid var(--line); padding-top: 10px; } .ordersum .grand td { font: 700 18px var(--head); border-top: 1px solid var(--line); padding-top: 10px; }
/* Sub-headings inside converted content read as lead text, not titles. */
h3.e-h { font-size: 19px; font-weight: 600; line-height: 1.45; }
.e-sec:not(.dark) h3.e-h { color: #2a4f6e; }
.product-page h1.e-h { font-size: clamp(28px, 3.4vw, 38px); }
/* Dark sections with a photo background: darken the photo so white text stays readable. */
.e-sec.dark.has-bg[style*="background-image"] { background-color: #023047 !important; background-blend-mode: multiply; }
@media (min-width: 1000px) { .cards-5 { grid-template-columns: repeat(5, 1fr); } }

/* ===== Product page "Bold & modern" layout — RestoreX / RestoreXL (Build 34, 2026-10-14) ===== */
.pd-hero { background: linear-gradient(180deg, #d4e0ec, #c8d6e5); padding: 32px 0 44px; }
.pd-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.pd-gal .e-gallery { margin: 0; }
.pd-gal .g-main { background: #fff; border-radius: 10px; overflow: hidden; aspect-ratio: 1; box-shadow: 0 8px 30px rgba(2,48,71,.14); }
.pd-gal .e-gallery.js .g-main img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.pd-gal .g-main iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.pd-gal .g-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.pd-gal .g-thumbs button { width: auto; height: auto; aspect-ratio: 1; border-radius: 6px; overflow: hidden; }
.g-vid { position: relative; background: var(--dark) center/cover no-repeat; color: #fff; display: grid; place-items: center; align-content: center; gap: 4px; }
.g-vid::before { content: ""; position: absolute; inset: 0; background: rgba(2,48,71,.55); }
.g-vid i { position: relative; width: 0; height: 0; border: 9px solid transparent; border-left: 14px solid #fff; margin-left: 8px; }
.g-vid span { position: relative; font: 700 11px var(--head); text-transform: uppercase; letter-spacing: 1px; }
.pd-title { font-size: clamp(32px, 4vw, 44px); margin: 4px 0 2px; color: var(--dark); }
.pd-sub { font: 600 18px/1.4 var(--head); color: #2a4f6e; margin: 0 0 14px; }
.pd-ship { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 14px; font: 600 13px var(--head); color: #8a4b00; margin: 0 0 4px; }
.pd-ship b { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.pd-hero .buybox { background: transparent; box-shadow: none; padding: 0; margin: 10px 0 0; }
.pd-hero .price { font-size: 34px; font-weight: 800; }
.pd-hero .addrow { flex-wrap: nowrap; } .pd-hero .addrow .btn { flex: 1; text-align: center; }
.pd-hero .qty { background: #fff; border-color: #9fb3c8; }
.pd-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.7); }
.pd-trust li { display: flex; align-items: center; gap: 8px; font: 600 13px var(--head); color: var(--dark); }
.pd-trust .ico { margin: 0; }
.pd-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; margin: 16px 0 0; padding: 0; font-size: 14px; }
.pd-links a { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--secondary); padding: 3px 0; }
.pd-links .ico { margin: 0; stroke: var(--secondary); }
@media (max-width: 860px) { .pd-hero-grid { grid-template-columns: 1fr; gap: 22px; } .pd-hero { padding-top: 18px; } }
@media (max-width: 420px) { .pd-links { grid-template-columns: 1fr; } }

.pd-sec { padding: 64px 0; } .pd-soft { background: var(--bg-soft); }
.pd-k { font: 700 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.pd-h { font-size: clamp(26px, 3vw, 34px); color: var(--dark); margin: 0 0 14px; }
.pd-about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.pd-lead { font-size: 19px; line-height: 1.55; color: var(--dark); }
.pd-callout { background: #fff7e6; border-left: 4px solid var(--orange); padding: 10px 14px; border-radius: 4px; font-size: 15px; }
.pd-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pd-feat div { background: #fff; border-left: 4px solid var(--primary); box-shadow: 0 4px 18px rgba(2,48,71,.08); border-radius: 6px; padding: 14px 16px; font: 600 14px/1.4 var(--head); color: var(--dark); }
.pd-box { display: flex; gap: 16px; overflow-x: auto; padding: 6px 2px 14px; margin-top: 18px; scroll-snap-type: x mandatory; }
.pd-box figure { flex: 1 0 190px; max-width: 230px; margin: 0; scroll-snap-align: start; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(2,48,71,.10); }
.pd-box img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.pd-box figcaption { padding: 12px 14px; font: 700 14px/1.35 var(--head); color: var(--dark); }
.pd-dark { background: var(--dark); color: #cfe0ee; }
.pd-dark .pd-h, .pd-dark h3 { color: #fff; } .pd-dark .pd-k { color: #ffb703; } .pd-dark a { color: #8fd3ff; }
.pd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 26px 0; }
.pd-stats > div { border-top: 2px solid rgba(255,255,255,.2); padding-top: 16px; } .pd-stats p { margin: 6px 0 0; }
.pd-big { font: 800 56px/1 var(--head); color: #fff; } .pd-big small { font-size: 22px; color: #ffb703; }
.pd-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.pd-pills span { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 14px; font: 600 13px var(--head); color: #fff; }
.pd-rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.pd-rcard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 20px 22px; }
.pd-rcard h3 { font-size: 17px; margin: 0 0 10px; } .pd-rcard .e-list { margin-bottom: 12px; } .pd-rcard .ico { stroke: #8ecae6; }
.pd-pubs { font-size: 13px; line-height: 1.45; } .pd-pubs span { display: block; font: 700 11px var(--head); text-transform: uppercase; letter-spacing: 1px; color: #9db8cc; margin-bottom: 4px; }
.pd-pubs a { display: block; margin-bottom: 6px; }
.pd-foot { font-size: 13px; margin: 18px 0 0; color: #9db8cc; }
.pd-stars { color: #f4a300; letter-spacing: 2px; }
.pd-q { position: relative; margin: 0; background: var(--bg-soft); border-radius: 16px; padding: 46px 26px 22px; font-size: 15px; }
.pd-q::before { content: "\201C"; position: absolute; top: 4px; left: 18px; font: 800 80px/1 Georgia, serif; color: var(--primary); opacity: .25; }
.pd-q p { margin: 0 0 .6em; } .pd-q cite { display: block; font: 600 13px var(--head); font-style: normal; color: var(--muted); }
.pd-q-feat { font-size: 19px; color: var(--dark); margin-bottom: 20px; }
.pd-qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pd-btnrow { margin: 22px 0 0; }
.pd-faq { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.pd-acc { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.pd-acc > summary { cursor: pointer; list-style: none; padding: 15px 44px 15px 18px; position: relative; font: 600 16px/1.4 var(--head); color: var(--dark); }
.pd-acc > summary::-webkit-details-marker { display: none; }
.pd-acc > summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 22px; color: var(--primary); }
.pd-acc[open] { border-color: var(--primary); box-shadow: 0 4px 16px rgba(0,143,226,.10); } .pd-acc[open] > summary::after { content: "−"; }
.pd-acc > .e-text { padding: 0 18px 14px; font-size: 15px; }
.pd-stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.10);
  padding: 10px 0; transform: translateY(110%); transition: transform .2s; }
.pd-stick.show { transform: none; }
.pd-stick .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pd-stick b { font: 800 17px var(--head); color: var(--dark); } .pd-stick span { color: var(--text); }
@media (max-width: 860px) {
  .pd-sec { padding: 40px 0; }
  .pd-about, .pd-faq { grid-template-columns: 1fr; gap: 24px; }
  .pd-stats { grid-template-columns: 1fr; gap: 14px; } .pd-big { font-size: 44px; }
  .pd-qgrid { grid-template-columns: 1fr; } .pd-q-feat { font-size: 17px; }
}
@media (max-width: 520px) { .pd-feat { grid-template-columns: 1fr; } .pd-rgrid { grid-template-columns: 1fr; } }
/* Questionnaire blocks at checkout (RestoreX / RestoreXL, Build 34) */
.co-device .questions { border-top: 0; padding-top: 0; margin-top: 4px; }
.co-device .q legend { display: block; padding: 0; font: 600 15px/1.4 var(--body); color: #2b2b2b; }
/* Build 35 — same layout for SnipCheck, PenileMeter, PD Gene and replacement parts */
.pd-ship-ok { color: #145c2c; } .pd-ship-ok b { background: #1d7a3a; }
.pd-hbul { margin: 0 0 12px; } .pd-hbul li { font-size: 15px; color: var(--dark); }
.pd-hero .pd-callout { margin: 6px 0 8px; }
.pd-about-1 { grid-template-columns: 1fr; } .pd-about-1 > div { max-width: 820px; }
.pd-box-ico figure { flex: 1 0 160px; max-width: 220px; }
.pd-boxico { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(135deg, #e3eaf2, #c8d6e5); }
.pd-boxico .ico { width: 44px; height: 44px; flex: none; margin: 0; stroke: var(--secondary); stroke-width: 1.6; }
.pd-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pd-steps li { display: flex; gap: 14px; align-items: flex-start; }
.pd-num { flex: 0 0 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 18px var(--head); background: #ffb703; color: var(--dark); }
.pd-steps h3 { font-size: 18px; margin: 6px 0 6px; } .pd-steps p { margin: 0; font-size: 15px; }
.pd-soft .pd-num { background: var(--primary); color: #fff; } .pd-soft .pd-steps h3 { color: var(--dark); }
.pd-evals { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 22px; }
.pd-evals div { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 14px 16px; font: 600 15px var(--head); color: #fff; }
.pd-evals .ico { stroke: #ffb703; margin: 0; }
@media (max-width: 860px) { .pd-steps { grid-template-columns: 1fr; } }

/* ---- Build 38: privacy choices, click-to-load embeds ---------------------------------------- */
.lite-yt { background-color: #0d1b2a; }
.embed-note { margin-top: 6px; }
.embed-click { border: 1px solid var(--line); border-radius: 6px; padding: 18px; background: var(--bg-soft); min-height: 220px; }
.embed-click.loaded { padding: 0; border: 0; background: none; }
.embed-click iframe { width: 100%; height: 450px; border: 0; border-radius: 6px; }
.fnotice { padding: 10px 16px 0; color: #c3d0e1; }
.fnotice a { color: #fff; text-decoration: underline; }
.privacy-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 3px solid var(--primary);
  box-shadow: 0 -6px 24px rgba(2, 48, 71, .15); }
.privacy-banner .pb-inner { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.privacy-banner p { margin: 0; font-size: 15px; }
.privacy-banner .pb-btns { display: flex; gap: 8px; flex: 0 0 auto; }
@media (max-width: 700px) { .privacy-banner .pb-inner { flex-direction: column; align-items: stretch; } .privacy-banner .pb-btns button { flex: 1; } }
.privacy-page h2 { margin-top: 1.6em; }
.privacy-status { border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; background: var(--bg-soft); margin: 0 0 1em; }
.privacy-actions { margin: 10px 0; }
.ok-note { border-left: 4px solid var(--ok); }
.tablewrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.ptable th { background: var(--bg-soft); font-family: var(--head); font-weight: 600; }

/* Build 70: Route package protection (cart + checkout) */
.routebox { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #cfccca; border-radius: 8px; padding: 10px 12px; margin: 12px 0; background: #fafaf9; cursor: pointer; }
.routebox input[type=checkbox] { width: auto; margin-top: 3px; flex: none; }
.routebox .rb-price { font-weight: 700; white-space: nowrap; }
form.routebox { display: block; } form.routebox label.check { display: flex; gap: 10px; align-items: flex-start; margin: 0; }

/* Build 249: cart "Customers also purchased…" add-on tiles */
.alsobought { margin-top: 26px; }
.also-h { font: 700 17px var(--head); color: var(--dark); margin: 0 0 12px; }
.also-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.also { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.also-img img { width: 56px; height: 56px; object-fit: contain; background: var(--bg-soft); border-radius: 6px; display: block; }
.also-img:empty { width: 56px; height: 56px; background: var(--bg-soft); border-radius: 6px; }
.also-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.also-name { font: 600 14px var(--head); color: var(--dark); line-height: 1.3; }
a.also-name:hover { color: var(--primary); }
.also-price { font-size: 13px; color: var(--muted); }
.also-add { margin: 0; }
.also-add .btn, a.also-add { white-space: nowrap; }
/* Build 249: checkout shipping option detail + note */
.opt-detail { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.ship-note { margin: 8px 0 0; }

/* Build 309: SMS consent box on the contact form + checkout phone note */
.contactform label.check { display: flex; gap: 10px; align-items: flex-start; }
.co-phonenote { margin: 4px 0 6px; }

/* Build 318: order page "Processing your payment" spinner + "not accepted" */
.processing, .rejected { text-align: center; }
.processing .spinner { width: 56px; height: 56px; margin: 8px auto 16px; border: 5px solid rgba(0,0,0,.1); border-top-color: var(--ok); border-radius: 50%; animation: prspin .9s linear infinite; }
.processing.slow .spinner { animation-duration: 2.4s; opacity: .5; }
@keyframes prspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .processing .spinner { animation-duration: 3s; } }
.rejected .x { width: 64px; height: 64px; border-radius: 50%; background: var(--bad); color: #fff; font-size: 30px; line-height: 64px; margin: 0 auto 12px; }
