/* Product detail page (new_details.blade.php). Every rule is scoped to .pdp and classes use the pd- prefix
   so Bootstrap and style.css (.btn, .step, global h1-h4 fonts, link colour) cannot leak in. */
.pdp {
  --pd-accent: #1E1B26;
  --pd-accent-d: color-mix(in srgb, var(--pd-accent) 82%, #000);
  --pd-tint: color-mix(in srgb, var(--pd-accent) 8%, #fff);
  --pd-tint-2: color-mix(in srgb, var(--pd-accent) 14%, #fff);
  --pd-tint-line: color-mix(in srgb, var(--pd-accent) 24%, #fff);
  --pd-bg: #FFFFFF;
  --pd-soft: #F6F4F8;
  --pd-ink: #1E1B26;
  --pd-ink2: #4A4555;
  --pd-muted: #6F6979;
  --pd-line: #E6E2EB;
  --pd-save: #17714A;
  --pd-star: #B9862A;
  --pd-f-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --pd-f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --pd-f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-family: var(--pd-f-body);
  color: var(--pd-ink);
  background: var(--pd-bg);
  font-size: 15px;
  line-height: 1.55;
  padding-top: 72px;
  -webkit-font-smoothing: antialiased;
}
.pdp *, .pdp *::before, .pdp *::after { box-sizing: border-box; }
.pdp img, .pdp video { max-width: 100%; display: block; }
.pdp a { color: inherit; text-decoration: none; }
.pdp button { font: inherit; color: inherit; }
.pdp h1, .pdp h2, .pdp h3, .pdp h4 { font-family: var(--pd-f-head); margin: 0; text-wrap: balance; }
.pdp p { margin: 0; }
.pdp ul, .pdp ol { list-style: none; margin: 0; padding: 0; }
.pdp :focus-visible { outline: 2px solid var(--pd-accent); outline-offset: 2px; border-radius: 4px; }
.pdp [x-cloak] { display: none !important; }
.pd-wrap { max-width: 1280px; margin: 0 auto; padding-inline: 16px; }
.pd-num { font-variant-numeric: tabular-nums; }
.pd-eyebrow { font-family: var(--pd-f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--pd-muted); }
.pd-h2 { font-weight: 700; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.pd-sec { padding-block: 56px; border-top: 1px solid var(--pd-line); }
.pd-sec--soft { background: var(--pd-soft); border-top: 0; }
.pd-sec--flush { border-top: 0; }
.pd-sec-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 640px; }
.pd-sec-head p { color: var(--pd-ink2); }
.pd-fn { font-size: 11.5px; color: var(--pd-muted); }

/* buttons */
.pd-btn { height: 52px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding-inline: 18px; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .1s; }
.pd-btn:active { transform: translateY(1px); }
.pd-btn svg { width: 18px; height: 18px; flex: none; }
.pd-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.pdp .pd-btn-primary { background: var(--pd-accent); color: #fff; }
.pdp .pd-btn-primary:hover:not([disabled]) { background: var(--pd-accent-d); }
.pdp .pd-btn-soft { background: var(--pd-tint); border-color: var(--pd-tint-line); color: var(--pd-accent); }
.pdp .pd-btn-soft:hover:not([disabled]) { background: var(--pd-tint-2); border-color: var(--pd-accent); }
.pdp .pd-btn-outline { background: #fff; border-color: var(--pd-ink); color: var(--pd-ink); }
.pdp .pd-btn-outline:hover { background: var(--pd-soft); }

/* breadcrumbs */
.pd-crumbs { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--pd-muted); padding-block: 12px; }
.pd-crumbs a:hover { text-decoration: underline; }
.pd-crumbs [aria-current] { color: var(--pd-ink); }

/* hero */
.pd-hero { display: grid; gap: 20px; padding-bottom: 40px; }
.pd-gal { min-width: 0; }
.pd-gal-main { position: relative; }
.pd-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 16px; background: var(--pd-soft); }
.pd-slides::-webkit-scrollbar { display: none; }
.pd-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 20px; cursor: zoom-in; border: 0; background: none; }
.pd-slide img, .pd-slide video { width: 100%; height: 100%; object-fit: contain; }
.pd-gal-count { position: absolute; left: 12px; bottom: 12px; font: 500 11px var(--pd-f-mono); background: rgba(255,255,255,.9); border: 1px solid var(--pd-line); padding: 3px 8px; border-radius: 4px; }
.pd-gal-zoom { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 8px; background: #fff; border: 1px solid var(--pd-line); display: grid; place-items: center; cursor: pointer; }
.pd-gal-zoom svg { width: 18px; height: 18px; }
.pd-dots { display: flex; justify-content: center; gap: 6px; padding-top: 12px; }
.pd-dots button { width: 24px; height: 24px; border: 0; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; }
.pd-dots button::after { content: ""; width: 6px; height: 6px; border-radius: 3px; background: #CFC9D6; transition: width .2s, background .2s; }
.pd-dots button[aria-current="true"]::after { width: 18px; background: var(--pd-ink); }
.pd-thumbs { display: none; }
.pd-thumbs button { border: 1px solid var(--pd-line); background: var(--pd-soft); border-radius: 10px; padding: 6px; cursor: pointer; aspect-ratio: 1 / 1; width: 100%; position: relative; }
.pd-thumbs button img, .pd-thumbs button video { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs button[aria-current="true"] { border-color: var(--pd-ink); box-shadow: 0 0 0 1px var(--pd-ink); }
.pd-thumbs .pd-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.25); border-radius: 10px; }

.pd-buy { min-width: 0; display: grid; gap: 18px; align-content: start; }
.pd-buy-head { display: grid; gap: 8px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
.pd-tag { display: inline-flex; align-items: center; gap: 5px; font: 500 11px var(--pd-f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pd-accent); background: var(--pd-tint); border: 1px solid var(--pd-tint-line); padding: 5px 9px; border-radius: 5px; line-height: 1; }
.pd-tag svg { width: 12px; height: 12px; }
.pd-tag:last-child { color: #fff; background: var(--pd-accent); border-color: var(--pd-accent); }
.pdp .pd-title { font-weight: 700; font-size: 34px; line-height: 1.05; letter-spacing: -.025em; color: var(--pd-ink); }
.pd-sub { font-size: 15px; color: var(--pd-ink2); font-weight: 500; }
.pd-rating { display: flex; align-items: center; gap: 8px; font-size: 13.5px; flex-wrap: wrap; }
.pd-stars { display: inline-flex; gap: 1px; color: var(--pd-star); }
.pd-stars svg { width: 14px; height: 14px; }
.pd-rating a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 8px 0 10px; margin-left: 2px; border: 1px solid var(--pd-line); border-radius: 6px; background: var(--pd-soft); color: var(--pd-ink); font-weight: 600; font-size: 12.5px; transition: border-color .15s, background .15s; }
.pd-rating a svg { width: 14px; height: 14px; color: var(--pd-accent); transition: transform .15s; }
.pd-rating a:hover { border-color: var(--pd-accent); background: var(--pd-tint); }
.pd-rating a:hover svg { transform: translateY(2px); }
.pd-desc { color: var(--pd-ink2); font-size: 14.5px; }
.pd-price { display: grid; gap: 4px; padding-block: 14px; border-block: 1px solid var(--pd-line); }
.pd-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-price-now { font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
.pd-price-mrp { color: var(--pd-muted); font-size: 15px; }
.pd-price-save { font-size: 13px; font-weight: 700; color: var(--pd-save); background: #E7F3EC; padding: 2px 8px; border-radius: 4px; }
.pd-price-meta { font-size: 12.5px; color: var(--pd-muted); }
.pd-fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.pd-fs legend { font-size: 13px; font-weight: 700; margin-bottom: 10px; padding: 0; display: flex; gap: 6px; float: none; width: auto; line-height: 1.4; }
.pd-fs legend span { font-weight: 500; color: var(--pd-muted); }
.pd-packs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd-pack { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--pd-line); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; min-height: 84px; transition: border-color .15s; }
.pd-pack:hover { border-color: #B9B1C4; }
.pd-pack[aria-checked="true"] { border-color: var(--pd-accent); box-shadow: 0 0 0 1px var(--pd-accent); background: #FCFAFE; }
.pd-pack img { width: 52px; height: 52px; object-fit: contain; }
.pd-pack b { display: block; font-size: 13.5px; }
.pd-pack .pd-pp { display: block; font-size: 14px; font-weight: 700; }
.pd-pack .pd-pu { display: block; font-size: 11.5px; color: var(--pd-muted); }
.pd-pack .pd-tagpop { position: absolute; top: -9px; right: 10px; font: 500 10px var(--pd-f-mono); letter-spacing: .06em; text-transform: uppercase; background: var(--pd-accent); color: #fff; padding: 2px 6px; border-radius: 4px; }
/* saving ticket: notched green tag with a light sweep */
.pd-pack .pd-ps { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; padding: 3px 8px 3px 11px; border-radius: 4px; background: linear-gradient(135deg, #1C8A5A, #12603E); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; -webkit-mask: radial-gradient(circle 4px at 0 50%, transparent 97%, #000 100%); mask: radial-gradient(circle 4px at 0 50%, transparent 97%, #000 100%); }
.pd-pack .pd-ps::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #B8F0D2; flex: none; }
.pd-pack .pd-ps::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: pd-sweep 2.8s ease-in-out infinite; }
.pd-pack:nth-child(2) .pd-ps::after { animation-delay: .25s; }
.pd-pack:nth-child(3) .pd-ps::after { animation-delay: .5s; }
.pd-pack:nth-child(4) .pd-ps::after { animation-delay: .75s; }
.pd-pack[aria-checked="true"] .pd-ps { box-shadow: 0 0 0 2px #D5F0E1; animation: pd-pulse 1.6s ease-in-out infinite; }
@keyframes pd-sweep { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes pd-pulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.18); } }

.pd-cta { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.pd-qty { display: flex; align-items: center; border: 1px solid var(--pd-line); border-radius: 10px; height: 52px; }
.pd-qty button { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 18px; }
.pd-qty button:disabled { color: #C4BECC; cursor: not-allowed; }
.pd-qty output { min-width: 28px; text-align: center; font-weight: 700; }
.pd-cta .pd-btn-soft { grid-column: 1 / -1; font-size: 17px; }
.pd-oos { font-size: 13px; font-weight: 700; color: #A3283A; }
.pd-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-size: 13px; font-weight: 600; color: var(--pd-ink2); }
.pd-trust div { display: flex; gap: 10px; align-items: center; }
.pd-ic { width: 34px; height: 34px; background: var(--pd-accent); flex: none; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }

/* benefits */
.pd-bens { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.pd-ben { display: grid; gap: 8px; align-content: start; }
.pd-ben svg { width: 28px; height: 28px; color: var(--pd-accent); }
.pd-ben h3 { font-size: 15px; font-weight: 700; }
.pd-ben p { font-size: 13.5px; color: var(--pd-ink2); }

/* how to use */
.pd-steps { display: grid; gap: 12px; }
.pd-step { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--pd-line); border-radius: 12px; padding: 18px; background: #fff; }
.pd-step-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--pd-tint); color: var(--pd-accent); display: grid; place-items: center; flex: none; }
.pd-step-ic svg { width: 24px; height: 24px; }
.pd-step h3 { margin-top: 2px; font-size: 16px; font-weight: 700; }
.pd-step p { margin-top: 2px; font-size: 13.5px; color: var(--pd-ink2); }
.pd-step-dose { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; border: 1px solid var(--pd-line); border-radius: 6px; padding: 6px 10px; white-space: nowrap; background: #fff; }
.pd-step--media { grid-template-columns: 1fr; align-items: start; }
.pd-step--media .pd-step-media { aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--pd-soft); }
.pd-step--media .pd-step-media img, .pd-step--media .pd-step-media video { width: 100%; height: 100%; object-fit: cover; }
.pd-step-note { grid-column: 1 / -1; font-size: 13px; color: var(--pd-ink2); background: var(--pd-soft); border-radius: 12px; padding: 14px 18px; }
.pd-howto-img img { margin-inline: auto; border-radius: 12px; max-height: 70vh; width: auto; }

/* formulation */
.pd-form { display: grid; gap: 28px; }
.pd-form-copy { display: grid; gap: 16px; align-content: center; min-width: 0; }
.pd-form-copy p { color: var(--pd-ink2); max-width: 58ch; }
.pd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.pd-stat { border-top: 1px solid var(--pd-ink); padding-top: 10px; }
.pd-stat b { display: block; font-family: var(--pd-f-head); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: -.02em; }
.pd-stat span { font-size: 12px; color: var(--pd-ink2); }
.pd-form-img { background: var(--pd-soft); border-radius: 16px; overflow: hidden; }
.pd-form-img img { width: 100%; height: auto; }

/* ingredients */
.pd-ings { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; padding-bottom: 4px; }
.pd-ings::-webkit-scrollbar { display: none; }
.pd-ing { flex: 0 0 78%; scroll-snap-align: start; border: 1px solid var(--pd-line); border-radius: 12px; padding: 18px; display: grid; gap: 10px; align-content: start; background: #fff; }
.pd-ing-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.pd-ing img { width: 48px; height: 48px; object-fit: contain; }
.pd-dose { font: 500 12px var(--pd-f-mono); color: var(--pd-accent); background: var(--pd-tint); padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.pd-ing h3 { font-size: 16px; font-weight: 700; }
.pd-ing p { font-size: 13.5px; color: var(--pd-ink2); }
.pd-cmp { margin-top: 28px; border: 1px solid var(--pd-line); border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.pd-cmp-col { padding: 14px; min-width: 0; }
.pd-cmp-col + .pd-cmp-col { border-left: 1px solid var(--pd-line); background: var(--pd-soft); }
.pd-cmp-col h3 { margin-bottom: 10px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.pd-cmp-col h3 svg { width: 16px; height: 16px; flex: none; }
.pd-cmp-col ul { display: grid; gap: 6px; font-size: 13.5px; }
.pd-cmp-col li { display: flex; gap: 8px; align-items: baseline; }
.pd-cmp-col li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; transform: translateY(-2px); }
.pd-facts-btn { margin-top: 16px; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border: 1px solid var(--pd-line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 700; font-size: 14.5px; min-height: 52px; }
.pd-facts-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.pd-facts-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.pd-facts { border: 1px solid var(--pd-line); border-top: 0; border-radius: 0 0 12px 12px; margin-top: -8px; padding: 22px 18px 18px; display: grid; gap: 20px; }
.pd-facts-grid { display: grid; gap: 20px; }
.pd-facts h4 { margin-bottom: 6px; font: 500 11px var(--pd-f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pd-accent); }
.pd-facts dl { margin: 0; display: grid; font-size: 13px; }
.pd-facts dl div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dotted var(--pd-line); }
.pd-facts dt { font-weight: 400; }
.pd-facts dd { margin: 0; font-family: var(--pd-f-mono); font-size: 12px; white-space: nowrap; }
.pd-facts-raw { font-size: 13.5px; color: var(--pd-ink2); }
.pd-facts-raw h3, .pd-facts-raw h4 { font-size: 14px; margin: 12px 0 6px; color: var(--pd-ink); }
.pd-facts-raw p { margin: 4px 0; }

/* expert + cases */
.pd-expert { display: grid; gap: 20px; background: var(--pd-tint); border-radius: 16px; padding: 24px; align-items: end; }
.pd-expert-ph { width: 120px; height: 140px; border-radius: 12px; overflow: hidden; background: var(--pd-tint-2); }
.pd-expert-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pd-expert q { font-family: var(--pd-f-head); font-weight: 600; font-size: 20px; line-height: 1.35; letter-spacing: -.01em; display: block; margin-top: 10px; }
.pd-expert cite { display: block; font-style: normal; font-size: 13px; font-weight: 700; margin-top: 12px; }
.pd-expert cite span { font-weight: 500; color: var(--pd-ink2); }
.pd-cases { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 24px -16px 0; padding-inline: 16px; }
.pd-cases::-webkit-scrollbar { display: none; }
.pd-case { flex: 0 0 82%; scroll-snap-align: start; border: 1px solid var(--pd-line); border-radius: 12px; padding: 10px; display: grid; gap: 10px; background: #fff; align-content: start; }
.pd-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pd-ba figure { margin: 0; position: relative; }
.pd-ba img { width: 100%; aspect-ratio: 8 / 7; object-fit: cover; border-radius: 8px; }
.pd-ba figcaption { position: absolute; left: 6px; top: 6px; font: 500 10px var(--pd-f-mono); text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.9); padding: 2px 6px; border-radius: 3px; }
.pd-case h3 { font-size: 14.5px; font-weight: 700; }
.pd-case p { font-size: 12.5px; color: var(--pd-ink2); }
.pdp .pd-case-link { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin-top: 2px; border: 1px solid var(--pd-tint-line); border-radius: 10px; background: var(--pd-tint); color: var(--pd-accent); font-size: 14.5px; font-weight: 700; transition: background .15s, border-color .15s; }
.pd-case-link svg { width: 16px; height: 16px; transition: transform .15s; }
.pdp .pd-case-link:hover { background: var(--pd-tint-2); border-color: var(--pd-accent); }
.pd-case-link:hover svg { transform: translateX(3px); }

/* reviews */
.pd-rev { display: grid; gap: 28px; }
.pd-rev-sum { display: grid; gap: 12px; align-content: start; }
.pd-rev-big { display: flex; align-items: baseline; gap: 10px; }
.pd-rev-big b { font-family: var(--pd-f-head); font-weight: 700; font-size: 52px; line-height: 1; letter-spacing: -.03em; }
.pd-dist { display: grid; gap: 6px; font-size: 12.5px; }
.pd-dist div { display: grid; grid-template-columns: 28px 1fr 24px; gap: 8px; align-items: center; }
.pd-bar { height: 6px; border-radius: 3px; background: #fff; overflow: hidden; }
.pd-bar i { display: block; height: 100%; background: var(--pd-ink); }
.pd-rev-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; font-size: 13px; color: var(--pd-ink2); }
.pd-rev-side { min-width: 0; display: grid; gap: 20px; align-content: start; }
.pd-rev-side .pd-sec-head { margin-bottom: 0; }
.pd-rev-based { font-size: 13px; color: var(--pd-ink2); }
.pd-rev-main { min-width: 0; }
.pd-sort { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border: 1px solid var(--pd-line); border-radius: 10px; background: #fff; }
.pd-sort button { border: 0; background: none; border-radius: 7px; padding: 7px 12px; min-height: 36px; font-size: 12.5px; font-weight: 600; color: var(--pd-ink2); cursor: pointer; transition: background .15s, color .15s; }
.pd-sort button:hover { color: var(--pd-ink); background: var(--pd-soft); }
.pd-sort button[aria-pressed="true"] { background: var(--pd-accent); color: #fff; }
.pd-rcard { padding: 16px 0; border-bottom: 1px solid var(--pd-line); display: grid; gap: 6px; }
.pd-rcard.pd-reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.pd-rcard.pd-reveal.is-in { opacity: 1; transform: none; }
.pd-rcard header { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.pd-rcard header b { font-size: 14px; }
.pd-rcard time { color: var(--pd-muted); font-size: 12px; }
.pd-rcard p { font-size: 14px; color: var(--pd-ink2); }
.pd-more { margin-top: 16px; }

/* specs */
.pd-specs { margin: 0; display: grid; border-top: 1px solid var(--pd-ink); }
.pd-specs div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--pd-line); }
.pd-specs dt { font-size: 12px; color: var(--pd-muted); font-weight: 400; }
.pd-specs dd { margin: 0; font-size: 14px; font-weight: 600; white-space: pre-line; }

/* certifications */
.pd-certs { display: grid; gap: 20px; align-items: center; }
.pd-certs p { color: var(--pd-ink2); font-size: 14px; max-width: 60ch; }
.pd-cert-row { display: flex; gap: 28px; flex-wrap: wrap; }
.pd-cert { display: flex; gap: 10px; align-items: center; font-size: 13.5px; font-weight: 700; }
.pd-cert .pd-ic { width: 40px; height: 40px; }

/* faq */
.pd-faq { border-top: 1px solid var(--pd-ink); }
.pd-faq-item { border-bottom: 1px solid var(--pd-line); }
.pd-faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: none; border: 0; padding: 18px 0; cursor: pointer; font-weight: 700; font-size: 15px; min-height: 56px; }
.pd-pm { width: 20px; height: 20px; flex: none; position: relative; }
.pd-pm::before, .pd-pm::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; background: currentColor; transition: transform .2s; }
.pd-pm::after { transform: rotate(90deg); }
.pd-faq-q[aria-expanded="true"] .pd-pm::after { transform: rotate(0); }
.pd-faq-a { padding: 0 0 18px; font-size: 14px; color: var(--pd-ink2); max-width: 70ch; white-space: pre-line; }
.pd-faq-a a { color: var(--pd-accent); text-decoration: underline; text-underline-offset: 3px; }

/* related */
.pd-rel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-rp { display: grid; grid-template-rows: auto 1fr auto auto; gap: 8px; min-width: 0; background: #fff; border: 1px solid var(--pd-line); border-radius: 14px; padding: 8px 8px 10px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pd-rp-img { aspect-ratio: 1 / 1; background: var(--pd-soft); border-radius: 10px; padding: 14px; display: grid; place-items: center; overflow: hidden; }
.pd-rp-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.pd-rp h3 { margin: 2px 4px 0; font-family: var(--pd-f-body); font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.pd-rp .pd-rpp { margin: 0 4px; font-size: 15px; font-weight: 700; }
.pd-rp .pd-rpp s { font-weight: 500; color: var(--pd-muted); font-size: 12.5px; margin-left: 6px; }
.pd-rp-cta { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; margin-top: 2px; border: 1px solid var(--pd-tint-line); border-radius: 8px; background: var(--pd-tint); color: var(--pd-accent); font-size: 13px; font-weight: 700; transition: background .15s, border-color .15s; }
.pd-rp-cta svg { width: 14px; height: 14px; transition: transform .15s; }
.pd-rp:hover { border-color: var(--pd-tint-line); box-shadow: 0 14px 28px -20px rgba(30, 20, 50, .45); transform: translateY(-2px); }
.pd-rp:hover .pd-rp-img img { transform: scale(1.04); }
.pd-rp:hover .pd-rp-cta { background: var(--pd-tint-2); border-color: var(--pd-accent); }
.pd-rp:hover .pd-rp-cta svg { transform: translateX(3px); }

/* sticky purchase bar (below 1024px) */
.pd-bar-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--pd-line); box-shadow: 0 -10px 24px -16px rgba(30, 20, 50, .35); padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left)); display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; transform: translateY(110%); transition: transform .25s; }
.pd-bar-sticky.is-on { transform: none; }
.pd-bar-sticky .pd-sp { font-size: 17px; font-weight: 700; line-height: 1.1; }
.pd-bar-sticky .pd-sm { font-size: 12px; color: var(--pd-muted); }
.pd-bar-sticky .pd-btn { height: 48px; padding-inline: 22px; }

/* lightbox */
.pd-lb { position: fixed; inset: 0; z-index: 1100; background: rgba(20, 16, 26, .94); display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.pd-lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font: 12px var(--pd-f-mono); }
.pd-lb button { width: 44px; height: 44px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; font-size: 18px; }
.pd-lb-img { display: grid; place-items: center; padding: 8px 16px; min-height: 0; }
.pd-lb-img img, .pd-lb-img video { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 8px; }
.pd-lb-nav { display: flex; justify-content: center; gap: 12px; padding: 12px; }

/* style.css sets body{overflow-x:hidden}, which turns body into a scroll container and breaks position:sticky; clip hides overflow without that */
body.pdp-has-bar { overflow-x: clip; overflow-y: visible; }

@media (max-width: 1023.98px) {
  body.pdp-has-bar { padding-bottom: 76px; }
}

/* phones: long product names (e.g. the whey isolate) wrap to 4+ lines at the base size */
@media (max-width: 767.98px) {
  .pdp .pd-title { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
  .pd-h2 { font-size: 23px; line-height: 1.2; }
  .pd-expert q { font-size: 18px; }
  .pd-rev-big b { font-size: 44px; }
}

/* tablet ≥768 */
@media (min-width: 768px) {
  .pdp { padding-top: 90px; }
  .pd-wrap { padding-inline: 32px; }
  .pd-hero { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pd-slide { aspect-ratio: 4 / 5; }
  .pd-bens { grid-template-columns: repeat(4, 1fr); }
  .pd-ings { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; }
  .pd-cmp-col { padding: 18px; }
  .pd-facts-grid { grid-template-columns: repeat(3, 1fr); }
  .pd-steps { grid-template-columns: 1fr 1fr; }
  .pd-specs { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .pd-expert { grid-template-columns: 160px 1fr; }
  .pd-expert-ph { width: 160px; height: 190px; }
  .pd-cases { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding: 0; }
  .pd-rev { grid-template-columns: 260px 1fr; gap: 48px; }
  .pd-rel { grid-template-columns: repeat(4, 1fr); }
}

/* desktop ≥1024 */
@media (min-width: 1024px) {
  .pdp { padding-top: 100px; }
  .pd-wrap { padding-inline: 48px; }
  .pd-crumbs { padding-block: 18px 20px; }
  .pd-hero { grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); gap: 56px; padding-bottom: 72px; }
  .pd-gal { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; position: sticky; top: 110px; }
  .pd-thumbs { display: grid; gap: 10px; }
  .pd-dots { display: none; }
  .pd-slides { overflow: hidden; }
  .pd-buy { gap: 20px; }
  .pdp .pd-title { font-size: 48px; }
  .pd-packs { grid-template-columns: repeat(4, 1fr); }
  .pd-packs--few { grid-template-columns: repeat(2, 1fr); }
  .pd-pack { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 14px 8px 12px; gap: 6px; }
  .pd-pack img { width: 64px; height: 64px; }
  .pd-cta { grid-template-columns: auto 1fr 1fr; }
  .pd-cta .pd-btn-soft { grid-column: auto; }
  .pd-trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: 16px 22px; }
  .pd-sec { padding-block: 96px; }
  .pd-h2 { font-size: 40px; }
  .pd-form { grid-template-columns: 1fr 1fr; gap: 72px; }
  .pd-ings { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pd-ing { padding: 22px; }
  .pd-steps { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .pd-specs { grid-template-columns: 1fr 1fr 1fr; }
  .pd-expert { padding: 36px 40px; grid-template-columns: 180px 1fr; }
  .pd-expert q { font-size: 26px; }
  .pd-certs { grid-template-columns: 1fr auto; }
  .pd-faqwrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; }
  .pd-rel { gap: 20px; }
  .pd-bar-sticky { display: none; }
  /* reviews: summary pinned on the left, cards scroll past on the right */
  .pd-rev { grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
  .pd-rev-side { position: sticky; top: 120px; }
  .pd-rev-list { display: grid; gap: 14px; }
  .pd-rcard { background: #fff; border: 1px solid var(--pd-line); border-radius: 14px; padding: 20px 22px; }
  .pd-rcard p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .pdp *, .pdp *::after, .pd-bar-sticky { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Product listing (front/product/list.blade.php), shares the .pdp tokens ---------- */
.pd-sort a { display: inline-flex; align-items: center; border-radius: 7px; padding: 7px 14px; min-height: 36px; font-size: 12.5px; font-weight: 600; color: var(--pd-ink2); transition: background .15s, color .15s; }
.pdp .pd-sort a:hover { color: var(--pd-ink); background: var(--pd-soft); }
.pdp .pd-sort a[aria-current="page"] { background: var(--pd-accent); color: #fff; }
.pl-head { display: grid; gap: 10px; padding: 8px 0 24px; min-width: 0; }
/* one line at every width: the heading is ~15.8x its font size wide, so this fills the viewport minus the gutters */
.pdp .pl-head .pd-title { font-size: clamp(15px, calc(6vw - 2px), 48px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px; border-top: 1px solid var(--pd-line); }
/* count + sort: tablet and up only */
.pl-tools { display: none; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; max-width: 100%; }
.pl-count { font-size: 13px; color: var(--pd-muted); }
.pl-tools .pd-sort { display: flex; max-width: 100%; min-width: 0; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.pl-tools .pd-sort button { white-space: nowrap; }
.pl-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 20px; margin-inline: -16px; padding-inline: 16px; }
.pl-cats::-webkit-scrollbar, .pl-tools .pd-sort::-webkit-scrollbar { display: none; }
.pl-cats button { flex: none; border: 1px solid var(--pd-line); background: #fff; border-radius: 999px; padding: 8px 14px; min-height: 38px; font-size: 13px; font-weight: 600; color: var(--pd-ink2); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.pl-cats button:hover { border-color: var(--pd-ink); color: var(--pd-ink); }
.pl-cats button[aria-pressed="true"] { background: var(--pd-ink); border-color: var(--pd-ink); color: #fff; }
.pl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 56px; }
.pl-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--pd-line); border-radius: 14px; padding: 8px; transition: border-color .15s, box-shadow .2s, transform .2s; }
.pl-card:hover { border-color: var(--pd-tint-line); box-shadow: 0 18px 32px -22px rgba(30, 20, 50, .45); transform: translateY(-3px); }
.pl-img { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 10px; background: var(--pd-tint); padding: 10px; overflow: hidden; }
.pl-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s; }
.pl-card:hover .pl-img img { transform: scale(1.05); }
.pl-noimg { font-family: var(--pd-f-head); font-weight: 700; font-size: 15px; text-align: center; color: var(--pd-accent); }
/* z-index: the img's mix-blend-mode makes it a layer that would paint over the badge */
.pl-save { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 12px; font-weight: 800; letter-spacing: .01em; color: #fff; background: var(--pd-save); padding: 4px 9px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(31, 122, 77, .7); overflow: hidden; animation: pl-save-pulse 2.4s ease-in-out infinite; }
/* shimmer sweep + soft pulse, same language as the PDP savings ticket */
.pl-save::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); animation: pl-save-shine 2.4s ease-in-out infinite; }
@keyframes pl-save-shine { 0%, 35% { transform: translateX(-120%); } 70%, 100% { transform: translateX(120%); } }
@keyframes pl-save-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.pl-body { display: flex; flex-direction: column; gap: 4px; padding: 8px 2px 0; flex: 1; }
.pl-cat { font-size: 10px; color: var(--pd-accent); }
.pdp .pl-name { font-family: var(--pd-f-head); font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }
.pl-name a:hover { color: var(--pd-accent); }
.pl-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--pd-muted); }
.pl-rating .pd-stars svg { width: 13px; height: 13px; }
.pl-rating b { color: var(--pd-ink); }
.pl-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: auto; padding-top: 2px; }
.pl-now { font-size: 17px; font-weight: 700; }
.pl-price s { font-size: 12.5px; color: var(--pd-muted); }
.pl-off { font-size: 12px; font-weight: 700; color: var(--pd-save); background: #E3F4EA; border: 1px dashed #9FD3B4; padding: 1px 6px; border-radius: 4px; }
.pl-actions { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 6px; }
.pl-actions .pd-btn { height: 38px; font-size: 13.5px; padding-inline: 10px; }
.pl-actions .pd-btn svg { width: 16px; height: 16px; }
.pl-empty { padding: 40px 0 72px; color: var(--pd-ink2); }
.pl-empty a { color: var(--pd-accent); text-decoration: underline; }
@media (min-width: 768px) {
  .pl-tools { display: flex; }
  .pl-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pdp .pl-name { font-size: 16px; }
  .pl-actions { grid-template-columns: 1fr auto; }
  .pl-cats { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  .pl-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 96px; }
  .pl-head { padding-bottom: 32px; }
  .pl-card { padding: 10px; }
  .pl-body { padding: 12px 4px 2px; }
}
