/* NUMA — product page. Same palette, type and paper as the home page. */
:root {
  --sky: #A3B5CC;
  --background: #A6C6AD;
  --foreground: oklch(0.17 0.018 255);
  --paper: #efebe1;
  --ink: #23262c;
  --muted: color-mix(in oklab, var(--ink) 58%, transparent);
  --line: color-mix(in oklab, var(--ink) 18%, transparent);
  --rope: #839C89;
  --accent: #c8483a;
  --tint: #d4d2cc;
  --font-sans: "Montserrat", "Avenir Next", sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 1.5px solid var(--foreground); outline-offset: 3px; }

.eyebrow { margin: 0 0 .9rem; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.section-title { margin: 0; font-size: clamp(1.35rem, 2vw, 2.1rem); font-weight: 500; letter-spacing: .14em; line-height: 1.1; text-transform: uppercase; text-wrap: balance; }

/* ---------- top bar ---------- */
.pdp-top { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--pad);
  background: color-mix(in oklab, var(--background) 86%, transparent); backdrop-filter: blur(10px); }
.pdp-back { display: inline-flex; align-items: center; gap: .6rem; font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; justify-self: start; }
.pdp-back svg { width: 18px; height: 18px; transition: translate .2s; }
.pdp-back:hover svg { translate: -4px 0; }
.pdp-logo img { width: clamp(54px, 5vw, 76px); height: auto; }
.pdp-bag-btn { justify-self: end; display: inline-flex; align-items: center; gap: .55rem; padding: 0 6px 0 16px; height: 40px; border: 1px solid var(--foreground); border-radius: 999px; background: transparent;
  font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: background .2s, color .2s; }
.pdp-bag-btn b { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 999px; background: var(--foreground); color: var(--background); font-family: var(--font-mono); font-size: .7rem; letter-spacing: 0; }
.pdp-bag-btn:hover { background: var(--foreground); color: var(--background); }
.pdp-bag-btn:hover b { background: var(--background); color: var(--foreground); }
.pdp-bag-btn.is-bump b { animation: bump .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 40% { scale: 1.35; } }
@media (max-width: 560px) { .pdp-back span { display: none; } }

/* ---------- main: white page, gallery + info ---------- */
body.pdp { background: #fff; }
.pdp-top { background: color-mix(in oklab, #fff 88%, transparent); }
.pdp-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); gap: clamp(28px, 5vw, 88px); max-width: 1180px; margin: 0 auto; padding: clamp(10px, 2vw, 28px) var(--pad) clamp(60px, 8vw, 110px); align-items: start; color: #16171a; }

/* gallery */
.gallery { position: relative; display: grid; gap: clamp(22px, 3vw, 34px); }
.g-main { position: relative; }
.g-stage { position: relative; aspect-ratio: 1036 / 1438; max-height: calc(100svh - 150px); margin: 0 auto; overflow: hidden; border-radius: 8px; background: #97c5d9; touch-action: pan-y; }
.g-stage-btn { position: absolute; inset: 0; z-index: 3; width: 100%; padding: 0; border: 0; background: none; cursor: default; }
.g-stage.is-zoomable .g-stage-btn { cursor: zoom-in; }
.shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .45s ease; background: #97c5d9; }
.shot.is-on { opacity: 1; z-index: 1; }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; user-select: none; }
.shot--photo img { object-position: center 20%; }
.shot--flower video, .shot--flower img { object-fit: contain; object-position: center bottom; padding-top: 6%; }
.shot--flat { background: #f4f2ec; } .shot--flat img { object-fit: contain; padding: 8% 12%; }
.g-arrow { position: absolute; top: 50%; z-index: 4; display: grid; place-items: center; width: 44px; height: 44px; translate: 0 -50%; padding: 0; border: 0; border-radius: 999px;
  background: rgb(255 255 255 / .85); backdrop-filter: blur(6px); color: #16171a; box-shadow: 0 2px 10px rgb(0 0 0 / .08); transition: opacity .2s, background .2s; }
.g-arrow svg { width: 18px; height: 18px; }
.g-arrow:hover { background: #fff; }
.g-arrow--prev { left: 14px; } .g-arrow--next { right: 14px; }
@media (hover: hover) and (min-width: 901px) { .g-arrow { opacity: 0; } .g-main:hover .g-arrow, .g-arrow:focus-visible { opacity: 1; } }

/* paper notices: little printed sheets taped up, slightly curled */
.g-notes { display: flex; justify-content: center; gap: clamp(14px, 2vw, 22px); padding: 10px 6px 18px; overflow-x: auto; scrollbar-width: none; }
.g-notes::-webkit-scrollbar { display: none; }
.note { --r: 0deg; position: relative; flex: 0 0 auto; width: clamp(82px, 8.4vw, 108px); padding: 6px 6px 7px; border: 0; border-radius: 1px; background: #fbfaf6; cursor: pointer;
  rotate: var(--r); transform-origin: 50% 0; box-shadow: 0 1px 1px rgb(0 0 0 / .06), 0 6px 10px -6px rgb(0 0 0 / .25);
  transition: rotate .35s cubic-bezier(.3,1.4,.5,1), translate .3s, box-shadow .3s; }
/* lifted, curled bottom corners */
.note::before, .note::after { content: ""; position: absolute; z-index: -1; bottom: 7px; width: 46%; height: 18%; background: transparent; box-shadow: 0 9px 9px rgb(0 0 0 / .22); }
.note::before { left: 6px; rotate: -4deg; } .note::after { right: 6px; rotate: 4deg; }
/* the paper is very slightly warped: soft light across the sheet */
.note-pic { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #97c5d9; }
.note-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(255 255 255 / .18), transparent 35%, rgb(0 0 0 / .06) 70%, rgb(255 255 255 / .1)); pointer-events: none; }
.note-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.92); }
.note--flat .note-pic, .note--flower .note-pic { background: #f1eee6; }
.note--flat .note-pic img, .note--flower .note-pic img { object-fit: contain; padding: 8%; }
.note-cap { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: .5rem; letter-spacing: .02em; color: #6b6e75; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-tape { position: absolute; z-index: 2; left: 50%; top: -8px; width: 38%; height: 14px; translate: -50% 0; rotate: calc(var(--r) * -1.6); background: rgb(236 230 214 / .78);
  box-shadow: 0 1px 1px rgb(0 0 0 / .06); clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 96%, 0 50%); }
.note:hover { rotate: 0deg; translate: 0 -3px; }
.note[aria-current] { rotate: 0deg; translate: 0 -6px; box-shadow: 0 1px 1px rgb(0 0 0 / .06), 0 14px 18px -8px rgb(0 0 0 / .32); }
.note[aria-current] .note-cap { color: #16171a; font-weight: 700; }
.note[aria-current]::after, .note[aria-current]::before { box-shadow: 0 13px 11px rgb(0 0 0 / .24); }
.note:focus-visible { outline: 1.5px solid #16171a; outline-offset: 4px; }

/* info */
.buy { position: sticky; top: 84px; padding-top: 8px; }
.buy-ticket { display: flex; gap: 1rem; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px dashed #d9d9d9; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: #16171a; }
.buy-ticket span:first-child { font-weight: 700; letter-spacing: .2em; }
.buy-ticket span:last-child { margin-left: auto; color: #8b8e94; }
.buy-name { margin: 0; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: .12em; line-height: 1.15; text-transform: uppercase; text-wrap: balance; }
.buy-price { display: flex; align-items: baseline; gap: .7rem; margin: 12px 0 0; }
.buy-price b { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; }
.buy-price small { font-size: .62rem; font-weight: 500; color: #8b8e94; }
.buy-lead { margin: 16px 0 0; font-size: .88rem; line-height: 1.7; color: #3a3c41; }
.buy-lead b { font-weight: 700; color: #16171a; }
.opt { margin: 24px 0 0; }
.opt-label { margin: 0 0 10px; font-size: .82rem; color: #3a3c41; }
.opt-label b { font-weight: 700; color: #16171a; }
.fit-note { margin: 0; font-size: .8rem; line-height: 1.65; color: #5b5e64; }
.fit-note b { color: #16171a; font-weight: 600; }
.fit-note span { display: block; color: #8b8e94; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 46px; height: 46px; border-radius: 999px; overflow: hidden; outline: 1px solid #e3e3e3; transition: transform .2s; }
.swatch img { width: 100%; height: 100%; object-fit: cover; }
.swatch:hover { transform: translateY(-2px) rotate(-6deg); }
.swatch[aria-current] { outline: 1.5px solid #16171a; outline-offset: 3px; }
.print-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.custom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; flex: 1 1 210px; max-width: 270px; padding: 8px 14px 8px 10px; border: 1px solid #16171a; border-radius: 999px; text-decoration: none; color: #16171a; transition: background .2s, color .2s; }
.custom:hover, .custom:focus-visible { background: #16171a; color: #fff; }
.custom-swatches { display: flex; }
.custom-swatches img { width: 22px; height: 22px; border-radius: 999px; object-fit: cover; outline: 2px solid #fff; }
.custom-swatches img + img { margin-left: -8px; }
.custom-text b { display: block; font-size: .58rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.custom-text small { display: block; margin-top: 2px; font-size: .58rem; line-height: 1.4; opacity: .75; }
.custom-arrow { width: 16px; height: 16px; transition: translate .2s; }
.custom:hover .custom-arrow { translate: 4px 0; }
.add-btn { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 56px; margin-top: 26px; border: 0; border-radius: 999px; background: #111214; color: #fff; text-decoration: none;
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: background .2s, transform .15s; }
.add-btn:hover { background: #2b2d33; } .add-btn:active { transform: scale(.985); }
.add-btn__sep { width: 18px; height: 1px; background: currentColor; opacity: .5; }
#add-price { font-family: var(--font-mono); letter-spacing: 0; font-size: .82rem; }
.add-btn.is-added { background: var(--rope); color: #111214; }

/* delivery box */
.ship-box { margin: 22px 0 0; padding: 0; list-style: none; border: 1px solid #dcdcdc; border-radius: 12px; font-size: .8rem; color: #3a3c41; }
.ship-box li { display: flex; align-items: center; gap: 14px; padding: 15px 18px; }
.ship-box li + li { border-top: 1px solid #e6e6e6; }
.ship-box svg { width: 22px; height: 22px; flex: none; color: #16171a; }
.ship-box b { font-weight: 700; color: #16171a; }
.ship-box__main { align-items: flex-start !important; }
.ship-box__main > span { flex: 1; display: grid; gap: 3px; }
.ship-box__main small { font-size: .78rem; color: #5b5e64; }
.ship-box__free { margin-left: auto; }

/* accordions: bold labels, regular values */
.acc { margin-top: 28px; border-top: 1px solid #e3e3e3; }
.acc details { border-bottom: 1px solid #e3e3e3; }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; list-style: none; font-size: .95rem; font-weight: 600; color: #16171a; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -3px; transition: rotate .25s, translate .25s; }
.acc details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.kv { display: grid; gap: 8px; margin: 0; padding: 0 0 22px; font-size: .84rem; line-height: 1.55; }
.kv div { display: block; }
.kv dt { display: inline; font-weight: 700; color: #16171a; }
.kv dd { display: inline; margin: 0 0 0 .3em; color: #3a3c41; }
.acc-text { padding: 0 0 22px; font-size: .84rem; line-height: 1.6; color: #3a3c41; }
.acc-text p { margin: 0 0 8px; }
.acc-text b { color: #16171a; }

@media (max-width: 900px) {
  .pdp-main { grid-template-columns: 1fr; padding: 0 16px 60px; gap: 18px; }
  .g-stage { max-height: none; }
  .g-notes { justify-content: flex-start; padding: 12px 4px 16px; }
  .buy { position: relative; top: 0; }
  .g-arrow { width: 38px; height: 38px; }
}

/* ---------- explore (green band) ---------- */
.more { margin-top: 0; padding: clamp(60px, 8vw, 100px) 0 50px; background: var(--background); }
.pdp-foot { margin-top: 0; }

/* ---------- more: the home-page clothesline, without the model ---------- */
.more { position: relative; margin-top: clamp(70px, 10vw, 140px); padding: 0; height: calc(100svh + var(--more-travel, 0px)); overflow: visible; background: var(--background); }
.more-pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: 37% 50% 13%; overflow: hidden; }
.more-copy { align-self: start; justify-self: end; padding: max(12vh, 96px) 6vw 0 0; text-align: right; }
.more-lead { margin: 14px 0 0; font-size: .74rem; letter-spacing: .06em; line-height: 1.7; opacity: .8; }
.more-line { position: relative; display: flex; align-items: flex-start; min-width: 0; }
.more-rope { position: absolute; top: -40px; left: 0; width: 100%; height: 160px; overflow: visible; pointer-events: none; }
.more-rope path { stroke: var(--rope); stroke-width: 1.6; }
.more-row { display: flex; align-items: start; width: max-content; will-change: transform; padding: 0 6vw 14vh 8vw; }
.mini { --gh: min(40vh, 470px, 23vw); position: relative; flex: 0 0 calc(var(--gh) * .72); height: var(--gh); margin-right: calc(var(--gh) * -.19);
  display: block; color: inherit; text-decoration: none; transform-origin: 50% 0; }
.mini:nth-child(odd) { z-index: 2; } .mini:nth-child(even) { z-index: 1; } .mini:nth-child(3n) { z-index: 3; }
.mini-sway { position: relative; display: block; width: 100%; height: 100%; transform-origin: 50% 2%;
  animation: natural-wind 6.2s cubic-bezier(.45, 0, .55, 1) infinite; animation-delay: var(--wind-delay); will-change: transform; }
.mini:nth-child(even) .mini-sway { animation-duration: 7.1s; } .mini:nth-child(3n) .mini-sway { animation-duration: 5.7s; }
.mini-sway img { display: block; width: 112%; height: 100%; margin-left: -6%; object-fit: contain; object-position: center top; transition: translate .35s; }
.more .pin { position: absolute; z-index: 2; top: 0; left: calc(var(--gh) * (.0873 + .545 * var(--p1))); width: calc(var(--gh) * .03); aspect-ratio: 10 / 34;
  translate: -50% -46%; background: url(assets/clothespin.svg) center / contain no-repeat; rotate: -3deg; pointer-events: none; }
.more .pin--2 { left: calc(var(--gh) * (.0873 + .545 * var(--p2))); rotate: 4deg; }
/* name and price show up under a piece when you point at it */
.mini-tag { position: absolute; left: 50%; top: calc(100% + 10px); translate: -50% 6px; display: grid; justify-items: center; gap: 2px; width: max-content; max-width: calc(var(--gh) * .9);
  font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; opacity: 0; transition: opacity .25s, translate .25s; pointer-events: none; }
.mini-tag b { font-family: var(--font-mono); font-weight: 400; letter-spacing: .04em; opacity: .6; }
.mini-tag em { font-style: normal; font-family: var(--font-mono); letter-spacing: 0; font-size: .7rem; }
.mini:hover .mini-tag, .mini:focus-visible .mini-tag { opacity: 1; translate: -50% 0; }
.mini:hover .mini-sway img { translate: 0 -6px; }
.mini[aria-current]::after { position: absolute; right: 15%; bottom: 4%; width: 6px; height: 6px; border-radius: 999px; background: var(--foreground); content: ""; }
.mini:focus-visible { outline: 1px solid var(--foreground); outline-offset: -3px; }
.more-nav { display: flex; align-items: center; justify-content: flex-end; gap: .9rem; padding: 0 6vw 4.5vh 0; }
.more-count { display: flex; align-items: center; gap: .9rem; margin: 0 1.6rem 0 0; font-size: .7rem; font-weight: 500; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.more-count i { width: 4.5rem; height: 1px; background: color-mix(in oklab, var(--foreground) 45%, transparent); }
.round-btn { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid var(--foreground); border-radius: 999px; background: transparent; color: var(--foreground); cursor: pointer; transition: background .25s, color .25s; }
.round-btn:hover, .round-btn:focus-visible { background: var(--foreground); color: var(--background); }
.round-btn svg { width: 18px; height: 18px; }
@media (min-width: 1200px) { .mini { --gh: min(36vh, 430px, 23vw); } }
@media (max-width: 640px) {
  .more-pin { grid-template-rows: 30svh 55svh 15svh; }
  .more-copy { align-self: center; padding: 3rem 1.25rem 0; }
  .more-copy .section-title { font-size: 1.05rem; }
  .more-row { padding-left: 6vw; }
  .mini { --gh: min(27svh, 46vw); }
  .more-nav { padding: 0 5vw 1.2rem 0; gap: .6rem; }
  .more-count { display: none; } .round-btn { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .mini-sway { animation: none; } }
@keyframes natural-wind {
  0%, 100% { transform: rotate(-0.65deg) translate3d(-1px, 0, 0); }
  24% { transform: rotate(1.25deg) translate3d(3px, 1px, 0); }
  49% { transform: rotate(-0.35deg) translate3d(0, 0, 0); }
  72% { transform: rotate(0.85deg) translate3d(2px, 1px, 0); }
}

/* ---------- footer ---------- */
.pdp-foot { display: grid; justify-items: center; gap: 8px; margin-top: 40px; padding: 50px var(--pad) 110px; background: var(--foreground); color: #f1efe9; text-align: center; }
.pdp-foot img { width: 70px; height: auto; }
.pdp-foot p { margin: 0; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.pdp-foot__small { opacity: .55; }

/* ---------- drawers ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-scrim { position: absolute; inset: 0; background: color-mix(in oklab, var(--foreground) 45%, transparent); opacity: 0; transition: opacity .35s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; padding: 22px 26px; background: var(--paper); color: var(--ink);
  translate: 100% 0; transition: translate .38s cubic-bezier(.3, .8, .3, 1); overflow-y: auto; }
.drawer-panel--paper { background: url(assets/grid-paper.png) center / 300px auto, var(--paper); background-blend-mode: multiply; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { translate: 0 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.x-btn { width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font-size: 1.3rem; line-height: 1; }
.x-btn:hover { background: var(--ink); color: var(--paper); }
.x-btn--light { border-color: #fff; color: #fff; }
.drawer-note { font-size: .74rem; line-height: 1.6; }
.size-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: .74rem; }
.size-table th { padding: 8px 4px; text-align: left; font-family: var(--font-sans); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--ink); }
.size-table td { padding: 10px 4px; border-bottom: 1px dashed var(--line); }
.size-table td:first-child { font-weight: 700; }
.howto { display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: center; margin-top: 26px; }
.howto ol { margin: 0; padding-left: 1.1rem; font-size: .72rem; line-height: 1.9; }

.bag-added { margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; background: var(--rope); color: #111214; font-size: .7rem; font-weight: 600; letter-spacing: .04em; }
.bag-ship { margin: 16px 0 4px; font-size: .66rem; letter-spacing: .04em; }
.bag-ship i { display: block; height: 3px; margin-top: 8px; border-radius: 3px; background: linear-gradient(to right, var(--ink) var(--w), var(--line) var(--w)); }
.bag-list { flex: 1; margin: 0; padding: 0; list-style: none; }
.bag-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bag-thumb { display: block; height: 96px; border-radius: 4px; background: var(--tint); padding: 6px; }
.bag-thumb img { width: 100%; height: 100%; object-fit: contain; }
.bag-name { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.bag-meta { margin: 4px 0 10px; font-size: .64rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 28px; height: 28px; border: 0; background: none; }
.qty span { min-width: 18px; text-align: center; font-family: var(--font-mono); font-size: .72rem; }
.bag-right { display: grid; justify-items: end; align-content: space-between; font-family: var(--font-mono); font-size: .8rem; }
.bag-empty { margin: 30px 0; font-size: .76rem; color: var(--muted); }
.bag-foot { padding-top: 16px; }
.bag-row { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.bag-row b { font-family: var(--font-mono); font-size: .9rem; }
.bag-row--muted { color: var(--muted); font-size: .6rem; }
.bag-foot .add-btn { margin-top: 14px; }

/* ---------- zoom ---------- */
.zoom { position: fixed; inset: 0; z-index: 70; background: #121316; }
.zoom-stage { position: absolute; inset: 0; overflow: hidden; cursor: zoom-out; }
.zoom-stage img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.9); transition: transform-origin .1s; }
.zoom[data-kind="flat"] .zoom-stage { background: var(--paper); }
.zoom #zoom-close { position: absolute; z-index: 2; top: 16px; right: 16px; }
.zoom[data-kind="flat"] #zoom-close { border-color: var(--ink); color: var(--ink); }

/* ---------- toast + sticky bar ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; margin: 0; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .7rem; letter-spacing: .03em;
  translate: -50% 140%; opacity: 0; transition: translate .35s, opacity .35s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { translate: -50% 0; opacity: 1; }
.sticky-buy { display: none; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .pdp-main { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .mini-row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .mini { scroll-snap-align: center; --gh: 200px; }
  .mini:nth-child(n) { margin-top: 14px; }
  .sticky-buy { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: 999px;
    background: color-mix(in oklab, var(--paper) 94%, transparent); backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 6px 24px rgb(0 0 0 / .14);
    translate: 0 140%; transition: translate .35s cubic-bezier(.3, .8, .3, 1); }
  .sticky-buy.is-on { translate: 0 0; }
  .sticky-buy img { width: 38px; height: 46px; object-fit: contain; border-radius: 999px; background: var(--tint); }
  .sticky-buy p { flex: 1; min-width: 0; margin: 0; display: grid; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
  .sticky-buy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
  .sticky-buy span { font-family: var(--font-mono); letter-spacing: 0; color: var(--muted); }
  .add-btn--sm { width: auto; height: 44px; margin: 0; padding: 0 20px; font-size: .6rem; }
  .zoom-stage img { transform: none; }
  .zoom-stage { overflow: auto; }
}
@media (max-width: 420px) { .make { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }


/* fit all paper notes in one row on desktop; footer sits right under the green band */
.pdp-foot { margin-top: 0 !important; }
@media (min-width: 901px) {
  .g-notes { overflow: visible; flex-wrap: nowrap; }
  .note { flex: 1 1 0; min-width: 0; max-width: 110px; width: auto; }
}
@media (max-width: 900px) {
  .pdp-main { padding: 4px 16px 60px !important; gap: 18px !important; }
  .g-stage { border-radius: 8px; }
}

/* ---------- info panel: calmer rhythm ---------- */
.buy { padding-top: 4px; }
.buy-head { padding-bottom: 22px; }
.buy-ticket { margin-bottom: 26px; }
.buy-name { font-size: clamp(1.5rem, 2.3vw, 2.15rem); letter-spacing: .1em; }
.buy-price { margin-top: 14px; }
.buy-lead { margin: 0; padding: 22px 0 28px; border-top: 1px solid #ececec; font-size: .9rem; line-height: 1.75; color: #4a4c52; max-width: 34rem; }
.buy-block { display: grid; gap: 22px; padding: 26px 0 30px; border-top: 1px solid #ececec; }
.buy-block .opt { margin: 0; }
.opt-label { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font-size: .74rem; }
.opt-label b { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.opt-label span { color: #6b6e75; font-size: .8rem; }
.fit-note { margin: -4px 0 0; font-size: .78rem; color: #8b8e94; }
.fit-note span { display: inline; }
.custom { justify-self: start; max-width: 320px; padding: 10px 16px 10px 12px; }
.add-btn { margin-top: 0; }
.ship-box { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; border: 0; background: #f6f5f2; border-radius: 12px; }
.ship-box li { align-items: flex-start; padding: 16px 16px; gap: 12px; }
.ship-box li + li { border-top: 0; border-left: 1px solid #e7e5df; }
.ship-box li > span { display: grid; gap: 3px; }
.ship-box b { font-size: .8rem; }
.ship-box small { font-size: .72rem; color: #6b6e75; line-height: 1.45; }
.ship-box small span { color: inherit; }
.ship-box svg { width: 20px; height: 20px; margin-top: 1px; }
.acc { margin-top: 30px; }
.acc summary { padding: 18px 0; font-size: .88rem; }
@media (max-width: 480px) { .ship-box { grid-template-columns: 1fr; } .ship-box li + li { border-left: 0; border-top: 1px solid #e7e5df; } }

/* same outer margins as the homepage sections (text column + gap + sheet column, centred) */
@media (min-width: 901px) {
  .pdp-main { max-width: calc(26rem + clamp(3rem, 5vw, 6rem) + min(36vw, 470px) + 6vw + 2 * var(--pad)); gap: clamp(3rem, 5vw, 6rem); }
}

/* ======================================================================
   Gallery v2 — framed hero with a living grid-paper flower, taped paper prints,
   thumbnails in a column on the left (desktop)
   ====================================================================== */
body.pdp { background: #f4f4f3; }
.pdp-top { background: color-mix(in oklab, #f4f4f3 90%, transparent); }
.g-stage { background: none; border-radius: 0; overflow: visible; aspect-ratio: 5 / 7; width: 100%; max-height: calc(100svh - 120px); }
.shot { background: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); transform: translateY(14px) rotate(-1.2deg) scale(.985); }
.shot.is-on { transform: none; }
.shot img, .shot video { object-fit: initial; }

/* taped paper print */
.pola { --pr: 1.4deg; position: absolute; left: 8%; right: 8%; top: 6%; bottom: 4%; padding: 4.2% 4.2% 11%; background: #fbfaf6; rotate: var(--pr);
  box-shadow: 0 1px 1px rgb(0 0 0 / .05), 0 30px 46px -26px rgb(0 0 0 / .38), 0 8px 14px -10px rgb(0 0 0 / .18); }
.pola-pic { position: relative; width: 100%; height: 100%; overflow: hidden; background: #ebe9e3; }
.pola-pic::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgb(255 255 255 / .12), transparent 40%, rgb(0 0 0 / .05) 75%, rgb(255 255 255 / .08)); }
.pola-pic img, .pola-pic video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.shot--flat .pola-pic, .shot--flower .pola-pic { background: #f1eee6; }
.shot--flat .pola-pic img { object-fit: contain; padding: 6%; }
.shot--flower .pola-pic video, .shot--flower .pola-pic img { object-fit: contain; object-position: center bottom; padding-top: 4%; }
.pola-tape { position: absolute; z-index: 2; left: 50%; top: -3.2%; width: 34%; height: 8%; translate: -50% 0; rotate: calc(var(--pr) * -1.5);
  background: rgb(236 230 214 / .82); box-shadow: 0 1px 2px rgb(0 0 0 / .08); backdrop-filter: blur(1px); }

/* hero: the model steps out of a paper frame */
.bloom { position: absolute; inset: 0; }
.bloom__frame { position: absolute; left: 14%; right: 1%; top: 38%; bottom: 3%; padding: 4.6%; background: #fbfaf6; rotate: -1.8deg;
  box-shadow: 0 1px 1px rgb(0 0 0 / .05), 0 34px 50px -28px rgb(0 0 0 / .36), 0 10px 16px -12px rgb(0 0 0 / .16); }
.bloom__frame i { display: block; width: 100%; height: 100%; background: var(--backdrop, #d3e2d6); }
.bloom__fig { position: absolute; left: -2%; top: 0; height: 95%; aspect-ratio: var(--ar); }
.bloom__girl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 20px rgb(30 40 30 / .18)); }
.bloom__flower { position: absolute; height: auto; will-change: transform; filter: drop-shadow(0 14px 14px rgb(30 40 30 / .16));
  animation: bloom-breathe 4.2s ease-in-out infinite; transition: rotate .8s cubic-bezier(.3,.8,.3,1); }
@keyframes bloom-breathe {   /* only swings toward her (clockwise), so the petals never uncover the fabric behind them */
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(5.5deg) scale(1.045); }
}
.note--bloom .note-pic { background: var(--backdrop, #d3e2d6); }
.note--bloom .note-pic img { object-fit: cover; object-position: center 12%; }
/* the pinwheel spins round and round on its wooden pin (the fabric behind it is rebuilt) */
.bloom__flower--pinwheel { animation: pinwheel-spin 7s linear infinite; }
@keyframes pinwheel-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* desktop: thumbnails become a column on the left of the image */
@media (min-width: 901px) {
  .gallery { grid-template-columns: 96px minmax(0, 1fr); align-items: center; column-gap: clamp(20px, 3vw, 44px); }
  .g-notes { order: -1; flex-direction: column; justify-content: center; align-self: center; overflow: visible; padding: 8px 0; gap: 22px; }
  .note { width: 92px; }
  .g-main { min-width: 0; }
}

/* delivery box: outlined, like the sketch */
.ship-box { background: transparent; border: 1px solid #16171a; }
.ship-box li + li { border-left-color: #16171a; }

@media (prefers-reduced-motion: reduce) { .bloom__flower { animation: none; } .shot { transition: opacity .3s; transform: none; } }
.shot .bloom__flower { height: auto; }
.shot .bloom__girl { height: 100%; }

/* wider image column, narrower info column */
@media (min-width: 901px) {
  .pdp-main { grid-template-columns: minmax(0, 1.65fr) minmax(300px, .8fr); max-width: 1340px; gap: clamp(28px, 4vw, 64px); }
  .g-stage { max-height: calc(100svh - 96px); }
  .bloom__fig { height: 99%; left: -4%; }
}
@media (min-width: 901px) {
  .ship-box { grid-template-columns: 1fr; }
  .ship-box li { padding: 13px 16px; }
  .ship-box li + li { border-left: 0; border-top: 1px solid #16171a; }
}
/* every print sits on the same sage as the hero frame */
.pola-pic, .shot--flat .pola-pic, .shot--flower .pola-pic { background: var(--backdrop, #d3e2d6); }
.note-pic, .note--flat .note-pic, .note--flower .note-pic { background: var(--backdrop, #d3e2d6); }
