/* Примерочная: слева сцена, справа выбор. */

.fit-page { padding-top: 32px; }
.fit-head { max-width: 720px; margin-bottom: 30px; }
.fit-head h1 { margin-bottom: 12px; }
.fit-head p { font-size: 16px; }

.fit-work { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }

.fit-view {
  background: linear-gradient(170deg, var(--surface), var(--surface-2));
  border-radius: var(--r-xl); padding: 30px; display: grid; gap: 12px; justify-items: center;
  position: sticky; top: calc(var(--head-h) + 18px);
}
.fit-stage { width: 100%; display: grid; place-items: center; min-height: 460px; }
.fit-svg { width: auto; height: min(62vh, 520px); max-width: 100%; }
.fit-photo { height: min(62vh, 520px); width: auto; border-radius: 14px; }
.fit-real { color: var(--muted); }

.fit-panel { display: grid; gap: 22px; }
.fit-group { display: grid; gap: 10px; }
.fit-group h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-2);
}
.fit-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fit-group-head span { font-size: 13.5px; font-weight: 600; }
.fit-opts, .fit-kinds { display: flex; flex-wrap: wrap; gap: 7px; }
.fit-opts .pill, .fit-kinds .pill { font-size: 13px; padding: 7px 13px; }
.fit-sws { display: flex; flex-wrap: wrap; gap: 9px; }
.fit-sw {
  width: 30px; height: 30px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .13);
  box-shadow: inset 0 0 0 2px #fff; transition: transform .15s, box-shadow .15s;
}
.fit-sw:hover { transform: scale(1.08); }
.fit-sw.is-on { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--ink); }

.fit-buy {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 12px;
}
.fit-buy-top { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.fit-buy-name { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.fit-buy-meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.fit-buy-price { font-size: 20px; font-weight: 700; white-space: nowrap; }
.fit-buy-actions { display: flex; gap: 9px; }
.fit-buy-actions .btn-wide { flex: 1; }

.fit-note { margin-top: 34px; }

@media (max-width: 1000px) {
  .fit-work { grid-template-columns: 1fr; gap: 24px; }
  .fit-view { position: static; padding: 20px; }
  .fit-stage { min-height: 340px; }
  .fit-svg, .fit-photo { height: min(46vh, 400px); }
}
