.navbar-brand img,
.ph-logo img,
.logo img,
.logo-image img,
.custom-logo {
    max-width: 450px !important;
    height: auto !important;
}

/* --- ZÁKLADNÍ ROZVRŽENÍ KARET (POD SEBOU NA CELOU ŠÍŘKU) --- */
.ph-checkout-shipping-items-box, 
.ph-checkout-payment-items-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    margin-top: 15px !important;
}

/* --- HLAVNÍ VNĚJŠÍ RÁMEČEK (KARTA) --- */
.ph-checkout-shipping-item, 
.ph-checkout-payment-item {
    width: 100% !important;
    max-width: 100% !important; /* POJISTKA PROTI SMRSKNUTÍ */
    flex: 0 0 100% !important;  /* POJISTKA PROTI SMRSKNUTÍ */
    display: flex !important;
    flex-direction: column !important;
    background-color: transparent !important;
    border: 2px solid #333 !important;
    border-radius: 5px !important;
    padding: 20px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* --- TÍMTO ZNIČÍME NEVIDITELNÉ BOOTSTRAP SLOUPEČKY (Tvoje červené čáry) --- */
.ph-checkout-shipping-item [class*="col-"],
.ph-checkout-payment-item [class*="col-"],
.ph-shipping-title-box,
.ph-payment-title-box {
    width: 100% !important;
    max-width: 100% !important; /* Tady byla ta neviditelná zeď */
    min-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* --- VNITŘNÍ RÁMEČEK (KDE JE PUNTÍK A NÁZEV) --- */
.ph-shipping-title-box .controls,
.ph-payment-title-box .controls {
    display: flex !important;
    align-items: center !important; 
    border: 2px solid #333 !important;
    border-radius: 5px !important;
    padding: 15px !important; 
    margin-bottom: 15px !important;
    background-color: #fff !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* OPRAVA PLATBY - tvrdé oddělení puntíku od textu */
.ph-shipping-title-box label,
.ph-payment-title-box label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    width: 100% !important;
    cursor: pointer;
}

.ph-shipping-title-box input[type="radio"],
.ph-payment-title-box input[type="radio"] {
    flex: 0 0 20px !important;
    margin: 0 15px 0 0 !important;
}

.ph-shipping-title, 
.ph-payment-title {
    flex: 1 1 auto !important;
    font-weight: bold !important;
    font-size: 1.1em !important;
    text-transform: uppercase !important;
    white-space: normal !important; 
    line-height: 1.3 !important;
    margin: 0 !important;
    text-align: left !important;
}

/* --- TLAČÍTKO ZÁSILKOVNY A VYBRANÝ BOD --- */
.ph-checkout-shipping-additional-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.ph-btn-zasilkovna-select-pickup-point {
    border-radius: 30px !important; 
    border: 2px solid #333 !important;
    font-weight: bold !important;
    width: 100% !important;
    max-width: 300px !important; 
    margin: 0 auto !important; 
    white-space: normal !important;
    height: auto !important;
    padding: 10px 15px !important;
    line-height: 1.2 !important;
    cursor: pointer;
}

.ph-checkout-zasilkovna-info-container {
    text-align: center !important;
    margin-top: 15px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.ph-checkout-zasilkovna-info-box img {
    max-width: 120px !important;
    height: auto !important;
    border-radius: 5px !important;
    margin: 5px 0 !important;
}

/* --- SPODNÍ ČÁST S CENOU --- */
.ph-shipping-price-box,
.ph-payment-price-box {
    margin-top: auto !important; 
    padding-top: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Nápis Cena za dopravu vlevo, částka luxusně vpravo */
.ph-shipping-price-box .radio .row,
.ph-payment-price-box .radio .row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important; 
    align-items: center !important;
    margin: 0 !important;
    width: 100% !important;
}

.ph-checkout-shipping-brutto-txt,
.ph-checkout-payment-brutto-txt {
    font-weight: bold !important;
    text-transform: uppercase !important;
    font-size: 1em !important;
}

.ph-checkout-shipping-brutto,
.ph-checkout-payment-brutto {
    font-weight: bold !important;
    font-size: 1.2em !important;
    color: #000 !important;
    white-space: nowrap !important;
}

.ph-checkout-payment-cost-info-txt,
.ph-checkout-payment-cost-info {
    margin-left: 5px !important;
    font-size: 0.9em !important;
}
/* --- ZMENŠENÍ PÍSMA NA PŘÁNÍ PANA DESIGNÉRA --- */
.ph-shipping-title, 
.ph-payment-title {
    font-size: 0.95em !important; /* Původně 1.1em - zmenší hlavní názvy jako Zásilkovna */
}

.ph-checkout-shipping-brutto-txt,
.ph-checkout-payment-brutto-txt {
    font-size: 0.85em !important; /* Původně 1em - zmenší nápis "Cena za dopravu" */
}

.ph-checkout-shipping-brutto,
.ph-checkout-payment-brutto {
    font-size: 1.05em !important; /* Původně 1.2em - zmenší samotnou tučnou částku */
}

.ph-btn-zasilkovna-select-pickup-point {
    font-size: 0.9em !important; /* Zmenší text na tom oválném tlačítku pro výběr pobočky */
}

/* Srovnání souhlasů, aby vypadaly identicky */
.ph-checkout-checkout-box .control-label {
    display: flex !important;
    align-items: center !important;
    font-weight: normal !important;
    margin-bottom: 10px !important;
}

.ph-checkout-checkout-box input[type="checkbox"] {
    margin-right: 10px !important;

.navbar-brand, .brand-logo {
    max-width: 100% !important;
    display: block !important;
}

.brand-logo img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}