/* ================================================================
   MODERNIZACJA PRZYCISKÓW I POLA ILOŚCI (STYLE MINIWORLD)
   ================================================================ */

/* 1. STYLIZACJA PRZYCISKU "PRZEJDŹ DO PŁATNOŚCI" */
.checkout-button, 
.cart-totals-section a.button.checkout {
    background-color: #3282e6 !important;
    color: #ffffff !important;
    padding: 18px 40px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    text-align: center !important;
    display: block !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 25px rgba(50, 130, 230, 0.25) !important;
    border: none !important;
}

.checkout-button:hover {
    background-color: #266cc2 !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(50, 130, 230, 0.4) !important;
}

/* 2. STYLIZACJA PRZYCISKU "AKTUALIZUJ KOSZYK" */
button[name="update_cart"] {
    background-color: #f0f0f2 !important;
    color: #1d1d1f !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

button[name="update_cart"]:hover {
    background-color: #e2e2e5 !important;
}

/* 3. MODERNIZACJA POLA WYBORU ILOŚCI (QUANTITY) */
.quantity {
    display: inline-flex;
    align-items: center;
}

.quantity input.qty {
    width: 60px !important;
    height: 45px !important;
    border-radius: 12px !important;
    border: 2px solid #f0f0f2 !important;
    background: #f9f9fb !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #1d1d1f !important;
    outline: none !important;
    transition: border-color 0.3s ease;
}

.quantity input.qty:focus {
    border-color: #3282e6 !important;
    background: #ffffff !important;
}

/* Usunięcie brzydkich strzałek w Chrome/Safari/Edge */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Usunięcie strzałek w Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* 4. STYLIZACJA TABELI PODSUMOWANIA (Żeby nie była surowa) */
.cart_totals table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 25px !important;
}

.cart_totals .shop_table tr th, 
.cart_totals .shop_table tr td {
    padding: 15px 0 !important;
    border-bottom: 1px solid #f0f0f2 !important;
    font-size: 16px !important;
}

.cart_totals .order-total th, 
.cart_totals .order-total td {
    font-weight: 800 !important;
    color: #1d1d1f !important;
    font-size: 20px !important;
    border-bottom: none !important;
}