/* ============================================================================
   tools-shoes.css — 러닝화 매칭 퀴즈 (선택 카드형)
   라이트/다크 --ro-* 토큰. 라디오는 숨기고 라벨을 선택 카드로.
   ========================================================================== */
.sq { max-width: 720px; margin: 0 auto; }

/* 헤더 */
.sq__head { text-align: center; margin-bottom: 22px; }
.sq__kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em;
    color: var(--ro-primary-600); background: var(--ro-primary-50); padding: 5px 13px; border-radius: 999px; }
.sq__title { margin: 12px 0 8px; font-size: clamp(24px, 4vw, 32px); font-weight: 900; letter-spacing: -0.02em; color: var(--ro-text); }
.sq__desc { margin: 0 auto; max-width: 560px; font-size: 14.5px; color: var(--ro-text-sub); line-height: 1.65; }

/* 진행 점 */
.sq__steps { display: flex; justify-content: center; gap: 7px; margin: 16px 0 4px; }
.sq__step { width: 26px; height: 5px; border-radius: 999px; background: var(--ro-border); transition: background .2s; }
.sq__step.is-done { background: var(--ro-primary-500); }

/* 퀴즈 카드 */
.sq__card { background: var(--ro-surface); border: 1px solid var(--ro-border); border-radius: 20px;
    padding: clamp(18px, 3vw, 28px); box-shadow: 0 10px 30px rgba(15,23,42,.06); }

/* 질문 블록 */
.sq-q { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--ro-border); }
.sq-q:first-child { padding-top: 4px; }
.sq-q:last-of-type { border-bottom: 0; }
.sq-q__n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--ro-primary-500); color: #fff; font-size: 14px; font-weight: 900; }
.sq-q__body { flex: 1; min-width: 0; }
.sq-q__label { font-size: 15.5px; font-weight: 800; color: var(--ro-text); margin: 3px 0 12px; }

/* 선택 옵션 카드 */
.sq-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 480px) { .sq-opts { grid-template-columns: 1fr; } }
.sq-opt { position: relative; cursor: pointer; }
.sq-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sq-opt__box { display: flex; align-items: center; justify-content: center; text-align: center;
    min-height: 46px; padding: 10px 12px; border-radius: 12px;
    border: 1.5px solid var(--ro-border); background: var(--ro-surface);
    font-size: 13.5px; font-weight: 700; color: var(--ro-text-sub);
    transition: border-color .15s, background .15s, color .15s, transform .08s; }
.sq-opt:hover .sq-opt__box { border-color: var(--ro-primary-300); }
.sq-opt input:checked + .sq-opt__box {
    border-color: var(--ro-primary-500); background: var(--ro-primary-50);
    color: var(--ro-primary-700); box-shadow: inset 0 0 0 1px var(--ro-primary-500);
}
.sq-opt input:focus-visible + .sq-opt__box { outline: 2px solid var(--ro-primary-500); outline-offset: 2px; }

/* 결과 보기 버튼 */
.sq__go { width: 100%; margin-top: 20px; appearance: none; border: 0; cursor: pointer;
    padding: 16px; border-radius: 14px; font-size: 16px; font-weight: 900; color: #fff;
    background: linear-gradient(135deg, var(--ro-primary-500), var(--ro-primary-600));
    box-shadow: 0 8px 22px rgba(78,143,255,.32); transition: filter .15s, transform .08s; }
.sq__go:hover { filter: brightness(1.05); }
.sq__go:active { transform: translateY(1px); }

/* 결과 카드 */
.sq-res { margin-top: 22px; border-radius: 20px; overflow: hidden;
    border: 1px solid var(--ro-primary-200);
    background: linear-gradient(135deg, var(--ro-primary-50), var(--ro-surface) 65%);
    animation: sq-reveal .4s cubic-bezier(.22,1,.36,1) both; }
.sq-res[hidden] { display: none; }
@keyframes sq-reveal { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.sq-res__top { display: flex; align-items: center; gap: 15px; padding: 22px 24px 16px; }
.sq-res__ic { flex-shrink: 0; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
    background: var(--ro-primary-500); color: #fff; font-size: 30px; box-shadow: 0 8px 20px rgba(78,143,255,.35); }
.sq-res__ic svg { width: 30px; height: 30px; }
.sq-res__b { min-width: 0; }
.sq-res__tag { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--ro-primary-600); text-transform: uppercase; }
.sq-res__cat { margin: 3px 0 0; font-size: 20px; font-weight: 900; color: var(--ro-text); letter-spacing: -0.01em; }
.sq-res__desc { margin: 0; padding: 0 24px 4px; font-size: 14px; color: var(--ro-text-sub); line-height: 1.65; }
.sq-res__models-h { margin: 16px 0 0; padding: 0 24px; font-size: 13px; font-weight: 800; color: var(--ro-text); }
.sq-res__models { list-style: none; margin: 10px 0 0; padding: 0 18px 18px; display: grid; gap: 7px; }
@media (min-width: 520px) { .sq-res__models { grid-template-columns: 1fr 1fr; } }
.sq-res__models li { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 11px;
    background: var(--ro-surface); border: 1px solid var(--ro-border); font-size: 13.5px; font-weight: 700; color: var(--ro-text); }
.sq-res__models li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ro-primary-500); flex-shrink: 0; }
.sq-res__note { margin: 0; padding: 0 24px 20px; font-size: 12px; color: var(--ro-text-muted); line-height: 1.6; }
