.woocommerce-shop .woocommerce-products-header,
.woocommerce-shop .woocommerce-result-count {
    display: none;
}

.woocommerce-shop .content-area {
    padding: var(--spacing-xl) 0;

}



.woocommerce-shop .products {
    padding: var(--spacing-sm) 0 !important;
}

.woocommerce-ordering {
    position: relative;
    width: 100%;
    text-align: right;
}

.woocommerce-ordering::before {
    content: '';
    height: 1px;
    width: calc(100% - (258px + 15px));
    background: #D9D9D9;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);

    @media (min-width: 760px) {
        width: calc(100% - (300px + 20px));
    }

    @media (min-width: 1100px) {
        width: calc(100% - (352px + 20px));
    }
}


.woocommerce-ordering select {
    margin-left: auto;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f9f7f3;
    border: none;
    padding: 12px 50px 12px 20px;
    font-size: var(--font-size-h6);
    font-weight: 500;
    color: #000;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg fill='black' height='16' width='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    outline: none;
}

/* Usuń niepotrzebne marginesy WooCommerce */
.woocommerce-ordering {
    margin: 0;
}


/* Styl opcji (dla niektórych przeglądarek) */
.woocommerce-ordering option {
    color: #000;
    background: #fff;
}

.woocommerce-shop .product {
    padding: var(--spacing-sm) !important;
    background: #FFFCF7;
}




.woocommerce nav.woocommerce-pagination ul {
    padding-top: var(--spacing-sm);
    flex-basis: 100%;
    width: 100%;
    list-style: none;
    display: flex;
    gap: 10px;
    justify-content: end;
    border: none !important;
}


.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-block !important;
    width: 40px !important;
    height: 40px !important;
    text-align: center !important;
    font-size: var(--font-size-h6) !important;
    text-decoration: none !important;
    background: #F9F6EB !important;
    color: var(--color) !important;
    transition: .3s all !important;
    font-family: var(--font) !important;
    padding: 10px !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span {
    color: var(--white) !important;
    background: var(--color) !important;
}

.woocommerce-shop .next.page-numbers,
.woocommerce-shop .prev.page-numbers {
    display: none !important;
}

.woocommerce ul.products li.product a img {
    margin-bottom: var(--spacing-xs);
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    color: var(--color);
    font-family: var(--header-font);
    font-size: var(--font-size-h5);
    font-weight: 700;
    line-height: 122.46%;
    padding-bottom: var(--spacing-xs);
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: var(--color);
    font-family: var(--header-font);
    font-size: var(--font-size-h6);
    font-weight: 400;
    line-height: 122.46%;
    padding-bottom: var(--spacing-xs);
}

.woocommerce .devmn-short-description {
    color: var(--black);
    font-weight: 400;
    line-height: 122.46%;
    padding-bottom: var(--spacing-sm);
}

.woocommerce .devmn-short-description p {
    margin: 0;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
    background: transparent;
    width: 100%;
    text-align: center;
    color: var(--color);
    border-bottom: 2px solid var(--color);
    border-radius: 0;
    padding: 10px 15px;
    transition: .3s all;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover {
    background: transparent;
    color: var(--color);
    transform: scale(1.05);
}

.single-product  .woocommerce-notices-wrapper {
    padding: var(--spacing-md) 0;
    display: block;
}

.woocommerce div.product .woocommerce-tabs {
    margin: var(--spacing-sm) 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: none;
}

.single-product  .product h2 {
    color: var(--color) !important;
    font-family: var(--header-font) !important;
    font-size: var(--font-size-h4) !important;
    font-weight: 700 !important;
    line-height: 122.46% !important;
    padding-bottom: var(--spacing-xs) !important;
    margin: 0 !important;
}

.single-product .related.products .woocommerce-loop-product__title {
    font-size: var(--font-size-h6) !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    padding: var(--spacing-xs);
    background: #FFFCF7;

}

.woocommerce div.product .product_title {
    color: var(--color);
    font: var(--header-font);
    font-size: var(--font-size-h4);
    font-weight: 700;
}

.single-product  .price {
    color: var(--color) !important;
    font: var(--header-font);
    font-size: var(--font-size-h4);
    font-weight: 700;
}

.single-product form {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: end;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-md);
}

.woocommerce div.product form.cart .button {
    background: transparent;
    color: var(--color);
    flex-basis: auto;
    max-width: fit-content;
}

.woocommerce div.product form.cart::after,
.woocommerce div.product form.cart::before {
    display: none;
}

.product_meta .posted_in {
    display: none;
}

.woocommerce-message .button.wc-forward {
    max-width: fit-content !important;
}

.wp-block-woocommerce-cart.alignwide {
    padding: var(--spacing-xl);
}

.wc-block-components-button:not(.is-link) {
    display: inline-block;
    padding: 10px 15px;
    padding-right: 45px;
    border: 1px solid var(--color);
    color: var(--white);
    text-decoration: none;
    font-family: var(--header-font);
    font-size: var(--font-size-small);
    position: relative;
    transition: .3s all;
    background: var(--color);
    border-radius: 0;
}

.wc-block-components-form .wc-block-components-text-input input[type=email],
.wc-block-components-form .wc-block-components-text-input input[type=number],
.wc-block-components-form .wc-block-components-text-input input[type=password],
.wc-block-components-form .wc-block-components-text-input input[type=tel],
.wc-block-components-form .wc-block-components-text-input input[type=text],
.wc-block-components-form .wc-block-components-text-input input[type=url],
.wc-block-components-text-input input[type=email],
.wc-block-components-text-input input[type=number],
.wc-block-components-text-input input[type=password],
.wc-block-components-text-input input[type=tel],
.wc-block-components-text-input input[type=text],
.wc-block-components-text-input input[type=url],
.wc-block-checkout__add-note .wc-block-components-textarea {
    border-radius: 0 !important;
}

.wc-block-components-quantity-selector {
    border-radius: 0 !important;
}

.wc-block-components-product-name {
    color: var(--color);
    font-family: var(--header-font);
    font-size: var(--font-size-h5);
    font-weight: 700;
    line-height: 122.46%;
    padding-bottom: var(--spacing-xs);
    text-decoration: none;
}

.wc-block-components-form.wc-block-checkout__form {
    display: block;
}

.wc-block-components-checkbox__label a {
    color: var(--color);
    font-weight: 700;
    text-decoration: none;
}

.wc-block-components-radio-control--highlight-checked,
.wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option {
    border-radius: 0;
    border-color: var(--color) !important;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
    border-radius: 0;
    border-color: var(--color) !important;
}

.woocommerce-table__product-name.product-name a {
    color: var(--color);
    font-weight: 700;
    text-decoration: none;
}