/**
 * Blend-choice widget — shared by [ff_save_results] and [ff_my_results].
 *
 * Both shortcodes render the same two-path "send me my blend / buy the full
 * report" markup (.ff-blend-choice) but live on different pages
 * ([ff_save_results] on /results-page, [ff_my_results] on /dashboard via
 * templates/dashboard/main.php). Previously each shortcode carried its own
 * inline <style> block, which meant the CSS silently went missing wherever
 * only one of the two ever got copy-pasted correctly. Enqueued once, site-wide,
 * from five-flavours-suite.php so that can't happen again.
 */

.ff-blend-choice {
    max-width: 70%;
    margin: 0 auto;
}
.ff-blend-choice [data-ff-stage][hidden] { display: none; }
.ff-blend-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    margin: 0 0 6px;
}
.ff-blend-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 900;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.05;
    margin: 0 0 18px;
    color: #000;
}
.ff-blend-paths {
    display: grid;
    gap: 14px;
    margin: 0 0 16px;
}
/* Card wrapper: contains the head (always visible) + inline form (toggled). */
.ff-blend-path-card {
    background: #fff;
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 20px;
    font-family: inherit;
    color: #000;
    transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}
.ff-blend-path-card:hover {
    border-color: #ff6900;
    box-shadow: 0 8px 22px rgba(255,105,0,0.08);
}
.ff-blend-path-card.is-active {
    border-color: #ff6900;
    box-shadow: 0 12px 30px rgba(255,105,0,0.16);
}
.ff-blend-path-card.is-collapsed {
    opacity: 0.5;
}
.ff-blend-path-card.is-collapsed:hover {
    opacity: 0.9;
}
.ff-blend-card-head {
    display: grid;
    gap: 8px;
}
/* Per-card "Choose this option" call-to-action. */
.ff-blend-pick-btn {
    margin-top: 8px;
    background: #ff6900;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    min-height: 46px;
    transition: background 150ms ease;
}
.ff-blend-pick-btn:hover { background: color-mix(in oklab, #ff6900 88%, black); }
.ff-blend-pick-btn--paid { background: #000; }
.ff-blend-pick-btn--paid:hover { background: #222; }
/* Inline form that unfolds inside the card. */
.ff-blend-inline-form {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(0,0,0,0.12);
    display: grid;
    gap: 10px;
    animation: ff-blend-unfold 200ms ease;
}
@keyframes ff-blend-unfold {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ff-blend-inline-form .ff-form-row {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
}
.ff-blend-inline-form .ff-form-row:has(.ff-email-input) {
    grid-template-columns: 1fr auto;
}
.ff-blend-inline-form input {
    padding: 12px 14px;
    border: 1.5px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
    width: 100%;
}
.ff-blend-inline-form input:focus {
    outline: none;
    border-color: #ff6900;
}
.ff-blend-inline-form .ff-send-button {
    background: #ff6900;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    white-space: nowrap;
    min-height: 46px;
}
.ff-blend-inline-form .ff-send-button:hover { background: color-mix(in oklab, #ff6900 88%, black); }
.ff-blend-inline-form .ff-send-button[disabled] { opacity: 0.6; cursor: wait; }
.ff-blend-inline-form .ff-form-message:empty { display: none; }
.ff-blend-inline-form .ff-error {
    color: #b00020;
    font-size: 13px;
    margin: 4px 0 0;
}
@media (max-width: 520px) {
    .ff-blend-inline-form .ff-form-row { grid-template-columns: 1fr; }
    .ff-blend-inline-form .ff-form-row:has(.ff-email-input) { grid-template-columns: 1fr; }
}
.ff-blend-path-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #ff6900;
}
.ff-blend-path-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.15;
    color: #000;
}
.ff-blend-path-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}
.ff-blend-path-unlocks {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: grid;
    gap: 4px;
    font-size: 13px;
    color: #333;
}
.ff-blend-path-unlocks li::before { content: '🔓 '; margin-right: 4px; }
.ff-blend-path-cta-line {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ff6900;
}
.ff-blend-sent-body {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 20px;
}
.ff-blend-upsell-btn { width: 100%; }
.ff-blend-form-sub {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 16px;
}
.ff-blend-back {
    background: none;
    border: none;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    margin-top: 12px;
    padding: 6px 0;
    text-decoration: underline;
}
.ff-blend-back:hover { color: #000; }
