﻿@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&family=Cormorant+Garamond:wght@500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');

/* =========================================================
   AMAL'S KITCHEN — SIGNATURE EDITORIAL THEME
   Full replacement stylesheet
   Keeps the existing HTML + JavaScript selectors intact.
========================================================= */

:root {
    --forest-1000: #04140b;
    --forest-950: #071b10;
    --forest-900: #0b2818;
    --forest-850: #12331f;
    --forest-800: #183f27;
    --forest-700: #285d3a;
    --green: #477c56;
    --green-2: #6e9d78;
    --green-soft: #eaf2ec;
    --green-mist: #f2f6f2;
    --gold: #b98b3f;
    --gold-2: #d5b46d;
    --gold-light: #ead8ae;
    --champagne: #f1e8d4;
    --cream: #f7f3e9;
    --cream-2: #fbf9f3;
    --surface: rgba(255,255,255,.92);
    --surface-solid: #ffffff;
    --ink: #152018;
    --muted: #69756d;
    --muted-2: #98a39b;
    --danger: #ad4942;
    --border: rgba(8, 35, 21, .10);
    --border-strong: rgba(8, 35, 21, .17);
    --gold-border: rgba(185,139,63,.25);
    --shadow-xs: 0 4px 12px rgba(7, 27, 16, .04);
    --shadow-sm: 0 10px 28px rgba(7, 27, 16, .07);
    --shadow-md: 0 20px 50px rgba(7, 27, 16, .11);
    --shadow-lg: 0 34px 90px rgba(7, 27, 16, .16);
    --shadow-deep: 0 40px 120px rgba(3, 18, 10, .24);
    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 38px;
    --ease: cubic-bezier(.2,.75,.2,1);
    --ease-soft: cubic-bezier(.22,.61,.36,1);
}

/* =========================================================
   RESET / BASE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at 7% 4%, rgba(185,139,63,.10), transparent 24%), radial-gradient(circle at 94% 15%, rgba(71,124,86,.09), transparent 26%), linear-gradient(180deg, #fcfbf7 0%, var(--cream) 52%, #f0eadf 100%);
    overflow-x: hidden;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        opacity: .26;
        background-image: linear-gradient(rgba(7,27,16,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(7,27,16,.025) 1px, transparent 1px);
        background-size: 40px 40px;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 70%);
    }

button,
input,
select {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
}

::selection {
    background: var(--forest-800);
    color: #fff;
}

/* =========================================================
   HEADER / NAVIGATION
========================================================= */

header {
    position: sticky;
    top: 0;
    z-index: 2000;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 34px;
    background: rgba(250,248,241,.82);
    border-bottom: 1px solid rgba(8,35,21,.09);
    box-shadow: 0 12px 35px rgba(7,27,16,.055);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
}

    header::before {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(185,139,63,.45) 30%, rgba(40,93,58,.35) 70%, transparent 100%);
    }

    header::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -1px;
        width: 180px;
        height: 3px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        opacity: .72;
    }

.brand {
    position: absolute;
    left: 28px;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

    .brand img {
        width: 72px;
        height: 72px;
        object-fit: contain;
        border-radius: 20px;
        filter: drop-shadow(0 12px 18px rgba(7,27,16,.13));
        transition: transform .35s var(--ease), filter .35s var(--ease);
    }

    .brand:hover img {
        transform: rotate(-2deg) scale(1.03);
        filter: drop-shadow(0 16px 24px rgba(7,27,16,.18));
    }

    .brand span {
        position: relative;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 34px;
        line-height: 1;
        font-weight: 700;
        color: var(--forest-900);
        letter-spacing: -.5px;
        white-space: nowrap;
    }

        .brand span::before {
            content: "EST. 2026";
            position: absolute;
            top: -16px;
            left: 1px;
            font-family: "DM Sans", sans-serif;
            font-size: 7px;
            font-weight: 800;
            letter-spacing: 3px;
            color: var(--gold);
        }

        .brand span::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -9px;
            width: 54px;
            height: 2px;
            background: linear-gradient(90deg, var(--gold), rgba(185,139,63,0));
        }

header h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 39px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -1.1px;
    color: var(--forest-950);
    text-align: center;
}

    header h1::before {
        content: "FRESH  •  HOMEMADE  •  DELICIOUS";
        display: block;
        margin-bottom: 7px;
        font-family: "DM Sans", sans-serif;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: 3.6px;
        color: var(--gold);
    }

.cart-icon {
    position: absolute;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 19px;
    background: radial-gradient(circle at 30% 15%, rgba(255,255,255,.10), transparent 35%), linear-gradient(145deg, var(--forest-700), var(--forest-950));
    color: #fff;
    font-size: 21px;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(7,27,16,.22);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), filter .28s ease;
}

    .cart-icon:hover {
        transform: translateY(-4px) rotate(-1deg);
        box-shadow: 0 20px 40px rgba(7,27,16,.28);
        filter: saturate(1.08);
    }

    .cart-icon span {
        position: absolute;
        top: -8px;
        right: -8px;
        min-width: 25px;
        height: 25px;
        padding: 0 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid var(--cream-2);
        border-radius: 999px;
        background: linear-gradient(135deg, var(--gold-light), var(--gold));
        color: var(--forest-950);
        font-size: 9px;
        font-weight: 800;
        box-shadow: 0 7px 16px rgba(185,139,63,.25);
    }

/* =========================================================
   WELCOME HERO — SIGNATURE LANDING EXPERIENCE
========================================================= */

.welcome-hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - 104px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 88px 30px 92px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(circle at 50% 15%, rgba(255,255,255,.85), transparent 26%), radial-gradient(circle at 14% 26%, rgba(185,139,63,.16), transparent 28%), radial-gradient(circle at 86% 72%, rgba(71,124,86,.13), transparent 28%), linear-gradient(135deg, #fbfaf5 0%, #f6f0e3 52%, #edf3ed 100%);
}

    .welcome-hero::before {
        content: "";
        position: absolute;
        z-index: -2;
        width: min(66vw, 830px);
        aspect-ratio: 1;
        left: 50%;
        top: 51%;
        transform: translate(-50%, -50%);
        border: 1px solid rgba(185,139,63,.18);
        border-radius: 50%;
        box-shadow: 0 0 0 52px rgba(255,255,255,.17), 0 0 0 53px rgba(71,124,86,.07), 0 0 0 118px rgba(255,255,255,.08), 0 0 0 119px rgba(185,139,63,.06);
        animation: heroHalo 9s ease-in-out infinite alternate;
    }

    .welcome-hero::after {
        content: "AK";
        position: absolute;
        z-index: -1;
        right: -2vw;
        bottom: -9vw;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: clamp(220px, 31vw, 520px);
        line-height: .7;
        font-weight: 700;
        letter-spacing: -25px;
        color: rgba(13,40,24,.035);
        user-select: none;
        pointer-events: none;
        transform: rotate(-7deg);
    }

.welcome-hero-content {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    padding: 48px 42px 38px;
    text-align: center;
}

    .welcome-hero-content::before,
    .welcome-hero-content::after {
        content: "";
        position: absolute;
        top: 50%;
        width: clamp(90px, 13vw, 190px);
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(185,139,63,.58));
    }

    .welcome-hero-content::before {
        right: calc(100% + 16px);
    }

    .welcome-hero-content::after {
        left: calc(100% + 16px);
        transform: rotate(180deg);
    }

.welcome-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 10px 15px;
    border: 1px solid rgba(185,139,63,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.52);
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3.8px;
    text-transform: uppercase;
    box-shadow: inset 0 1px rgba(255,255,255,.65);
    backdrop-filter: blur(10px);
}

    .welcome-label::before,
    .welcome-label::after {
        content: "✦";
        font-size: 8px;
        letter-spacing: 0;
        color: var(--gold-2);
    }

.welcome-hero h1 {
    max-width: 820px;
    margin: 0 auto 23px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(58px, 8.5vw, 108px);
    line-height: .88;
    font-weight: 600;
    letter-spacing: -4px;
    color: var(--forest-950);
    text-wrap: balance;
    text-shadow: 0 10px 35px rgba(13,40,24,.06);
}

    .welcome-hero h1::first-line {
        color: var(--forest-800);
    }

.welcome-hero p {
    max-width: 610px;
    margin: 0 auto 34px;
    color: #657168;
    font-size: 16px;
    line-height: 1.9;
    text-wrap: balance;
}

.welcome-menu-btn {
    position: relative;
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    background: radial-gradient(circle at 25% 0%, rgba(255,255,255,.12), transparent 34%), linear-gradient(145deg, var(--forest-700), var(--forest-950));
    color: white;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(7,27,16,.22);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}

    .welcome-menu-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 70%;
        height: 100%;
        transform: skewX(-22deg);
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
        transition: left .65s var(--ease-soft);
    }

    .welcome-menu-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 46px rgba(7,27,16,.29);
    }

        .welcome-menu-btn:hover::before {
            left: 140%;
        }

    .welcome-menu-btn i {
        font-size: 11px;
        animation: arrowFloat 1.8s ease-in-out infinite;
    }

.welcome-info {
    width: min(760px, 100%);
    margin: 54px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(8,35,21,.10);
    border-radius: 22px;
    background: rgba(255,255,255,.52);
    box-shadow: 0 16px 40px rgba(7,27,16,.06), inset 0 1px rgba(255,255,255,.78);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

    .welcome-info div {
        min-height: 76px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 18px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .25px;
    }

        .welcome-info div + div {
            border-left: 1px solid rgba(8,35,21,.08);
        }

    .welcome-info i {
        width: 35px;
        height: 35px;
        display: grid;
        place-items: center;
        flex-shrink: 0;
        border: 1px solid rgba(185,139,63,.20);
        border-radius: 12px;
        background: linear-gradient(145deg, #fffdf8, #f2ead8);
        color: var(--gold);
        font-size: 12px;
        box-shadow: var(--shadow-xs);
    }

#categorySection {
    scroll-margin-top: 128px;
}

/* =========================================================
   MAIN CONTENT
========================================================= */

.container {
    width: min(1380px, calc(100% - 64px));
    margin: 0 auto;
    padding: 82px 0 100px;
}

.category-section,
.menu-section {
    width: 100%;
}

.category-heading {
    position: relative;
    max-width: 770px;
    margin: 0 auto 46px;
    padding: 0 18px;
    text-align: center;
}

    .category-heading::before {
        content: "";
        display: block;
        width: 58px;
        height: 1px;
        margin: 0 auto 17px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }

    .category-heading > span {
        display: block;
        margin-bottom: 10px;
        color: var(--gold);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 3.2px;
    }

    .category-heading h2 {
        margin-bottom: 14px;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: clamp(48px, 5vw, 66px);
        line-height: .98;
        font-weight: 600;
        letter-spacing: -1.9px;
        color: var(--forest-950);
    }

    .category-heading p {
        max-width: 530px;
        margin: 0 auto;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.8;
    }

/* =========================================================
   CATEGORY GRID / CARDS
========================================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    perspective: 1400px;
}

.category-card {
    position: relative;
    min-height: 238px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(8,35,21,.095);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(247,243,233,.89));
    text-align: left;
    color: var(--forest-900);
    cursor: pointer;
    box-shadow: 0 14px 36px rgba(7,27,16,.065);
    isolation: isolate;
    transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s ease;
}

    .category-card::before {
        content: "";
        position: absolute;
        z-index: -2;
        width: 210px;
        height: 210px;
        right: -82px;
        top: -88px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(185,139,63,.20), rgba(185,139,63,.03) 55%, transparent 70%);
        transition: transform .45s var(--ease), opacity .3s ease;
    }

    .category-card::after {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        opacity: 0;
        background: linear-gradient(135deg, rgba(13,40,24,.025), transparent 48%), radial-gradient(circle at 85% 80%, rgba(71,124,86,.10), transparent 28%);
        transition: opacity .35s ease;
    }

    .category-card:nth-child(3n + 2) {
        transform: translateY(14px);
    }

        .category-card:nth-child(3n + 2)::before {
            background: radial-gradient(circle, rgba(71,124,86,.18), rgba(71,124,86,.03) 55%, transparent 70%);
        }

    .category-card:hover {
        transform: translateY(-8px) rotateX(1.2deg) rotateY(-1deg);
        border-color: rgba(185,139,63,.28);
        box-shadow: 0 28px 62px rgba(7,27,16,.13);
    }

    .category-card:nth-child(3n + 2):hover {
        transform: translateY(4px) rotateX(1.2deg) rotateY(-1deg);
    }

    .category-card:hover::before {
        transform: scale(1.22) translate(-10px, 8px);
    }

    .category-card:hover::after {
        opacity: 1;
    }

.category-card-number {
    position: relative;
    z-index: 2;
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid rgba(71,124,86,.13);
    border-radius: 999px;
    background: rgba(234,242,236,.88);
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    box-shadow: inset 0 1px rgba(255,255,255,.75);
}

    .category-card-number::after {
        content: " dishes";
    }

.category-card-content {
    position: relative;
    z-index: 2;
    margin-top: 42px;
}

    .category-card-content > span {
        display: block;
        margin-bottom: 7px;
        color: var(--gold);
        font-size: 8px;
        font-weight: 800;
        letter-spacing: 2.4px;
    }

    .category-card-content h3 {
        margin-bottom: 6px;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 36px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: -.9px;
        color: var(--forest-950);
    }

    .category-card-content p {
        display: none;
    }

    .category-card-content::after {
        content: "Explore category";
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        margin-top: 16px;
        padding: 0 16px;
        border: 1px solid rgba(13,40,24,.09);
        border-radius: 999px;
        background: rgba(255,255,255,.62);
        color: var(--forest-900);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .7px;
        text-transform: uppercase;
        box-shadow: inset 0 1px rgba(255,255,255,.85);
        transition: background .25s ease, color .25s ease, transform .25s var(--ease), border-color .25s ease;
    }

.category-card:hover .category-card-content::after {
    transform: translateX(4px);
    background: var(--forest-900);
    border-color: var(--forest-900);
    color: #fff;
}

.category-arrow {
    display: none !important;
}

/* =========================================================
   MENU TOOLBAR
========================================================= */

.menu-toolbar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255,255,255,.68);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(15px);
}

.categories-back-btn {
    min-height: 48px;
    padding: 0 18px;
    flex-shrink: 0;
    border: 1px solid var(--border-strong);
    border-radius: 13px;
    background: rgba(255,255,255,.86);
    color: var(--forest-900);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: transform .22s var(--ease), background .22s ease, color .22s ease;
}

    .categories-back-btn:hover {
        transform: translateX(-3px);
        background: var(--forest-900);
        color: #fff;
    }

.current-category {
    min-width: 0;
}

    .current-category span {
        display: block;
        margin-bottom: 3px;
        color: var(--gold);
        font-size: 8px;
        font-weight: 800;
        letter-spacing: 2.2px;
    }

    .current-category h2 {
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 38px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: -.7px;
        color: var(--forest-950);
        overflow-wrap: anywhere;
    }

/* =========================================================
   SEARCH
========================================================= */

.search-bar,
.menu-section .search-bar {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 30px;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255,255,255,.76);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
}

    .search-bar::before {
        content: "\f002";
        position: absolute;
        left: 25px;
        top: 50%;
        z-index: 2;
        transform: translateY(-50%);
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: var(--green);
        font-size: 14px;
    }

    .search-bar input {
        width: 100%;
        height: 58px;
        padding: 0 18px 0 49px;
        border: 0;
        outline: none;
        border-radius: 14px;
        background: linear-gradient(145deg, rgba(247,244,236,.86), rgba(255,255,255,.72));
        color: var(--ink);
        font-size: 14px;
        transition: box-shadow .2s ease, background .2s ease;
    }

        .search-bar input:focus {
            background: #fff;
            box-shadow: inset 0 0 0 1px rgba(71,124,86,.22), 0 0 0 4px rgba(71,124,86,.06);
        }

        .search-bar input::placeholder {
            color: var(--muted-2);
        }

#categoryFilter {
    display: none;
}

/* =========================================================
   RECIPE GRID / CARDS
========================================================= */

#recipes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.item {
    position: relative;
    min-height: 196px;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 13px;
    overflow: hidden;
    border: 1px solid rgba(8,35,21,.10);
    border-radius: 26px;
    background: radial-gradient(circle at 100% 0%, rgba(185,139,63,.07), transparent 32%), linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,245,237,.92));
    box-shadow: var(--shadow-sm);
    isolation: isolate;
    transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s ease;
}

    .item::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        opacity: 0;
        background: linear-gradient(120deg, rgba(71,124,86,.035), transparent 45%);
        transition: opacity .28s ease;
    }

    .item::after {
        content: "";
        position: absolute;
        left: 0;
        top: 30px;
        width: 3px;
        height: 52%;
        border-radius: 0 10px 10px 0;
        background: linear-gradient(180deg, var(--gold), var(--green));
        opacity: 0;
        transition: opacity .25s ease;
    }

    .item:hover {
        transform: translateY(-6px);
        border-color: rgba(71,124,86,.19);
        box-shadow: 0 24px 52px rgba(7,27,16,.11);
    }

        .item:hover::before,
        .item:hover::after {
            opacity: 1;
        }

.food-img {
    width: 150px;
    height: 170px;
    object-fit: cover;
    border-radius: 20px;
    background: #f0eee8;
    box-shadow: 0 13px 28px rgba(7,27,16,.12);
    transition: transform .36s var(--ease), filter .36s ease;
}

.item:hover .food-img {
    transform: scale(1.025);
}

.unavailable-image {
    filter: grayscale(.72) saturate(.7);
    opacity: .57;
}

.item > div {
    min-width: 0;
}

.item h2 {
    margin-bottom: 9px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -.6px;
    color: var(--forest-950);
    overflow-wrap: anywhere;
}

.item span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(71,124,86,.12);
    border-radius: 999px;
    background: rgba(71,124,86,.075);
    color: var(--green);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.unavailable-label {
    width: fit-content;
    margin-top: 9px;
    padding: 7px 10px;
    border: 1px solid rgba(173,73,66,.09);
    border-radius: 9px;
    background: #faeeec;
    color: #94423c;
    font-size: 9px;
    font-weight: 700;
}

.view-btn {
    min-width: 98px;
    min-height: 46px;
    padding: 0 17px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--forest-700), var(--forest-950));
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    cursor: pointer;
    box-shadow: 0 9px 20px rgba(7,27,16,.17);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), filter .22s ease;
}

    .view-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 28px rgba(7,27,16,.23);
        filter: brightness(1.05);
    }

.unavailable-view-btn {
    background: #dfe4df;
    color: #778078;
    box-shadow: none;
    cursor: not-allowed;
}

    .unavailable-view-btn:hover {
        transform: none;
        box-shadow: none;
        filter: none;
    }

/* =========================================================
   RATINGS
========================================================= */

.recipe-rating {
    margin: 8px 0 10px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.rating-star {
    border: none;
    background: transparent;
    padding: 0;
    color: #d6d8d5;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    filter: drop-shadow(0 2px 5px rgba(185,139,63,.06));
    transition: transform .15s ease, color .15s ease;
}

    .rating-star.filled {
        color: #d5ac55;
    }

    .rating-star:hover {
        transform: translateY(-1px) scale(1.13);
    }

.rating-stars:hover .rating-star {
    color: #d6d8d5;
}

.rating-stars .rating-star:hover,
.rating-stars .rating-star:has(~ .rating-star:hover) {
    color: #d5ac55;
}

.rating-summary {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.rating-star.user-selected {
    color: #b78324;
}

.your-rating {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

/* =========================================================
   RECIPE DETAIL
========================================================= */

.detail {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px;
    overflow: hidden;
    border: 1px solid rgba(8,35,21,.10);
    border-radius: 34px;
    background: radial-gradient(circle at 100% 0%, rgba(185,139,63,.11), transparent 26%), linear-gradient(145deg, rgba(255,255,255,.97), rgba(247,244,236,.95));
    box-shadow: var(--shadow-lg);
}

    .detail::before {
        content: "";
        position: absolute;
        right: -240px;
        top: -250px;
        width: 430px;
        height: 430px;
        border: 1px solid rgba(185,139,63,.12);
        border-radius: 50%;
        box-shadow: 0 0 0 48px rgba(71,124,86,.025), 0 0 0 49px rgba(71,124,86,.07);
        pointer-events: none;
    }

    .detail img {
        position: relative;
        width: 100%;
        max-height: 540px;
        margin-bottom: 31px;
        object-fit: cover;
        border-radius: 24px;
        box-shadow: 0 22px 52px rgba(7,27,16,.16);
    }

    .detail h2 {
        position: relative;
        margin-bottom: 13px;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: clamp(46px, 6vw, 68px);
        line-height: .96;
        font-weight: 700;
        letter-spacing: -1.8px;
        color: var(--forest-950);
    }

    .detail h3 {
        margin-top: 33px;
        margin-bottom: 13px;
        font-family: "Playfair Display", Georgia, serif;
        font-size: 22px;
        font-weight: 600;
        color: var(--forest-800);
    }

        .detail h3::after {
            content: "";
            display: block;
            width: 48px;
            height: 2px;
            margin-top: 9px;
            background: linear-gradient(90deg, var(--gold), transparent);
        }

    .detail p {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.85;
    }

.price-select,
.qty-input {
    height: 57px;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    color: var(--forest-900);
    font-size: 14px;
    font-weight: 600;
    outline: none;
    box-shadow: var(--shadow-xs);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.price-select {
    width: 100%;
    padding: 0 17px;
}

.qty-input {
    width: 120px;
    padding: 0 15px;
}

    .price-select:focus,
    .qty-input:focus {
        border-color: var(--green);
        box-shadow: 0 0 0 4px rgba(71,124,86,.09), var(--shadow-xs);
    }

.cart-btn,
.back-btn {
    min-height: 52px;
    margin-top: 14px;
    padding: 0 23px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .35px;
    cursor: pointer;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s ease;
}

.cart-btn {
    border: 0;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--forest-950);
    box-shadow: 0 10px 24px rgba(185,139,63,.22);
}

    .cart-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(185,139,63,.30);
    }

.back-btn {
    margin-left: 8px;
    border: 1px solid var(--border-strong);
    background: rgba(255,255,255,.62);
    color: var(--forest-900);
}

    .back-btn:hover {
        transform: translateY(-2px);
        background: rgba(13,40,24,.06);
    }

/* =========================================================
   CART PANEL
========================================================= */

.cart-panel {
    position: fixed;
    top: 0;
    right: -500px;
    z-index: 5000;
    width: min(475px, 100%);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255,255,255,.22);
    background: rgba(248,246,239,.97);
    box-shadow: -36px 0 100px rgba(3,18,10,.23);
    backdrop-filter: blur(22px);
    transition: right .42s var(--ease);
}

    .cart-panel.open {
        right: 0;
    }

.cart-header {
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
    overflow: hidden;
    background: radial-gradient(circle at 82% 20%, rgba(185,139,63,.18), transparent 32%), linear-gradient(145deg, var(--forest-700), var(--forest-1000));
    color: white;
}

    .cart-header::after {
        content: "";
        position: absolute;
        width: 170px;
        height: 170px;
        right: -85px;
        top: -90px;
        border: 1px solid rgba(255,255,255,.07);
        border-radius: 50%;
    }

    .cart-header h2 {
        position: relative;
        z-index: 2;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 34px;
        font-weight: 700;
    }

    .cart-header button {
        position: relative;
        z-index: 2;
        width: 44px;
        height: 44px;
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 13px;
        background: rgba(255,255,255,.08);
        color: white;
        font-size: 16px;
        cursor: pointer;
        transition: transform .2s ease, background .2s ease;
    }

        .cart-header button:hover {
            transform: rotate(4deg);
            background: rgba(255,255,255,.14);
        }

#cart {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: radial-gradient(circle at 100% 0%, rgba(185,139,63,.07), transparent 28%), linear-gradient(180deg, #fbfaf6, #f1ede4);
}

    #cart::-webkit-scrollbar {
        width: 8px;
    }

    #cart::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(13,40,24,.16);
    }

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.90);
    box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), border-color .2s ease;
}

    .cart-item:hover {
        transform: translateY(-2px);
        border-color: rgba(71,124,86,.16);
    }

.cart-info {
    flex: 1;
    min-width: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

    .cart-info strong {
        display: block;
        margin-bottom: 2px;
        font-family: "Playfair Display", Georgia, serif;
        font-size: 16px;
        color: var(--forest-900);
    }

    .cart-info small {
        color: var(--muted);
        font-size: 11px;
    }

.remove-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(173,73,66,.14);
    border-radius: 50%;
    background: rgba(173,73,66,.07);
    color: var(--danger);
    font-size: 0;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

    .remove-btn::before {
        content: "\f2ed";
        font-family: "Font Awesome 6 Free";
        font-size: 12px;
        font-weight: 900;
    }

    .remove-btn:hover {
        transform: rotate(5deg) scale(1.05);
        background: rgba(173,73,66,.11);
    }

.cart-footer {
    padding: 23px;
    border-top: 1px solid var(--border);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -12px 30px rgba(7,27,16,.05);
}

    .cart-footer h3 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        color: var(--forest-950);
        font-size: 15px;
    }

#cartTotal {
    color: var(--green);
    font-size: 27px;
    font-weight: 800;
}

.checkout-btn {
    position: relative;
    width: 100%;
    height: 58px;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--green), var(--forest-900));
    color: white;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .35px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(7,27,16,.20);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

    .checkout-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(7,27,16,.26);
    }

/* =========================================================
   FOOTER
========================================================= */

.footer {
    position: relative;
    overflow: hidden;
    padding: 72px 32px 28px;
    background: radial-gradient(circle at 82% 0%, rgba(185,139,63,.14), transparent 26%), radial-gradient(circle at 12% 100%, rgba(71,124,86,.16), transparent 29%), linear-gradient(145deg, #04140b, #0b2818 58%, #071c10);
    color: white;
}

    .footer::before {
        content: "AMAL'S KITCHEN";
        position: absolute;
        right: -20px;
        bottom: -18px;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: clamp(68px, 11vw, 150px);
        font-weight: 700;
        white-space: nowrap;
        color: rgba(255,255,255,.022);
        letter-spacing: -4px;
        pointer-events: none;
    }

    .footer::after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 210px;
        height: 2px;
        transform: translateX(-50%);
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }

.footer-content {
    position: relative;
    z-index: 2;
    width: min(100%, 1080px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 100px;
}

.footer h3 {
    margin-bottom: 15px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
}

.footer p {
    margin: 8px 0;
    color: rgba(255,255,255,.62);
    font-size: 12px;
    line-height: 1.75;
}

.social-links {
    display: flex;
    gap: 11px;
}

    .social-links a {
        width: 47px;
        height: 47px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,.11);
        border-radius: 14px;
        background: rgba(255,255,255,.055);
        color: white;
        font-size: 16px;
        text-decoration: none;
        box-shadow: inset 0 1px rgba(255,255,255,.04);
        transition: transform .22s var(--ease), background .22s ease, color .22s ease, border-color .22s ease;
    }

        .social-links a:hover {
            transform: translateY(-4px) rotate(-2deg);
            border-color: rgba(185,139,63,.35);
            background: var(--gold);
            color: var(--forest-950);
        }

.legal-links {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .legal-links a {
        color: rgba(255,255,255,.76);
        font-size: 12px;
        font-weight: 500;
        text-decoration: none;
        transition: color .2s ease;
    }

        .legal-links a:hover {
            color: #fff;
            text-decoration: underline;
        }

    .legal-links span {
        color: rgba(255,255,255,.28);
    }

.copyright {
    position: relative;
    z-index: 2;
    width: min(100%, 1080px);
    margin: 44px auto 0 !important;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    color: rgba(255,255,255,.36) !important;
    font-size: 10px !important;
    letter-spacing: .3px;
}

/* =========================================================
   ACCESSIBILITY / FOCUS
========================================================= */

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(185,139,63,.42);
    outline-offset: 3px;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroHalo {
    from {
        transform: translate(-50%, -50%) scale(.97) rotate(0deg);
        opacity: .76;
    }

    to {
        transform: translate(-50%, -50%) scale(1.035) rotate(3deg);
        opacity: 1;
    }
}

@keyframes arrowFloat {
    0%, 100% {
        transform: translateY(-1px);
    }

    50% {
        transform: translateY(4px);
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
    header h1 {
        font-size: 32px;
    }

    .brand span {
        font-size: 29px;
    }

    .container {
        width: calc(100% - 42px);
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-card:nth-child(3n + 2) {
        transform: none;
    }

    .category-card:nth-child(even) {
        transform: translateY(12px);
    }

        .category-card:nth-child(even):hover {
            transform: translateY(4px);
        }

    #recipes {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
    body {
        background: radial-gradient(circle at 100% 0%, rgba(71,124,86,.08), transparent 28%), linear-gradient(180deg, #fbfaf7, #f3efe6);
    }

    header {
        height: 84px;
        justify-content: space-between;
        padding: 0 15px;
    }

        header::after {
            width: 100px;
        }

        header h1 {
            display: none;
        }

    .brand {
        position: static;
        max-width: calc(100% - 70px);
        gap: 10px;
    }

        .brand img {
            width: 56px;
            height: 56px;
            flex-shrink: 0;
            border-radius: 15px;
        }

        .brand span {
            max-width: 210px;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 25px;
        }

            .brand span::before {
                display: none;
            }

            .brand span::after {
                width: 36px;
                bottom: -7px;
            }

    .cart-icon {
        position: relative;
        right: auto;
        width: 52px;
        height: 52px;
        flex-shrink: 0;
        border-radius: 16px;
        font-size: 20px;
    }

        .cart-icon span {
            top: -7px;
            right: -7px;
            min-width: 23px;
            height: 23px;
            border-width: 2px;
            font-size: 9px;
        }

    .welcome-hero {
        min-height: calc(100svh - 84px);
        padding: 58px 18px 52px;
    }

        .welcome-hero::before {
            width: 88vw;
            box-shadow: 0 0 0 30px rgba(255,255,255,.15), 0 0 0 31px rgba(71,124,86,.06), 0 0 0 72px rgba(255,255,255,.07), 0 0 0 73px rgba(185,139,63,.05);
        }

        .welcome-hero::after {
            right: -55px;
            bottom: -35px;
            font-size: 230px;
            letter-spacing: -15px;
        }

    .welcome-hero-content {
        padding: 20px 4px;
    }

        .welcome-hero-content::before,
        .welcome-hero-content::after {
            display: none;
        }

    .welcome-label {
        margin-bottom: 17px;
        padding: 8px 12px;
        font-size: 8px;
        letter-spacing: 2.6px;
    }

    .welcome-hero h1 {
        margin-bottom: 19px;
        font-size: clamp(53px, 16vw, 72px);
        line-height: .9;
        letter-spacing: -2.5px;
    }

    .welcome-hero p {
        max-width: 390px;
        margin-bottom: 28px;
        font-size: 14px;
        line-height: 1.75;
    }

    .welcome-menu-btn {
        width: 100%;
        max-width: 295px;
        min-height: 58px;
        font-size: 12px;
    }

    .welcome-info {
        width: 100%;
        margin-top: 38px;
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

        .welcome-info div {
            min-height: 58px;
            justify-content: flex-start;
            padding: 11px 14px;
            font-size: 11px;
        }

            .welcome-info div + div {
                border-left: 0;
                border-top: 1px solid rgba(8,35,21,.07);
            }

        .welcome-info i {
            width: 32px;
            height: 32px;
            border-radius: 10px;
        }

    .container {
        width: 100%;
        padding: 46px 15px 62px;
    }

    .category-heading {
        margin-bottom: 29px;
        padding: 0 4px;
    }

        .category-heading::before {
            margin-bottom: 14px;
        }

        .category-heading > span {
            font-size: 9px;
            letter-spacing: 2.2px;
        }

        .category-heading h2 {
            margin-bottom: 11px;
            font-size: 45px;
            line-height: .97;
        }

        .category-heading p {
            max-width: 350px;
            font-size: 14px;
            line-height: 1.7;
        }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .category-card,
    .category-card:nth-child(even),
    .category-card:nth-child(3n + 2) {
        min-height: 200px;
        padding: 22px;
        border-radius: 23px;
        transform: none;
    }

        .category-card:hover,
        .category-card:nth-child(even):hover,
        .category-card:nth-child(3n + 2):hover {
            transform: none;
        }

    .category-card-content {
        margin-top: 29px;
    }

        .category-card-content h3 {
            font-size: 34px;
        }

        .category-card-content::after {
            min-height: 41px;
            margin-top: 15px;
            padding: 0 15px;
            font-size: 9px;
        }

    .menu-toolbar {
        gap: 12px;
        margin-bottom: 18px;
        padding: 13px;
        border-radius: 17px;
    }

    .categories-back-btn {
        min-height: 47px;
        padding: 0 14px;
        border-radius: 12px;
        font-size: 10px;
    }

    .current-category span {
        font-size: 8px;
    }

    .current-category h2 {
        font-size: 31px;
    }

    .search-bar,
    .menu-section .search-bar {
        margin-bottom: 21px;
        padding: 6px;
        border-radius: 17px;
    }

        .search-bar::before {
            left: 23px;
            font-size: 14px;
        }

        .search-bar input {
            height: 55px;
            padding-left: 48px;
            border-radius: 12px;
            font-size: 16px;
        }

    #recipes {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .item {
        min-height: 176px;
        grid-template-columns: 125px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 10px 15px;
        padding: 12px;
        border-radius: 22px;
    }

        .item:hover {
            transform: none;
        }

    .food-img {
        width: 125px;
        height: 150px;
        grid-column: 1;
        grid-row: 1 / 3;
        border-radius: 18px;
    }

    .item > div {
        align-self: end;
    }

    .item h2 {
        margin-bottom: 8px;
        font-size: 26px;
        line-height: 1;
    }

    .item span {
        padding: 6px 9px;
        font-size: 8px;
    }

    .item > .view-btn,
    .item > .unavailable-view-btn {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        min-height: 47px;
        padding: 0 13px;
        font-size: 10px;
    }

    .detail {
        padding: 18px;
        border-radius: 24px;
        box-shadow: 0 18px 45px rgba(7,27,16,.12);
    }

        .detail img {
            max-height: 350px;
            margin-bottom: 23px;
            border-radius: 18px;
        }

        .detail h2 {
            font-size: 45px;
        }

        .detail p {
            font-size: 14px;
            line-height: 1.8;
        }

        .detail h3 {
            margin-top: 28px;
            font-size: 21px;
        }

    .price-select,
    .qty-input {
        width: 100%;
        height: 58px;
        border-radius: 13px;
        font-size: 16px;
    }

    .detail .cart-btn,
    .detail .back-btn {
        width: 100%;
        min-height: 56px;
        margin: 10px 0 0;
        padding: 0 16px;
        border-radius: 14px;
        font-size: 13px;
    }

    .cart-panel {
        width: 100%;
        right: -100%;
        height: 100dvh;
    }

    .cart-header {
        min-height: 86px;
        padding: 0 18px;
    }

        .cart-header h2 {
            font-size: 31px;
        }

        .cart-header button {
            width: 45px;
            height: 45px;
        }

    #cart {
        padding: 16px;
    }

    .cart-item {
        min-height: 92px;
        padding: 16px;
        border-radius: 16px;
    }

    .cart-info {
        font-size: 14px;
    }

        .cart-info strong {
            font-size: 17px;
        }

        .cart-info small {
            font-size: 12px;
        }

    .remove-btn {
        width: 42px;
        height: 42px;
    }

    .cart-footer {
        padding: 20px 17px calc(20px + env(safe-area-inset-bottom));
    }

        .cart-footer h3 {
            font-size: 16px;
        }

    #cartTotal {
        font-size: 27px;
    }

    .checkout-btn {
        height: 58px;
        font-size: 14px;
    }

    .footer {
        padding: 52px 20px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 34px;
        text-align: center;
    }

    .footer h3 {
        font-size: 29px;
    }

    .footer p {
        font-size: 13px;
    }

    .social-links,
    .legal-links {
        justify-content: center;
    }

    .social-links {
        gap: 12px;
    }

        .social-links a {
            width: 49px;
            height: 49px;
            font-size: 18px;
        }

    .copyright {
        margin-top: 32px !important;
        font-size: 10px !important;
    }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .brand img {
        width: 52px;
        height: 52px;
    }

    .brand span {
        max-width: 175px;
        font-size: 22px;
    }

    .cart-icon {
        width: 49px;
        height: 49px;
    }

    .welcome-hero {
        padding-left: 14px;
        padding-right: 14px;
    }

        .welcome-hero h1 {
            font-size: 51px;
            letter-spacing: -2px;
        }

        .welcome-hero p {
            font-size: 13px;
        }

    .category-heading h2 {
        font-size: 41px;
    }

    .category-card {
        min-height: 188px;
        padding: 20px;
    }

    .category-card-content h3 {
        font-size: 31px;
    }

    .item {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 9px 12px;
    }

    .food-img {
        width: 112px;
        height: 138px;
    }

    .item h2 {
        font-size: 23px;
    }

    .current-category h2 {
        font-size: 27px;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   CATEGORY CARD PICTURES
========================================================= */

.category-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s var(--ease), filter .55s ease;
}


.category-card.has-image {
    min-height: 270px;
    background: var(--forest-900);
    border-color: rgba(255, 255, 255, .08);
}


    /* Dark overlay */

    .category-card.has-image::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient( 180deg, rgba(5, 20, 11, .06) 0%, rgba(5, 20, 11, .18) 35%, rgba(5, 20, 11, .88) 100% );
        opacity: 1;
    }


    .category-card.has-image::after {
        display: none;
    }


    .category-card.has-image:hover
    .category-card-bg {
        transform: scale(1.07);
        filter: saturate(1.08) contrast(1.02);
    }


    /* Dish count */

    .category-card.has-image
    .category-card-number {
        position: relative;
        z-index: 2;
        border: 1px solid rgba(255, 255, 255, .22);
        background: rgba(7, 25, 14, .48);
        color: white;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }


    /* Category text */

    .category-card.has-image
    .category-card-content {
        position: relative;
        z-index: 2;
    }


        .category-card.has-image
        .category-card-content > span {
            color: var(--gold-light);
        }


        .category-card.has-image
        .category-card-content h3 {
            color: white;
            text-shadow: 0 3px 18px rgba(0, 0, 0, .32);
        }


        /* View Menu button */

        .category-card.has-image
        .category-card-content::after {
            border: 1px solid rgba(255, 255, 255, .22);
            background: rgba(255, 255, 255, .12);
            color: white;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }


    .category-card.has-image:hover
    .category-card-content::after {
        background: white;
        border-color: white;
        color: var(--forest-900);
    }


@media (max-width: 700px) {

    .category-card.has-image {
        min-height: 230px;
    }
}
