@media (max-width: 768px) {
   /* --- 1. UKRYCIE NAGŁÓWKA TYLKO NA STRONIE ZAMÓWIENIA --- */
    /* Dodajemy klasę .woocommerce-checkout przed id, żeby nie znikało w koszyku */
    .woocommerce-checkout #header-bot {
        display: none !important;
    }

    /* --- 2. POPRAWA TABELI ZAMÓWIENIA (FIX PADDINGU) --- */
    
    /* Resetujemy wiersz, żeby był tylko kontenerem */
    .woocommerce-checkout-review-order-table tfoot tr {
        display: block !important;
        width: 100% !important;
        border: none !important; /* Usuwamy linię z wiersza, damy ją niżej */
        margin: 0 !important;
        padding-left: 15 !important;
    }

    /* NAGŁÓWEK (np. słowo "Wysyłka") */
    .woocommerce-checkout-review-order-table tfoot th {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        
        /* DUŻY ODSTĘP Z GÓRY - to da "oddech" od poprzedniej sekcji */
        padding-top: 25px !important; 
        
        padding-bottom: 5px !important; /* Mały odstęp od opcji poniżej */
        padding-left: 25px !important;
        padding-right: 0 !important;
        
        border: none !important; /* Bez linii tutaj */
        color: #333;
        font-size: 14px !important;
    }

    /* TREŚĆ (np. Opcje InPost, Kwota) */
    .woocommerce-checkout-review-order-table tfoot td {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        
        padding-top: 5px !important;
        /* ODSTĘP Z DOŁU + LINIA ODDZIELAJĄCA CAŁY BLOK */
        padding-bottom: 25px !important; 
        border-bottom: 1px solid #e5e5e5 !important; 
        
        padding-left:25px !important;
        padding-right: 0 !important;
    }

    /* WYJĄTEK: Ostatni element (Łącznie) - pogrubienie i brak linii na samym dole */
    .woocommerce-checkout-review-order-table tfoot .order-total td {
        border-bottom: none !important;
        font-size: 20px !important; /* Jeszcze większa cena */
        font-weight: 700 !important;
        color: #000 !important;
        padding-left:25px !important;
    }

    /* --- 3. STYLIZACJA PRZYCISKU INPOST (Wybierz punkt) --- */
    /* Celujemy w przycisk wewnątrz widgetu */
   .easypack_show_geowidget { 
        border-radius: 50px !important; /* Pełne zaokrąglenie (pastylka) */
        
        font-family: 'Inter', sans-serif !important; /* Wymuszony Inter */
        font-size: 13px !important;      /* Mniejszy font */
        text-transform: uppercase !important; /* Wielkie litery */
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        
        padding: 12px 25px !important;   /* Wygodny obszar kliknięcia */
        margin-top: 10px !important;
        width: auto !important;          /* Nie rozciągaj na całą szerokość */
        box-shadow: none !important;
        border: none !important;
        
        /* Opcjonalnie: jeśli chcesz zmienić ten żółty na coś innego, odkomentuj: */
        /* background-color: #f1c40f !important; */
        /* color: #000 !important; */
    }

   
}

/* --- STYLIZACJA ZAMÓWIENIA PC (Desktop) --- */
@media (min-width: 769px) {

    /* 1. LUZ W TABELI I LINIE */
    .woocommerce-checkout-review-order-table tfoot th,
    .woocommerce-checkout-review-order-table tfoot td {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
        border-top: 1px solid #e5e5e5 !important;
        border-bottom: none !important;
    }

    /* 2. ZYSKANIE MIEJSCA DLA INPOSTU (Etykiety po lewej) */
    /* Zmniejszamy szerokość etykiety "Wysyłka", żeby oddać miejsce opcjom */
    .woocommerce-checkout-review-order-table tfoot th {
        width: 25% !important; /* Ustawiłem bezpieczne 25% */
        vertical-align: top !important; /* Napis trzyma się góry */
        color: #333;
        font-size: 15px !important;
        font-weight: 600;
        text-align: left !important;
    }

    /* 3. TREŚĆ (Prawa strona - Opcje wysyłki) */
    .woocommerce-checkout-review-order-table tfoot td {
        padding-left: 30px !important; /* Odstęp treści od etykiety */
        vertical-align: top !important;
        text-align: left !important;
    }

    /* 4. SEKCJA ŁĄCZNIE (TOTAL) */
    .woocommerce-checkout-review-order-table tfoot .order-total th,
    .woocommerce-checkout-review-order-table tfoot .order-total td {
        border-top: 2px solid #ddd !important;
        color: #000;
        padding-top: 30px !important; /* Większy odstęp przed podsumowaniem */
    }
    
    .woocommerce-checkout-review-order-table tfoot .order-total td {
        font-size: 22px !important;
        font-weight: 700 !important;
    }

    /* 5. PRZYCISK INPOST (PASTYLKA) */
    .easypack_show_geowidget, 
    button.easypack-button,
    #easypack_map_button { 
        border-radius: 50px !important;
        font-family: 'Inter', sans-serif !important; 
        font-size: 13px !important;
        text-transform: uppercase !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        padding: 10px 30px !important;
        margin-top: 15px !important;
        width: auto !important;
        box-shadow: none !important;
        border: none !important;
        cursor: pointer;
    }
}

/* --- FIX OPISU PACZKOMATU (KONKRETNA KLASA) --- */

.easypack-visible-point-description {
    /* 1. Odcinamy się od stylu rodzica */
    display: block !important;       /* Wymuś nową linię */
    width: 100% !important;
    
    /* 2. Stylizacja tekstu (dyskretna) */
    font-weight: 400 !important;     /* Zdejmujemy pogrubienie (ważne!) */
    font-size: 16px !important;      /* Mniejszy rozmiar */
    text-transform: none !important; /* Wyłączamy wielkie litery, jeśli są */
    line-height: 1.3 !important;
    
    /* 3. Odstępy */
    margin-top: 5px !important;      /* Lekki odstęp od nazwy "Paczkomaty" */
}

/* Opcjonalnie: Jeśli kod punktu (np. WAW01) jest w środku pogrubiony, to go lekko tonujemy */
.easypack-visible-point-description strong,
.easypack-visible-point-description b {
    font-weight: 600 !important;     /* Pół-grube */
    color: #555 !important;          /* Ciemniejszy szary */
}