@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@400;600;700&family=Cairo:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#172638;background:#f4f7fa;--nav:#0d263b;--accent:#11a68b;--soft:#eef8f5;--stroke:#dce5ed;--text:#172638;--muted:#64788a;--shadow:0 15px 45px rgba(15,39,61,.07)}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}input,select,textarea{border:1px solid #ccd8e2;border-radius:11px;background:white;color:#142e43;padding:11px 12px;width:100%;outline:0}input:focus,select:focus,textarea:focus{border-color:#27a78e;box-shadow:0 0 0 3px rgba(21,174,144,.12)}textarea{min-height:85px;resize:vertical}label{display:block;font-size:12px;font-weight:700;color:#63798d;margin:5px 0 6px}small,.small{font-size:12px;color:#728599}.mono{font-family:ui-monospace,Consolas,monospace}h1,h2,h3,p{margin-top:0}p{line-height:1.6}h1{font-size:clamp(27px,3vw,42px);letter-spacing:-1.5px}h2{font-size:25px;letter-spacing:-.8px}h3{font-size:18px}hr{border:0;border-top:1px solid var(--stroke);margin:22px 0}.muted{color:var(--muted)}.eyebrow{font-weight:800;font-size:11px;letter-spacing:2px;color:var(--accent);text-transform:uppercase}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:12px;padding:11px 16px;border:1px solid transparent;background:#e8eff3;color:#17364b;font-weight:800;min-height:42px;text-decoration:none}.btn:hover{text-decoration:none;filter:brightness(.97);transform:translateY(-1px)}.btn-primary{background:#11a68b;color:#fff}.btn-dark{background:#0e293d;color:white}.btn-outline{border-color:#cfdae3;background:white;color:#163345}.btn-danger{background:#fff3f0;color:#bd392b;border-color:#ffd9d2}.btn-small{padding:7px 10px;min-height:34px;border-radius:9px;font-size:12px}.btn:disabled{opacity:.4;cursor:not-allowed;transform:none}.badge{font-size:11px;font-weight:800;padding:6px 9px;border-radius:20px;background:#e6eef3;color:#597188;white-space:nowrap}.badge.green{background:#ddf8ec;color:#077b59}.badge.gold{background:#fff1d1;color:#987012}.badge.red{background:#ffe5e0;color:#b84334}
.app-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{background:#0b273b;color:#e8f4f9;padding:28px 18px;display:flex;flex-direction:column;gap:24px}.sidebar .brand{padding:0 10px}.brand{display:flex;align-items:center;gap:11px;font-weight:900;font-size:17px;letter-spacing:-.5px}.brandmark{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#13a98d;color:white;font-size:19px;font-weight:900;box-shadow:0 7px 22px #13a98d44}.subbrand{font-size:11px;font-weight:600;color:#8caebe;margin:5px 0 0 53px}.nav-group{display:flex;flex-direction:column;gap:5px}.nav-item{border:0;background:transparent;color:#abc1cc;border-radius:10px;padding:12px 15px;text-align:left;display:flex;align-items:center;gap:13px;font-size:13px;font-weight:700;width:100%}.nav-item:hover,.nav-item.active{background:#183e52;color:#fff}.nav-item.active:before{content:"";display:block;width:4px;height:17px;border-radius:3px;background:#24c9a6;margin-left:-6px;margin-right:2px}.side-spacer{flex:1}.sidebar-footer{border-top:1px solid #315064;padding:19px 9px 0;font-size:12px;color:#87aab7}.workspace{min-width:0}.topbar{background:#fff;border-bottom:1px solid #e1e9ee;height:77px;padding:0 clamp(20px,3vw,52px);display:flex;align-items:center;justify-content:space-between;gap:15px;position:sticky;top:0;z-index:5}.top-title{font-weight:900;letter-spacing:-.5px}.top-subtitle{font-size:12px;color:#8193a1;margin-top:3px}.content{padding:34px clamp(18px,3vw,52px) 70px;max-width:1480px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:24px;flex-wrap:wrap}.page-head h1{margin-bottom:5px}.page-head p{margin:0;color:#718699}.card{background:#fff;border-radius:19px;border:1px solid #e3eaf0;box-shadow:var(--shadow);padding:23px}.card.flat{box-shadow:none}.card + .card{margin-top:18px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid #e2ebf1;border-radius:18px;padding:22px}.stat-card .stat-num{font-size:35px;font-weight:900;letter-spacing:-1px;margin:8px 0}.stat-icon{width:40px;height:40px;display:grid;place-items:center;background:#ecf8f4;color:#0e9e83;border-radius:12px}.stat-title{font-size:12px;color:#8499a8;font-weight:800}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:17px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.span-2{grid-column:1/-1}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.toolbar input,.toolbar select{max-width:260px}.table-wrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:13px}.table th{text-align:left;font-size:11px;letter-spacing:.7px;color:#7a90a1;text-transform:uppercase;font-weight:900;background:#f8fafc;padding:13px 12px;white-space:nowrap}.table td{padding:14px 12px;border-top:1px solid #ecf0f4;vertical-align:middle}.table tr:hover td{background:#fbfdfd}.table .item-name{font-weight:800;color:#233d50}.row-actions{display:flex;gap:6px;flex-wrap:nowrap}.switch{position:relative;display:inline-block;width:42px;height:24px}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;inset:0;border-radius:30px;background:#cad7e0;transition:.2s}.switch span:before{content:"";position:absolute;width:18px;height:18px;border-radius:50%;top:3px;left:3px;background:white;transition:.2s;box-shadow:0 1px 4px #0002}.switch input:checked+span{background:#11a68b}.switch input:checked+span:before{transform:translateX(18px)}.link{color:#078c75;font-weight:800}.template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:15px}.template-card{border:2px solid transparent;background:white;border-radius:17px;overflow:hidden;cursor:pointer;box-shadow:0 5px 24px #1c32451a;transition:.2s}.template-card:hover{transform:translateY(-3px)}.template-card.selected{border-color:#15b494;box-shadow:0 0 0 3px #24be9c20}.template-preview{height:156px;display:flex;flex-direction:column;padding:21px;background:var(--p-bg);color:var(--p-text);font-family:var(--p-font,Georgia,serif);position:relative;overflow:hidden}.template-preview:before{content:'';position:absolute;inset:9px;border:1px solid var(--p-border,transparent);pointer-events:none}.template-preview .d-line{height:4px;background:var(--p-accent);width:30px;border-radius:4px;margin-bottom:11px}.template-preview .d-title{font-size:21px;letter-spacing:-.6px;font-weight:800;margin-bottom:9px}.template-preview .d-item{font-size:10px;display:flex;justify-content:space-between;opacity:.85;border-top:1px solid currentColor;padding:6px 0;max-width:95%}.template-desc{display:flex;justify-content:space-between;align-items:center;padding:12px 14px}.template-desc strong{font-size:13px}.template-desc small{font-size:11px}.form-help{font-size:11px;color:#8394a4;margin-top:6px}.empty{padding:40px 20px;text-align:center;border:2px dashed #d8e4eb;border-radius:18px;color:#788d9c;background:#fbfdfd}.empty .big{font-size:45px;margin-bottom:12px}.app-modal{border:0;border-radius:22px;box-shadow:0 30px 90px #071c2c55;padding:0;max-width:min(640px,calc(100vw - 22px));width:100%;max-height:92vh;overflow:auto}.app-modal::backdrop{background:#061b2db8;backdrop-filter:blur(3px)}.modal-head{padding:22px 26px;border-bottom:1px solid #e4eaee;display:flex;justify-content:space-between;gap:15px;align-items:center}.modal-head h2{font-size:21px;margin:0}.modal-body{padding:22px 26px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;padding:17px 26px;border-top:1px solid #e4eaee;background:#f9fbfc}.toast-host{position:fixed;bottom:24px;right:24px;z-index:100;display:flex;flex-direction:column;gap:9px}.toast{background:#113a42;color:#fff;padding:14px 18px;border-radius:13px;box-shadow:0 10px 40px #031e2b33;min-width:200px;font-weight:750;font-size:13px}.toast.bad{background:#9b322f}.toast.good{background:#08674f}.login-wrap{min-height:100vh;display:grid;grid-template-columns:minmax(320px,1fr) minmax(300px,1fr);background:#fff}.login-visual{background:radial-gradient(circle at 68% 20%,#19b8a15c,transparent 35%),linear-gradient(145deg,#0b2f43,#092235);color:white;padding:clamp(32px,6vw,90px);display:flex;flex-direction:column;justify-content:space-between}.login-visual h1{font-size:clamp(38px,5vw,70px);line-height:1.05;max-width:600px}.login-art{display:grid;grid-template-columns:2fr 1fr;gap:12px;align-items:end;transform:rotate(-6deg);max-width:450px}.login-art div{background:linear-gradient(150deg,#fffdf0,#cfddd8);border-radius:20px;height:230px;padding:25px;color:#152c37;box-shadow:0 15px 38px #0016}.login-art div:nth-child(2){height:155px;background:#11b79a;color:#fff}.login-form-pane{display:flex;align-items:center;justify-content:center;padding:40px}.login-form{width:100%;max-width:410px}.login-form h2{font-size:33px}.login-form input{margin-bottom:14px;padding:14px}.login-form .btn{width:100%;padding:15px}.hero-landing{min-height:100vh;background:radial-gradient(circle at 80% 15%,#1cc7a44b,transparent 34%),linear-gradient(145deg,#09263a,#12394b);color:#fff;padding:28px max(20px,8vw)}.hero-bar{display:flex;justify-content:space-between;align-items:center;gap:20px}.hero-main{padding:clamp(90px,14vw,150px) 0;max-width:780px}.hero-main h1{font-size:clamp(49px,6vw,87px);line-height:1.06;letter-spacing:-4px;margin:24px 0}.hero-main p{font-size:18px;color:#bdd3d8;max-width:630px}.feature-tile{background:#ffffff0b;border:1px solid #ffffff22;padding:22px;border-radius:18px}.text-icon{font-size:26px;display:inline-block;margin-bottom:10px}.chip{background:#e6f7f2;color:#047e69;border-radius:20px;padding:5px 9px;font-size:11px;font-weight:800}.hidden{display:none!important}
/* Guest-facing restaurant menu, fully independent from admin design */
.guest{min-height:100vh;background:var(--guest-bg,#fbf9f4);color:var(--guest-text,#24312f);font-family:var(--guest-font,Georgia,serif)}.guest[dir="rtl"]{font-family:'Cairo',Tahoma,sans-serif}.guest .guest-hero{background:var(--guest-hero,#26372d);color:var(--guest-hero-text,#fff);position:relative;padding:44px 18px 52px;text-align:center;overflow:hidden}.guest .guest-hero:before,.guest .guest-hero:after{content:'';position:absolute;border:1px solid #ffffff28;border-radius:50%;width:280px;height:280px;top:-160px;left:-90px}.guest .guest-hero:after{top:auto;bottom:-180px;left:auto;right:-60px;width:350px;height:350px}.guest-logo{width:87px;height:87px;border-radius:24px;object-fit:contain;background:#fff;padding:7px;margin:auto auto 14px;box-shadow:0 10px 30px #0002}.guest-logo.blank{display:grid;place-items:center;background:#ffffff20;color:#fff;font-size:38px}.guest .guest-hero h1{font-family:var(--guest-title-font,Georgia,serif);font-size:clamp(35px,5vw,59px);margin:0 0 6px;font-weight:700}.guest-hero .guest-sub{opacity:.7;font-size:12px;letter-spacing:3px;text-transform:uppercase}.guest-tagline{opacity:.85;margin:10px auto;max-width:560px}.guest-lang{display:flex;position:absolute;right:17px;top:17px;gap:4px;border:1px solid #ffffff55;border-radius:50px;padding:4px;z-index:2;background:#0002}.guest[dir="rtl"] .guest-lang{right:auto;left:17px}.guest-lang button{background:transparent;border:0;color:#fff;border-radius:30px;font-size:12px;padding:7px 11px;font-weight:900}.guest-lang button.active{background:#fff;color:#24312f}.guest-search{width:min(600px,calc(100% - 32px));margin:-26px auto 12px;position:relative;z-index:3}.guest-search input{box-shadow:0 15px 32px #0002;border:0;border-radius:14px;padding:17px;font:600 14px 'DM Sans',Arial}.guest-cat-nav{position:sticky;top:0;background:var(--guest-bg,#fbf9f4);z-index:4;display:flex;align-items:center;gap:9px;padding:15px max(15px,calc((100% - 1080px)/2));overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--guest-border,#ddd7c9)}.guest-cat-nav a{white-space:nowrap;border:1px solid var(--guest-border,#e5dfd4);padding:10px 15px;border-radius:40px;background:var(--guest-card,#fff);font:700 12px 'DM Sans','Cairo',sans-serif}.guest-cat-nav a:hover,.guest-cat-nav a.active{background:var(--guest-accent,#af7848);color:#fff;text-decoration:none;border-color:transparent}.guest-content{max-width:1060px;margin:auto;padding:20px 20px 80px}.menu-section{padding:33px 0;scroll-margin-top:74px;border-bottom:1px solid var(--guest-border,#e4dfd4)}.menu-section h2{text-align:center;font-family:var(--guest-title-font,Georgia,serif);font-size:clamp(29px,4vw,41px);color:var(--guest-accent,#957042);font-weight:600;margin-bottom:25px}.menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.menu-item{display:flex;gap:17px;align-items:flex-start;background:var(--guest-card,#fff);border:1px solid var(--guest-border,#e4dfd4);border-radius:var(--guest-radius,13px);padding:14px;min-height:111px;box-shadow:0 8px 20px #00000005}.menu-item img{width:96px;height:96px;object-fit:cover;border-radius:calc(var(--guest-radius,13px) - 4px);flex:none}.menu-item-body{flex:1;min-width:0}.menu-item .dish-title{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.menu-item h3{font-family:var(--guest-title-font,Georgia,serif);font-size:18px;margin:2px 0 8px}.menu-item .price{color:var(--guest-accent,#957042);font-weight:900;font:800 14px 'DM Sans',Arial;white-space:nowrap}.menu-item p{color:var(--guest-muted,#69746f);font-size:13px;margin:0;line-height:1.65}.guest-footer{text-align:center;padding:35px 20px;background:var(--guest-hero,#26372d);color:var(--guest-hero-text,#fff);font:500 12px 'DM Sans','Cairo',sans-serif}.guest-footer p{margin:5px}.guest-footer .powered{margin-top:19px;opacity:.55}.offer-view{max-width:900px;margin:35px auto;background:#fff;box-shadow:0 12px 55px #142a3d19;padding:clamp(25px,5vw,56px);border-radius:18px}.offer-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-bottom:25px;border-bottom:2px solid #e4ddd0}.offer-title{font:700 40px Georgia,serif;color:var(--guest-accent,#a88a5d)}.offer-table{border-collapse:collapse;width:100%;margin:15px 0}.offer-table td{padding:11px 12px;border-bottom:1px solid #eee}.offer-sum{background:#f6f2ec;border-radius:14px;padding:22px;display:flex;justify-content:space-between;align-items:center;gap:12px}.offer-sig{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-top:75px}.offer-sig div{border-top:1px solid #6b6b6b;padding-top:12px;font-size:13px;color:#666}.wedding-builder{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:22px;align-items:start}.check-item{display:flex;align-items:center;gap:9px;padding:12px;border-bottom:1px solid #edf1f4}.check-item input{width:18px;height:18px;accent-color:#099b80;flex:none}.check-item .description{font-size:11px;color:#9aabb5}.wedding-summary{position:sticky;top:95px}.wedding-category{font-weight:900;background:#f5faf8;border-radius:9px;padding:12px 15px;margin:19px 0 3px;color:#145e50}
@media(max-width:990px){.sidebar{padding:18px 10px;width:80px}.app-shell{grid-template-columns:80px minmax(0,1fr)}.sidebar .brand .brand-text,.sidebar .subbrand,.sidebar-footer,.sidebar .nav-label{display:none}.sidebar .brand{justify-content:center;padding:0}.nav-item{justify-content:center;font-size:19px;padding:11px}.nav-item.active:before{margin-left:-7px;margin-right:-3px}.stats{grid-template-columns:repeat(2,1fr)}.wedding-builder{grid-template-columns:1fr}.wedding-summary{position:static}}
@media(max-width:680px){.app-shell{display:block}.sidebar{width:auto;position:sticky;top:0;z-index:10;height:61px;display:flex;flex-direction:row;align-items:center;padding:8px 12px;gap:9px;overflow-x:auto;scrollbar-width:none}.sidebar .brand{flex:none}.sidebar .brand .brand-text{display:none}.sidebar .nav-group{display:flex;flex-direction:row;align-items:center;gap:5px}.sidebar .nav-item{width:auto;white-space:nowrap;min-width:40px;min-height:40px;padding:9px;font-size:14px}.sidebar .nav-label{display:none}.side-spacer,.sidebar-footer{display:none}.topbar{position:static;padding:15px 18px;height:68px}.topbar .btn-small{font-size:11px}.content{padding:24px 15px 60px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:16px}.stat-card .stat-num{font-size:28px}.grid-2,.grid-3,.grid-form{grid-template-columns:1fr}.span-2{grid-column:auto}.card{padding:17px}.menu-grid{grid-template-columns:1fr}.guest .guest-hero{padding-top:55px}.guest-search{margin-top:-21px}.menu-item img{width:85px;height:85px}.login-wrap{grid-template-columns:1fr}.login-visual{min-height:230px;gap:35px}.login-visual h1{font-size:37px}.login-art{display:none}.login-form-pane{padding:35px 20px}.offer-view{margin:0;border-radius:0}.offer-head{flex-direction:column;text-align:center}.hero-main{padding:100px 0}.hero-main h1{letter-spacing:-2px}.hero-landing{padding:22px}.toast-host{left:15px;right:15px;bottom:12px}.app-modal{max-height:94vh}.offer-sig{gap:15px}}
@media print{.sidebar,.topbar,.btn,.guest-lang,.guest-cat-nav,.guest-search,.guest-footer,.toast-host{display:none!important}.guest{background:#fff}.offer-view{box-shadow:none;margin:0;max-width:none;border-radius:0}.menu-item,.menu-section,.offer-table tr{break-inside:avoid}.menu-grid{grid-template-columns:1fr 1fr}@page{size:A4;margin:14mm}}
/* Theme families: not simply recolored cards — dining-specific composition */
.theme-lebanese .guest-hero,.theme-saj .guest-hero{background-image:repeating-linear-gradient(45deg,#ffffff08 0px,#ffffff08 2px,transparent 2px,transparent 24px)}
.theme-lebanese .menu-section h2:before,.theme-lebanese .menu-section h2:after{content:'✦';font-size:14px;vertical-align:middle;margin:0 13px;opacity:.7}
.theme-lebanese .menu-item{border-inline-start:4px solid var(--guest-accent)}
.theme-saj .menu-item{box-shadow:2px 5px 0 #5b33140c;border-top:3px solid #b77c41}
.theme-sushi-zen .menu-grid,.theme-minimal .menu-grid,.theme-pub .menu-grid{grid-template-columns:1fr}
.theme-sushi-zen .menu-item{box-shadow:none;border:0;border-bottom:1px solid var(--guest-border);padding:19px 8px;border-radius:0}
.theme-sushi-zen .menu-section h2{font-weight:400;letter-spacing:6px;font-size:28px}
.theme-sushi-zen .guest-hero h1{letter-spacing:5px;font-weight:400}
.theme-tokyo-neon .guest-hero,.theme-nightclub .guest-hero{background-image:radial-gradient(circle at 50% 80%,#fc6aaf30,transparent 45%)}
.theme-tokyo-neon .menu-item,.theme-nightclub .menu-item{box-shadow:0 0 20px #fc6aaf15;border-width:1px}
.theme-tokyo-neon .menu-section h2,.theme-nightclub .menu-section h2{letter-spacing:3px;text-transform:uppercase;text-shadow:0 0 19px currentColor}
.theme-fast-food .menu-item,.theme-street .menu-item{border:2px solid var(--guest-border);transform:rotate(-.18deg)}
.theme-fast-food .menu-item:nth-child(even),.theme-street .menu-item:nth-child(even){transform:rotate(.18deg)}
.theme-fast-food .guest-hero h1,.theme-street .guest-hero h1{font-family:Impact,'Arial Black',Arial,sans-serif;text-transform:uppercase;letter-spacing:0}
.theme-seafood .menu-section h2:after,.theme-mediterranean .menu-section h2:after{content:'  ≋';font-weight:400}
.theme-seafood .menu-item,.theme-mediterranean .menu-item{box-shadow:0 9px 26px #0b819115}
.theme-garden .menu-item{border-radius:23px;border-left:4px solid #a4bda0}
.theme-pub .menu-item{border:0;border-bottom:2px dotted #ad9e8c;box-shadow:none;border-radius:0;padding:17px 8px}
.theme-pub .guest-hero h1{font-variant:small-caps;letter-spacing:3px}
.theme-wedding-ivory .guest-hero h1,.theme-wedding-gold .guest-hero h1{font-style:italic;font-weight:400}
.theme-wedding-ivory .menu-item,.theme-wedding-gold .menu-item{border-radius:2px;box-shadow:none;border:1px solid var(--guest-border)}
.theme-minimal .menu-item{box-shadow:none;border:0;border-bottom:1px solid var(--guest-border);border-radius:0;background:transparent}
.theme-minimal .guest-hero{padding:55px 18px 60px}
.theme-luxury .menu-item{border:1px solid #77624377;box-shadow:inset 0 0 0 1px #77624312}
.theme-luxury .menu-section h2{letter-spacing:4px;text-transform:uppercase;font-size:25px}
.theme-roastery .menu-item{border-radius:1px 22px 1px 22px}
.theme-bakery .menu-item{border-radius:22px;border:2px solid #f9e4eb}
.theme-international .menu-item{border-top:3px solid var(--guest-accent);border-radius:5px}
.theme-family .menu-item{border-radius:22px;box-shadow:0 9px 0 #ddcbaa33}

/* R2 public unavailable pages */
.unavailable-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;background:linear-gradient(140deg,#f8faf6,#e7f4ef);color:#173a39;font-family:'DM Sans','Cairo',sans-serif}
.unavailable-page h1{margin:12px 0 8px;letter-spacing:-1px}
.unavailable-page p{max-width:540px;color:#57756f}
.unavailable-icon{width:80px;height:80px;background:#d5efe5;border-radius:26px;display:grid;place-items:center;font-size:44px;color:#0a9174}
