/* The creation application's visual flow (aiart/templates/aiart/), after the owner-approved reference
   docs/design/visual-flow-2026-11-05: its tokens, type, spacing and radii, phone first, and from 1024 px
   the wide compositions (stage + side panel, order visual + summary). Touch targets are at least 44 px,
   focus is always visible (2 px accent, 3 px offset), safe areas are respected, nothing animates. */
.vf-body{
  --ground:#FAFAF8;--surface:#F3F1ED;--ink:#1A1814;--quiet:#5E574E;--accent:#8C6239;--accent-hover:#6F4C2B;
  --tint:rgba(140,98,57,.08);--tint-strong:rgba(140,98,57,.12);--line:rgba(26,24,20,.16);--line-soft:rgba(26,24,20,.08);
  --oak:#C49A6C;--black:#1E1C1A;--white-frame:#F1EFEA;--paper:#FAFAF8;--stage:#2B2622;
  /* the room's light (aiart.lighting, set from the photo on the stage and the order visual; these are its defaults):
     shadow direction, throw per mm of depth, softness, darkness, the four faces' overlays; --mm: one millimetre
     of the wall in --u units (create.js sets it in px on the stage); --depth: the finish's depth in mm */
  --sx:.3;--sy:.954;--throw:.79;--soft:.55;--sha:.435;--ht:rgba(255,255,255,.241);--hr:rgba(0,0,0,.122);
  --hb:rgba(0,0,0,.279);--hl:rgba(255,255,255,.11);--mm:.6;--u:1px;--depth:22;
  --serif:'Cormorant Garamond',Georgia,serif;--sans:'Jost',system-ui,-apple-system,sans-serif;
  --safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);
  --safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);
  margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);font-weight:400;
  -webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.vf-body *,.vf-body *::before,.vf-body *::after{box-sizing:border-box}
.vf-body img{max-width:100%}
.vf-body a{color:var(--accent)}
.vf-body a:hover{color:var(--accent-hover)}
.vf-body :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.vf-body main:focus{outline:none}
.vf-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.vf-skip{position:absolute;left:12px;top:-100px;z-index:60;padding:12px 16px;border-radius:12px;background:var(--ink);color:#fff!important;text-decoration:none}
.vf-skip:focus{top:calc(12px + var(--safe-top))}
.vf-wide-only{display:none!important}
.vf-nowrap{white-space:nowrap}
.vf-center{text-align:center}
.vf-icon{flex-shrink:0}
.vf-body [hidden][hidden]{display:none!important}

/* Type */
.vf-brand{font-family:var(--serif);font-size:22px;letter-spacing:.32em;color:var(--accent)!important;text-decoration:none;padding-left:4px}
/* the home link keeps the reference's type and spacing; its hit area reaches 44 px around the word */
a.vf-brand{position:relative;display:inline-block;min-width:44px}
/* the signature under the logo, as on the home page (static/landing/home/site.css) */
a.vf-brand{text-align:center;line-height:1.1}
.vf-sign{display:block;margin-top:3px;padding-left:.4em;font-family:var(--sans);font-size:7px;font-weight:300;letter-spacing:.36em;line-height:1.2;text-transform:uppercase;white-space:nowrap}
a.vf-brand::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;margin-top:-22px}
.vf-display{margin:0;font-family:var(--serif);font-weight:400;font-size:40px;line-height:1.02;letter-spacing:-.01em}
.vf-display em,.vf-display-sheet em{font-style:italic;color:var(--accent)}
.vf-display-sheet{font-size:34px;line-height:1.05}
.vf-lead{margin:0;font-size:15px;line-height:1.5;font-weight:300;color:var(--quiet)}
.vf-label,.vf-eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--quiet);font-weight:400}
.vf-label-plain{text-transform:none;letter-spacing:0}
.vf-eyebrow-accent{letter-spacing:.16em;color:var(--accent)}
.vf-help{margin:0;font-size:12px;line-height:1.45;color:var(--quiet)}
.vf-link{font-size:14px;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px}
.vf-demo{margin:0;display:inline-flex;align-self:flex-start;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;
  background:var(--surface);color:var(--quiet);font-size:11px;line-height:1.4}
.vf-notice{margin:0;padding:12px 14px;border-radius:14px;background:var(--surface);color:var(--quiet);font-size:14px}
.vf-errors{margin:0;padding:12px 14px;border:2px solid #9B2C1F;border-radius:14px;background:#FBF1EE;color:#5A1A12;font-size:14px;line-height:1.45}
.vf-errors p,.vf-errors ul{margin:0}
.vf-errors ul{padding-left:18px}
.vf-errors-title{font-weight:500;margin-bottom:4px!important}
.vf-errors a{color:#5A1A12;text-decoration:underline;display:inline-flex;min-height:44px;align-items:center}
.vf-error{margin:0;color:#9B2C1F;font-size:13px;font-weight:500}

/* Buttons */
.vf-btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 18px;border-radius:16px;border:0;
  font-family:inherit;font-size:15px;text-decoration:none;cursor:pointer;text-align:center;line-height:1.15}
.vf-btn-primary{background:var(--accent);color:#fff!important;font-size:16px;font-weight:500;min-height:56px}
.vf-btn-primary:hover{background:var(--accent-hover)}
.vf-btn-secondary{background:#fff;color:var(--ink)!important;border:1px solid var(--line)}
.vf-btn-plain{background:transparent;color:var(--ink)!important;min-height:48px}
.vf-btn-plain .vf-icon{color:var(--accent)}
.vf-btn-dark{background:var(--ink);color:#fff;min-height:48px;padding:0 16px;border-radius:12px;font-size:14px}
.vf-btn-compact{min-height:52px;border-radius:14px;font-size:14px;gap:8px;padding:0 10px}
.vf-btn-tall{min-height:56px}
.vf-btn-inline{display:inline-flex;min-height:54px;padding:0 28px}
.vf-btn-disabled,.vf-btn:disabled{background:#D9D4CB;color:#4A443D!important;cursor:not-allowed;font-weight:400}
.vf-btn-note{display:block;font-size:11px;font-weight:300;opacity:.92}
.vf-btn-choose{flex-direction:column;gap:2px;min-height:52px;border-radius:14px;font-size:14px}
.vf-btn-square{width:58px;min-height:58px;padding:0;border-radius:16px;border:1px solid var(--line);background:#fff;color:var(--accent)}
.vf-btn-square[aria-pressed="true"] svg,.vf-action-like[aria-pressed="true"] svg{fill:currentColor}
.vf-text-btn{min-height:44px;padding:0;border:0;background:none;color:var(--quiet);font:inherit;font-size:12px;text-decoration:underline;
  text-underline-offset:3px;cursor:pointer}
.vf-round{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;
  background:rgba(250,250,248,.92);color:var(--ink)!important;text-decoration:none;cursor:pointer}
.vf-round-quiet{background:var(--surface)}
.vf-round:disabled{color:#A39B90!important;cursor:not-allowed}
.vf-pill-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(26,24,20,.14);
  color:var(--ink)!important;text-decoration:none;font-size:14px}

/* Hidden native controls, focus shown on what stands for them */
.vf-file,.vf-choice-input{position:absolute;width:1px;height:1px;margin:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0)}
.vf-file:focus-visible+label,.vf-choice-input:focus-visible+label,
.vf-upload:has(#f-photo:focus-visible) label[for="f-photo"]{outline:2px solid var(--accent);outline-offset:3px}

/* Chips and options */
.vf-styles,.vf-fieldset{margin:0;padding:0;border:0;min-width:0;display:flex;flex-direction:column;gap:10px}
.vf-styles legend,.vf-fieldset legend{padding:0;margin-bottom:10px}
.vf-chips{display:grid;gap:8px}
.vf-chip{display:flex;align-items:center;gap:8px;min-height:52px;padding:0 10px;border-radius:14px;border:1px solid rgba(26,24,20,.14);
  background:#fff;color:var(--ink);font-size:13px;cursor:pointer;min-width:0}
.vf-chip span{overflow-wrap:anywhere}
.vf-chip img{width:26px;height:36px;object-fit:cover;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.18);flex-shrink:0}
/* The univers chips: the univers' picture, its name and genre under it, three to a row at every width; any
   other style ("surprise") is a plain chip across the whole row */
.vf-chips-univers{grid-template-columns:repeat(3,minmax(0,1fr))}
.vf-chip-univers{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;min-height:0;padding:0;overflow:hidden}
.vf-chip-univers img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:0;box-shadow:none}
.vf-chip-text{display:flex;flex-direction:column;gap:1px;padding:6px 7px 8px;line-height:1.2}
.vf-chip .vf-chip-text span{overflow-wrap:break-word;hyphens:auto}
.vf-chip-genre{font-size:11px;color:var(--quiet)}
.vf-chip-wide{grid-column:1/-1}
.vf-choice-input:checked+.vf-chip-univers{box-shadow:0 0 0 1.5px var(--accent)}
.vf-choice-input:checked+.vf-chip,.vf-choice-input:checked+.vf-option,a.vf-option[aria-current="true"]{border:1.5px solid var(--accent);background:var(--tint)}
.vf-options a.vf-option{text-decoration:none;color:var(--ink)}
.vf-options{display:grid;gap:8px}
.vf-options-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.vf-options-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.vf-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:64px;padding:6px 4px;border-radius:14px;
  border:1px solid rgba(26,24,20,.12);background:#fff;color:var(--ink);font-size:12px;cursor:pointer;text-align:center}
.vf-option [data-format-text]{font-size:14px}
.vf-option.is-unavailable{border-style:dashed;color:var(--quiet)}
.vf-option-note{font-size:10px;line-height:1.2;color:var(--quiet)}
.vf-swatch{width:26px;height:26px;border-radius:50%;border:1px solid rgba(0,0,0,.12)}
.vf-swatch-none{background:#fff;border:1.5px dashed rgba(26,24,20,.35)}
.vf-swatch-oak{background:var(--oak)}.vf-swatch-black{background:var(--black)}.vf-swatch-white{background:var(--white-frame)}
.vf-swatch-canvas{background:#F4F1EA;box-shadow:inset 0 0 0 1px rgba(0,0,0,.10),2px 3px 4px rgba(0,0,0,.28)}
.vf-mini{display:block;width:auto;border-radius:2px;border:1.5px solid rgba(26,24,20,.35)}
.vf-mini-set{display:flex;gap:2px;border:0}
.vf-mini-set i{flex:1 1 0;border-radius:2px;border:1.5px solid rgba(26,24,20,.35)}
.vf-choice-input:checked+.vf-option :is(.vf-mini,.vf-mini i){border-color:var(--accent)}
.vf-options-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.vf-option-shape{flex-direction:row;justify-content:flex-start;gap:12px;padding:8px 12px;font-size:14px;text-align:left}
.vf-option-shape .vf-mini{flex:none;width:24px;height:34px}
.vf-option-shape .vf-mini-set{width:40px;height:30px}
.vf-option-words{display:flex;flex-direction:column;gap:2px;line-height:1.2}
.vf-option-shape .vf-option-note{width:auto;font-size:12px}

/* ── 1 · Photo de la pièce ───────────────────────────────────────────────────────────── */
.vf-main{display:flex;flex-direction:column;gap:18px;min-height:100svh;
  padding:calc(18px + var(--safe-top)) calc(16px + var(--safe-right)) calc(22px + var(--safe-bottom)) calc(16px + var(--safe-left))}
.vf-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px}
.vf-head-nav{display:flex;align-items:center;gap:14px;font-size:12px}
.vf-head-link{color:var(--ink)!important;text-decoration:none;font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.vf-city{letter-spacing:.08em;color:var(--quiet)}
/* the pill stays 36 px high as drawn; each language link's hit area reaches 44 × 44 px (nothing clips it) */
.vf-lang{display:inline-flex;border:1px solid var(--line);border-radius:999px;font-size:12px}
.vf-lang>*{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:36px;padding:0 10px;
  color:var(--ink)!important;text-decoration:none}
.vf-lang>:first-child{border-radius:999px 0 0 999px}
.vf-lang>:last-child{border-radius:0 999px 999px 0}
.vf-lang>a::after{content:"";position:absolute;left:0;right:0;top:-4px;bottom:-4px}
.vf-lang .is-current{background:var(--ink);color:#fff!important}
.vf-main-grid{display:flex;flex-direction:column;gap:18px;flex:1}
.vf-hero{margin:0;position:relative;width:100%;aspect-ratio:358/296;border-radius:22px;overflow:hidden;background:#EAE7E0;
  box-shadow:0 18px 40px rgba(26,24,20,.12)}
/* The example: the home page's picture of a room with one artwork on its wall, the artwork kept whole. */
.vf-hero-room{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:96% 0}
.vf-caption-chip{position:absolute;left:12px;bottom:12px;display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;
  background:rgba(250,250,248,.92);font-size:12px;color:var(--ink)}
.vf-dot{width:7px;height:7px;border-radius:50%;background:var(--accent)}
/* Trying a catalogue artwork on: that artwork alone, whole and in its own proportions, on the surface —
   never set into an example room. */
.vf-hero-catalogue{display:flex;align-items:center;justify-content:center;padding:24px 24px 60px;background:var(--surface)}
.vf-hero-piece{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;
  box-shadow:0 10px 18px rgba(40,28,18,.22),0 2px 4px rgba(0,0,0,.14)}
.vf-catalogue-next{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin:0}
.vf-main-copy{display:flex;flex-direction:column;gap:18px;flex:1}
.vf-main-copy>.vf-display,.vf-main-copy>.vf-lead{padding:0 4px}
.vf-main-copy>.vf-display{margin-bottom:-8px}
.vf-upload{display:flex;flex-direction:column;gap:10px}
.vf-upload-actions{display:flex;flex-direction:column;gap:10px}
.vf-upload-actions .vf-btn-secondary{min-height:52px}
.vf-upload-help{padding:0 4px}
.vf-styles{padding:8px 4px 0}
.vf-upload-submit{margin-top:4px}
.vf-js .vf-upload-submit{display:none}
.vf-sample{display:flex;flex-direction:column;gap:6px;margin-top:4px}
.vf-sample .vf-help{margin:0;text-align:center}
/* a session without a photo: the room says that it is an example */
.vf-sample-chip.vf-caption-chip{z-index:3;margin:0;left:calc(70px + var(--safe-left));right:calc(70px + var(--safe-right));bottom:auto;
  top:calc(72px + var(--safe-top));justify-content:center;padding:0;background:none;color:#fff;font-size:11.5px;line-height:16px;white-space:nowrap;
  text-shadow:0 1px 6px rgba(0,0,0,.45);pointer-events:none}
.vf-sample-chip .vf-dot{display:none}
.vf-sample-next{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;margin:0}
.vf-sending{margin:0;padding:12px 14px;border-radius:14px;background:var(--tint);color:var(--ink);font-size:14px}
.vf-promise{margin:auto 0 0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 14px;font-size:12px;color:var(--quiet)}
.vf-privacy{padding:0 4px;text-align:center}
.vf-main-copy>.vf-demo{align-self:center}
.vf-drop{display:flex;flex-direction:column;align-items:center;gap:14px;padding:32px 24px;border:1.5px dashed rgba(140,98,57,.45);border-radius:22px;
  background:#fff;text-align:center}
.vf-drop.is-over{background:var(--tint);border-color:var(--accent)}
.vf-drop-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:rgba(140,98,57,.10);color:var(--accent)}
.vf-drop-text{font-size:16px}

/* ── 2 · L’œuvre sur votre mur (phone) ───────────────────────────────────────────────── */
.vf-on-wall,.vf-on-more{background:var(--stage)}
.vf-wall{position:relative}
.vf-wall-error{position:fixed;z-index:40;left:calc(16px + var(--safe-left));right:calc(16px + var(--safe-right));top:calc(76px + var(--safe-top))}
.vf-wall-grid{position:relative}
/* Never shorter than the panel plus the top bar (84), at least 134 px of wall for the artwork, the hint and the
   round buttons (158): on a short phone the stage runs past the screen and the page scrolls to the panel,
   rather than the hint or the buttons covering the artwork. */
.vf-stage{position:relative;height:100svh;min-height:max(560px,calc(var(--panel-h,300px) + 376px + var(--safe-top)));overflow:hidden;background:var(--stage);touch-action:pan-y;color:var(--ink);
  -webkit-user-select:none;user-select:none}
.vf-room{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;pointer-events:none}
/* with scripts, create.js sets the photo's own box (larger or smaller than the stage), the artwork mapped on it */
.vf-stage .vf-room{max-width:none}
/* behind a photo that does not cover what is seen */
.vf-room-behind{position:absolute;left:-40px;top:-40px;width:calc(100% + 80px);max-width:none;height:calc(100% + 80px);object-fit:cover;filter:blur(26px);pointer-events:none}
.vf-place{position:absolute;width:33%;transform:translate(-50%,-50%);z-index:1}
.vf-js .vf-wall .vf-place{transform:none}
.vf-frame{position:relative;padding:var(--frame-px,5px);background:var(--frame-colour,var(--oak));
  /* the object's shadows on the wall: thrown away from the light by its depth, the room's softer light around
     it, and where it touches the wall */
  box-shadow:calc(var(--sx) * var(--depth) * var(--throw) * var(--mm) * var(--u)) calc(var(--sy) * var(--depth) * var(--throw) * var(--mm) * var(--u))
             calc((3 + var(--soft) * var(--depth) * 1.2) * var(--mm) * var(--u)) rgba(12,8,5,var(--sha)),
             calc(var(--sx) * var(--depth) * 1.5 * var(--mm) * var(--u)) calc(var(--sy) * var(--depth) * 1.5 * var(--mm) * var(--u))
             calc(var(--depth) * 2.8 * var(--mm) * var(--u)) rgba(12,8,5,calc(var(--sha) * .45)),
             0 0 calc(2.5 * var(--mm) * var(--u)) calc(.4 * var(--mm) * var(--u)) rgba(0,0,0,.3)}
/* the moulding's four faces, mitred, each lit as it faces the light, with the edge line of the moulding */
.vf-frame::before{content:"";position:absolute;inset:0;pointer-events:none;border:var(--frame-px,5px) solid;
  border-color:var(--ht) var(--hr) var(--hb) var(--hl);box-shadow:inset 0 0 0 1px rgba(0,0,0,.16)}
.vf-frame-none,.vf-frame-canvas{padding:0;background:transparent}
.vf-frame-none::before,.vf-frame-canvas::before{content:none}
.vf-frame-none{--depth:1}
.vf-frame-canvas{--depth:38}
.vf-frame-oak{--frame-colour:var(--oak)}.vf-frame-black{--frame-colour:var(--black)}.vf-frame-white{--frame-colour:var(--white-frame)}
.vf-art{position:relative;display:block;width:100%;overflow:hidden;background:var(--paper)}
/* in a frame: the moulding's shadow on the print (17 mm rebate), and the glazing's faint sheen
   (the print's pixels themselves are never changed) */
.vf-frame-oak .vf-art,.vf-frame-black .vf-art,.vf-frame-white .vf-art{box-shadow:0 0 0 1px rgba(0,0,0,.22)}
/* (over the picture, which fills the print: a layer above it, its pixels untouched) */
.vf-frame-oak .vf-art::after,.vf-frame-black .vf-art::after,.vf-frame-white .vf-art::after{content:"";position:absolute;inset:0;pointer-events:none;
  box-shadow:inset calc(var(--sx) * 2.5 * var(--mm) * var(--u)) calc(var(--sy) * 2.5 * var(--mm) * var(--u)) calc(3 * var(--mm) * var(--u)) rgba(0,0,0,.30);
  background:linear-gradient(118deg,rgba(255,255,255,0) 34%,rgba(255,255,255,.07) 47%,rgba(255,255,255,0) 61%)}
/* a canvas: the print's own edge, lit on the light's side */
.vf-frame-canvas .vf-art::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.07)}
/* the wall's light on the whole object, as the camera records it (aiart.lighting.placement_vars, set by create.js
   and on the order summary): the wall's exposure and fall-off across it, the room's colour and haze, the photo's
   grain. Layers over the print: its file's pixels are not repainted. */
.vf-lit{position:absolute;inset:0;pointer-events:none;background:var(--lit,rgba(0,0,0,.05))}
.vf-lit::after{content:"";position:absolute;inset:0;background:url("grain.61fd57bac0b3.png") 0 0/128px 128px;opacity:var(--grain,.03)}
/* the wall's angle (create.js turns the artwork about its vertical axis, seen from the photo's centre): the
   finish's sides, its depth deep, come into view on the side turned away from the wall's far end */
.vf-place,.vf-frame{transform-style:preserve-3d}
.vf-side{position:absolute;top:0;bottom:0;width:calc(var(--depth) * var(--mm) * var(--u));pointer-events:none;backface-visibility:hidden;
  background:linear-gradient(var(--side-lit),var(--side-lit)),linear-gradient(var(--side-shade),var(--side-shade)),
             linear-gradient(rgba(0,0,0,.12),rgba(0,0,0,.12)),var(--frame-colour,var(--oak))}
.vf-side-l{right:100%;transform-origin:100% 50%;transform:rotateY(-90deg);--side-shade:var(--hl);--side-lit:var(--lit-l,transparent)}
.vf-side-r{left:100%;transform-origin:0 50%;transform:rotateY(90deg);--side-shade:var(--hr);--side-lit:var(--lit-r,transparent)}
.vf-frame-canvas .vf-side{background:linear-gradient(var(--side-lit),var(--side-lit)),linear-gradient(var(--side-shade),var(--side-shade)),#F4F1EA}
.vf-frame-none .vf-side{display:none}
/* a triptych: one picture over three panels on the same wall, each with its own finish and light. The picture is twice
   as wide as high, a panel's third of it 2:3, a touch narrower than the panel with its bleed: each third spans that
   box's width, the picture three times as wide, its centre at the panel's (aiart.printcheck, aiart.tryon.panel). */
.is-triptych.vf-place{display:flex;gap:var(--gap-px,1.5%)}
.is-triptych>.vf-frame{flex:1 1 0;min-width:0}
.is-triptych .vf-art img,.is-triptych .vf-viewer-paper img{width:calc(300% + 6 * var(--bx,0%));height:auto;top:50%;
  transform:translateY(-50%);object-fit:fill}
.is-triptych>:nth-child(2) img{left:calc(-100% - 3 * var(--bx,0%))}
.is-triptych>:nth-child(3) img{left:calc(-200% - 5 * var(--bx,0%))}
.is-triptych .vf-lit,.vf-order-set .vf-lit{background-size:300% 100%}
:is(.is-triptych,.vf-order-set)>:nth-child(2) .vf-lit{background-position:50% 0}
:is(.is-triptych,.vf-order-set)>:nth-child(3) .vf-lit{background-position:100% 0}

/* The artwork on its own, without the room (static/aiart/viewer.js): a window over the page, the piece in its finish,
   flat and evenly lit, zoomed and moved by its transform. */
.vf-view{position:absolute;z-index:3;right:calc(16px + var(--safe-right));top:calc(86px + var(--safe-top));display:flex;align-items:center;justify-content:center;gap:8px;
  min-width:44px;min-height:44px;border-radius:999px;background:rgba(250,250,248,.92);color:var(--ink)!important;text-decoration:none;font-size:14px}
.vf-stage .vf-view:focus-visible{outline:2px solid #fff;outline-offset:3px;box-shadow:0 0 0 5px var(--accent)}
.vf-order-view{align-self:flex-start}
.vf-viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#EDE8E0;color:var(--ink);overflow:hidden}
.vf-viewer[open]{display:flex;flex-direction:column}
.vf-viewer-bar,.vf-viewer-tools{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:12px calc(16px + var(--safe-right)) 12px calc(16px + var(--safe-left))}
.vf-viewer-bar{padding-top:calc(12px + var(--safe-top))}
.vf-viewer-tools{justify-content:center;padding-bottom:calc(16px + var(--safe-bottom));text-align:center}
.vf-viewer-words{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px}
.vf-viewer-title{font-family:var(--serif);font-size:22px;font-weight:500;font-variant-numeric:lining-nums}
.vf-viewer .vf-round{background:#fff}
.vf-viewer-stage{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;cursor:zoom-in;-webkit-user-select:none;user-select:none}
.vf-viewer-stage.is-zoomed{cursor:grab}
.vf-viewer-piece{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex}
.vf-viewer-panel{flex:1 1 0;min-width:0;background:var(--frame-colour,transparent);
  box-shadow:0 14px 30px rgba(40,28,18,.22),0 4px 10px rgba(40,28,18,.18)}
.vf-viewer-panel[hidden]{display:none}
.vf-viewer-panel.vf-frame-oak,.vf-viewer-panel.vf-frame-black,.vf-viewer-panel.vf-frame-white{
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.14),inset 2px 2px 3px rgba(255,255,255,.28),inset -2px -2px 3px rgba(0,0,0,.18),
             0 14px 30px rgba(40,28,18,.22),0 4px 10px rgba(40,28,18,.18)}
.vf-viewer-paper{position:relative;width:100%;height:100%;overflow:hidden;background:var(--paper);box-shadow:0 0 0 1px rgba(0,0,0,.10)}
.vf-viewer-paper img{pointer-events:none}
.vf-angle{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.vf-angle-row{display:flex;align-items:center;gap:12px}
.vf-angle-row .vf-range{flex:1 1 auto}
.vf-angle-auto{flex:0 0 auto;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--ink);
  font:inherit;font-size:14px;cursor:pointer}
.vf-angle-auto[aria-pressed="true"]{background:var(--tint-strong);border-color:var(--accent);color:var(--accent-hover)}
.vf-angle-auto:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.vf-angle-value{font-variant-numeric:tabular-nums;color:var(--quiet);margin-left:4px}
.vf-range{width:100%;min-height:44px;accent-color:var(--accent)}
/* the picture fills the print to its edges and the bleed beyond them, cut to their proportions, as the print file
   is (aiart.printcheck.fit_geometry; owner, 04.12.2026: no paper border); --bx, --by: the bleed in % of the print */
.vf-art img,.vf-viewer-paper img{position:absolute;display:block;max-width:none;left:calc(-1 * var(--bx,0%));top:calc(-1 * var(--by,0%));
  width:calc(100% + 2 * var(--bx,0%));height:calc(100% + 2 * var(--by,0%));object-fit:cover;-webkit-user-drag:none}
.vf-art img{pointer-events:none}
.vf-stage .vf-art{cursor:grab;touch-action:pan-y}
.vf-wall.is-customizing .vf-stage .vf-art{touch-action:none}
.vf-place.is-dragging .vf-art{cursor:grabbing}
.vf-stage .vf-art:focus-visible,.vf-stage .vf-place.is-triptych:has(.vf-art:focus-visible) .vf-art{outline:2px solid #fff;outline-offset:3px;box-shadow:0 0 0 5px var(--accent)}
.vf-shade{position:absolute;left:0;right:0;top:0;height:150px;background:linear-gradient(rgba(20,16,12,.42),rgba(20,16,12,0));pointer-events:none;z-index:2}
.vf-making{position:absolute;z-index:4;left:0;right:0;top:0;bottom:var(--panel-h,200px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  padding:24px calc(24px + var(--safe-right)) 24px calc(24px + var(--safe-left));text-align:center;color:#fff;background:rgba(20,16,12,.46)}
.vf-making p{margin:0;max-width:30em}
.vf-making-title{font-family:var(--serif);font-size:24px;line-height:1.2}
.vf-making-note{font-size:14px;line-height:1.45;opacity:.9}
.vf-making-clock{font-variant-numeric:tabular-nums;white-space:nowrap}
.vf-making-spin{width:34px;height:34px;border-radius:50%;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;animation:vf-spin 1s linear infinite}
.vf-making-bar{width:min(260px,70%);height:4px;border-radius:2px;background:rgba(255,255,255,.28);overflow:hidden}
.vf-making-bar span{display:block;height:100%;width:4%;background:#fff;border-radius:2px;transition:width 1s linear}
.vf-making-refresh{color:#fff!important}
.vf-making.is-compact{bottom:auto;top:calc(80px + var(--safe-top));left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);
  flex-direction:row;flex-wrap:wrap;gap:6px 10px;padding:10px 16px;border-radius:16px;background:rgba(20,16,12,.72)}
.vf-making.is-compact .vf-making-title{font-family:var(--sans);font-size:14px}
.vf-making.is-compact .vf-making-spin{width:16px;height:16px;border-width:2px}
.vf-making.is-compact .vf-making-note,.vf-making.is-compact .vf-making-bar{display:none}
@keyframes vf-spin{to{transform:rotate(360deg)}}
.vf-progress{position:absolute;z-index:3;left:calc(16px + var(--safe-left));right:calc(16px + var(--safe-right));top:calc(12px + var(--safe-top));display:flex;gap:5px}
.vf-progress span{flex:1;height:3px;border-radius:2px;background:rgba(255,255,255,.38)}
.vf-progress span.is-on{background:#fff}
.vf-topbar{position:absolute;z-index:3;left:calc(16px + var(--safe-left));right:calc(16px + var(--safe-right));top:calc(28px + var(--safe-top));
  display:flex;align-items:center;justify-content:space-between}
.vf-topbar-title{display:flex;flex-direction:column;align-items:center;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.35)}
.vf-topbar-brand{font-family:var(--serif);font-size:19px;letter-spacing:.24em}
.vf-topbar-count{font-size:12px;letter-spacing:.04em}
.vf-fav{position:relative}
.vf-fav-count{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--accent);color:#fff;
  font-size:11px;line-height:18px;text-align:center}
.vf-stage .vf-round:focus-visible,.vf-stage .vf-action-btn:focus-visible,.vf-stage .vf-arrow:focus-visible{outline:2px solid #fff;outline-offset:3px;box-shadow:0 0 0 5px var(--accent)}
.vf-hint{position:absolute;z-index:3;left:0;right:0;bottom:calc(var(--panel-h,200px) + 116px);margin:0;display:flex;justify-content:center;pointer-events:none}
.vf-hint>span{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;background:rgba(26,24,20,.55);color:#fff;font-size:12px;letter-spacing:.02em}
.vf-actions{position:absolute;z-index:3;left:0;right:0;bottom:calc(var(--panel-h,200px) + 18px);display:flex;justify-content:center;align-items:flex-start;gap:22px}
.vf-action{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0}
.vf-action-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:64px;height:64px;border:0;border-radius:50%;background:#FAFAF8;
  color:var(--ink)!important;text-decoration:none;box-shadow:0 8px 20px rgba(0,0,0,.25);cursor:pointer;font-family:inherit}
.vf-action-like{background:var(--accent);color:#fff!important}
.vf-action-btn.is-disabled{color:#A39B90!important;cursor:default}
.vf-action-label{font-size:11px;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.6)}
/* the sheet open: nothing but the artwork on the wall above it */
@media (max-width:1023px){.vf-wall.is-customizing :is(.vf-actions,.vf-hint,.vf-topbar,.vf-progress,.vf-view,.vf-sample-chip){display:none}}
.vf-panel{position:absolute;z-index:5;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:12px;
  padding:10px calc(16px + var(--safe-right)) calc(18px + var(--safe-bottom)) calc(16px + var(--safe-left));
  border-radius:26px 26px 0 0;background:var(--ground);box-shadow:0 -10px 30px rgba(0,0,0,.18)}
.vf-grabber{align-self:center;width:38px;height:4px;border-radius:2px;background:rgba(26,24,20,.18)}
.vf-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.vf-panel-titles{display:flex;flex-direction:column;gap:2px;min-width:0}
.vf-title{margin:0;font-family:var(--serif);font-weight:500;font-size:26px;line-height:1.05}
.vf-meta{margin:0;font-size:13px;color:var(--quiet)}
.vf-style-pill{flex-shrink:0;padding:5px 10px;border-radius:999px;background:rgba(140,98,57,.10);color:var(--accent);font-size:12px;letter-spacing:.04em}
.vf-unavailable{margin:0;padding:8px 12px;border-radius:12px;background:var(--surface);color:var(--ink);font-size:13px}
.vf-closed-line{margin:0;font-size:13px;color:var(--quiet)}
.vf-price-line{margin:0;font-size:13px;color:var(--quiet)}
.vf-price-line strong{color:var(--ink);font-weight:600;font-size:16px}
.vf-price-line[hidden]{display:none}
.vf-panel-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.vf-choose{display:flex;gap:12px;margin:0}
.vf-choose .vf-btn-choose{flex:1}
.vf-panel-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px}
.vf-delete{display:flex;flex-direction:column;align-items:flex-start;margin:0}
.vf-delete .vf-text-btn{text-align:left}
.vf-delete .vf-help{display:none}
.vf-filmstrip{display:flex;flex-direction:column;gap:12px;padding-top:18px;border-top:1px solid var(--line-soft)}

/* Cadre et format: a bottom sheet over the photo on a phone */
.vf-sheet{display:flex;flex-direction:column;gap:14px}
.vf-sheet[data-closed]{display:none}
/* the sheet leaves at least 272 px of wall above it; it scrolls within */
.vf-wall .vf-sheet{position:fixed;z-index:30;left:0;right:0;bottom:0;max-height:min(82svh,calc(100svh - 272px - var(--safe-top)));overflow-y:auto;overscroll-behavior:contain;
  padding:10px calc(16px + var(--safe-right)) calc(22px + var(--safe-bottom)) calc(16px + var(--safe-left));border-radius:26px 26px 0 0;
  background:var(--ground);box-shadow:0 -12px 34px rgba(0,0,0,.22)}
.vf-sheet-head{display:flex;align-items:center;justify-content:space-between}
.vf-sheet-hint{display:flex;align-items:center;gap:8px;margin:-8px 0 0}
.vf-sheet-title{margin:0;font-family:var(--serif);font-weight:500;font-size:26px}
.vf-customize{display:flex;flex-direction:column;gap:14px;margin:0}
.vf-wall-width{display:flex;align-items:center;gap:12px}
.vf-wall-width-label{flex:1;font-size:13px;line-height:1.35;color:var(--quiet)}
.vf-wall-width-label .vf-help{display:block}
.vf-input-unit{display:flex;align-items:center;height:46px;width:116px;flex-shrink:0;padding:0 12px;border:1px solid rgba(26,24,20,.18);border-radius:12px;
  background:#fff;font-size:13px;color:var(--quiet)}
.vf-input-unit:focus-within{outline:2px solid var(--accent);outline-offset:3px}
.vf-input-unit input{width:100%;min-width:0;height:100%;border:0;outline:none;background:transparent;font:inherit;font-size:16px;color:var(--ink)}
.vf-input-unit input[aria-invalid="true"]{color:#9B2C1F}
.vf-demo-note,.vf-scale{font-size:11px}
.vf-sheet-submit{min-height:54px;border-radius:14px;font-size:15px}

/* Films (wide only) */
.vf-film-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.vf-film-series{width:100%;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--quiet)}
.vf-film{position:relative;display:block;width:64px;height:90px;padding:0;border-radius:8px;border:1px solid rgba(26,24,20,.12);background:#fff}
.vf-film.is-wide{width:90px;height:64px}
.vf-film.is-triptych,.vf-fav-thumb.is-triptych{width:116px;height:58px}
:is(.vf-film,.vf-fav-thumb).is-triptych::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,transparent calc(33.33% - 1.5px),#fff calc(33.33% - 1.5px),#fff calc(33.33% + 1.5px),transparent calc(33.33% + 1.5px),
             transparent calc(66.67% - 1.5px),#fff calc(66.67% - 1.5px),#fff calc(66.67% + 1.5px),transparent calc(66.67% + 1.5px))}
.vf-film img{display:block;width:100%;height:100%;object-fit:cover;border-radius:6px}
.vf-film[aria-current="true"]{border:2px solid var(--accent);box-shadow:0 6px 14px rgba(40,28,18,.18)}
.vf-film-like,.vf-fav-badge{position:absolute;right:-7px;top:-7px;display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;
  background:var(--accent);color:#fff}

/* ── Après 4 / après 8 créations ─────────────────────────────────────────────────────── */
/* The photo stays fixed behind; the sheet is in the page's flow, at the bottom while it fits and otherwise
   below a strip of the photo, the page itself then scrolling — never clipped, no scroller of its own. */
.vf-more{position:relative;display:flex;flex-direction:column;min-height:100svh;padding-top:calc(120px + var(--safe-top));background:var(--stage)}
.vf-more-scene{position:fixed;left:0;right:0;top:-70px;height:100svh}
.vf-place-static{width:33%}
.vf-dim{position:absolute;inset:0;background:rgba(26,24,20,.40)}
.vf-more-sheet{position:relative;z-index:2;margin-top:auto;display:flex;flex-direction:column;gap:14px;
  padding:10px calc(18px + var(--safe-right)) calc(22px + var(--safe-bottom)) calc(18px + var(--safe-left));
  border-radius:26px 26px 0 0;background:var(--ground)}
.vf-series{display:flex;flex-direction:column;gap:14px;margin:0}
.vf-favourites{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 16px}
.vf-favourites>.vf-help{flex:1 1 140px}
.vf-fav-list{display:flex;gap:10px;margin:0;padding:0;list-style:none;flex-wrap:wrap;min-width:0}
.vf-fav-thumb{position:relative;display:block;width:64px;height:90px;border:3px solid var(--frame-colour,var(--oak));box-shadow:0 6px 12px rgba(40,28,18,.20)}
.vf-fav-thumb.is-wide{width:90px;height:64px}
.vf-fav-thumb.vf-frame-none,.vf-fav-thumb.vf-frame-canvas,.vf-done-thumb.vf-frame-canvas,.vf-done-thumb.vf-frame-none{border-color:transparent}
.vf-fav-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.vf-offer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:10px 16px;border-radius:16px;
  border:1px solid rgba(26,24,20,.14);background:#fff;color:var(--ink)}
.vf-offer-text{display:flex;flex-direction:column;gap:2px}
.vf-offer-title{font-size:15px;font-weight:500;color:var(--quiet)}
.vf-keep{display:flex;flex-direction:column;gap:6px}
.vf-keep-row{display:flex;gap:8px}
.vf-keep input,.vf-email input{flex:1;min-width:0;height:48px;padding:0 14px;border:1px solid rgba(26,24,20,.18);border-radius:12px;background:var(--surface);
  font:inherit;font-size:15px;color:var(--quiet)}

/* ── 3 · Commande ────────────────────────────────────────────────────────────────────── */
.vf-order{display:flex;flex-direction:column;gap:18px;min-height:100svh;
  padding:calc(14px + var(--safe-top)) calc(16px + var(--safe-right)) 0 calc(16px + var(--safe-left))}
.vf-order-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.vf-order-heading{margin:0;font-family:var(--serif);font-weight:500;font-size:24px}
.vf-head-spacer{width:44px}
.vf-order-grid{display:flex;flex-direction:column;gap:18px}
.vf-order-visual{display:flex;flex-direction:column;gap:12px}
.vf-order-photo{position:relative;margin:0;width:100%;border-radius:22px;overflow:hidden;background:#EAE7E0;box-shadow:0 18px 40px rgba(26,24,20,.12);
  container-type:inline-size}
.vf-order-photo img{display:block;width:100%;height:100%;object-fit:contain}
/* the same finish over the composited preview (whose pixels hold the print on the room): the moulding as a border
   around the print's box, its shadow on the wall outside it, its shadow on the paper and the sheen inside it */
.vf-order-frame{--u:1cqw;position:absolute;pointer-events:none;border:calc(var(--f) * 1cqw) solid var(--frame);
  left:calc(var(--l) * 1% - var(--f) * 1cqw);top:calc(var(--t) * 1% - var(--f) * 1cqw);
  width:calc(var(--w) * 1% + var(--f) * 2cqw);height:calc(var(--h) * 1% + var(--f) * 2cqw);
  box-shadow:calc(var(--sx) * var(--depth) * var(--throw) * var(--mm) * var(--u)) calc(var(--sy) * var(--depth) * var(--throw) * var(--mm) * var(--u))
             calc((3 + var(--soft) * var(--depth) * 1.2) * var(--mm) * var(--u)) rgba(12,8,5,var(--sha)),
             calc(var(--sx) * var(--depth) * 1.5 * var(--mm) * var(--u)) calc(var(--sy) * var(--depth) * 1.5 * var(--mm) * var(--u))
             calc(var(--depth) * 2.8 * var(--mm) * var(--u)) rgba(12,8,5,calc(var(--sha) * .45)),
             0 0 calc(2.5 * var(--mm) * var(--u)) calc(.4 * var(--mm) * var(--u)) rgba(0,0,0,.3),
             inset calc(var(--sx) * 2.5 * var(--mm) * var(--u)) calc(var(--sy) * 2.5 * var(--mm) * var(--u)) calc(3 * var(--mm) * var(--u)) rgba(0,0,0,.30)}
.vf-order-frame::before{content:"";position:absolute;inset:calc(var(--f) * -1cqw);pointer-events:none;border:calc(var(--f) * 1cqw) solid;
  border-color:var(--ht) var(--hr) var(--hb) var(--hl);box-shadow:inset 0 0 0 1px rgba(0,0,0,.16)}
.vf-order-frame::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(118deg,rgba(255,255,255,0) 34%,rgba(255,255,255,.07) 47%,rgba(255,255,255,0) 61%)}
.vf-order-frame.vf-frame-canvas{border:0;left:calc(var(--l) * 1%);top:calc(var(--t) * 1%);width:calc(var(--w) * 1%);height:calc(var(--h) * 1%);
  box-shadow:calc(var(--sx) * var(--depth) * var(--throw) * var(--mm) * var(--u)) calc(var(--sy) * var(--depth) * var(--throw) * var(--mm) * var(--u))
             calc((3 + var(--soft) * var(--depth) * 1.2) * var(--mm) * var(--u)) rgba(12,8,5,var(--sha)),
             calc(var(--sx) * var(--depth) * 1.5 * var(--mm) * var(--u)) calc(var(--sy) * var(--depth) * 1.5 * var(--mm) * var(--u))
             calc(var(--depth) * 2.8 * var(--mm) * var(--u)) rgba(12,8,5,calc(var(--sha) * .45)),
             0 0 calc(2.5 * var(--mm) * var(--u)) calc(.4 * var(--mm) * var(--u)) rgba(0,0,0,.3),inset 0 0 0 1px rgba(0,0,0,.07)}
.vf-order-frame.vf-frame-canvas::before,.vf-order-frame.vf-frame-canvas::after{content:none}
/* on the wall's plane as the try-on was composited: the camera at the photo's centre (aiart.geometry.oriented_quad) */
.vf-order-frame{--frame-colour:var(--frame);transform-style:preserve-3d;
  transform:translate(calc(var(--dx,0) * -1cqw),calc(var(--dy,0) * -1cqw)) perspective(calc(var(--focal,75) * 1cqw))
            translate(calc(var(--dx,0) * 1cqw),calc(var(--dy,0) * 1cqw)) matrix3d(var(--m,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1))}
.vf-order-set{--u:1cqw;--frame-colour:var(--frame);position:absolute;pointer-events:none;transform-style:preserve-3d;
  left:calc(var(--l) * 1%);top:calc(var(--t) * 1%);width:calc(var(--w) * 1%);height:calc(var(--h) * 1%);
  transform:translate(calc(var(--dx,0) * -1cqw),calc(var(--dy,0) * -1cqw)) perspective(calc(var(--focal,75) * 1cqw))
            translate(calc(var(--dx,0) * 1cqw),calc(var(--dy,0) * 1cqw)) matrix3d(var(--m,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1))}
.vf-order-set .vf-order-frame{transform:none}
.vf-order-frame .vf-lit{inset:calc(var(--f) * -1cqw)}
.vf-order-frame.vf-frame-canvas .vf-lit{inset:0}
.vf-order-frame .vf-side{top:calc(var(--f) * -1cqw);bottom:calc(var(--f) * -1cqw)}
.vf-order-frame .vf-side-l{right:calc(100% + var(--f) * 1cqw)}
.vf-order-frame .vf-side-r{left:calc(100% + var(--f) * 1cqw)}
.vf-order-frame.vf-frame-canvas .vf-side{top:0;bottom:0}
.vf-order-frame.vf-frame-canvas .vf-side-l{right:100%}
.vf-order-frame.vf-frame-canvas .vf-side-r{left:100%}
.vf-paper{margin:0;display:flex;align-items:center;justify-content:center;padding:32px 16px;border-radius:22px;background:var(--surface);min-height:300px}
.vf-paper-sheet{position:relative;width:min(48%,220px);background:#fff;box-shadow:0 16px 30px rgba(26,24,20,.16)}
.vf-art-static{display:block}
.vf-pdf-badge{position:absolute;right:-14px;bottom:18px;display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:10px;background:var(--ink);
  color:#fff;font-size:12px;letter-spacing:.06em}
.vf-order-caption{margin:0;display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 4px}
.vf-order-name{font-family:var(--serif);font-size:20px;font-weight:500;font-variant-numeric:lining-nums}
.vf-order-summary{display:flex;flex-direction:column;gap:18px}
.vf-order-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.vf-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;border-radius:14px;background:var(--surface)}
.vf-toggle a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:52px;border-radius:11px;color:var(--quiet)!important;
  text-decoration:none;font-size:14px;text-align:center;line-height:1.25}
.vf-toggle a span{font-size:11px;font-weight:300;color:var(--quiet)}
.vf-toggle a[aria-current="page"]{background:#fff;box-shadow:0 1px 4px rgba(26,24,20,.10);color:var(--ink)!important;font-weight:500}
.vf-unavailable-box{display:flex;flex-direction:column;gap:4px;padding:14px;border-radius:14px;border:1.5px dashed rgba(140,98,57,.45);background:#fff}
.vf-unavailable-title{margin:0;font-size:14px;font-weight:500}
.vf-recap dl{margin:0;display:flex;flex-direction:column;border-radius:18px;background:#fff;border:1px solid var(--line-soft);padding:4px 16px}
.vf-recap dl>div{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:6px 0;border-bottom:1px solid rgba(26,24,20,.07);font-size:14px}
.vf-recap dl>div:last-child{border-bottom:0}
.vf-recap dt{color:var(--quiet);flex-shrink:0}
.vf-recap dd{margin:0;text-align:right}
.vf-recap dd a{margin-left:8px;font-size:13px;display:inline-flex;align-items:center;min-height:44px;margin-block:-12px}
.vf-closed{display:flex;flex-direction:column;gap:6px;padding:12px 4px 0;border-top:1px solid rgba(26,24,20,.10)}
.vf-closed-title{margin:0;font-family:var(--serif);font-weight:500;font-size:26px;line-height:1.1}
.vf-closed p{margin:0;font-size:13px;line-height:1.5;color:var(--quiet)}
.vf-email{display:flex;flex-direction:column;gap:6px}
.vf-email input{height:50px}
.vf-consents{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:14px;background:var(--surface);font-size:13px;line-height:1.45}
.vf-draft{margin:0;font-style:italic;color:var(--quiet)}
.vf-consent{display:flex;gap:12px;align-items:flex-start;color:var(--quiet)}
.vf-consent input{flex-shrink:0;width:22px;height:22px;margin:0;accent-color:var(--accent)}
.vf-pay{position:sticky;bottom:0;z-index:4;display:flex;flex-direction:column;gap:8px;margin:0 calc(-16px - var(--safe-right)) 0 calc(-16px - var(--safe-left));
  padding:14px calc(16px + var(--safe-right)) calc(24px + var(--safe-bottom)) calc(16px + var(--safe-left));
  background:rgba(250,250,248,.96);border-top:1px solid var(--line-soft)}
/* while ordering is closed, the way on: in the page, never over its text */
.vf-pay.vf-pay-closed{position:static;margin:0;padding:0;background:transparent;border:0}
.vf-pay-closed .vf-btn{width:100%}
.vf-pay .vf-btn{min-height:56px}
/* ordering open: the price, the terms to accept, the button to Stripe's page */
.vf-recap dl>.vf-recap-total{align-items:flex-start;padding-block:12px}
.vf-recap-total strong{display:block;font-size:20px;font-weight:500}
.vf-buy{display:flex;flex-direction:column;gap:14px}
.vf-buy-terms{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5;color:var(--ink,#1A1814)}
.vf-buy-terms input{flex-shrink:0;width:22px;height:22px;margin:0;accent-color:#8C6239}
.vf-buy-terms a{color:#8C6239}
.vf-buy-error{margin:0;padding:12px 14px;border-radius:12px;background:#FBEDEA;color:#8A2F1E;font-size:14px}
.vf-order-summary>.vf-demo{margin-bottom:8px}
.vf-closed-badge{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--quiet)}

/* ── 4 · Merci (layout only) and messages ────────────────────────────────────────────── */
.vf-done,.vf-message{display:flex;flex-direction:column;gap:22px;min-height:100svh;max-width:560px;margin:0 auto;
  padding:calc(56px + var(--safe-top)) calc(20px + var(--safe-right)) calc(24px + var(--safe-bottom)) calc(20px + var(--safe-left))}
.vf-message{justify-content:center;gap:18px}
.vf-done-head{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.vf-done-mark{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:var(--tint-strong);color:var(--accent)}
.vf-done-card{display:flex;gap:14px;align-items:center;padding:14px;border-radius:18px;background:#fff;border:1px solid var(--line-soft)}
.vf-done-thumb{flex-shrink:0;width:64px;height:90px;border:4px solid var(--frame-colour,var(--oak));box-shadow:0 6px 12px rgba(40,28,18,.22)}
.vf-done-thumb.is-wide{width:90px;height:64px}
.vf-done-thumb.is-set{width:140px;height:auto;border:0;box-shadow:none}
.vf-done-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.vf-done-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.vf-steps{list-style:none;margin:0;padding:0 4px;display:flex;flex-direction:column}
.vf-steps li{display:flex;gap:14px;align-items:flex-start;min-height:54px;font-size:14px}
.vf-steps li>span:last-child{display:flex;flex-direction:column}
.vf-step-dot{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;border:1.5px solid rgba(26,24,20,.25)}
.vf-steps .is-done .vf-step-dot{background:var(--accent);border-color:var(--accent);color:#fff}
.vf-steps .is-next .vf-step-dot{border-color:var(--accent)}
.vf-done-actions{margin-top:auto;display:flex;flex-direction:column;gap:10px}

/* ── Wide screens: the same journey in two columns ───────────────────────────────────── */
/* a tablet: the open sheet in two columns, so that the wall above it keeps its room */
@media (min-width:700px) and (max-width:1023px){
  .vf-customize{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px;align-items:start}
  .vf-customize>:is(.vf-demo-note,.vf-scale,.vf-sheet-submit){grid-column:1/-1}
  .vf-customize>:is(.vf-demo-note,.vf-scale){margin:0}
}
@media (min-width:1024px){
  .vf-wide-only{display:revert!important}
  span.vf-wide-only,a.vf-wide-only,.vf-btn.vf-wide-only{display:inline-flex!important}
  .vf-drop.vf-wide-only,.vf-filmstrip.vf-wide-only,.vf-bar.vf-wide-only{display:flex!important}
  .vf-narrow-only{display:none!important}
  .vf-brand{font-size:24px}

  .vf-main{max-width:1344px;margin:0 auto;padding:0 48px 56px;gap:24px}
  .vf-head{min-height:80px}
  .vf-head-nav{gap:28px}
  .vf-main-grid{flex-direction:row;flex-wrap:wrap;align-items:center;gap:64px}
  .vf-hero{flex:1 1 480px;max-width:600px;aspect-ratio:600/720;border-radius:28px;box-shadow:0 30px 60px rgba(26,24,20,.14)}
  .vf-hero-catalogue{padding:48px 48px 88px}
  .vf-caption-chip{left:20px;bottom:20px;padding:10px 16px;font-size:13px}
  .vf-main-copy{flex:1 1 420px;min-width:0;gap:28px}
  .vf-main-copy>.vf-display{font-size:68px;line-height:.98;letter-spacing:-.015em;margin-bottom:0;padding:0}
  .vf-main-copy>.vf-lead{max-width:520px;font-size:18px;line-height:1.55;padding:0}
  .vf-upload-help{text-align:center;margin-top:-4px}
  .vf-styles{padding:0}
  .vf-chips-univers{gap:10px}
  .vf-chip-univers img{aspect-ratio:2/1}
  .vf-chip-text{padding:8px 10px 10px}
  .vf-chip-name{font-size:14px}
  .vf-chip-genre{font-size:12px}
  .vf-promise{margin:0;justify-content:flex-start;gap:18px;font-size:13px}
  .vf-privacy{text-align:left;padding:0}
  .vf-main-copy>.vf-demo{align-self:flex-start}

  .vf-on-wall{background:var(--ground)}
  .vf-bar{max-width:1344px;margin:0 auto;padding:0 48px;height:80px;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
  .vf-bar-nav{display:flex;align-items:center;gap:12px;font-size:14px}
  .vf-kept-pill{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;background:rgba(140,98,57,.10);color:var(--accent)}
  .vf-wall-error{position:static;max-width:1248px;margin:0 auto 12px}
  .vf-wall-grid{max-width:1344px;margin:0 auto;padding:8px 48px 48px;display:flex;align-items:flex-start;gap:56px}
  .vf-stage{flex:1 1 520px;min-width:0;max-width:720px;height:auto;min-height:0;aspect-ratio:720/780;border-radius:28px;
    box-shadow:0 30px 60px rgba(26,24,20,.16);touch-action:auto}
  .vf-stage .vf-art,.vf-wall.is-customizing .vf-stage .vf-art{touch-action:none}
  .vf-shade{height:120px;background:linear-gradient(rgba(20,16,12,.35),rgba(20,16,12,0))}
  .vf-progress{left:20px;right:20px;top:18px;gap:6px}
  .vf-making{bottom:0}
  .vf-making.is-compact{top:40px}
  .vf-hint{display:none}
  .vf-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);display:flex!important;align-items:center;justify-content:center;width:56px;height:56px;
    border-radius:50%;background:rgba(250,250,248,.92);color:var(--ink)!important;text-decoration:none}
  .vf-arrow-prev{left:20px}.vf-arrow-next{right:20px}
  .vf-view{right:20px;top:36px;padding:0 16px}
  .vf-sample-chip.vf-caption-chip{left:20px;right:auto;top:36px;bottom:auto;padding:0 16px;min-height:44px;background:rgba(250,250,248,.92);
    color:var(--ink);font-size:13px;text-shadow:none}
  .vf-sample-chip .vf-dot{display:block}
  .vf-arrow.is-disabled{opacity:.45;cursor:default}
  .vf-actions{display:flex;bottom:24px;left:50%;right:auto;transform:translateX(-50%);gap:14px;padding:10px 14px;border-radius:999px;
    background:rgba(26,24,20,.55)}
  .vf-action{flex-direction:row}
  .vf-action-btn{width:auto;height:48px;padding:0 18px;border-radius:999px;box-shadow:none;font-size:14px;white-space:nowrap}
  .vf-panel{position:static;flex:1 1 400px;min-width:0;gap:22px;padding:8px 0 0;border-radius:0;background:transparent;box-shadow:none}
  .vf-panel-head{flex-direction:column;align-items:stretch;gap:8px}
  .vf-title{font-weight:400;font-size:52px;line-height:1}
  .vf-meta{font-size:15px}
  .vf-closed-line{display:block!important;margin-top:-14px}
  .vf-price-line{margin-top:-14px;font-size:15px}
  .vf-price-line strong{font-size:22px}
  .vf-panel-actions{display:block;order:2}
  .vf-choose .vf-btn-choose{min-height:58px;font-size:16px;font-weight:500;border-radius:16px}
  .vf-sheet,.vf-sheet[data-closed]{display:flex;order:1}
  .vf-wall .vf-sheet{position:static;max-height:none;overflow:visible;padding:0;border-radius:0;background:transparent;box-shadow:none;gap:22px}
  .vf-customize{gap:22px}
  .vf-options{gap:10px}
  .vf-option{flex-direction:row;min-height:56px;padding:0 10px;gap:10px;font-size:14px}
  .vf-options-3 .vf-option{flex-wrap:wrap;row-gap:2px}
  .vf-options-3 .vf-option:has(.vf-mini-set){flex-direction:column;gap:5px;padding:8px 6px}
  .vf-option .vf-swatch{width:22px;height:22px}
  .vf-option-note{width:100%}
  .vf-wall-width{gap:16px}
  .vf-input-unit{height:48px;width:130px;padding:0 14px}
  .vf-js .vf-sheet-submit{display:none}
  .vf-filmstrip{order:3}
  .vf-unavailable{order:0}
  .vf-panel-foot{order:4;flex-direction:column;align-items:flex-start;gap:10px}
  .vf-delete .vf-help{display:block}

  .vf-on-more{background:var(--stage)}
  .vf-more{align-items:center;padding:24px 16px}
  .vf-more-scene{top:0}
  .vf-place-static{width:18%}
  .vf-more-sheet{margin:auto;width:min(520px,100%);border-radius:26px;padding:22px 28px 28px}
  .vf-more-sheet .vf-grabber{display:none}

  .vf-order{max-width:1344px;margin:0 auto;padding:0 48px 56px;gap:16px}
  .vf-order-head{min-height:80px;gap:24px}
  .vf-order-grid{flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:56px}
  .vf-order-visual{flex:1 1 520px;max-width:680px;gap:18px}
  .vf-order-photo{border-radius:28px;box-shadow:0 30px 60px rgba(26,24,20,.14)}
  .vf-paper{aspect-ratio:640/600;border-radius:28px}
  .vf-paper-sheet{width:36%;box-shadow:0 24px 40px rgba(26,24,20,.16)}
  .vf-pdf-badge{right:-18px;bottom:24px;padding:8px 12px;font-size:13px}
  .vf-order-name{font-size:34px;font-weight:400}
  .vf-order-summary{flex:1 1 420px;min-width:0;max-width:560px;gap:20px}
  .vf-order-title{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;margin:0;font-family:var(--serif);font-weight:400;font-size:48px;line-height:1}
  .vf-toggle{border-radius:16px}
  .vf-toggle a{min-height:56px;border-radius:12px;font-size:15px}
  .vf-toggle a span{font-size:12px}
  .vf-recap dl{padding:4px 20px}
  .vf-recap dl>div{min-height:52px;font-size:15px}
  .vf-closed-title{font-size:34px}
  .vf-email input{height:52px}
  .vf-consents{padding:16px;border-radius:16px}
  .vf-pay{position:static;margin:0;padding:0;background:transparent;border:0}
  .vf-pay .vf-btn{min-height:60px;font-size:17px}
}
@media (prefers-reduced-motion:reduce){.vf-body *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media (forced-colors:active){.vf-choice-input:checked+.vf-chip,.vf-choice-input:checked+.vf-option{outline:2px solid CanvasText}}

/* a small laptop or a narrow window: the wall and its choices stay side by side */
@media (min-width:1024px) and (max-width:1180px){
  .vf-wall-grid{gap:32px;padding-left:32px;padding-right:32px}
  .vf-bar{padding:0 32px}
  .vf-option{padding:0 6px;gap:7px;font-size:13px}
  .vf-options-3 .vf-option{flex-direction:column;gap:4px;padding:6px}
}

/* The photo page on wide screens (25.11.2026): its column — the upload and the six univers — is taller than the
   picture beside it, so the column is more compact and the picture stays in view beside it, top-aligned. */
@media (min-width:1024px){
  /* never wrapped under the picture: the sticky picture would cover the column as it scrolls (1024 × 600, 04.12.2026) */
  .vf-main-grid:has(.vf-styles){align-items:flex-start;flex-wrap:nowrap;gap:clamp(32px,4vw,64px)}
  .vf-main-grid:has(.vf-styles) .vf-hero{position:sticky;top:24px;aspect-ratio:auto;height:clamp(520px,calc(100vh - 140px),800px);
    flex:1 1 480px;min-width:0}
  .vf-main-grid:has(.vf-styles) .vf-main-copy{flex:1 1 420px;min-width:0}
  .vf-main-grid:has(.vf-styles) .vf-main-copy{gap:20px}
  .vf-main-grid:has(.vf-styles) .vf-main-copy>.vf-display{font-size:58px}
  .vf-main-copy>.vf-display em{white-space:nowrap}
  .vf-main-grid:has(.vf-styles) .vf-drop{padding:20px 24px;gap:10px}
  .vf-main-grid:has(.vf-styles) .vf-drop-icon{width:44px;height:44px}
  .vf-main-grid:has(.vf-styles) .vf-chip-univers img{aspect-ratio:5/2}
  .vf-main-grid:has(.vf-styles) .vf-chip-text{padding:6px 10px 8px}
}
