/* P02 Christmas decor page (working name My Merry Home). Same layout family as the My Star Letter product pages:
   wordmark + How it works, pill, headline with one outlined word, collage, one button, helper, price, legal line.
   Own stylesheet: no P01 styles touched. Bump the file name (decor-vN) on any change.
   Type and desktop layout match the My Star Letter product pages (v3/v4, 2026-10-11): DM Mono body and small caps-style labels, DM Serif
   Display italic headline 40px with one outlined word, Rubik Dirt wordmark, same sizes and letter-spacing. */
@font-face { font-family: "DM Mono"; src: url("/fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("/fonts/dm-serif-display-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Rubik Dirt"; src: url("/fonts/rubik-dirt.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root { --cream: #F6EFE4; --paper: #FFFBF4; --pine: #1F3A2E; --pine-2: #2F5A45; --berry: #9E2B25; --gold: #C49A3A; --ink: #2A2420; --muted: #6B5F55; }
* { box-sizing: border-box; margin: 0; }
html, body { background: var(--cream); color: var(--ink); }
body { font: 14px/1.55 "DM Mono", "Courier New", monospace; -webkit-text-size-adjust: 100%;
  background-image: linear-gradient(rgba(42,36,32,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(42,36,32,.05) 1px, transparent 1px); background-size: 22px 22px; }
.frame { min-height: 100dvh; max-width: 520px; margin: 0 auto; display: flex; flex-direction: column;
  padding: max(14px, env(safe-area-inset-top)) 22px max(16px, env(safe-area-inset-bottom)); }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.wordmark { font-family: "Rubik Dirt", "Arial Black", sans-serif; font-size: clamp(19px, 5.6vw, 23px); line-height: 1; letter-spacing: .5px; color: var(--pine); white-space: nowrap; }
.btn-how { height: 44px; padding: 0 14px; border-radius: 22px; border: 1.5px solid var(--pine); background: rgba(255,255,255,.7); color: var(--pine);
  font-family: inherit; font-size: 12px; letter-spacing: .8px; text-transform: uppercase; white-space: nowrap; flex: none; cursor: pointer; }
.screen { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.pill, h1 { align-self: flex-start; text-align: left; } .pill { margin-top: 12px; } h1 { margin-top: 2px; }
/* Like the product pages: pill and headline under the header, the collage takes the free height, button block at the bottom */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; background: var(--pine); color: #fff; border-radius: 17px; padding: 0 14px 0 6px;
  font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; }
.pill svg { width: 24px; height: 24px; flex: none; background: #fff; border-radius: 50%; padding: 2px; }
h1 { font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-weight: 400; color: var(--pine); font-size: 40px; line-height: 1; letter-spacing: .5px; text-wrap: balance; }
h1 .outline { color: var(--cream); -webkit-text-stroke: 1.3px var(--berry); }
.collage { flex: 1 1 auto; min-height: 0; display: flex; justify-content: center; align-items: center; gap: 6px; width: 100%; }
.snap { background: var(--paper); padding: 7px 7px 4px; border-radius: 3px; box-shadow: 0 8px 18px rgba(42,36,32,.15); width: 44%; max-width: 172px; position: relative; }
.snap img { display: block; width: 100%; height: auto; border-radius: 2px; }
.snap .tag { position: absolute; top: 12px; left: 12px; background: rgba(255,251,244,.92); color: var(--muted); font-size: 10.5px; letter-spacing: .4px; padding: 2px 6px; border-radius: 3px; }
.arrow { color: var(--gold); font-size: 26px; flex: none; }
.snap figcaption { font-size: 12px; letter-spacing: .4px; color: var(--muted); padding-top: 3px; }
.s1 { transform: rotate(-4deg) translateY(6px); } .s2 { transform: rotate(3deg); }
.snap::before { content: ""; position: absolute; top: -9px; left: 50%; width: 46px; height: 16px; margin-left: -23px; background: rgba(240,224,170,.85); transform: rotate(-3deg); }
.note { font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 4px; text-wrap: balance; }
.btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 0 16px; margin-top: 6px; border-radius: 12px;
  background: var(--berry); color: #fff; font-family: inherit; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1), background-color 340ms ease; }
.btn:hover { background: #8A241F; } .btn:active { transform: scale(.985); background: #6E1D19; transition-duration: 120ms; }
.helper { font-size: 14px; line-height: 1.45; color: var(--ink); text-wrap: balance; } .helper strong { font-weight: 500; color: var(--pine); }
.price { font-size: 13px; line-height: 1.4; color: var(--muted); text-wrap: balance; }
.legal-line { font-size: 12px; letter-spacing: .4px; color: var(--muted); } .legal-line a { color: var(--muted); }
.sheet { border: 0; padding: 26px 24px 30px; max-width: 520px; width: 100%; background: var(--paper); color: var(--ink); text-align: left;
  border-radius: 18px 18px 0 0; margin: auto auto 0; max-height: 85dvh; overflow: auto; }
.sheet::backdrop { background: rgba(31,26,22,.45); }
.sheet h2 { font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-weight: 400; color: var(--pine); font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
.sheet h3 { font-size: 10.5px; font-weight: 400; letter-spacing: 1.4px; text-transform: uppercase; margin-top: 16px; color: var(--pine); }
.sheet p, .sheet li { font-size: 14px; line-height: 1.5; margin-top: 4px; }
.steps { padding-left: 22px; } .steps li { margin-top: 8px; }
.small { font-size: 11px !important; text-align: center; color: var(--muted); margin-top: 16px !important; }
.close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; }
.pagelink { font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-size: 24px; word-break: break-all; margin: 10px 0; }
.small-btn { min-height: 48px; width: auto; padding: 0 22px; font-size: 12.5px; letter-spacing: 1.4px; }
.copied { font-weight: 500; color: var(--pine-2); margin-top: 12px; }
@media (min-width: 700px) { .sheet { border-radius: 18px; margin: auto; } }
/* Desktop: the product-page grid. Text column left (pill, headline, note, button, helper, price, legal), photos right. */
@media (min-width: 900px) {
  .frame { max-width: 1180px; padding: 30px 80px 26px; }
  .wordmark { font-size: 40px; letter-spacing: 1px; }
  .screen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 60px; align-content: center; justify-items: start;
    text-align: left; gap: 0 60px; grid-template-areas: "pill collage" "head collage" "note collage" "cta collage" "helper collage" "price collage" "legal collage"; }
  .pill { grid-area: pill; margin-top: 0; }
  h1 { grid-area: head; margin-top: 18px; font-size: 64px; }
  h1 .outline { -webkit-text-stroke-width: 1.7px; }
  .note { grid-area: note; margin-top: 14px; font-size: 15px; }
  .btn { grid-area: cta; margin-top: 28px; min-height: 60px; font-size: 14px; }
  .helper { grid-area: helper; margin-top: 12px; font-size: 15px; }
  .price { grid-area: price; margin-top: 6px; font-size: 14px; }
  .legal-line { grid-area: legal; margin-top: 8px; }
  .collage { grid-area: collage; justify-self: stretch; align-self: center; min-height: 420px; gap: 14px; }
  .snap { max-width: 270px; padding: 10px 10px 6px; }
  .snap figcaption { font-size: 14px; } .snap .tag { font-size: 12px; top: 16px; left: 16px; }
  .arrow { font-size: 34px; }
}
@media (max-height: 760px) and (max-width: 899px) { .screen { gap: 6px; } h1 { font-size: 34px; } .snap { max-width: 128px; } .snap figcaption { font-size: 11px; }
  .note { margin-top: 8px; font-size: 11.5px; } .btn { min-height: 52px; } .helper { font-size: 13.5px; } .price { font-size: 12.5px; } }
@media (max-height: 600px) and (max-width: 899px) { .collage, .note { display: none; } }
