/**
 * WooCommerce Checkout Enhancements - Styles
 * Version: 1.0.1
 */

/* Hide default WooCommerce checkout coupon form */
.woocommerce-form-coupon-toggle,
.checkout_coupon:not(.aoi-inline-coupon),
form.checkout_coupon,
.woocommerce-checkout .checkout_coupon:not(.aoi-inline-coupon) {
    display: none !important;
}

/* Show only our custom inline coupon */
.aoi-inline-coupon-wrapper .aoi-inline-coupon {
    display: block !important;
}

.checkout_coupon {
    border-radius: 12px !important;
    padding: 0 !important;
}

.woocommerce .checkout_coupon {
    border: none !important;
}

/* AOI Inline Coupon Styles */
.aoi-inline-coupon-wrapper {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border-radius: 12px;
}

.aoi-inline-coupon .coupon-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.aoi-inline-coupon .coupon-fields input {
    width: 100%;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid var(--awb-color5, currentColor);
    background: transparent;
    color: var(--awb-color5, currentColor);
    box-sizing: border-box;
    margin-bottom: 12px !important;
}

.aoi-inline-coupon .coupon-fields input::placeholder {
    color: var(--awb-color5, currentColor);
}

.aoi-inline-coupon .coupon-fields button {
    width: 100%;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    box-sizing: border-box;
    margin-top: 0;
}

.aoi-inline-coupon.processing {
    opacity: 0.6;
    pointer-events: none;
}

/* Mobile coupon adjustments */
@media screen and (max-width: 768px) {
    .aoi-inline-coupon-wrapper {
        padding: 0px;
        margin-top: 0px;
    }

    .aoi-inline-coupon .coupon-prompt {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .aoi-inline-coupon .coupon-fields {
        gap: 10px;
    }

    .aoi-inline-coupon .coupon-fields input,
    .aoi-inline-coupon .coupon-fields button {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* ============================================================================
   CHECKOUT QUANTITY EDITING & MOBILE LAYOUT
   ============================================================================ */

/* Desktop: Quantity as block - full width */
.woocommerce-checkout-review-order-table .product-quantity {
    display: block !important;
    width: 100% !important;
    margin-top: 10px !important;
    clear: both !important;
}

.woocommerce-checkout-review-order-table .product-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 10px 0 !important;
}

.woocommerce-checkout-review-order-table .product-quantity input.qty {
    width: 50px;
    text-align: center;
    padding: 2px 4px;
    font-size: inherit;
}

.woocommerce-checkout-review-order-table .product-quantity .aoi-qty-updating {
    margin-left: 10px;
    font-size: 13px;
    line-height: 1.2;
    color: var(--awb-color5, currentColor);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    visibility: hidden;
}

/* Match quantity controls to theme accent color */
.fusion-body .quantity {
    display: inline-flex !important;
    border: 1px solid var(--awb-color5, currentColor) !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.fusion-body .quantity .minus,
.fusion-body .quantity .plus,
.fusion-body .quantity input.qty {
    background: transparent !important;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--awb-color5, currentColor) !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.fusion-body .quantity input.qty {
    border-left: 1px solid var(--awb-color5, currentColor) !important;
    border-right: 1px solid var(--awb-color5, currentColor) !important;
}

.fusion-body table.woocommerce-checkout-review-order-table .product-quantity .quantity {
    border: 1px solid var(--awb-color5, currentColor) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    background: transparent !important;
}

.fusion-body table.woocommerce-checkout-review-order-table .product-quantity .quantity .minus,
.fusion-body table.woocommerce-checkout-review-order-table .product-quantity .quantity .plus,
.fusion-body table.woocommerce-checkout-review-order-table .product-quantity .quantity input.qty {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
}

body.fusion-body form.checkout table.woocommerce-checkout-review-order-table tbody tr.cart_item .product-quantity .quantity {
    border: 1px solid var(--awb-color5, currentColor) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    background: transparent !important;
}

body.fusion-body form.checkout table.woocommerce-checkout-review-order-table tbody tr.cart_item .product-quantity .quantity > * {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
}

body.fusion-body form.checkout table.woocommerce-checkout-review-order-table tbody tr.cart_item .product-quantity .quantity input.qty {
    border-left: 1px solid var(--awb-color5, currentColor) !important;
    border-right: 1px solid var(--awb-color5, currentColor) !important;
}

/* Remove button - desktop inline (right aligned with product) */
.woocommerce-checkout-review-order-table td.product-name > a.remove {
    float: right !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f44336 !important;
    border-radius: 50% !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin: 0 0 10px 10px !important;
}

.woocommerce-checkout-review-order-table td.product-name > a.remove:hover {
    background: #f44336 !important;
    color: #fff !important;
}

/* State: removing */
.woocommerce-checkout-review-order-table tbody tr.is-removing {
    opacity: 0.3;
    pointer-events: none;
}

/* ============================================================================
   DESKTOP LAYOUT (≥769px) - TFOOT 2 columns - Direct selectors
   ============================================================================ */
@media (min-width: 769px) {
    /* Table 100% width */
    table.woocommerce-checkout-review-order-table {
        width: 100% !important;
        table-layout: auto !important;
    }

    /* TFOOT - standard table layout */
    table.woocommerce-checkout-review-order-table tfoot {
        display: table-footer-group !important;
    }

    table.woocommerce-checkout-review-order-table tfoot tr {
        display: table-row !important;
    }

    /* TH - 50% width, align left */
    table.woocommerce-checkout-review-order-table tfoot th {
        display: table-cell !important;
        width: 50% !important;
        vertical-align: top !important;
        text-align: left !important;
        padding-left: 0 !important;
    }

    /* ALL TD - 50% width, table-cell */
    table.woocommerce-checkout-review-order-table tfoot td {
        display: table-cell !important;
        width: 50% !important;
        padding-right: 0 !important;
        text-align: right !important;
    }

    /* Float price amounts to the right */
    table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td > span,
    table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td > .woocommerce-Price-amount,
    table.woocommerce-checkout-review-order-table tfoot tr.order-total td > span,
    table.woocommerce-checkout-review-order-table tfoot tr.order-total td > strong,
    table.woocommerce-checkout-review-order-table tfoot tr.order-total td > .woocommerce-Price-amount {
        float: right !important;
        clear: right !important;
    }

    /* SHIPPING TD - keep flexbox */
    table.woocommerce-checkout-review-order-table tfoot tr.shipping td,
    table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td {

        justify-content: flex-end !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    table.woocommerce-checkout-review-order-table tfoot tr.shipping td ul#shipping_method {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        display: block !important;
    }

    /* Each shipping method - flex row aligned to right */
    table.woocommerce-checkout-review-order-table tfoot tr.shipping td ul#shipping_method > li {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 6px 0 !important;
        border-bottom: 1px solid #eee;
    }

    table.woocommerce-checkout-review-order-table tfoot tr.shipping td ul#shipping_method > li:last-child {
        border-bottom: none;
    }

    table.woocommerce-checkout-review-order-table tfoot tr.shipping td ul#shipping_method input[type="radio"] {
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
	li.wc_payment_method[class*=payment_method_]>input[type=radio] {
		display:none!important;
	}
    table.woocommerce-checkout-review-order-table tfoot tr.shipping td ul#shipping_method label {
        margin: 0 !important;
        cursor: pointer !important;
        flex: 1 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }

    table.woocommerce-checkout-review-order-table tfoot tr.shipping td ul#shipping_method label .woocommerce-Price-amount {
        white-space: nowrap !important;
        margin-left: 10px !important;
    }
}

/* ============================================================================
   MOBILE LAYOUT (≤640px) - Flexbox vertical layout
   ============================================================================ */
@media screen and (max-width: 640px) {
    /* Hide thead on mobile */
    table.woocommerce-checkout-review-order-table thead {
        display: none !important;
    }

    /* Make table and tbody block */
    table.woocommerce-checkout-review-order-table,
    table.woocommerce-checkout-review-order-table tbody {
		margin-bottom:20px;
        display: block !important;
        width: 100% !important;
    }

    /* TR as card block */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item {
        display: block !important;
        padding: 50px 15px 20px 15px !important;
        margin-bottom: 15px !important;
        border: 1px solid var(--awb-color5) !important;
        border-radius: 12px !important;
        position: relative !important;
		background:transparent!important;
        width: 100% !important;
        box-sizing: border-box !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* TD as block */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item td {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-sizing: border-box !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Product-name TD */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name {
        padding-bottom: 15px !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    /* Product-total TD - right aligned at bottom */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-total {
        text-align: right !important;
        margin-top: 15px !important;
        padding-top: 15px !important;
        border-top: 1px solid #e0e0e0 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
    }

    /* TFOOT - full width on mobile */
    table.woocommerce-checkout-review-order-table tfoot {
        display: block !important;
        width: 100% !important;
    }

    table.woocommerce-checkout-review-order-table tfoot tr {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
        margin-bottom: 10px !important;
        gap: 20px !important;
    }

    table.woocommerce-checkout-review-order-table tfoot th {
        display: block !important;
        width: auto !important;
        flex-shrink: 0 !important;
        text-align: left !important;
        padding: 8px 0 !important;
        border: none !important;
        box-sizing: border-box !important;
        font-weight: 600 !important;
    }

    table.woocommerce-checkout-review-order-table tfoot td {
        display: block !important;
        width: auto !important;
        flex: 1 !important;
        text-align: right !important;
        padding: 8px 0 !important;
        border: none !important;
        box-sizing: border-box !important;
    }

    /* Shipping method - align to right in TD */
    table.woocommerce-checkout-review-order-table tfoot #shipping_method {
        width: 100% !important;
        display: block !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    table.woocommerce-checkout-review-order-table tfoot #shipping_method li {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        margin-bottom: 6px !important;
        padding: 6px 0 !important;
        border-bottom: 1px solid #eee !important;
        box-sizing: border-box !important;
        gap: 10px !important;
    }

    table.woocommerce-checkout-review-order-table tfoot #shipping_method li:last-child {
        border-bottom: none !important;
    }

    table.woocommerce-checkout-review-order-table tfoot #shipping_method li input[type="radio"] {
        flex-shrink: 0 !important;
        margin: 0 !important;
        width: 18px !important;
        height: 18px !important;
        cursor: pointer !important;
    }

    table.woocommerce-checkout-review-order-table tfoot #shipping_method li label {
        flex: 1 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        cursor: pointer !important;
        background: none !important;
        border: none !important;
    }

    /* Remove button (X) - absolute in top right corner */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name > a.remove,
    table.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name > a.aoi-remove-product {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f44336 !important;
        border-radius: 50% !important;
        color: #fff !important;
        font-size: 22px !important;
        line-height: 1 !important;
        z-index: 100 !important;
        cursor: pointer !important;
        text-decoration: none !important;
        margin: 0 !important;
        float: none !important;
    }

    table.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name > a.remove:hover,
    table.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name > a.aoi-remove-product:hover {
        background: #f44336 !important;
        color: #fff !important;
    }

    /* FUSION WRAPPER - FLEXBOX vertical with static positioning */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        gap: 0 !important;
        position: static !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Reset ALL children positioning - CRITICAL */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper > * {
        position: static !important;
        float: none !important;
        clear: both !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Reset pseudo-elements that might clip content */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper::before,
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper::after,
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .product-thumbnail::before,
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .product-thumbnail::after {
        display: none !important;
        content: none !important;
    }

    /* Thumbnail - first in flex order */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper .product-thumbnail {
        order: 1 !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 0 20px 0 !important;
        padding: 0 !important;
        position: static !important;
        float: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper .product-thumbnail a {
        display: inline-block !important;
        max-width: 200px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 auto !important;
        position: static !important;
        float: none !important;
        overflow: visible !important;
        line-height: 0 !important;
        vertical-align: top !important;
    }

    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper .product-thumbnail img {
        display: block !important;
        max-width: 200px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 auto !important;
        position: static !important;
        float: none !important;
        overflow: visible !important;
        object-fit: contain !important;
        vertical-align: top !important;
        aspect-ratio: auto !important;
    }

    /* Product info - second in flex order */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper .product-info {
        order: 2 !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.5 !important;
        position: static !important;
        float: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper .product-info * {
        text-align: center !important;
        position: static !important;
        float: none !important;
    }

    /* Quantity - as part of product-info, centered */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper .product-info .product-quantity {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 10px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        position: static !important;
        float: none !important;
    }

    /* Quantity wrapper - flex dla wycentrowania */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper .product-info .product-quantity .quantity {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 160px !important;
        margin: 0 auto !important;
        position: static !important;
        float: none !important;
    }

    /* Quantity input - większa szerokość */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper .product-info .product-quantity input.qty {
        flex: 1 !important;
        min-width: 60px !important;
        max-width: 80px !important;
        padding: 10px 8px !important;
        font-size: 16px !important;
        text-align: center !important;
        margin: 0 !important;
    }

    /* Quantity buttons - lepsze proporcje */
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper .product-info .product-quantity .quantity-button,
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper .product-info .product-quantity .minus,
    table.woocommerce-checkout-review-order-table tbody tr.cart_item .fusion-product-name-wrapper .product-info .product-quantity .plus {
        flex: 0 0 auto !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
    }
}

/* ===== Woo Checkout: Shipping full-width + clean radios (mobile) ===== */
@media (max-width: 640px) {
  /* Cały wiersz Wysyłka jako blok 1/1 */
  form.checkout table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals,
  form.checkout table.woocommerce-checkout-review-order-table tfoot tr.shipping {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px 0 !important;
  }

  /* TH „Wysyłka" w osobnym wierszu */
  form.checkout table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals th,
  form.checkout table.woocommerce-checkout-review-order-table tfoot tr.shipping th {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 8px 0 !important;
    border: 0 !important;
  }

  /* TD z metodami pod spodem, pełna szerokość */
  form.checkout table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td,
  form.checkout table.woocommerce-checkout-review-order-table tfoot tr.shipping td {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 0 0 8px 0 !important;
    border: 0 !important;
  }

  /* Lista metod bez marginesów */
  form.checkout table.woocommerce-checkout-review-order-table tfoot td ul#shipping_method {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  /* Każda metoda: rząd z odstępem */
  form.checkout table.woocommerce-checkout-review-order-table tfoot td ul#shipping_method > li {
    display: block !important;
    width: 100% !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #eee !important;
    min-height: 44px !important;
    position: relative !important;
  }

  form.checkout table.woocommerce-checkout-review-order-table tfoot td ul#shipping_method > li:last-child {
    border-bottom: none !important;
  }

  /* Radio: ukryty lub pozycjonowany bez overlappingu */
  form.checkout table.woocommerce-checkout-review-order-table tfoot td ul#shipping_method input[type="radio"] {
    position: absolute !important;
    left: 0 !important;
    top: 12px !important;
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
    z-index: 2 !important;
  }

  /* Label: CSS variables dla precyzyjnego wycentrowania */
  form.checkout table.woocommerce-checkout-review-order-table tfoot td ul#shipping_method label {
    --radio-size: 18px;
    --radio-dot: 8px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 40px !important;
    padding-left: calc(var(--radio-size) + 14px) !important;
    margin: 0 !important;
    position: relative !important;
    cursor: pointer !important;
    white-space: normal !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Kółko */
  form.checkout table.woocommerce-checkout-review-order-table tfoot td ul#shipping_method label::before {
    position: absolute !important;
    width: var(--radio-size) !important;
    height: var(--radio-size) !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 1 !important;
  }

  /* Kropka — wycentrowana w kółku */
  form.checkout table.woocommerce-checkout-review-order-table tfoot td ul#shipping_method label::after {
    position: absolute !important;
    width: var(--radio-dot) !important;
    height: var(--radio-dot) !important;
    left: calc(var(--radio-size) / 2) !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 2 !important;
  }

  /* Tekst metody: flex-grow, zawijanie dozwolone */
  form.checkout table.woocommerce-checkout-review-order-table tfoot td ul#shipping_method label > span:not(.woocommerce-Price-amount):not(.amount) {
    flex: 1 1 auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Cena: flex-shrink-0, nowrap, zawsze po prawej */
  form.checkout table.woocommerce-checkout-review-order-table tfoot td ul#shipping_method label .woocommerce-Price-amount,
  form.checkout table.woocommerce-checkout-review-order-table tfoot td ul#shipping_method label .amount {
    flex: 0 0 auto !important;
    margin-left: 12px !important;
    white-space: nowrap !important;
  }
}
