/* Aktivní jen pokud JS přidal class na body na /objednavka/krok-1/ */
body.checkout-step1-enhanced .payment-shipping-name,
body.checkout-step1-enhanced .shipping-billing-name,
body.checkout-step1-enhanced .delivery-name,
body.checkout-step1-enhanced .billing-name,
body.checkout-step1-enhanced .name,
body.checkout-step1-enhanced .payment-shipping-item label,
body.checkout-step1-enhanced .radio-wrapper label,
body.checkout-step1-enhanced .payment-shipping-table label,
body.checkout-step1-enhanced .shipping-billing-table label {
    font-weight: 700 !important;
    text-transform: none !important;
    font-size: 15px !important;
}

body.checkout-step1-enhanced .payment-shipping-name *,
body.checkout-step1-enhanced .shipping-billing-name *,
body.checkout-step1-enhanced .delivery-name *,
body.checkout-step1-enhanced .billing-name *,
body.checkout-step1-enhanced .name * {
    text-transform: none !important;
}

body.checkout-step1-enhanced .c-meta {
    margin-top: 5px;
    display: block;
    font-weight: 400 !important;
}

body.checkout-step1-enhanced .c-del {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 400 !important;
    margin-top: 2px;
}

body.checkout-step1-enhanced .c-del strong {
    font-weight: 700 !important;
    color: #000 !important;
}

body.checkout-step1-enhanced .c-bdg {
    font-size: 12px;
    color: #0b823b !important;
    font-weight: 700 !important;
    background: #e6f6ec !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    margin-bottom: 4px !important;
}

/* Sleva v seznamu plateb */
body.checkout-step1-enhanced .payment-shipping-price.c-discount-price {
    display: none !important;
}

body.checkout-step1-enhanced .c-discount-price-html {
    color: #0b823b !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    white-space: nowrap !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Název slevové platby */
body.checkout-step1-enhanced label.c-discount-name,
body.checkout-step1-enhanced .billing-name.c-discount-name,
body.checkout-step1-enhanced .name.c-discount-name,
body.checkout-step1-enhanced .payment-shipping-name.c-discount-name,
body.checkout-step1-enhanced .shipping-billing-name.c-discount-name {
    color: #0b823b !important;
    font-weight: 700 !important;
}

/* Záporná cena v rekapitulaci */
body.checkout-step1-enhanced .c-negative-price {
    color: #0b823b !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
}

body.checkout-step1-enhanced .c-negative-price::before {
    content: "\1F4B0 " !important;
    color: #0b823b !important;
    font-weight: 700 !important;
    margin-right: 4px !important;
}

body.checkout-step1-enhanced .c-negative-price-row .c-negative-price {
    display: inline-block !important;
    min-width: 90px !important;
    text-align: right !important;
}

/* Vybraný řádek */
body.checkout-step1-enhanced .c-selected {
    background-color: #f4fdf7 !important;
    border: 2px solid #0b823b !important;
    border-radius: 6px !important;
}

/* Tlačítka odběrného místa - ČERVENÉ (Aktivní) */
body.checkout-step1-enhanced .c-pick {
    background-color: #d93a3a !important;
    color: #fff !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    display: inline-block !important;
    margin: 5px 0 !important;
    text-decoration: none !important;
    animation: checkoutStep1Pulse 2s infinite !important;
}

/* Tlačítka odběrného místa - ŠEDÉ (Neaktivní) */
body.checkout-step1-enhanced .c-neutral-pick,
body.checkout-step1-enhanced .c-neutral-pick * {
    background-color: #f0f0f0 !important;
    color: #666 !important; /* Opraveno na šedou */
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    display: inline-block !important;
    margin: 5px 0 !important;
    text-decoration: none !important; /* Agresivní zrušení podtržení */
    border: 1px solid #ccc !important;
}

/* Úspěšný výběr místa */
body.checkout-step1-enhanced .c-success {
    background-color: #0b823b !important;
    color: #fff !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    display: inline-block !important;
    margin: 5px 0 !important;
    text-decoration: none !important;
}

/* BEZPEČNÉ IKONKY PRO TLAČÍTKA */
body.checkout-step1-enhanced .c-pick::before,
body.checkout-step1-enhanced .c-neutral-pick::before { 
    content: "\1F4CD "; 
}

body.checkout-step1-enhanced .c-success::before { 
    content: "\2705 "; 
}

/* Banner dopravy zdarma */
body.checkout-step1-enhanced .custom-upsell-banner {
    background: #e6f6ec !important;
    border: 2px dashed #0b823b !important;
    padding: 12px !important;
    margin-bottom: 15px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

body.checkout-step1-enhanced .cub-text {
    color: #0b823b !important;
    font-size: 14px !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

/* Animace */
@keyframes checkoutStep1Pulse {
    0% { box-shadow: 0 0 0 0 rgba(217, 58, 58, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(217, 58, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 58, 58, 0); }
}

@keyframes checkoutStep1Shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

body.checkout-step1-enhanced .c-shake {
    animation: checkoutStep1Shake 0.4s ease-in-out !important;
    background-color: #ff0000 !important;
}

/* Loga dopravy a plateb */
body.checkout-step1-enhanced .payment-shipping-table td.image,
body.checkout-step1-enhanced .shipping-billing-table td.image,
body.checkout-step1-enhanced .payment-shipping-item .image,
body.checkout-step1-enhanced .shipping-billing-image,
body.checkout-step1-enhanced .delivery-list .image {
    display: table-cell !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 90px !important;
    min-width: 90px !important;
    vertical-align: middle !important;
}

body.checkout-step1-enhanced .payment-shipping-table img,
body.checkout-step1-enhanced .shipping-billing-table img,
body.checkout-step1-enhanced .payment-shipping-item img,
body.checkout-step1-enhanced .shipping-billing-image img,
body.checkout-step1-enhanced .delivery-list img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 80px !important;
    max-height: 45px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
}

@media (max-width: 767px) {
    body.checkout-step1-enhanced .payment-shipping-name,
    body.checkout-step1-enhanced .shipping-billing-name,
    body.checkout-step1-enhanced .delivery-name,
    body.checkout-step1-enhanced .billing-name,
    body.checkout-step1-enhanced .name {
        font-size: 14px !important;
    }

    body.checkout-step1-enhanced .payment-shipping-table,
    body.checkout-step1-enhanced .shipping-billing-table {
        display: table !important;
        width: 100% !important;
        border-collapse: collapse !important;
    }

    body.checkout-step1-enhanced .payment-shipping-table tr,
    body.checkout-step1-enhanced .shipping-billing-table tr {
        display: table-row !important;
    }

    body.checkout-step1-enhanced .c-discount-price-html { font-size: 15px !important; }
    body.checkout-step1-enhanced .c-negative-price { font-size: 16px !important; }
}