.site-header .site-search {
display: none;
}

@media (min-width: 768px) {
    .storefront-full-width-content.single-product div.product .summary {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
    }
}

/* --- Wariant B: dwukolumnowy --- */
body.single-product .custom-product-header .row-1 {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}

body.single-product .custom-product-header .row-1 h1.product_title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    flex: 1;
}

body.single-product .custom-product-header .row-1 .price,
body.single-product .custom-product-header .row-1 form.cart {
    flex: 0 0 auto;
    margin: 0 0 0 15px;
}

body.single-product .custom-product-header .row-2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

/* --- Mobile: poniżej 768px układ pionowy --- */
@media (max-width: 767px) {
    body.single-product .custom-product-header .row-1 {
        display: block !important;
    }

    body.single-product .custom-product-header .row-1 h1.product_title {
        margin-bottom: 10px;
    }

    body.single-product .custom-product-header .row-1 .price,
    body.single-product .custom-product-header .row-1 form.cart {
        display: block;
        margin: 5px 0;
    }

    body.single-product .custom-product-header .row-2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}


/* odtąd */
/* Styl przycisku "Dodaj do koszyka" na stronie pojedynczego produktu */
body.single-product .single_add_to_cart_button {
    background-color: #a77556 !important; /* nowy kolor */
    border-color: #a77556 !important;
    border-radius: 4px !important; /* zaokrąglenie rogów */
    color: #fff !important;
    padding: 12px 24px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

/* Efekt hover */
body.single-product .single_add_to_cart_button:hover {
    background-color: #8f5f44 !important; /* ciemniejszy odcień przy najechaniu */
    border-color: #8f5f44 !important;
}
