.elementor-12 .elementor-element.elementor-element-1d547f0{--display:flex;--margin-top:2%;--margin-bottom:2%;--margin-left:0%;--margin-right:0%;}:root{--page-title-display:none;}/* Start custom CSS for woocommerce-cart, class: .elementor-element-f0106bf *//* ==========================================================================
   GLOBALNA CZCIONKA I SPÓJNY DESIGN WIDGETU KOSZYKA - DM POLAND
   ========================================================================== */

/* 1. Globalne wymuszenie czcionki Montserrat */
body, 
button, 
input, 
select, 
textarea, 
optgroup, 
elementor-button,
.woocommerce, 
.woocommerce-page,
.woocommerce-cart,
.woocommerce-checkout,
.elementor-widget-container {
    font-family: 'Montserrat', sans-serif !important;
}

/* 2. Kafelki koszyka (tabela produktów i panel podsumowania) */
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals,
.elementor-cart-form,
.elementor-cart-totals {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(229, 211, 179, 0.6) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 4px 25px rgba(44, 74, 62, 0.02) !important;
}

/* 3. NAPRAWA PRZYCISKU "Przejdź do zamówienia" (Pełna spójność ze złotym przyciskiem kasy) */
.woocommerce-cart .cart-collaterals .checkout-button,
.elementor-widget-woocommerce-cart .elementor-cart-checkout-button,
.elementor-button.elementor-cart-checkout-button {
    background-color: #D4AF37 !important;       /* Słoneczne złoto DM */
    color: #2C4A3E !important;                  /* Ciemnozielony tekst */
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 8px !important;              /* Zaokrąglenia dopasowane do kasy */
    border: none !important;
    padding: 16px 24px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.woocommerce-cart .cart-collaterals .checkout-button:hover,
.elementor-widget-woocommerce-cart .elementor-cart-checkout-button:hover,
.elementor-button.elementor-cart-checkout-button:hover {
    background-color: #C39F2F !important;
    color: #1E332B !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35) !important;
}

/* 4. Linki produktów w tabeli koszyka */
.woocommerce-cart-form .product-name a,
.elementor-cart-form .product-name a,
.shop_table .product-name a {
    color: #2C4A3E !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.woocommerce-cart-form .product-name a:hover,
.elementor-cart-form .product-name a:hover,
.shop_table .product-name a:hover {
    color: #D4AF37 !important;
}

/* 5. Przycisk "Odśwież" (Update Cart) */
.woocommerce-cart-form button[name="update_cart"],
.elementor-cart-form button[name="update_cart"],
.woocommerce-cart .button[name="update_cart"],
.elementor-cart-form .button {
    background-color: #FDFBF9 !important;
    color: #2C4A3E !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border: 1px solid #E5D3B3 !important;
    border-radius: 50px !important;
    padding: 12px 26px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.woocommerce-cart-form button[name="update_cart"]:hover,
.elementor-cart-form button[name="update_cart"]:hover,
.woocommerce-cart .button[name="update_cart"]:hover,
.elementor-cart-form .button:hover {
    background-color: #2C4A3E !important;
    color: #FFFFFF !important;
    border-color: #2C4A3E !important;
    transform: translateY(-2px);
}

/* 6. Komunikaty sukcesu i błędów w koszyku */
.woocommerce-message,
.woocommerce-error li {
    background-color: #FFFFFF !important;
    color: #3E4149 !important;
    border: 1px solid #E5D3B3 !important;
    border-radius: 16px !important;
    padding: 20px 25px !important;
    box-shadow: 0 10px 30px rgba(44, 74, 62, 0.06) !important;
}


/* ==========================================================================
   OPTYMALIZACJA SZEROKOŚCI KOLUMN I CEN W KOSZYKU - DM POLAND
   ========================================================================== */

/* 1. Zapobieganie łamaniu cen na dwie linie */
.shop_table .product-price,
.shop_table .product-subtotal,
.elementor-cart-form__cart-item .product-price,
.elementor-cart-form__cart-item .product-subtotal {
    white-space: nowrap !important;
}

/* 2. Nadanie odpowiednich szerokości kolumn w tabeli koszyka, aby cena miała pełną przestrzeń */
.shop_table.cart th.product-remove, 
.shop_table.cart td.product-remove {
    width: 5% !important;
}

.shop_table.cart th.product-thumbnail, 
.shop_table.cart td.product-thumbnail {
    width: 12% !important;
}

.shop_table.cart th.product-name, 
.shop_table.cart td.product-name {
    width: 43% !important; /* Nazwa domku zyskuje bezpieczną przestrzeń */
}

.shop_table.cart th.product-price, 
.shop_table.cart td.product-price,
.shop_table.cart th.product-quantity, 
.shop_table.cart td.product-quantity,
.shop_table.cart th.product-subtotal, 
.shop_table.cart td.product-subtotal {
    width: 13% !important; /* Zwiększenie przestrzeni dla kolumn cenowych */
    text-align: right !important;
}

/* Wyrównanie nagłówków tabeli do prawej dla kolumn cenowych */
.shop_table.cart th.product-price,
.shop_table.cart th.product-subtotal {
    text-align: right !important;
}/* End custom CSS */