/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Astra is fast, fully customizable &amp; beautiful WordPress theme suitable for blog, personal portfolio, business website and WooCommerce storefront. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with Schema.org code integrated and is Native AMP ready so search engines will love your site. It offers special features and templates so it works perfectly with all page builders like Elementor, Beaver Builder, Visual Composer, SiteOrigin, Divi, etc. Some of the other features: # WooCommerce Ready # Responsive # RTL &amp; Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained &amp; Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and WooCommerce ready theme that you can use for building any kind of website!
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.1.5.1755881717
Updated: 2025-08-22 18:55:17

/* 
    ========================================================================
    EDYCJA CHECKOUT 
    ========================================================================
*/

/* Przycisk powrotu do sklepu */
.wc-proceed-to-checkout a.checkout-button { white-space: normal !important; font-weight: 525; }
.wc-proceed-to-checkout a.checkout-button br { display: none !important; }

/* =========================================================
   Pola tekstowe i selektory
   ========================================================= */
.woocommerce-checkout .form-row input.input-text, .woocommerce-checkout .form-row textarea, .woocommerce-checkout .form-row select, .woocommerce-checkout .select2-container--default .select2-selection--single, #order_comments { border: 1px solid #000 !important; border-radius: 10px !important; color: #000 !important; padding: 12px 16px !important; box-shadow: none !important; background-color: #fff !important; }
.woocommerce-checkout .form-row input.input-text:focus, .woocommerce-checkout .form-row textarea:focus, .woocommerce-checkout .form-row select:focus { border-color: #000 !important; outline: none !important; box-shadow: 0 0 0 2px rgba(0,0,0,0.08) !important; }
.woocommerce-checkout .select2-container--default .select2-selection--single { height: 48px !important; display: flex !important; align-items: center !important; }
.woocommerce-checkout .select2-container--default .select2-selection__rendered { color: #000 !important; line-height: 1.4 !important; padding-left: 0 !important; }
.woocommerce-checkout .form-row input::placeholder, .woocommerce-checkout .form-row textarea::placeholder { color: #555 !important; opacity: 1; }
.woocommerce-checkout .form-row label { color: #000 !important; font-weight: 600; }

/* =========================================================
   Układ pół formularza osobowego
   ========================================================= */
.woocommerce-checkout .woocommerce-billing-fields, .woocommerce-checkout .woocommerce-shipping-fields, .woocommerce-checkout .woocommerce-additional-fields { max-width: 85%; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: block !important; }
.woocommerce-billing-fields__field-wrapper::after, .woocommerce-shipping-fields__field-wrapper::after, .woocommerce-additional-fields__field-wrapper::after { content: ""; display: table; clear: both; }
.woocommerce-checkout .form-row { margin: 0 0 8px 0 !important; box-sizing: border-box !important; }
#billing_first_name_field, #shipping_first_name_field { width: calc(50% - 5px) !important; max-width: calc(50% - 5px) !important; float: left !important; clear: left !important; margin-right: 10px !important; display: block !important; }
#billing_last_name_field, #shipping_last_name_field { width: calc(50% - 5px) !important; max-width: calc(50% - 5px) !important; float: left !important; clear: none !important; margin-right: 0 !important; display: block !important; }
.woocommerce-checkout .form-row-wide { width: 100% !important; max-width: 100% !important; clear: both !important; float: none !important; }
#billing_address_2_field, #shipping_address_2_field { display: none !important; }

/* =========================================================
   Ramka Twoje Zamówienie & Koszyk
   ========================================================= */
.woocommerce-checkout #order_review_heading { margin: 0 !important; padding: 18px 24px !important; border: 1px solid #000 !important; border-bottom: none !important; border-radius: 12px 12px 0 0 !important; background-color: #fff !important; font-size: 1.15em !important; }
.woocommerce-checkout #order_review, .woocommerce-checkout .woocommerce-checkout-review-order { border: 1px solid #000 !important; border-radius: 0 0 12px 12px !important; padding: 20px 24px !important; background-color: #fff !important; margin-top: 0 !important; }

/* =========================================================
   Tabela Koszyka
   ========================================================= */
.woocommerce-checkout table.shop_table { border: none !important; border-collapse: separate !important; border-spacing: 0 !important; width: 100% !important; margin-bottom: 20px !important; display: table !important; }
.woocommerce-checkout table.shop_table thead, .woocommerce-checkout table.shop_table tbody, .woocommerce-checkout table.shop_table tfoot { display: table-row-group !important; }
.woocommerce-checkout table.shop_table tr { display: table-row !important; }
.woocommerce-checkout table.shop_table th, .woocommerce-checkout table.shop_table td { display: table-cell !important; flex-direction: unset !important; flex-wrap: unset !important; }
.woocommerce-checkout table.shop_table thead th { padding: 10px 8px !important; border-bottom: 1px solid #000 !important; font-weight: 700 !important; color: #000 !important; }
.woocommerce-checkout table.shop_table tbody .cart_item td { padding: 16px 8px !important; vertical-align: top !important; border-bottom: 1px solid #eee !important; line-height: 1.6 !important; }
.woocommerce-checkout table.shop_table td.product-name { font-weight: 600 !important; padding-right: 16px !important; width: 70% !important; }
.woocommerce-checkout table.shop_table td.product-total { font-weight: 600 !important; white-space: nowrap !important; text-align: right !important; vertical-align: top !important; width: 30% !important; }
.woocommerce-checkout table.shop_table td.product-name strong.product-quantity { display: inline-block !important; margin-left: 6px !important; font-weight: 400 !important; color: #555 !important; }
.woocommerce-checkout table.shop_table td.product-name dl.variation, .woocommerce-checkout table.shop_table td.product-name .wc-item-meta { display: block !important; margin: 10px 0 0 0 !important; padding: 10px 0 0 0 !important; border-top: 1px dashed #ddd !important; font-size: 0.9em !important; line-height: 1.7 !important; list-style: none !important; clear: both !important; width: 100% !important; }
.woocommerce-checkout table.shop_table td.product-name dl.variation dt, .woocommerce-checkout table.shop_table td.product-name .wc-item-meta li strong { display: inline !important; float: none !important; clear: none !important; font-weight: 600 !important; color: #000 !important; margin: 0 4px 0 0 !important; padding: 0 !important; width: auto !important; }
.woocommerce-checkout table.shop_table td.product-name dl.variation dd { display: inline !important; float: none !important; clear: none !important; margin: 0 !important; padding: 0 !important; color: #333 !important; width: auto !important; }
.woocommerce-checkout table.shop_table td.product-name dl.variation dd p, .woocommerce-checkout table.shop_table td.product-name .wc-item-meta li p { display: inline !important; margin: 0 !important; padding: 0 !important; }
.woocommerce-checkout table.shop_table td.product-name dl.variation dd::after { content: ""; display: block; margin-bottom: 4px; }
.woocommerce-checkout table.shop_table td.product-name .wc-item-meta li { display: block !important; margin-bottom: 4px !important; }

/* =========================================================
   Zoptymalizowana sekcja metod wysyłki 
   ========================================================= */
.woocommerce-checkout table.shop_table tfoot tr.woocommerce-shipping-totals, .woocommerce-checkout table.shop_table tfoot tr.shipping { display: flex !important; flex-wrap: nowrap !important; width: 100% !important; border-bottom: 1px solid #eee !important; align-items: flex-start !important; justify-content: space-between !important; margin: 0 !important; }
.woocommerce-checkout table.shop_table tfoot tr.woocommerce-shipping-totals th, .woocommerce-checkout table.shop_table tfoot tr.shipping th { vertical-align: top !important; padding: 16px 8px !important; width: 30% !important; text-align: left !important; border-bottom: none !important; display: block !important; }
.woocommerce-checkout table.shop_table tfoot tr.woocommerce-shipping-totals td, .woocommerce-checkout table.shop_table tfoot tr.shipping td { padding: 16px 0 !important; vertical-align: top !important; width: 70% !important; text-align: right !important; border-bottom: none !important; display: block !important; }
.woocommerce-checkout tr.shipping #shipping_method, .woocommerce-checkout tr.woocommerce-shipping-totals #shipping_method { list-style: none !important; padding: 0 !important; margin: 0 !important; display: block !important; width: 100% !important; box-sizing: border-box !important; float: none !important; }
.woocommerce-checkout tr.shipping #shipping_method li, .woocommerce-checkout tr.woocommerce-shipping-totals #shipping_method li { padding: 12px 16px !important; margin: 0 0 12px 0 !important; border: 1px solid #ddd !important; border-radius: 10px !important; background: #fff !important; list-style: none !important; line-height: 1.5 !important; white-space: normal !important; word-break: normal !important; font-size: 15px !important; display: block !important; text-align: center !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; position: relative !important; cursor: pointer !important; transition: border-color 0.2s ease !important; }
.woocommerce-checkout tr.shipping #shipping_method li:last-child, .woocommerce-checkout tr.woocommerce-shipping-totals #shipping_method li:last-child { margin-bottom: 0 !important; }
.woocommerce-checkout tr.shipping #shipping_method li:hover, .woocommerce-checkout tr.woocommerce-shipping-totals #shipping_method li:hover { border-color: #ddd !important; box-shadow: none !important; }
.woocommerce-checkout tr.shipping #shipping_method li:has(input[type="radio"]:checked), .woocommerce-checkout tr.woocommerce-shipping-totals #shipping_method li:has(input[type="radio"]:checked) { border-color: #000 !important; }
.woocommerce-checkout tr.shipping #shipping_method li label, .woocommerce-checkout tr.woocommerce-shipping-totals #shipping_method li label { display: inline-block !important; vertical-align: middle !important; margin: 0 !important; padding: 0 !important; font-weight: 500 !important; color: #000 !important; cursor: pointer !important; line-height: 1.5 !important; text-align: left !important; text-indent: 0 !important; max-width: calc(100% - 30px) !important; }
.woocommerce-checkout tr.shipping #shipping_method li input[type="radio"], .woocommerce-checkout tr.woocommerce-shipping-totals #shipping_method li input[type="radio"] { margin: 0 12px 0 0 !important; vertical-align: middle !important; display: inline-block !important; }
.woocommerce-checkout tr.shipping #shipping_method li .amount, .woocommerce-checkout tr.shipping #shipping_method li strong, .woocommerce-checkout tr.woocommerce-shipping-totals #shipping_method li .amount, .woocommerce-checkout tr.woocommerce-shipping-totals #shipping_method li strong { font-weight: 700 !important; color: #000 !important; display: inline !important; }
.woocommerce-checkout tr.shipping ul#shipping_method li #selected-paczkomat, .woocommerce-checkout tr.shipping ul#shipping_method li .inpost-paczkomaty, .woocommerce-checkout tr.woocommerce-shipping-totals ul#shipping_method li #selected-paczkomat, .woocommerce-checkout tr.woocommerce-shipping-totals ul#shipping_method li .inpost-paczkomaty { margin-top: 15px !important; display: block !important; width: 100% !important; text-align: center !important; }

/* Podsumowanie Ceny */
.woocommerce-checkout table.shop_table tfoot th, .woocommerce-checkout table.shop_table tfoot td { padding: 12px 8px !important; border-bottom: 1px solid #eee !important; font-weight: 500 !important; }
.woocommerce-checkout table.shop_table tfoot .order-total th, .woocommerce-checkout table.shop_table tfoot .order-total td { border-bottom: none !important; border-top: 2px solid #000 !important; padding-top: 14px !important; font-size: 1.1em !important; font-weight: 700 !important; }
.woocommerce-checkout table.shop_table tfoot .order-total .amount { color: #000 !important; }

/* =========================================================
   Metody płatności WooCommerce + Autopay
   ========================================================= */
.woocommerce-checkout #payment#payment {
    margin-top: 16px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.woocommerce-checkout #payment#payment :is(
    .payment-heading,
    h3,
    .wc_payment_methods_heading
) {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-size: .95em !important;
}

.woocommerce-checkout #payment#payment :is(
    .payment-heading,
    h3,
    .wc_payment_methods_heading
) img,
.woocommerce-checkout #payment#payment img[src*="autopay"],
.woocommerce-checkout #payment#payment img[alt*="Autopay" i] {
    width: auto !important;
    max-width: 85px !important;
    height: auto !important;
    max-height: 20px !important;
    margin: 0 !important;
}

.woocommerce-checkout #payment#payment ul.payment_methods {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    list-style: none !important;
}

.woocommerce-checkout #payment#payment .wc_payment_method {
    min-height: 0 !important;
    margin: 0 0 4px !important;
    padding: 12px 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    background: transparent !important;
    line-height: 1 !important;
    list-style: none !important;
}

.woocommerce-checkout #payment#payment .wc_payment_method > label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    cursor: pointer !important;
}

.woocommerce-checkout #payment#payment .wc_payment_method > input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
}

.woocommerce-checkout #payment#payment .payment_box {
    display: block !important;
    margin: 8px 0 0 !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
    background: #f9f9f9 !important;
    font-size: .9em !important;
    line-height: 1.5 !important;
}

.woocommerce-checkout #payment#payment .payment_box[style*="display: none"],
.woocommerce-checkout #payment#payment .payment_box[style*="display:none"] {
    display: none !important;
}

.woocommerce-checkout #payment#payment .payment_box::before {
    display: none !important;
}

.woocommerce-checkout #payment#payment
.payment_box.payment_method_bluemedia >
.payment_box.payment_method_bacs:first-child {
    display: none !important;
}

/* Główna lista Autopay */
.woocommerce-checkout #payment#payment .bm-payment-channels-wrapper {
    --mh-row-height: 62px;
    --mh-border: #ddd;
    --mh-bank-border: #eee;
    --mh-selected: #111;
    --mh-font-size: 15px;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper::before {
    content: "Wybierz metodę płatności, której chcesz użyć." !important;
    display: block !important;
    margin: 0 0 10px !important;
    color: #555 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    list-style: none !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods > div {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods > div > li,
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods > div > li > ul {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper li:is(
    .bm-payment-channel-item,
    .bm-payment-channel-group-item
) {
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper li:is(
    .bm-payment-channel-item,
    .bm-payment-channel-group-item
) > label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    color: #000 !important;
    font-size: var(--mh-font-size) !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    cursor: pointer !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper li:is(
    .bm-payment-channel-item,
    .bm-payment-channel-group-item
) > label::before {
    content: none !important;
    display: none !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper li:is(
    .bm-payment-channel-item,
    .bm-payment-channel-group-item
) > label > input[type="radio"] {
    flex: 0 0 auto !important;
    width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    cursor: pointer !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper li:is(
    .bm-payment-channel-item,
    .bm-payment-channel-group-item
) > label > img {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 55px !important;
    height: auto !important;
    max-height: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    object-fit: contain !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper li:is(
    .bm-payment-channel-item,
    .bm-payment-channel-group-item
) > label > p {
    margin: 0 !important;
    padding: 0 !important;
    font: inherit !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper :is(
    .bm-payment-channel-method-name,
    .bm-payment-channel-group-method-name
) {
    font-size: var(--mh-font-size) !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-payment-channel-method-desc {
    display: none !important;
}

/* Zwykłe, pojedyncze metody */
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div[class*="bm-group-"]:not(.bm-group-expandable):not(.bm-group-portfel-elektroniczny) {
    display: flex !important;
    align-items: center !important;
    height: var(--mh-row-height) !important;
    min-height: var(--mh-row-height) !important;
    padding: 0 16px !important;
    overflow: hidden !important;
    border: 1px solid var(--mh-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div[class*="bm-group-"]:not(.bm-group-expandable):not(.bm-group-portfel-elektroniczny) > li,
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div[class*="bm-group-"]:not(.bm-group-expandable):not(.bm-group-portfel-elektroniczny) > li > ul,
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div[class*="bm-group-"]:not(.bm-group-expandable):not(.bm-group-portfel-elektroniczny) > li > ul > li {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 100% !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div[class*="bm-group-"]:not(.bm-group-expandable):not(.bm-group-portfel-elektroniczny)
li.bm-payment-channel-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div[class*="bm-group-"]:not(.bm-group-expandable):not(.bm-group-portfel-elektroniczny)
li.bm-payment-channel-item > label {
    height: 100% !important;
}

/* Oficjalny formularz karty Autopay (kanał 1500)
   Kafelek zachowuje stałą wysokość, a po wyborze rozwija widget pod etykietą. */
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div:has(#bm-gateway-id-1500) {
    display: block !important;
    height: var(--mh-row-height) !important;
    min-height: var(--mh-row-height) !important;
    padding: 0 16px !important;
    overflow: hidden !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div:has(#bm-gateway-id-1500:checked),
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div:has(li.bm-payment-channel-item.selected #bm-gateway-id-1500) {
    height: auto !important;
    min-height: var(--mh-row-height) !important;
    padding-bottom: 16px !important;
    overflow: visible !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div:has(#bm-gateway-id-1500:checked) > li,
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div:has(#bm-gateway-id-1500:checked) > li > ul,
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div:has(li.bm-payment-channel-item.selected #bm-gateway-id-1500) > li,
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div:has(li.bm-payment-channel-item.selected #bm-gateway-id-1500) > li > ul {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper
li.bm-payment-channel-item:has(> label > #bm-gateway-id-1500:checked),
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper
li.bm-payment-channel-item.selected:has(> label > #bm-gateway-id-1500) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: var(--mh-row-height) !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper
li.bm-payment-channel-item:has(> label > #bm-gateway-id-1500) > label {
    flex: 0 0 var(--mh-row-height) !important;
    flex-wrap: nowrap !important;
    height: var(--mh-row-height) !important;
    min-height: var(--mh-row-height) !important;
    white-space: nowrap !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper
li.bm-payment-channel-item:has(> label > #bm-gateway-id-1500) > label
.bm-payment-channel-method-name {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper
li.bm-payment-channel-item:has(> label > #bm-gateway-id-1500:checked) >
.bm-payment-channel-method-desc,
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper
li.bm-payment-channel-item.selected:has(> label > #bm-gateway-id-1500) >
.bm-payment-channel-method-desc {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    text-align: left !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper #bm-card-widget.bm-card-widget--classic {
    display: block !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 6px 0 0 !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-card-widget__help {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

/* Przelewy internetowe */
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-group-expandable {
    min-height: var(--mh-row-height) !important;
    padding: 0 16px !important;
    overflow: visible !important;
    border: 1px solid var(--mh-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    outline: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-group-expandable
li.bm-payment-channel-group-item {
    width: 100% !important;
    height: var(--mh-row-height) !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-group-expandable
li.bm-payment-channel-group-item > label {
    height: 100% !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-group-expandable
li.bm-payment-channel-group-item.bm-selected-group {
    border: 0 !important;
    background: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-group-expandable-wrapper {
    display: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-rows: 58px !important;
    gap: 10px 12px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 14px !important;
    padding: 2px 0 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-group-expandable:has(
    #bm-gateway-bank-group:checked
) .bm-group-expandable-wrapper.active {
    display: grid !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-group-expandable-wrapper >
li.bm-payment-channel-item {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    padding: 2px 4px !important;
    overflow: hidden !important;
    border: 1px solid var(--mh-bank-border) !important;
    border-radius: 8px !important;
    background: #fff !important;
    cursor: pointer !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-group-expandable-wrapper >
li.bm-payment-channel-item:is(.selected, :has(
    > label > input.bm-payment-channel-group-in-group:checked
)) {
    border-color: var(--mh-selected) !important;
    background: #fafafa !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-group-expandable-wrapper >
li.bm-payment-channel-item > label {
    position: static !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0 !important;
    height: 100% !important;
    text-align: center !important;
    overflow: visible !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-group-expandable-wrapper >
li.bm-payment-channel-item > label >
input[type="radio"].bm-payment-channel-group-in-group {
    position: absolute !important;
    inset: 0 !important;
    z-index: 10 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-group-expandable-wrapper >
li.bm-payment-channel-item > label >
img.bm-payment-channel-method-logo {
    width: 130px !important;
    max-width: calc(100% - 8px) !important;
    height: 36px !important;
    max-height: 36px !important;
    margin: 0 auto !important;
    object-position: center !important;
    transform: scale(1.15) !important;
    transform-origin: center !important;
    pointer-events: none !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper .bm-group-expandable-wrapper
.bm-payment-channel-method-name {
    display: none !important;
    pointer-events: none !important;
}

/* Google Pay i Apple Pay */
.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div.bm-group-portfel-elektroniczny {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div.bm-group-portfel-elektroniczny > li > ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div.bm-group-portfel-elektroniczny li.bm-payment-channel-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    height: var(--mh-row-height) !important;
    min-height: var(--mh-row-height) !important;
    padding: 0 16px !important;
    overflow: hidden !important;
    border: 1px solid var(--mh-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
}

.woocommerce-checkout #payment#payment
.bm-payment-channels-wrapper > ul.woocommerce-shipping-methods >
div.bm-group-portfel-elektroniczny li.bm-payment-channel-item > label {
    height: 100% !important;
}

html:not(.mh-apple-pay-available) body.woocommerce-checkout
#payment#payment .bm-payment-channels-wrapper
li.bm-payment-channel-item.bm-apple-pay,
.woocommerce-checkout #payment#payment .bm-payment-channels-wrapper
li.bm-payment-channel-item.bm-apple-pay[hidden],
.woocommerce-checkout #payment#payment .bm-payment-channels-wrapper
li.bm-payment-channel-item.bm-apple-pay[style*="display: none"],
.woocommerce-checkout #payment#payment .bm-payment-channels-wrapper
li.bm-payment-channel-item.bm-apple-pay[style*="display:none"] {
    display: none !important;
}

html.mh-apple-pay-available body.woocommerce-checkout
#payment#payment .bm-payment-channels-wrapper
li.bm-payment-channel-item.bm-apple-pay:not([hidden]) {
    display: flex !important;
}

/* Przycisk zamówienia */
#place_order {
    width: 100% !important;
    margin-top: 16px !important;
    padding: 18px 24px !important;
    border-radius: 10px !important;
    font-size: 1.15em !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .woocommerce-checkout #payment#payment .wc_payment_method {
        padding: 10px 14px !important;
    }

    .woocommerce-checkout #payment#payment
    .bm-payment-channels-wrapper {
        --mh-row-height: 60px;
        --mh-font-size: 14px;
    }

    .woocommerce-checkout #payment#payment
    .bm-payment-channels-wrapper >
    ul.woocommerce-shipping-methods >
    div[class*="bm-group-"]:not(.bm-group-expandable):not(.bm-group-portfel-elektroniczny),
    .woocommerce-checkout #payment#payment
    .bm-payment-channels-wrapper .bm-group-expandable {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .woocommerce-checkout #payment#payment
    .bm-payment-channels-wrapper .bm-group-expandable-wrapper {
        grid-auto-rows: 62px !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .woocommerce-checkout #payment#payment
    .bm-payment-channels-wrapper .bm-group-expandable-wrapper >
    li.bm-payment-channel-item {
        height: 62px !important;
        min-height: 62px !important;
        max-height: 62px !important;
        padding: 2px 3px !important;
    }

    .woocommerce-checkout #payment#payment
    .bm-payment-channels-wrapper .bm-group-expandable-wrapper >
    li.bm-payment-channel-item > label >
    img.bm-payment-channel-method-logo {
        width: 118px !important;
        max-width: calc(100% - 6px) !important;
        height: 38px !important;
        max-height: 38px !important;
        transform: scale(1.18) !important;
    }

    .woocommerce-checkout #payment#payment
    .bm-payment-channels-wrapper >
    ul.woocommerce-shipping-methods >
    div.bm-group-portfel-elektroniczny li.bm-payment-channel-item {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }
}

/* =========================================================
   Teksty zgód / Polityka prywatności
   ========================================================= */
.woocommerce-checkout .woocommerce-privacy-policy-text, .woocommerce-checkout .woocommerce-privacy-policy-text p, .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper p { font-size: 13px !important; font-weight: 400 !important; line-height: 1.4 !important; }
.woocommerce-checkout .woocommerce-privacy-policy-text { margin-bottom: 18px !important; }

/* =========================================================
   Responsywnosć - TELEFONY
   ========================================================= */
@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce-billing-fields, .woocommerce-checkout .woocommerce-shipping-fields, .woocommerce-checkout .woocommerce-additional-fields { max-width: 100%; }
    #billing_first_name_field, #shipping_first_name_field, #billing_last_name_field, #shipping_last_name_field { width: 100% !important; max-width: 100% !important; float: none !important; clear: both !important; margin-right: 0 !important; }
    #order_review_heading, #order_review, .woocommerce-checkout-review-order { padding: 14px 16px !important; }
    .woocommerce-checkout table.shop_table td.product-name { width: 65% !important; padding-right: 8px !important; }
    .woocommerce-checkout table.shop_table td.product-total { width: 35% !important; }
    .woocommerce-checkout table.shop_table tfoot tr.woocommerce-shipping-totals, .woocommerce-checkout table.shop_table tfoot tr.shipping { flex-wrap: wrap !important; }
    .woocommerce-checkout table.shop_table tfoot tr.woocommerce-shipping-totals th, .woocommerce-checkout table.shop_table tfoot tr.shipping th, .woocommerce-checkout table.shop_table tfoot tr.woocommerce-shipping-totals td, .woocommerce-checkout table.shop_table tfoot tr.shipping td { width: 100% !important; display: block !important; padding: 8px 0 !important; }
    .woocommerce-checkout table.shop_table tfoot tr.woocommerce-shipping-totals td, .woocommerce-checkout table.shop_table tfoot tr.shipping td { padding-top: 4px !important; padding-bottom: 16px !important; }
    .woocommerce-checkout tr.shipping #shipping_method li, .woocommerce-checkout tr.woocommerce-shipping-totals #shipping_method li { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding: 10px 14px !important; font-size: 14px !important; }

}
/* --- MINIMALISTYCZNA STYLIZACJA KOSZYKA WOOCOMMERCE --- */

/* 1. Zewnętrzna ramka dla głównej tabeli z produktami */
.woocommerce-cart .woocommerce-cart-form table.shop_table {
    border: 1px solid #000000 !important; /* Wymusza cienką, czarną ramkę na zewnątrz */
    border-radius: 10px !important;       /* Zaokrągla rogi na 10 pikseli */
    border-collapse: separate !important; /* Pozwala zaokrąglić rogi tabeli */
    border-spacing: 0 !important;         /* Zapobiega przerwom na krawędziach */
    overflow: hidden !important;          /* Ucina wszystko, co wychodzi poza zaokrąglenia */
}

/* 2. Zewnętrzna ramka dla podsumowania koszyka (Kwoty i Przejście do kasy) */
.woocommerce-cart .cart-collaterals .cart_totals {
    border: 1px solid #000000 !important; /* Wymusza cienką, czarną ramkę */
    border-radius: 10px !important;       /* Zaokrągla rogi */
    overflow: hidden !important;          /* Zapobiega "wylewaniu" się tła poza rogi */
}

/* 3. Linia oddzielająca produkty od przycisków na dole tabeli */
.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
    border-top: 1px solid #000000 !important; /* Dodaje czarną linię tylko NAD przyciskami */
}
/* Wymuszenie wielkości czcionki dla podkategorii na telefonach */
@media (max-width: 767px) {
    /* Celujemy bezpośrednio w linki wewnątrz listy rozwijanej */
    .elementor-nav-menu--dropdown ul.sub-menu li a.elementor-sub-item,
    .elementor-nav-menu--dropdown ul.sub-menu li span.elementor-sub-item {
        font-size: 15px !important; /* Zwiększono do 20px dla widocznego testu */
    }
}




