.recipes-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 221, 179, 0.45), transparent 28%),
        linear-gradient(180deg, #fffaf4 0%, #ffffff 38%, #fff7ed 100%);
}

.recipes-page,
.recipe-detail-page {
    padding: 120px 0 80px;
}

.recipes-hero {
    padding: 12px 0 18px;
}

.recipes-hero-inner {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 32px;
    padding: 24px 28px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.recipes-hero-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
    gap: 20px;
    align-items: center;
}

.recipes-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.recipes-eyebrow {
    margin: 0;
    color: #c2410c;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.recipes-hero h1,
.recipe-detail-copy h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.35rem, 2.4vw, 1.95rem);
    line-height: 1.15;
}

.recipes-intro,
.recipe-detail-summary {
    max-width: 760px;
    margin: 18px 0 0;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.75;
}

.recipes-search {
    display: flex;
    gap: 12px;
    margin-top: 0;
}

.recipes-search input {
    flex: 1;
    min-width: 0;
    height: 54px;
    padding: 0 18px;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    background: #fff;
    color: #111827;
}

.recipes-category-section,
.recipes-results-section {
    padding: 18px 0;
}

.recipes-category-section.compact {
    padding: 16px 0 0;
}

.recipes-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.recipes-section-head.compact {
    margin-bottom: 12px;
}

.recipes-section-head h2 {
    margin: 0;
    color: #111827;
    font-size: 1.45rem;
}

.recipes-section-head.compact h2 {
    font-size: 1rem;
}

.recipes-section-head p,
.recipes-clear-filter {
    margin: 0;
    color: #6b7280;
}

.recipes-clear-filter {
    text-decoration: none;
}

.recipes-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.recipes-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.9);
    color: #374151;
    text-decoration: none;
    font-weight: 600;
}

.recipes-category-pill.active {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

.recipes-category-pill span {
    font-size: 0.85rem;
    opacity: 0.75;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.recipe-card,
.recipe-panel,
.recipe-detail-hero {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(229, 231, 235, 0.92);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.recipe-card {
    border-radius: 26px;
    overflow: hidden;
}

.recipe-card-image-link {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.recipe-card-image-link img,
.recipe-detail-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recipe-card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}

.recipe-card-meta,
.recipe-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recipe-card-meta span,
.recipe-detail-meta span,
.recipe-card-category {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 0.9rem;
}

.recipe-card h3 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.35;
}

.recipe-card h3 a {
    color: #111827;
    text-decoration: none;
}

.recipe-card-summary {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.recipe-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.recipe-card-links a,
.recipe-breadcrumbs a {
    color: #c2410c;
    text-decoration: none;
    font-weight: 600;
}

.recipe-side-panel {
    margin-bottom: 22px;
}

.recipe-detail-summary-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recipe-detail-summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.recipe-detail-summary-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.recipe-detail-summary-label {
    color: #374151;
    line-height: 1.5;
}

.recipe-detail-summary-value {
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
}

.recipes-empty-state {
    padding: 32px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px dashed #d1d5db;
}

.recipes-empty-state h3,
.recipes-empty-state p {
    margin: 0;
}

.recipes-empty-state p {
    margin-top: 10px;
    color: #6b7280;
}

.recipe-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: #6b7280;
}

.recipe-detail-hero {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    border-radius: 32px;
    padding: 28px;
}

.recipe-detail-image-wrap {
    position: relative;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
}

.share-icons-corner {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    z-index: 10;
}

.share-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.share-icon-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.recipe-detail-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.recipe-detail-source-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.recipe-disclaimer-box {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    line-height: 1.65;
}

.recipe-disclaimer-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(249, 115, 22, 0.22);
}

.recipe-disclaimer-meta-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recipe-disclaimer-meta-title {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #c2410c;
}

.recipe-disclaimer-meta-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recipe-disclaimer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(249, 115, 22, 0.22);
    color: #7c2d12;
    font-size: 0.94rem;
    line-height: 1.3;
}

.recipe-disclaimer-pill strong {
    font-weight: 800;
}

.recipe-disclaimer-pill-allergen {
    background: rgba(255, 255, 255, 0.55);
}

.recipe-detail-content {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    margin-top: 24px;
}

.recipe-detail-suggestions {
    margin-top: 28px;
}

.recipe-detail-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.recipe-panel {
    border-radius: 28px;
    padding: 24px;
}

.recipe-panel h2 {
    margin: 0 0 18px;
    color: #111827;
}

.recipe-ingredient-list,
.recipe-tip-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recipe-ingredient-list li,
.recipe-tip-list li {
    display: flex;
    gap: 10px;
    align-items: baseline;
    color: #374151;
    line-height: 1.7;
}

.recipe-step-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.recipe-step-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.recipe-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #111827;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.recipe-step-item h3,
.recipe-step-item p {
    margin: 0;
}

.recipe-step-item p {
    margin-top: 8px;
    color: #4b5563;
    line-height: 1.75;
}

@media (max-width: 1100px) {
    .recipes-hero-bar {
        grid-template-columns: 1fr;
    }

    .recipes-grid,
    .recipe-detail-content,
    .recipe-detail-hero {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .recipes-grid,
    .recipe-detail-content,
    .recipe-detail-hero {
        grid-template-columns: 1fr;
    }

    .share-icons-corner {
        top: 14px;
        right: 14px;
        gap: 8px;
    }

    .share-icon-btn {
        width: 40px;
        height: 40px;
    }

    .recipes-search {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .recipes-page,
    .recipe-detail-page {
        padding-top: 94px;
    }

    .recipes-hero-inner,
    .recipe-panel,
    .recipe-detail-hero {
        padding: 20px;
        border-radius: 22px;
    }

    .recipes-hero-copy {
        gap: 8px;
    }
}