/* Easy Menu theme v2 — presentation-only override. Remove the <link> to roll back. */
:root{--em-accent:var(--restaurant-primary,#FF6B35);--em-bg:#FFF8F2;--em-card:#fff;--em-text:#1F2937;--em-muted:#6B7280;--em-line:#F1E6DC;--em-shadow:0 6px 20px rgba(31,41,55,.08);--em-r:16px}
html.em-dark{--em-bg:#111827;--em-card:#1F2937;--em-text:#F9FAFB;--em-muted:#9CA3AF;--em-line:#374151;--em-shadow:0 6px 20px rgba(0,0,0,.35)}
html body{background:var(--em-bg)!important;color:var(--em-text)!important}
html[lang="ar"] body,html[lang="ar"] body *:not(i):not(.fa):not([class*="fa-"]){font-family:"Cairo","Tajawal",sans-serif!important}
body .container{background:transparent!important}
/* header */
body .header{background:var(--em-bg)!important;box-shadow:none!important;border:0!important;padding:12px 16px!important}
body .logo img,body #restaurantLogo img{border-radius:14px!important;box-shadow:var(--em-shadow)}
body .language-selector{background:var(--em-card)!important;color:var(--em-text)!important;border:1px solid var(--em-line)!important;border-radius:12px!important;box-shadow:var(--em-shadow)}
#emDarkToggle{width:40px;height:40px;border-radius:12px;border:1px solid var(--em-line);background:var(--em-card);color:var(--em-text);box-shadow:var(--em-shadow);font-size:18px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;margin-inline:6px}
/* banner */
body .promo-slider,body .slider-container{border-radius:20px!important;overflow:hidden;box-shadow:var(--em-shadow)!important}
body .slider-dots .dot,body .slider-dots span{border-radius:6px!important;transition:width .25s}
body .slider-dots .active{width:22px!important;background:var(--em-accent)!important}
/* search */
body .search-input{background:var(--em-card)!important;color:var(--em-text)!important;border:1px solid var(--em-line)!important;border-radius:16px!important;box-shadow:var(--em-shadow)!important}
body .filter-btn{background:var(--em-accent)!important;border-radius:14px!important;box-shadow:0 6px 16px rgba(0,0,0,.15)!important}
/* sticky category chips */
body .categories-section{position:sticky;top:0;z-index:50;background:var(--em-bg)!important;padding:8px 0!important}
body .categories-grid{padding-inline:16px 24px!important;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:10px!important;padding:6px 16px 10px!important;scrollbar-width:none;scroll-snap-type:x proximity}
body .categories-grid::-webkit-scrollbar{display:none}
body .categories-grid .category-item{flex:0 0 auto!important;width:auto!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;padding:5px 14px 5px 5px!important;border-radius:999px!important;background:var(--em-card)!important;border:1px solid var(--em-line)!important;box-shadow:0 3px 10px rgba(31,41,55,.06)!important;scroll-snap-align:start;transition:transform .15s}
html[dir="rtl"] body .categories-grid .category-item{padding:5px 5px 5px 14px!important}
body .categories-grid .category-item[data-category="all"]{padding:9px 18px!important}
body .categories-grid .category-item:active{transform:scale(.96)}
body .categories-grid .category-item .category-icon{position:static!important;width:38px!important;height:38px!important;min-width:38px;border-radius:50%!important;overflow:hidden!important;margin:0!important;inset:auto!important}
body .categories-grid .category-item .category-image{position:static!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;filter:none!important}
body .categories-grid .category-item .category-name{position:static!important;color:var(--em-text)!important;font-weight:700!important;font-size:.9rem!important;text-shadow:none!important;white-space:nowrap!important;padding:0!important;background:none!important;width:auto!important}
body .categories-grid .category-item::before,body .categories-grid .category-item::after{display:none!important}
body .categories-grid .category-item.active{background:var(--em-accent)!important;border-color:transparent!important;box-shadow:0 6px 16px rgba(0,0,0,.18)!important}
body .categories-grid .category-item.active .category-name{color:#fff!important}
body .ac-trigger-btn{background:transparent!important;color:var(--em-accent)!important;padding:4px 6px!important;font-weight:800!important}
html.em-dark body .ac-trigger-btn{color:#fff!important}
/* section headers */
body .category-section-header{border:0!important;margin:18px 16px 8px!important;padding:0!important}
body .category-section-header h3{color:var(--em-text)!important;font-size:1.2rem!important;font-weight:800!important}
/* product cards */
body .menu-grid{gap:14px!important;padding:0 16px!important}
body .menu-item{background:var(--em-card)!important;border-radius:var(--em-r)!important;box-shadow:var(--em-shadow)!important;border:0!important;overflow:hidden!important;transition:transform .15s}
body .menu-item:active{transform:scale(.98)}
body .menu-item-image{aspect-ratio:4/3;overflow:hidden;background:#F3EDE7}
html.em-dark body .menu-item-image{background:#374151}
body .menu-item-image img{width:100%!important;height:100%!important;object-fit:cover!important}
body .menu-item-content{padding:10px 12px 12px!important}
body .menu-item-content h3{color:var(--em-text)!important;font-weight:700!important;font-size:.95rem!important;line-height:1.4!important}
body .menu-item-content p{color:var(--em-muted)!important}
body .menu-item .price{color:var(--em-accent)!important;font-weight:800!important}
html.em-dark body .menu-item .price{filter:brightness(1.6)}
body .quantity-controls{background:transparent!important;gap:6px}
body .quantity-btn{border-radius:10px!important;border:0!important;width:30px!important;height:30px!important;font-weight:800!important}
body .quantity-btn.increase{background:var(--em-accent)!important;color:#fff!important;box-shadow:0 4px 10px rgba(0,0,0,.18)}
body .quantity-btn.decrease{background:var(--em-line)!important;color:var(--em-text)!important}
body .quantity-display{color:var(--em-text)!important}
.em-badge{position:absolute;top:8px;inset-inline-start:8px;z-index:2;background:var(--em-accent);color:#fff;font-size:.72rem;font-weight:800;padding:3px 9px;border-radius:999px;box-shadow:0 3px 8px rgba(0,0,0,.2)}
body .menu-item-image{position:relative}
/* modals -> bottom sheets on mobile */
body .modal-content,body .filter-content{background:var(--em-card)!important;color:var(--em-text)!important;border-radius:24px!important}
@media(max-width:768px){body .modal .modal-content,body .filter-modal .filter-content{position:fixed!important;bottom:0!important;left:0!important;right:0!important;top:auto!important;margin:0!important;width:100%!important;max-width:100%!important;max-height:88vh;overflow:auto;border-radius:24px 24px 0 0!important;animation:emUp .25s ease}}
@keyframes emUp{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
body .modal-footer button,body .checkout-btn,body #checkoutBtn,body #sendOrderBtn{border-radius:14px!important}
body .form-input,body .modal input,body .modal textarea,body .modal select{border-radius:12px!important;border:1px solid var(--em-line)!important;background:var(--em-bg)!important;color:var(--em-text)!important}
/* floating bottom bar */
@media(max-width:768px){body .em-mobile-footer{background:#1F2937!important;border-radius:20px!important;box-shadow:0 10px 30px rgba(0,0,0,.25)!important}
body .em-mf-label{color:#E5E7EB!important}body .em-mf-icon,body .em-mf-icon svg{color:#fff!important;stroke:#fff!important}
body .em-mf-item.active .em-mf-icon,body .em-mf-item:first-child .em-mf-icon{background:var(--em-accent)!important;border-radius:12px}
body .em-mf-badge{background:var(--em-accent)!important;color:#fff!important}}
body .menu-container{padding-bottom:110px!important}
/* dark misc */
html.em-dark body .creative-signature-zone{background:transparent!important}
html.em-dark body .skeleton-container{background:var(--em-bg)!important}
body .search-section,body .search-filter-container,body .categories-section,body .menu-container,body main{background:transparent!important;box-shadow:none!important}
body .categories-section{background:var(--em-bg)!important}
body .menu-item-image img{font-size:12px!important;color:var(--em-muted)!important}
body .categories-grid .category-item:not(.active){background-color:var(--em-card)!important;background-image:none!important}
body .price-quantity-row{gap:6px;align-items:center!important}
body .quantity-controls{border:0!important;box-shadow:none!important}
body .categories-grid .category-item{min-width:0!important;max-width:none!important;transform:none}
body .categories-grid .category-item:hover:not(.active){background:var(--em-card)!important;transform:none!important}
body .categories-grid .category-item .category-icon{flex:0 0 38px!important;max-width:38px!important;max-height:38px!important}
body .categories-grid .category-item .category-image{font-size:0!important}
body .categories-grid .category-item .category-icon::before,body .categories-grid .category-item .category-icon::after{display:none!important;content:none!important}
body .categories-grid .category-item .category-name{transform:none!important;left:auto!important;right:auto!important;letter-spacing:normal!important;text-transform:none!important}
body .categories-grid .category-item{overflow:hidden!important;transition:background-color .2s,transform .15s!important}
html.em-dark body .menu-item .price{color:var(--em-text)!important;filter:none!important}
html.em-dark body .quantity-btn.increase{box-shadow:0 0 0 1px rgba(255,255,255,.25)!important}
/* in-page product view */
body .product-back-btn{background:var(--em-accent)!important;border-radius:14px!important;box-shadow:var(--em-shadow)!important}
body .product-main-image,body .product-main-img{border-radius:20px!important;overflow:hidden}
body .product-thumbnail{border-radius:12px!important;overflow:hidden}
body .product-thumbnail.active{border-color:var(--em-accent)!important}
body .product-category-badge{background:var(--em-accent)!important;color:#fff!important;border-radius:999px!important}
body .product-title{color:var(--em-text)!important;font-weight:800!important}
body .product-price,body .product-total-amount{color:var(--em-accent)!important;font-weight:800!important}
html.em-dark body .product-price,html.em-dark body .product-total-amount{color:var(--em-text)!important}
body .product-add-cart-btn{background:var(--em-accent)!important;color:#fff!important;border:0!important;border-radius:16px!important;box-shadow:0 8px 20px rgba(0,0,0,.18)!important;font-weight:800!important}
body .product-quantity-btn{border-radius:12px!important}
