/* ================================================================
   ARSÕLYA — Décoration
   Un mur de créations encadrées. On en choisit une, puis un
   configurateur court : Forme → Taille → Matière → Votre projet.
   Portée sous body[data-page="decoration"] — aucune ressource externe.
   ================================================================ */

body[data-page="decoration"] {
  overflow-y: visible;
  --ink: #0b0d10;
  --ink-soft: rgba(11,13,16,.68);
  --ink-faint: rgba(11,13,16,.62);
  --bg: #ffffff;
  --bg-2: #f2efe9;
  --paper: #ffffff;
  --warm: #e4d9c8;
  --line: rgba(11,13,16,.14);
  --line-soft: rgba(11,13,16,.08);
  --frame: #e8e2d5;
  --serif: "Times New Roman", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  color: var(--ink);
  background: #ffffff;
}
body[data-page="decoration"] main#MainContent { background: transparent; }
/* auth-gate gère l'authentification à l'envoi — pas de bandeau ici */
body[data-page="decoration"] .ars-auth-hint { display: none !important; }

.deco * { box-sizing: border-box; }
.deco {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Vue détail (plein écran, ouverte) : on verrouille le scroll de la page
   pendant qu'elle est affichée par-dessus le mur. */
html:has(body[data-page="decoration"] #decoDetail.is-open) { overflow: hidden; height: 100%; }
body[data-page="decoration"]:has(#decoDetail.is-open) { overflow: hidden; height: 100vh; height: 100svh; }
body[data-page="decoration"]:has(#decoDetail.is-open) main#MainContent { height: 100vh; height: 100svh; }

/* ================================================================
   LE MUR (vue d'accueil) — galerie photo régulière, fond uni,
   fidèle à la maquette de référence (deco1 / deco2).
   ================================================================ */
.deco-stage {
  min-height: 100vh; min-height: 100svh;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--ars-header-height) + clamp(calc(18 * var(--u)), 3vh, calc(32 * var(--u)))) clamp(calc(18 * var(--u)), 4vw, calc(40 * var(--u))) clamp(calc(36 * var(--u)), 6vh, calc(80 * var(--u)));
  text-align: center;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.deco-stage.is-away { opacity: 0; transform: scale(.99); pointer-events: none; }

.deco-kicker {
  font-size: calc(9.5 * var(--u)); letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500; margin: 0 0 calc(17 * var(--u));
}
.deco-intro {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(calc(28 * var(--u)), 3.5vw, calc(45 * var(--u))); line-height: 1.1; letter-spacing: -.005em;
  color: var(--ink); margin: 0;
}
.deco-intro-sub {
  font-size: calc(13.5 * var(--u)); color: var(--ink-soft); line-height: 1.6;
  margin: calc(16 * var(--u)) auto 0; max-width: calc(500 * var(--u));
}

/* grille de planches — galerie photo régulière, sans cadre ni ombre :
   photo nette, légende (nom + flèche) juste en dessous, sur le fond. */
.deco-plates {
  margin-top: clamp(calc(28 * var(--u)), 4.2vh, calc(42 * var(--u)));
  width: 100%; max-width: calc(1100 * var(--u));
  display: grid;
  column-gap: calc(28 * var(--u)); row-gap: calc(34 * var(--u));
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
}
.deco-plate {
  padding: 0; margin: 0; cursor: pointer; font: inherit; color: inherit; display: block;
  border: 0; background: none; text-align: left;
}
.deco-plate-frame {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  border-radius: calc(2 * var(--u));
  background: #ffffff;
}
.deco-plate-mat {
  position: absolute; inset: 0;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.deco-plate-mat svg { width: 40%; height: 40%; color: var(--ink-soft); }
.deco-plate-mat svg * { vector-effect: non-scaling-stroke; }
.deco-plate-mat img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.deco-plate:hover .deco-plate-mat img,
.deco-plate:focus-visible .deco-plate-mat img { transform: scale(1.035); }
.deco-plate:focus-visible .deco-plate-frame { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Légende : sous la photo, sur le fond de page (pas de superposition) —
   nom à gauche, flèche fine à droite, même ligne. */
.deco-plate-cap {
  display: flex; align-items: center; justify-content: space-between; gap: calc(8 * var(--u));
  margin-top: calc(9 * var(--u));
}
.deco-plate-name {
  display: block; min-width: 0;
  font-family: var(--sans); font-size: calc(11.5 * var(--u)); font-weight: 400;
  color: var(--ink); line-height: 1.3;
}
.deco-plate-arrow {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: calc(11.5 * var(--u)); height: calc(11.5 * var(--u)); color: var(--ink);
  transition: transform .25s var(--ease);
}
.deco-plate-arrow svg { width: 100%; height: 100%; }
.deco-plate:hover .deco-plate-arrow,
.deco-plate:focus-visible .deco-plate-arrow { transform: translateX(3px); }

/* ── Bannière pleine largeur « Autre projet sur mesure » — filet fin
   au-dessus, texte à gauche (titre + ligne + bouton cadré), grande
   photo (marbre) à droite. Fidèle à deco2. ── */
.deco-plate--wide {
  grid-column: 1 / -1;
  margin-top: clamp(calc(24 * var(--u)), 3.4vh, calc(38 * var(--u)));
  padding-top: clamp(calc(22 * var(--u)), 3.4vh, calc(36 * var(--u)));
  border-top: 1px solid var(--line);
  display: flex; align-items: stretch; text-align: left;
  gap: clamp(calc(20 * var(--u)), 3vw, calc(46 * var(--u)));
  cursor: pointer; font: inherit; color: inherit; background: none; border-left: 0; border-right: 0; border-bottom: 0;
}
.deco-wide-text {
  flex: 0 0 auto; width: clamp(calc(190 * var(--u)), 22vw, calc(290 * var(--u)));
  display: flex; flex-direction: column; justify-content: center; gap: calc(10 * var(--u));
  min-width: 0;
}
.deco-wide-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(calc(21 * var(--u)), 2vw, calc(27 * var(--u))); line-height: 1.15; color: var(--ink);
}
.deco-wide-line {
  font-size: calc(12 * var(--u)); line-height: 1.55; color: var(--ink-soft); max-width: 34ch;
}
.deco-wide-btn {
  display: inline-flex; align-items: center; gap: calc(8 * var(--u)); align-self: flex-start;
  margin-top: calc(5 * var(--u));
  font-size: calc(12 * var(--u)); font-weight: 400; color: var(--ink);
  border: 1px solid var(--ink); border-radius: calc(2 * var(--u));
  padding: calc(10 * var(--u)) calc(17 * var(--u));
  transition: background .25s var(--ease), color .25s var(--ease);
}
.deco-wide-btn .a { transition: transform .3s var(--ease); }
.deco-plate--wide:hover .deco-wide-btn,
.deco-plate--wide:focus-visible .deco-wide-btn { background: var(--ink); color: #fff; }
.deco-plate--wide:hover .deco-wide-btn .a,
.deco-plate--wide:focus-visible .deco-wide-btn .a { transform: translateX(3px); }
.deco-plate--wide:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.deco-wide-photo {
  flex: 1 1 auto; min-width: 0; overflow: hidden;
  border-radius: calc(2 * var(--u));
  min-height: clamp(calc(100 * var(--u)), 11vw, calc(160 * var(--u)));
}
.deco-wide-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

@media (max-width: 720px) {
  .deco-plate--wide { flex-direction: column; gap: 26px; }
  .deco-wide-text { width: 100%; }
  .deco-wide-photo { width: 100%; min-height: 180px; }
}

/* ================================================================
   CONFIGURATEUR (vue détail — après clic sur une planche)
   ================================================================ */
.deco-detail {
  position: fixed; left: 0; right: 0;
  top: var(--ars-header-height); bottom: 0;
  z-index: 60;
  background: var(--bg);
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden;
  transition: opacity .42s var(--ease), visibility 0s .42s;
}
.deco-detail.is-open { opacity: 1; visibility: visible; transition: opacity .42s var(--ease); }
body[data-page="decoration"]:has(#decoDetail.is-open),
html:has(#decoDetail.is-open) { overflow: hidden; }

/* Retour : bouton flottant */
.deco-back {
  position: absolute; top: 12px; left: clamp(10px, 3vw, 26px); z-index: 6;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(250,248,245,.86);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; place-items: center;
  font-size: 17px; color: var(--ink); cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.deco-back:hover { background: var(--ink); color: var(--paper); }

/* Progression : rangée fine numérotée */
.deco-dots {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(6px, 1.4vw, 14px); flex-wrap: wrap;
  margin: 0 auto clamp(22px, 4vh, 34px);
}
.deco-dot {
  display: inline-flex; align-items: center; gap: 7px;
  border: 0; background: none; cursor: pointer; padding: 6px 2px;
  color: var(--ink-faint); font-family: var(--sans);
}
.deco-dot[disabled] { cursor: default; }
.deco-dot i {
  font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .04em;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink-faint);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.deco-dot.done i { background: var(--ink-soft); border-color: transparent; color: var(--paper); }
.deco-dot.on i { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.deco-dot span {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap; color: var(--ink);
}
.deco-dot:not(.on) span { display: none; }
@media (max-width: 560px) { .deco-dot.on span { display: none; } .deco-dot i { width: 22px; height: 22px; } }

/* Colonne d'écran */
.deco-screen {
  max-width: 760px; margin: 0 auto;
  padding: clamp(14px, 2.4vh, 22px) clamp(18px, 4vw, 40px) 110px;
  animation: decoScrIn .42s var(--ease) both;
}
@keyframes decoScrIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.deco-shead { margin-bottom: clamp(20px, 3.6vh, 32px); }
.deco-kick {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600; margin: 0 0 10px;
}
.deco-h {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 4.4vw, 34px); line-height: 1.1; letter-spacing: -.005em;
  color: var(--ink); margin: 0;
}
.deco-sub {
  font-size: 13px; line-height: 1.6; color: var(--ink-soft);
  margin: 10px 0 0; max-width: 46ch;
}
.deco-hint {
  font-size: 11px; color: var(--ink-faint); letter-spacing: .01em;
  margin: 10px 0 0;
}

/* Renvoi vers le nuancier du catalogue. La page ne propose aucune liste de
   couleurs : ce lien sert à aller chercher une référence précise, qui sera
   citée librement dans la description du projet. */
.deco-nuancier {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  margin: 14px 0 0; font-size: 11px; color: var(--ink-faint);
}
.deco-nuancier a {
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid rgba(11, 13, 16, .3);
  padding-bottom: 1px;
}
.deco-nuancier a:hover { border-bottom-color: var(--ink); }

/* ── Grilles de choix (cartes) ── */
.deco-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
}
.deco-grid--sm { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
.deco-grid--wide { grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); }
.deco-grid--text { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (max-width: 520px) {
  .deco-grid { grid-template-columns: repeat(2, 1fr); }
  .deco-grid--sm { grid-template-columns: repeat(3, 1fr); }
  .deco-grid--wide, .deco-grid--text { grid-template-columns: 1fr; }
}

.deco-opt {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 9px; padding: 20px 14px 17px;
  min-height: 122px;
  background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: 3px;
  font-family: var(--sans); color: var(--ink); cursor: pointer;
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.deco-opt:hover { border-color: var(--line); transform: translateY(-2px); box-shadow: 0 8px 22px -14px rgba(30,24,16,.4); }
.deco-opt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.deco-opt.on { border-color: var(--ink); background: var(--bg-2); }
.deco-opt.on::after {
  content: ""; position: absolute; top: 8px; right: 8px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.5 10.6 3.9 8l-1 1 3.6 3.6 7-7-1-1z'/%3E%3C/svg%3E") center/12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.5 10.6 3.9 8l-1 1 3.6 3.6 7-7-1-1z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.deco-opt-ico { display: block; color: var(--ink); }
.deco-opt-ico svg { width: 34px; height: 34px; }
.deco-opt-ico svg * { vector-effect: non-scaling-stroke; }
.deco-opt-ico img { display: block; width: calc(58 * var(--u)); height: auto; }
.deco-grid--sm .deco-opt { min-height: 104px; padding: 16px 8px 14px; gap: 8px; }
.deco-grid--sm .deco-opt-ico svg { width: 30px; height: 30px; }
.deco-grid--sm .deco-opt-ico img { width: calc(46 * var(--u)); }
.deco-grid--text .deco-opt { min-height: 0; padding: 16px 14px; }
.deco-opt-t { font-family: var(--serif); font-size: 15px; line-height: 1.2; }
.deco-grid--sm .deco-opt-t { font-size: 12.5px; }
.deco-opt-s { font-size: 11px; line-height: 1.4; color: var(--ink-soft); }
.deco-opt--soft { background: transparent; border-style: dashed; }
.deco-opt--soft:hover { background: var(--paper); }
.deco-opt--soft.on { background: var(--bg-2); border-style: solid; }

/* ── Tailles S/M/L (cartes larges) ── */
.deco-sizes { display: grid; gap: 9px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (max-width: 520px) { .deco-sizes { grid-template-columns: 1fr 1fr; } }
.deco-size {
  position: relative; text-align: left;
  display: flex; flex-direction: column; gap: 5px;
  padding: 15px 16px 14px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px;
  font-family: var(--sans); color: var(--ink); cursor: pointer;
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}
.deco-size:hover { border-color: var(--line); transform: translateY(-2px); }
.deco-size:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.deco-size.on { border-color: var(--ink); background: var(--bg-2); }
.deco-size-l { font-family: var(--serif); font-size: 16px; line-height: 1.1; }
.deco-size-n { font-size: 11.5px; color: var(--ink-soft); letter-spacing: .01em; }

/* ── Repères indicatifs (grands projets) ── */
.deco-reperes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.deco-repere {
  flex: 1 1 130px; padding: 11px 13px;
  background: var(--bg-2); border-radius: 3px;
  display: flex; flex-direction: column; gap: 2px;
}
.deco-repere b { font-family: var(--serif); font-weight: 400; font-size: 13px; }
.deco-repere span { font-size: 11px; color: var(--ink-soft); }

.deco-nodim {
  display: flex; flex-direction: column; gap: 3px; width: 100%;
  margin-top: 14px; padding: 14px 16px; text-align: left;
  background: transparent; border: 1px dashed var(--line); border-radius: 3px;
  font-family: var(--sans); color: var(--ink); cursor: pointer;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.deco-nodim:hover { border-color: var(--ink); }
.deco-nodim.on { border-style: solid; border-color: var(--ink); background: var(--bg-2); }
.deco-nodim-t { font-size: 13px; }
.deco-nodim-s { font-size: 11.5px; color: var(--ink-soft); }

/* ── Champs & libellés ── */
.deco-field { margin: clamp(18px, 3vh, 26px) 0 0; }
.deco-field:first-child { margin-top: 0; }
.deco-field[hidden] { display: none; }
.deco-lab {
  display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600; margin-bottom: 11px;
}
.deco-lab-x { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; margin-left: 6px; }

/* ── Puces ── */
.deco-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.deco-chip {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 2px;
  padding: 10px 16px; cursor: pointer; line-height: 1.15;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.deco-chip:hover { background: var(--warm); color: var(--ink); }
.deco-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.deco-chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── Choix « besoin de conseils ? » ── */
.deco-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
@media (max-width: 520px) { .deco-choice { grid-template-columns: 1fr; } }
.deco-ch {
  display: flex; align-items: center; gap: 11px; text-align: left;
  padding: 14px 15px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px;
  font-family: var(--sans); color: var(--ink); cursor: pointer;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.deco-ch:hover { border-color: var(--line); }
.deco-ch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.deco-ch.on { border-color: var(--ink); background: var(--bg-2); }
.deco-ch-ico { flex-shrink: 0; color: var(--ink); }
.deco-ch-ico svg { width: 26px; height: 26px; }
.deco-ch-ico svg * { vector-effect: non-scaling-stroke; }
.deco-ch-t { font-size: 12.5px; line-height: 1.3; }

/* ── Dimensions ── */
.deco-dims { display: grid; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr)); gap: 10px; margin-top: 4px; }
.deco-dim { display: flex; flex-direction: column; gap: 6px; }
.deco-dim > span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.deco-dim-in { position: relative; display: flex; align-items: center; }
.deco-dim-in input {
  width: 100%; font-family: var(--sans); font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 2px;
  padding: 12px 40px 12px 13px; outline: none; -moz-appearance: textfield;
}
.deco-dim-in input::-webkit-outer-spin-button,
.deco-dim-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.deco-dim-in input:focus { border-color: var(--ink); }
.deco-dim-in i { position: absolute; right: 12px; font-style: normal; font-size: 11px; color: var(--ink-faint); }

/* ── Inputs texte ── */
.deco-in, .deco-ta {
  width: 100%; font-family: var(--sans); font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 2px;
  padding: 12px 14px; outline: none; box-sizing: border-box;
  transition: border-color .22s var(--ease);
}
.deco-in::placeholder, .deco-ta::placeholder { color: rgba(11,13,16,.58); }
.deco-in:focus, .deco-ta:focus { border-color: var(--ink); }
.deco-ta { resize: vertical; min-height: 104px; line-height: 1.6; }
.deco-in.ars-field-locked { background: rgba(11,13,16,.04); cursor: not-allowed; }

/* ── Zone d'upload ── */
.deco-drop {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 24px 18px; border: 1.5px dashed var(--line); border-radius: 4px;
  background: var(--paper); cursor: pointer;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.deco-drop:hover, .deco-drop.is-over, .deco-drop:focus-visible { border-color: var(--ink); background: var(--bg-2); outline: none; }
.deco-drop-ico svg { width: 28px; height: 28px; color: var(--ink); }
.deco-drop-t { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.deco-drop-s { font-size: 11.5px; color: var(--ink-soft); }
.deco-refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.deco-ref { position: relative; aspect-ratio: 1; border-radius: 3px; overflow: hidden; border: 1px solid var(--line-soft); }
.deco-ref img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deco-ref-x {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px; border-radius: 50%; border: 0;
  background: rgba(11,13,16,.72); color: #fff; font-size: 14px; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
}
.deco-ref-msg { font-size: 11.5px; color: var(--ink-soft); margin: 8px 0 0; min-height: 14px; }
.deco-ref-msg.err { color: #8a3f2f; }

/* ── Résumé ── */
.deco-recap {
  border: 1px solid var(--line-soft); border-radius: 3px; background: var(--paper);
  padding: 4px clamp(16px, 3vw, 24px); margin-bottom: 22px;
}
.deco-rr {
  display: flex; align-items: baseline; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--line-soft);
}
.deco-rr:last-child { border-bottom: 0; }
.deco-rr-k {
  flex-shrink: 0; width: 104px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600;
}
.deco-rr-v {
  border: 0; background: none; padding: 0; text-align: left; cursor: pointer;
  font-family: var(--sans); font-size: 13.5px; color: var(--ink); line-height: 1.5;
  display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.deco-rr-v i {
  font-style: normal; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .2s var(--ease);
}
.deco-rr-v:hover i, .deco-rr-v:focus-visible i { opacity: 1; }
.deco-rr--title .deco-rr-v { cursor: default; }
.deco-rr-v--strong { font-family: var(--serif); font-size: clamp(17px, 3vw, 21px); }
.deco-recap--text .deco-recap-pre {
  margin: 12px 0 4px; padding: 0;
  font-family: var(--sans); font-size: 12.5px; line-height: 1.7; color: var(--ink-soft);
  white-space: pre-wrap; word-break: break-word;
}

.deco-contact { margin-bottom: 6px; }
.deco-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .deco-row2 { grid-template-columns: 1fr; gap: 0; } }

/* ── Actions ── */
.deco-actions { margin-top: clamp(24px, 4vh, 36px); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.deco-actions--send { margin-top: 22px; }
.deco-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--paper); background: var(--ink); border: 1px solid var(--ink); border-radius: 2px;
  padding: 15px 28px; cursor: pointer;
  transition: background .38s var(--ease), color .38s var(--ease), opacity .3s var(--ease);
}
.deco-btn:hover:not([disabled]) { background: transparent; color: var(--ink); }
.deco-btn[disabled] { opacity: .32; cursor: default; }
.deco-btn .a { transition: transform .38s var(--ease); }
.deco-btn:hover:not([disabled]) .a { transform: translateX(4px); }
.deco-btn--ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.deco-btn--ghost:hover { background: var(--paper); color: var(--ink); }
.deco-btn--big { padding: 17px 34px; font-size: 12px; width: 100%; justify-content: center; }
@media (min-width: 640px) { .deco-btn--big { width: auto; } }

.deco-msg { font-size: 12.5px; color: var(--ink-soft); margin: 12px 0 0; min-height: 16px; }
.deco-msg.err { color: #8a3f2f; }
.deco-fine { font-size: 11px; letter-spacing: .04em; color: var(--ink-faint); margin: 14px 0 0; }

/* ── Confirmation ── */
.deco-done { text-align: center; padding: clamp(30px, 8vh, 70px) 0 20px; }
.deco-done-mk {
  width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink);
}
.deco-done-mk svg { width: 24px; height: 24px; }
.deco-done .deco-sub { margin: 12px auto 26px; }

@media (max-width: 680px) {
  .deco-plates { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .deco-kicker { font-size: 9.5px; }
  .deco-intro { font-size: 27px; }
  .deco-intro-sub { font-size: 12.5px; margin-top: 12px; }
  .deco-plate-cap { margin-top: 12px; }
  .deco-plate-name { font-size: 11px; }
  .deco-plate--wide { margin-top: 32px; padding-top: 28px; }
  .deco-wide-title { font-size: 21px; }
  .deco-screen { padding-top: 44px; padding-bottom: 120px; }
}
@media (max-width: 360px) {
  .deco-plates { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .deco-stage, .deco-detail, .deco-plate-frame, .deco-screen { transition: opacity .2s linear !important; animation: none !important; }
  .deco-plate-frame, .deco-opt, .deco-size { transform: none !important; }
  .deco-opt, .deco-chip, .deco-size, .deco-btn, .deco-ch, .deco-nodim { transition: none !important; }
}
