        * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        
        html, body { margin: 0; padding: 0; background: #1a1a1a; font-family: 'IRANSans', Tahoma, sans-serif; overflow: hidden; overscroll-behavior-x: none; overscroll-behavior-y: none;}
        
        .header-bar { position: fixed; top: 15px; left: 50%; transform: translateX(-50%); padding: 8px 30px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 30px; border: 1px solid rgba(255,255,255,0.1); z-index: 1000; display: flex; align-items: center; gap: 10px;}
        .brand-title { color: #fff; font-size: 14px; font-weight: 500; margin: 0; letter-spacing: 0.5px; text-align: center; }
        
        .catalog-workspace { 
            position: fixed; 
            top: 70px; 
            bottom: 155px; 
            left: 0; right: 0; 
            display: flex; justify-content: center; align-items: center; 
            z-index: 1; overflow: auto; padding: 10px;
        }
        
        /* منطقه امن زوم */
        .zoom-safe-zone {
            position: absolute;
            top: 0;
            left: 15%;
            width: 70%;
            height: 100%;
            z-index: 50;
            touch-action: pan-x pan-y pinch-zoom;
        }

        .flipbook-wrap-container { 
            opacity: 0; transition: opacity 0.5s ease; 
            height: 100%; 
            aspect-ratio: 1 / 1.4; 
            max-width: 100%; 
            display: flex; justify-content: center; align-items: center; 
            pointer-events: none; transform-origin: center center; 
            direction: ltr !important; 
            position: relative; 
        }
        .flipbook-wrap-container.ready { opacity: 1; pointer-events: auto; }
        
        .sakh-loading { color: #f9a03f; font-size: 18px; font-weight: bold; text-align: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 999; }
        
        /* اطمینان از سفید بودن پس زمینه برای جلوگیری از هاله طوسی */
        .sakh-page { background-color: #ffffff !important; overflow: hidden; position: relative; border: none !important; box-shadow: none !important; }
        .sakh-watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-30deg); font-size: clamp(18px, 4vw, 32px); font-weight: bold; z-index: 10; pointer-events: none; user-select: none; color: rgba(255, 255, 255, 0.7); text-shadow: 1px 1px 4px rgba(0,0,0,0.3); white-space: nowrap; opacity: 0.8;}
        .sakh-page img { width: 100%; height: 100%; object-fit: contain; pointer-events: auto; touch-action: pan-x pan-y pinch-zoom; user-select: none; -webkit-user-drag: none; background: #ffffff;}
        
        /* تغییر حیاتی: بالا بردن z-index صفحه آخر تا لینک ساختمونی نیوز قابل کلیک شود */
        .sakh-custom-end-page { direction: rtl; background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; padding: 20px; color: #fff; position: relative; z-index: 100;}
        .sakh-custom-end-page h3 { color: #bbb; margin-bottom: 15px; font-size: clamp(14px, 2vw, 18px); font-weight: normal; letter-spacing: 1px; }
        .sakh-custom-end-page h2 { color: #fff; font-size: clamp(16px, 2.5vw, 22px); font-weight: normal; margin: 0; }
        .sakh-custom-end-page a { color: #f9a03f; text-decoration: none; font-weight: bold; transition: 0.3s; position: relative; z-index: 101; pointer-events: auto;}
        .sakh-custom-end-page a:hover { text-shadow: 0 0 10px rgba(249,160,63,0.5); }

        .sakh-thumbnails { position: fixed; bottom: 60px; left: 0; width: 100%; height: 80px; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; padding: 0 15px; box-sizing: border-box; z-index: 999; overflow-x: auto; white-space: nowrap; direction: ltr; scrollbar-width: none; }
        .sakh-thumbnails::-webkit-scrollbar { display: none; }
        .sakh-thumb-item { width: 45px; height: 65px; margin: 0 5px; cursor: pointer; border: 2px solid transparent; border-radius: 4px; overflow: hidden; flex-shrink: 0; transition: 0.3s; opacity: 0.6; }
        .sakh-thumb-item:hover, .sakh-thumb-item.active { border-color: #f9a03f; box-shadow: 0 0 15px rgba(249,160,63,0.5); opacity: 1; transform: scale(1.05);}
        .sakh-thumb-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

        .sakh-toolbar { position: fixed; bottom: 15px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; gap: 5px; z-index: 1000; padding: 8px 15px; border-radius: 40px; border: 1px solid rgba(255,255,255,0.1); }
        .tb-btn { background: none; border: none; font-size: 18px; font-weight: bold; cursor: pointer; color: #fff; display: flex; justify-content: center; align-items: center; padding: 8px; transition: 0.2s; border-radius: 50%; width: 36px; height: 36px; position: relative;}
        .tb-btn:hover { color: #f9a03f; background: rgba(255,255,255,0.1); }
        .tb-btn.disabled { opacity: 0.3; cursor: default; pointer-events: none; }
        .tb-btn svg { width: 18px; height: 18px; }
        
        .tb-btn-contact { color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.4); }
        .tb-btn-contact:hover { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }
        .tb-separator { width: 1px; height: 20px; background: rgba(255,255,255,0.2); margin: 0 8px; }
        .tb-pagination { font-family: 'Tahoma', sans-serif; font-size: 14px; font-weight: bold; color: #fff; display: flex; align-items: center; gap: 5px; direction: ltr; user-select: none; padding: 0 5px; }
        
        .sakh-contact-menu {
            position: absolute;
            bottom: 50px;
            right: 0;
            background: rgba(11, 19, 43, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid #f9a03f;
            border-radius: 12px;
            padding: 10px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.5);
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            min-width: 160px;
            z-index: 1001;
        }
        .sakh-contact-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
        .sakh-contact-item {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 12px;
            color: #fff;
            text-decoration: none;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: bold;
            transition: 0.2s;
            direction: rtl;
            text-align: right;
        }
        .sakh-contact-item svg { width: 18px; height: 18px; flex-shrink: 0;}
        .sakh-contact-item.phone:hover { background: rgba(46, 204, 113, 0.2); color: #2ecc71;}
        .sakh-contact-item.wa:hover { background: rgba(37, 211, 102, 0.2); color: #25D366;}
        .sakh-contact-item.tg:hover { background: rgba(0, 136, 204, 0.2); color: #0088cc;}
        .sakh-contact-item.insta:hover { background: rgba(225, 48, 108, 0.2); color: #E1306C;}

        .edge-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 45px; height: 45px; background: rgba(0,0,0,0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; z-index: 999; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); }
        .edge-nav:hover { background: #f9a03f; color: #000; }
        .edge-nav svg { width: 24px; height: 24px; }
        .edge-nav.right { right: 20px; }
        .edge-nav.left { left: 20px; }
        
        @media (max-width: 768px) {
            .header-bar { width: 90%; padding: 8px 15px; }
            .brand-title { font-size: 13px; }
            .sakh-thumbnails { height: 70px; bottom: 70px; }
            .sakh-thumb-item { width: 40px; height: 55px; }
            .sakh-toolbar { gap: 2px; padding: 6px 10px; bottom: 10px; }
            .tb-btn { width: 32px; height: 32px; padding: 6px; }
            .tb-pagination { font-size: 12px; }
            .flipbook-wrap-container { padding: 60px 5px 120px; }
            .edge-nav { width: 35px; height: 35px; }
            .edge-nav svg { width: 18px; height: 18px; }
            .sakh-contact-menu { right: auto; left: 50%; transform: translateX(-50%) translateY(10px); }
            .sakh-contact-menu.show { transform: translateX(-50%) translateY(0); }
        }
        