/* Zlato z Oliv – V23: mobile checkout step markers.
   Works with verified markup: ol.cart-header > li.step.step-1/2/3.
   Load AFTER all previous checkout CSS. No JS/DOM mutation. */
@media (max-width: 767px) {
  body.in-kosik ol.cart-header,
  body.ordering-process ol.cart-header {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    position: relative !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 16px 0 26px !important;
    list-style: none !important;
    counter-reset: none !important;
    overflow: visible !important;
  }
  body.in-kosik ol.cart-header::before,
  body.ordering-process ol.cart-header::before {
    content: '' !important;
    position: absolute !important;
    top: 16px !important;
    left: 16.6667% !important;
    right: 16.6667% !important;
    height: 1px !important;
    background: #ded6c4 !important;
    z-index: 0 !important;
    width: auto !important;
    border: 0 !important;
  }
  body.in-kosik ol.cart-header > li.step,
  body.ordering-process ol.cart-header > li.step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 3px !important;
    margin: 0 !important;
    position: relative !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
    float: none !important;
  }
  body.in-kosik ol.cart-header > li.step::before,
  body.ordering-process ol.cart-header > li.step::before {
    content: '1' !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    inset: auto !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    margin: 0 auto 9px !important;
    box-sizing: border-box !important;
    border: 1px solid #c9a442 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #253511 !important;
    font: 700 14px/1 Arial,sans-serif !important;
    text-align: center !important;
    box-shadow: none !important;
    transform: none !important;
    z-index: 2 !important;
  }
  body.in-kosik ol.cart-header > li.step-2::before,
  body.ordering-process ol.cart-header > li.step-2::before { content: '2' !important; }
  body.in-kosik ol.cart-header > li.step-3::before,
  body.ordering-process ol.cart-header > li.step-3::before { content: '3' !important; }
  body.in-kosik ol.cart-header > li.step.active::before,
  body.ordering-process ol.cart-header > li.step.active::before {
    background: #253511 !important;
    border-color: #253511 !important;
    color: #fff !important;
  }
  body.in-kosik ol.cart-header > li.step > strong,
  body.in-kosik ol.cart-header > li.step > a,
  body.ordering-process ol.cart-header > li.step > strong,
  body.ordering-process ol.cart-header > li.step > a {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #253511 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-decoration: none !important;
  }
  body.in-kosik ol.cart-header > li.step:not(.active) > strong,
  body.in-kosik ol.cart-header > li.step:not(.active) > a,
  body.ordering-process ol.cart-header > li.step:not(.active) > strong,
  body.ordering-process ol.cart-header > li.step:not(.active) > a { color: #747474 !important; }
  body.in-kosik ol.cart-header > li.step > strong::before,
  body.in-kosik ol.cart-header > li.step > strong::after,
  body.in-kosik ol.cart-header > li.step > a::before,
  body.in-kosik ol.cart-header > li.step > a::after,
  body.ordering-process ol.cart-header > li.step > strong::before,
  body.ordering-process ol.cart-header > li.step > strong::after,
  body.ordering-process ol.cart-header > li.step > a::before,
  body.ordering-process ol.cart-header > li.step > a::after,
  body.in-kosik ol.cart-header .zzo-v11-step-title::before,
  body.in-kosik ol.cart-header .zzo-v11-step-title::after,
  body.ordering-process ol.cart-header .zzo-v11-step-title::before,
  body.ordering-process ol.cart-header .zzo-v11-step-title::after {
    content: none !important;
    display: none !important;
  }
  body.in-kosik ol.cart-header .zzo-v11-step-title,
  body.ordering-process ol.cart-header .zzo-v11-step-title {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }
}
