.elementor-32496 .elementor-element.elementor-element-d334e75{--display:flex;}/* Start custom CSS for single_product_side_layout, class: .elementor-element-1cd0b61 *//* Kontener główny widgetu */
.custom-single-product {
    max-width: 1200px;
    margin: 0 auto; /* Wyśrodkowanie widgetu na stronie */
    padding: 20px;
    box-sizing: border-box;
}

/* Breadcrumbs */
.custom-single-product .custom-breadcrumbs {
    margin-bottom: 20px;
}

/* Row top: zdjęcie + krótki opis */
.custom-single-product .row-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Wyśrodkowanie całego rzędu */
    gap: 40px;
    align-items: flex-start;
}

/* Zdjęcie produktu */
.custom-single-product .custom-gallery {
    flex: 0 1 400px;
    display: flex;
    justify-content: center;
}
.custom-single-product .custom-gallery img {
    max-width: 100%;
    border-radius: 6px;
}

/* Kolumna z opisem */
.custom-single-product .custom-info-top {
    flex: 0 1 500px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Tytuł produktu */
.custom-single-product .custom-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Cena produktu */
.custom-single-product .custom-price {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-bottom: 10px;
}

/* Krótki opis */
.custom-single-product .custom-excerpt {
    font-size: 1rem;
    line-height: 1.5;
}

/* Row 2: przycisk i powiązane produkty */
.custom-single-product .row-bottom {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Wyśrodkowanie dolnej sekcji */
    gap: 20px;
}

/* Wyśrodkowanie formularza dodania do koszyka */
.custom-single-product form.cart {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px;
    margin-top: 20px;
}

/* Pole ilości i przycisk w jednej linii */
.custom-single-product form.cart .quantity {
    display: inline-flex !important;
    margin: 0;
}
.custom-single-product form.cart .single_add_to_cart_button {
    display: inline-flex !important;
    padding: 12px 25px;
    background: #2c3e50;
    color: #fff;
    border-radius: 6px;
    font-size: 1rem;
    transition: 0.3s;
}
.custom-single-product form.cart .single_add_to_cart_button:hover {
    background: #34495e;
}

/* Powiązane produkty */
.custom-single-product .custom-related {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.custom-single-product .custom-related h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsywność */
@media(max-width:1024px){
    .custom-single-product .row-top {
        flex-wrap: wrap;
        justify-content: center;
    }

    .custom-single-product .custom-gallery,
    .custom-single-product .custom-info-top {
        flex: 1 1 100%;
    }

    .custom-single-product .custom-title {
        font-size: 1.8rem;
    }

    .custom-single-product .custom-price {
        font-size: 1.3rem;
    }
}

@media(max-width:768px){
    .custom-single-product {
        padding: 15px;
    }

    .custom-single-product .row-top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .custom-single-product .custom-title {
        font-size: 1.6rem;
    }

    .custom-single-product .custom-price {
        font-size: 1.2rem;
    }

    .custom-single-product .custom-excerpt {
        font-size: 0.95rem;
    }

    .custom-single-product .custom-related h2 {
        font-size: 1.5rem;
    }
}

@media(max-width:480px){
    .custom-single-product {
        padding: 10px;
    }

    .custom-single-product .custom-title {
        font-size: 1.4rem;
    }

    .custom-single-product .custom-price {
        font-size: 1.1rem;
    }

    .custom-single-product .custom-excerpt {
        font-size: 0.9rem;
    }
}/* End custom CSS */