/* togo-page-compound.css
   ─────────────────────────────────────────────────────────────────
   Polish-laag specifiek voor compound.html (16 issues).
   Scope: body[data-page="compound"] */

/* 1. Hero photo + buy-box alignment */
@media (min-width: 1024px) {
  body[data-page="compound"] .compound-hero {
    align-items: start;
  }
  body[data-page="compound"] .compound-hero__media {
    position: sticky;
    top: calc(var(--header-height) + var(--space-4));
  }
  body[data-page="compound"] .compound-hero__copy {
    position: static;
    align-content: start;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

/* 1b. Mobile PDP density: remove desktop-only chrome and let the purchase
   path enter earlier without hiding product, pricing, or compliance content. */
@media (max-width: 640px) {
  body[data-page="compound"] #compound-form {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
  }

  body[data-page="compound"] main > .section:first-of-type {
    padding-top: 20px !important;
    padding-bottom: 24px !important;
  }

  body[data-page="compound"] main > .section:first-of-type .breadcrumb {
    display: none !important;
  }

  body[data-page="compound"] .compound-hero {
    gap: 18px !important;
  }

  body[data-page="compound"] .compound-hero__media {
    aspect-ratio: 4 / 3 !important;
    max-height: min(272px, 68vw);
  }

  body[data-page="compound"] .compound-hero__media picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  body[data-page="compound"] .compound-hero__media img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    padding: 10px;
    box-sizing: border-box;
  }

  body[data-page="compound"] .compound-hero__copy > p:has(.print-button) {
    display: none !important;
  }

  body[data-page="compound"] .compound-hero__copy .section__eyebrow {
    margin-bottom: 6px !important;
  }

  body[data-page="compound"] .compound-hero__copy .section__title {
    margin-bottom: 8px !important;
    line-height: 1.04 !important;
  }

  body[data-page="compound"] .compound-hero__copy .section__lead {
    line-height: 1.42 !important;
  }

  body[data-page="compound"] .compound-hero__copy > .enrich-aliases {
    display: none !important;
  }

  body[data-page="compound"] .compound-hero__copy > .pdp-signals {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px !important;
    margin: 10px 0 12px !important;
    overflow: visible;
  }

  body[data-page="compound"] .compound-hero__copy > .pdp-signals li {
    min-width: 0;
    justify-content: center;
    padding: 4px 7px !important;
    gap: 4px;
    font-size: 10.5px !important;
    line-height: 1.1;
    white-space: normal;
    text-align: center;
  }

  body[data-page="compound"] .compound-hero__copy > .pdp-signals li svg {
    width: 11px !important;
    height: 11px !important;
  }

  body[data-page="compound"] .variant-picker {
    margin-bottom: 10px !important;
    order: 1;
  }

  body[data-page="compound"] .variant-picker legend {
    margin-bottom: 6px !important;
  }

  body[data-page="compound"] .variant-picker__options {
    margin-top: 8px !important;
  }

  body[data-page="compound"] #togo-inv-block.togo-inv {
    gap: 6px !important;
    margin: 8px 0 10px !important;
    order: 4;
  }

  body[data-page="compound"] #togo-inv-block .togo-inv__row {
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
    min-width: 0;
  }

  body[data-page="compound"] #togo-inv-block .togo-inv-pill {
    min-height: 28px;
    padding: 3px 8px;
    gap: 5px;
    font-size: 10.8px;
    line-height: 1.2;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  body[data-page="compound"] #togo-inv-block .togo-inv-pill--batch {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    flex-wrap: wrap !important;
    white-space: normal !important;
    line-height: 1.25;
  }

  body[data-page="compound"] #togo-inv-block .togo-inv-pill--batch .togo-inv-pill__coa {
    flex: 0 0 auto;
  }

  body[data-page="compound"] #togo-inv-block .togo-inv-pill:not(.togo-inv-pill--batch) {
    flex: 0 0 auto;
  }

  body[data-page="compound"] #compound-form > .field {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 136px;
    align-items: center;
    min-height: 42px;
    margin-bottom: 6px !important;
    gap: 10px !important;
    order: 2;
  }

  body[data-page="compound"] #compound-form > .field .field__label {
    margin: 0 !important;
  }

  body[data-page="compound"] #compound-form > .field .qty-stepper {
    width: 136px;
    min-height: 40px;
  }

  body[data-page="compound"] #compound-form > .field .qty-stepper__btn,
  body[data-page="compound"] #compound-form > .field .qty-stepper__input {
    min-height: 40px;
  }

  body[data-page="compound"] #compound-form > .price-block {
    margin-top: 10px !important;
    order: 3;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  body[data-page="compound"] .compound-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    max-width: 720px;
    margin-inline: auto;
  }

  body[data-page="compound"] .compound-hero__media {
    aspect-ratio: 4 / 3;
    max-height: 360px;
  }

  body[data-page="compound"] .compound-hero__copy {
    position: static !important;
  }

  body[data-page="compound"] #compound-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 148px;
    column-gap: 18px;
    row-gap: 18px;
    align-items: start;
  }

  body[data-page="compound"] .variant-picker {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }

  body[data-page="compound"] #compound-form > .field {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  body[data-page="compound"] #compound-form > .field .qty-stepper,
  body[data-page="compound"] #compound-form > .field .qty-stepper__input {
    width: 100%;
  }

  body[data-page="compound"] #compound-form > .price-block {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0;
  }

  body[data-page="compound"] #compound-form > #togo-inv-block {
    grid-column: 1;
    grid-row: 2;
    margin-block: 0 !important;
  }

  body[data-page="compound"] .price-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.95fr);
    column-gap: 18px;
    row-gap: 10px;
    align-items: start;
    padding: 18px !important;
  }

  body[data-page="compound"] .price-block__row,
  body[data-page="compound"] .price-block__total,
  body[data-page="compound"] .price-block__stock,
  body[data-page="compound"] #stock-panel {
    grid-column: 1;
  }

  body[data-page="compound"] .price-block > .price-block__cta:not(.price-block__cta--row),
  body[data-page="compound"] .price-block > .pdp-ruo-disclaimer,
  body[data-page="compound"] .price-block > .price-block__cta--row {
    grid-column: 2;
  }

  body[data-page="compound"] .price-block > .price-block__cta:not(.price-block__cta--row) {
    grid-row: 1;
    margin-top: 0;
  }

  body[data-page="compound"] .pdp-ruo-disclaimer {
    grid-row: 2;
    margin-top: 0 !important;
  }

  body[data-page="compound"] .price-block__cta--row {
    grid-row: 3;
    margin-top: 0 !important;
  }

  body[data-page="compound"] .price-block .pdp-trust-row {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  body[data-page="compound"] .price-block .pdp-stack-card {
    grid-column: 1;
  }

  body[data-page="compound"] .price-block .volume-tiers {
    grid-column: 2;
    margin-top: 2px !important;
  }
}

/* 18. PDP decision density: keep the vial visible, but bring strength/price
   choices into view earlier on mobile and tablet. */
@media (max-width: 640px) {
  body[data-page="compound"] .compound-hero {
    gap: 14px !important;
  }

  body[data-page="compound"] .compound-hero__media {
    max-height: min(232px, 56vw) !important;
  }

  body[data-page="compound"] .variant-picker__options {
    gap: 9px !important;
    row-gap: 9px !important;
  }

  body[data-page="compound"] .variant-chip__label {
    min-height: 70px !important;
    padding: 8px 9px !important;
    align-content: center;
  }

  body[data-page="compound"] .variant-chip__row {
    gap: 3px 6px;
  }

  body[data-page="compound"] .variant-chip__size {
    font-size: 13px;
  }

  body[data-page="compound"] .variant-chip__per-unit {
    font-size: 10.6px;
  }

  body[data-page="compound"] .variant-chip__save {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9.8px;
    line-height: 1.12;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  body[data-page="compound"] .compound-hero__media {
    max-height: min(320px, 44vw) !important;
  }

  body[data-page="compound"] .compound-hero__media picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  body[data-page="compound"] .compound-hero__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 12px;
    box-sizing: border-box;
  }

  body[data-page="compound"] .variant-picker__options {
    row-gap: 10px !important;
  }

  body[data-page="compound"] .variant-chip__label {
    min-height: 78px !important;
    padding: 10px 11px !important;
  }
}

@media (min-width: 641px) and (max-width: 899px) {
  body[data-page="compound"] #compound-recently-viewed.grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch;
  }

  body[data-page="compound"] #compound-recently-viewed.grid-4 > .card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/* 2. Variant chips: grid ipv flex-wrap voor consistent rows */
body[data-page="compound"] #compound-form > #togo-inv-block .togo-inv__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 8px;
  min-width: 0;
}

body[data-page="compound"] #compound-form > #togo-inv-block .togo-inv-pill {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

body[data-page="compound"] #compound-form > #togo-inv-block .togo-inv-pill--batch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  line-height: 1.25;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  text-overflow: clip;
}

body[data-page="compound"] #compound-form > #togo-inv-block .togo-inv-pill--batch .togo-inv-pill__text {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

body[data-page="compound"] #compound-form > #togo-inv-block .togo-inv-pill--batch .togo-inv-pill__coa {
  flex: 0 0 auto;
  justify-self: end;
  padding: 1px 5px;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 8%, transparent);
  text-decoration: none;
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 700;
}

body[data-page="compound"] #compound-form > #togo-inv-block .togo-inv-pill:not(.togo-inv-pill--batch) {
  flex: 0 0 auto;
}

body[data-page="compound"] .variant-picker__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* 3. Variant chip best-value badge: meer top spacing */
body[data-page="compound"] .variant-picker__options {
  margin-top: 12px;
  row-gap: 16px;
}

body[data-page="compound"] .variant-chip,
body[data-page="compound"] .variant-chip__label {
  width: 100%;
  max-width: 100%;
  min-width: 0 !important;
  box-sizing: border-box;
}

body[data-page="compound"] .variant-chip__label {
  min-height: 84px;
  padding: 12px;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--color-bg-elevated) 92%, #fff 8%),
      var(--color-bg-elevated)) !important;
  border-color: color-mix(in srgb, var(--color-border) 88%, transparent) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

body[data-page="compound"] .variant-chip__row {
  min-width: 0;
  max-width: 100%;
  gap: 5px 7px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

body[data-page="compound"] .variant-chip__size,
body[data-page="compound"] .variant-chip__per-unit,
body[data-page="compound"] .variant-chip__best,
body[data-page="compound"] .variant-chip__low,
body[data-page="compound"] .variant-chip__save,
body[data-page="compound"] .togo-lead {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

body[data-page="compound"] .variant-chip__per-unit {
  font-size: 11.5px;
}

body[data-page="compound"] .variant-chip__save {
  font-size: 10.5px;
  line-height: 1.25;
}

body[data-page="compound"] .variant-chip input:checked + .variant-chip__label {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--color-accent) 9%, var(--color-bg-elevated) 91%),
      color-mix(in srgb, var(--color-accent) 4%, var(--color-bg-elevated) 96%)) !important;
  border-color: color-mix(in srgb, var(--color-accent) 62%, var(--color-border) 38%) !important;
  color: var(--color-text) !important;
  box-shadow:
    inset 3px 0 0 color-mix(in srgb, var(--color-accent) 86%, #fff 14%),
    0 0 0 1px color-mix(in srgb, var(--color-accent) 10%, transparent),
    0 10px 24px color-mix(in srgb, var(--color-accent) 8%, transparent) !important;
}

body[data-page="compound"] .variant-chip__best {
  padding: 2px 7px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 42%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 11%, var(--color-bg-elevated)) !important;
  color: color-mix(in srgb, #fff 88%, var(--color-accent) 12%) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 9.5px;
  line-height: 1.15;
  letter-spacing: .055em;
}

/* Light mode: the global PDP chip layer uses white text for dark chips. On the
   light buy-box that made variant strengths/prices nearly invisible. */
html[data-theme="light"] body[data-page="compound"] .variant-chip__label {
  background:
    linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--color-bg) 96%, #fff 4%) 100%) !important;
  border-color: rgba(10, 10, 12, .14) !important;
  color: var(--color-text) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.78),
    0 1px 2px rgba(20, 18, 12, .04) !important;
}

html[data-theme="light"] body[data-page="compound"] .variant-chip:hover .variant-chip__label {
  background: #fff !important;
  border-color: color-mix(in srgb, var(--color-accent) 34%, rgba(10, 10, 12, .16)) !important;
  color: var(--color-text) !important;
}

html[data-theme="light"] body[data-page="compound"] .variant-chip input:checked + .variant-chip__label {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--color-accent) 10%, #fff 90%),
      color-mix(in srgb, var(--color-accent) 5%, #fff 95%)) !important;
  border-color: color-mix(in srgb, var(--color-accent) 58%, rgba(10, 10, 12, .16)) !important;
  color: var(--color-text) !important;
}

html[data-theme="light"] body[data-page="compound"] .variant-chip__size,
html[data-theme="light"] body[data-page="compound"] .variant-chip input:checked + .variant-chip__label .variant-chip__size {
  color: var(--color-text) !important;
}

html[data-theme="light"] body[data-page="compound"] .variant-chip__per-unit,
html[data-theme="light"] body[data-page="compound"] .variant-chip input:checked + .variant-chip__label .variant-chip__per-unit,
html[data-theme="light"] body[data-page="compound"] .variant-chip .togo-lead,
html[data-theme="light"] body[data-page="compound"] .variant-chip input:checked + .variant-chip__label .togo-lead {
  color: var(--color-text-muted) !important;
}

html[data-theme="light"] body[data-page="compound"] .variant-chip__best {
  background: color-mix(in srgb, var(--color-accent) 10%, #fff 90%) !important;
  border-color: color-mix(in srgb, var(--color-accent) 42%, rgba(10, 10, 12, .12)) !important;
  color: color-mix(in srgb, var(--color-accent) 72%, #111 28%) !important;
}

body[data-page="compound"] .variant-chip[data-best-value="true"] {
  outline: 0 !important;
  box-shadow: none !important;
}

body[data-page="compound"] .variant-chip[data-best-value="true"] .variant-chip__label {
  border-color: color-mix(in srgb, var(--color-accent) 42%, var(--color-border)) !important;
  box-shadow:
    inset 2px 0 0 color-mix(in srgb, var(--color-accent) 72%, transparent),
    0 1px 2px rgba(0, 0, 0, .10) !important;
}

html[data-theme="light"] body[data-page="compound"] .variant-chip[data-best-value="true"] .variant-chip__label {
  border-color: color-mix(in srgb, var(--color-accent) 38%, rgba(10, 10, 12, .16)) !important;
  box-shadow:
    inset 2px 0 0 color-mix(in srgb, var(--color-accent) 62%, transparent),
    0 1px 2px rgba(20, 18, 12, .05) !important;
}

html[data-theme="light"] body[data-page="compound"] .price-block__stock .togo-lead--in-stock,
html[data-theme="light"] body[data-page="compound"] .price-block__stock .togo-lead--fresh-batch {
  color: #166534 !important;
}

html[data-theme="light"] body[data-page="compound"] .price-block__stock {
  color: #166534 !important;
}

body[data-page="compound"] .price-block__stock:has(.togo-lead)::before {
  content: none !important;
}

html[data-theme="light"] body[data-page="compound"] .volume-tiers__list .vt-save {
  color: #14532d !important;
  background: rgba(22, 101, 52, 0.12) !important;
  border: 1px solid rgba(22, 101, 52, 0.18) !important;
  font-weight: 800 !important;
}

body[data-page="compound"] .variant-chip input:checked + .variant-chip__label .variant-chip__size {
  color: var(--color-text) !important;
}

body[data-page="compound"] .variant-chip input:checked + .variant-chip__label .variant-chip__per-unit {
  color: var(--color-text-soft) !important;
}

body[data-page="compound"] .variant-chip input:checked + .variant-chip__label .togo-lead {
  color: var(--color-text-soft) !important;
}

body[data-page="compound"] .variant-chip[data-stock="in_stock"] .togo-variant-state {
  display: none !important;
}

body[data-page="compound"] .variant-chip__tooltip {
  width: max-content;
  max-width: min(260px, calc(100vw - 40px));
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  body[data-page="compound"] .variant-chip__tooltip {
    width: min(260px, calc(100vw - 40px)) !important;
    max-width: min(260px, calc(100vw - 40px)) !important;
    height: auto !important;
    min-height: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.24 !important;
    align-items: center !important;
  }
}

body[data-page="compound"] .variant-chip:hover .variant-chip__tooltip,
body[data-page="compound"] .variant-chip:focus-within .variant-chip__tooltip {
  display: inline-flex !important;
}

@media (min-width: 641px) and (max-width: 1023px) {
  body[data-page="compound"] .variant-chip__tooltip {
    max-width: min(240px, calc(100vw - 32px)) !important;
    white-space: normal !important;
    line-height: 1.32 !important;
    min-height: 42px !important;
    height: auto !important;
  }
}

/* 4. Trust-pills inline 4x2 vanaf 1024 */
@media (min-width: 1024px) {
  body[data-page="compound"] .tgp-trust-pills--inline {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* 5. Trust-pills label spacing op mobile */
@media (max-width: 640px) {
  body[data-page="compound"] .tgp-trust-pills__label strong {
    margin-bottom: 2px !important;
  }
}

@media (max-width: 380px) {
  body[data-page="compound"] .variant-picker__options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    row-gap: 9px !important;
  }
  body[data-page="compound"] .variant-chip__label {
    min-height: 70px !important;
    padding: 8px 9px !important;
  }
  body[data-page="compound"] .variant-chip__row--top {
    font-size: 12.5px;
  }
  body[data-page="compound"] .variant-chip__per-unit {
    font-size: 10.4px;
  }
  body[data-page="compound"] .togo-variant-state {
    flex: 0 0 7px;
    margin-left: 4px;
  }
  body[data-page="compound"] .variant-chip__save {
    display: none !important;
  }
}

@media (min-width: 381px) and (max-width: 640px) {
  body[data-page="compound"] .variant-picker__options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    row-gap: 12px !important;
  }
  body[data-page="compound"] .variant-chip__label {
    min-height: 92px;
    padding: 11px 12px !important;
  }
  body[data-page="compound"] .variant-chip__save {
    display: none !important;
  }
}

/* 6. Aliases-card mobile compactere chips */
@media (max-width: 640px) {
  body[data-page="compound"] .aliases-card {
    padding: 10px 12px;
  }
  body[data-page="compound"] .aliases-card__list {
    gap: 4px;
  }
}

/* 7. Reg-grid tiles equal height */
body[data-page="compound"] .reg-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 96px;
}

/* 8. Stacks-grid chevron alignment */
body[data-page="compound"] .stack-link__arrow {
  align-self: center;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  body[data-page="compound"] .stack-link__arrow {
    width: 14px;
    height: 14px;
  }
}

/* 9. Storage advice: forceer 2-col tussen 480-640 */
@media (min-width: 480px) and (max-width: 640px) {
  body[data-page="compound"] .pdp-storage-advice {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* 10. Storage advice cell border in light theme */
html[data-theme="light"] body[data-page="compound"] .pdp-storage-advice__cell {
  border-color: var(--color-border-strong) !important;
}

/* 11. Recently-viewed: stretch to fill desktop */
@media (min-width: 1024px) {
  body[data-page="compound"] #compound-recently-viewed.grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    justify-content: start;
  }
}

/* 12. Related products grid: equal-height + price-bottom */
body[data-page="compound"] #compound-related.grid-3 {
  align-items: stretch;
}
body[data-page="compound"] #compound-related .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
body[data-page="compound"] #compound-related .card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

body[data-page="compound"] #compound-related a.card.card--media .card__media {
  aspect-ratio: 1 / 1 !important;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.10), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.10)) !important;
}

body[data-page="compound"] #compound-related a.card.card--media .card__media img {
  object-fit: contain !important;
  object-position: center center !important;
  padding: clamp(8px, 1.4vw, 14px) !important;
  box-sizing: border-box !important;
}

body[data-page="compound"] #compound-related a.card.card--media .card__media::before {
  height: 24% !important;
  opacity: 0.72;
}

@media (max-width: 640px) {
  body[data-page="compound"] #compound-related-articles.grid-3 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body[data-page="compound"] #compound-related-articles.grid-3 > .card {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  body[data-page="compound"] #compound-related-articles.grid-3 > .card .card__body {
    min-height: 124px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  body[data-page="compound"] #compound-related-articles.grid-3 > .card .card__body-text {
    margin-top: auto;
  }
}

@media (min-width: 381px) and (max-width: 400px) {
  body[data-page="compound"] #compound-related-articles.grid-3 > .card .card__body {
    min-height: 169px;
  }
}

/* Buy-box density: status helper notes are aria-describedby copy, not primary
   visual content. Keep them accessible without adding scroll height. */
body[data-page="compound"] .price-block__note {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body[data-page="compound"] .price-block .pdp-trust-row {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

body[data-page="compound"] .price-block .pdp-trust-row li {
  min-height: 42px !important;
  padding: 8px 9px !important;
  gap: 7px !important;
  border-radius: 10px !important;
  font-size: 11.5px !important;
  line-height: 1.22 !important;
}

body[data-page="compound"] .price-block .pdp-trust-row svg {
  width: 14px !important;
  height: 14px !important;
}

body[data-page="compound"] .price-block__cta--row {
  display: flex !important;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body[data-page="compound"] #wishlist-btn {
  flex: 1 1 0 !important;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
  border-color: color-mix(in srgb, var(--color-border) 86%, transparent) !important;
  background: color-mix(in srgb, var(--color-bg-elevated) 90%, transparent) !important;
  color: var(--color-text-soft) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

body[data-page="compound"] #wishlist-btn:hover {
  border-color: color-mix(in srgb, var(--color-text-soft) 30%, var(--color-border)) !important;
  background: color-mix(in srgb, var(--color-surface) 82%, transparent) !important;
  color: var(--color-text) !important;
}

body[data-page="compound"] #wishlist-btn[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--color-accent) 38%, var(--color-border)) !important;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--color-accent) 7%, var(--color-bg-elevated)),
    color-mix(in srgb, var(--color-bg-elevated) 94%, transparent)
  ) !important;
  color: var(--color-text) !important;
  box-shadow:
    inset 2px 0 0 color-mix(in srgb, var(--color-accent) 70%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body[data-page="compound"] #pdp-compare-btn {
  flex: 0 0 48px;
  width: 48px;
  min-width: 48px;
  padding-inline: 0 !important;
  justify-content: center;
}

/* PDP media heart: global tap-target layers can change width/min-height at
   different breakpoints. Keep the floating hero action mathematically round. */
body[data-page="compound"] .pdp-heart {
  inline-size: 44px !important;
  block-size: 44px !important;
  width: 44px !important;
  height: 44px !important;
  min-inline-size: 44px !important;
  min-block-size: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  aspect-ratio: 1 / 1;
  padding: 0 !important;
  border-radius: 50% !important;
  box-sizing: border-box;
  flex: 0 0 44px;
}

body[data-page="compound"] .pdp-heart svg {
  inline-size: 18px;
  block-size: 18px;
  flex: 0 0 18px;
}

body[data-page="compound"] .togo-inv-banner__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

body[data-page="compound"] .togo-inv-banner__head .togo-inv-banner__title {
  min-width: 0;
}

body[data-page="compound"] .togo-inv-banner__toggle {
  display: none;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 48%, var(--color-border) 52%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 10%, var(--color-bg-elevated) 90%);
  color: var(--color-text);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

body[data-page="compound"] .togo-inv-banner__details {
  display: contents;
}

/* 13. Reviews stars: vertical center fix */
body[data-page="compound"] .tgr-aggregate__stars {
  line-height: 1 !important;
  transform: translateY(-2px);
}

/* PDP information density: deep reference sections stay available, but they
   no longer force the page into a research scrollwall by default. */
body[data-page="compound"] .pdp-detail-section .section__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 6px;
  margin-bottom: 0;
}

body[data-page="compound"] .pdp-detail-section {
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
  padding-block: clamp(34px, 3vw, 44px);
}

body[data-page="compound"] .pdp-detail-section .section__eyebrow,
body[data-page="compound"] .pdp-detail-section .section__title,
body[data-page="compound"] .pdp-detail-section .section__lead,
body[data-page="compound"] .pdp-detail-section .pdp-detail-kicker {
  grid-column: 1;
  min-width: 0;
}

body[data-page="compound"] .pdp-detail-kicker {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--color-text-muted);
}

body[data-page="compound"] .pdp-detail-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-bg-elevated) 86%, transparent);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
}

body[data-page="compound"] .pdp-detail-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 160ms var(--ease-out, ease-out);
}

body[data-page="compound"] .pdp-detail-section[data-pdp-collapsed="false"] .pdp-detail-toggle svg {
  transform: rotate(180deg);
}

body[data-page="compound"] .pdp-detail-section[data-pdp-collapsed="true"] .pdp-detail-body {
  display: none !important;
}

body[data-page="compound"] .pdp-detail-section[data-pdp-collapsed="false"] .pdp-detail-body {
  display: block;
  margin-top: clamp(18px, 2vw, 24px);
}

@media (max-width: 900px) {
  body[data-page="compound"] .pdp-detail-section {
    padding-block: 0 !important;
    border-top: 1px solid color-mix(in srgb, var(--color-border) 76%, transparent);
  }

  body[data-page="compound"] .pdp-detail-section > .container {
    padding-block: 0;
  }

  body[data-page="compound"] .pdp-detail-section .section__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
    margin-bottom: 0;
    padding-block: 15px;
  }

  body[data-page="compound"] .pdp-detail-section .section__eyebrow,
  body[data-page="compound"] .pdp-detail-section .section__title,
  body[data-page="compound"] .pdp-detail-section .section__lead,
  body[data-page="compound"] .pdp-detail-section .pdp-detail-kicker {
    grid-column: 1;
    min-width: 0;
  }

  body[data-page="compound"] .pdp-detail-section .section__title {
    font-size: clamp(18px, 4.7vw, 23px);
    line-height: 1.06;
  }

  body[data-page="compound"] .pdp-detail-section .section__lead {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  body[data-page="compound"] .pdp-detail-section[data-pdp-collapsed="true"] .section__lead,
  body[data-page="compound"] .pdp-detail-section[data-pdp-collapsed="true"] .section__eyebrow,
  body[data-page="compound"] .pdp-detail-section[data-pdp-collapsed="true"] .pdp-detail-kicker {
    display: none !important;
  }

  body[data-page="compound"] .pdp-detail-section[data-pdp-collapsed="true"] .section__title {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body[data-page="compound"] .pdp-detail-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
  }

  body[data-page="compound"] .pdp-detail-section[data-pdp-collapsed="true"] .pdp-detail-body {
    display: none !important;
  }

  body[data-page="compound"] .pdp-detail-section[data-pdp-collapsed="false"] .pdp-detail-body {
    display: block;
    margin-top: 0;
    padding-bottom: 18px;
  }
}

@media (max-width: 480px) {
  body[data-page="compound"] .pdp-detail-section .section__head {
    grid-template-columns: minmax(0, 1fr) 38px;
    column-gap: 10px;
    padding-block: 13px;
  }

  body[data-page="compound"] .pdp-detail-toggle {
    grid-column: 2;
    grid-row: 1 / span 3;
    justify-self: end;
    align-self: center;
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
  }

  body[data-page="compound"] .pdp-detail-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  body[data-page="compound"] .pdp-detail-toggle svg {
    width: 15px;
    height: 15px;
  }

  body[data-page="compound"] .pdp-detail-section[data-pdp-collapsed="true"] .section__title {
    -webkit-line-clamp: 3;
  }
}

/* 14. Reviews stars op mobile: meer letter-spacing voor leesbaarheid */
@media (max-width: 640px) {
  body[data-page="compound"] .tgr-aggregate__stars {
    letter-spacing: 1.5px !important;
  }
}

/* 15. Sticky-bar safe-area + bottom-nav clearance */
body[data-page="compound"] .sticky-bar,
body[data-page="compound"] #sticky-bar {
  left: 50% !important;
  right: auto !important;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  width: min(820px, calc(100vw - 48px)) !important;
  border: 1px solid color-mix(in srgb, var(--color-border) 72%, rgba(255, 255, 255, .18)) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  transform: translate(-50%, calc(100% + 28px)) !important;
  background:
    linear-gradient(180deg, rgba(24, 24, 27, .98), rgba(7, 7, 8, .98)) !important;
  color: #fff !important;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, .34),
    0 0 0 1px rgba(255, 255, 255, .04) inset !important;
}

body[data-page="compound"] .sticky-bar.is-visible,
body[data-page="compound"] #sticky-bar.is-visible {
  transform: translate(-50%, 0) !important;
}

body[data-page="compound"] .sticky-bar__inner {
  width: 100%;
  box-sizing: border-box;
}

body[data-page="compound"] .sticky-bar__name,
body[data-page="compound"] .sticky-bar__price {
  color: #fff !important;
}

body[data-page="compound"] .sticky-bar__variant {
  color: rgba(255, 255, 255, .72) !important;
}

html[data-theme="light"] body[data-page="compound"] .sticky-bar,
html[data-theme="light"] body[data-page="compound"] #sticky-bar {
  border-color: rgba(184, 37, 47, .32) !important;
  background:
    linear-gradient(180deg, rgba(26, 25, 27, .98), rgba(8, 8, 9, .98)) !important;
  color: #fff !important;
}

body[data-page="compound"] #togo-pdp-totop {
  inline-size: 44px !important;
  block-size: 44px !important;
  width: 44px !important;
  height: 44px !important;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding: 0 !important;
  border-radius: 50% !important;
  box-sizing: border-box;
  display: grid;
  place-items: center;
}

/* PDP fixed controls share one measured bottom offset from TogoFloaters. */
body[data-page="compound"] #togo-feedback-fab {
  bottom: var(--togo-feedback-bottom, 18px) !important;
}

@media (min-width: 881px) {
  body[data-page="compound"].sticky-bar-active #togo-feedback-fab {
    bottom: max(var(--togo-feedback-bottom, 18px), 124px) !important;
  }

  @media (max-width: 1100px) {
    body[data-page="compound"].pdp-purchase-in-view #togo-feedback-fab,
    body[data-page="compound"].sticky-bar-active #togo-feedback-fab {
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
      transform: translateY(8px) !important;
    }
  }

  body[data-page="compound"]:has(#sticky-bar.is-visible) #togo-pdp-totop {
    bottom: 168px !important;
  }

  body[data-page="compound"].sticky-bar-active #togo-pdp-totop {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
  }

  body[data-page="compound"].pdp-fixed-layer-suppressed #togo-pdp-totop {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 880px) {
  body[data-page="compound"] .sticky-bar,
  body[data-page="compound"] #sticky-bar {
    left: clamp(12px, 3.5vw, 16px) !important;
    right: clamp(12px, 3.5vw, 16px) !important;
    bottom: calc(var(--tgp-mn-height, 64px) + 10px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    border-radius: 18px !important;
    transform: translateY(calc(100% + 18px)) !important;
    background:
      linear-gradient(180deg, #151518 0%, #070708 100%) !important;
    border-top: 1px solid color-mix(in srgb, var(--color-accent) 42%, rgba(255,255,255,.18)) !important;
    box-shadow:
      0 -1px 0 rgba(255, 255, 255, .08) inset,
      0 -18px 44px rgba(0, 0, 0, .28) !important;
    color: #fff !important;
    isolation: isolate;
  }

  body[data-page="compound"] .sticky-bar.is-visible,
  body[data-page="compound"] #sticky-bar.is-visible {
    transform: translateY(0) !important;
  }

  body[data-page="compound"].sticky-bar-active .sticky-bar,
  body[data-page="compound"].sticky-bar-active #sticky-bar {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body[data-page="compound"].sticky-bar-active #togo-feedback-fab {
    bottom: max(var(--togo-feedback-bottom, 82px), 98px) !important;
  }

  body[data-page="compound"]:has(#sticky-bar.is-visible) {
    padding-bottom: calc(var(--tgp-mn-height, 64px) + env(safe-area-inset-bottom, 0px) + 102px) !important;
  }

  body[data-page="compound"]:has(#sticky-bar.is-visible) #togo-pdp-totop {
    bottom: calc(var(--tgp-mn-height, 64px) + env(safe-area-inset-bottom, 0px) + 154px) !important;
  }

  body[data-page="compound"]:has(#sticky-bar.is-visible) .tgp-back-to-top {
    bottom: calc(var(--tgp-mn-height, 64px) + env(safe-area-inset-bottom, 0px) + 218px) !important;
  }

  body[data-page="compound"].pdp-purchase-in-view:not(.sticky-bar-active) #togo-pdp-totop,
  body[data-page="compound"].pdp-purchase-in-view:not(.sticky-bar-active) .tgp-back-to-top,
  body[data-page="compound"].pdp-purchase-in-view:not(.sticky-bar-active) #togo-feedback-fab {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body[data-page="compound"].sticky-bar-active #togo-pdp-totop,
  body[data-page="compound"].sticky-bar-active .tgp-back-to-top {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
  }

  body[data-page="compound"].pdp-purchase-in-view:not(.sticky-bar-active) .tgp-mobile-nav {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(calc(100% + env(safe-area-inset-bottom, 0px))) !important;
  }

  body[data-page="compound"].sticky-bar-active .tgp-mobile-nav {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(calc(100% + env(safe-area-inset-bottom, 0px))) !important;
  }

  body[data-page="compound"].pdp-fixed-layer-suppressed .tgp-mobile-nav,
  body[data-page="compound"].pdp-fixed-layer-suppressed #togo-pdp-totop,
  body[data-page="compound"].pdp-fixed-layer-suppressed .tgp-back-to-top,
  body[data-page="compound"].pdp-fixed-layer-suppressed #togo-feedback-fab {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

}

body[data-page="compound"] #togo-feedback-fab[data-floater-suppressed="footer"] {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px) !important;
}

@media (max-width: 640px) {
  body[data-page="compound"] .sticky-bar__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px !important;
    min-height: 56px;
    padding: 7px 9px !important;
  }

  body[data-page="compound"] .sticky-bar__left {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px !important;
    align-items: center;
  }

  body[data-page="compound"] .sticky-bar__img {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    background: radial-gradient(circle at 50% 40%, rgba(184, 37, 47, .2), rgba(255,255,255,.04)) !important;
  }

  body[data-page="compound"] .sticky-bar__name {
    color: #fff !important;
    font-size: 12.5px !important;
    line-height: 1.15;
  }

  body[data-page="compound"] .sticky-bar__variant {
    color: rgba(255, 255, 255, .68) !important;
  }

  body[data-page="compound"] .sticky-bar__right {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 7px !important;
    min-width: 0;
  }

  body[data-page="compound"] .sticky-bar__price {
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    line-height: 1;
    white-space: nowrap;
  }

  body[data-page="compound"] .sticky-bar__right .btn {
    min-width: 92px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    box-shadow: 0 8px 20px rgba(184, 37, 47, .22) !important;
  }

  @media (max-width: 380px) {
    body[data-page="compound"] .sticky-bar__right {
      gap: 6px !important;
    }

    body[data-page="compound"] .sticky-bar__right .btn {
      min-width: 88px !important;
      padding-inline: 10px !important;
    }
  }
}

@media (max-width: 640px) {
  body[data-page="compound"] #compound-order-trust {
    padding-block: 16px 18px !important;
  }

  body[data-page="compound"] #compound-order-trust > .container {
    display: grid;
    gap: 10px;
  }

  body[data-page="compound"] #compound-order-trust .tgp-trust-pills--inline {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 0 !important;
    overflow: visible;
  }

  body[data-page="compound"] #compound-order-trust .tgp-trust-pills__pill {
    min-width: 0;
    min-height: 0;
    padding: 8px 9px !important;
    align-items: flex-start;
    gap: 6px;
  }

  body[data-page="compound"] #compound-order-trust .tgp-trust-pills__icon {
    width: 14px;
    height: 14px;
  }

  body[data-page="compound"] #compound-order-trust .tgp-trust-pills__label {
    display: block;
    min-width: 0;
    overflow: visible;
    -webkit-line-clamp: unset;
    font-size: 10.7px;
    line-height: 1.25;
  }

  body[data-page="compound"] #compound-order-trust .tgp-trust-pills__label strong {
    display: block;
    margin-bottom: 1px !important;
    font-size: 11px;
    line-height: inherit;
  }

  body[data-page="compound"] #compound-order-trust .tgp-trust-pills__label strong::after {
    content: " ";
  }

  body[data-page="compound"] #compound-order-trust .tgp-trust-pills__sub {
    display: none;
  }

  body[data-page="compound"] #compound-order-trust .tgp-policy-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px !important;
    margin: 0 !important;
  }

  body[data-page="compound"] #compound-order-trust .tgp-policy-cards__card {
    min-width: 0;
    padding: 9px 10px !important;
    gap: 9px;
    border-radius: 12px;
    align-items: flex-start;
  }

  body[data-page="compound"] #compound-order-trust .tgp-policy-cards__icon {
    width: 17px;
    height: 17px;
  }

  body[data-page="compound"] #compound-order-trust .tgp-policy-cards__body {
    display: grid;
    gap: 2px;
    min-width: 0;
    font-size: 11.4px;
    line-height: 1.32;
  }

  body[data-page="compound"] #compound-order-trust .tgp-policy-cards__body strong,
  body[data-page="compound"] #compound-order-trust .tgp-policy-cards__cta {
    font-size: 11.5px;
    line-height: 1.2;
  }

  body[data-page="compound"] #compound-order-trust .tgp-policy-cards__summary {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    color: color-mix(in srgb, var(--color-text-muted) 92%, var(--color-text) 8%);
  }

  body[data-page="compound"] #compound-order-trust .tgp-policy-cards__body {
    max-height: none;
    overflow: visible;
  }

  body[data-page="compound"] #compound-order-trust .tgp-trust-microcard {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px !important;
    margin: 0 !important;
    padding: 10px !important;
    border-radius: 12px;
  }

  body[data-page="compound"] #compound-order-trust .tgp-trust-microcard__body {
    display: block;
    min-width: 0;
    overflow: visible;
    -webkit-line-clamp: unset;
    font-size: 11px;
    line-height: 1.25;
  }

  body[data-page="compound"] #compound-order-trust .tgp-trust-microcard__meta {
    display: none !important;
  }

  body[data-page="compound"] #compound-order-trust .tgp-trust-microcard__cta {
    white-space: nowrap;
    font-size: 11px;
  }

  body[data-page="compound"] .price-block {
    padding: 12px !important;
  }
  body[data-page="compound"] .price-block__row {
    display: none !important;
  }
  body[data-page="compound"] .price-block__total {
    padding-block: 7px !important;
    margin-top: 0 !important;
  }
  body[data-page="compound"] .price-block__stock {
    margin-block: 5px !important;
  }
  body[data-page="compound"] .price-block > .price-block__cta:not(.price-block__cta--row) {
    margin-top: 10px !important;
  }
  body[data-page="compound"] .price-block > .price-block__cta:not(.price-block__cta--row) .btn--lg {
    min-height: 48px !important;
  }
  body[data-page="compound"] .pdp-ruo-disclaimer {
    display: block;
    overflow: visible;
    padding: 7px 9px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin-top: 8px !important;
  }
  body[data-page="compound"] .price-block__note {
    margin-top: 6px !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }
  body[data-page="compound"] .price-block .pdp-trust-row {
    display: none !important;
  }
  body[data-page="compound"] .price-block .pdp-stack-card {
    display: none !important;
  }
  body[data-page="compound"] .togo-inv-banner {
    gap: 7px !important;
    margin-top: 8px !important;
    padding: 10px 11px !important;
    border-radius: 12px !important;
  }
  body[data-page="compound"] .togo-inv-banner__title {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
  }
  body[data-page="compound"] .togo-inv-banner__lead {
    font-size: 11.5px !important;
    line-height: 1.36 !important;
  }
  body[data-page="compound"] .togo-inv-banner__pipeline {
    margin-top: 0 !important;
    padding: 6px 8px !important;
    font-size: 10.8px !important;
    line-height: 1.3 !important;
  }
  body[data-page="compound"] .togo-inv-banner__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  body[data-page="compound"] .togo-inv-banner[data-pdp-inv-density-ready="true"][data-pdp-inv-open="false"] .togo-inv-banner__details {
    display: none !important;
  }
  body[data-page="compound"] .togo-inv-banner[data-pdp-inv-open="true"] .togo-inv-banner__details {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  body[data-page="compound"] .togo-inv-restock {
    gap: 6px !important;
  }
  body[data-page="compound"] .togo-inv-restock__row {
    gap: 6px !important;
  }
  body[data-page="compound"] .togo-inv-restock__input,
  body[data-page="compound"] .togo-inv-restock__btn {
    min-height: 38px;
    padding: 8px 10px !important;
    font-size: 12.5px !important;
  }
  body[data-page="compound"] .pdp-trust-row {
    gap: 8px !important;
    margin-top: 12px !important;
  }
  body[data-page="compound"] .pdp-trust-row li {
    align-items: flex-start;
    gap: 7px;
    font-size: 11.5px !important;
    line-height: 1.25 !important;
  }
  body[data-page="compound"] .volume-tiers {
    margin-top: 7px !important;
    padding: 6px 8px !important;
  }
  body[data-page="compound"] .volume-tiers[data-pdp-volume-ready="true"] {
    padding: 6px 8px !important;
  }
  body[data-page="compound"] .volume-tiers__label {
    margin: 0 !important;
  }
  body[data-page="compound"] .volume-tiers__toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
  }
  body[data-page="compound"] .volume-tiers__toggle-copy {
    color: var(--color-text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
  }
  body[data-page="compound"] .volume-tiers__toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 160ms var(--ease-out, ease-out);
  }
  body[data-page="compound"] .volume-tiers[data-pdp-volume-open="true"] .volume-tiers__toggle svg {
    transform: rotate(180deg);
  }
  body[data-page="compound"] .volume-tiers__list {
    gap: 4px !important;
  }
  body[data-page="compound"] .volume-tiers[data-pdp-volume-ready="true"][data-pdp-volume-open="false"] .volume-tiers__list {
    display: none !important;
  }
  body[data-page="compound"] .volume-tiers__list li {
    font-size: 12px !important;
    line-height: 1.25 !important;
    gap: 8px;
  }
  body[data-page="compound"] .sticky-bar__inner {
    min-width: 0;
  }
  body[data-page="compound"] .sticky-bar__left {
    min-width: 0;
    flex: 1 1 auto;
  }
  body[data-page="compound"] .sticky-bar__right {
    gap: 8px;
    min-width: 0;
  }
  body[data-page="compound"] .sticky-bar__price {
    font-size: 15px !important;
  }
  body[data-page="compound"] .sticky-bar__variant {
    display: block !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-text-muted);
    font-size: 11.5px !important;
    line-height: 1.2;
    white-space: nowrap;
  }
  body[data-page="compound"] .sticky-bar__right .btn {
    min-height: 42px;
    padding-inline: 12px !important;
  }
}

/* 16. Buy-box light-mode shadow voor visuele elevation */
html[data-theme="light"] body[data-page="compound"] .price-block {
  box-shadow:
    0 1px 2px rgba(20, 18, 12, 0.04),
    0 8px 24px rgba(20, 18, 12, 0.03);
}

/* Desktop PDP buy-box: keep the decision area in one viewport by letting
   price summary and actions sit side-by-side instead of stacking everything. */
@media (min-width: 1024px) {
  body[data-page="compound"] #compound-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    column-gap: 16px;
    row-gap: 14px;
    align-items: start;
  }

  body[data-page="compound"] .variant-picker {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }

  body[data-page="compound"] .variant-picker__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    row-gap: 10px;
  }

  body[data-page="compound"] .variant-chip__label {
    min-height: 78px;
    align-content: start;
    padding: 10px 11px;
  }

  body[data-page="compound"] .variant-chip__size {
    font-size: 13.5px;
  }

  body[data-page="compound"] .variant-chip__per-unit {
    font-size: 10.8px;
  }

  body[data-page="compound"] .variant-chip__save {
    display: block;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    font-size: 10px;
    line-height: 1.18;
  }

  body[data-page="compound"] #compound-form > .field {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    gap: 8px;
  }

  body[data-page="compound"] #compound-form > .field .qty-stepper,
  body[data-page="compound"] #compound-form > .field .qty-stepper__input {
    width: 100%;
  }

  body[data-page="compound"] #compound-form > .price-block {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0;
  }

  body[data-page="compound"] #compound-form > #togo-inv-block {
    grid-column: 1;
    grid-row: 2;
    margin-block: 0 !important;
  }

  body[data-page="compound"] .price-block {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(260px, 1fr);
    column-gap: 16px;
    row-gap: 8px;
    align-items: start;
    padding: 16px !important;
  }

  body[data-page="compound"] .price-block__row,
  body[data-page="compound"] .price-block__total,
  body[data-page="compound"] .price-block__stock,
  body[data-page="compound"] #stock-panel {
    grid-column: 1;
  }

  body[data-page="compound"] .price-block__row {
    display: none !important;
  }

  body[data-page="compound"] .price-block__total {
    margin-top: 0;
    padding-block: 10px;
  }

  body[data-page="compound"] .price-block__stock {
    margin-block: 6px 0;
  }

  body[data-page="compound"] .price-block > .price-block__cta:not(.price-block__cta--row),
  body[data-page="compound"] .price-block > .pdp-ruo-disclaimer,
  body[data-page="compound"] .price-block > .price-block__cta--row {
    grid-column: 2;
  }

  body[data-page="compound"] .price-block > .price-block__cta:not(.price-block__cta--row) {
    grid-row: 1;
    margin-top: 0;
  }

  body[data-page="compound"] .pdp-ruo-disclaimer {
    grid-row: 2;
    display: block;
    overflow: visible;
    margin-top: 0 !important;
    padding: 8px 10px !important;
    font-size: 11.2px !important;
    line-height: 1.32 !important;
  }

  body[data-page="compound"] .price-block__cta--row {
    grid-row: 3;
    margin-top: 0 !important;
  }

  body[data-page="compound"] .price-block .pdp-trust-row {
    grid-column: 1 / -1;
  }

  body[data-page="compound"] .price-block .pdp-trust-row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    margin-top: 4px !important;
  }

  body[data-page="compound"] .price-block .pdp-trust-row li {
    min-height: 36px !important;
    padding: 6px 8px !important;
    font-size: 10.5px !important;
    line-height: 1.22 !important;
  }

  body[data-page="compound"] .price-block .pdp-stack-card {
    grid-column: 1;
    margin-top: 2px !important;
    min-height: 0;
    padding: 9px 12px !important;
  }

  body[data-page="compound"] .price-block .volume-tiers {
    grid-column: 2;
    margin-top: 2px !important;
  }
}

/* Tablet PDP buy-box: use the available width instead of stacking duplicate
   summary rows. This keeps the decision area compact without hiding variants,
   compliance copy, or trust signals. */
@media (min-width: 641px) and (max-width: 1023px) {
  body[data-page="compound"] #compound-form {
    grid-template-columns: minmax(0, 1fr) 136px;
    column-gap: 16px;
    row-gap: 14px;
  }

  body[data-page="compound"] .variant-picker__options {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
    row-gap: 9px !important;
  }

  body[data-page="compound"] .variant-chip__label {
    min-height: 76px !important;
    padding: 9px 10px !important;
  }

  body[data-page="compound"] .variant-chip__size {
    font-size: 13px;
  }

  body[data-page="compound"] .variant-chip__per-unit {
    font-size: 10.6px;
  }

  body[data-page="compound"] .variant-chip__save {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9.8px;
    line-height: 1.12;
  }

  body[data-page="compound"] .price-block {
    grid-template-columns: minmax(0, 0.92fr) minmax(260px, 1fr);
    row-gap: 8px;
    column-gap: 16px;
    padding: 16px !important;
  }

  body[data-page="compound"] .price-block__row {
    display: none !important;
  }

  body[data-page="compound"] .price-block__total {
    margin-top: 0 !important;
    padding-block: 10px !important;
  }

  body[data-page="compound"] .price-block__stock {
    margin-block: 6px 0 !important;
  }

  body[data-page="compound"] .pdp-ruo-disclaimer {
    display: block;
    overflow: visible;
    padding: 8px 10px !important;
    font-size: 11.2px !important;
    line-height: 1.32 !important;
  }

  body[data-page="compound"] .price-block .pdp-trust-row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    margin-top: 4px !important;
  }

  body[data-page="compound"] .price-block .pdp-trust-row li {
    min-height: 36px !important;
    padding: 6px 8px !important;
    font-size: 10.5px !important;
    line-height: 1.22 !important;
  }

  body[data-page="compound"] .price-block .pdp-stack-card {
    padding: 9px 12px !important;
    margin-top: 2px !important;
  }
}

@media (min-width: 641px) {
  body[data-page="compound"] #compound-form > .price-block {
    grid-column: 1 / -1;
    grid-row: 2 !important;
  }

  body[data-page="compound"] #compound-form > #togo-inv-block {
    grid-column: 1 / -1;
    grid-row: 3 !important;
  }
}

/* 17. Volume tiers: disclosure by default so the purchase card stays
   decision-focused. JS upgrades the existing list without changing data. */
body[data-page="compound"] .volume-tiers[data-pdp-volume-ready="true"] {
  padding: 8px 10px !important;
}

body[data-page="compound"] .volume-tiers__label {
  margin: 0 !important;
}

body[data-page="compound"] .volume-tiers__toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

body[data-page="compound"] .volume-tiers__toggle-copy {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body[data-page="compound"] .volume-tiers__toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 160ms var(--ease-out, ease-out);
}

body[data-page="compound"] .volume-tiers[data-pdp-volume-open="true"] .volume-tiers__toggle svg {
  transform: rotate(180deg);
}

body[data-page="compound"] .volume-tiers[data-pdp-volume-ready="true"][data-pdp-volume-open="false"] .volume-tiers__list {
  display: none !important;
}

/* PDP detail blocks are JS-collapsed into compact accordions. The global
   content-visibility placeholder reserves 600px offscreen, which creates
   false gaps and makes the mobile page feel zoomed/over-spaced. */
body[data-page="compound"] .pdp-detail-section,
body[data-page="compound"] .togo-pdp-arrows-section {
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
}

body[data-page="compound"] .togo-pdp-arrows-section {
  padding-block: 18px 24px !important;
}

body[data-page="compound"] .togo-pdp-arrows {
  margin-top: 0 !important;
}

html[data-theme="light"] body[data-page="compound"] .compound-hero__copy > .pdp-signals li {
  background: #fffaf3 !important;
  border-color: rgba(64, 55, 43, .18) !important;
  color: #332b22 !important;
}

html[data-theme="light"] body[data-page="compound"] .compound-hero__copy > .pdp-signals li[data-tone="ok"] {
  background: #edf8f1 !important;
  border-color: rgba(13, 95, 53, .32) !important;
  color: #0d5f35 !important;
}

html[data-theme="light"] body[data-page="compound"] .compound-hero__copy > .pdp-signals li svg {
  color: currentColor !important;
  opacity: .9;
}

@media (max-width: 640px) {
  body[data-page="compound"] .togo-pdp-arrows-section {
    padding-block: 12px 18px !important;
  }

  body[data-page="compound"] .togo-pdp-arrows {
    gap: 8px !important;
  }

  body[data-page="compound"] .togo-pdp-arrow {
    min-height: 58px;
    padding: 12px 14px !important;
    gap: 3px !important;
    border-radius: 12px !important;
  }
}

/* PDP mobile rhythm: keep the premium product story, but stop the hero from
   pushing the purchase decision just below the first viewport on phones. */
@media (max-width: 430px) {
  body[data-page="compound"] .compound-hero {
    gap: 12px !important;
  }

  body[data-page="compound"] .compound-hero__media {
    max-height: min(208px, 53vw) !important;
  }

  body[data-page="compound"] #compound-lead {
    font-size: 15.5px !important;
    line-height: 1.34 !important;
    margin-bottom: 0 !important;
  }

  body[data-page="compound"] .compound-hero__copy > .pdp-signals {
    gap: 4px !important;
    margin: 8px 0 10px !important;
  }

  body[data-page="compound"] .compound-hero__copy > .pdp-signals li {
    min-height: 20px;
    padding: 3px 6px !important;
    font-size: 10px !important;
  }

  body[data-page="compound"] .variant-picker__options {
    gap: 8px !important;
    row-gap: 8px !important;
  }

  body[data-page="compound"] .variant-chip__label {
    min-height: 66px !important;
    padding: 8px 10px !important;
  }
}

@media (max-width: 380px) {
  body[data-page="compound"] .compound-hero__media {
    max-height: min(198px, 52vw) !important;
  }

  body[data-page="compound"] #compound-lead {
    font-size: 15px !important;
    line-height: 1.32 !important;
  }

  body[data-page="compound"] .variant-chip__label {
    min-height: 64px !important;
    padding-inline: 9px !important;
  }
}

/* Mobile purchase summary: keep the buying decision compact without hiding
   compliance or volume-pricing details. */
@media (max-width: 640px) {
  body[data-page="compound"] .price-block {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(118px, .62fr) !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
    align-items: stretch !important;
    padding: 12px !important;
  }

  body[data-page="compound"] .price-block__total {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: stretch;
    min-width: 0;
    min-height: 48px;
    padding: 8px 10px !important;
  }

  body[data-page="compound"] .price-block__stock {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    align-self: start;
    max-width: 100%;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body[data-page="compound"] #stock-panel {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
  }

  body[data-page="compound"] .price-block > .price-block__cta:not(.price-block__cta--row) {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    min-width: 0;
    margin: 0 !important;
  }

  body[data-page="compound"] .price-block > .price-block__cta:not(.price-block__cta--row) .btn--lg {
    width: 100%;
    min-height: 48px !important;
    height: 100%;
    padding: 10px 8px !important;
    white-space: normal;
    line-height: 1.12;
  }

  body[data-page="compound"] .pdp-ruo-disclaimer {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    margin: 0 !important;
  }

  body[data-page="compound"] .price-block__cta--row {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
  }

  body[data-page="compound"] .price-block .volume-tiers {
    grid-column: 1 / -1 !important;
    grid-row: 6 !important;
    margin: 0 !important;
  }
}

/* Print: hide sticky cart + variants */
@media print {
  body[data-page="compound"] .sticky-bar,
  body[data-page="compound"] #sticky-bar,
  body[data-page="compound"] .variant-picker { display: none !important; }
}
