.card-recipe {
    background: #fffdf8;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.card-recipe .card-body {
    padding: 1.6rem 1.8rem;
}

/* left column – ingredients */

.ingredients-col {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 991.98px) {
    .ingredients-col {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
}

.ingredients-col h5 {
    font-size: 1rem;
    font-weight: 600;
}

.ingredients-col h5 i {
    font-size: 1.1rem;
}

.card-recipe .list-group-item {
    background: transparent;
    border-color: rgba(0, 0, 0, 0.05);
    font-size: 0.86rem;
}

/* title + description */

.card-recipe h4 {
    font-size: 1.45rem;
    font-weight: 700;
}

.card-recipe p.text-muted {
    font-size: 0.9rem;
    line-height: 1.45;
}

/* servings badge */

.servings-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background-color: #ffc10733;
    color: #856404;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
}

/* PDF button */

.recipe-actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-left: auto;
}

.pdf-btn {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.4rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
}

/* steps header */

.card-recipe h6 {
    font-size: 0.95rem;
    font-weight: 600;
}

/* mobile */

@media (max-width: 575px) {
    .recipe-actions {
        margin-top: 0;
    }
}
