/* One mobile composition; desktop keeps the existing product page. */
.gm { display: none; }
@media (max-width: 700px) {
  .pdp-mobile-layout > :not(.gm):not(.pdp-disc) { display: none !important; }
  .pdp-mobile-layout { padding: 0 !important; }
  .gm { display: block; padding-top: 86px; color: #302d28; background: #f7f4ed; font-family: var(--font-text); }
  .gm *, .gm *::before, .gm *::after { box-sizing: border-box; }
  .gm :is(h1,h2,h3,p,figure) { margin: 0; }
  .gm h1, .gm h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.025em; }
  .gm h1 { font-size: clamp(36px,9vw,48px); line-height: 1.05; }
  .gm h2 { font-size: 32px; line-height: 1.12; }
  .gm p { font-size: 14px; line-height: 1.55; }
  .gm-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gm-gallery::-webkit-scrollbar, .gm-steps::-webkit-scrollbar { display: none; }
  .gm-gallery figure { flex: 0 0 100%; height: 256px; scroll-snap-align: start; }
  .gm-product { background: #dbe4ec; display: grid; place-items: center; }
  .gm-product img { display: block; width: auto; height: 210px; max-width: 70%; object-fit: contain; }
  .gm-photo img { display: block; width: 100%; height: 100%; object-fit: contain; background: #e7e1d7; }
  .gm-gallery-nav { display: flex; justify-content: center; gap: 8px; padding: 0; }
  .gm-gallery-nav button { border: 0; background: none; border-bottom: 2px solid transparent; min-width: 44px; min-height: 40px; color: #405e81; font: 500 12px var(--font-text); cursor: pointer; }
  .gm-gallery-nav button[aria-pressed="true"] { border-color: #405e81; }
  .gm-buy { padding: 18px 24px 28px; }
  .gm-title > p { margin-top: 12px; font-size: 24px; }
  .gm-title > p span { font-size: 14px; color: #625e56; }
  .gm-format { color: #625e56; margin-top: 4px !important; }
  .gm-cta { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 20px; margin-top: 20px; color: #fff; background: #405e81; border: 1px solid #405e81; border-radius: 999px; font-size: 15px; text-decoration: none; }
  .gm-cta:hover { background: #fff; color: #405e81; }
  .gm .gm-prescribing { margin-top: 12px; font-size: 12px; line-height: 1.5; color: #625e56; }
  .gm-intro { margin-top: 20px; }
  .gm details { border-top: 1px solid #c9c2b6; }
  .gm summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 15px 0; font-size: 15px; line-height: 1.4; list-style: none; cursor: pointer; }
  .gm summary::-webkit-details-marker { display: none; }
  .gm summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); flex: none; margin-right: 3px; }
  .gm details[open] > summary::after { transform: rotate(225deg); }
  .gm details > p { padding: 0 0 16px; }
  .gm-benefits { padding: 32px 24px; background: #405e81; color: #fff; }
  .gm-benefits h2 { margin-bottom: 20px; }
  .gm-benefit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; padding: 16px 0; border-top: 1px solid #8296af; }
  .gm-benefit h3 { font: 500 15px/1.4 var(--font-text); color: #fff; }
  .gm-benefit p { color: #fff; font-size: 13px; line-height: 1.5; }
  .gm-story video { display: block; width: 100%; height: auto; aspect-ratio: 1900 / 1060; object-fit: contain; background: #e7e1d7; }
  .gm-story-copy { padding: 28px 24px; }
  .gm-story-copy h2 { max-width: 15ch; margin-bottom: 20px; }
  .gm-use { padding: 8px 0 32px; }
  .gm-use > h2, .gm-use > p { margin-inline: 24px; }
  .gm-use > p { margin-top: 12px; color: #625e56; }
  .gm-steps { display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; padding: 20px 24px 4px; scroll-snap-type: x mandatory; scroll-padding-left: 24px; scrollbar-width: none; }
  .gm-step { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
  .gm-step img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #e7e1d7; }
  .gm-step-photo { overflow: hidden; aspect-ratio: 1; }
  .gm-step-photo--site img { transform: scale(1.8); transform-origin: 25% 45%; }
  .gm-step details { border: 0; }
  .gm-faq { padding: 28px 24px; border-top: 1px solid #c9c2b6; }
  .gm-faq h2 { margin-bottom: 20px; }
  .gm-close { background: #e7e1d7; padding: 32px 24px; }
  .gm-close p { margin-top: 10px; }
  .gm :is(a,button,summary,[tabindex]):focus-visible { outline: 2px solid #405e81; outline-offset: 4px; }
}

@media (max-width:700px) { .gm-title .pdp-now { font-size:24px; color:inherit; } .gm-title .pdp-unit { margin-left:6px; } .gm-buy > p:not([class]) { margin-top:8px; font-size:12px; color:#625e56; } .gm-disclosure { padding:24px; font-size:12px; line-height:1.5; } .gm-disclosure p { font-size:12px; } .gm-step ul { padding:0 0 16px 20px; font-size:14px; line-height:1.55; } }

/* One shared mobile visit bar. Hidden bars are absent from keyboard navigation. */
.gm-sticky { display: none; }
@media (max-width: 700px) {
  .rh-sticky { display: none !important; }
  body.has-gm-sticky { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .gm-sticky:not([hidden]) { display: flex; }
  .gm-sticky { position: fixed; inset: auto 0 0; z-index: 60; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); background: #f7f4ed; border-top: 1px solid #c9c2b6; box-sizing: border-box; }
  .gm-sticky-name { font: 400 23px/1.1 var(--font-display); color: #302d28; min-width: 0; }
  .gm-sticky .gm-cta { margin: 0; min-height: 48px; padding: 12px 18px; flex-shrink: 0; font: 500 13px/1.2 var(--font-text); }
  .gm-sticky .gm-cta:focus-visible { outline: 2px solid #405e81; outline-offset: 3px; }
  .pdp-mobile-layout > .pdp-disc { display: block !important; padding: 24px; background: #f7f4ed !important; }
  .pdp-mobile-layout > .pdp-disc p { font-size: 12px; line-height: 1.6; color: #302d28; }
  .pdp-disc a { color: inherit; text-decoration: underline; }
}
