@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #080b09;
    --panel: #101512;
    --panel-2: #151c17;
    --green: #6cf28a;
    --green-dark: #2cc75a;
    --text: #f5fff7;
    --muted: #9ba69e;
    --line: #243029;
    --header-height: 72px;
    --shadow: 0 22px 60px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 142px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Cairo, system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
.hidden { display: none !important; }

.site-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 70;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px max(18px, 5vw);
    background: rgba(8, 11, 9, .91);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(108, 242, 138, .12);
}
.brand { font-size: 25px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }
.brand span, .site-footer span { color: var(--green); }
.desktop-nav { display: flex; align-items: center; gap: 24px; flex: 1; color: #d7e2d9; }
.desktop-nav a:hover { color: var(--green); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 6px; direction: ltr; }
.langs a { min-width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; font-size: 12px; color: var(--muted); }
.langs a.active { color: #071008; background: var(--green); border-color: var(--green); font-weight: 800; }
.header-cart, .floating-cart { position: relative; align-items: center; justify-content: center; background: var(--green); color: #071008; }
.header-cart { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; }
.header-cart svg, .floating-cart svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; inset-block-start: -5px; inset-inline-end: -5px; min-width: 21px; height: 21px; padding-inline: 5px; display: grid; place-items: center; border-radius: 99px; background: #fff; color: #071008; font-size: 11px; line-height: 1; }
.floating-cart { display: none; position: fixed; z-index: 91; inset-inline-end: 18px; inset-block-end: 88px; width: 57px; height: 57px; border-radius: 50%; box-shadow: var(--shadow); }

.hero-slider { position: relative; width: 100%; min-height: min(650px, 72vh); overflow: hidden; background: #0c120e; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-media { position: absolute; inset: 0; background: radial-gradient(circle at 72% 45%, rgba(43, 207, 91, .32), transparent 38%), linear-gradient(115deg, #090d0a 20%, #102016 100%); background-size: cover; background-position: center; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 9, 7, .94) 0%, rgba(6, 9, 7, .72) 46%, rgba(6, 9, 7, .18) 100%); }
[dir="rtl"] .hero-overlay { background: linear-gradient(270deg, rgba(6, 9, 7, .94) 0%, rgba(6, 9, 7, .72) 46%, rgba(6, 9, 7, .18) 100%); }
.hero-content { position: relative; z-index: 2; width: min(760px, 88vw); min-height: min(650px, 72vh); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 64px max(20px, 8vw); }
.eyebrow { color: var(--green); letter-spacing: 3px; font-size: 13px; font-weight: 700; }
.hero-content h1 { margin: 15px 0 14px; max-width: 720px; font-size: clamp(45px, 6.4vw, 86px); line-height: 1.05; letter-spacing: -.035em; }
.hero-content p { max-width: 640px; margin: 0; color: #bdc8c0; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 14px; background: var(--green); color: #061007; padding: 13px 20px; font-weight: 800; cursor: pointer; transition: transform .2s ease, opacity .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.btn.ghost { color: var(--text); background: rgba(8, 12, 9, .45); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); }
.hero-dots { position: absolute; z-index: 4; inset-inline-start: 50%; transform: translateX(-50%); inset-block-end: 20px; display: flex; gap: 7px; direction: ltr; }
.hero-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .38); transition: width .25s ease, background .25s ease; }
.hero-dot.active { width: 28px; background: var(--green); }

.goal-strip { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; padding: 17px max(18px, 5vw) 5px; }
.goal-strip::-webkit-scrollbar, .category-scroll::-webkit-scrollbar { display: none; }
.goal-strip button, .category-scroll a { flex: 0 0 auto; white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); color: #dce6de; padding: 9px 14px; cursor: pointer; }
.goal-strip button.active, .category-scroll a.active { background: var(--green); color: #071008; border-color: var(--green); font-weight: 800; }

.menu-section { padding: 14px max(18px, 5vw) 76px; }
.category-scroll { position: sticky; z-index: 45; inset-block-start: var(--header-height); display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(max(18px, 5vw) * -1); padding: 13px max(18px, 5vw); background: rgba(8, 11, 9, .94); border-bottom: 1px solid rgba(108, 242, 138, .1); backdrop-filter: blur(14px); }
.menu-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; max-width: 920px; margin: 22px auto 14px; }
.search-wrap { position: relative; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 14px; background: #0c110e; padding-inline: 14px; }
.search-wrap > span { color: var(--green); font-size: 24px; }
#search { width: 100%; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; color: var(--text); }
.search-results { position: absolute; z-index: 62; inset-inline: 0; inset-block-start: calc(100% + 7px); overflow: hidden; border-radius: 14px; background: var(--panel-2); box-shadow: var(--shadow); }
.search-hit { display: flex; justify-content: space-between; gap: 15px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.search-hit:hover { background: #1a231c; }
.search-hit span { color: var(--green); }
.filter-toggle { min-width: 118px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); cursor: pointer; padding: 0 16px; }
.filter-panel { max-width: 920px; margin: 0 auto 19px; padding: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.filter-panel[hidden] { display: none; }
.filter-panel label { display: inline-flex; align-items: center; gap: 7px; color: #d5dfd7; }
.filter-panel input { accent-color: var(--green-dark); }
.link-btn { border: 0; background: none; color: var(--green); cursor: pointer; padding: 7px 0; }

.meal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1380px; margin: 0 auto; }
.meal-card, .offer-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); transition: transform .2s ease, border-color .2s ease; }
.meal-card:hover { transform: translateY(-3px); border-color: rgba(108, 242, 138, .35); }
.meal-image { position: relative; height: 220px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 35%, #1c2c21, #0d120f 70%); }
.meal-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.meal-card:hover .meal-image img { transform: scale(1.035); }
.meal-placeholder { color: #d9e5dc; letter-spacing: 1px; font-size: 17px; font-weight: 800; }
.meal-placeholder b { color: var(--green); }
.meal-image i { position: absolute; inset-block-start: 11px; inset-inline-end: 11px; padding: 5px 9px; border-radius: 99px; background: var(--green); color: #071008; font-size: 11px; font-style: normal; font-weight: 800; }
.meal-body { padding: 16px; }
.meal-body small { color: var(--green); }
.meal-body h3 { margin: 5px 0 7px; font-size: 19px; }
.meal-body p { min-height: 45px; margin: 0 0 10px; color: var(--muted); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.facts { min-height: 29px; display: flex; gap: 6px; flex-wrap: wrap; }
.facts span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: #0b0f0c; color: #cbd6ce; font-size: 11px; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0; }
.price-row b { font-size: 21px; }
.price-row a { color: var(--muted); font-size: 13px; }
.meal-actions { display: grid; grid-template-columns: 1fr 45px; gap: 8px; }
.meal-actions .btn { width: 100%; padding: 10px 12px; border-radius: 11px; }
.fav { border: 1px solid var(--line); border-radius: 11px; background: #0b0f0c; color: var(--text); font-size: 22px; cursor: pointer; }
.empty { max-width: 920px; margin: 0 auto; padding: 38px; text-align: center; border-radius: 18px; background: var(--panel); color: var(--muted); }

.offers, .page { padding: 45px max(18px, 6vw) 80px; }
.offers h2 { max-width: 1380px; margin: 0 auto 18px; }
.offer-strip { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.offer-card { padding: 20px; }
.offer-card p { color: var(--muted); }
.offer-card b { color: var(--green); font-size: 22px; }

.modal { position: fixed; z-index: 120; inset: 0; display: none; place-items: center; padding: 18px; background: rgba(0, 0, 0, .76); backdrop-filter: blur(8px); }
.modal.open { display: grid; }
.combo-modal { position: relative; width: min(620px, 100%); max-height: min(760px, 92vh); overflow-y: auto; border: 1px solid var(--line); border-radius: 24px; background: #0e1410; padding: 28px; box-shadow: var(--shadow); }
.combo-modal h2 { margin: 6px 0 20px; font-size: 30px; }
.modal-close { position: absolute; inset-block-start: 12px; inset-inline-end: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #1b231d; cursor: pointer; font-size: 25px; }
.combo-slots { display: grid; gap: 10px; }
.combo-slot { display: grid; gap: 7px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #111813; }
.combo-slot span { color: var(--green); font-size: 12px; font-weight: 700; }
.combo-slot select { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-weight: 700; }
.combo-slot option { background: #101512; color: #fff; }
.empty-slot b { color: var(--muted); }
.combo-footer { margin-top: 16px; }
.combo-footer p { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 15px; }
.combo-footer b { color: var(--green); font-size: 22px; }
.combo-footer .btn { width: 100%; }

.contact-fab { position: fixed; z-index: 92; inset-inline-end: 18px; inset-block-end: 20px; width: 57px; height: 57px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #111813; color: var(--green); box-shadow: var(--shadow); border: 1px solid rgba(108, 242, 138, .35); cursor: pointer; }
.contact-fab span { width: 25px; height: 25px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-weight: 800; }
.contact-sheet { position: fixed; z-index: 110; inset-inline-end: 18px; inset-block-end: 87px; width: min(370px, calc(100vw - 36px)); border: 1px solid var(--line); border-radius: 22px; background: #0e1410; padding: 18px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .2s ease, transform .2s ease; }
.contact-sheet.open { opacity: 1; transform: none; }
.contact-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.contact-sheet-head strong { font-size: 19px; }
.contact-sheet-head button { border: 0; background: none; font-size: 24px; cursor: pointer; }
.contact-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.contact-actions a { min-height: 86px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 13px; text-align: center; font-size: 12px; }
.contact-actions a:hover { border-color: var(--green); }
.contact-actions span { font-size: 22px; color: var(--green); }
.working-hours { margin-top: 12px; padding: 12px; border-radius: 13px; background: var(--panel); }
.working-hours b { color: var(--green); }
.working-hours p { margin: 6px 0 0; color: #c7d1c9; line-height: 1.8; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social-links a { flex: 1; min-width: 88px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; text-align: center; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 32px max(18px, 6vw); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer strong { color: var(--text); font-size: 19px; }
.site-footer p { margin: 5px 0; }
.toast { position: fixed; z-index: 150; inset-inline-start: 20px; inset-block-end: 20px; padding: 12px 18px; border-radius: 12px; background: var(--green); color: #071008; font-weight: 700; transform: translateY(90px); opacity: 0; transition: .25s; }
.toast.show { transform: none; opacity: 1; }

/* Shared inner pages */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; padding: 55px max(18px, 7vw); }
.detail-image { min-height: 480px; border-radius: 24px; display: grid; place-items: center; overflow: hidden; background: var(--panel); color: var(--green); font-size: 32px; }
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.nutrition, .builder-total { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0; }
.nutrition div, .builder-total div { padding: 14px; text-align: center; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.nutrition span, .builder-total span { display: block; color: var(--muted); font-size: 12px; }
.warning, .alert { margin: 18px 0; padding: 14px; border: 1px solid #75622f; border-radius: 13px; background: #2a2312; }
.detail textarea, .checkout textarea, .checkout input, .checkout select, .page input, .page textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); color: #fff; }
.detail-price { margin: 18px 0; font-size: 29px; font-weight: 800; }
.meal-options { display: grid; gap: 8px; margin: 15px 0; padding: 16px; border-radius: 14px; background: var(--panel); }
.cart-list { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 18px; border-radius: 15px; background: var(--panel); }
.qty { display: flex; align-items: center; gap: 12px; }
.qty button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); }
.summary { max-width: 520px; margin: 28px 0 0 auto; padding: 20px; border-radius: 17px; background: var(--panel); }
.summary p { display: flex; justify-content: space-between; }
.summary .total { padding-top: 14px; border-top: 1px solid var(--line); font-size: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid label { display: grid; gap: 6px; }
.wide { grid-column: 1/-1; }
.terms { display: block; margin: 18px 0; }
.success { padding: 90px 20px; text-align: center; }
.check { width: 78px; height: 78px; margin: auto; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #071008; font-size: 43px; }
.builder { display: grid; gap: 17px; }
.build-group { padding: 18px; border-radius: 17px; background: var(--panel); }
.build-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.build-option { padding: 11px; border: 1px solid var(--line); border-radius: 11px; }

@media (max-width: 980px) {
    .meal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .offer-strip { grid-template-columns: repeat(2, 1fr); }
    .detail { grid-template-columns: 1fr; }
    .desktop-nav { display: none; }
}

@media (max-width: 640px) {
    :root { --header-height: 63px; }
    html { scroll-padding-top: 122px; }
    .site-header { min-height: var(--header-height); padding: 10px 14px; gap: 10px; }
    .brand { font-size: 20px; }
    .header-actions { gap: 8px; }
    .langs a { min-width: 30px; height: 30px; font-size: 10px; }
    .header-cart { display: none; }
    .floating-cart { display: flex; }
    .hero-slider, .hero-content { min-height: 465px; }
    .hero-content { width: 100%; padding: 50px 20px 58px; justify-content: flex-end; }
    .hero-overlay, [dir="rtl"] .hero-overlay { background: linear-gradient(0deg, rgba(5, 8, 6, .97) 4%, rgba(5, 8, 6, .58) 62%, rgba(5, 8, 6, .23) 100%); }
    .hero-content h1 { max-width: 94%; font-size: clamp(38px, 12vw, 54px); }
    .hero-content p { font-size: 15px; line-height: 1.75; }
    .hero-actions { width: 100%; gap: 9px; }
    .hero-actions .btn { flex: 1; padding-inline: 10px; }
    .goal-strip { padding: 13px 14px 2px; }
    .goal-strip button, .category-scroll a { padding: 8px 12px; font-size: 12px; }
    .menu-section { padding: 10px 10px 70px; }
    .category-scroll { margin-inline: -10px; padding: 10px; }
    .menu-tools { grid-template-columns: 1fr auto; margin: 15px 0 11px; }
    .filter-toggle { min-width: 51px; width: 51px; padding: 0; font-size: 0; }
    .filter-toggle span { font-size: 21px; }
    .filter-panel { margin-bottom: 12px; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 12px; }
    .meal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .meal-card { border-radius: 15px; }
    .meal-image { height: 126px; }
    .meal-image i { inset-block-start: 7px; inset-inline-end: 7px; padding: 4px 6px; font-size: 9px; }
    .meal-placeholder { font-size: 13px; }
    .meal-body { padding: 11px; }
    .meal-body small { font-size: 9px; }
    .meal-body h3 { min-height: 42px; margin: 3px 0 5px; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .meal-body p, .facts { display: none; }
    .price-row { margin: 8px 0; align-items: flex-end; }
    .price-row b { font-size: 15px; }
    .price-row a { font-size: 10px; }
    .meal-actions { grid-template-columns: 1fr 35px; gap: 5px; }
    .meal-actions .btn { min-height: 38px; padding: 7px 5px; font-size: 11px; }
    .fav { font-size: 18px; }
    .offer-strip { display: flex; overflow-x: auto; }
    .offer-card { min-width: 260px; }
    .offers, .page { padding: 35px 14px 70px; }
    .contact-sheet { inset-inline: 10px; width: auto; inset-block-end: 84px; }
    .contact-actions a { min-height: 78px; }
    .combo-modal { padding: 22px 16px; }
    .site-footer { display: block; padding: 25px 16px 90px; }
    .toast { inset-inline: 12px; inset-block-end: 15px; text-align: center; }
    .form-grid { grid-template-columns: 1fr; }
    .wide { grid-column: auto; }
    .nutrition, .builder-total, .build-options { grid-template-columns: repeat(2, 1fr); }
    .cart-item { grid-template-columns: 1fr; }
    .detail { padding: 30px 14px 80px; }
    .detail-image { min-height: 330px; }
}
