/* MiMi Pic Bilderwand (CC #25873 item_2). The stage, steps and cards follow studio.css so the page reads as the shop's
   own constructor; only the wall group, the plan and the motif picker are new. */
.wd-page [hidden] { display: none !important; }
.wd-head { text-align: center; max-width: 760px; margin: 8px auto 18px; }
.wd-head h1 { font: 700 clamp(34px, 8.4vw, 64px)/1.02 var(--display); letter-spacing: -0.03em; margin: 12px 0 10px; }
.wd-head p { color: var(--ink-2); margin: 0 auto; max-width: 560px; font-size: 17px; }
.wd-grid { display: grid; gap: 22px; }
@media (min-width: 980px) { .wd-grid { grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); align-items: start; } .wd-stage-col { position: sticky; top: 90px; } }

.wd-stage { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 1 / 1.08; max-height: 78vh; width: 100%;
  background: radial-gradient(120% 90% at 50% 20%, #fbf8f3 0%, #efe8de 55%, #e3d9cb 100%); box-shadow: inset 0 0 0 1px rgba(22,24,27,.05); }
@media (min-width: 980px) { .wd-stage { aspect-ratio: 1 / 0.92; } }
.wd-plate { position: absolute; top: 0; bottom: 0; left: 50%; height: 100%; aspect-ratio: 1 / 1; transform: translateX(-50%); }
@supports not (aspect-ratio: 1 / 1) { .wd-plate { width: 100%; left: 0; transform: none; } }
.wd-room { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wd-wall { position: absolute; inset: 0; }
.wd-stage[data-view="plan"] .wd-plate, .wd-stage[data-view="room"] .wd-plan { display: none; }
.wd-plan { position: absolute; inset: 0; background: #f4f1ec; }
.wd-plan-in { position: absolute; left: 0; right: 0; top: 56px; bottom: 120px; }
.wd-dim { position: absolute; left: 0; right: 0; bottom: 76px; margin: 0; text-align: center; font-weight: 650; font-size: 14px; color: var(--ink-2); }

/* one poster: its flat print on the wooden board with the studio's edge and shadow */
.wd-p { position: absolute; padding: 0; border: 0; cursor: pointer; background: #e9d8bb center / cover no-repeat;
  box-shadow: var(--edge) var(--edge) 0 0 #c9a77c, calc(var(--edge) * 2) calc(var(--edge) * 5) calc(var(--edge) * 7) rgba(0,0,0,.28);
  transition: left .4s cubic-bezier(.2,.8,.2,1), top .4s cubic-bezier(.2,.8,.2,1), width .4s cubic-bezier(.2,.8,.2,1), height .4s cubic-bezier(.2,.8,.2,1); }
.wd-p:hover, .wd-p:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wd-tag { position: absolute; left: 4px; top: 4px; background: rgba(255,255,255,.9); color: var(--ink); font: 700 10px/1 var(--body, sans-serif); padding: 3px 5px; border-radius: 6px; }

.wd-rooms { position: absolute; left: 0; right: 0; top: 12px; display: flex; gap: 6px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; z-index: 3; }
.wd-rooms::-webkit-scrollbar { display: none; }
.wd-stage[data-view="plan"] .wd-rooms { display: none; }
.wd-rooms button { flex: 0 0 auto; padding: 8px 14px; border-radius: var(--pill); font-size: 13px; font-weight: 650; color: var(--ink); }
.wd-rooms button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.wd-hint { position: absolute; left: 0; right: 0; bottom: 70px; margin: 0; text-align: center; font-size: 12.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); pointer-events: none; }
.wd-stage[data-view="plan"] .wd-hint { display: none; }
.wd-views { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: var(--pill); z-index: 3; }
.wd-views button { padding: 10px 16px; border-radius: var(--pill); font-weight: 650; font-size: 14px; color: var(--ink); white-space: nowrap; }
.wd-views button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.wd-step { display: flex; align-items: baseline; gap: 10px; font-weight: 700; font-size: 14px; margin: 20px 0 8px; }
.wd-step:first-child { margin-top: 4px; }
.wd-step b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; }
.wd-step span { font-weight: 500; color: var(--ink-3); margin-left: auto; font-size: 13px; }
.wd-tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wd-tpls button { display: grid; justify-items: center; gap: 2px; padding: 10px 6px 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.wd-tpls button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.wd-tpls svg { width: 46px; height: 38px; fill: #d9c3a0; stroke: #8a6a42; stroke-width: .8; }
.wd-tpls span { font-weight: 700; font-size: 13.5px; }
.wd-tpls small { font-size: 11.5px; color: var(--ink-3); }
.wd-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wd-slot { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 6px 12px 6px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.wd-slot i { flex: 0 0 auto; width: 38px; height: 50px; border-radius: 4px; background: #e9d8bb center / cover no-repeat; box-shadow: 2px 2px 0 #c9a77c; }
.wd-slot span { flex: 1; min-width: 0; display: grid; }
.wd-slot b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-slot small { font-size: 12px; color: var(--ink-3); }
.wd-slot em { font-style: normal; font-weight: 700; font-size: 12.5px; color: var(--accent); }
.wd-row { margin: 8px 0; }
.wd-seg { display: flex; gap: 4px; padding: 4px; border-radius: var(--pill); background: var(--paper-2, #f1ede6); }
.wd-seg button { flex: 1; padding: 9px 8px; border: 0; border-radius: var(--pill); background: transparent; font-weight: 650; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.wd-seg button[aria-pressed="true"] { background: var(--card); box-shadow: 0 1px 4px rgba(22,24,27,.14); }
.wd-small { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 0; }
.wd-sum { margin-top: 18px; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.wd-sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.wd-sum-save { color: var(--accent); font-weight: 700; }
.wd-sum .price-row { margin-top: 6px; }
.wd-link { display: block; margin: 12px auto 0; background: none; border: 0; padding: 6px; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: underline; cursor: pointer; }
.wd-page .desktop-add { margin-top: 14px; }
.wd-page .details { margin-top: 18px; }

.wd-how { display: grid; gap: 14px; margin-top: 44px; }
@media (min-width: 760px) { .wd-how { grid-template-columns: repeat(3, 1fr); } }
.wd-how div { background: var(--card); border-radius: 22px; padding: 22px; border: 1px solid var(--line); }
.wd-how b { display: block; font: 700 20px/1.2 var(--display); margin: 6px 0; }
.wd-how p { margin: 0; color: var(--ink-2); font-size: 15px; }
.wd-how i { font-style: normal; font-weight: 800; color: var(--accent); }
.wd-faq { margin: 44px 0 30px; }
.wd-faq h2 { font: 700 28px/1.15 var(--display); }

/* motif picker: a sheet from the bottom on phones, a centred box on desktop */
body.wd-lock { overflow: hidden; }
.wd-pick { position: fixed; inset: 0; z-index: 90; background: rgba(22,24,27,.45); display: flex; align-items: flex-end; justify-content: center; }
.wd-pick-box { width: 100%; max-width: 860px; max-height: 88vh; display: flex; flex-direction: column; background: var(--card, #fff); border-radius: 24px 24px 0 0; padding: 14px 14px 0; }
@media (min-width: 760px) { .wd-pick { align-items: center; } .wd-pick-box { border-radius: 24px; max-height: 82vh; } }
.wd-pick-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.wd-pick-head b { font: 700 19px/1.2 var(--display); }
.wd-x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper-2, #f1ede6); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.wd-in { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 16px; background: #fff; }
.wd-chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; flex: 0 0 auto; }
.wd-chips::-webkit-scrollbar { display: none; }
.wd-chips button { flex: 0 0 auto; padding: 7px 12px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 650; color: var(--ink); cursor: pointer; }
.wd-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.wd-pgrid { overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-bottom: 14px; }
@media (min-width: 760px) { .wd-pgrid { grid-template-columns: repeat(5, 1fr); } }
.wd-pi { display: grid; gap: 4px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.wd-pi img { width: 100%; aspect-ratio: 210 / 297; object-fit: cover; border-radius: 6px; background: #e9d8bb; box-shadow: 2px 2px 0 #c9a77c; }
.wd-pi.is-quer img { aspect-ratio: 297 / 210; }
.wd-pi.is-quad img { aspect-ratio: 1; }
.wd-pi span { font-size: 12px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wd-more { margin-bottom: 12px; }

/* example pages (CC #25873 item_3): the idea in words, the wall's motifs as links, the other ideas */
.wd-text { max-width: 760px; margin: 40px auto 0; }
.wd-text h2, .wd-in-wall h2, .wd-ideas h2 { font: 700 26px/1.15 var(--display); margin: 0 0 10px; }
.wd-text p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.wd-dims { padding-left: 18px; color: var(--ink-2); line-height: 1.7; }
.wd-in-wall { margin-top: 40px; }
.wd-in-wall ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px; }
.wd-in-wall a { display: grid; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13.5px; }
.wd-in-wall img { width: 100%; height: auto; aspect-ratio: 210 / 297; object-fit: cover; border-radius: 4px; box-shadow: 2px 2px 0 #c9a77c; background: #e9d8bb; }
.wd-ideas { margin-top: 40px; }
.wd-ideas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wd-ideas a { display: inline-block; padding: 9px 14px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 650; font-size: 14px; text-decoration: none; }
