/* Cadence descriptions — all product styles are isolated from the shop template. */
.bjp-cadence{--cad-accent:#7a3140;--cad-tint:#f7edf0;--cad-art:#ecd0d6;--cad-line:#e6d7db;--cad-ink:#222321;--cad-muted:#5b5d59;font:500 16px/1.65 var(--bjp-body-font,"Manrope",sans-serif);color:var(--cad-ink);text-align:left;width:100%;margin:0;scroll-margin-top:150px}
.bjp-cadence,.bjp-cadence *{box-sizing:border-box}
.bjp-cadence.cad-citrus{--cad-accent:#3f6125;--cad-tint:#f2f6ec;--cad-art:#e1edcd;--cad-line:#dce6d1}
.bjp-cadence.cad-orange{--cad-accent:#985017;--cad-tint:#fcf3e8;--cad-art:#f4ddbf;--cad-line:#eddfcf}
.bjp-cadence.cad-cola{--cad-accent:#6c4938;--cad-tint:#f6efeb;--cad-art:#e8d3c8;--cad-line:#e5d9d1}
.bjp-cadence.cad-watermelon{--cad-accent:#9b394a;--cad-tint:#fceff1;--cad-art:#f2d4d9;--cad-line:#ecdce0}
.bjp-cadence.cad-grapefruit{--cad-accent:#a1492f;--cad-tint:#fdf1eb;--cad-art:#f2d6c7;--cad-line:#eadcd3}
.bjp-cadence.cad-sleep{--cad-accent:#772c48;--cad-tint:#f5eff4;--cad-art:#ded8e3;--cad-line:#e4d9e3}
.bjp-cadence.cad-stack{--cad-accent:#634857;--cad-tint:#f5f2f0;--cad-art:#e5e1dc;--cad-line:#e3ddda}
.bjp-cadence.cad-gel{--cad-accent:#4b5451;--cad-tint:#f1f4f2;--cad-art:#d9e0dc;--cad-line:#dce3df}
.bjp-cadence.cad-chocolate{--cad-accent:#755442;--cad-tint:#f8f2ec;--cad-art:#e9ddcc;--cad-line:#e7dbce}
.bjp-cadence h2,.bjp-cadence h3,.bjp-cadence h4{font-family:var(--bjp-heading-font,"Barlow Condensed",sans-serif)!important;font-weight:700!important;letter-spacing:0!important;color:var(--cad-ink);text-transform:none;line-height:1.12;margin:0 0 16px}
.bjp-cadence h2{font-size:40px!important;max-width:470px}
.bjp-cadence h3{font-size:28px!important}
.bjp-cadence h4{font-size:23px!important}
.bjp-cadence p{font-size:inherit;line-height:inherit;margin:0 0 14px}
.bjp-cadence p:last-child{margin-bottom:0}
.bjp-cadence strong{font-weight:750}
.bjp-cadence a{color:var(--cad-accent);text-decoration:underline;text-underline-offset:4px}
.bjp-cadence a:hover{color:var(--cad-ink)}
.bjp-cadence a:focus-visible,.bjp-cadence summary:focus-visible{outline:2px solid var(--cad-accent);outline-offset:5px}
.bjp-cadence [id]{scroll-margin-top:150px}
.bjp-cadence .cad-hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:stretch;background:var(--cad-tint);border-radius:8px;overflow:hidden}
.bjp-cadence .cad-intro{padding:40px 36px;align-self:center;min-width:0}
.bjp-cadence .cad-kicker{font-size:12px;font-weight:750;letter-spacing:1.25px;text-transform:uppercase;color:var(--cad-accent);margin-bottom:18px}
.bjp-cadence .cad-lead{font-size:17px;line-height:1.7}
.bjp-cadence .cad-note{font-size:13px;line-height:1.6;color:var(--cad-muted);margin-top:16px}
.bjp-cadence .cad-art{position:relative;min-height:400px;overflow:hidden;background:var(--cad-art);isolation:isolate;display:flex;align-items:center;justify-content:center;margin:0}
.bjp-cadence .cad-art::before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;background:rgba(255,255,255,.26);left:50%;top:50%;transform:translate(-50%,-50%);z-index:-1}
.bjp-cadence .cad-art img{display:block;position:absolute;width:454px!important;max-width:none!important;height:340px!important;object-fit:contain;transform:rotate(-10deg);filter:drop-shadow(10px 18px 12px #0000001b);margin:0}
.bjp-cadence .cad-art-sachets img{height:340px!important;width:454px!important;transform:translateX(3px) rotate(12deg);z-index:2}
.bjp-cadence .cad-art-sachets img.cad-art-back{height:300px!important;width:400px!important;transform:translate(-84px,18px) rotate(-14deg);z-index:1}
.bjp-cadence .cad-art-sachets img.cad-art-front{height:325px!important;width:433px!important;transform:translate(83px,12px) rotate(21deg);z-index:3}
.bjp-cadence .cad-art-stack img{height:310px!important;width:413px!important;transform:rotate(-8deg)}
.bjp-cadence .cad-art-gel img{height:330px!important;width:440px!important;transform:rotate(15deg)}
.bjp-cadence .cad-art-bar img{height:330px!important;width:440px!important;transform:rotate(30deg)}
.bjp-cadence .cad-art-photo::before{display:none}
.bjp-cadence .cad-art-photo img{width:100%!important;height:100%!important;inset:0;object-fit:cover;object-position:var(--cad-photo-position,50% 50%);transform:none;filter:none}
.bjp-cadence .cad-facts{margin:18px 0 0;padding:20px 28px;background:#fafaf9;border:1px solid #eceee8;border-radius:8px}
.bjp-cadence .cad-facts dl{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0}
.bjp-cadence .cad-facts dl>div{display:flex;flex-direction:column-reverse;gap:5px;padding:0 24px;border-left:1px solid #dfe3db;min-width:0}
.bjp-cadence .cad-facts dl>div:first-child{border-left:0;padding-left:0}
.bjp-cadence .cad-facts dd{font-size:25px;line-height:1.2;font-weight:750;color:var(--cad-accent);margin:0}
.bjp-cadence .cad-facts dt{font-size:14px;font-weight:500;line-height:1.5;margin:0}
.bjp-cadence .cad-nav{display:flex;flex-wrap:wrap;gap:4px 25px;margin:16px 0 4px;padding-bottom:10px;border-bottom:1px solid var(--cad-line)}
.bjp-cadence .cad-nav a{font-size:14px;font-weight:650;display:inline-flex;align-items:center;min-height:44px}
.bjp-cadence .cad-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:26px}
.bjp-cadence .cad-cards.cad-three{grid-template-columns:repeat(3,1fr)}
.bjp-cadence .cad-card{padding:26px;border:1px solid var(--cad-line);border-radius:8px;background:#fff;min-width:0}
.bjp-cadence .cad-card h3{font-size:26px!important}
.bjp-cadence .cad-section{margin-top:36px}
.bjp-cadence .cad-dose{padding:26px 28px;background:var(--cad-tint);border-left:3px solid var(--cad-accent);border-radius:0 8px 8px 0}
.bjp-cadence .cad-dose h3{margin-bottom:14px}
.bjp-cadence .cad-dose-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.bjp-cadence .cad-dose-grid h4{margin-bottom:12px}
.bjp-cadence .cad-dose-grid p{font-size:15px}
.bjp-cadence .cad-notice{display:flex;gap:13px;padding:16px 19px;border:1px solid var(--cad-line);border-radius:6px;background:var(--cad-tint);margin-top:20px;font-size:14px;line-height:1.6}
.bjp-cadence .cad-notice::before{content:"!";display:flex;flex:0 0 22px;height:22px;border:1.5px solid var(--cad-accent);border-radius:50%;align-items:center;justify-content:center;font-weight:750;line-height:1;margin-top:2px;color:var(--cad-accent)}
.bjp-cadence .cad-content{display:grid;grid-template-columns:1.12fr 1fr;gap:32px;align-items:start}
.bjp-cadence .cad-ingredients{padding:25px;background:#f7f7f5;border-radius:8px;font-size:15px}
.bjp-cadence .cad-ingredients h3{font-size:25px!important}
.bjp-cadence .cad-ingredients strong{font-weight:800}
.bjp-cadence table{width:100%;border-collapse:collapse;border-spacing:0;table-layout:fixed;margin:0;font:500 14px/1.55 var(--bjp-body-font,"Manrope",sans-serif);color:var(--cad-ink);text-align:left}
.bjp-cadence caption{text-align:left;font:700 14px/1.5 var(--bjp-body-font,"Manrope",sans-serif);padding:0 0 12px}
.bjp-cadence table+table{margin-top:24px}
.bjp-cadence th,.bjp-cadence td{text-align:left;vertical-align:top;padding:11px 13px;border:0;border-bottom:1px solid var(--cad-line);color:var(--cad-ink);background:#fff;overflow-wrap:anywhere}
.bjp-cadence thead th{background:var(--cad-tint);font-weight:750}
.bjp-cadence th:first-child{width:57%}
.bjp-cadence tbody th{font-weight:550}
.bjp-cadence td{font-weight:650}
.bjp-cadence td small{display:block;font-size:11px;line-height:1.5;font-weight:500;color:var(--cad-muted);margin-top:2px}
.bjp-cadence .cad-table-note{font-size:12px;color:var(--cad-muted);margin:12px 0}
.bjp-cadence details{border:0;border-top:1px solid var(--cad-line);border-radius:0;background:#fff;padding:0;margin:0}
.bjp-cadence details:last-child{border-bottom:1px solid var(--cad-line)}
.bjp-cadence summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;font:650 16px/1.5 var(--bjp-body-font,"Manrope",sans-serif);padding:19px 2px;min-height:52px;color:var(--cad-ink)}
.bjp-cadence summary::-webkit-details-marker{display:none}
.bjp-cadence summary::after{content:"+";flex:0 0 22px;height:22px;font:500 22px/22px var(--bjp-body-font,"Manrope",sans-serif);text-align:center;color:var(--cad-accent)}
.bjp-cadence details[open]>summary::after{content:"−"}
.bjp-cadence .cad-answer{padding:0 34px 22px 2px;color:var(--cad-muted);font-size:15px}
.bjp-cadence .cad-fulltable{margin-top:14px}
.bjp-cadence .cad-fulltable summary{font-size:13px;padding:13px 2px}
.bjp-cadence .cad-fulltable .cad-answer{padding-right:0}
.bjp-cadence .cad-stack-tables{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.bjp-cadence .cad-stack-table{border:1px solid var(--cad-line);border-radius:8px;padding:20px;min-width:0}
.bjp-cadence .cad-stack-table table th:first-child{width:54%}
.bjp-cadence .cad-stack-table p{font-size:13px;margin-top:16px}
.bjp-cadence .cad-warning{border-top:1px solid var(--cad-line);padding-top:24px;margin-top:34px;font-size:14px;color:var(--cad-muted)}
.bjp-cadence .cad-warning h3{font:750 16px/1.5 var(--bjp-body-font,"Manrope",sans-serif)!important;margin:0 0 12px}
.bjp-cadence .cad-warning p{margin-bottom:12px}
@media(max-width:767px){
  .bjp-cadence{font-size:16px;line-height:1.65}
  .bjp-cadence h2{font-size:31px!important;line-height:1.1}
  .bjp-cadence h3{font-size:26px!important}
  .bjp-cadence .cad-hero{display:flex;flex-direction:column;background:#fff;overflow:visible;border-radius:0}
  .bjp-cadence .cad-intro{padding:0 0 22px;align-self:stretch}
  .bjp-cadence .cad-lead{font-size:16px}
  .bjp-cadence .cad-kicker{font-size:11px;letter-spacing:1px;margin-bottom:13px}
  .bjp-cadence .cad-note{font-size:12px;margin-top:13px}
  .bjp-cadence .cad-art{min-height:265px;border-radius:8px}
  .bjp-cadence .cad-art::before{width:230px;height:230px}
  .bjp-cadence .cad-art img{height:230px!important;width:307px!important}
  .bjp-cadence .cad-art-sachets img{height:224px!important;width:299px!important}
  .bjp-cadence .cad-art-sachets img.cad-art-back{height:206px!important;width:275px!important;transform:translate(-56px,12px) rotate(-14deg)}
  .bjp-cadence .cad-art-sachets img.cad-art-front{height:215px!important;width:287px!important;transform:translate(56px,8px) rotate(21deg)}
  .bjp-cadence .cad-art-stack img{height:230px!important;width:307px!important}
  .bjp-cadence .cad-art-gel img{height:228px!important;width:304px!important}
  .bjp-cadence .cad-art-bar img{height:225px!important;width:300px!important}
  .bjp-cadence .cad-art-photo{min-height:300px}
  .bjp-cadence .cad-art-photo img{height:100%!important;width:100%!important;object-position:var(--cad-photo-mobile-position,50% 50%)}
  .bjp-cadence .cad-facts{padding:15px 18px;margin-top:16px}
  .bjp-cadence .cad-facts dl{display:block}
  .bjp-cadence .cad-facts dl>div{flex-direction:row;justify-content:space-between;align-items:baseline;border:0;border-top:1px solid #e3e6de;padding:9px 0;gap:12px}
  .bjp-cadence .cad-facts dl>div:first-child{border-top:0;padding-top:0}
  .bjp-cadence .cad-facts dl>div:last-child{padding-bottom:0}
  .bjp-cadence .cad-facts dt{font-size:14px}
  .bjp-cadence .cad-facts dd{font-size:20px;white-space:nowrap}
  .bjp-cadence .cad-nav{gap:0 19px;margin-top:12px;padding-bottom:9px}
  .bjp-cadence .cad-nav a{font-size:13px}
  .bjp-cadence .cad-cards,.bjp-cadence .cad-cards.cad-three,.bjp-cadence .cad-dose-grid,.bjp-cadence .cad-content,.bjp-cadence .cad-stack-tables{grid-template-columns:1fr;gap:18px}
  .bjp-cadence .cad-cards{margin-top:22px}
  .bjp-cadence .cad-card{padding:22px}
  .bjp-cadence .cad-card h3{font-size:25px!important}
  .bjp-cadence .cad-section{margin-top:28px}
  .bjp-cadence .cad-dose{padding:22px 20px}
  .bjp-cadence .cad-dose-grid section+section{border-top:1px solid var(--cad-line);padding-top:16px}
  .bjp-cadence .cad-ingredients{padding:22px;margin-top:4px}
  .bjp-cadence .cad-notice{padding:15px 16px;font-size:13px}
  .bjp-cadence table{font-size:14px}
  .bjp-cadence th,.bjp-cadence td{padding:10px 9px}
  .bjp-cadence summary{font-size:15px;padding:17px 0}
  .bjp-cadence .cad-answer{padding-right:8px}
  .bjp-cadence .cad-warning{font-size:13px}
}

/* Approved image correction: 80% product size; photographs retain the full frame. */
.bjp-cadence .cad-art:not(.cad-art-photo) img{scale:.8;transform-origin:center}
.bjp-cadence .cad-art-photo{padding:40px 0}
.bjp-cadence .cad-art-photo img{position:static;inset:auto;width:80%!important;max-width:80%!important;height:320px!important;max-height:none!important;object-fit:contain;object-position:center;transform:none;scale:1;filter:none}
@media(max-width:767px){
  .bjp-cadence .cad-art-photo{padding:30px 0}
  .bjp-cadence .cad-art-photo img{height:240px!important}
}

/* Keep the native gallery and lightbox; shrink only the main Cadence product photo. */
body:has(.bjp-cadence) .p-image-wrapper .p-image #wrap a.p-main-image>img{width:80%!important;max-width:80%!important;height:auto!important;object-fit:contain;margin-left:auto!important;margin-right:auto!important}
