/* Olivia for Kids — Atelier. Minimal and editorial, in the brand of oliviaforkids.be:
   Poppins headings, Roboto text, warm cream, near-black ink and the bordeaux of the logo. */
:root {
  --paper: #fff9f0;
  --paper-2: #f7eee2;
  --ink: #1a1a1a;
  --muted: #8a8079;
  --hair: #eadfd2;
  --accent: #71151a;
  --accent-2: #5b1115;
  --bad: #9c1d24;
  --blueprint: #173f78;
  --serif: 'Poppins', Arial, sans-serif; /* display font (headings, names, prices) */
  --sans: 'Roboto', Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font: 13.5px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; }
input[type=text], input[type=email] {
  width: 100%; font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--hair);
  padding: 10px 0; border-radius: 0; outline: none;
}
input:focus { border-bottom-color: var(--ink); }
input::placeholder { color: var(--muted); }
.hidden { display: none !important; }
.label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }

/* ---------- masthead ---------- */
.masthead { height: 68px; display: flex; align-items: center; gap: 40px; padding: 0 36px; border-bottom: 1px solid var(--hair); background: #fff; }
.wordmark { font-family: var(--serif); font-size: 22px; letter-spacing: .02em; text-decoration: none; color: var(--ink); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark img { height: 34px; width: auto; display: block; }
.wordmark span { font: 400 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.steps { display: flex; gap: 28px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.steps button { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.steps button span { font-family: var(--serif); font-size: 13px; letter-spacing: 0; margin-right: 6px; }
.steps li.now button { color: var(--accent); }
.steps li.done button { color: var(--ink); opacity: .55; }
.steps button:disabled { opacity: .35; }
.mode { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* ---------- layout ---------- */
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; height: calc(100vh - 64px); }
.stage { position: relative; overflow: hidden; background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(29,27,25,.09) 1px, transparent 1.2px); background-size: 22px 22px; }
.stage[data-style=blueprint] { background-color: var(--blueprint);
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 110px 110px, 110px 110px, 22px 22px, 22px 22px; color: #e9f1fc; }
.viewer { position: absolute; inset: 0; }
.viewer canvas { width: 100% !important; height: 100% !important; display: block; }
.stage-empty { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-family: var(--serif); font-size: 22px; color: var(--muted); }
.stage-style { position: absolute; top: 24px; left: 28px; display: flex; gap: 18px; }
.stage-nav { position: absolute; top: 24px; right: 28px; display: flex; gap: 18px; }
.stage-nav button { display: inline-flex; align-items: center; gap: 7px; }
.stage-style button, .stage-views button, .stage-nav button { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .5; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.stage-style button.on, .stage-views button.on, .stage-nav button.on { opacity: 1; border-bottom-color: currentColor; }
.stage-views { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 26px; }
.stage-note { position: absolute; bottom: 24px; left: 28px; margin: 0; font-family: var(--sans); font-size: 12.5px; opacity: .6; max-width: 260px; }
.stage-hint { position: absolute; top: 92px; left: 50%; transform: translateX(-50%); margin: 0; font-family: var(--sans); font-size: 14px; opacity: .7; pointer-events: none; }

.panel { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--hair); background: var(--paper); }
.step-body { flex: 1; overflow: auto; padding: 44px 40px 24px; }
.panel-foot { display: flex; align-items: center; justify-content: space-between; padding: 20px 40px 26px; border-top: 1px solid var(--hair); }
.price { font-family: var(--serif); font-size: 24px; }
.price small { font-family: var(--sans); font-size: 11px; color: var(--muted); margin-left: 10px; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 22px; }

@media (max-width: 900px) {
  .masthead { padding: 0 18px; gap: 16px; }
  .steps { gap: 12px; }
  .steps button { font-size: 0; } .steps button span { font-size: 14px; }
  .studio-grid { grid-template-columns: 1fr; grid-template-rows: 50vh auto; height: auto; }
  .panel { border-left: 0; border-top: 1px solid var(--hair); }
  .step-body { padding: 28px 18px 16px; }
  .panel-foot { padding: 16px 18px 20px; }
}

/* ---------- type & controls ---------- */
h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; margin: 0 0 8px; letter-spacing: -.01em; }
h2 em { font-style: normal; color: inherit; } /* one colour per heading */
.lede { color: var(--muted); margin: 0 0 34px; }
.field { margin: 0 0 30px; }
.field > .label { display: block; margin-bottom: 12px; }
.btn { background: var(--accent); color: #fff; font: 700 12px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; padding: 15px 26px; }
.btn:hover { background: var(--accent-2); }
.btn:disabled, .btn.blocked { opacity: .25; }
.btn-text { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.btn-text:hover { color: var(--ink); }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hair); color: var(--muted); font-size: 12.5px; }
.link:hover { color: var(--ink); text-decoration-color: var(--ink); }
.link.danger:hover { color: var(--bad); }
.btn-outline { display: block; width: 100%; margin-top: 10px; padding: 13px 0; border: 1px solid var(--hair); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
.btn-outline.danger { color: var(--bad); border-color: rgba(156,61,44,.35); }
.btn-outline.danger:hover { background: var(--bad); color: var(--paper); border-color: var(--bad); }

/* big choices (type, base) */
.choices { border-top: 1px solid var(--hair); }
.choice { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%; text-align: left; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.choice b { font-family: var(--serif); font-weight: 400; font-size: 19px; margin-right: auto; }
.choice small { color: var(--muted); font-size: 12px; }
.choice .num { font-family: var(--serif); color: var(--muted); font-size: 15px; width: 26px; }
.choice:hover b, .choice.on b { color: var(--accent); }
.choice.on { border-bottom-color: var(--ink); }
.choices.compact .choice { padding: 13px 0; }
.choices.compact .choice b { font-size: 16px; }

/* inline text options */
.opts { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.opt { font-size: 13px; color: var(--muted); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.opt:hover { color: var(--ink); }
.opt.on { color: var(--ink); border-bottom-color: var(--ink); }
.opt:disabled { opacity: .3; }

.swatches { display: flex; flex-wrap: wrap; gap: 18px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); }
.swatch i { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 -3px 6px rgba(0,0,0,.12); outline: 1px solid transparent; outline-offset: 3px; }
.swatch.on { color: var(--ink); }
.swatch.on i { outline-color: var(--ink); }

/* letters & stones */
.letters { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.letters button { aspect-ratio: 1; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-family: var(--serif); font-size: 20px; }
.letters button:hover { background: var(--paper-2); }
.letters button.on { background: var(--ink); color: var(--paper); }
.letters button:disabled { color: var(--hair); background: none; }
.stones { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 6px; }
.stone { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stone i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), inset 0 -4px 7px rgba(0,0,0,.18); outline: 1px solid transparent; outline-offset: 3px; }
.stone.on { color: var(--ink); }
.stone.on i { outline-color: var(--ink); }
.shapes { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.shapes button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px 10px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: 11px; color: var(--muted); }
.shapes button svg { color: var(--ink); }
.shapes button.on { background: var(--paper-2); color: var(--ink); }

/* design overview */
.tabs { display: flex; flex-wrap: wrap; gap: 12px 20px; border-bottom: 1px solid var(--hair); margin: 0 0 30px; }
.tabs button { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 0 12px; border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
.elements { border-top: 1px solid var(--hair); margin: 0 0 22px; }
.element { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.element svg { color: var(--ink); }
.element b { font-family: var(--serif); font-weight: 400; font-size: 16px; display: block; line-height: 1.2; }
.element small { color: var(--muted); font-size: 11.5px; }
.element .go { color: var(--muted); font-size: 18px; }
.element:hover b { color: var(--accent); }
.back { display: block; margin-bottom: 26px; }
.hint { font-family: var(--sans); font-size: 14.5px; color: var(--muted); margin: 0 0 26px; }
.ask { display: flex; gap: 14px; align-items: flex-end; }
.ask .icon { font-size: 18px; color: var(--muted); padding-bottom: 8px; }
.ask .icon.on { color: var(--accent); }
.problem { border-left: 2px solid var(--bad); padding: 4px 0 4px 14px; margin: 0 0 22px; color: var(--bad); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.problem .link { color: var(--bad); text-decoration-color: currentColor; }
.foot-actions { display: flex; justify-content: space-between; margin-top: 8px; }
.spin { display: inline-block; width: 12px; height: 12px; border: 1px solid rgba(255,255,255,.35); border-top-color: currentColor; border-radius: 50%; animation: spin .9s linear infinite; vertical-align: -1px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* order */
.summary { list-style: none; padding: 0; margin: 0 0 30px; border-top: 1px solid var(--hair); }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.summary li span:last-child { color: var(--muted); text-align: right; }
.total { font-family: var(--serif); font-size: 40px; line-height: 1.05; margin: 8px 0 6px; }
.note { color: var(--muted); font-size: 12px; margin: 0 0 30px; }
.done-note h2 { margin-bottom: 14px; }

/* ---------- gallery (final step) ---------- */
.gallery { position: absolute; inset: 0; background: #fff; display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; padding: 28px; }
.shot { position: relative; margin: 0; overflow: hidden; background: #fbf6ee; }
.shot:first-child { grid-row: 1 / 3; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease, filter .9s ease; }
.shot.loading img { filter: blur(6px) saturate(.4); opacity: .45; }
.shot.loading::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); background-size: 220% 100%; animation: shimmer 1.8s ease-in-out infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.shot figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: rgba(246,243,238,.85); padding: 5px 9px; }
.shot .state { position: absolute; top: 16px; left: 16px; font-family: var(--sans); font-size: 13px; color: var(--ink); }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; grid-template-rows: none; overflow: auto; } .shot { aspect-ratio: 1; } .shot:first-child { grid-row: auto; } }

.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 11px 18px; font-size: 12.5px; z-index: 30; display: flex; gap: 16px; align-items: baseline; }
.toast button { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; font-size: 12.5px; }

/* ---------- workshop ---------- */
main.ws { max-width: 1320px; margin: 0 auto; padding: 36px; }
.ws-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: start; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--hair); font-size: 13px; vertical-align: top; }
th { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-weight: 400; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td, tr.selected td { background: var(--paper-2); }
.ws-view { height: 400px; position: relative; }
.ws-detail > * + * { margin-top: 18px; }
pre { background: var(--paper-2); padding: 12px; overflow: auto; font-size: 11.5px; max-height: 340px; }
.status { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
a.btnlink { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.thumb { color: var(--ink); }
.ws-renders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ws-renders img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
select { font: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--hair); padding: 6px 0; }
@media (max-width: 960px) { .ws-grid { grid-template-columns: 1fr; } }

/* photo step */
.photo-box { margin: 0 0 30px; }
.shot img.fresh { animation: reveal 1.1s ease both; }
@keyframes reveal { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }
.shot.preview img { filter: saturate(.85); }
.shot-actions { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; opacity: 0; transition: opacity .2s; }
.shot:hover .shot-actions, .shot.error .shot-actions { opacity: 1; }
.shot-actions button { background: rgba(246,243,238,.92); padding: 6px 10px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.shot-actions button:hover { background: var(--ink); color: var(--paper); }
.lightbox { position: fixed; inset: 0; z-index: 40; background: rgba(20,18,16,.9); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: calc(100vw - 48px); max-height: calc(100vh - 48px); object-fit: contain; }

/* letter fonts, info tip */
@font-face { font-family: 'ofk-rounded'; src: url('/fonts/rounded.woff') format('woff'); }
@font-face { font-family: 'ofk-script'; src: url('/fonts/script.woff') format('woff'); }
@font-face { font-family: 'ofk-modern'; src: url('/fonts/modern.woff') format('woff'); }
.font-rounded, .letters.font-rounded button { font-family: 'ofk-rounded', var(--sans); }
.font-script, .letters.font-script button { font-family: 'ofk-script', var(--serif); }
.letters.font-modern button { font-family: 'ofk-modern', var(--sans); font-size: 17px; }
.letters.font-script button { font-size: 22px; }
.info { position: relative; display: inline-grid; place-items: center; width: 15px; height: 15px; margin: 0 6px 0 -14px; border: 1px solid var(--muted); border-radius: 50%; font-size: 9.5px; font-family: var(--serif); color: var(--muted); cursor: help; vertical-align: 1px; }
.info .tip { display: none; position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 230px; background: var(--ink); color: var(--paper); font: 12px/1.45 var(--sans); font-style: normal; padding: 10px 12px; z-index: 5; text-align: left; }
.info:hover .tip, .info:focus .tip { display: block; }
.shot { cursor: zoom-in; }

/* phones: fewer overlays on the drawing */
@media (max-width: 900px) {
  .studio-grid { grid-template-rows: 58vh auto; }
  .stage-note, .stage-hint { display: none !important; }
  .stage-style { top: 14px; left: 16px; gap: 14px; }
  .stage-nav { top: 12px; right: 16px; gap: 16px; }
  .stage-nav button { font-size: 0; gap: 0; }
  .stage-nav button svg { width: 18px; height: 18px; }
  .stage-views { bottom: 14px; gap: 18px; }
  .stage-views button { white-space: nowrap; }
  .gallery { padding: 12px; gap: 10px; }
  .letters button { font-size: 18px; }
  .stones { grid-template-columns: repeat(6, 1fr); }
}

/* chains, person, save, order */
.chains { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.chain-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 12px 14px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); text-align: left; }
.chain-card .chain-art { width: 100%; height: auto; color: var(--ink); margin-bottom: 4px; }
.chain-card b { font-family: var(--serif); font-weight: 400; font-size: 16px; line-height: 1.1; }
.chain-card small { color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.chain-card.on { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--ink); }
.stage-person { position: relative; display: inline-flex; gap: 7px; align-items: center; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .5; padding-bottom: 3px; border-bottom: 1px solid transparent; margin-left: 4px; }
.stage-person::before { content: ''; position: absolute; left: -12px; top: 1px; bottom: 4px; width: 1px; background: currentColor; opacity: .3; }
.stage-person.on { opacity: 1; border-bottom-color: currentColor; }
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(20,18,16,.45); display: grid; place-items: center; padding: 16px; }
.modal-card { position: relative; background: var(--paper); padding: 34px 32px 30px; width: min(440px, 100%); }
.modal-close { position: absolute; top: 10px; right: 14px; font-size: 24px; color: var(--muted); }
.share-link input { font-size: 12.5px; }
.share-actions { display: flex; gap: 10px; margin-top: 18px; }
.share-actions .btn-outline { width: auto; margin: 0; padding: 13px 20px; }
.terms { list-style: none; margin: 0 0 26px; padding: 0; color: var(--muted); font-size: 12.5px; }
.terms li { padding-left: 24px; position: relative; margin-bottom: 7px; color: var(--ink); }
.terms li::before { content: ''; position: absolute; left: 2px; top: 3px; width: 5px; height: 10px; border: solid var(--accent); border-width: 0 1.5px 1.5px 0; transform: rotate(40deg); }
a.btn { display: inline-block; text-decoration: none; }
@media (max-width: 900px) {
  .studio-grid { grid-template-rows: auto auto; }
  .stage { height: 58vh; }
  .stage.is-order { height: auto; }
  .stage.is-order .viewer { display: none; }
  .stage.is-order { background: #fff; background-image: none; }
  .gallery { position: static; display: block; padding: 12px; }
  .shot { display: block; position: relative; aspect-ratio: 1 / 1; height: auto; margin: 0 0 10px; }
  .shot:first-child { grid-row: auto; }
  .stage-person { font-size: 0; gap: 0; }
  .stage-person svg { width: 18px; height: 18px; }
  .nav { gap: 14px; }
}

/* add-element cards */
.kind-cards { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.kind-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 8px 16px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.kind-card svg { color: var(--ink); }
.kind-card b { font-family: var(--serif); font-weight: 400; font-size: 15px; line-height: 1.1; }
.kind-card:hover { background: var(--paper-2); }
.kind-card:hover b { color: var(--accent); }
.add-label { display: block; margin: 8px 0 12px; }
.lede .info { margin: 0 0 0 6px; }

/* narrow panel: keep tabs and footer on one line */
.tabs { flex-wrap: nowrap; gap: 12px; overflow-x: auto; scrollbar-width: none; justify-content: space-between; }
.tabs button { letter-spacing: .1em; }
.price, .nav button { white-space: nowrap; }
.panel-foot { gap: 16px; }
@media (max-width: 1100px) { .nav { gap: 16px; } .btn { padding: 15px 20px; } }
@media (max-width: 1320px) { .stage-note { display: none; } }
.summary-line { margin: 0 0 22px; padding: 14px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: 12.5px; line-height: 1.6; }
.summary-line span { color: var(--muted); }
.note.disclaimer { font-size: 11px; line-height: 1.5; margin-top: -8px; }
.price small { display: block; margin: 2px 0 0; font-size: 10.5px; }
.kind-card.wide { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 16px; padding: 16px 8px; }
.kind-card.wide small { color: var(--muted); font-size: 11.5px; }
.kind-card.wide svg { width: 34px; height: 34px; color: var(--accent); }
.stone.none i { background: transparent; box-shadow: inset 0 0 0 1px var(--hair); }
.add { color: var(--muted); font: 400 11.5px/1.3 var(--sans); letter-spacing: .02em; text-transform: none; white-space: nowrap; }
.element .add { margin-right: -4px; }
.kind-card .add { margin-top: -4px; }
.add-note { margin: -2px 0 0; min-height: 15px; }
.field > .label .add { margin-left: 4px; letter-spacing: .02em; }

/* standard-model hint */
.similar { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--hair); padding: 14px 14px 12px; font-size: 12.5px; line-height: 1.5; color: var(--ink); }
.similar img { width: 64px; height: 64px; object-fit: cover; display: block; background: var(--paper-2); }
.similar p { margin: 4px 0 0; color: var(--muted); }
.similar p .link.strong { color: var(--ink); font-size: 12.5px; text-decoration-color: var(--accent); }
.similar p.small { font-size: 11.5px; }
.similar .close { font-size: 18px; line-height: 1; color: var(--muted); padding: 0 2px; }
.similar-float { position: absolute; left: 24px; bottom: 70px; width: 340px; box-shadow: 0 6px 24px rgba(26,26,26,.08); z-index: 3; }
.similar-card { grid-template-columns: auto 1fr; margin: 0 0 26px; }
@media (max-width: 900px) { .similar-float { left: 12px; right: 12px; bottom: 48px; width: auto; } .similar img { width: 52px; height: 52px; } }

/* per-photo button */
.shot .enhance { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.94); color: var(--ink); border: 1px solid var(--hair); font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 9px 12px; }
.shot .enhance:hover { border-color: var(--ink); }
.shot .enhance.stop { background: rgba(255,255,255,.92); color: var(--ink); box-shadow: none; border: 1px solid var(--hair); }
.enhance-hint { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 500; white-space: nowrap; }

/* save, top right */
.save-top { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--hair); border-radius: 999px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: #fff; }
.save-top:hover { border-color: var(--ink); }
@media (max-width: 760px) { .save-top { padding: 7px 10px; font-size: 0; gap: 0; } .save-top svg { width: 16px; height: 16px; } }

/* under "Ga naar bestellen" */
.panel-foot { flex-wrap: wrap; }
.foot-note { flex-basis: 100%; margin: -4px 0 0; text-align: right; font-size: 12px; color: var(--muted); }

/* back from one element to the list */
.back-pill { display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 24px; padding: 9px 16px 9px 12px; border: 1px solid var(--hair); border-radius: 999px; background: #fff; font-size: 12px; letter-spacing: .04em; color: var(--ink); }
.back-pill span { font-size: 15px; line-height: 1; }
.back-pill:hover { border-color: var(--ink); }

/* steps between the design and the overview */
.prep { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(255, 249, 240, .94); animation: prep-in .25s ease; }
.prep-card { min-width: 280px; }
.prep ol { list-style: none; margin: 0; padding: 0; }
.prep li { display: flex; align-items: center; gap: 14px; padding: 9px 0; font: 400 16px/1.3 var(--serif); color: var(--ink); opacity: .3; transition: opacity .3s; }
.prep li.now, .prep li.done { opacity: 1; }
.prep li i { position: relative; width: 18px; height: 18px; flex: none; border: 1.5px solid var(--hair); border-radius: 50%; }
.prep li.now i { border-color: var(--accent); border-right-color: transparent; animation: prep-spin .8s linear infinite; }
.prep li.done i { border-color: var(--accent); background: var(--accent); animation: prep-pop .25s ease; }
.prep li.done i::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.prep-time { margin: 18px 0 0 32px; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
@keyframes prep-spin { to { transform: rotate(360deg); } }
@keyframes prep-pop { from { transform: scale(.6); } }
@keyframes prep-in { from { opacity: 0; } }
.add-note + .field { margin-top: 26px; }
