/* Layout rhythm: compact overviews, readable detail, and no clipped content. */
body.immersive-theme {
  --section-space: clamp(28px, 4.5svh, 48px);
  --section-heading: clamp(32px, 3.2vw, 48px);
  --content-gutter: clamp(20px, 5vw, 88px);
}
body.immersive-theme main > section:not(.experience) {
  scroll-margin-top: 76px;
  min-width: 0;
}
body.immersive-theme :is(.shop-section, .product-editorial, .formula-explorer, .story-section, .order-journey) {
  padding: var(--section-space) var(--content-gutter);
}
body.immersive-theme :is(.section-top h2, .product-editorial-header h2, .formula-intro h2, .story-copy h2, .faq-heading h2, .order-journey .order-journey-title) {
  font-size: var(--section-heading);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-block: 10px 12px;
  text-wrap: balance;
}
body.immersive-theme :is(.section-top > p, .product-editorial-header > p, .formula-intro > p, .story-copy > p) {
  font-size: 16px;
  line-height: 1.55;
  max-width: 54ch;
}
body.immersive-theme :is(.section-top, .product-editorial-header, .formula-explorer-heading, .order-journey-heading) {
  gap: 20px;
  margin-bottom: 20px;
}
body.immersive-theme .product-editorial-header > p { max-width: 40ch; }
body.immersive-theme :is(.product-profiles, .formula-explorer-grid, .story-main, .story-values, .order-journey-inner, .product-editorial-header) { max-width: 1440px; }
body.immersive-theme :is(.product-profile, .product-info, .formula-content, .story-copy, .story-contact, .faq-heading, .faq-list) { min-width: 0; }

/* Keep this short introduction in one comfortable desktop view. */
body.immersive-theme .manifesto-section { padding: var(--section-space) var(--content-gutter) 0; }
body.immersive-theme .manifesto-top { margin-bottom: 12px; }
body.immersive-theme .manifesto-capsule[data-brand] { --capsule-size: 56px; }
body.immersive-theme .manifesto-section h2 { font-size: clamp(36px, 5.1vw, 76px); line-height: 1.12; max-width: 1200px; }
body.immersive-theme .manifesto-bottom { margin: 20px 0 24px; grid-template-columns: minmax(0, 1fr) 200px 56px; gap: 22px; }
body.immersive-theme .manifesto-bottom p { font-size: 17px; line-height: 1.55; }
body.immersive-theme .store-art-play { padding-bottom: 4px; }
body.immersive-theme .store-art-play .store-art { height: 96px; }
body.immersive-theme .running-type { padding-block: 16px; }
body.immersive-theme .running-type > div { font-size: clamp(30px, 4vw, 54px); line-height: 1.15; }

/* A product and its purchase controls belong in the same view. */
body.immersive-theme .shop-toolbar { margin: 16px 0; }
body.immersive-theme .shop-footnote { margin-top: 16px; font-size: 16px; }
body.immersive-theme .product-grid { gap: 20px; }
body.immersive-theme .product-card { display: grid; grid-template-columns: minmax(130px, .65fr) minmax(0, 1fr); border: 1px solid #d6dacb; border-radius: 12px; overflow: hidden; background: #fcfcf5; }
body.immersive-theme .product-visual { height: 100%; min-height: 300px; border-radius: 0; }
body.immersive-theme .product-visual::before { width: 90%; height: auto; aspect-ratio: 1; left: 5%; top: 30%; }
body.immersive-theme .product-image,
body.immersive-theme .product-card[data-tone="blue"] .product-image { width: 85%; height: calc(100% - 114px); max-height: 330px; left: 7.5%; top: 58px; }
body.immersive-theme .product-category { left: 12px; right: 12px; top: 16px; font-size: 12px; letter-spacing: 0; text-align: center; }
body.immersive-theme .product-count { top: auto; bottom: 18px; left: 12px; right: auto; font-size: 12px; }
body.immersive-theme .product-visual-word { font-size: 44px; letter-spacing: -.04em; top: 42%; }
body.immersive-theme .product-quick-view { right: 12px; bottom: 44px; width: 44px; height: 44px; }
body.immersive-theme .product-info { padding: 20px; }
body.immersive-theme .product-heading { flex-wrap: wrap; gap: 4px 12px; }
body.immersive-theme .product-heading h3 { font-size: 28px; line-height: 1.1; letter-spacing: -.03em; }
body.immersive-theme .product-price { font-size: 16px; white-space: nowrap; }
body.immersive-theme .product-tagline { font-size: 16px; line-height: 1.45; margin-top: 10px; }
body.immersive-theme .product-description { font-size: 16px; line-height: 1.5; margin-top: 10px; }
body.immersive-theme .product-tags { gap: 4px; margin-top: 12px; }
body.immersive-theme .product-tags span { font-size: 12px; line-height: 1.4; padding: 4px 8px; }
body.immersive-theme .product-actions { flex-direction: column; align-items: stretch; gap: 4px; margin-top: 14px; }
body.immersive-theme .product-actions .button { min-width: 0; min-height: 44px; padding: 10px 14px; font-size: 16px; }
body.immersive-theme .product-actions .text-link { justify-content: space-between; min-height: 44px; font-size: 15px; }

/* Comparison cards show the essentials first; full education remains one tap away. */
body.immersive-theme .product-profiles { align-items: start; gap: 20px; }
body.immersive-theme .product-profile { padding: 20px 24px; }
body.immersive-theme .product-profile .profile-top { padding: 0; gap: 16px; }
body.immersive-theme .product-profile .mini-bottle-slot,
body.immersive-theme .product-profile .mini-bottle { width: 55px; height: 82px; flex-basis: 55px; }
body.immersive-theme .profile-product-name { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
body.immersive-theme .profile-product-name > .eyebrow { grid-column: 1; }
body.immersive-theme .profile-product-name > strong { grid-column: 1; font-size: 28px; }
body.immersive-theme .product-profile .profile-product-name .quick-add { grid-column: 2; grid-row: 1 / 3; margin: 0; align-self: center; }
body.immersive-theme .product-profile > h3 { font-size: clamp(23px, 2vw, 28px); line-height: 1.2; margin: 16px 0 10px; }
body.immersive-theme .product-profile > p { font-size: 16px; line-height: 1.55; }
body.immersive-theme .profile-details { padding: 12px 0; margin-top: 16px; gap: 12px; }
body.immersive-theme .profile-details dt { font-size: 14px; line-height: 1.4; margin-bottom: 3px; }
body.immersive-theme .profile-details dd { font-size: 17px; }
body.immersive-theme .product-profile > .profile-learn { margin-top: 8px; }
body.immersive-theme .profile-learn > summary,
body.immersive-theme .formula-benefits > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 10px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; line-height: 1.4; }
body.immersive-theme :is(.profile-learn, .formula-benefits) > summary::-webkit-details-marker { display: none; }
body.immersive-theme :is(.profile-learn, .formula-benefits) > summary::after { content: '+'; display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; font: 400 22px/1 var(--font-body); }
body.immersive-theme :is(.profile-learn, .formula-benefits)[open] > summary::after { content: '−'; }
body.immersive-theme :is(.profile-learn, .formula-benefits) > summary:focus-visible { outline: 3px solid #617a40; outline-offset: 3px; }
body.immersive-theme .profile-learn-body { padding-top: 6px; }
body.immersive-theme .profile-link { margin-top: 6px; padding: 10px 0 0; min-height: 44px; font-size: 16px; }
body.immersive-theme .profile-learn-body .blend-study { margin: 12px 0; }
body.immersive-theme .profile-learn-body .blend-study > summary { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; }
body.immersive-theme .profile-learn-body .blend-art { padding: 6px; }
body.immersive-theme .profile-learn-body .blend-art .store-art { height: 108px; }
body.immersive-theme .profile-learn-body .blend-caption { padding: 12px; border-top: 0; }
body.immersive-theme .profile-learn-body .blend-caption > strong { font-size: 19px; }
/* A sketch needs its own row inside the narrow three-column comparison cards. */
@media (min-width: 1000px) {
  body.immersive-theme .profile-learn-body .blend-study > summary { grid-template-columns: minmax(0, 1fr); }
  body.immersive-theme .profile-learn-body .blend-caption { border-top: 1px solid #d6ddca; }
}

/* The facts are compact; opening a row extends the document naturally. */
body.immersive-theme .formula-selection { min-width: 260px; max-width: 330px; }
body.immersive-theme .formula-selection > span { margin-bottom: 8px; }
body.immersive-theme .formula-explorer .formula-switch button { min-height: 44px; padding: 10px; font-size: 16px; }
body.immersive-theme .formula-intro > p { max-width: 60ch; }
body.immersive-theme .formula-explorer-grid { align-items: start; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; }
body.immersive-theme .formula-content { padding: 20px 24px; }
body.immersive-theme .formula-card-heading { gap: 12px; margin-bottom: 12px; }
body.immersive-theme .formula-card-heading h3 { font-size: 28px; margin: 4px 0; }
body.immersive-theme .formula-card-heading > div > p { font-size: 12px; }
body.immersive-theme .formula-count b { font-size: 28px; }
body.immersive-theme .formula-count span { font-size: 12px; }
body.immersive-theme .formula-tablet-art { width: 34px; height: 38px; }
body.immersive-theme .formula-benefits { border-block: 1px solid #d6ddca; margin: 0 0 10px; }
body.immersive-theme .formula-explore-cue { border: 0; padding: 4px 0 10px; font-size: 14px; }
body.immersive-theme .formula-ingredient-button { min-height: 62px; padding: 6px 0; gap: 10px; font-size: 19px; }
body.immersive-theme .formula-ingredient-art { flex: 0 0 42px; width: 42px; height: 46px; }
body.immersive-theme .formula-ingredient-label { gap: 2px; }
body.immersive-theme .formula-ingredient-label .ingredient-role { font-size: 13px; line-height: 1.35; }
body.immersive-theme .formula-explorer .formula-illustrated-table td { padding: 8px 0; font-size: 18px; }
body.immersive-theme .formula-explorer .formula-illustrated-table thead th { padding-bottom: 8px; }
body.immersive-theme .formula-label-link { margin-top: 12px; padding: 12px 16px; min-height: 44px; font-size: 16px; }
body.immersive-theme .formula-explorer-note { margin-top: 16px; font-size: 14px; line-height: 1.5; }
body.immersive-theme .formula-explorer-grid .formula-bottle { position: sticky; top: 90px; height: min(526px, calc(100svh - 106px)); max-height: none; min-height: 0; }
body.immersive-theme .formula-bottle-top { padding: 16px 22px 0; }
body.immersive-theme .formula-bottle-top h3 { margin-top: 4px; font-size: 26px; }
body.immersive-theme .formula-bottle-visual { flex: 1; min-height: 0; }
body.immersive-theme .formula-bottle-bottom { min-height: 82px; padding: 0 16px 12px; }

/* Secondary sections share the same typography and vertical rhythm. */
body.immersive-theme .story-main { gap: 5vw; }
body.immersive-theme .story-copy { padding-block: 12px; }
body.immersive-theme .story-brand { padding: 14px 24px; }
body.immersive-theme .story-contact-body { padding: 20px 24px 14px; }
body.immersive-theme .story-contact h3 { font-size: 28px; margin: 10px 0 4px; }
body.immersive-theme .story-contact-description { margin-top: 12px; line-height: 1.55; }
body.immersive-theme .story-contact-button { margin-top: 16px; min-height: 48px; padding-block: 8px; }
body.immersive-theme .story-values { margin-top: 24px; padding-top: 20px; gap: 24px; }
body.immersive-theme .story-value h3 { font-size: 20px; margin-bottom: 6px; }
body.immersive-theme .story-value p { font-size: 16px; line-height: 1.5; }
body.immersive-theme .order-journey-heading { align-items: center; }
body.immersive-theme .order-journey-welcome > p { font-size: 16px; line-height: 1.45; }
body.immersive-theme .order-journey-stage { padding: 18px 22px; }
body.immersive-theme .order-stage-art { height: 80px; margin: 10px 0; }
body.immersive-theme .order-stage-art .order-art { width: 140px; height: 92px; }
body.immersive-theme .order-journey .order-journey-stage h3 { font-size: 24px; margin-bottom: 8px; }
body.immersive-theme .order-journey-stage > p { line-height: 1.5; margin-bottom: 12px; }
body.immersive-theme .order-delivery-desk { padding: 16px 22px; margin-top: 16px; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 16px; }
body.immersive-theme .order-delivery-desk .store-delivery-art { width: 100px; min-width: 0; }
body.immersive-theme .order-delivery-desk .store-art { height: 70px; }
body.immersive-theme .order-delivery-desk > div > p:last-child { line-height: 1.5; }
body.immersive-theme .faq-section { padding-block: var(--section-space); gap: 6vw; }
body.immersive-theme .faq-list summary { min-height: 56px; padding-block: 14px; font-size: 18px; line-height: 1.4; }
body.immersive-theme .faq-list details p { font-size: 16px; line-height: 1.6; }
body.immersive-theme .faq-sketch { max-width: 220px; margin-top: 20px; }
body.immersive-theme .faq-sketch .store-art { height: 125px; }
body.immersive-theme .closing-inner { padding-block: var(--section-space); }
body.immersive-theme .closing-capsule[data-brand] { --capsule-size: 64px; }
body.immersive-theme .closing-inner h2 { font-size: clamp(36px, 5.3vw, 76px); line-height: 1.1; }
body.immersive-theme .site-footer { padding-top: var(--section-space); }
body.immersive-theme .footer-main { padding-bottom: 24px; }
body.immersive-theme .site-footer .footer-bottom { padding-top: 20px; }

/* Dialog content can scroll; the close control and product stay available. */
body.immersive-theme dialog { max-height: calc(100dvh - 24px); }
body.immersive-theme .dialog-header { padding-bottom: 16px; margin-bottom: 16px; }
/* Keep the close control outside the scrolling form, including with a phone keyboard. */
body.immersive-theme :is(.cart-dialog, .checkout-dialog)[open] { display: flex; flex-direction: column; overflow: hidden; }
body.immersive-theme :is(.cart-dialog, .checkout-dialog) > .dialog-header { flex: none; }
body.immersive-theme :is(#cart-content, #checkout-content) { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 4px; margin-inline: -4px; }
body.immersive-theme .cart-empty { padding-block: clamp(28px, 5svh, 44px); }
body.immersive-theme .product-dialog { width: min(1080px, calc(100% - 32px)); }
body.immersive-theme .detail-copy { padding: 28px; }
body.immersive-theme .detail-photo { height: min(550px, calc(100dvh - 24px)); }
body.immersive-theme .detail-copy > p { font-size: 16px; line-height: 1.6; }

/* Header clearance is counted once, including on two-row mobile navigation. */
html { scroll-padding-top: 0; }
body.immersive-theme .ingredient-explainer > p { font-size: 16px!important; line-height: 1.6!important; }
body.immersive-theme .formula-table thead small { font-size: 12px; font-weight: 400; }
body.immersive-theme .formula-ingredient-label .ingredient-role { margin-top: 0; }
@media (min-width: 1101px) {
  body.immersive-theme .product-editorial-header h2 br { display: none; }
  body.immersive-theme .product-editorial-header h2 { font-size: clamp(32px, 2.8vw, 42px); }
}
@media (min-width: 761px) {
  body.immersive-theme .formula-explorer .formula-intro h2 { font-size: 36px; margin-block: 6px; }
  body.immersive-theme .formula-explorer .formula-intro > p { font-size: 16px; margin: 0; max-width: none; }
  body.immersive-theme .formula-content { padding: 16px 22px; }
  body.immersive-theme .formula-card-heading { margin-bottom: 8px; }
  body.immersive-theme .formula-benefits { margin-bottom: 4px; }
  body.immersive-theme .formula-ingredient-button { min-height: 54px; padding-block: 4px; }
  body.immersive-theme .formula-ingredient-art { height: 40px; }
  body.immersive-theme .formula-explorer .formula-illustrated-table td { padding-block: 6px; }
  body.immersive-theme .formula-table thead th span { display: inline; margin-left: 4px; }
  body.immersive-theme .formula-label-link { padding-block: 10px; margin-top: 8px; }
  body.immersive-theme .formula-explorer-grid .formula-bottle { height: min(480px, calc(100svh - 106px)); }
}
@media (min-width: 761px) and (max-height: 800px) {
  body.immersive-theme { --section-space: 24px; --section-heading: clamp(32px, 3vw, 40px); }
  body.immersive-theme .formula-explorer { padding-block: 16px; }
  body.immersive-theme .formula-explorer-heading { margin-bottom: 14px; }
  body.immersive-theme .formula-explorer .formula-intro h2 { font-size: 32px; margin-block: 4px; }
  body.immersive-theme .formula-explorer .formula-intro > p { line-height: 1.5; }
  body.immersive-theme :is(.story-section, .order-journey) { padding-block: 20px; }
  body.immersive-theme .story-brand { padding-block: 10px; }
  body.immersive-theme .story-contact-body { padding-block: 16px 12px; }
  body.immersive-theme .story-contact-links { margin-top: 10px; }
  body.immersive-theme .story-values { margin-top: 18px; padding-top: 16px; }
  body.immersive-theme .order-stage-art { height: 60px; margin-block: 8px; }
  body.immersive-theme .order-stage-art .order-art { height: 70px; }
  body.immersive-theme .order-delivery-desk { padding-block: 12px; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  body.immersive-theme .product-card { grid-template-columns: minmax(0, 1fr); }
  body.immersive-theme .product-visual { height: clamp(180px, 30svh, 250px); min-height: 0; }
  body.immersive-theme .product-image,
  body.immersive-theme .product-card[data-tone="blue"] .product-image { top: 14px; height: calc(100% - 28px); }
  body.immersive-theme .product-count { bottom: 16px; }
  body.immersive-theme .product-quick-view { bottom: 14px; }
  body.immersive-theme .profile-product-name { display: flex; }
  body.immersive-theme .product-profile .profile-product-name .quick-add { align-self: flex-start; }
  body.immersive-theme .product-profile .profile-top { gap: 12px; }
  body.immersive-theme .formula-count { display: none; }
}
@media (max-width: 760px) {
  body.immersive-theme { --section-space: 32px; --section-heading: clamp(30px, 7.8vw, 40px); --content-gutter: clamp(18px, 5vw, 32px); }
  body.immersive-theme :is(.section-top, .product-editorial-header, .formula-explorer-heading) { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  body.immersive-theme :is(.section-top > p, .product-editorial-header > p) { margin: 0; }
  body.immersive-theme .manifesto-section h2 { font-size: clamp(34px, 8.5vw, 54px); }
  body.immersive-theme .manifesto-bottom { grid-template-columns: minmax(0, 1fr) 56px; gap: 16px; margin: 20px 0; }
  body.immersive-theme .manifesto-bottom > p { grid-column: 1 / -1; grid-row: 1; font-size: 16px; }
  body.immersive-theme .manifesto-bottom .store-art-play { grid-column: 1; grid-row: 2; max-width: 210px; margin-top: 0; }
  body.immersive-theme .manifesto-bottom .circle-link { grid-column: 2; grid-row: 2; }
  body.immersive-theme .product-grid { grid-template-columns: 1fr; gap: 24px; }
  body.immersive-theme .product-card { grid-template-columns: 1fr; }
  body.immersive-theme .product-visual { height: clamp(180px, 28svh, 250px); min-height: 0; }
  body.immersive-theme .product-image,
  body.immersive-theme .product-card[data-tone="blue"] .product-image { top: 12px; height: calc(100% - 24px); width: 60%; left: 20%; }
  body.immersive-theme .product-category { text-align: left; width: max-content; max-width: 45%; }
  body.immersive-theme .product-count { bottom: 16px; }
  body.immersive-theme .product-quick-view { bottom: 14px; }
  body.immersive-theme .product-info { padding: 18px; }
  body.immersive-theme .product-actions { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
  body.immersive-theme .product-actions .button { flex: 1 1 150px; }
  body.immersive-theme .product-actions .text-link { flex: 1 1 175px; white-space: nowrap; }
  body.immersive-theme .product-profiles { grid-template-columns: 1fr; }
  body.immersive-theme .product-profile { padding: 18px; }
  body.immersive-theme .profile-product-name { gap: 4px 8px; }
  body.immersive-theme .profile-product-name strong { font-size: 25px; }
  body.immersive-theme .product-profile .profile-product-name .quick-add { font-size: 14px; padding: 10px; gap: 5px; }
  body.immersive-theme .product-profile .mini-bottle-slot,
  body.immersive-theme .product-profile .mini-bottle { width: 46px; height: 70px; flex-basis: 46px; }
  body.immersive-theme .profile-learn-body .blend-study > summary { grid-template-columns: 100px minmax(0, 1fr); }
  body.immersive-theme .profile-learn-body .blend-caption > strong { font-size: 18px; }
  body.immersive-theme .formula-selection { width: 100%; min-width: 0; max-width: none; margin-top: 0; }
  body.immersive-theme .formula-explorer-grid { grid-template-columns: 1fr; gap: 18px; }
  body.immersive-theme .formula-explorer-grid .formula-bottle { position: relative; top: auto; height: clamp(290px, 46svh, 390px); }
  body.immersive-theme .formula-content { padding: 18px; }
  body.immersive-theme .formula-card-heading { flex-wrap: nowrap; }
  body.immersive-theme .formula-count { display: none; }
  body.immersive-theme .formula-title-row { justify-content: space-between; }
  body.immersive-theme .formula-card-heading > div:first-child { width: 100%; }
  body.immersive-theme .formula-ingredient-button { font-size: 17px; min-height: 70px; gap: 8px; }
  body.immersive-theme .formula-ingredient-art { flex-basis: 34px; width: 34px; height: 40px; }
  body.immersive-theme .formula-explorer .formula-illustrated-table th:first-child { width: 73%; }
  body.immersive-theme .formula-explorer .formula-illustrated-table td { font-size: 16px; }
  body.immersive-theme .formula-detail-inner { display: block; padding: 16px; }
  body.immersive-theme .formula-detail-art { display: none; }
  body.immersive-theme .story-main { grid-template-columns: 1fr; gap: 24px; }
  body.immersive-theme .story-copy { padding: 0; }
  body.immersive-theme .story-brand, body.immersive-theme .story-contact-body { padding: 18px 20px; }
  body.immersive-theme .story-values { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  body.immersive-theme .story-value { padding-block: 16px; }
  body.immersive-theme .story-value:last-child { padding-bottom: 0; }
  body.immersive-theme .story-value p { max-width: none; }
  body.immersive-theme .order-journey-heading { align-items: stretch; gap: 10px; }
  body.immersive-theme .order-journey-welcome { width: auto; }
  body.immersive-theme .order-journey-stage { padding: 20px; }
  body.immersive-theme .order-stage-art { margin: 0; }
  body.immersive-theme .order-stage-art .order-art { width: 100%; max-width: 130px; height: 80px; }
  body.immersive-theme .order-delivery-desk { grid-template-columns: 76px minmax(0, 1fr); padding: 18px; }
  body.immersive-theme .order-delivery-desk .store-delivery-art { grid-column: 1; width: 76px; }
  body.immersive-theme .order-delivery-desk .order-delivery-link { grid-column: 1 / -1; }
  body.immersive-theme .faq-section { display: block; width: auto; margin-inline: var(--content-gutter); }
  body.immersive-theme .faq-heading { margin-bottom: 24px; }
  body.immersive-theme .faq-heading h2 br { display: none; }
  body.immersive-theme .faq-sketch { display: none; }
  body.immersive-theme .faq-list summary { font-size: 17px; padding-block: 14px; }
  body.immersive-theme .closing-inner h2 { font-size: clamp(36px, 8vw, 58px); }
  body.immersive-theme .site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  body.immersive-theme .site-footer .supplement-note { padding-right: 54px; }
  body.immersive-theme .site-footer .footer-bottom > a { margin-right: 54px; }
  body.immersive-theme .footer-main .footer-payment { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 8px 16px; align-items: center; }
  body.immersive-theme .footer-payment > h3 { grid-column: 1 / -1; }
  body.immersive-theme .footer-payment .payment-sketch { width: 80px; margin: 0; }
  body.immersive-theme .footer-payment .payment-sketch .store-art { height: 64px; }
  body.immersive-theme .footer-payment > p { margin: 0; }
  body.immersive-theme .detail-photo { position: static; height: clamp(230px, 38svh, 320px); padding: 20px; }
  body.immersive-theme .detail-copy { padding: 24px 20px; }
  body.immersive-theme .product-dialog { width: calc(100% - 20px); }
}
@media (max-width: 380px) {
  /* Leave the ingredient name and amount intact; the specimen is decorative. */
  body.immersive-theme .formula-ingredient-art { display: none; }
  body.immersive-theme .profile-product-name { display: flex; }
  body.immersive-theme .product-profile .profile-product-name .quick-add { align-self: flex-start; }
  body.immersive-theme .profile-product-name strong { font-size: 26px; }
  body.immersive-theme .product-profile .profile-top { gap: 14px; }
  body.immersive-theme .profile-learn-body .blend-study > summary { grid-template-columns: 1fr; }
  body.immersive-theme .profile-details { grid-template-columns: 1fr 1fr; }
  body.immersive-theme .formula-ingredient-art { flex-basis: 28px; width: 28px; }
  body.immersive-theme .formula-ingredient-label .ingredient-role { font-size: 12px; }
}
@media (max-width: 480px) {
  body.immersive-theme main > section:not(.experience) { scroll-margin-top: 126px; }
}

/* The menu stays within the available screen, including phone landscape. */
body.immersive-theme .mobile-menu {
  position: fixed;
  bottom: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 901px) {
  body.immersive-theme .mobile-menu { display: none; }
}

.store-shortcuts { display: contents; }
.shortcut-label { display: none; }
@media (max-width: 1100px) {
  /* Give mobile shortcuts their own surface, clear of prices and reading text. */
  body.immersive-theme { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body.immersive-theme .store-shortcuts {
    position: fixed;
    inset: auto 0 0;
    z-index: 15;
    display: flex;
    gap: 12px;
    padding: 9px max(16px, env(safe-area-inset-right, 0px)) calc(9px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: #f7f7ee;
    border-top: 1px solid #d6dacb;
    box-shadow: 0 -3px 16px #17201108;
  }
  body.immersive-theme.in-experience .store-shortcuts { visibility: hidden; pointer-events: none; }
  body.immersive-theme .store-shortcuts > :is(.shop-float, .whatsapp-float) {
    position: static;
    display: flex;
    flex: 1;
    gap: 10px;
    width: auto;
    height: 44px;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    background: transparent;
    color: #172011;
    text-decoration: none;
    visibility: inherit;
    pointer-events: inherit;
    transform: none;
  }
  body.immersive-theme .store-shortcuts > a:hover { background: #e9eddf; }
  body.immersive-theme .store-shortcuts svg { flex: none; width: 44px; height: 44px; padding: 9px; border-radius: 50%; box-sizing: border-box; }
  body.immersive-theme .store-shortcuts .shop-float svg { background: #f5d616; color: #172011; }
  body.immersive-theme .store-shortcuts .whatsapp-float svg { background: #168a4b; color: #fff; }
  .store-shortcuts .shortcut-label { display: inline; font-size: 15px; font-weight: 600; }
  body.immersive-theme .toast { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body.immersive-theme .site-footer .supplement-note { padding-right: 0; }
  body.immersive-theme .site-footer .footer-bottom > a { margin-right: 0; }
  body.immersive-theme :is(main, .site-footer) :is(a, button, input, textarea, summary) { scroll-margin-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 761px) and (max-height: 500px) {
  body.immersive-theme .formula-explorer-grid .formula-bottle { position: relative; top: auto; height: 390px; }
}
