/* ── Find My Spa Quiz Styles ── */


#fms-wrap {
    /*max-width: 960px; */
	max-width: 1200px !important;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: inherit;
}

.fms-intro h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.fms-intro p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

/* ── Questions ── */
.fms-question {
    padding: 30px 0;
    animation: fmsFadeIn 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes fmsFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fms-question-text {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    width: 100%;
}

.fms-answers-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
    width: 100%;
}

.fms-answer-col {
    flex: 0 0 auto;
}

/* ── Answer Buttons ── */
.fms-answer,
.fms-type-btn {
    background: #fff;
    border: 2px solid #0073aa;
    border-radius: 8px;
    padding: 18px 30px;
    cursor: pointer;
    min-width: 160px;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 1em;
    font-weight: 500;
    color: #0073aa;
    user-select: none;
}

.fms-answer a,
.fms-type-btn span {
    display: block;
    color: inherit;
    text-decoration: none;
    pointer-events: none;
}

.fms-answer:hover,
.fms-type-btn:hover {
    background: #0073aa;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,115,170,0.25);
}

.fms-answer:hover a,
.fms-type-btn:hover span {
    color: #fff;
}

.fms-answer.selected {
    background: #0073aa;
    color: #fff;
}

.fms-answer.selected a {
    color: #fff;
}

/* ── Combo Images ── */
.fms-combo-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.fms-combo-img-wrap figure {
    text-align: center;
}

.fms-combo-clickable {
    cursor: pointer;
    border-radius: 10px;
    border: 3px solid transparent;
    padding: 8px;
    transition: border-color 0.2s, transform 0.2s;
    margin: 0;
}

.fms-combo-clickable:hover {
    border-color: #0073aa;
    transform: translateY(-3px);
}

.fms-combo-clickable.fms-combo-selected {
    border-color: #0073aa;
    background: rgba(0,115,170,0.05);
}

.fms-combo-clickable img {
    max-width: 280px;
    border-radius: 8px;
    display: block;
    pointer-events: none;
}

.fms-combo-clickable figcaption {
    margin-top: 8px;
    font-size: 0.92em;
    color: #333;
    font-weight: 500;
}

.fms-combo-click-hint {
    font-size: 0.85em;
    color: #888;
    margin-top: 8px;
    font-style: italic;
    width: 100%;
    text-align: center;
}

/* ── Nav ── */
.fms-nav {
    text-align: center;
    margin: 10px 0 30px;
}

.fms-start-over,
.fms-start-over-btn {
    color: #0073aa;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.95em;
}

.fms-results-label {
    color: #555;
}

/* ── Results ── */
.fms-results-wrap {
    border-top: 2px solid #eee;
    padding-top: 30px;
    margin-top: 20px;
}

.fms-results-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.fms-result-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    flex: 0 0 calc(33% - 24px);
    min-width: 220px;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.fms-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.fms-result-card img {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 12px;
}

.fms-result-brand {
    font-size: 18px !important;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 4px;
}

.fms-result-model {
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 8px;
}

.fms-result-model a {
    color: #0073aa;
    text-decoration: none;
}

.fms-result-model a:hover {
    text-decoration: underline;
}

.fms-result-meta {
    font-size: 0.9em;
    color: #555;
}

.fms-swim-level {
    font-size: 0.95em;
    color: #444;
}

.fms-dots {
    color: #0073aa;
    font-size: 1.2em;
    letter-spacing: 2px;
}

.fms-result-desc {
    font-size: 0.88em;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
}

.fms-no-results {
    text-align: center;
    padding: 40px;
    width: 100%;
}

.fms-no-results h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* ── Loading spinner ── */
.fms-loading {
    text-align: center;
    padding: 40px;
    font-size: 1.1em;
    color: #888;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .fms-answer,
    .fms-type-btn {
        min-width: 130px;
        padding: 14px 18px;
        font-size: 0.95em;
    }

    .fms-result-card {
        flex: 0 0 calc(50% - 24px);
    }

    .fms-question-text {
        font-size: 1.1em;
    }
}
