/* ============================
   food.me — Page-Specific Styles
   Home, Explore, Cuisine, Dish, Search, Profile, Compare, etc.
   ============================ */

/* ============================
   Landing Page (anonymous visitors)
   ============================ */
.hero__desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0.75rem auto 0;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn--hero {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 2rem;
    background: var(--accent-gold);
    color: var(--warm-bg);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    min-height: 48px;
    transition: var(--transition);
}

.btn--hero:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,168,83,0.4); }

.btn--hero-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 2rem;
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    min-height: 48px;
    transition: var(--transition);
}

.btn--hero-outline:hover { background: rgba(212,168,83,0.1); }

.landing-features { padding: 4rem 2rem; max-width: var(--max-width); margin: 0 auto; }
.landing-features__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.landing-feature { text-align: center; padding: 2rem 1.5rem; background: var(--warm-surface); border: 1px solid var(--border); border-radius: var(--radius); }
.landing-feature__icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.landing-feature__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent-gold); margin-bottom: 0.5rem; }
.landing-feature__desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

.landing-rotd { padding: 3rem 2rem; max-width: var(--max-width); margin: 0 auto; }
.landing-rotd__inner { text-align: center; }
.landing-rotd__label { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent-gold); margin-bottom: 1.5rem; }
.landing-rotd__card { display: flex; gap: 2rem; align-items: center; background: var(--warm-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: left; transition: var(--transition); max-width: 700px; margin: 0 auto; }
.landing-rotd__card:hover { border-color: rgba(212,168,83,0.4); transform: translateY(-3px); }
.landing-rotd__img { width: 200px; height: 150px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.landing-rotd__cuisine { font-size: 0.85rem; color: var(--accent-gold); }
.landing-rotd__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-primary); margin: 0.25rem 0; }
.landing-rotd__english { color: var(--text-secondary); font-style: italic; font-size: 0.95rem; }
.landing-rotd__meta { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem; }

.landing-trending { padding: 3rem 2rem; max-width: var(--max-width); margin: 0 auto; }
.landing-trending__title { font-family: var(--font-display); font-size: 1.5rem; text-align: center; margin-bottom: 2rem; color: var(--accent-cream); }
.landing-trending__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.landing-cta { padding: 4rem 2rem; text-align: center; }
.landing-cta__inner { max-width: 600px; margin: 0 auto; }
.landing-cta__title { font-family: var(--font-display); font-size: 2rem; color: var(--accent-cream); margin-bottom: 1rem; }
.landing-cta__desc { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; }
.landing-cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
    .landing-features__inner { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .landing-feature { padding: 1.25rem 1rem; }
    .landing-feature__icon { font-size: 2rem; }
    .landing-rotd__card { flex-direction: column; text-align: center; }
    .landing-rotd__img { width: 100%; height: 180px; }
    .landing-trending__grid { grid-template-columns: 1fr; }
    .hero__desc { font-size: 0.95rem; padding: 0 1rem; }
    .hero__actions { flex-direction: column; align-items: center; }
    .btn--hero, .btn--hero-outline { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 480px) {
    .landing-features__inner { grid-template-columns: 1fr; }
}

/* ============================
   Cuisine Hero
   ============================ */
.cuisine-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cuisine-hero__bg {
    position: absolute;
    inset: 0;
    will-change: transform;
    transition: none;
}

.cuisine-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) brightness(0.9);
}

.cuisine-hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.cuisine-hero__particle {
    position: absolute;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.6), transparent);
    border-radius: 50%;
    animation: particleFloat linear infinite;
    opacity: 0;
}

@keyframes particleFloat {
    0% { transform: translateY(0) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    50% { transform: translateY(-40vh) scale(1); opacity: 0.3; }
    100% { transform: translateY(-80vh) scale(0.5); opacity: 0; }
}

.cuisine-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center bottom, rgba(26, 20, 16, 0.3) 0%, transparent 60%),
        linear-gradient(to bottom,
            rgba(26, 20, 16, 0.1) 0%,
            rgba(26, 20, 16, 0.3) 40%,
            rgba(26, 20, 16, 0.8) 75%,
            rgba(26, 20, 16, 1) 100%
        );
    z-index: 1;
}

.cuisine-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.cuisine-hero__flag {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
    will-change: transform;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
    animation: flagPulse 3s ease-in-out infinite;
}

@keyframes flagPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cuisine-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    will-change: transform, opacity;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.cuisine-hero__tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--accent-gold);
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

.cuisine-hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cuisine-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cuisine-hero__stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.cuisine-hero__stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.cuisine-hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(212, 168, 83, 0.3);
}

.cuisine-hero__scroll-hint {
    position: absolute;
    bottom: -6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: scrollBounce 2s ease-in-out infinite;
    will-change: opacity;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Region Badge on Cuisine Hero */
.cuisine-hero__region-badge {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.35rem 1rem;
    background: rgba(212, 168, 83, 0.15);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-gold);
    letter-spacing: 0.03em;
}

/* Cuisine Intro */
.cuisine-intro {
    padding: 4rem 2rem 3rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.cuisine-intro__accent {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-amber));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.cuisine-intro__text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
    font-weight: 300;
}

/* ============================
   Ingredients Strip
   ============================ */
.ingredients-strip {
    padding: 2rem 1.5rem;
    overflow: hidden;
}

.ingredients-strip__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.ingredients-strip__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
}

.ingredients-strip__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.ingredients-strip__tag {
    padding: 0.4rem 1rem;
    background: rgba(212, 168, 83, 0.08);
    border: 1px solid rgba(212, 168, 83, 0.1);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--accent-gold);
    font-weight: 400;
    letter-spacing: 0.03em;
    cursor: default;
    user-select: none;
}

/* ============================
   Dishes Section Header
   ============================ */
.dishes-header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 1rem;
    text-align: center;
}

.dishes-header__title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--accent-cream);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.dishes-header__subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ============================
   Dish Hero (Recipe Page)
   ============================ */
.dish-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.dish-hero__bg {
    position: absolute;
    inset: 0;
}

.dish-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dish-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 20, 16, 0.1) 0%,
        rgba(26, 20, 16, 0.6) 60%,
        rgba(26, 20, 16, 1) 100%
    );
}

.dish-hero__content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.dish-hero__breadcrumb {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    transition: opacity var(--transition);
}

.dish-hero__breadcrumb:hover {
    opacity: 0.7;
}

.dish-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.dish-hero__english {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.dish-hero__submitted-by {
    color: var(--accent-gold);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    font-style: italic;
}

.dish-hero__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* ============================
   Dish Description
   ============================ */
.dish-description {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.dish-description p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================
   Recipe Layout
   ============================ */
.recipe {
    padding: 2rem 2rem 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.recipe__inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Ingredients sidebar */
.recipe__sidebar {
    position: sticky;
    top: 90px;
}

.recipe__ingredients {
    background: var(--warm-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.recipe__section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.recipe__ingredient-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recipe__ingredient {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
    transition: color var(--transition);
}

.recipe__ingredient:hover {
    color: var(--text-primary);
}

.recipe__ingredient-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-muted);
    border-radius: 4px;
    margin-top: 2px;
    transition: all var(--transition);
}

.recipe__ingredient.checked .recipe__ingredient-check {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.recipe__ingredient.checked {
    color: var(--text-muted);
    text-decoration: line-through;
}

.recipe__ingredient-text {
    flex: 1;
}

/* Steps */
.recipe__steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.recipe__step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.recipe__step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
}

.recipe__step-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    padding-top: 0.4rem;
}

/* Fun Fact */
.fun-fact {
    display: flex;
    gap: 1.25rem;
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.08), rgba(139, 34, 82, 0.08));
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent-gold);
    border-radius: var(--radius-sm);
}

.fun-fact__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.fun-fact__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.fun-fact__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================
   Serving Size Adjuster
   ============================ */
.serving-adjuster {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.serving-adjuster__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--warm-surface-2);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--accent-gold);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
}

.serving-adjuster__btn:hover {
    background: var(--accent-gold);
    color: var(--warm-bg);
    border-color: var(--accent-gold);
}

.serving-adjuster__value {
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 1.5rem;
    text-align: center;
}

@keyframes ingredientFlash {
    0% { background-color: transparent; }
    20% { background-color: rgba(212, 168, 83, 0.25); }
    100% { background-color: transparent; }
}

.recipe__ingredient--scaled {
    animation: ingredientFlash 0.8s ease-out;
}

.recipe__ingredient-original {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.15rem;
    opacity: 0.8;
}

/* ============================
   Search Page
   ============================ */
.search-page {
    padding: 7rem 2rem 5rem;
    min-height: 80vh;
}

.search-page__inner {
    max-width: 900px;
    margin: 0 auto;
}

.search-page__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 2rem;
}

.search-page__count {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.search-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-filter__select {
    padding: 0.5rem 1rem;
    background: var(--warm-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: inherit;
    min-height: 40px;
    cursor: pointer;
}

.search-filter__select:focus {
    outline: 2px solid var(--accent-gold);
    border-color: transparent;
}

@media (max-width: 768px) {
    .search-filters {
        flex-direction: column;
    }
    .search-filter__select {
        width: 100%;
        font-size: 16px;
    }
}

.search-suggestions {
    text-align: center;
    margin-top: 3rem;
}

.search-suggestions__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.search-suggestions__tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.search-suggestions__tag {
    padding: 0.5rem 1.25rem;
    background: var(--warm-surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.search-suggestions__tag:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ============================
   Submit Page
   ============================ */
.submit-page {
    padding: 7rem 2rem 5rem;
    min-height: 100vh;
}

.submit-page__inner {
    max-width: 720px;
    margin: 0 auto;
}

.submit-page__header {
    text-align: center;
    margin-bottom: 2rem;
}

.submit-page__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.submit-page__subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ============================
   Community Hero
   ============================ */
.community-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--warm-surface) 0%, var(--warm-bg) 100%);
}

.community-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.community-hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================
   Profile Page
   ============================ */
.profile-page {
    padding: 6rem 2rem 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.profile-header {
    margin-bottom: 2rem;
}

.profile-header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--warm-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    color: var(--warm-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
}

.profile-info {
    flex: 1;
}

.profile-info__name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.profile-info__username {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.profile-info__bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.profile-info__fav {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.profile-info__joined {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.profile-info__featured-badges {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.25rem;
}

.profile-edit-btn {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-sm);
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.profile-edit-btn:hover {
    background: var(--accent-gold);
    color: var(--warm-bg);
}

.profile-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    background: var(--warm-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.profile-stat {
    text-align: center;
}

.profile-stat__number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 700;
}

.profile-stat__label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.profile-section {
    margin-bottom: 3rem;
}

.profile-section__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.profile-ratings {
    background: var(--warm-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.profile-rating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.profile-rating-item:last-child {
    border-bottom: none;
}

.profile-rating-item__link {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.profile-rating-item__name {
    color: var(--text-primary);
    font-weight: 500;
}

.profile-rating-item__cuisine {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.profile-rating-item__score {
    color: var(--accent-gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    gap: 0;
    max-width: var(--max-width);
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}
.profile-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.profile-tab:hover {
    color: var(--text-secondary);
}
.profile-tab--active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}
.profile-tab__count {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.profile-tab-content {
    display: none;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.profile-tab-content--active {
    display: block;
}

.profile-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}
.profile-empty__link {
    display: inline-block;
    color: var(--accent-gold);
    margin-top: 0.75rem;
    text-decoration: underline;
}
.profile-empty__text {
    color: var(--text-muted);
    text-align: center;
    padding: 1.5rem 0;
}

.profile-section__footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
}
.profile-section__view-all {
    color: var(--accent-gold);
    font-weight: 500;
    transition: color var(--transition);
}
.profile-section__view-all:hover {
    color: var(--accent-amber);
}

/* ============================
   Cuisine Filters (Home Page)
   ============================ */
.cuisine-filters {
    max-width: var(--max-width);
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.cuisine-filters__row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cuisine-filters__search {
    flex: 1;
    min-width: 200px;
}

.cuisine-filters__input {
    width: 100%;
    padding: 0.6rem 1rem;
    background: var(--warm-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
}

.cuisine-filters__input:focus {
    border-color: var(--accent-gold);
}

.cuisine-filters__input::placeholder {
    color: var(--text-muted);
}

.cuisine-filters__sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cuisine-filters__label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.cuisine-filters__select {
    padding: 0.6rem 0.75rem;
    background: var(--warm-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}

.cuisine-filters__view-toggle {
    display: flex;
    gap: 0.25rem;
}

.cuisine-filters__view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--warm-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
}

.cuisine-filters__view-btn--active {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.cuisine-filters__regions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.cuisine-filters__pill {
    padding: 0.35rem 0.85rem;
    background: var(--warm-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.cuisine-filters__pill:hover {
    border-color: var(--accent-gold);
    color: var(--text-primary);
}

.cuisine-filters__pill--active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--warm-bg);
    font-weight: 600;
}

.cuisine-filters__count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================
   Dietary Filter Pills (Cuisine Page)
   ============================ */
.dietary-filter {
    padding: 1rem 2rem 0;
    max-width: var(--max-width);
    margin: 0 auto;
}

.dietary-filter__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.dietary-filter__pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dietary-filter__pill {
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--warm-surface);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}

.dietary-filter__pill:hover {
    color: var(--text-primary);
    border-color: var(--accent-gold);
}

.dietary-filter__pill--active {
    background: var(--accent-gold);
    color: var(--warm-bg);
    border-color: var(--accent-gold);
    font-weight: 600;
}

.dietary-filter__count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================
   Dietary Page
   ============================ */
.dietary-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--warm-surface) 0%, var(--warm-bg) 100%);
}

.dietary-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.dietary-hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.dietary-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 2rem 2rem 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.dietary-nav__pill {
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--warm-surface);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.dietary-nav__pill:hover {
    color: var(--text-primary);
    border-color: var(--accent-gold);
}

.dietary-nav__pill--active {
    background: var(--accent-gold);
    color: var(--warm-bg);
    border-color: var(--accent-gold);
    font-weight: 600;
}

.dietary-cuisine-group {
    padding: 2rem 2rem 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.dietary-cuisine-group__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.dietary-cuisine-group__flag {
    font-size: 2.5rem;
}

.dietary-cuisine-group__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.dietary-cuisine-group__count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: auto;
}

/* ============================
   Compare Cuisines Page
   ============================ */
.compare-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--warm-surface) 0%, var(--warm-bg) 100%);
}

.compare-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.compare-hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.compare-selectors {
    padding: 2rem 2rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.compare-selectors__form {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.compare-selectors__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.compare-selectors__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.compare-selectors__select {
    padding: 0.75rem 1rem;
    background: var(--warm-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color var(--transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23b8a898' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.compare-selectors__select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.compare-selectors__vs {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    padding-bottom: 0.5rem;
}

.compare-selectors__btn {
    padding: 0.75rem 2rem;
    background: var(--accent-gold);
    color: var(--warm-bg);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background var(--transition), transform var(--transition);
}

.compare-selectors__btn:hover {
    background: var(--accent-amber);
    transform: translateY(-2px);
}

.compare-results {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.compare-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.compare-overview__card {
    background: var(--warm-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
}

.compare-overview__flag { font-size: 4rem; display: block; margin-bottom: 1rem; }
.compare-overview__name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; margin-bottom: 0.5rem; }
.compare-overview__tagline { font-style: italic; color: var(--accent-gold); margin-bottom: 1.5rem; font-size: 0.95rem; }
.compare-overview__stat { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; margin-bottom: 1rem; }
.compare-overview__stat-value { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--accent-gold); }
.compare-overview__stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.compare-overview__region { display: inline-block; padding: 0.3rem 1rem; border: 1px solid var(--border); border-radius: 100px; font-size: 0.8rem; color: var(--text-secondary); }

.compare-section { margin-bottom: 3rem; }
.compare-section__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 2rem; color: var(--accent-gold); }
.compare-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.compare-column { background: var(--warm-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.compare-column__header { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); text-align: center; }
.compare-column__text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; }

.compare-bars { display: flex; flex-direction: column; gap: 0.75rem; }
.compare-bar { display: flex; align-items: center; gap: 0.75rem; }
.compare-bar__label { font-size: 0.8rem; color: var(--text-secondary); min-width: 80px; text-transform: capitalize; }
.compare-bar__track { flex: 1; height: 8px; background: rgba(212, 168, 83, 0.1); border-radius: 4px; overflow: hidden; }
.compare-bar__fill { height: 100%; background: var(--accent-gold); border-radius: 4px; transition: width 0.6s ease; }
.compare-bar__fill--alt { background: var(--accent-amber); }
.compare-bar__count { font-size: 0.8rem; font-weight: 600; color: var(--accent-gold); min-width: 24px; text-align: right; }

.compare-ingredient-list { display: flex; flex-direction: column; gap: 0.5rem; }
.compare-ingredient { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0; border-bottom: 1px solid rgba(212, 168, 83, 0.08); }
.compare-ingredient__name { font-size: 0.85rem; color: var(--text-secondary); text-transform: capitalize; }
.compare-ingredient__count { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.compare-dish-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

/* ============================
   Ingredient Finder Page
   ============================ */
.ingredients-page {
    min-height: 100vh;
    padding: 2rem 0 4rem;
}

.ingredients-page__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.ingredients-hero {
    text-align: center;
    padding: 3rem 0 2rem;
}

.ingredients-hero__title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.ingredients-hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.ingredients-input-section {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.ingredients-form {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.ingredients-input-wrap {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    background: var(--warm-surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem 0.75rem;
    min-height: 52px;
    transition: border-color var(--transition);
    cursor: text;
}

.ingredients-input-wrap:focus-within {
    border-color: var(--accent-gold);
}

.ingredients-chips {
    display: contents;
}

.ingredient-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(212, 168, 83, 0.2);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 168, 83, 0.35);
    border-radius: 20px;
    padding: 0.25rem 0.5rem 0.25rem 0.7rem;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.ingredient-chip__remove {
    background: none;
    border: none;
    color: var(--accent-gold);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 0.15rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.ingredient-chip__remove:hover {
    opacity: 1;
}

.ingredients-input {
    flex: 1;
    min-width: 120px;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    padding: 0.25rem 0;
}

.ingredients-input::placeholder {
    color: var(--text-muted);
}

.ingredients-submit-btn {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    color: #1a1410;
    border: none;
    border-radius: var(--radius);
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    white-space: nowrap;
    transition: transform var(--transition), box-shadow var(--transition);
}

.ingredients-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 83, 0.3);
}

.ingredients-suggestions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.ingredients-suggestions__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.ingredients-suggestions__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ingredients-suggestion-tag {
    background: var(--warm-surface-2);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s;
}

.ingredients-suggestion-tag:hover {
    background: rgba(212, 168, 83, 0.15);
    color: var(--accent-gold);
    border-color: rgba(212, 168, 83, 0.35);
}

.ingredients-page__count {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ============================
   Cultural Narrative Section
   ============================ */
.cultural-narrative {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
}

.cultural-narrative__inner { position: relative; max-width: 1100px; margin: 0 auto; }
.cultural-narrative__header { text-align: center; margin-bottom: 2.5rem; }
.cultural-narrative__divider-bottom { width: 80px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-gold), transparent); margin: 3rem auto 0; }
.cultural-narrative__title { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--accent-cream); margin-bottom: 0.5rem; font-style: italic; }
.cultural-narrative__subtitle { font-family: var(--font-body); font-size: 0.95rem; color: var(--text-secondary); font-weight: 300; }
.cultural-narrative__body { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; }
.cultural-narrative__content { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.85; color: var(--text-primary); opacity: 0.92; }
.cultural-narrative__content br + br { display: block; margin-top: 0.5rem; }
.cultural-narrative__gallery { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 6rem; }
.cultural-narrative__gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); }
.cultural-narrative__gallery-item:hover { transform: scale(1.03); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4); }
.cultural-narrative__gallery-item img { width: 100%; height: 160px; object-fit: cover; transition: transform 0.6s ease; }
.cultural-narrative__gallery-item:hover img { transform: scale(1.08); }
.cultural-narrative__gallery-item span { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.6rem 0.8rem; background: linear-gradient(transparent, rgba(26, 20, 16, 0.9)); font-size: 0.82rem; font-weight: 500; color: var(--accent-cream); }

/* Historical Profile Section */
.historical-profile { max-width: 800px; margin: 0 auto; padding: 2rem 2rem 2.5rem; }
.historical-profile__inner { width: 100%; }
.historical-profile__card { background: linear-gradient(135deg, rgba(46, 38, 32, 0.95), rgba(36, 30, 24, 0.98)); border: 1px solid rgba(212, 168, 83, 0.12); border-radius: var(--radius); padding: 2.5rem; position: relative; overflow: hidden; }
.historical-profile__card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent-gold), var(--accent-amber), var(--accent-gold)); }
.historical-profile__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--accent-cream); margin-bottom: 1.25rem; font-style: italic; }
.historical-profile__text { font-family: var(--font-body); font-size: 1rem; line-height: 1.8; color: var(--text-primary); opacity: 0.9; margin-bottom: 1.5rem; }
.historical-profile__tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.historical-profile__tag { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.9rem; border-radius: 20px; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em; }
.historical-profile__tag--timing { background: rgba(232, 146, 62, 0.12); border: 1px solid rgba(232, 146, 62, 0.25); color: var(--accent-amber); }
.historical-profile__tag--era { background: rgba(212, 168, 83, 0.12); border: 1px solid rgba(212, 168, 83, 0.25); color: var(--accent-gold); }

/* ============================
   Bookmarks & Collections Pages
   ============================ */
.bookmarks-page { max-width: var(--max-width); margin: 0 auto; padding: 2rem 1.5rem; }
.collection-detail-page { max-width: var(--max-width); margin: 0 auto; padding: 2rem 1.5rem; }
.collection-detail__meta { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem; }
.collections-page { max-width: var(--max-width); margin: 0 auto; padding: 2rem 1.5rem; }

/* ============================
   Regions Page
   ============================ */
.regions-page { padding-top: 100px; min-height: 100vh; }
.regions-page__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem 4rem; }
.regions-hero { text-align: center; margin-bottom: 3rem; }
.regions-hero__title { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.regions-hero__subtitle { font-size: 1.1rem; color: var(--text-secondary); }

/* Region Detail Page */
.region-detail-page { padding-top: 100px; min-height: 100vh; }
.region-detail-page__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem 4rem; }
.region-detail-hero { text-align: center; margin-bottom: 2rem; padding: 2.5rem 2rem; background: var(--warm-surface); border-radius: var(--radius); border: 1px solid var(--border); }
.region-detail-hero__back { display: inline-block; color: var(--accent-gold); font-size: 0.9rem; margin-bottom: 1rem; transition: opacity var(--transition); }
.region-detail-hero__back:hover { opacity: 0.8; }
.region-detail-hero__title { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; }
.region-detail-hero__stats { display: flex; gap: 2rem; justify-content: center; font-size: 1rem; color: var(--text-secondary); }
.region-detail-hero__stat strong { color: var(--accent-gold); }
.region-detail-types { margin-bottom: 2rem; text-align: center; }
.region-detail-types__title { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.region-detail-types__list { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.region-detail-types__tag { background: var(--warm-surface-2); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; color: var(--text-secondary); }
.region-detail-types__tag em { color: var(--accent-gold); font-style: normal; }
.region-detail-controls { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
.region-detail-controls__label { font-size: 0.9rem; color: var(--text-secondary); }
.region-detail-controls__btn { font-size: 0.85rem; padding: 0.4rem 1rem; border-radius: 20px; background: var(--warm-surface); color: var(--text-secondary); border: 1px solid var(--border); transition: all var(--transition); }
.region-detail-controls__btn:hover { border-color: var(--accent-gold); color: var(--text-primary); }
.region-detail-controls__btn--active { background: var(--accent-gold); color: var(--warm-bg); border-color: var(--accent-gold); font-weight: 600; }

/* ============================
   Ingredient Encyclopedia
   ============================ */
.encyclopedia-page { padding-top: 100px; min-height: 100vh; }
.encyclopedia-page__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem 4rem; }
.encyclopedia-hero { text-align: center; margin-bottom: 2rem; }
.encyclopedia-hero__title { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.encyclopedia-hero__subtitle { font-size: 1.1rem; color: var(--text-secondary); }
.encyclopedia-controls { margin-bottom: 2.5rem; }
.encyclopedia-search { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.encyclopedia-search__input { flex: 1; padding: 0.75rem 1.25rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--warm-surface); color: var(--text-primary); font-family: var(--font-body); font-size: 0.95rem; outline: none; transition: border-color var(--transition); }
.encyclopedia-search__input:focus { border-color: var(--accent-gold); }
.encyclopedia-search__btn { padding: 0.75rem 1.5rem; background: var(--accent-gold); color: var(--warm-bg); border: none; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: background var(--transition); }
.encyclopedia-search__btn:hover { background: var(--accent-amber); }
.encyclopedia-alphabet { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center; margin-bottom: 1rem; }
.encyclopedia-alphabet__btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); background: var(--warm-surface); border: 1px solid var(--border); transition: all var(--transition); }
.encyclopedia-alphabet__btn:hover { border-color: var(--accent-gold); color: var(--text-primary); }
.encyclopedia-alphabet__btn--active { background: var(--accent-gold); color: var(--warm-bg); border-color: var(--accent-gold); }
.encyclopedia-count { text-align: center; font-size: 0.85rem; color: var(--text-muted); }

/* Ingredient Detail Page */
.ingredient-detail-page { padding-top: 100px; min-height: 100vh; }
.ingredient-detail-page__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem 4rem; }
.ingredient-detail-hero { text-align: center; margin-bottom: 2.5rem; padding: 2.5rem 2rem; background: var(--warm-surface); border-radius: var(--radius); border: 1px solid var(--border); }
.ingredient-detail-hero__back { display: inline-block; color: var(--accent-gold); font-size: 0.9rem; margin-bottom: 1rem; transition: opacity var(--transition); }
.ingredient-detail-hero__back:hover { opacity: 0.8; }
.ingredient-detail-hero__title { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; }
.ingredient-detail-hero__stats { display: flex; gap: 2rem; justify-content: center; font-size: 1rem; color: var(--text-secondary); }
.ingredient-detail-hero__stat strong { color: var(--accent-gold); }
.ingredient-detail-related { margin-bottom: 2.5rem; text-align: center; }
.ingredient-detail-related__title { font-size: 1rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 0.75rem; }
.ingredient-detail-related__list { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.ingredient-detail-related__tag { background: var(--warm-surface); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; color: var(--text-secondary); border: 1px solid var(--border); transition: all var(--transition); }
.ingredient-detail-related__tag:hover { border-color: var(--accent-gold); color: var(--text-primary); }
.ingredient-detail-related__tag em { color: var(--accent-gold); font-style: normal; }
.ingredient-detail-groups { display: flex; flex-direction: column; gap: 2rem; }
.ingredient-detail-group { background: var(--warm-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.ingredient-detail-group__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.ingredient-detail-group__flag { font-size: 1.4rem; }
.ingredient-detail-group__count { font-size: 0.85rem; font-weight: 400; color: var(--text-secondary); }
.ingredient-detail-group__dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.ingredient-detail-dish { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border-radius: var(--radius-sm); background: var(--warm-surface-2); transition: transform var(--transition), background var(--transition); }
.ingredient-detail-dish:hover { transform: translateY(-1px); background: var(--warm-bg); }
.ingredient-detail-dish__image-wrap { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.ingredient-detail-dish__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ingredient-detail-dish__body { flex: 1; min-width: 0; }
.ingredient-detail-dish__name { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.1rem; }
.ingredient-detail-dish__type { font-size: 0.75rem; color: var(--text-muted); }

/* ============================
   Chefs & Books Sections
   ============================ */
.chefs-section { max-width: var(--max-width); margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.chefs-section__inner { position: relative; }
.chefs-section__header { text-align: center; margin-bottom: 2.5rem; }
.chefs-section__divider, .books-section__divider { width: 80px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-gold), transparent); margin: 0 auto 1.5rem; }
.chefs-section__title, .books-section__title { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--accent-cream); margin-bottom: 0.5rem; font-style: italic; }
.chefs-section__subtitle, .books-section__subtitle { font-family: var(--font-body); font-size: 0.95rem; color: var(--text-secondary); font-weight: 300; }
.chefs-section__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.books-section { max-width: var(--max-width); margin: 0 auto; padding: 1rem 1.5rem 3rem; }
.books-section__inner { position: relative; }
.books-section__header { text-align: center; margin-bottom: 2.5rem; }
.books-section__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* ============================
   Nutrition & Info Section
   ============================ */
.nutrition-section { padding: 3rem 2rem; max-width: var(--max-width); margin: 0 auto; }
.nutrition-section__inner { background: var(--warm-surface); border-radius: var(--radius); border: 1px solid var(--border); padding: 2rem; }
.nutrition-section__title { font-family: var(--font-display); font-size: 1.8rem; color: var(--accent-gold); margin-bottom: 1.5rem; text-align: center; }
.nutrition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.nutrition-card { background: var(--warm-surface-2); border-radius: var(--radius-sm); padding: 1.5rem; border: 1px solid var(--border); }
.nutrition-card__header { text-align: center; margin-bottom: 1.5rem; }
.nutrition-card__calorie { display: flex; flex-direction: column; align-items: center; }
.nutrition-card__calorie-number { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--accent-gold); line-height: 1; }
.nutrition-card__calorie-unit { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.25rem; }
.nutrition-card__macros { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.macro-bar__label { display: flex; justify-content: space-between; margin-bottom: 0.35rem; }
.macro-bar__name { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); }
.macro-bar__value { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.macro-bar__track { height: 8px; background: rgba(255, 255, 255, 0.08); border-radius: 4px; overflow: hidden; }
.macro-bar__fill { height: 100%; border-radius: 4px; transition: width 1s ease; min-width: 4px; }
.macro-bar--protein .macro-bar__fill { background: linear-gradient(90deg, #4a8bc2, #5b9bd5); }
.macro-bar--protein .macro-bar__name { color: #5b9bd5; }
.macro-bar--carbs .macro-bar__fill { background: linear-gradient(90deg, #d4951c, #e8a838); }
.macro-bar--carbs .macro-bar__name { color: #e8a838; }
.macro-bar--fat .macro-bar__fill { background: linear-gradient(90deg, #c94545, #e85d5d); }
.macro-bar--fat .macro-bar__name { color: #e85d5d; }
.nutrition-card__donut { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.donut-chart { width: 120px; height: 120px; }
.donut-chart__segment { transition: stroke-dasharray 1s ease, stroke-dashoffset 1s ease; }
.donut-chart__legend { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.donut-chart__legend-item { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--text-secondary); }
.donut-chart__dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.donut-chart__dot--protein { background: #5b9bd5; }
.donut-chart__dot--carbs { background: #e8a838; }
.donut-chart__dot--fat { background: #e85d5d; }
.nutrition-info-column { display: flex; flex-direction: column; gap: 1.25rem; }
.nutrition-info__subtitle { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent-cream); margin-bottom: 0.75rem; }
.dietary-tags-card, .allergen-card, .equipment-card, .presentation-card { background: var(--warm-surface-2); border-radius: var(--radius-sm); padding: 1.25rem; border: 1px solid var(--border); }
.dietary-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dietary-pill { display: inline-block; padding: 0.3rem 0.85rem; border-radius: 20px; font-size: 0.8rem; font-weight: 500; }
.dietary-pill--active { background: rgba(76, 175, 80, 0.15); color: #66bb6a; border: 1px solid rgba(76, 175, 80, 0.3); }
.allergen-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.allergen-badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.75rem; border-radius: 20px; font-size: 0.8rem; font-weight: 500; background: rgba(229, 115, 115, 0.12); color: #ef9a9a; border: 1px solid rgba(229, 115, 115, 0.25); }
.equipment-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.equipment-item { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.8rem; background: rgba(212, 168, 83, 0.08); color: var(--text-secondary); border: 1px solid var(--border); }
.presentation-details { display: flex; flex-direction: column; gap: 0.5rem; }
.presentation-detail { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.presentation-detail strong { color: var(--accent-cream); }

/* ============================
   Admin Moderation Panel
   ============================ */
.admin-panel { padding: 6rem 2rem 4rem; max-width: var(--max-width); margin: 0 auto; }
.admin-panel__inner { background: var(--warm-surface); border-radius: var(--radius); border: 1px solid var(--border); padding: 2rem; }
.admin-panel__title { font-family: var(--font-display); font-size: 2rem; color: var(--accent-gold); margin-bottom: 2rem; text-align: center; }
.admin-panel__section-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent-cream); margin: 2rem 0 1rem; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.admin-stat { background: var(--warm-surface-2); border-radius: var(--radius-sm); padding: 1.25rem; text-align: center; border: 1px solid var(--border); }
.admin-stat__number { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--accent-gold); line-height: 1; margin-bottom: 0.35rem; }
.admin-stat__label { font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.admin-queue { display: flex; flex-direction: column; gap: 1.25rem; }
.admin-recipe-card { background: var(--warm-surface-2); border-radius: var(--radius-sm); padding: 1.5rem; border: 1px solid var(--border); transition: opacity 0.4s, transform 0.4s; }
.admin-recipe-card__header { display: flex; gap: 1.25rem; margin-bottom: 1rem; }
.admin-recipe-card__image { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.admin-recipe-card__info { flex: 1; min-width: 0; }
.admin-recipe-card__name { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent-cream); margin-bottom: 0.35rem; }
.admin-recipe-card__meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.admin-recipe-card__desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 0.5rem; }
.admin-recipe-card__ingredients { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.admin-recipe-card__actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--border); }
.admin-recipe-card__note-row { flex: 1; min-width: 200px; }
.admin-recipe-card__note-input { width: 100%; padding: 0.5rem 0.75rem; background: var(--warm-bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.85rem; font-family: var(--font-body); }
.admin-recipe-card__note-input::placeholder { color: var(--text-muted); }
.admin-recipe-card__buttons { display: flex; gap: 0.5rem; }
.admin-btn { padding: 0.5rem 1.25rem; border: none; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: background var(--transition), transform 0.2s; font-family: var(--font-body); }
.admin-btn:hover { transform: translateY(-1px); }
.admin-btn--approve { background: rgba(76, 175, 80, 0.2); color: #66bb6a; border: 1px solid rgba(76, 175, 80, 0.3); }
.admin-btn--approve:hover { background: rgba(76, 175, 80, 0.35); }
.admin-btn--reject { background: rgba(229, 115, 115, 0.15); color: #ef9a9a; border: 1px solid rgba(229, 115, 115, 0.25); }
.admin-btn--reject:hover { background: rgba(229, 115, 115, 0.3); }
.admin-empty { text-align: center; padding: 3rem; color: var(--text-secondary); font-size: 1.1rem; }

/* ============================
   Shopping List Page
   ============================ */
.shopping-list-page { padding: 6rem 1rem 2rem; max-width: 800px; margin: 0 auto; }
.shopping-list-page__header { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.shopping-list-page__title { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--text-primary, #f5f5f5); flex: 1; }
.shopping-list-page__subtitle { width: 100%; color: var(--text-secondary, #b3b3b3); font-size: 0.9rem; }
.shopping-list-page__actions { display: flex; gap: 0.5rem; }
.shopping-list-page__empty { text-align: center; padding: 4rem 1rem; }
.shopping-list-page__empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.shopping-list-page__empty h2 { font-family: 'Playfair Display', serif; color: var(--text-primary, #f5f5f5); margin-bottom: 0.5rem; }
.shopping-list-page__empty p { color: var(--text-secondary, #b3b3b3); margin-bottom: 1.5rem; }
.shopping-group { background: var(--warm-surface-1, #242424); border-radius: 12px; border: 1px solid var(--warm-surface-2, #2d2d2d); padding: 1.25rem; margin-bottom: 1rem; }
.shopping-group__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.shopping-group__title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text-primary, #f5f5f5); }
.shopping-group__cuisine { font-size: 0.8rem; color: var(--text-secondary, #b3b3b3); margin-bottom: 0.75rem; }
.shopping-group__remove { background: none; border: none; color: var(--text-secondary, #b3b3b3); font-size: 1.3rem; cursor: pointer; padding: 0 0.3rem; line-height: 1; }
.shopping-group__remove:hover { color: #e85d5d; }
.shopping-group__list { list-style: none; padding: 0; margin: 0; }
.shopping-group__item { padding: 0.4rem 0; border-bottom: 1px solid var(--warm-surface-2, #2d2d2d); }
.shopping-group__item:last-child { border-bottom: none; }
.shopping-group__label { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; font-size: 0.9rem; color: var(--text-primary, #f5f5f5); }
.shopping-group__checkbox { accent-color: var(--accent-gold, #d4a853); width: 18px; height: 18px; flex-shrink: 0; }
.shopping-group__item--checked .shopping-group__text { text-decoration: line-through; opacity: 0.5; }

/* Shopping List Button (Dish Page) */
.btn--shopping-list { margin-top: 1rem; width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1rem; border: 1px solid var(--accent-gold, #d4a853); border-radius: 8px; background: transparent; color: var(--accent-gold, #d4a853); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background 0.2s, color 0.2s; }
.btn--shopping-list:hover { background: var(--accent-gold, #d4a853); color: var(--warm-bg-1, #1a1a1a); }

/* Chef's Notes Section */
.chefs-notes { margin-top: 2rem; padding: 1.5rem; background: var(--warm-surface-1, #242424); border-radius: 12px; border: 1px solid var(--warm-surface-2, #2d2d2d); }
.chefs-notes__title { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--accent-gold, #d4a853); margin-bottom: 1rem; }
.chefs-notes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.chefs-notes__card { padding: 1rem; background: var(--warm-surface-2, #2d2d2d); border-radius: 8px; }
.chefs-notes__label { font-size: 0.85rem; font-weight: 600; color: var(--accent-gold, #d4a853); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.chefs-notes__card p { font-size: 0.9rem; color: var(--text-secondary, #b3b3b3); line-height: 1.5; }
.chefs-notes__list { list-style: none; padding: 0; margin: 0; }
.chefs-notes__list li { font-size: 0.9rem; color: var(--text-secondary, #b3b3b3); padding: 0.25rem 0; padding-left: 1rem; position: relative; }
.chefs-notes__list li::before { content: '\2022'; color: var(--accent-gold, #d4a853); position: absolute; left: 0; }
