/* Yeca Art — Sur Mesure page */

/* ───────── HERO — text-only centré ───────── */
.sm-hero {
  background: var(--cream);
  padding: calc(var(--header-h) + var(--s-9)) 0 var(--section-y-sm);
  text-align: center;
}
.sm-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sm-hero-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--s-5);
}
.sm-hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(60px, 8vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: var(--s-5);
}
.sm-hero-headline .italic { font-style: italic; color: var(--gold-deep); }
.sm-hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto var(--s-7);
}
.sm-hero-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
}
.sm-hero-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: 0;
}
.sm-hero-meta-dot {
  color: var(--gold);
  margin: 0 8px;
  font-style: normal;
}

/* ───────── PROCESS ───────── */
.sm-process {
  background: var(--white);
  padding: var(--section-y) 0;
}
.sm-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 32px;
  margin-top: 64px;
  position: relative;
}
.sm-process-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 168, 117, 0.35) 8%, rgba(201, 168, 117, 0.35) 92%, transparent 100%);
  z-index: 0;
}
.sm-process-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  background: var(--white);
  padding: 0 16px;
  z-index: 1;
}
.sm-process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.sm-process-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.sm-process-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.sm-process-time {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-top: auto;
  padding-top: 8px;
}

/* ───────── INSPIRATIONS ───────── */
.sm-inspirations {
  background: var(--cream);
  padding: var(--section-y) 0;
}
.sm-inspirations-head {
  text-align: center;
  margin-bottom: 80px;
}
.sm-inspirations-head .section-headline {
  margin: 24px auto 24px;
}
.sm-inspirations-lede {
  max-width: 540px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.sm-inspirations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
}
.sm-inspiration {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sm-inspiration--offset { transform: translateY(48px); }
.sm-inspiration-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.sm-inspiration-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.sm-inspiration:hover .sm-inspiration-img img { transform: scale(1.04); }
.sm-inspiration-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.015em;
}
.sm-inspiration-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ───────── BRIEF (form) ───────── */
.sm-brief {
  background: var(--ink);
  color: var(--cream);
  padding: var(--section-y-sm) 0 var(--section-y);
  position: relative;
}
.sm-brief::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(201, 168, 117, 0.3);
}

.sm-brief-frame {
  background: var(--cream);
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto;
  padding: var(--s-9) var(--s-9) var(--section-y-sm);
  position: relative;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.18);
}
.sm-brief-frame::before {
  content: "";
  position: absolute;
  top: 16px; left: 16px; right: 16px; bottom: 16px;
  border: 1px solid rgba(201, 168, 117, 0.35);
  pointer-events: none;
}

.sm-brief-header {
  margin-bottom: var(--s-7);
}

/* ───── STEPPER interactif ───── */
.sm-stepper {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: var(--s-5);
  padding: 0;
}
.sm-stepper-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 4px 0;
  cursor: not-allowed;
  opacity: 0.4;
  transition: opacity var(--dur-fast) var(--ease);
  font-family: var(--sans);
}
.sm-stepper-item.is-clickable {
  cursor: pointer;
  opacity: 0.65;
}
.sm-stepper-item.is-clickable:hover {
  opacity: 1;
}
.sm-stepper-item.is-clickable:hover .sm-stepper-num {
  border-color: var(--gold);
  color: var(--gold-deep);
}
.sm-stepper-item.is-active {
  opacity: 1;
  cursor: default;
}
.sm-stepper-item.is-active .sm-stepper-num {
  background: var(--gold);
  color: var(--cream);
  border-color: var(--gold);
  transform: scale(1.08);
}
.sm-stepper-item.is-active .sm-stepper-label {
  color: var(--ink);
  font-weight: 600;
}
.sm-stepper-item.is-done {
  opacity: 1;
  cursor: pointer;
}
.sm-stepper-item.is-done .sm-stepper-num {
  background: var(--gold-deep);
  color: var(--cream);
  border-color: var(--gold-deep);
}
.sm-stepper-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 26, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  transition: all 360ms var(--ease);
}
.sm-stepper-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease);
}
.sm-stepper-line {
  flex: 1;
  height: 1px;
  background: rgba(26, 26, 26, 0.12);
  align-self: flex-start;
  margin-top: 18px;
  min-width: 12px;
  position: relative;
  overflow: hidden;
}
.sm-stepper-line.is-done::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: smLineFill 600ms var(--ease) forwards;
}
@keyframes smLineFill {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/* ───── CHIPS — résumé en direct ───── */
.sm-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 16px;
  background: var(--cream-deep);
  border-left: 2px solid var(--gold);
  animation: smChipsIn 400ms var(--ease);
}
@keyframes smChipsIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.sm-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid rgba(201, 168, 117, 0.45);
  font-size: 13px;
  color: var(--ink);
  animation: smChipPop 360ms var(--ease);
}
@keyframes smChipPop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
.sm-chip-key {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--gold-deep);
}
.sm-chip-value {
  font-weight: 500;
}
.sm-chips-edit {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: pointer;
  border: 0;
  background: transparent;
  font-weight: 600;
  padding: 4px 8px;
  transition: color var(--dur-fast) var(--ease);
}
.sm-chips-edit:hover { color: var(--gold-deep); }

/* ───── Click pulse on choice/size cards ───── */
.sm-choice.just-selected,
.sm-size.just-selected {
  animation: smChoicePulse 500ms var(--ease);
}
@keyframes smChoicePulse {
  0%   { transform: translateY(0) scale(1); }
  35%  { transform: translateY(-3px) scale(1.025); }
  100% { transform: translateY(-2px) scale(1); }
}

/* Steps */
.sm-step {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.sm-step.active {
  display: block;
  opacity: 1;
  transform: none;
  animation: smStepIn 700ms var(--ease);
}
@keyframes smStepIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.sm-step-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.sm-step-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.sm-step-headline .italic { font-style: italic; color: var(--gold-deep); }
.sm-step-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 40px;
}

.sm-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.sm-step-actions--final {
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}
.sm-step-actions--final .sm-back { align-self: flex-start; }
.sm-final-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.sm-back {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), gap var(--dur-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.sm-back:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
  gap: 18px;
}

/* ───────── Form fields ───────── */
.sm-textarea,
.sm-input,
.sm-select {
  display: block;
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(26, 26, 26, 0.15);
  padding: 16px 18px;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  border-radius: 0;
  outline: none;
}
.sm-textarea {
  resize: vertical;
  min-height: 160px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
}
.sm-textarea:focus,
.sm-input:focus,
.sm-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.sm-textarea::placeholder,
.sm-input::placeholder {
  color: var(--ink-muted);
  font-style: italic;
}

.sm-fields {
  display: grid;
  gap: 24px;
}
.sm-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sm-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sm-field label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.sm-field-opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  color: var(--ink-muted);
  font-size: 12px;
}

.sm-error {
  color: #b03a3a;
  font-size: 14px;
  margin: 0;
  font-style: italic;
}

/* ───────── Choice grid (esprit) ───────── */
.sm-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.sm-choice {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: var(--white);
  border: 1px solid rgba(26, 26, 26, 0.12);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  font-family: var(--sans);
  color: var(--ink);
}
.sm-choice:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.sm-choice.selected {
  border-color: var(--gold);
  background: var(--cream-deep);
  box-shadow: 0 0 0 1px var(--gold), 0 12px 32px rgba(201, 168, 117, 0.2);
}
.sm-choice-img {
  width: 100px;
  height: 100px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-deep);
}
.sm-choice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sm-choice-img--ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px dashed rgba(201, 168, 117, 0.4);
}
.sm-choice-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sm-choice-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.015em;
}
.sm-choice-pal {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--sans);
  line-height: 1.4;
}

/* ───────── Type grid (6 cartes : Ours / Panthère / Gorille / Tasse / Visage / Cobra) ───────── */
.sm-type-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sm-choice--placeholder .sm-choice-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-deep);
  color: var(--gold-deep);
}
.sm-choice--sage .sm-choice-img--placeholder {
  background: var(--sage-soft);
  color: var(--ink);
}
.sm-choice--rose .sm-choice-img--placeholder {
  background: var(--rose-soft);
  color: var(--white);
}
.sm-choice--ink .sm-choice-img--placeholder {
  background: var(--ink);
  color: var(--gold);
}

/* ───────── Sub-section: Taille (apparaît uniquement quand Ours sélectionné) ───────── */
.sm-subfield {
  margin-top: 32px;
  padding-top: 32px;
  position: relative;
  animation: smSubfieldIn 480ms var(--ease);
}
.sm-subfield[hidden] { display: none; }
.sm-subfield-divider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201, 168, 117, 0.5) 50%,
    transparent 100%);
}
.sm-subfield-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-deep) !important;
}
.sm-subfield-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--ink);
}
.sm-subfield-title .italic { font-style: italic; color: var(--gold-deep); }
.sm-subfield-lede {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 20px;
  line-height: 1.5;
}
@keyframes smSubfieldIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.sm-textarea-hint {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 10px;
  line-height: 1.5;
}

/* ───────── Type grid responsive ───────── */
@media (max-width: 880px) {
  .sm-type-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .sm-type-grid { grid-template-columns: 1fr; }
}

/* ───────── Size grid (format) ───────── */
.sm-size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sm-size {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid rgba(26, 26, 26, 0.12);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  position: relative;
  overflow: hidden;
  font-family: var(--sans);
  color: var(--ink);
}
.sm-size::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}
.sm-size:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.sm-size:hover::before { width: 100%; }
.sm-size.selected {
  border-color: var(--gold);
  background: var(--cream-deep);
  box-shadow: 0 0 0 1px var(--gold), 0 12px 32px rgba(201, 168, 117, 0.2);
}
.sm-size.selected::before { width: 100%; }
.sm-size-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.sm-size-dim {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.sm-size-price {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 168, 117, 0.3);
  width: 100%;
}
.sm-size-ex {
  font-size: 12px;
  color: var(--ink-muted);
  font-style: italic;
  margin-top: 4px;
}

/* ───────── Recap card ───────── */
.sm-recap {
  background: var(--white);
  border-left: 2px solid var(--gold);
  padding: 40px 48px;
  display: grid;
  gap: 28px;
}
.sm-recap-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}
.sm-recap-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.sm-recap-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  padding-top: 4px;
}
.sm-recap-value {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
}
.sm-recap-value em {
  font-style: italic;
  color: var(--ink-soft);
}
.sm-recap-value--text {
  font-style: italic;
  color: var(--ink-soft);
}

/* ───────── Thanks step ───────── */
.sm-step--thanks {
  text-align: center;
  padding: 32px 0;
}
.sm-thanks-mark {
  display: inline-flex;
  margin-bottom: 32px;
  animation: smThanksPop 700ms var(--ease) both;
}
@keyframes smThanksPop {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
.sm-thanks-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 8vw, 112px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 16px 0 24px;
}
.sm-thanks-headline .italic { font-style: italic; color: var(--gold-deep); }
.sm-thanks-quote {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 16px;
  text-wrap: balance;
}
.sm-thanks-quote .italic { font-style: italic; color: var(--gold-deep); }
.sm-thanks-sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 56px;
}
.sm-thanks-actions {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ───────── Closing testimonial ───────── */
.sm-closing {
  background: var(--cream);
  padding: var(--section-y) 0;
  text-align: center;
}
.sm-closing-quote {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 1000px;
  margin: 0 auto 56px;
  text-wrap: balance;
  color: var(--ink);
}
.sm-closing-quote .italic { font-style: italic; color: var(--gold-deep); }
.sm-closing-sig {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

/* ───────── Toast ───────── */
.sm-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--cream);
  padding: 14px 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 100;
  opacity: 0;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
  pointer-events: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.sm-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ───────── Mobile ───────── */
@media (max-width: 980px) {
  .sm-process-grid { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .sm-process-grid::before { display: none; }

  .sm-inspirations-grid { grid-template-columns: 1fr; gap: 48px; }
  .sm-inspiration--offset { transform: none; }

  .sm-brief-frame { padding: 48px 24px; margin: 0 16px; }
  .sm-brief-frame::before { top: 8px; left: 8px; right: 8px; bottom: 8px; }

  .sm-choice-grid { grid-template-columns: 1fr; }
  .sm-choice { grid-template-columns: 80px 1fr; gap: 16px; padding: 12px; }
  .sm-choice-img { width: 80px; height: 80px; }
  .sm-choice-name { font-size: 20px; }

  .sm-size-grid { grid-template-columns: 1fr; gap: 12px; }
  .sm-size { padding: 24px 20px; }

  .sm-fields-row { grid-template-columns: 1fr; gap: 16px; }

  .sm-recap { padding: 32px 24px; }
  .sm-recap-row { grid-template-columns: 1fr; gap: 8px; }
  .sm-recap-label { padding-top: 0; }
  .sm-recap-value { font-size: 17px; }

  .sm-step-actions--final { gap: 16px; }
  .sm-final-actions { width: 100%; flex-direction: column; }
  .sm-final-actions .btn-primary,
  .sm-final-actions .btn-ghost { width: 100%; justify-content: center; }

  .sm-toast { left: 16px; right: 16px; transform: translateY(20px); }
  .sm-toast.show { transform: translateY(0); }

  /* Stepper compact — hide labels, keep numbered circles */
  .sm-stepper-label { display: none; }
  .sm-stepper-num { width: 32px; height: 32px; font-size: 12px; }
  .sm-stepper-line { margin-top: 16px; }

  /* Chips — wrap nicely */
  .sm-chips { padding: 10px 12px; gap: 6px; }
  .sm-chip { font-size: 12px; padding: 5px 10px; }
  .sm-chips-edit { width: 100%; text-align: left; margin-left: 0; padding-top: 6px; border-top: 1px solid rgba(26,26,26,0.06); }
}

@media (max-width: 540px) {
  .sm-step-actions { flex-direction: column-reverse; align-items: stretch; }
  .sm-step-actions .btn-primary { justify-content: center; }
  .sm-step-actions .sm-back { align-self: flex-start; }
}
