/*
Theme Name: Rasmei Luxury E-Menu VIP
Author: Elechnovatech
Description: Responsive Khmer restaurant e-menu with bilingual interface and optional VIP +$1 per dish.
Version: 2.0.0
Text Domain: rasmei-luxury-emenu
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Khmer:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;700&display=swap');
:root{--black:#16120f;--gold:#d5a54c;--cream:#fffaf2;--red:#c81023;--ink:#251b14;--line:#ecddc6}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:#e9e0d2;color:var(--ink);font-family:'Noto Sans Khmer','DM Sans',sans-serif}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.app{max-width:560px;margin:0 auto;min-height:100vh;background:var(--cream);box-shadow:0 0 50px #2517072a;padding-bottom:70px}.top{height:76px;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;position:sticky;top:0;z-index:20;background:#fffaf5f7;border-bottom:1px solid var(--line);backdrop-filter:blur(15px)}.round-btn{border:0;background:none;font-size:22px}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font-weight:800;font-size:13px}.brand img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid var(--gold)}.brand small{display:block;font:600 8px 'DM Sans';letter-spacing:1px;color:#a07735}.language{display:flex;border:1px solid var(--red);border-radius:22px;overflow:hidden;flex-shrink:0}.language button{border:0;background:transparent;color:var(--red);padding:7px 10px;font:700 11px 'DM Sans'}.language .active{background:var(--red);color:white}.hero{height:min(760px,calc(100svh - 76px));min-height:560px;background:linear-gradient(180deg,#0006,#0001 40%,#000b),url('assets/dish-1.jpg') center/cover;position:relative;color:white;text-align:center;display:flex;align-items:center;justify-content:center;overflow:hidden}.hero:before{content:'';position:absolute;inset:14px;border:1px solid #e7bd6b99;border-radius:16px;pointer-events:none}.hero-shade{position:absolute;inset:0;background:radial-gradient(ellipse,#0000 10%,#0008 100%)}.hero-content{position:relative;z-index:1;padding:15px}.hero-mark{width:130px;height:130px;object-fit:cover;border-radius:50%;border:4px solid #e0b15a;box-shadow:0 0 40px #000a}.hero-kicker,.mini{font:700 10px 'DM Sans';letter-spacing:2.5px;color:var(--gold)}.hero-kicker{margin-top:18px}.hero h1{font-size:clamp(27px,7vw,39px);line-height:1.8;margin:7px 0;text-shadow:0 3px 12px #000}.hero h2{font:700 29px 'Playfair Display',serif;letter-spacing:8px;color:#ffdd89;margin:0}.hero p{font:italic 18px 'Playfair Display',serif;color:#f8e5b4;margin:14px 0 26px}.hero-edge{position:absolute;bottom:22px;color:#f4dba5;font:700 9px 'DM Sans';letter-spacing:2px}.cta{background:linear-gradient(135deg,#ad0d1d,#e3222d);border:1px solid #edb66b;border-radius:32px;color:#fff;padding:14px 25px;font-weight:800;box-shadow:0 6px 22px #0002}.section{padding:28px 19px}.section-heading{text-align:center;margin:5px 0 24px}.section-heading h2{font-size:28px;margin:8px 0 0}.ornament{color:var(--gold);font-size:12px;margin-top:7px}.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.category-card{height:177px;position:relative;border:1px solid #cba25b;border-radius:15px;overflow:hidden;padding:0;background:#21160d;box-shadow:0 5px 13px #0002}.category-card img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.category-card:hover img{transform:scale(1.06)}.category-card:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#000e 0%,transparent 70%)}.category-label{position:absolute;bottom:12px;left:4px;right:4px;z-index:1;color:white;font-weight:800;font-size:16px;text-shadow:0 2px 4px #000}.category-label small{display:block;color:#f1cb81;font:700 10px 'DM Sans';margin-top:2px;letter-spacing:1px}.vip-banner{margin:8px 19px 27px;padding:25px 21px;border-radius:18px;background:radial-gradient(circle at top right,#65491f,#1b140f 65%);border:1px solid #b98c42;color:#fff;display:flex;gap:15px;align-items:center;justify-content:space-between}.vip-banner h2{font-size:23px;margin:5px 0}.vip-banner p{font-size:11px;line-height:1.9;color:#e6d8c0;margin:0}.gold-outline{background:none;color:#f3d28b;border:1px solid var(--gold);border-radius:12px;padding:10px;white-space:nowrap;font:700 11px 'DM Sans'}.menu-hero{background:linear-gradient(120deg,#0e0d0d,#281a10);color:white;text-align:center;padding:25px 15px;border-bottom:3px solid var(--gold)}.menu-hero h2{font-size:26px;margin:6px 0}.menu-hero small{font:700 11px 'DM Sans';letter-spacing:2px;color:#f0c675}.menu-section{padding-top:20px}.room-toggle{display:flex;padding:5px;background:#efe3d2;border-radius:15px;gap:5px;margin-bottom:10px}.room-toggle button{flex:1;border:0;border-radius:12px;padding:11px 4px;background:transparent;color:#765e3c;font-size:12px;font-weight:800}.room-toggle button.selected{background:#211811;color:#f8d68f;box-shadow:0 3px 9px #0002}.vip-notice{background:#fff3d9;border:1px solid #e8ca89;border-radius:9px;padding:10px;font-size:11px;color:#72521f}.toolbar{display:flex;gap:8px;margin:15px 0}.search-wrap{flex:1;display:flex;align-items:center;gap:7px;background:white;border:1px solid var(--line);border-radius:13px;padding:0 12px;font-size:22px}.search{width:100%;min-width:0;padding:12px 0;border:0;background:none;outline:0;font-size:12px}.filter{border:1px solid #dec79d;background:white;border-radius:12px;padding:0 11px;font:700 11px 'DM Sans'}.food-grid{display:grid;grid-template-columns:1fr;gap:10px}.food-card{display:flex;align-items:center;gap:11px;padding:9px;background:#fff;border:1px solid #f0e3cf;border-radius:14px;box-shadow:0 3px 13px #3d291009}.food-photo{width:116px;height:105px;border:0;padding:0;border-radius:10px;overflow:hidden;flex-shrink:0;background:#eee}.food-photo img{width:100%;height:100%;object-fit:cover}.food-info{flex:1;min-width:0}.food-info h3{font-size:13px;line-height:1.6;margin:0 0 2px}.food-info p{font:400 11px 'DM Sans';color:#867b6c;margin:0 0 8px}.food-bottom{display:flex;justify-content:space-between;align-items:center;gap:5px}.price{font:800 16px 'DM Sans';color:var(--red)}.plus{width:31px;height:31px;border-radius:50%;border:0;background:#e10e23;color:white;font-size:23px;line-height:1}.vip-tag{display:block;font:700 9px 'DM Sans';color:#a5772c}.notice{font-size:10px;color:#8b806f;line-height:1.8;text-align:center;margin-top:17px}.footer{background:#18120e;color:#fff;display:flex;flex-direction:column;align-items:center;gap:6px;padding:35px 20px;text-align:center}.footer img{width:70px;height:70px;object-fit:cover;border-radius:50%}.footer span{font:10px 'DM Sans';letter-spacing:2px;color:var(--gold)}.footer small{font:10px 'DM Sans';color:#ab9b86}.floating-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:560px;width:100%;height:65px;display:flex;justify-content:space-around;background:#18120e;border-top:2px solid var(--gold);z-index:25}.floating-nav button{border:0;background:none;color:#e4cba0;font-size:21px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;flex:1}.floating-nav span{font-size:10px}.overlay{position:fixed;inset:0;background:#0009;z-index:40}.overlay[hidden]{display:none}.cart-drawer,.detail-drawer{position:fixed;right:0;top:0;bottom:0;width:min(440px,100vw);background:var(--cream);z-index:41;padding:25px 22px;overflow:auto;transform:translateX(105%);transition:transform .25s;box-shadow:-10px 0 35px #0003}.cart-drawer.open,.detail-drawer.open{transform:translateX(0)}.close-btn{float:right;border:0;background:#eee1cf;border-radius:50%;width:35px;height:35px;font-size:17px}.cart-drawer h2{margin:13px 0}.cart-room{font-size:12px;color:#97733e}.cart-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.cart-row small{color:var(--red)}.cart-row button,.quantity button{background:white;border:1px solid #e6d2b3;border-radius:8px;width:28px;height:29px}.cart-total{display:flex;justify-content:space-between;font-weight:800;font-size:18px;margin:22px 0}.cart-drawer .cta{width:100%}.empty{text-align:center;color:#998979;padding:30px 0}.detail-drawer{padding:0}.detail-drawer .close-btn{position:absolute;right:17px;top:17px;z-index:1}.detail-drawer>img{width:100%;height:330px;object-fit:cover;background:#ddd}.detail-content{padding:25px}.detail-content h2{margin:9px 0 0;font-size:24px}.detail-content p{font-size:13px;color:#887b6c}.detail-price{font-size:24px;font-weight:800;color:var(--red);margin:18px 0}.detail-action{display:flex;gap:10px;align-items:center}.quantity{display:flex;align-items:center;gap:11px}.detail-action .cta{flex:1;padding:12px 8px;font-size:12px}@media(min-width:700px){.app{border:1px solid #dfd0b9}}@media(max-width:370px){.brand{font-size:11px}.brand img{width:39px;height:39px}.brand small{font-size:7px}.food-photo{width:90px;height:95px}.vip-banner{flex-direction:column;align-items:start}.hero{min-height:530px}}