.page-container {
            flex: 1;
        }

        .product-page {
            display: flex;
            justify-content: center;
            align-items: center; /* Wycentrowanie treści pionowo */
            padding: 20px;
            background-color: white;
            margin: 20px auto;
            width: 80%;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            max-width: 1000px; /* Ograniczenie maksymalnej szerokości */
            flex-wrap: wrap;
            position: relative;
        }

        .image-gallery {
            display: flex;
            flex-direction: column;
            align-items: center; /* Wycentrowanie zdjęć */
            margin-right: 20px;
        }

        .main-image img {
            width: 400px;
            height: auto;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease;
        }

        .main-image img:hover {
            transform: scale(1.02);
        }

        .thumbnail-images {
            display: flex;
            justify-content: center; /* Wycentrowanie miniatur */
            gap: 10px;
            margin-top: 15px;
        }

        .thumbnail-images img {
            width: 70px;
            height: auto;
            cursor: pointer;
            transition: transform 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .thumbnail-images img:hover {
            transform: scale(1.05);
        }

        .product-details {
            text-align: center; /* Wycentrowanie szczegółów */
            max-width: 350px;
        }

        .product-details h2 {
            font-size: 24px;
            color: #000000;
            margin-bottom: 8px;
        }

        .product-details p {
            font-size: 16px;
            color: #000000;
            margin-bottom: 15px;
        }

        .product-details span.price {
            margin-bottom: 10px;
            display: inline-block;
            font-size: 20px;
        }

        .product-details button {
            background-color: #c6ae5c;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s ease, transform 0.2s ease;
            display: block;
            margin: 10px auto 0;
        }

        .product-details button:hover {
            background-color: #a58c4b;
            transform: scale(1.05);
        }

        .back-button {
            position: absolute;
            top: 20px;
            left: 20px;
            color: #000000;
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: color 0.3s ease;
        }

        .back-button:hover {
            color: #c6ae5c;
        }

        .back-button svg {
            width: 100%;
            height: 100%;
            transition: transform 0.3s ease;
        }

        .back-button:hover svg {
            transform: scale(1.1);
        }

        /* Lightbox (Okno modalne) */
        .lightbox {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
        }

        .lightbox-content {
            display: block;
            margin: auto;
            max-width: 80%;
            max-height: 80%;
        }

        .prev, .next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #fff;
            font-size: 36px;
            cursor: pointer;
            padding: 10px;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
        }

        .prev {
            left: 20px;
        }

        .next {
            right: 20px;
        }

        .close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: #fff;
            font-size: 40px;
            cursor: pointer;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            padding: 5px;
        }

        /* Responsywność */
        @media (max-width: 768px) {
            .product-page {
                flex-direction: column;
                text-align: center;
                width: 95%;
                padding: 10px;
            }

            .main-image img {
                width: 100%;
                max-width: 280px;
            }

            .thumbnail-images {
                justify-content: center;
                gap: 8px;
            }

            .thumbnail-images img {
                width: 60px;
            }

            .product-details {
                max-width: 100%;
                margin-top: 20px;
            }

            .product-details h2 {
                font-size: 20px;
            }

            .product-details p, .product-details span.price {
                font-size: 16px;
            }

            .product-details button {
                font-size: 14px;
                padding: 8px 16px;
            }
        }
        h2 {
            text-align: center;
        }
        h4 {
            text-align: left;
        }