/* Unique class for products - jm-product */
        .jm-product-container {
            width: 100%;
            margin: 0 auto;
            padding-top: 20px;
            font-family: Arial, sans-serif;
        }

        .jm-product-card {
            background: #ffffff;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .jm-product-title {
            color: #c41e3a;
            font-size: 28px;
            font-weight: bold;
            margin: 0 0 20px 0;
            padding-bottom: 15px;
            border-bottom: 3px solid #c41e3a;
        }

        .jm-product-description {
            color: #666666;
            font-size: 18px;
            font-weight: 400;
            line-height: 1.6;
            margin-bottom: 30px;
            padding: 15px 0;
        }

       .jm-product-main-image {
            width: 100%;
            height: 500px;
            background: #f5f5f5;
            border: 2px solid #e0e0e0;
            border-radius: 6px;
            margin-bottom: 25px;
            overflow: hidden;
        }

        .jm-product-main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .jm-product-gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }

.jm-product-image {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jm-product-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jm-product-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}        .jm-product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .jm-product-full-text {
            color: #333333;
            font-size: 15px;
            line-height: 1.8;
            margin-bottom: 25px;
            padding: 20px;
            background: #fafafa;
            border-left: 4px solid #c41e3a;
            border-radius: 4px;
        }

        .jm-product-full-text p {
            margin: 0 0 15px 0;
        }

        .jm-product-full-text p:last-child {
            margin-bottom: 0;
        }

        .jm-product-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 25px;
            padding: 20px;
            background: #f8f8f8;
            border-radius: 6px;
        }

        .jm-product-info-item {
            display: flex;
            flex-direction: column;
        }

        .jm-product-info-label {
            color: #666;
            font-size: 13px;
            font-weight: bold;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .jm-product-info-value {
            color: #333;
            font-size: 16px;
            font-weight: bold;
        }

        .jm-product-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .jm-product-btn {
            flex: 1;
            min-width: 200px;
            padding: 15px 30px;
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            text-decoration: none;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .jm-product-btn-demo {
            background: #ffffff;
            color: #c41e3a;
            border: 2px solid #c41e3a;
        }

        .jm-product-btn-demo:hover {
            background: #c41e3a;
            color: #ffffff;
        }

        .jm-product-btn-download {
            background: #c41e3a;
            color: #ffffff;
            border: 2px solid #c41e3a;
            position: relative;
        }

        .jm-product-btn-download:hover {
            background: #a01828;
            border-color: #a01828;
            color: white;
        }

        .jm-product-download-counter {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.2);
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: bold;
        }

        @media (max-width: 768px) {
            .jm-product-card {
                padding: 20px;
            }

            .jm-product-title {
                font-size: 22px;
            }

            .jm-product-main-image {
                height: 250px;
            }

            .jm-product-gallery {
                grid-template-columns: 1fr;
            }

            .jm-product-buttons {
                flex-direction: column;
            }

            .jm-product-btn {
                width: 100%;
                min-width: unset;
            }
            
            .jm-product-info {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .jm-product-btn {
                font-size: 14px;
                padding: 12px 20px;
            }
            
            .jm-product-download-counter {
                font-size: 12px;
                padding: 2px 8px;
            }
        }

        /* Modal dla powiększenia zdjęć */
        .jm-product-modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            animation: modalFadeIn 0.3s ease;
        }

        .jm-product-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .jm-product-modal-content {
            max-width: 90%;
            max-height: 90%;
            position: relative;
            animation: modalZoomIn 0.3s ease;
        }

        .jm-product-modal-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        }

        .jm-product-modal-close {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            background: rgba(0,0,0,0.5);
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }

        .jm-product-modal-close:hover {
            background: rgba(196, 30, 58, 0.8);
        }

        @keyframes modalFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

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

        @media (max-width: 768px) {
            .jm-product-modal-content {
                max-width: 95%;
                max-height: 80%;
            }
            
            .jm-product-modal-close {
                top: -35px;
                font-size: 24px;
                width: 30px;
                height: 30px;
            }
        }