/* ============================================================
   Rafeef Yemen - brand stylesheet
   Reproduces the approved design: deep burgundy (#781a0e) and a
   16:9 photograph-led hero, gold accents, cream surfaces.
   Authored for Arabic RTL. Source file; the production bundle is
   generated by `php artisan rafeef:assets`.
   ============================================================ */

:root {
    /* Values sampled from brand/reference/website (1).jpeg */
    --ry-burgundy: #6b120c;
    --ry-burgundy-deep: #530d07;
    --ry-burgundy-dark: #3d0602;
    --ry-gold: #e0a24e;
    --ry-gold-soft: #f0cf8a;
    --ry-gold-deep: #b97f2a;
    --ry-cream: #f8f7f5;
    --ry-cream-dark: #f1eee9;
    --ry-ink: #2a1418;
    --ry-muted: #7a6a5f;
    --ry-green: #1f7a4d;
    --ry-red: #b3261e;
    --ry-radius: 16px;
    --ry-radius-sm: 10px;
    --ry-shadow: 0 14px 34px rgba(42, 20, 24, .10);
    --ry-shadow-lg: 0 24px 60px rgba(42, 20, 24, .22);
    --ry-border: #eadfcc;
    --ry-max: 1180px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: "Cairo", "Segoe UI", Tahoma, "Noto Naskh Arabic", sans-serif;
    font-size: 1rem;
    background: var(--ry-cream);
    color: var(--ry-ink);
    line-height: 1.75;
}

/* Heritage serif for display type (titles, hero, section headings). */
h1, h2, h3, .hero-title, .section-title, .page-hero h1, .brand-name {
    font-family: "Amiri", "Cairo", "Noto Naskh Arabic", serif;
    letter-spacing: 0;
}

a { color: var(--ry-burgundy); text-decoration: none; }
a:hover { color: var(--ry-gold-deep); }

img { max-width: 100%; display: block; }

.container { width: min(var(--ry-max), 92%); margin-inline: auto; }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--ry-burgundy-dark);
    color: var(--ry-cream);
    font-size: .84rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .35rem 0; }
.topbar a { color: var(--ry-gold-soft); }
.topbar-contact { display: flex; gap: 1rem; align-items: center; }
.topbar-hours { color: #d8c6ab; }
.topbar-locale { display: flex; gap: .45rem; align-items: center; }
.topbar-locale .is-active { color: #fff; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
    background: linear-gradient(180deg, var(--ry-burgundy) 0%, var(--ry-burgundy-deep) 100%);
    color: var(--ry-cream);
    box-shadow: var(--ry-shadow);
    position: sticky; top: 0; z-index: 40;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ry-cream); }
.brand:hover { color: var(--ry-cream); }
.brand-logo {
    width: 56px; height: 56px; border-radius: 14px;
    object-fit: cover; border: 2px solid var(--ry-gold);
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: .3px; }
.brand-tag { font-size: .72rem; color: var(--ry-gold-soft); }

.main-nav { display: flex; gap: 1.15rem; align-items: center; flex-wrap: wrap; }
.main-nav a { color: var(--ry-cream); font-weight: 600; padding: .35rem .15rem; position: relative; }
.main-nav a::after {
    content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
    background: var(--ry-gold); transform: scaleX(0); transition: transform .18s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--ry-gold); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav .nav-login { color: var(--ry-gold-soft); }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.cart-button { position: relative; font-size: 1.15rem; padding: .5rem .75rem; }
.cart-count {
    position: absolute; top: -6px; inset-inline-start: -6px;
    background: var(--ry-gold); color: var(--ry-burgundy-dark);
    border-radius: 999px; font-size: .7rem; font-weight: 800;
    min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 4px;
}

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    border: 0; border-radius: 999px; cursor: pointer; font-weight: 700;
    padding: .62rem 1.2rem; font-size: .95rem; font-family: inherit;
    transition: transform .1s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ry-burgundy); color: #fff; }
.btn-primary:hover { background: var(--ry-burgundy-deep); color: #fff; }
.btn-gold { background: var(--ry-gold); color: var(--ry-burgundy-dark); }
.btn-gold:hover { background: var(--ry-gold-soft); color: var(--ry-burgundy-dark); }
.btn-whatsapp {
    background: #1faa59; color: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
}
.btn-whatsapp:hover { background: #17864a; color: #fff; }
.btn-whatsapp .wa-icon { font-size: 1.15em; line-height: 1; }
.btn-whatsapp.is-loading { opacity: .65; pointer-events: none; }

.order-divider {
    display: flex; align-items: center; text-align: center;
    margin: 1rem 0 .8rem; color: var(--ry-muted); font-size: .82rem;
}
.order-divider::before, .order-divider::after {
    content: ""; flex: 1; height: 1px; background: var(--ry-border, #e6ddd3);
}
.order-divider span { padding: 0 .75rem; }
.hint.warn { color: #9a3412; }

/* ---------- Editorial page hero ---------- */
.page-hero {
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(224,162,78,.20), transparent 55%),
        linear-gradient(135deg, var(--ry-burgundy-dark), var(--ry-burgundy));
    color: var(--ry-cream);
    padding: 2.6rem 0;
}
.page-hero h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .3px; }
.page-hero-sub { margin: .35rem 0 0; color: #eadfce; opacity: .9; }

/* ---------- Editorial post cards ---------- */
.post-card {
    background: #fff; border: 1px solid var(--ry-border); border-radius: var(--ry-radius);
    padding: 1.4rem 1.3rem; transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--ry-shadow-lg); }
.post-link { display: block; color: var(--ry-ink); }
.post-link h2 { margin: .6rem 0 .4rem; font-size: 1.15rem; color: var(--ry-burgundy); }
.post-link p { color: var(--ry-muted); }
.post-rule { display: block; width: 44px; height: 3px; background: var(--ry-gold); border-radius: 2px; }

.empty-state { text-align: center; padding: 2.4rem 1rem; color: var(--ry-muted); }
.empty-mark { display: inline-block; font-size: 1.8rem; color: var(--ry-gold); margin-bottom: .4rem; }
.btn-cream { background: rgba(255,255,255,.94); color: var(--ry-burgundy); }
.btn-cream:hover { background: #fff; color: var(--ry-burgundy-deep); }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #188047; color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--ry-burgundy); color: var(--ry-burgundy); }
.btn-outline:hover { background: var(--ry-burgundy); color: #fff; }
.btn-outline-gold { background: transparent; border: 2px solid var(--ry-gold); color: var(--ry-gold); }
.btn-outline-gold:hover { background: var(--ry-gold); color: var(--ry-burgundy-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: var(--ry-cream); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-danger { background: var(--ry-red); color: #fff; }
.btn-sm { padding: .35rem .8rem; font-size: .82rem; }
.btn-lg { padding: .85rem 1.7rem; font-size: 1.03rem; }
.btn-block { width: 100%; }

/* ---------- Hero (16:9, photograph-led like the reference) ---------- */
.hero {
    position: relative; overflow: hidden;
    height: clamp(340px, 32vw, 500px);
    display: flex; align-items: center;
    background: linear-gradient(135deg, var(--ry-burgundy-dark), var(--ry-burgundy));
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Text sits on the inline-start edge, the photograph stays visible on the
   opposite side — so the gradient is darkest at the start edge. */
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(260deg,
        rgba(61,6,2,.97) 0%, rgba(61,6,2,.90) 26%,
        rgba(61,6,2,.45) 52%, rgba(61,6,2,.06) 100%);
}
[dir="ltr"] .hero-overlay {
    background: linear-gradient(100deg,
        rgba(61,6,2,.97) 0%, rgba(61,6,2,.90) 26%,
        rgba(61,6,2,.45) 52%, rgba(61,6,2,.06) 100%);
}
.hero-inner { position: relative; z-index: 2; }
[dir="rtl"] .hero-copy { margin-inline-end: auto; }
[dir="ltr"] .hero-copy { margin-inline-start: 0; }
.hero-copy { max-width: 620px; padding: 3rem 0; color: var(--ry-cream); }
.hero-kicker {
    display: inline-block; font-size: .78rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--ry-gold); border: 1px solid rgba(217,169,74,.5); border-radius: 999px;
    padding: .25rem .9rem; margin-bottom: 1rem;
}
.hero-title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); margin: 0 0 .3rem; color: #fff; line-height: 1.15; }
.hero-lead { margin: 0; color: var(--ry-gold-soft); font-weight: 700; font-size: 1.15rem; }
.hero-big { margin: .2rem 0 .8rem; color: #fff; font-weight: 800; font-size: clamp(1.4rem, 3.2vw, 2rem); }
.hero-body { color: rgba(255,255,255,.88); font-size: 1.05rem; margin: 0 0 1.6rem; max-width: 540px; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Hero slider ---------- */
/* Slides are stacked and cross-faded so the section keeps a single fixed
   height: no reflow, no layout shift when the image changes. */
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0;
    transition: opacity .7s ease;
}
.hero-slide.is-active { opacity: 1; }

.hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1;
    color: var(--ry-cream); background: rgba(61,6,2,.45);
    border: 1px solid rgba(217,169,74,.55);
    transition: background .2s ease, color .2s ease;
}
.hero-nav:hover, .hero-nav:focus-visible { background: var(--ry-gold); color: var(--ry-burgundy-deep); }
.hero-prev { inset-inline-start: 1rem; }
.hero-next { inset-inline-end: 1rem; }

.hero-dots {
    position: absolute; inset-inline: 0; bottom: 1rem; z-index: 3;
    display: flex; gap: .5rem; justify-content: center;
}
.hero-dot {
    width: 10px; height: 10px; padding: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.6);
    transition: background .2s ease, transform .2s ease;
}
.hero-dot.is-active { background: var(--ry-gold); transform: scale(1.25); }

@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
}

/* ---------- Feature strip ---------- */
.feature-strip { background: #fff; border-bottom: 1px solid var(--ry-border); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.6rem 0; }
.feature { text-align: center; padding: .6rem 1rem; }
.feature + .feature { border-inline-start: 1px solid var(--ry-border); }
.feature-icon {
    display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto .6rem;
    border-radius: 50%; background: var(--ry-cream-dark); font-size: 1.5rem;
}
.feature h3 { margin: 0 0 .2rem; font-size: 1rem; color: var(--ry-burgundy); }
.feature p { margin: 0; color: var(--ry-muted); font-size: .86rem; }

/* ---------- Sections ---------- */
.section { padding: 3.2rem 0; }
.section-cream { background: var(--ry-cream-dark); }
.section-dark { background: linear-gradient(180deg, var(--ry-burgundy-deep), var(--ry-burgundy-dark)); color: var(--ry-cream); }
.section-title { font-size: 1.75rem; color: var(--ry-burgundy); margin: 0 0 .3rem; }
.section-dark .section-title { color: #fff; }
.section-sub { color: var(--ry-muted); margin-bottom: 1.6rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.link-more { font-weight: 700; color: var(--ry-burgundy); white-space: nowrap; }
.link-more:hover { color: var(--ry-gold-deep); }

.grid { display: grid; gap: 1.3rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Category chips / tabs ---------- */
.chip-row, .menu-tabs { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.menu-tabs { margin-bottom: 2rem; }
.chip {
    display: inline-flex; align-items: center; gap: .4rem;
    background: #fff; border: 1px solid var(--ry-border); border-radius: 999px;
    padding: .5rem 1.1rem; font-weight: 700; color: var(--ry-burgundy); cursor: pointer;
    transition: all .15s ease;
}
.chip:hover { border-color: var(--ry-gold); }
.chip.is-active { background: var(--ry-burgundy); color: #fff; border-color: var(--ry-burgundy); }

/* ---------- Dish cards ---------- */
.dish-card {
    background: #fff; border: 1px solid var(--ry-border); border-radius: var(--ry-radius);
    overflow: hidden; box-shadow: var(--ry-shadow); display: flex; flex-direction: column;
    transition: transform .16s ease, box-shadow .16s ease;
}
.dish-card:hover { transform: translateY(-4px); box-shadow: var(--ry-shadow-lg); }
.dish-media { position: relative; display: block; aspect-ratio: 4/3; background: var(--ry-cream-dark); }
.dish-media img { width: 100%; height: 100%; object-fit: cover; }
.dish-placeholder {
    display: grid; place-items: center; height: 100%; padding: 1rem; text-align: center;
    color: var(--ry-burgundy); font-weight: 800; font-size: 1.05rem;
    background:
        radial-gradient(circle at 50% 38%, rgba(217,169,74,.30), transparent 60%),
        var(--ry-cream-dark);
}
.dish-placeholder.big { font-size: 1.4rem; min-height: 320px; }
.dish-card .badge, .dish-media .badge {
    position: absolute; top: .6rem; inset-inline-start: .6rem;
    background: var(--ry-gold); color: var(--ry-burgundy-dark);
    padding: .15rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 800;
}
.dish-body { padding: 1rem 1.05rem 1.15rem; flex: 1; display: flex; flex-direction: column; gap: .45rem; }
.dish-title { font-weight: 800; font-size: 1.08rem; margin: 0; color: var(--ry-ink); }
.dish-desc { color: var(--ry-muted); font-size: .87rem; margin: 0; flex: 1; }
.dish-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .3rem; }
.price { color: var(--ry-burgundy); font-weight: 800; font-size: 1.05rem; }
.price small { color: var(--ry-muted); font-weight: 600; font-size: .72rem; }
.price-lg { font-size: 1.3rem; }

/* ---------- Generic card (kept for admin/other) ---------- */
.card {
    background: #fff; border: 1px solid var(--ry-border); border-radius: var(--ry-radius);
    overflow: hidden; box-shadow: var(--ry-shadow); display: flex; flex-direction: column;
}
.card-media { aspect-ratio: 4/3; background: var(--ry-cream-dark); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.card-title { font-weight: 800; font-size: 1.05rem; margin: 0; color: var(--ry-ink); }
.card-desc { color: var(--ry-muted); font-size: .88rem; margin: 0; flex: 1; }

/* ---------- Page banner (menu / category) ---------- */
.page-banner {
    position: relative;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(224,162,78,.20), transparent 55%),
        linear-gradient(120deg, var(--ry-burgundy-dark), var(--ry-burgundy));
    color: var(--ry-cream); padding: 2.8rem 0 2.6rem; overflow: hidden;
}
.page-banner::after {
    content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px;
    background: linear-gradient(90deg, var(--ry-gold), var(--ry-gold-soft), var(--ry-gold));
}
.page-banner h1 { margin: 0 0 .25rem; color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.page-banner p { margin: 0; color: var(--ry-gold-soft); max-width: 640px; }

.menu-group { margin-bottom: 2.6rem; }
.menu-group-head { border-inline-start: 5px solid var(--ry-gold); padding-inline-start: .8rem; margin-bottom: 1.1rem; }
.menu-group-head h2 { margin: 0; color: var(--ry-burgundy); font-size: 1.4rem; }
.menu-group-head span { color: var(--ry-muted); font-size: .88rem; }

/* ---------- Product page ---------- */
.crumbs { display: flex; gap: .5rem; align-items: center; color: var(--ry-muted); font-size: .85rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.crumbs a { color: var(--ry-burgundy); }
/* ---------- Popular dishes: circular strip (matches reference) ---------- */
.dish-strip { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }
.dish-round { text-align: center; width: 180px; display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.dish-round-media {
    width: 150px; height: 150px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
    border: 3px solid var(--ry-gold); background: var(--ry-cream-dark);
    box-shadow: 0 12px 26px rgba(42,20,24,.16); transition: transform .25s ease, box-shadow .25s ease;
}
.dish-round:hover .dish-round-media { transform: translateY(-5px) scale(1.03); box-shadow: var(--ry-shadow-lg); }
.dish-round-media img { width: 100%; height: 100%; object-fit: cover; }
.dish-round-ph { color: var(--ry-burgundy); font-weight: 700; font-size: .9rem; padding: .5rem; }
.dish-round-title { font-size: 1rem; font-weight: 800; margin: .3rem 0 0; color: var(--ry-ink); }
.dish-round-price { color: var(--ry-burgundy); font-weight: 800; font-size: .92rem; }

.dish-hero { border-radius: var(--ry-radius); overflow: hidden; background: var(--ry-cream-dark); box-shadow: var(--ry-shadow); }
.dish-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.dish-info { padding: 1.3rem 0; }
.dish-info h1 { margin: 0 0 .2rem; color: var(--ry-burgundy); font-size: 1.9rem; }
.order-box { background: #fff; border: 1px solid var(--ry-border); border-radius: var(--ry-radius); box-shadow: var(--ry-shadow); overflow: hidden; }
.order-box-body { padding: 1.3rem; }
.order-box h2 { margin: 0 0 1rem; color: var(--ry-burgundy); font-size: 1.25rem; }

/* ---------- Visit / branches band ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.visit-media { border-radius: var(--ry-radius); overflow: hidden; box-shadow: var(--ry-shadow-lg); aspect-ratio: 4/3; }
.visit-media img { width: 100%; height: 100%; object-fit: cover; }
.visit-placeholder { display: grid; place-items: center; height: 100%; color: var(--ry-gold); font-weight: 800; font-size: 1.4rem; background: rgba(255,255,255,.06); }
.visit-copy p { color: rgba(255,255,255,.85); margin-bottom: 1.2rem; }
.visit-copy .btn { margin-inline-end: .5rem; }

/* ---------- Promotions ---------- */
.promo-card {
    background: linear-gradient(140deg, #fff, var(--ry-cream-dark));
    border: 1px solid var(--ry-gold); border-radius: var(--ry-radius);
    padding: 1.4rem; box-shadow: var(--ry-shadow);
}
.promo-card h3 { margin: 0 0 .4rem; color: var(--ry-burgundy); }
.promo-card p { color: var(--ry-muted); }

/* ---------- Forms ---------- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .3rem; font-size: .9rem; }
.field input, .field select, .field textarea {
    width: 100%; padding: .7rem .8rem; border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius-sm); font-family: inherit; font-size: .95rem; background: #fff; color: var(--ry-ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 2px solid var(--ry-gold); border-color: var(--ry-gold);
}
.field-error { color: var(--ry-red); font-size: .82rem; margin-top: .25rem; }
.hint { color: var(--ry-muted); font-size: .82rem; }

.alert { padding: .8rem 1rem; border-radius: var(--ry-radius-sm); margin-bottom: 1rem; font-weight: 600; }
.alert-success { background: #e7f5ec; color: var(--ry-green); border: 1px solid #bfe3cd; }
.alert-error { background: #fdecea; color: var(--ry-red); border: 1px solid #f5c6c2; }
.alert-info { background: var(--ry-cream-dark); color: var(--ry-ink); border: 1px solid var(--ry-border); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--ry-border); border-radius: var(--ry-radius); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; }
table.data th, table.data td { padding: .7rem .8rem; text-align: start; border-bottom: 1px solid var(--ry-border); font-size: .9rem; }
table.data thead th { background: var(--ry-cream-dark); font-weight: 800; color: var(--ry-burgundy); }
table.data tbody tr:hover { background: #fdfaf4; }

.badge-status { padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.status-pending { background: #fdf0d5; color: #8a6300; }
.status-confirmed { background: #e0eefd; color: #1c5aa8; }
.status-preparing { background: #fde8d5; color: #a85a1c; }
.status-ready { background: #e7f5ec; color: var(--ry-green); }
.status-completed { background: #e8e8e8; color: #555; }
.status-cancelled { background: #fdecea; color: var(--ry-red); }
.status-paid { background: #e7f5ec; color: var(--ry-green); }
.status-unpaid { background: #fdecea; color: var(--ry-red); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--ry-burgundy-dark), var(--ry-burgundy)); color: #fff; padding: 2rem 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h3 { margin: 0 0 .2rem; color: #fff; }
.cta-band p { margin: 0; color: var(--ry-gold-soft); }
.cta-band-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ry-burgundy-dark); color: var(--ry-cream-dark); padding: 2.8rem 0 1.2rem; }
.site-footer a { color: var(--ry-gold-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 2rem; }
.footer-logo { border-radius: 14px; border: 2px solid var(--ry-gold); margin-bottom: .7rem; }
.footer-title { color: var(--ry-gold); margin: 0 0 .4rem; }
.footer-grid h4 { color: var(--ry-gold); margin: 0 0 .7rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.6rem; padding-top: 1rem; font-size: .82rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Cart / checkout ---------- */
.split { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; align-items: start; }
.sticky { position: sticky; top: 96px; }
.line-item { display: flex; gap: 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--ry-border); }
.line-item .thumb { width: 64px; height: 64px; border-radius: var(--ry-radius-sm); background: var(--ry-cream-dark); overflow: hidden; flex: none; }
.qty-form { display: flex; gap: .3rem; align-items: center; }
.qty-form input { width: 64px; padding: .35rem; }
.totals-row { display: flex; justify-content: space-between; padding: .3rem 0; }
.totals-row.grand { font-weight: 800; font-size: 1.2rem; color: var(--ry-burgundy); border-top: 2px solid var(--ry-border); margin-top: .5rem; padding-top: .6rem; }

/* ---------- Auth ---------- */
.auth-card { max-width: 420px; margin: 3rem auto; background: #fff; border: 1px solid var(--ry-border); border-radius: var(--ry-radius); padding: 2rem; box-shadow: var(--ry-shadow); }
.auth-card h1 { margin-top: 0; color: var(--ry-burgundy); }

/* ---------- Admin layout ---------- */
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: var(--ry-burgundy-dark); color: var(--ry-cream); padding: 1.2rem 0; }
.admin-side .brand { padding: 0 1.2rem 1rem; }
.admin-side .brand-logo { width: 44px; height: 44px; }
.admin-side nav { display: flex; flex-direction: column; }
.admin-side nav a { color: var(--ry-cream-dark); padding: .6rem 1.2rem; font-weight: 600; border-inline-start: 3px solid transparent; }
.admin-side nav a:hover, .admin-side nav a.active { background: rgba(255,255,255,.08); color: #fff; border-inline-start-color: var(--ry-gold); }
.admin-side .group-label { color: var(--ry-gold); padding: .8rem 1.2rem .2rem; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; }
.admin-main { padding: 1.5rem; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: #fff; border: 1px solid var(--ry-border); border-radius: var(--ry-radius); padding: 1rem; }
.stat .label { color: var(--ry-muted); font-size: .82rem; }
.stat .value { font-size: 1.5rem; font-weight: 800; color: var(--ry-burgundy); }

/* ---------- POS ---------- */
.pos-shell { display: grid; grid-template-columns: 1fr 360px; min-height: 100vh; background: var(--ry-cream); }
.pos-side { background: var(--ry-burgundy-dark); color: var(--ry-cream); padding: 1rem; }
.pos-side.collapsed { width: 64px; overflow: hidden; }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; padding: 1rem; }
.pos-tile { background: #fff; border: 1px solid var(--ry-border); border-radius: 12px; padding: .8rem; cursor: pointer; text-align: center; font-weight: 700; }
.pos-tile:hover { border-color: var(--ry-gold); box-shadow: var(--ry-shadow); }
.pos-cart { background: #fff; border-inline-start: 1px solid var(--ry-border); display: flex; flex-direction: column; }
.pos-cart-items { flex: 1; overflow-y: auto; padding: 1rem; }
.pos-total { padding: 1rem; border-top: 2px solid var(--ry-border); }

/* ---------- Kitchen ---------- */
.kitchen-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; padding: 1rem; }
.ticket { background: #fff; border: 1px solid var(--ry-border); border-radius: 12px; padding: 1rem; border-top: 5px solid var(--ry-gold); }
.ticket.preparing { border-top-color: #d97706; }
.ticket.ready { border-top-color: var(--ry-green); }
.ticket h3 { margin: 0 0 .3rem; color: var(--ry-burgundy); }
.ticket ul { margin: .5rem 0; padding-inline-start: 1.2rem; }

/* ---------- Receipt ---------- */
.receipt { max-width: 320px; margin: 0 auto; font-family: "Courier New", monospace; color: #000; background: #fff; padding: 1rem; }
.receipt h2 { text-align: center; margin: 0 0 .3rem; }
.receipt .center { text-align: center; }
.receipt .row { display: flex; justify-content: space-between; }

/* ---------- Misc ---------- */
.pagination { display: flex; gap: .3rem; list-style: none; padding: 0; margin: 1.5rem 0; flex-wrap: wrap; }
.pagination a, .pagination span { padding: .4rem .8rem; border: 1px solid var(--ry-border); border-radius: 8px; background: #fff; }
.pagination .active span { background: var(--ry-burgundy); color: #fff; border-color: var(--ry-burgundy); }

.muted { color: var(--ry-muted); }
.center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; }
.flex { display: flex; gap: .6rem; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .sticky { position: static; }
    .visit-grid { grid-template-columns: 1fr; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pos-shell { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .feature:nth-child(odd) { border-inline-start: 0; }
}
@media (max-width: 720px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .main-nav {
        display: none; position: absolute; inset-inline: 0; top: 100%;
        background: var(--ry-burgundy-deep); flex-direction: column; gap: 0;
        padding: .5rem 0; box-shadow: var(--ry-shadow);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: .8rem 1.4rem; width: 100%; }
    .site-header .container { flex-wrap: wrap; position: relative; }
    .nav-toggle { display: inline-flex; }
    .header-actions .btn-gold { display: none; }
    .hero { aspect-ratio: auto; min-height: 0; max-height: none; }
    .hero-copy { padding: 2.4rem 0; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature + .feature { border-inline-start: 0; border-top: 1px solid var(--ry-border); }
    body { padding-bottom: 4.4rem; }
    .mobile-bar {
        display: grid; grid-template-columns: repeat(5, 1fr);
        position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
        background: var(--ry-burgundy-dark); color: var(--ry-cream);
        border-top: 1px solid rgba(255,255,255,.12);
        padding: .35rem 0 calc(.35rem + env(safe-area-inset-bottom));
    }
    .mobile-bar a {
        display: flex; flex-direction: column; align-items: center; gap: .1rem;
        color: var(--ry-cream-dark); font-size: .68rem; font-weight: 600; padding: .3rem 0;
    }
    .mobile-bar a span { font-size: 1.15rem; }
    .mobile-bar a.active { color: var(--ry-gold); }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-band-inner { flex-direction: column; text-align: center; }
}

/* Touch-friendly targets on small screens */
@media (max-width: 720px) {
    .btn { min-height: 44px; }
    .field input, .field select { min-height: 46px; }
}

/* ---------- Official printed menu poster ---------- */
.official-menu {
    margin: 0 auto;
    max-width: 760px;
    background: #fff;
    border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius);
    box-shadow: var(--ry-shadow);
    padding: .6rem;
}
.official-menu img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--ry-radius) - 4px);
}

/* ---------- Admin catalogue table ---------- */
table.data .thumb {
    width: 56px; height: 56px; object-fit: cover;
    border-radius: var(--ry-radius-sm); background: var(--ry-cream-dark);
    display: block;
}
table.data .thumb-empty {
    display: flex; align-items: center; justify-content: center;
    color: var(--ry-muted); font-weight: 800;
}
table.data tr.is-archived { background: #faf7f2; opacity: .72; }
.tag {
    display: inline-block; margin-inline-start: .35rem; padding: .1rem .45rem;
    border-radius: 999px; font-size: .7rem; font-weight: 800; vertical-align: middle;
}
.tag-demo { background: var(--ry-cream-dark); color: var(--ry-gold-deep); border: 1px solid var(--ry-border); }
.tag-archived { background: #efe7dd; color: var(--ry-muted); }
.pill { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.pill-ok { background: #e3f3ea; color: var(--ry-green); }
.pill-off { background: #f0e3e2; color: var(--ry-red); }
.pill-muted { background: #efe7dd; color: var(--ry-muted); }

