/* Akvarela: kompaktní mobilní kroky objednávky. Schváleno 23. 10. 2026; HEAD asset. */
@media (max-width: 767px) {
  body.ordering-process #content .cart-inner:has(ol.cart-header) {
    padding-top: 16px;
  }
  body.ordering-process #content ol.cart-header {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin: 0 16px 12px;
    padding: 0;
    list-style: none;
  }
  body.ordering-process #content ol.cart-header > li {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
  }
  body.ordering-process #content ol.cart-header > li:not(:last-child)::after {
    content: '';
    position: absolute;
    z-index: 0;
    top: 13px;
    left: calc(50% + 19px);
    width: calc(100% - 38px);
    height: 2px;
    background: #e5e0da;
  }
  body.ordering-process #content ol.cart-header > li.completed::after {
    background: var(--color-secondary, #c21c26);
  }
  body.ordering-process #content ol.cart-header > li > :is(a, strong) {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 51px;
    padding: 0;
    color: #75716c;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
  }
  body.ordering-process #content ol.cart-header > li > :is(a, strong)::before {
    content: counter(steps);
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    margin: 0 auto 6px;
    border: 1.5px solid #dcd6cf;
    border-radius: 50%;
    background: #fff;
    color: #75716c;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
  }
  body.ordering-process #content ol.cart-header > li > :is(a, strong) > span {
    min-width: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
  }
  body.ordering-process #content ol.cart-header > li.active > :is(a, strong) {
    color: var(--color-secondary, #c21c26);
    font-weight: 700;
  }
  body.ordering-process #content ol.cart-header > li.active > :is(a, strong)::before {
    border: 2px solid var(--color-secondary, #c21c26);
    color: var(--color-secondary, #c21c26);
    box-shadow: 0 0 0 4px #fbf0f1;
  }
  body.ordering-process #content ol.cart-header > li.completed > :is(a, strong) {
    color: var(--color-secondary, #c21c26);
    font-weight: 600;
  }
  body.ordering-process #content ol.cart-header > li.completed > :is(a, strong)::before {
    content: '\2713';
    border-color: var(--color-secondary, #c21c26);
    background: var(--color-secondary, #c21c26);
    color: #fff;
    font-size: 16px;
  }
  body.ordering-process #content ol.cart-header > li > a:focus-visible {
    outline: 2px solid var(--color-secondary, #c21c26);
    outline-offset: 4px;
  }
  body.ordering-process #content ol.cart-header + .cart-table { margin-top: 0; }
}
