/* Herbatica - mobilna navigacia objednavky a loga dopravcov */
@media (max-width: 767px) {
  body.in-kosik .cart-header,
  body.in-krok-1 .cart-header,
  body.in-krok-2 .cart-header {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    min-height: 62px !important;
  }

  body.in-kosik .cart-header .step,
  body.in-krok-1 .cart-header .step,
  body.in-krok-2 .cart-header .step {
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding: 0 3px !important;
    font-size: 0 !important;
  }

  body.in-kosik .cart-header .step > a,
  body.in-kosik .cart-header .step > strong,
  body.in-krok-1 .cart-header .step > a,
  body.in-krok-1 .cart-header .step > strong,
  body.in-krok-2 .cart-header .step > a,
  body.in-krok-2 .cart-header .step > strong {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 2px !important;
  }

  body.in-kosik .cart-header .step span,
  body.in-krok-1 .cart-header .step span,
  body.in-krok-2 .cart-header .step span {
    display: flex !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    font-size: 0 !important;
    line-height: 1 !important;
    white-space: normal !important;
  }

  body.in-kosik .cart-header .step span::before,
  body.in-krok-1 .cart-header .step span::before,
  body.in-krok-2 .cart-header .step span::before {
    flex: 0 0 23px !important;
    width: 23px !important;
    height: 23px !important;
    margin: 0 !important;
    font-size: 11px !important;
  }

  body.in-kosik .cart-header .step span::after,
  body.in-krok-1 .cart-header .step span::after,
  body.in-krok-2 .cart-header .step span::after {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #6b7772 !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  body.in-kosik .cart-header .step-1 span::after,
  body.in-krok-1 .cart-header .step-1 span::after,
  body.in-krok-2 .cart-header .step-1 span::after {
    content: "Košík" !important;
  }

  body.in-kosik .cart-header .step-2 span::after,
  body.in-krok-1 .cart-header .step-2 span::after,
  body.in-krok-2 .cart-header .step-2 span::after {
    content: "Doprava & platba" !important;
  }

  body.in-kosik .cart-header .step-3 span::after,
  body.in-krok-1 .cart-header .step-3 span::after,
  body.in-krok-2 .cart-header .step-3 span::after {
    content: "Informácie o Vás" !important;
  }

  body.in-kosik .cart-header .step.active span::after,
  body.in-krok-1 .cart-header .step.active span::after,
  body.in-krok-2 .cart-header .step.active span::after {
    color: #087858 !important;
    font-weight: 800 !important;
  }

  body.in-kosik .cart-header .step.active::after,
  body.in-krok-1 .cart-header .step.active::after,
  body.in-krok-2 .cart-header .step.active::after {
    right: 14% !important;
    left: 14% !important;
  }

  /* Loga pomahaju rychlo rozlisit dopravu a platobne metody. */
  body.in-krok-1 .shipping-billing-table .radio-wrapper > label {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 7px !important;
  }

  body.in-krok-1 .shipping-billing-table .payment-info {
    grid-column: 1 !important;
    min-width: 0 !important;
  }

  body.in-krok-1 .shipping-billing-table .payment-logo {
    display: flex !important;
    grid-column: 2 !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 42px !important;
  }

  body.in-krok-1 .shipping-billing-table .payment-logo img {
    display: block !important;
    width: auto !important;
    max-width: 68px !important;
    max-height: 28px !important;
    object-fit: contain !important;
  }

  body.in-krok-1 .shipping-billing-table .payment-shipping-price {
    grid-column: 3 !important;
    align-self: center !important;
    font-size: 12.5px !important;
  }
}

@media (max-width: 380px) {
  body.in-kosik .cart-header .step span::after,
  body.in-krok-1 .cart-header .step span::after,
  body.in-krok-2 .cart-header .step span::after {
    font-size: 8.5px !important;
  }

  body.in-krok-1 .shipping-billing-table .radio-wrapper > label {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  body.in-krok-1 .shipping-billing-table .payment-logo {
    grid-column: 1 !important;
    justify-content: flex-start !important;
    margin-top: 5px !important;
  }

  body.in-krok-1 .shipping-billing-table .payment-shipping-price {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
  }
}
