/* ==========================================================================
   "Save to App" CTA above the WPRM recipe card (inc/recipe-app-cta.php)
   Tokens come from tokens.css.
   ========================================================================== */

.mm-recipe-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0 24px;
    padding: 20px 24px;
    background: var(--mm-light-teal);
    border-radius: 16px;
    color: var(--mm-text-dark);
    font-family: 'dmsans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.45;
}

.mm-recipe-cta,
.mm-recipe-cta * {
    box-sizing: border-box;
}

.mm-recipe-cta__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    box-shadow: var(--mm-shadow-card);
}

.mm-recipe-cta__text {
    flex: 1;
    min-width: 0;
}

.mm-recipe-cta .mm-recipe-cta__heading {
    margin: 0 0 4px;
    font-family: 'dmserif', Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.2;
}

.mm-recipe-cta .mm-recipe-cta__body {
    margin: 0;
    font-size: 0.95rem;
    color: var(--mm-text-light);
}

.mm-recipe-cta .mm-recipe-cta__stores {
    display: flex;
    gap: 12px;
    margin: 6px 0 0;
    font-size: 0.85rem;
}

.mm-recipe-cta__stores a {
    color: var(--mm-primary-teal);
    text-decoration: underline;
}

.mm-recipe-cta .mm-recipe-cta__button {
    flex-shrink: 0;
    display: inline-block;
    padding: 12px 24px;
    background: var(--mm-primary-teal);
    border-radius: 999px;
    color: var(--mm-white);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.mm-recipe-cta .mm-recipe-cta__button:hover,
.mm-recipe-cta .mm-recipe-cta__button:focus-visible {
    background: var(--mm-dark-teal);
    color: var(--mm-white);
}

@media (max-width: 600px) {
    .mm-recipe-cta {
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 18px;
    }

    .mm-recipe-cta__icon {
        width: 52px;
        height: 52px;
    }

    .mm-recipe-cta__text {
        flex-basis: calc(100% - 68px);
    }

    .mm-recipe-cta .mm-recipe-cta__button {
        width: 100%;
        text-align: center;
    }
}
