/* ===== Furniture Story — "Call me back" modal (Argo module) =====
   Scoped under .fs-callback. Uses the global :root tokens from furniture_story_chrome.css. */

body.fs-cb-lock { overflow: hidden; }

.fs-callback { position: fixed; inset: 0; z-index: 1000; display: none; font-family: var(--sans); color: var(--ink); }
.fs-callback.open { display: block; }
.fs-callback *, .fs-callback *::before, .fs-callback *::after { box-sizing: border-box; }

.fs-cb-overlay { position: absolute; inset: 0; background: rgba(26, 22, 18, 0.55); opacity: 0; transition: opacity 0.3s ease; }
.fs-callback.open .fs-cb-overlay { opacity: 1; }

.fs-cb-dialog {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -48%); opacity: 0;
  width: calc(100% - 40px); max-width: 980px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--bg); border-radius: 4px;
  box-shadow: 0 30px 80px rgba(26, 22, 18, 0.4);
  transition: opacity 0.32s cubic-bezier(0.4,0,0.2,1), transform 0.32s cubic-bezier(0.4,0,0.2,1);
}
.fs-callback.open .fs-cb-dialog { transform: translate(-50%, -50%); opacity: 1; }

.fs-cb-pad { padding: 26px 40px 30px; }
.fs-cb-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white);
  color: var(--ink-soft); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition); z-index: 2;
}
.fs-cb-close:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); opacity: 1; }
.fs-cb-close svg { width: 18px; height: 18px; }

.fs-cb-lbl { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; margin-bottom: 8px; }
.fs-callback h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 8px; max-width: none; color: var(--ink); }
.fs-cb-deck { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-soft); line-height: 1.4; margin: 0; max-width: 70ch; }

.fs-cb-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; margin-top: 18px; border-top: 1px solid var(--line); }
.fs-cb-left { padding: 22px 36px 0 0; border-right: 1px solid var(--line); }
.fs-cb-right { padding: 22px 0 0 36px; position: relative; }
.fs-callback h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 0 0 14px; color: var(--ink); }

.fs-cb-company { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.fs-cb-addr { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 14px; white-space: pre-line; }
.fs-cb-note { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin: 0 0 16px; }
.fs-cb-chan { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; font-size: 14px; }
.fs-cb-ic { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.fs-cb-ic svg { width: 16px; height: 16px; }
.fs-cb-chan a { color: var(--ink); text-decoration: none; }
.fs-cb-chan a:hover { color: var(--terracotta); opacity: 1; }
.fs-cb-chan .cl { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; margin-bottom: 1px; }
.fs-cb-hours { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.fs-cb-hours svg { width: 15px; height: 15px; color: var(--accent); }

.fs-cb-alert { background: #FBEAEA; border: 1px solid #E3B7B4; color: #9B2C28; font-size: 13px; padding: 10px 14px; border-radius: 3px; margin-bottom: 14px; }
.fs-cb-asap { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--bg-alt); cursor: pointer; transition: all var(--transition); margin-bottom: 10px; }
.fs-cb-asap.on { border-color: var(--ink); background: var(--white); }
.fs-cb-asap input { accent-color: var(--terracotta); width: 16px; height: 16px; flex: none; margin: 0; }
.fs-cb-asap b { font-weight: 600; font-size: 14px; flex: 1; }
.fs-cb-tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: #fff; background: var(--terracotta); padding: 4px 9px; border-radius: 999px; }
.fs-cb-or { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: center; margin: 2px 0 12px; display: flex; align-items: center; gap: 12px; }
.fs-cb-or::before, .fs-cb-or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }

.fs-cb-days { display: flex; gap: 8px; margin-bottom: 14px; }
.fs-cb-chip { flex: 1; padding: 9px 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft); cursor: pointer; transition: all var(--transition); font-family: inherit; }
.fs-cb-chip:hover { border-color: var(--ink); opacity: 1; }
.fs-cb-chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.fs-cb-time { margin-bottom: 14px; transition: opacity var(--transition); }
.fs-cb-time-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.fs-cb-time-head .k { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.fs-cb-time-head .v { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--terracotta); }
.fs-cb-range { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: transparent; cursor: pointer; margin: 0; }
.fs-cb-range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--terracotta) 0%, var(--terracotta) var(--cb-pct, 0%), var(--line-strong) var(--cb-pct, 0%), var(--line-strong) 100%); }
.fs-cb-range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-strong); }
.fs-cb-range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--terracotta); }
.fs-cb-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--terracotta); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line-strong); margin-top: -7px; }
.fs-cb-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--terracotta); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line-strong); }
.fs-cb-ticks { display: flex; justify-content: space-between; margin-top: 8px; }
.fs-cb-ticks span { font-size: 11px; color: var(--ink-soft); font-weight: 500; }

.fs-cb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fs-cb-fields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px 12px; margin-bottom: 12px; }
.fs-cb-fields .c2 { grid-column: span 2; }
.fs-cb-fields .c3 { grid-column: span 3; }
.fs-cb-fields .full { grid-column: 1 / -1; }
.fs-cb-field label { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 6px; }
.fs-cb-field label .rq { color: var(--terracotta); }
.fs-cb-field input, .fs-cb-field select { width: 100%; padding: 10px 12px; font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 3px; transition: border-color var(--transition); }
.fs-cb-field input:focus, .fs-cb-field select:focus { outline: none; border-color: var(--ink); }
.fs-cb-field input.err { border-color: #C0392B; background: #FCF3F2; }

.fs-cb-submit { width: 100%; padding: 14px; background: var(--ink); color: var(--bg); font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border: none; border-radius: 3px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background var(--transition); }
.fs-cb-submit:hover { background: var(--accent); opacity: 1; }
.fs-cb-submit svg { width: 16px; height: 16px; }
.fs-cb-submit[disabled] { opacity: 0.6; cursor: default; }
.fs-cb-foot { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }

.fs-cb-success { text-align: center; padding: 20px 0 8px; }
.fs-cb-success-ic { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--bg-warm); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.fs-cb-success-ic svg { width: 26px; height: 26px; }
.fs-cb-success p { color: var(--ink-soft); margin: 0 0 20px; font-size: 15px; }

@media (max-width: 820px) {
  .fs-cb-pad { padding: 24px 22px 26px; }
  .fs-cb-grid { grid-template-columns: 1fr; }
  .fs-cb-left { padding: 20px 0 20px; border-right: none; border-bottom: 1px solid var(--line); }
  .fs-cb-right { padding: 20px 0 0; }
  .fs-callback h2 { font-size: 25px; }
  .fs-cb-fields { grid-template-columns: 1fr 1fr; }
  .fs-cb-fields .c2, .fs-cb-fields .c3, .fs-cb-fields .full { grid-column: auto; }
}
@media (max-width: 480px) {
  .fs-cb-fields { grid-template-columns: 1fr; }
}
