/* ========================================================================= */
        /* 3. استوديو تصميم المنيو الجرافيكي الجديد (4 تصاميم فاخرة + تصدير صورة PNG) */
        /* ========================================================================= */
        .menu-controls-bar {
            background: white; padding: 16px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
            display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-right: 5px solid #d4af37;
        }
        .menu-style-pills { display: flex; gap: 8px; flex-wrap: wrap; }
        .menu-style-btn {
            padding: 9px 16px; border: 2px solid #e2e8f0; background: #f8fafc; border-radius: 10px;
            cursor: pointer; font-weight: 800; font-size: 0.85rem; transition: 0.2s; color: #1e293b;
        }
        .menu-style-btn.active { border-color: #023e8a; background: #023e8a; color: white; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(2,62,138,0.25); }

        .menu-canvas-wrapper { display: flex; justify-content: center; padding: 15px 0 40px; overflow-x: auto; background: #cbd5e1; border-radius: 14px; }
        
        /* اللوحة الرئيسية للمنيو */
        .menu-printable-board {
            width: 880px; min-height: 1200px; position: relative; overflow: hidden;
            display: flex; flex-direction: column; justify-content: space-between;
            box-shadow: 0 20px 50px rgba(0,0,0,0.35); transition: all 0.3s ease;
        }

        /* هيدر المنيو الجرافيكي */
        .m-hero-header {
            position: relative; padding: 35px 30px 25px; text-align: center; z-index: 2;
        }
        .m-logo-ring {
            width: 105px; height: 105px; border-radius: 50%; margin: 0 auto 12px; padding: 5px;
            display: flex; align-items: center; justify-content: center; position: relative;
        }
        .m-logo-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }
        .m-rest-title { font-size: 2.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 6px; font-family: 'Cairo', sans-serif; }
        .m-rest-slogan { font-size: 1.05rem; font-weight: 700; display: inline-block; padding: 4px 20px; border-radius: 30px; margin-bottom: 14px; }
        
        /* شريط طرق الطهي والتسوية */
        .m-cooking-strip {
            display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0 25px 20px;
            padding: 10px 15px; border-radius: 12px; font-size: 0.85rem; font-weight: 800; z-index: 2; position: relative;
        }
        .m-cook-pill { padding: 4px 12px; border-radius: 20px; display: flex; align-items: center; gap: 5px; }

        /* جسم المنيو والأقسام */
        .m-body-container { padding: 0 28px; flex: 1; z-index: 2; position: relative; }
        .m-sections-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
        .m-sections-grid.single-col { grid-template-columns: 1fr; }

        .m-category-card { border-radius: 14px; padding: 14px; margin-bottom: 8px; break-inside: avoid; position: relative; }
        .m-cat-banner {
            font-size: 1.2rem; font-weight: 900; padding: 8px 16px; border-radius: 10px;
            margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between;
        }
        
        /* صف الصنف داخل المنيو */
        .m-dish-item {
            display: flex; align-items: center; justify-content: space-between; gap: 12px;
            padding: 9px 10px; border-radius: 10px; margin-bottom: 8px; transition: 0.2s; position: relative;
        }
        .m-dish-right { display: flex; align-items: center; gap: 12px; flex: 1; }
        .m-dish-img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
        .m-dish-title { font-size: 1rem; font-weight: 800; line-height: 1.3; }
        .m-dish-sub { font-size: 0.75rem; opacity: 0.8; display: block; font-weight: 600; margin-top: 2px; }
        .m-dish-badge { font-size: 0.68rem; padding: 2px 7px; border-radius: 6px; font-weight: 800; margin-right: 5px; display: inline-block; }

        .m-price-badge {
            font-size: 1.1rem; font-weight: 900; padding: 6px 12px; border-radius: 10px;
            white-space: nowrap; text-align: center; min-width: 85px;
        }
        .m-price-badge small { font-size: 0.7rem; font-weight: 700; display: block; line-height: 1; }

        /* الفوتر الجرافيكي للمنيو */
        .m-footer-banner {
            margin: 20px 25px 25px; padding: 18px 22px; border-radius: 16px;
            display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; z-index: 2; position: relative;
        }
        .m-footer-col { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.92rem; }
        .m-footer-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }

        /* ------------------------------------------------------------------------- */
        /* الستايل 1: الملكي الفاخر (Royal Gold VIP) */
        /* ------------------------------------------------------------------------- */
        .menu-printable-board.mstyle-royal {
            background: radial-gradient(circle at top, #1e2430 0%, #0b0d11 100%);
            color: #ffffff; border: 8px double #d4af37;
        }
        .mstyle-royal .m-logo-ring { background: linear-gradient(135deg, #ffd700, #9a7b1c); box-shadow: 0 0 25px rgba(212,175,55,0.5); }
        .mstyle-royal .m-rest-title { color: #ffd700; text-shadow: 0 3px 10px rgba(0,0,0,0.7); }
        .mstyle-royal .m-rest-slogan { background: rgba(212,175,55,0.18); border: 1px solid #d4af37; color: #fde047; }
        .mstyle-royal .m-cooking-strip { background: rgba(255,255,255,0.04); border: 1px solid rgba(212,175,55,0.3); color: #f3e5ab; }
        .mstyle-royal .m-cook-pill { background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.4); }
        .mstyle-royal .m-category-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(212,175,55,0.28); }
        .mstyle-royal .m-cat-banner { background: linear-gradient(90deg, #d4af37, #b48a1e); color: #000; box-shadow: 0 4px 12px rgba(212,175,55,0.25); }
        .mstyle-royal .m-dish-item { background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.06); }
        .mstyle-royal .m-dish-img { border: 2px solid #d4af37; border-radius: 50%; }
        .mstyle-royal .m-dish-badge { background: #e63946; color: #fff; }
        .mstyle-royal .m-price-badge { background: linear-gradient(135deg, #ffd700, #c59b27); color: #000; box-shadow: 0 3px 8px rgba(0,0,0,0.4); }
        .mstyle-royal .m-footer-banner { background: linear-gradient(90deg, #161922, #1f2430); border: 2px solid #d4af37; color: #ffd700; }
        .mstyle-royal .m-footer-icon { background: #d4af37; color: #000; }

        /* ------------------------------------------------------------------------- */
        /* الستايل 2: سبورة المشويات العصرية (Chalkboard Seafood Bistro) */
        /* ------------------------------------------------------------------------- */
        .menu-printable-board.mstyle-chalk {
            background: #18181b; color: #f4f4f5; border: 6px solid #f97316;
        }
        .mstyle-chalk .m-hero-header { background: linear-gradient(180deg, #27272a 0%, #18181b 100%); border-bottom: 2px dashed #52525b; margin-bottom: 15px; }
        .mstyle-chalk .m-logo-ring { background: #f97316; box-shadow: 0 0 20px rgba(249,115,22,0.4); }
        .mstyle-chalk .m-rest-title { color: #fb923c; }
        .mstyle-chalk .m-rest-slogan { background: #f97316; color: #fff; }
        .mstyle-chalk .m-cooking-strip { background: #27272a; border: 1px dashed #fb923c; color: #fed7aa; }
        .mstyle-chalk .m-cook-pill { background: #3f3f46; }
        .mstyle-chalk .m-category-card { background: #27272a; border: 1px solid #3f3f46; }
        .mstyle-chalk .m-cat-banner { background: #f97316; color: #fff; border-radius: 8px; }
        .mstyle-chalk .m-dish-item { background: #18181b; border-right: 4px solid #f97316; }
        .mstyle-chalk .m-dish-img { border: 2px solid #fb923c; }
        .mstyle-chalk .m-dish-badge { background: #22c55e; color: #000; }
        .mstyle-chalk .m-price-badge { background: #fff; color: #ea580c; border: 2px solid #f97316; }
        .mstyle-chalk .m-footer-banner { background: #f97316; color: #fff; }
        .mstyle-chalk .m-footer-icon { background: #18181b; color: #fb923c; }

        /* ------------------------------------------------------------------------- */
        /* الستايل 3: أمواج الإسكندرية والبحر (Alexandria Waves) */
        /* ------------------------------------------------------------------------- */
        .menu-printable-board.mstyle-ocean {
            background: #f0f9ff; color: #0c4a6e; border: 6px solid #0284c7;
        }
        .mstyle-ocean .m-hero-header {
            background: linear-gradient(135deg, #03045e, #0077b6, #00b4d8); color: #fff;
            border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; margin-bottom: 18px;
            box-shadow: 0 8px 20px rgba(2,132,199,0.25);
        }
        .mstyle-ocean .m-logo-ring { background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
        .mstyle-ocean .m-rest-title { color: #ffffff; }
        .mstyle-ocean .m-rest-slogan { background: #ffd814; color: #03045e; }
        .mstyle-ocean .m-cooking-strip { background: #e0f2fe; border: 2px solid #7dd3fc; color: #0369a1; }
        .mstyle-ocean .m-cook-pill { background: #fff; border: 1px solid #bae6fd; }
        .mstyle-ocean .m-category-card { background: #ffffff; border: 2px solid #bae6fd; box-shadow: 0 4px 12px rgba(2,132,199,0.06); }
        .mstyle-ocean .m-cat-banner { background: linear-gradient(90deg, #0284c7, #0369a1); color: #fff; }
        .mstyle-ocean .m-dish-item { background: #f8fafc; border: 1px solid #e0f2fe; }
        .mstyle-ocean .m-dish-img { border: 2px solid #0284c7; }
        .mstyle-ocean .m-dish-badge { background: #f97316; color: #fff; }
        .mstyle-ocean .m-price-badge { background: #0284c7; color: #fff; }
        .mstyle-ocean .m-footer-banner { background: #03045e; color: #fff; }
        .mstyle-ocean .m-footer-icon { background: #00b4d8; color: #03045e; }

        /* ------------------------------------------------------------------------- */
        /* الستايل 4: بوستر السوشيال ميديا المصور (Visual Cards Grid) */
        /* ------------------------------------------------------------------------- */
        .menu-printable-board.mstyle-poster {
            background: #fffbeb; color: #1f2937; border: 6px solid #dc2626;
        }
        .mstyle-poster .m-hero-header {
            background: linear-gradient(135deg, #dc2626, #ea580c); color: #fff; margin-bottom: 18px;
        }
        .mstyle-poster .m-logo-ring { background: #fde047; }
        .mstyle-poster .m-rest-title { color: #fff; }
        .mstyle-poster .m-rest-slogan { background: #111; color: #fde047; }
        .mstyle-poster .m-cooking-strip { background: #fef2f2; border: 2px dashed #f87171; color: #991b1b; }
        .mstyle-poster .m-cook-pill { background: #fff; border: 1px solid #fecaca; }
        .mstyle-poster .m-category-card { background: #fff; border: 2px solid #fed7aa; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
        .mstyle-poster .m-cat-banner { background: #dc2626; color: #fff; }
        .mstyle-poster .m-dish-item { background: #fff8f6; border: 1px solid #fed7aa; }
        .mstyle-poster .m-dish-img { width: 64px; height: 64px; border: 2px solid #dc2626; }
        .mstyle-poster .m-dish-badge { background: #dc2626; color: #fff; }
        .mstyle-poster .m-price-badge { background: #fde047; color: #991b1b; border: 2px solid #dc2626; }
        .mstyle-poster .m-footer-banner { background: #111827; color: #fde047; }
        .mstyle-poster .m-footer-icon { background: #dc2626; color: #fff; }