.ricetech-popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            animation: fadeInBg 0.4s ease-in;
            overflow-x: hidden;
            overflow-y: auto;
        }

        @keyframes fadeInBg {
            from {
                background: rgba(0, 0, 0, 0);
            }
            to {
                background: rgba(0, 0, 0, 0.6);
            }
        }

        .popup-container {
            position: relative;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            max-width: 50%;
            width: 100%;
            animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
            max-height: 90vh;
            /*overflow-y: auto;*/
            padding: 10px;
        }

        @keyframes slideInUp {
            from {
                transform: translateY(100px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .popup-image {
            width: 100%;
            height: auto;
            display: block;
            animation: zoomIn 0.8s ease-out;
        }

        @keyframes zoomIn {
            from {
                transform: scale(0.9);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 30px;
            height: 30px;
            background: rgba(255, 0, 0, 0);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 28px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            animation: scaleIn 0.6s ease-out 0.3s both;
            z-index: 10;
            box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
        }

        @keyframes scaleIn {
            from {
                transform: scale(0);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .close-btn:hover {
            background: rgba(255, 0, 0, 1);
            transform: rotate(90deg) scale(1.1);
            box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
        }

        .close-btn:active {
            transform: rotate(90deg) scale(0.95);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .popup-container {
                max-width: 100%;
                border-radius: 15px;
            }

            .close-btn {
                width: 40px;
                height: 40px;
                font-size: 24px;
                top: 10px;
                right: 10px;
            }
        }

        @media (max-width: 480px) {
            .ricetech-popup {
                padding: 10px;
            }

            .popup-container {
                max-width: 100%;
                border-radius: 12px;
                bottom: 75px;
            }

            .close-btn {
                width: 36px;
                height: 36px;
                font-size: 20px;
                top: 8px;
                right: 8px;
            }
        }

        /* Scrollbar Styling */
        .popup-container::-webkit-scrollbar {
            width: 8px;
        }

        .popup-container::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .popup-container::-webkit-scrollbar-thumb {
            background: #ff4444;
            border-radius: 4px;
        }

        .popup-container::-webkit-scrollbar-thumb:hover {
            background: #cc0000;
        }
        
        
        /* Hide mobile image by default */
.popup-mobile {
    display: none;
}

/* Show desktop image normally */
.popup-desktop {
    display: block;
}

/* When screen is mobile */
@media (max-width: 768px) {
    .popup-desktop {
        display: none !important;
    }

    .popup-mobile {
        display: block !important;
    }
}
