#jak-to-funguje.order-process-section {
  position: relative;
  z-index: 2;
  overflow: visible;
}

#jak-to-funguje .process-heading-static {
  position: relative;
}

#jak-to-funguje .eshop-order-story-arrow {
  position: absolute;
  z-index: 2;
  inset-inline-start: clamp(309px, 29vw, 420px);
  inset-block-start: calc(100% - 6px);
  width: clamp(118px, 11vw, 164px);
  height: calc(var(--eshop-process-padding-end) + 33px);
  pointer-events: none;
  overflow: visible;
}

@media (max-width: 1000px) {
  #jak-to-funguje .process-heading-static > p {
    padding-inline-end: 42px;
  }

  #jak-to-funguje .eshop-order-story-arrow {
    grid-area: 2 / 1 / 3 / 2;
    inset-inline: auto -10px;
    inset-block-start: -20px;
    width: clamp(56px, 8vw, 76px);
    height: calc(100% + var(--eshop-process-padding-end) + 47px);
  }
}

.eshop-order-story-arrow path {
  fill: none;
  stroke: #df354a;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:root[data-eshop-order-story="active"] .eshop-order-story-arrow:not([data-eshop-story-shown]) path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

:root[data-eshop-order-story] .eshop-order-story-arrow path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

:root[data-eshop-order-story] #jak-to-funguje .process-heading-static,
:root[data-eshop-order-story] #automatizace[data-placement="shop"] :is(.com-heading, .com-toolbar, .com-board) {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

:root[data-eshop-order-story="active"] #jak-to-funguje .process-heading-static:not([data-eshop-story-shown]),
:root[data-eshop-order-story="active"] #automatizace[data-placement="shop"] :is(.com-heading, .com-toolbar, .com-board):not([data-eshop-story-shown]) {
  opacity: 0;
}
