/* Product-specific mobile compositions. The desktop render is deliberately retained. */
.pdm-hero, .pdm-overview-section, .pdm-story, .pdm-purpose, .pdm-atlas,
.pdm-usage, .pdm-quality, .pdm-practical { display: none; }

@media (max-width: 1079.98px) {
  body[data-page="product"].product-mobile-ready .product-hero-grid,
  body[data-page="product"].product-mobile-ready .quick-facts,
  body[data-page="product"].product-mobile-ready .product-story-grid,
  body[data-page="product"].product-mobile-ready .benefit-bento,
  body[data-page="product"].product-mobile-ready .ingredient-atlas-grid,
  body[data-page="product"].product-mobile-ready .ritual-steps,
  body[data-page="product"].product-mobile-ready .quality-path,
  body[data-page="product"].product-mobile-ready .details-section .detail-drawer:not(.pdm-practical) { display: none; }
  body[data-page="product"].product-mobile-ready .pdm-hero,
  body[data-page="product"].product-mobile-ready .pdm-overview-section,
  body[data-page="product"].product-mobile-ready .pdm-story,
  body[data-page="product"].product-mobile-ready .pdm-purpose,
  body[data-page="product"].product-mobile-ready .pdm-atlas,
  body[data-page="product"].product-mobile-ready .pdm-usage,
  body[data-page="product"].product-mobile-ready .pdm-quality,
  body[data-page="product"].product-mobile-ready .pdm-practical { display: block; }

  body[data-page="product"] .section { padding-block: 38px; }
  body[data-page="product"] .section-intro { gap: 0; margin-bottom: 22px; }
  body[data-page="product"] .section-intro h2,
  body[data-page="product"] .ritual-heading h2,
  body[data-page="product"] .quality-band h2,
  body[data-page="product"] .detail-drawer-grid h2,
  body[data-page="product"] .faq-grid h2,
  body[data-page="product"] .section-head h2 { max-width: 22ch; margin-bottom: 14px; font-size: clamp(24px, 4.3vw, 30px); line-height: 1.16; }
  body[data-page="product"] .section-intro > p,
  body[data-page="product"] .ritual-heading > p,
  body[data-page="product"] .detail-drawer-grid > div > p,
  body[data-page="product"] .faq-grid > div > p { margin-bottom: 0; font-size: 14px; line-height: 1.7; }
  body[data-page="product"] .eyebrow { margin-bottom: 10px; font-size: 9px; letter-spacing: .1em; }
  body[data-page="product"] .pdm-hero { padding-block: 10px 20px; }
  body[data-page="product"] .pdm-hero > .breadcrumb { display: inline-flex; align-items: center; min-height: 30px; margin-bottom: 7px; color: var(--muted); font-size: 10px; line-height: 1.5; letter-spacing: .02em; }
  .pdm-pack-figure { min-width: 0; width: 100%; margin: 0; padding: 8px; overflow: hidden; background: var(--page-soft); border: 1px solid color-mix(in srgb, var(--page-accent) 13%, transparent); border-radius: 20px; }
  .pdm-pack-image { position: static; display: block; width: 100%; max-width: 100%; height: auto; max-height: 460px; aspect-ratio: 1; object-fit: contain; border-radius: 13px; transform: none; }
  body[data-page="product"] .pdm-overview-section { padding: 26px 0 30px; background: #fff; border-bottom: 1px solid var(--line); }
  .pdm-overview > .eyebrow { display: block; }
  body[data-page="product"] .pdm-product-title { max-width: 24ch; margin: 0 0 14px; font-size: clamp(28px, 4.8vw, 36px); line-height: 1.1; overflow-wrap: normal; }
  .pdm-hero-benefit { min-width: 0; max-width: 60ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
  body[data-page="product"] .pdm-overview .btn-row { margin-top: 20px; gap: 8px; }
  body[data-page="product"] .pdm-overview .btn { min-height: 44px; padding: 12px 14px; font-size: 9px; letter-spacing: .05em; }
  .pdm-overview-details { margin-top: 24px; padding-top: 3px; border-top: 1px solid var(--line); }
  .pdm-overview-details > .pdm-disclosure { border-bottom: 0; }
  .pdm-overview-details > .pdm-disclosure + .pdm-disclosure { border-top: 1px solid var(--line); }
  .pdm-overview-details .pdm-row-heading { font-size: 14px; }
  .pdm-overview-details .pdm-disclosure-body { padding-bottom: 20px; }
  .pdm-overview-details > :last-child .pdm-disclosure-body { padding-bottom: 0; }
  .pdm-overview .outcome-list { margin: 0; gap: 12px; }
  .pdm-overview .outcome-list li { font-size: 13px; line-height: 1.5; align-items: start; }
  .pdm-overview .outcome-list svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--forest-700); }
  .pdm-facts-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
  .pdm-facts-list > li { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 10px; min-width: 0; }
  .pdm-facts-list > li::before { content: ""; width: 6px; height: 6px; margin: 7px 0 0 6px; background: var(--forest-700); border-radius: 50%; }
  .pdm-fact-copy { min-width: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
  .pdm-fact-label { color: var(--ink); font-weight: 600; }

  .pdm-image-card { position: relative; isolation: isolate; min-height: 360px; display: flex; align-items: flex-end; margin: 0; overflow: hidden; color: #fff; background: #17251b; border-radius: 20px; }
  .pdm-card-image, .pdm-card-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
  .pdm-card-image { z-index: -2; object-fit: cover; object-position: center; }
  .pdm-card-shade { z-index: -1; background: linear-gradient(180deg, rgba(8,26,17,.01) 15%, rgba(8,26,17,.12) 36%, rgba(8,26,17,.82) 67%, #081a11 100%); }
  .pdm-card-caption { width: 100%; min-width: 0; padding: 24px 20px; }
  .pdm-card-caption > small { display: block; margin-bottom: 10px; color: #e1eadd; font-size: 9px; line-height: 1.5; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
  .pdm-card-caption h2, .pdm-card-caption h3 { margin-bottom: 12px; color: #fff; font-size: 23px; line-height: 1.15; overflow-wrap: break-word; }
  .pdm-card-caption > :last-child { margin-bottom: 0; }
  .pdm-card-caption p { max-width: 48ch; margin-bottom: 0; color: #f1f5ee; font-size: 14px; line-height: 1.7; }
  .pdm-story { min-width: 0; }
  body[data-page="product"] .pdm-story-title { max-width: 29ch; margin: 0 0 20px; font-size: clamp(23px, 4vw, 29px); line-height: 1.18; }
  .pdm-story-editorial { display: block; }
  .pdm-story-editorial > p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
  .pdm-story-media { width: 100%; aspect-ratio: 8 / 5; margin: 24px 0; overflow: hidden; border-radius: 18px; background: var(--page-soft); }
  .pdm-story-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .pdm-story blockquote { margin: 22px 0 0; padding: 0 0 0 15px; border-left: 2px solid var(--page-accent); color: var(--forest-900); font-size: 14px; font-weight: 600; line-height: 1.65; }
  .pdm-purpose > .pdm-disclosure { border-inline: 0; }
  .pdm-purpose > .pdm-disclosure:first-of-type { margin-top: 16px; border-top: 1px solid var(--line); }
  body[data-product="ashwagandha-mushroom-instant-coffee"] .pdm-purpose .pdm-card-image { object-position: 30% center; }
  .pdm-atlas-feature { min-height: 410px; }
  .pdm-atlas-feature .pdm-card-image { object-position: center 34%; }
  .pdm-atlas-feature .pdm-card-caption h3 { font-size: 23px; line-height: 1.15; }
  .pdm-image-card-plain { min-height: 260px; background: var(--page-accent); }
  .pdm-ingredient-list { margin-top: 18px; padding-inline: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
  .pdm-ingredient-list .pdm-disclosure:last-child { border-bottom: 0; }

  .pdm-disclosure { border-bottom: 1px solid var(--line); }
  .pdm-static-section { padding-top: 18px; }
  .pdm-static-heading { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 12px; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
  .pdm-row-index { flex: 0 0 20px; align-self: flex-start; padding-top: 3px; color: var(--page-accent); font-size: 9px; line-height: 1.5; font-weight: 600; }
  .pdm-row-heading { flex: 1 1 auto; min-width: 0; display: block; font-size: 15px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
  .pdm-row-heading small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 8px; line-height: 1.45; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
  .pdm-disclosure-body { padding: 0 0 18px; }
  .pdm-disclosure-body p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.7; }
  .pdm-disclosure-body > :last-child { margin-bottom: 0; }
  body[data-page="product"] .ritual-grid,
  body[data-page="product"] .quality-band-grid,
  body[data-page="product"] .detail-drawer-grid,
  body[data-page="product"] .faq-grid { grid-template-columns: 1fr; gap: 22px; }
  body[data-page="product"].product-mobile-ready .pdm-usage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; width: 100%; max-width: 660px; margin: 0; padding: 2px 0 0; list-style: none; }
  .pdm-usage-step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; min-width: 0; padding-bottom: 24px; }
  .pdm-usage-step:last-child { padding-bottom: 0; }
  .pdm-usage-step:not(:last-child)::before { content: ""; position: absolute; left: 19.5px; top: 46px; bottom: 6px; border-left: 1px solid color-mix(in srgb, var(--forest-700) 22%, transparent); }
  .pdm-step-marker { position: relative; z-index: 1; }
  .pdm-step-icon { display: grid; width: 40px; height: 40px; place-items: center; color: var(--forest-700); background: var(--white); border: 1px solid var(--line); border-radius: 50%; }
  .pdm-step-icon svg { display: block; width: 21px; height: 21px; }
  .pdm-step-copy { min-width: 0; }
  .pdm-step-number { flex: 0 0 auto; padding-top: 2px; color: var(--forest-700); font-size: 9px; font-weight: 600; line-height: 1.6; letter-spacing: .04em; }
  .pdm-usage-step h3 { display: flex; align-items: baseline; gap: 9px; margin: 0 0 7px; padding-top: 2px; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
  .pdm-usage-step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; overflow-wrap: normal; }
  .pdm-quality { border-top: 1px solid var(--line); }
  body[data-page="product"] .quality-band { padding-block: 38px; }
  body[data-page="product"] .quality-band h2 { margin-bottom: 14px; }
  body[data-page="product"] .quality-band .text-link { min-height: 40px; font-size: 9px; }
  .pdm-quality { border-color: rgba(255,255,255,.2); }
  .pdm-quality .pdm-disclosure { border-color: rgba(255,255,255,.18); }
  .pdm-quality .pdm-static-heading { color: #fff; }
  .pdm-quality .pdm-row-index { color: #b8c9b3; }
  .pdm-quality .pdm-disclosure-body p { color: #d7e0d3; }
  body[data-page="product"] .pdm-practical { box-shadow: none; border-radius: 16px; }
  body[data-page="product"] .pdm-practical-heading { margin: 0; padding: 18px 16px; font-size: 16px; line-height: 1.4; }
  body[data-page="product"] .pdm-practical dl { padding-inline: 16px; }
  body[data-page="product"] .pdm-practical dl > div { padding-block: 14px; }
  body[data-page="product"] .pdm-practical dd { font-size: 13px; line-height: 1.7; }
  body[data-page="product"] .faq-item summary { min-height: 58px; padding-block: 16px; font-size: 14px; line-height: 1.4; }
  body[data-page="product"] .faq-item p { font-size: 14px; line-height: 1.7; }
  body[data-page="product"] .related-section .section-head { margin-bottom: 20px; }
  body[data-page="product"] .related-section .section-head h2 { margin-bottom: 0; }
  body[data-page="product"] .related-section .section-head .text-link { min-height: 34px; font-size: 9px; }
  body[data-page="product"] .related-section .product-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(72vw, 260px); gap: 12px; padding: 0 16px 10px 0; margin-right: -16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #b8c9b3 transparent; }
  body[data-page="product"] .related-section .product-card { border-radius: 16px; scroll-snap-align: start; box-shadow: none; }
  body[data-page="product"] .related-section .product-art { min-height: 0; height: auto; padding: 6px; aspect-ratio: 1; }
  body[data-page="product"] .related-section .product-packshot { position: static; height: auto; object-fit: contain; border-radius: 10px; transform: none !important; }
  body[data-page="product"] .related-section .product-card-copy { padding: 14px 14px 9px; }
  body[data-page="product"] .related-section .product-kicker,
  body[data-page="product"] .related-section .product-card p { display: none; }
  body[data-page="product"] .related-section .product-card h3 { margin-bottom: 5px; font-size: 17px; line-height: 1.18; }
  body[data-page="product"] .related-section .text-link { min-height: 40px; padding-block: 4px; border: 0; font-size: 9px; letter-spacing: .05em; }
}

@media (max-width: 639px) {
  body[data-page="product"] .section { padding-block: 34px; }
  body[data-page="product"] .pdm-product-title { font-size: clamp(27px, 7.2vw, 32px); }
  .pdm-hero-benefit { font-size: 14px; line-height: 1.7; }
  .pdm-card-caption { padding: 22px 18px; }
  .pdm-card-caption h2, .pdm-card-caption h3 { font-size: 22px; }
  .pdm-card-caption p { font-size: 13px; }
  .pdm-atlas-feature { min-height: 410px; }
  .pdm-atlas-feature .pdm-card-caption h3 { font-size: 22px; }
}

@media (min-width: 640px) and (max-width: 1079.98px) {
  .pdm-hero { max-width: 620px; }
  .pdm-pack-figure { max-width: 520px; margin-inline: auto; }
  .pdm-pack-image { max-height: 440px; }
  .pdm-overview { max-width: 720px; }
  .pdm-hero-benefit { font-size: 15px; }
  .pdm-overview .btn-row { justify-content: flex-start; }
  .pdm-overview-details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .pdm-overview-details > .pdm-disclosure + .pdm-disclosure { border-top: 0; border-left: 1px solid var(--line); padding-left: 24px; }
  .pdm-story, .pdm-purpose, .pdm-atlas { max-width: 720px; margin-inline: auto; }
  .pdm-story-media { margin-block: 28px; border-radius: 20px; }
  .pdm-image-card { min-height: 400px; }
  .pdm-atlas-feature { min-height: 440px; }
  .pdm-card-caption { padding: 28px; }
  .pdm-card-caption h2, .pdm-card-caption h3 { max-width: 26ch; font-size: 27px; }
  .pdm-card-caption p { max-width: 50ch; }
  .pdm-usage-step { gap: 18px; padding-bottom: 26px; }
  .pdm-usage-step h3 { font-size: 16px; }
  .pdm-usage-step p { max-width: 62ch; font-size: 14px; }
  body[data-page="product"] .related-section .product-grid { grid-auto-columns: 230px; }
}

@media (max-width: 1079.98px) and (hover: hover) and (pointer: fine) {
  .pdm-pack-image, .pdm-story-photo, .pdm-card-image { transition: transform 240ms ease; }
  .pdm-pack-figure:hover .pdm-pack-image,
  .pdm-story-media:hover .pdm-story-photo,
  .pdm-image-card:hover .pdm-card-image { transform: scale(1.025); }
}

@media (max-width: 1079.98px) and (prefers-reduced-motion: reduce) {
  .pdm-pack-image, .pdm-story-photo, .pdm-card-image { transition: none; }
}
