/* November 9, 2026: "More about it" product descriptions on the ritual pages (Sarah approved every word, doc 42) */
.more-btn { display: inline-block; margin-top: 4px; padding: 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-text); font-weight: 400; font-size: 13px; letter-spacing: .06em; color: var(--emerald);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.more-btn:hover { color: var(--pine); }
.more-btn:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 2px; }
.ritual-page .frame.frame-product .frame-label .more-row { display: block; }

dialog.product-more { width: min(560px, calc(100vw - 32px)); max-height: min(86vh, 860px); padding: 0; border: 1px solid var(--oat);
  border-radius: 14px; background: var(--linen); color: var(--forest); box-shadow: 0 24px 60px rgba(58, 61, 54, .25); overflow: hidden; }
dialog.product-more::backdrop { background: rgba(58, 61, 54, .5); }
.pm-scroll { max-height: min(86vh, 860px); overflow-y: auto; padding: 34px 30px 30px; box-sizing: border-box; }
.pm-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--pine); border-radius: 50%; }
.pm-close:hover { background: var(--oat); }
.pm-close:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
.pm-name { margin: 0 36px 10px 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; color: var(--pine); }
.pm-line { margin: 0 0 18px; font-family: var(--font-text); font-weight: 300; font-style: italic; font-size: 17px; line-height: 1.6; }
.pm-text, .pm-list, .pm-howto { font-family: var(--font-text); font-weight: 300; font-size: 15.5px; line-height: 1.65; }
.pm-text { margin: 0 0 14px; }
.pm-label { font-weight: 500; color: var(--pine); }
.pm-h { margin: 18px 0 6px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--pine); font-weight: 500; font-family: var(--font-text); }
.pm-list { margin: 0 0 14px; padding-left: 1.2em; }
.pm-list li { margin: 0 0 3px; }
.pm-list li::marker { color: var(--emerald); }
.pm-howto { margin: 6px 0 14px; padding: 14px 16px; background: var(--oat); border-radius: 10px; }
.pm-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--oat); font-family: var(--font-text); font-weight: 300; font-size: 15px; line-height: 1.6; opacity: .85; }
.pm-note em { font-style: italic; }
@media (max-width: 600px) {
  dialog.product-more { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 16px 16px 0 0; max-height: 88vh; }
  .pm-scroll { max-height: 88vh; padding: 30px 20px 26px; }
}
/* phones: product frames grow to fit their label and the "More about it" link */
@media (max-width: 600px) {
  .ritual-page .frame-grid .frame.frame-product { aspect-ratio: auto; min-height: 100%; justify-content: flex-start; padding: 16px 0 10px; }
  .ritual-page .frame-grid .frame.frame-product img.product-photo { height: 150px; width: auto; max-width: 80%; max-height: none; }
  .more-btn { padding: 8px 6px 4px; }
}
