:root {
    --bg: #f5f7f1;
    --surface: #ffffff;
    --surface-soft: #edf5ea;
    --text: #1f2a21;
    --muted: #718074;
    --line: #dfe7dc;
    --green: #2f8b57;
    --green-dark: #1f6e43;
    --green-light: #dff2e4;
    --yellow: #f8d66d;
    --shadow: 0 18px 50px rgba(35, 68, 42, 0.08);
    --radius-lg: 32px;
    --radius-md: 22px;
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(223, 231, 220, 0.8);
    background: rgba(245, 247, 241, 0.9);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: var(--text);
    text-decoration: none;
}

.logo__image {
    display: block;
    width: 176px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.logo__image--footer {
    width: 196px;
    max-height: 66px;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: 15px;
}

.top-nav a,
.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.top-nav a:hover,
.footer-links a:hover {
    color: var(--green);
}

.header-action {
    margin-left: auto;
    padding: 11px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--text);
    color: white;
    font-weight: 800;
    cursor: pointer;
}

.recipe-shell {
    padding: 32px 0 90px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.hero-card {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    border-radius: 38px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.45), transparent 30%),
        linear-gradient(135deg, #cce7c3 0%, #9aca8e 45%, #6ca675 100%);
    box-shadow: var(--shadow);
}

.hero-card::before,
.hero-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.13);
}

.hero-card::before {
    width: 460px;
    height: 460px;
    top: -180px;
    right: -80px;
}

.hero-card::after {
    width: 300px;
    height: 300px;
    bottom: -130px;
    left: -100px;
}

.hero-card__visual {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.plate {
    position: relative;
    width: min(520px, 66vw);
    aspect-ratio: 1;
    border: 34px solid rgba(255,255,255,0.95);
    border-radius: 50%;
    background: #f3f0e8;
    box-shadow: 0 45px 80px rgba(30, 74, 39, 0.26);
    transform: rotate(-7deg);
}

.plate span {
    position: absolute;
    display: block;
}

.leaf {
    width: 120px;
    height: 70px;
    border-radius: 70% 30% 70% 30%;
    background: #3d965c;
    box-shadow: inset 12px 8px 0 rgba(255,255,255,0.12);
}

.leaf--1 { left: 74px; top: 100px; transform: rotate(20deg); }
.leaf--2 { right: 70px; top: 180px; transform: rotate(-25deg); }
.leaf--3 { left: 160px; bottom: 70px; transform: rotate(80deg); }

.tomato {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ff9b8f 0 15%, #ef5f54 16% 100%);
    box-shadow: inset -7px -8px 0 rgba(158, 31, 31, 0.12);
}

.tomato--1 { right: 120px; top: 95px; }
.tomato--2 { left: 110px; bottom: 100px; }

.avocado {
    width: 88px;
    height: 120px;
    border-radius: 52% 52% 58% 58%;
    background: #98c970;
    transform: rotate(28deg);
    box-shadow: inset 0 0 0 14px #d9e7a0;
}

.avocado::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #a46f40;
    left: 27px;
    top: 52px;
}

.avocado--1 { left: 200px; top: 85px; }
.avocado--2 { right: 165px; bottom: 60px; transform: rotate(-20deg); }

.chicken {
    width: 96px;
    height: 58px;
    border-radius: 20px 30px 18px 26px;
    background: linear-gradient(145deg, #f2bf7e, #ca8152);
    box-shadow: inset 0 -8px 0 rgba(143, 75, 44, 0.15);
}

.chicken--1 { left: 210px; top: 200px; transform: rotate(10deg); }
.chicken--2 { left: 95px; top: 235px; transform: rotate(-28deg); }
.chicken--3 { right: 90px; bottom: 145px; transform: rotate(22deg); }

.hero-card__overlay {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.hero-badge,
.video-button {
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 12px 30px rgba(32, 63, 38, 0.15);
}

.hero-badge {
    padding: 12px 17px;
    font-size: 13px;
    font-weight: 800;
}

.video-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
}

.video-button__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-size: 13px;
}

.recipe-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: end;
    padding: 42px 0 24px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
}

.chips a {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--green-light);
    color: var(--green-dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 950px;
    margin-bottom: 18px;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -3px;
}

.lead {
    max-width: 800px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 19px;
}

.recipe-rating {
    min-width: 150px;
    padding-bottom: 6px;
    text-align: right;
}

.recipe-rating__score,
.recipe-rating__stars,
.recipe-rating__caption {
    display: block;
}

.recipe-rating__score {
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.recipe-rating__stars {
    margin: 6px 0;
    color: #e6b735;
    letter-spacing: 2px;
}

.recipe-rating__caption {
    color: var(--muted);
    font-size: 12px;
}

.recipe-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.meta-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,0.62);
}

.meta-card__icon {
    font-size: 23px;
}

.meta-card small,
.meta-card strong {
    display: block;
}

.meta-card small {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 11px;
}

.meta-card strong {
    font-size: 14px;
}

.recipe-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 54px;
}

.button {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}

.button--primary {
    border: 1px solid var(--green);
    background: var(--green);
    color: white;
}

.button--primary:hover {
    background: var(--green-dark);
}

.button--ghost {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
}

.recipe-grid {
    display: grid;
    grid-template-columns: 365px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.ingredients__card {
    position: sticky;
    top: 100px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.ingredients__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ingredients h2,
.section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.servings {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.servings button {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--bg);
    cursor: pointer;
}

.ingredient-list {
    margin: 10px 0 20px;
    padding: 0;
    list-style: none;
}

.ingredient-list li {
    border-bottom: 1px solid var(--line);
}

.ingredient-list label {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
}

.ingredient-list input {
    width: 17px;
    height: 17px;
    accent-color: var(--green);
}

.ingredient-list span {
    font-size: 14px;
}

.ingredient-list strong {
    font-size: 13px;
}

.ingredient-list input:checked + span {
    color: #9aa39b;
    text-decoration: line-through;
}

.ingredients__cta {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--green-dark);
    font-weight: 800;
    cursor: pointer;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading p {
    max-width: 680px;
    margin: 12px 0 0;
    color: var(--muted);
}

.step-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 38px;
}

.step-card__number {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    background: var(--green);
    color: white;
    font-weight: 900;
}

.step-card__body {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.step-card__text {
    padding: 24px 26px 12px;
}

.step-card__text h3 {
    margin-bottom: 9px;
    font-size: 24px;
    letter-spacing: -0.6px;
}

.step-card__text p {
    margin-bottom: 12px;
    color: var(--muted);
}

.step-visual {
    position: relative;
    overflow: hidden;
    min-height: 270px;
    background: linear-gradient(135deg, #d6e9cf, #a7cea0);
}

.step-visual::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: 50%;
    top: 50%;
    border: 20px solid #fff;
    border-radius: 50%;
    background: #eee9dd;
    transform: translate(-50%, -50%);
    box-shadow: 0 22px 50px rgba(48, 75, 48, 0.17);
}

.step-visual span {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 34px;
    border-radius: 14px;
    background: #d69a68;
}

.step-visual span:nth-child(1) { transform: translate(-85px, -40px) rotate(18deg); }
.step-visual span:nth-child(2) { transform: translate(10px, -5px) rotate(-12deg); }
.step-visual span:nth-child(3) { transform: translate(-35px, 48px) rotate(28deg); }

.step-visual--two { background: linear-gradient(135deg, #f1d8a6, #d19d61); }
.step-visual--two span { background: #b86f43; }
.step-visual--three { background: linear-gradient(135deg, #e4efd2, #aad591); }
.step-visual--three span:nth-child(1) { background: #e96057; border-radius: 50%; width: 44px; height: 44px; }
.step-visual--three span:nth-child(2) { background: #7fb168; width: 70px; height: 38px; border-radius: 60% 30%; }
.step-visual--three span:nth-child(3) { background: #b5d176; width: 50px; height: 70px; border-radius: 50%; }
.step-visual--four { background: linear-gradient(135deg, #ece7bf, #d9ca7d); }
.step-visual--four span { background: #e0c35e; border-radius: 50%; width: 48px; height: 48px; }
.step-visual--five { background: linear-gradient(135deg, #b9ddb1, #72a976); }
.step-visual--five span:nth-child(1) { background: #3f9b60; width: 70px; height: 44px; border-radius: 70% 30%; }
.step-visual--five span:nth-child(2) { background: #ef6a5b; border-radius: 50%; width: 44px; height: 44px; }
.step-visual--five span:nth-child(3) { background: #d89561; }

.ad-slot {
    min-height: 190px;
    margin: 72px 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    border: 1px dashed #bdcabb;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.45);
    color: var(--muted);
    text-align: center;
}

.ad-slot span,
.ad-slot small {
    font-size: 11px;
}

.ad-slot strong {
    color: var(--text);
    font-size: 18px;
}

.nutrition,
.tips,
.video-section,
.related {
    margin-top: 78px;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.nutrition-grid article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.nutrition-grid span,
.nutrition-grid small {
    display: block;
    color: var(--muted);
}

.nutrition-grid strong {
    display: inline-block;
    margin-top: 8px;
    font-size: 38px;
    letter-spacing: -1px;
}

.nutrition-grid small {
    display: inline-block;
    margin-left: 4px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.tips-grid article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.tip-icon {
    font-size: 28px;
}

.tips-grid h3 {
    margin: 18px 0 8px;
    font-size: 20px;
}

.tips-grid p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.video-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
    padding: 42px;
    border-radius: var(--radius-lg);
    background: var(--text);
    color: white;
}

.video-copy p {
    max-width: 520px;
    color: #b8c3ba;
}

.video-copy .eyebrow {
    color: #88d59e;
}

.video-copy h2 {
    max-width: 520px;
    margin-bottom: 14px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1;
    letter-spacing: -2px;
}

.video-placeholder {
    min-height: 380px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.13), transparent 28%),
        linear-gradient(135deg, #365d3d, #17271b);
    text-align: center;
}

.video-placeholder span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.11);
    font-size: 12px;
}

.video-placeholder strong {
    font-size: 28px;
}

.video-placeholder small {
    color: #93a596;
}

.section-heading--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading--row a {
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 800;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.recipe-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.recipe-card__image {
    min-height: 220px;
}

.image--green { background: radial-gradient(circle at 55% 45%, #f8f1d4 0 20%, transparent 21%), linear-gradient(135deg, #b8d99c, #639c67); }
.image--orange { background: radial-gradient(circle at 45% 45%, #fff1cf 0 18%, transparent 19%), linear-gradient(135deg, #f1c27d, #d38457); }
.image--pink { background: radial-gradient(circle at 55% 45%, #f7f0dc 0 18%, transparent 19%), linear-gradient(135deg, #f2c2b6, #cb7e76); }

.recipe-card__body {
    padding: 20px;
}

.recipe-card__body > span {
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.recipe-card h3 {
    margin: 8px 0;
    font-size: 21px;
}

.recipe-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    padding: 44px 0;
    border-top: 1px solid var(--line);
    background: #eef2eb;
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.logo--footer {
    margin-bottom: 8px;
}

.site-footer p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.modal,
.cook-mode {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}

.modal.is-open,
.cook-mode.is-open {
    display: block;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 22, 15, 0.72);
    backdrop-filter: blur(8px);
}

.modal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100% - 30px));
    margin: 8vh auto 0;
    padding: 22px;
    border-radius: 28px;
    background: var(--surface);
}

.modal__close,
.cook-mode__close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

.video-demo {
    min-height: 430px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border-radius: 20px;
    background: linear-gradient(135deg, #416c47, #18251b);
    color: white;
    text-align: center;
}

.video-demo > span {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    font-size: 24px;
}

.video-demo strong {
    margin-top: 12px;
    font-size: 28px;
}

.video-demo p {
    color: #b8c3ba;
}

.cook-mode {
    background: var(--bg);
    overflow-y: auto;
}

.cook-mode__panel {
    position: relative;
    width: min(760px, calc(100% - 30px));
    margin: 5vh auto;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.cook-mode__progress {
    overflow: hidden;
    height: 7px;
    margin-bottom: 26px;
    border-radius: 999px;
    background: var(--green-light);
}

.cook-mode__progress span {
    display: block;
    height: 100%;
    width: 20%;
    border-radius: inherit;
    background: var(--green);
    transition: width 0.25s ease;
}

.cook-mode h2 {
    max-width: 600px;
    margin-bottom: 20px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1;
    letter-spacing: -1.5px;
}

.cook-mode__visual {
    margin: 22px 0;
    border-radius: 22px;
}

.cook-mode__panel > p {
    color: var(--muted);
    font-size: 18px;
}

.cook-mode__actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 28px;
}

@media (max-width: 980px) {
    .top-nav {
        margin-left: auto;
    }

    .hero-card {
        min-height: 520px;
    }

    .recipe-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .ingredients__card {
        position: static;
    }

    .recipe-meta,
    .nutrition-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tips-grid,
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }

    .video-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .site-header__inner {
        min-height: 66px;
        gap: 12px;
        flex-wrap: wrap;
        padding-top: 8px;
        padding-bottom: 12px;
    }

    .top-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        gap: 24px;
    }

    .top-nav a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .top-nav a {
        font-size: 13px;
        white-space: nowrap;
    }

    .header-action {
        padding: 9px 13px;
        font-size: 12px;
    }

    .logo__image {
        width: 138px;
        max-height: 50px;
    }

    .logo__image--footer {
        width: 170px;
        max-height: 58px;
    }

    .hero-card {
        min-height: 480px;
        border-radius: 26px;
    }

    .plate {
        width: 330px;
        border-width: 24px;
    }

    .hero-card__overlay {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }

    .hero-badge {
        align-self: flex-end;
    }

    .recipe-intro {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 30px;
    }

    h1 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .lead {
        font-size: 17px;
    }

    .recipe-rating {
        text-align: left;
    }

    .recipe-meta,
    .nutrition-grid,
    .tips-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .recipe-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .recipe-actions .button:first-child {
        grid-column: 1 / -1;
    }

    .step-card {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
    }

    .step-card__number {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .step-card__text {
        padding: 18px 18px 8px;
    }

    .step-card__text h3 {
        font-size: 20px;
    }

    .step-visual {
        min-height: 220px;
    }

    .video-section {
        padding: 24px;
        border-radius: 24px;
    }

    .video-placeholder {
        min-height: 300px;
    }

    .site-footer__inner,
    .section-heading--row {
        align-items: flex-start;
        flex-direction: column;
    }

    .cook-mode__panel {
        margin: 12px auto;
        padding: 22px;
    }
}

@media print {
    .site-header,
    .hero-card,
    .recipe-actions,
    .ad-slot,
    .video-section,
    .related,
    .site-footer,
    .recipe-rating {
        display: none !important;
    }

    body {
        background: white;
    }

    .recipe-grid {
        grid-template-columns: 320px 1fr;
    }

    .ingredients__card {
        position: static;
        box-shadow: none;
    }
}

/* =========================================================
   SalatGo — homepage / category pages
   ========================================================= */

.header-action--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.recipe-card--link {
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.recipe-card--link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.button--large {
    min-height: 52px;
    padding: 14px 22px;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 56px;
}

.home-hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -260px;
    top: -220px;
    border-radius: 50%;
    background: rgba(120, 185, 119, .11);
}

.home-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 46px;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px 13px;
    border: 1px solid #cfe3cd;
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-hero h1,
.listing-hero h1,
.category-hero h1 {
    margin: 0;
    font-size: clamp(54px, 7vw, 92px);
    line-height: .94;
    letter-spacing: -4px;
}

.home-hero h1 em {
    color: var(--green);
    font-style: normal;
}

.home-hero__copy > p {
    max-width: 650px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.hero-proof span {
    display: grid;
    gap: 2px;
    color: var(--muted);
    font-size: 12px;
}

.hero-proof strong {
    color: var(--text);
    font-size: 17px;
}

.home-hero__visual {
    min-width: 0;
}

.hero-salad-stage {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    border-radius: 44px;
    background:
        radial-gradient(circle at 72% 18%, rgba(255,255,255,.58), transparent 24%),
        linear-gradient(145deg, #e2efd9, #8dbd83 62%, #5a9167);
    box-shadow: var(--shadow);
}

.hero-salad-stage::before,
.hero-salad-stage::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
}

.hero-salad-stage::before { width: 360px; height: 360px; right: -110px; top: -100px; }
.hero-salad-stage::after { width: 290px; height: 290px; left: -110px; bottom: -110px; }

.hero-salad-bowl {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 380px;
    height: 250px;
    transform: translate(-50%, -50%);
    border-radius: 30px 30px 190px 190px;
    background: linear-gradient(180deg, #fff 0 70%, #e7eee4 71% 100%);
    box-shadow: 0 42px 65px rgba(29, 66, 39, .24), inset 0 -18px 26px rgba(41,72,47,.07);
}

.hero-salad-bowl::before {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: -40px;
    height: 110px;
    border-radius: 50%;
    background: #f4f0d8;
    box-shadow: inset 0 -18px 0 rgba(219,225,187,.45);
}

.hero-salad-bowl i,
.hero-salad-bowl b,
.hero-salad-bowl em {
    position: absolute;
    z-index: 2;
    display: block;
}

.hero-salad-bowl i {
    width: 130px;
    height: 74px;
    border-radius: 70% 30% 65% 35%;
    background: linear-gradient(135deg, #65ab58, #2f8b57);
    box-shadow: inset 12px 10px 0 rgba(255,255,255,.09);
}

.hero-salad-bowl i:nth-child(1) { left: 18px; top: -80px; transform: rotate(19deg); }
.hero-salad-bowl i:nth-child(2) { right: 6px; top: -65px; transform: rotate(-36deg); }
.hero-salad-bowl i:nth-child(3) { left: 130px; top: -110px; transform: rotate(84deg); }

.hero-salad-bowl b {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 36% 33%, #ff9b8c 0 16%, #f0594c 17% 100%);
}

.hero-salad-bowl b:nth-of-type(1) { left: 80px; top: -45px; }
.hero-salad-bowl b:nth-of-type(2) { right: 82px; top: -24px; }

.hero-salad-bowl em {
    width: 86px;
    height: 116px;
    right: 142px;
    top: -55px;
    border-radius: 55% 55% 62% 62%;
    background: #b8d884;
    box-shadow: inset 0 0 0 14px #e0ebaa;
    transform: rotate(24deg);
}

.hero-salad-bowl em::after {
    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #9b6a3c;
    left: 27px;
    top: 52px;
}

.hero-salad-card {
    position: absolute;
    z-index: 4;
    min-width: 150px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 20px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 20px 40px rgba(30, 67, 39, .12);
    backdrop-filter: blur(12px);
}

.hero-salad-card span,
.hero-salad-card small { display: block; color: var(--muted); font-size: 11px; }
.hero-salad-card strong { display: block; margin: 3px 0; font-size: 28px; }
.hero-salad-card--a { left: 22px; top: 38px; transform: rotate(-3deg); }
.hero-salad-card--b { right: 22px; bottom: 32px; transform: rotate(3deg); }

.finder-section {
    padding: 30px 0 18px;
}

.finder-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 48px;
    align-items: center;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.finder-card h2,
.home-section h2,
.collections-section h2,
.category-promo h2,
.category-copy h2 {
    margin: 6px 0 10px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -2px;
}

.finder-card p {
    margin: 0;
    color: var(--muted);
}

.ingredient-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ingredient-chips button,
.filter-pills button {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8faf6;
    color: var(--text);
    cursor: pointer;
    font-weight: 800;
    transition: .18s ease;
}

.ingredient-chips button {
    padding: 10px 14px;
}

.ingredient-chips button:hover,
.ingredient-chips button.is-selected,
.filter-pills button:hover,
.filter-pills button.is-active {
    border-color: var(--green);
    background: var(--green);
    color: white;
}

.finder-result {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--green-light);
    color: var(--green-dark);
    text-decoration: none;
}

.finder-result span { font-size: 13px; }
.finder-result strong { font-size: 14px; }

.home-section {
    padding-top: 82px;
}

.category-tiles {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.category-tile {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    border-radius: 24px;
    color: var(--text);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-tile__icon { margin-bottom: auto; font-size: 34px; }
.category-tile strong { font-size: 18px; line-height: 1.1; }
.category-tile small { margin-top: 6px; color: rgba(31,42,33,.62); }
.category-tile--1 { background: #dcefd8; }
.category-tile--2 { background: #dceeee; }
.category-tile--3 { background: #f3dcd6; }
.category-tile--4 { background: #e9f1cf; }
.category-tile--5 { background: #f7e9b9; }
.category-tile--6 { background: #dff0e4; }

.catalog-grid {
    display: grid;
    gap: 16px;
}

.catalog-grid--home {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 28px;
}

.catalog-grid--category {
    grid-template-columns: repeat(3, 1fr);
    padding-top: 24px;
}

.catalog-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: var(--surface);
    transition: transform .2s ease, box-shadow .2s ease;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.catalog-card.is-hidden { display: none; }

.catalog-card__image-link {
    position: relative;
    display: block;
    color: inherit;
}

.catalog-card__time {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 4;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.91);
    color: var(--text);
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 7px 18px rgba(29,54,34,.09);
}

.salad-thumb {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    background: linear-gradient(135deg, #d8ead2, #75aa73);
}

.salad-thumb::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    right: -90px;
    top: -100px;
    background: rgba(255,255,255,.18);
}

.salad-thumb__bowl {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 58%;
    width: 210px;
    height: 115px;
    transform: translate(-50%, -50%);
    border-radius: 16px 16px 110px 110px;
    background: #fff;
    box-shadow: 0 25px 35px rgba(34,67,38,.17);
}

.salad-thumb__bowl::before {
    content: "";
    position: absolute;
    left: -5px;
    right: -5px;
    top: -22px;
    height: 58px;
    border-radius: 50%;
    background: #f3eed8;
}

.salad-thumb__leaf,
.salad-thumb__tomato {
    position: absolute;
    z-index: 3;
}

.salad-thumb__leaf {
    width: 86px;
    height: 47px;
    border-radius: 70% 30% 70% 30%;
    background: #3c9253;
}

.salad-thumb__leaf--1 { left: calc(50% - 88px); top: 86px; transform: rotate(24deg); }
.salad-thumb__leaf--2 { left: calc(50% + 12px); top: 73px; transform: rotate(-33deg); }
.salad-thumb__tomato { width: 44px; height: 44px; border-radius: 50%; background: #ed5d4f; }
.salad-thumb__tomato--1 { left: calc(50% - 25px); top: 100px; }
.salad-thumb__tomato--2 { left: calc(50% + 55px); top: 116px; width: 35px; height: 35px; }

.salad-thumb--sea { background: linear-gradient(135deg, #d9eeee, #76aaa7); }
.salad-thumb--coral { background: linear-gradient(135deg, #f4ded7, #d58e7b); }
.salad-thumb--orange { background: linear-gradient(135deg, #f3e1c2, #cf915b); }
.salad-thumb--pink { background: linear-gradient(135deg, #f5dfe2, #cf8d99); }
.salad-thumb--purple { background: linear-gradient(135deg, #ebe0f0, #9f80aa); }
.salad-thumb--cream { background: linear-gradient(135deg, #f2eadb, #c6ad80); }
.salad-thumb--yellow { background: linear-gradient(135deg, #f5edbe, #d0aa4f); }
.salad-thumb--lime { background: linear-gradient(135deg, #e7f2ce, #9abc62); }

.catalog-card__body { padding: 20px; }
.catalog-card { display: flex; flex-direction: column; }
.catalog-card__body { display: flex; flex-direction: column; flex: 1; }
.catalog-card__body > p { flex: 1; }
.catalog-bottom { padding-top: 32px; padding-bottom: 64px; }
.catalog-bottom a, .recipe-source a { color: var(--green-dark); }
.recipe-faq { margin: 56px 0; }
.recipe-faq details { margin-top: 12px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.recipe-faq summary { cursor: pointer; font-weight: 800; }
.recipe-faq details p { margin-bottom: 0; color: var(--muted); }
.recipe-source { margin-top: 20px; font-size: 13px; color: var(--muted); }
.filter-status { color: var(--muted); }
.catalog-card__eyebrow { color: var(--green-dark); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.catalog-card h3 { margin: 7px 0 9px; font-size: 21px; line-height: 1.16; }
.catalog-card h3 a { color: var(--text); text-decoration: none; }
.catalog-card p { min-height: 44px; margin: 0; color: var(--muted); font-size: 14px; }
.catalog-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); color: #b88621; font-size: 12px; font-weight: 900; }
.card-save { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--text); cursor: pointer; font-size: 18px; }
.card-save.is-saved { border-color: #d99a9a; background: #fff0f0; color: #c44949; }

.collections-section {
    margin-top: 90px;
    padding: 82px 0;
    background: var(--text);
    color: #fff;
}

.section-heading--light .eyebrow { color: #7fd397; }

.collection-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 14px;
    margin-top: 32px;
}

.collection-card {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 28px;
    background: #2a382d;
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease;
}

.collection-card:hover { transform: translateY(-4px); }
.collection-card--big { background: linear-gradient(135deg, #2d7f4f, #3a9a5d); }
.collection-card span { color: rgba(255,255,255,.55); font-size: 12px; font-weight: 900; }
.collection-card strong { margin-top: auto; font-size: clamp(26px, 3vw, 42px); line-height: 1; letter-spacing: -1.4px; }
.collection-card small { margin-top: 14px; color: rgba(255,255,255,.68); }

.seo-intro {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 50px;
    align-items: end;
    padding-bottom: 84px;
}

.seo-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

/* Listing pages */
.category-page-head {
    padding-top: 32px;
    padding-bottom: 36px;
}

.category-page-head .breadcrumbs { margin-bottom: 38px; }
.category-page-head h1 {
    margin: 8px 0 18px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -.045em;
}
.category-page-head > p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.category-directory {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding-bottom: 80px;
}

.category-directory .category-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 28px;
    border: 1px solid rgba(31, 42, 33, .06);
    border-radius: 24px;
}
.category-directory .category-card > span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255,255,255,.65);
    font-size: 34px;
    line-height: 1;
}
.category-directory .category-card > div {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.category-directory h2 {
    margin: 0;
    font-size: clamp(22px, 2vw, 26px);
    line-height: 1.2;
    letter-spacing: -.6px;
}
.category-directory .category-card p {
    margin: 12px 0 24px;
    font-size: 15px;
    line-height: 1.6;
}
.category-directory .category-card small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(31,42,33,.12);
    font-size: 12px;
}
.category-directory small span { font-size: 22px; line-height: 1; }
.category-directory .category-card:focus-visible {
    outline: 3px solid var(--green-dark);
    outline-offset: 4px;
}
@media (max-width: 980px) {
    .category-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .category-page-head { padding-top: 24px; padding-bottom: 28px; }
    .category-page-head .breadcrumbs { margin-bottom: 28px; }
    .category-page-head > p { font-size: 16px; }
    .category-directory { grid-template-columns: 1fr; gap: 16px; padding-bottom: 48px; }
    .category-directory .category-card { padding: 24px; gap: 20px; }
}
.listing-page { padding: 34px 0 82px; }
.listing-hero { padding-top: 14px; padding-bottom: 34px; }
.listing-hero > p { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.category-search {
    max-width: 680px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}
.category-search span { font-size: 24px; color: var(--muted); }
.category-search input { width: 100%; height: 54px; border: 0; outline: 0; background: transparent; color: var(--text); }

.categories-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding-top: 16px;
}

.category-card {
    min-height: 220px;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-content: end;
    padding: 25px;
    border-radius: 27px;
    color: var(--text);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card.is-hidden { display: none; }
.category-card > span { font-size: 42px; align-self: start; }
.category-card strong, .category-card small, .category-card p { display: block; }
.category-card strong { font-size: 23px; line-height: 1.05; }
.category-card small { margin-top: 6px; color: rgba(31,42,33,.62); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.category-card p { margin: 12px 0 0; color: rgba(31,42,33,.68); font-size: 13px; }
.category-card--green { background: #dcefd8; }
.category-card--sea { background: #dceeee; }
.category-card--pink { background: #f2dfe3; }
.category-card--lime { background: #e7f1cf; }
.category-card--yellow { background: #f6e9b9; }
.category-card--mint { background: #dff0e4; }
.category-card--orange { background: #f2dfc2; }
.category-card--coral { background: #f3ddd6; }
.category-card--purple { background: #e8dff0; }
.category-card--rose { background: #f1dadd; }
.category-card--sky { background: #dfe9f3; }
.category-card--cream { background: #eee7d8; }

.category-promo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
    padding: 36px;
    border-radius: 30px;
    background: var(--surface-soft);
}
.category-promo h2 { max-width: 720px; }

.category-hero { padding-top: 24px; padding-bottom: 12px; }
.category-hero__grid {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 45px;
    align-items: center;
}
.category-hero p { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.category-hero__art { overflow: hidden; border-radius: 34px; box-shadow: var(--shadow); }
.category-hero__art .salad-thumb { min-height: 390px; }

.category-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pills button { padding: 9px 13px; }
.sort-control { color: var(--muted); font-size: 13px; font-weight: 800; }

.pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 44px;
}
.pagination button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
    font-weight: 800;
}
.pagination button.is-active { border-color: var(--green); background: var(--green); color: #fff; }

.category-copy {
    max-width: 920px;
    margin-top: 70px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
}
.category-copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }

@media (max-width: 1100px) {
    .category-tiles { grid-template-columns: repeat(3, 1fr); }
    .categories-page-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    .home-hero__grid,
    .finder-card,
    .seo-intro,
    .category-hero__grid {
        grid-template-columns: 1fr;
    }

    .home-hero__visual { max-width: 720px; }
    .catalog-grid--home,
    .catalog-grid--category { grid-template-columns: repeat(2, 1fr); }
    .collection-grid { grid-template-columns: 1fr 1fr; }
    .collection-card--big { grid-column: 1 / -1; }
    .category-hero__art { max-width: 650px; }
}

@media (max-width: 700px) {
    .home-hero { padding-top: 42px; }
    .home-hero h1,
    .listing-hero h1,
    .category-hero h1 { font-size: 50px; letter-spacing: -2.5px; }
    .home-hero__copy > p,
    .listing-hero > p,
    .category-hero p { font-size: 16px; }
    .hero-proof { gap: 18px; }
    .hero-salad-stage { min-height: 430px; border-radius: 28px; }
    .hero-salad-bowl { width: 270px; height: 175px; }
    .hero-salad-bowl i { transform: scale(.8); }
    .hero-salad-card { min-width: 128px; padding: 12px; }
    .finder-card { padding: 24px; border-radius: 24px; gap: 26px; }
    .home-section { padding-top: 62px; }
    .category-tiles { grid-template-columns: repeat(2, 1fr); }
    .category-tile { min-height: 155px; padding: 16px; }
    .catalog-grid--home,
    .catalog-grid--category,
    .categories-page-grid,
    .collection-grid { grid-template-columns: 1fr; }
    .collection-card--big { grid-column: auto; }
    .collection-card { min-height: 220px; }
    .seo-intro { gap: 18px; padding-bottom: 58px; }
    .category-card { min-height: 180px; }
    .category-promo { align-items: flex-start; flex-direction: column; padding: 25px; }
    .category-toolbar { align-items: flex-start; flex-direction: column; }
    .category-hero__art .salad-thumb { min-height: 280px; }
    .header-action--link { white-space: nowrap; }
}

@media (max-width: 450px) {
    .header-action--link { display: none; }
    .category-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
    .category-tile strong { font-size: 15px; }
    .category-tile small { font-size: 10px; }
    .hero-salad-card--a { left: 10px; top: 22px; }
    .hero-salad-card--b { right: 10px; bottom: 20px; }
}

/* Recipe photography and cooking dialog */
.step-photo { display: block; width: 100%; height: auto; }
.step-card { scroll-margin-top: 100px; }
.cook-modal { display: none; position: fixed; inset: 0; z-index: 1000; overflow-y: auto; padding: 20px; background: rgba(20,35,24,.72); }
.cook-modal.is-open { display: grid; place-items: center; }
.cook-modal__panel { width: min(100%, 680px); padding: 24px; border-radius: 24px; background: var(--surface); }
.cook-modal__top, .cook-modal__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cook-modal__top img { width: 150px; height: 50px; object-fit: contain; }
.cook-modal button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--green-light); cursor: pointer; }
.cook-modal button:disabled { opacity: .45; cursor: default; }
.cook-progress { height: 5px; margin: 18px 0; background: var(--line); }
.cook-progress i { display: block; height: 100%; background: var(--green); }
.cook-stage__visual img { max-height: 42vh; object-fit: contain; border-radius: 14px; }
.cook-modal__actions { margin-top: 20px; }
@media print { .cook-modal { display: none !important; } .step-card { break-inside: avoid; } }

/* SEO prototype refinements */
.home-hero-photo,
.recipe-photo,
.catalog-photo,
.related-photo {
    display: block;
    width: 100%;
    object-fit: cover;
}

.home-hero-photo {
    min-height: 520px;
    height: 100%;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.hero-card--photo {
    background: #e7efe3;
}

.hero-card__visual--photo {
    position: absolute;
    inset: 0;
}

.recipe-photo {
    height: 100%;
    min-height: 610px;
}

.hero-card--photo::before,
.hero-card--photo::after {
    display: none;
}

.catalog-photo,
.related-photo {
    height: auto;
    aspect-ratio: 16 / 10;
}

.catalog-card__image-link picture,
.recipe-card--link > picture {
    display: block;
}

.card-arrow {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: 900;
}

.recipe-label {
    align-self: center;
    min-width: 180px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
}

.recipe-label strong,
.recipe-label span {
    display: block;
}

.recipe-label strong {
    font-size: 15px;
}

.recipe-label span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.seo-copy {
    margin-top: 72px;
    margin-bottom: 72px;
}

.seo-copy h2 {
    margin: 8px 0 18px;
    font-size: clamp(30px, 4vw, 48px);
}

.seo-copy p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.seo-copy h3 {
    margin: 30px 0 12px;
    font-size: clamp(22px, 2.5vw, 28px);
    line-height: 1.25;
}

.seo-copy a {
    color: var(--green-dark);
    text-underline-offset: 3px;
}

.category-seo {
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.category-seo h2 { max-width: 960px; }
.category-seo p { max-width: 80ch; }

@media (max-width: 900px) {
    .home-hero-photo { min-height: 360px; }
    .recipe-photo { min-height: 500px; }
    .recipe-label { width: 100%; }
}

@media (max-width: 600px) {
    .home-hero-photo { min-height: 320px; border-radius: 24px; }
    .recipe-photo { min-height: 430px; }
}

/* Recipe listings: readable headings, wrapping filters and consistent cards. */
.category-hero .breadcrumbs { margin-bottom: 32px; }
.category-hero > .eyebrow { display: inline-block; margin-bottom: 16px; }
.category-hero h1 {
    max-width: 1000px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.category-hero > p { max-width: 760px; margin-top: 20px; }
.recipe-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.recipe-filters button {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.recipe-filters button:hover { border-color: var(--green); background: var(--surface-soft); }
.recipe-filters button.is-active { border-color: var(--green-dark); background: var(--green-dark); color: white; }
.recipe-filters button:focus-visible,
.catalog-card a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.category-hero .filter-status { margin-top: 18px; font-size: 14px; }
.category-hero [data-reset-ingredients]:not([hidden]) { margin-top: 12px; }
.category-hero [hidden] { display: none; }
.catalog-grid--category { gap: 24px; align-items: stretch; }
.catalog-grid--category .catalog-card { min-width: 0; }
.catalog-grid--category .catalog-card__body { padding: 22px; }
.catalog-grid--category .catalog-card h3 { font-size: 22px; line-height: 1.3; text-wrap: balance; }
.catalog-grid--category .catalog-card p { line-height: 1.65; }
.catalog-grid--category .catalog-card__footer { color: var(--muted); }
@media (max-width: 700px) {
    .category-hero { padding-top: 20px; }
    .category-hero .breadcrumbs { margin-bottom: 26px; font-size: 12px; }
    .category-hero h1 { font-size: clamp(34px, 8vw, 48px); }
    .recipe-filters { gap: 8px; margin-top: 24px; padding-top: 20px; }
    .recipe-filters button { padding: 10px 14px; font-size: 13px; }
    .catalog-grid--category { gap: 20px; padding-top: 20px; }
    .catalog-grid--category .catalog-card__body { padding: 20px; }
    .catalog-grid--category .catalog-card h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
    .recipe-filters button, .catalog-grid--category .catalog-card { transition: none; }
    .catalog-grid--category .catalog-card:hover { transform: none; }
}
