.recipes-page {
    max-width: 1320px;
}
.recipes-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 410px;
    border-radius: 26px;
    overflow: hidden;
    background: #2b006e;
    color: #fff;
    box-shadow: 0 20px 55px rgba(43, 0, 110, 0.16);
}
.recipes-hero > div:first-child {
    padding: 55px;
}
.recipes-hero .eyebrow {
    color: #d7f35f;
}
.recipes-hero h1 {
    margin: 10px 0 15px;
    font-size: clamp(44px, 6vw, 76px);
}
.recipes-hero h1 em {
    color: #d7f35f;
    font-style: normal;
}
.recipes-hero p {
    max-width: 580px;
    color: #e9ddff;
    font-size: 17px;
}
.recipes-hero .btn {
    margin-top: 18px;
}
.recipe-hero-art {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    background: radial-gradient(
        circle at center,
        #e9d6ff 0 44%,
        #5b2eff 45% 65%,
        #d7f35f 66%
    );
}
.recipe-hero-art span {
    font-size: 92px;
    filter: drop-shadow(0 16px 12px rgba(43, 0, 110, 0.2));
}
.recipe-hero-art span:last-child {
    grid-column: 1/-1;
    margin-top: -60px;
}
.recipes-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin: 55px 0 20px;
}
.recipes-heading h2 {
    margin: 6px 0 0;
    font-size: 34px;
}
.recipes-heading p {
    margin: 0;
}
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
    gap: 20px;
}
.recipe-card {
    overflow: hidden;
    border: 1px solid #e2dce9;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(43, 0, 110, 0.05);
}
.recipe-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: calc(100% - 36px);
    height: 190px;
    margin: 12px auto 0;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}
.recipe-cover img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 110%;
    object-fit: contain;
    object-position: center top;
    margin-bottom: -10%;
    clip-path: inset(0 0 9% 0);
}
.recipe-cover small {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #fff;
    color: #350080;
    font-weight: 900;
}
.cover-2,
.cover-3 {
    background: #fff;
}
.recipe-card form > header {
    padding: 16px 18px 12px;
}
.recipe-card h2 {
    margin: 0;
    font-size: 19px;
}
.recipe-card header p {
    margin: 6px 0 10px;
    font-size: 12px;
}
.recipe-meta {
    display: flex;
    gap: 16px;
    color: #5b2eff;
    font-size: 11px;
    font-weight: 800;
}
.recipe-ingredients {
    padding: 0 18px;
}
.recipe-ingredients h3 {
    margin: 7px 0 10px;
    font-size: 14px;
}
.recipe-ingredient {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #eeeaf2;
    padding: 10px 0;
}
.recipe-ingredient-image {
    position: relative;
    display: block;
    flex: 0 0 72px;
    width: 72px;
    height: 58px;
    overflow: hidden;
    border: 1px solid #eeeaf2;
    border-radius: 12px;
    background: #fff;
}
.recipe-ingredient-image img {
    display: block;
    width: 100%;
    height: auto;
}
.recipe-ingredient-image.placeholder {
    display: grid;
    place-items: center;
    background: #f4efff;
    font-size: 24px;
}
.recipe-ingredient label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
    margin: 0;
    cursor: pointer;
}
.recipe-ingredient input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #5b2eff;
}
.recipe-ingredient label > span {
    display: grid;
    min-width: 0;
    flex: 1;
}
.recipe-ingredient b {
    font-size: 12px;
}
.recipe-ingredient small {
    margin-top: 3px;
    color: #756d80;
}
.recipe-ingredient select {
    margin-top: 6px;
    padding: 8px;
    border-radius: 8px;
}
.recipe-ingredient.unavailable {
    opacity: 0.52;
}
.recipe-card form > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    padding: 13px 18px;
    border-top: 1px solid #eeeaf2;
    background: #faf9fc;
}
.recipe-card form > footer span {
    color: #756d80;
    font-size: 11px;
}
.recipe-card form > footer b {
    color: #350080;
    font-size: 17px;
}
.recipe-card button:disabled {
    cursor: not-allowed;
    background: #b9b3c2;
}
@media (max-width: 850px) {
    .recipes-hero {
        grid-template-columns: 1fr;
    }
    .recipe-hero-art {
        display: none;
    }
    .recipe-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-inline: auto;
    }
}
@media (max-width: 560px) {
    .recipes-page {
        padding: 25px 14px 60px;
    }
    .recipes-hero > div:first-child {
        padding: 35px 24px;
    }
    .recipes-heading {
        align-items: start;
        flex-direction: column;
    }
    .recipe-card form > footer {
        align-items: stretch;
        flex-direction: column;
    }
    .recipe-card form > footer .btn {
        width: 100%;
    }
    .recipe-ingredient-image {
        flex-basis: 92px;
        width: 92px;
        height: 74px;
    }
    .recipe-cover {
        max-width: calc(100% - 24px);
        height: 190px;
        margin-top: 12px;
    }
}
