.os-delivery-parallax {
  pointer-events: auto;
}

.os-delivery-parallax__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #28383e;
}

.os-delivery-parallax__orbit {
  position: absolute;
  left: 5%;
  top: 52%;
  width: 83%;
  aspect-ratio: 1.76;
  border: 1px solid rgba(212, 228, 234, 0.28);
  border-radius: 50% 50% 0 0;
  transform: rotate(-2deg);
  transform-origin: center bottom;
}

.os-delivery-parallax__tool-entrance {
  position: absolute;
  z-index: 4;
  width: clamp(42px, 8.1%, 58px);
  aspect-ratio: 1;
  pointer-events: none;
  will-change: transform, opacity;
}

.os-delivery-parallax__tool {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(86, 110, 119, 0.25);
  border-radius: 13px;
  background: rgba(206, 222, 228, 0.84);
  box-shadow: 0 0 0 3px rgba(226, 237, 241, 0.22), 0 10px 22px rgba(43, 64, 72, 0.08);
  will-change: transform;
}

.os-delivery-parallax__tool svg {
  width: 42%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.os-delivery-parallax__tool--layers { left: 7%; top: 66%; }
.os-delivery-parallax__tool--register { left: 24%; top: 45%; }
.os-delivery-parallax__tool--cart { left: 52%; top: 32%; }
.os-delivery-parallax__tool--factory { left: 72%; top: 45%; }
.os-delivery-parallax__tool--box { left: 32%; top: 72%; }

.os-delivery-parallax__interface-entrance {
  position: absolute;
  z-index: 3;
  left: 44.3%;
  top: 50.8%;
  width: 67%;
  height: 50%;
  pointer-events: auto;
  will-change: transform;
}

.os-delivery-parallax__interface {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(75, 102, 111, 0.32);
  border-radius: 16px;
  background: #cfdee4;
  box-shadow: 0 18px 42px rgba(34, 55, 62, 0.13);
  transform: scale(1.2);
  transform-origin: center center;
  will-change: transform;
}

.os-delivery-parallax__topbar {
  display: flex;
  height: 15%;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 9px;
  border-bottom: 1px solid rgba(67, 91, 99, 0.15);
  background: #d9e6eb;
}

.os-delivery-parallax__mark {
  display: block;
  width: auto;
  height: 28px;
  max-width: 35%;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center;
}

.os-delivery-parallax__controls,
.os-delivery-parallax__avatars {
  display: flex;
  align-items: center;
}

.os-delivery-parallax__controls { gap: 10px; }
.os-delivery-parallax__avatars { flex-direction: row-reverse; padding-left: 9px; }

.os-delivery-parallax__avatars i {
  width: 19px;
  height: 19px;
  margin-left: -7px;
  border: 2px solid #d9e6eb;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #cba98f 0 24%, transparent 25%), linear-gradient(155deg, #e6d7c9 0 48%, #6f7d82 49% 100%);
}

.os-delivery-parallax__avatars i:nth-child(2) {
  background: radial-gradient(circle at 50% 35%, #b9866c 0 24%, transparent 25%), linear-gradient(155deg, #d6b99e 0 48%, #526a70 49% 100%);
}

.os-delivery-parallax__avatars i:nth-child(3) {
  background: radial-gradient(circle at 50% 35%, #d2a887 0 24%, transparent 25%), linear-gradient(155deg, #ead7c7 0 48%, #72594f 49% 100%);
}

.os-delivery-parallax__add {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px dashed rgba(50, 74, 81, 0.35);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.os-delivery-parallax__dots { color: rgba(43, 66, 73, 0.52); font-size: 18px; }

.os-delivery-parallax__body {
  display: grid;
  height: 85%;
  grid-template-columns: 54px minmax(0, 1fr);
}

.os-delivery-parallax__sidebar {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  padding-top: 4px;
  border-right: 1px solid rgba(65, 91, 99, 0.16);
  background: rgba(214, 228, 233, 0.7);
}

.os-delivery-parallax__sidebar span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 6px;
  color: rgba(42, 65, 72, 0.66);
}

.os-delivery-parallax__sidebar span.is-active { background: rgba(186, 205, 212, 0.78); color: #24393f; }
.os-delivery-parallax__sidebar svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }

@media (hover: hover) and (pointer: fine) {
  .os-delivery-parallax__sidebar [data-os-delivery-slot] > svg {
    opacity: 0;
  }
}

.os-delivery-parallax__workspace {
  padding: 24px 24px 18px;
  overflow: hidden;
  background: #d3e1e6;
}

.os-delivery-parallax__workspace-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.os-delivery-parallax__workspace-head i {
  width: 68px;
  height: 6px;
  border-radius: 99px;
  background: rgba(76, 106, 116, 0.22);
}

.os-delivery-parallax__workspace-head i:last-child { width: 42px; }

.os-delivery-parallax__grid {
  display: grid;
  grid-template-columns: 1fr 1.22fr 1fr;
  grid-auto-rows: 58px;
  gap: 10px;
}

.os-delivery-parallax__grid span {
  border-radius: 12px;
  background: rgba(188, 207, 214, 0.72);
}

.os-delivery-parallax__grid span.is-tall { grid-row: span 2; }
.os-delivery-parallax__grid span.is-wide { grid-column: span 1; grid-row: span 2; }

@media (max-width: 767px), (hover: none), (pointer: coarse) {
  .os-delivery-parallax__body {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .os-delivery-parallax__interface-entrance {
    left: 38%;
    top: 36%;
    width: 78%;
    height: 54%;
  }

  .os-delivery-parallax__tool-entrance { width: 44px; }
  .os-delivery-parallax__tool { border-radius: 11px; }
  .os-delivery-parallax__tool--register { left: 19%; }
  .os-delivery-parallax__tool--cart { left: 48%; }
  .os-delivery-parallax__tool--factory { left: 74%; }

  .os-delivery-parallax__sidebar {
    gap: 1px;
    padding-top: 2px;
  }

  .os-delivery-parallax__sidebar span {
    width: 17px;
    height: 17px;
    border-radius: 4px;
  }

  .os-delivery-parallax__sidebar svg {
    width: 11px;
  }

  .os-delivery-parallax__sidebar [data-os-delivery-slot] > svg {
    opacity: 1;
  }

  .os-delivery-parallax__topbar {
    height: 24%;
    min-height: 0;
    padding: 0 8px 0 5px;
  }

  .os-delivery-parallax__mark { height: 15px; }
  .os-delivery-parallax__controls { gap: 5px; }
  .os-delivery-parallax__avatars i { width: 11px; height: 11px; margin-left: -4px; border-width: 1px; }
  .os-delivery-parallax__add { width: 16px; height: 16px; font-size: 12px; }
  .os-delivery-parallax__dots { font-size: 12px; }
  .os-delivery-parallax__body { height: 76%; grid-template-columns: 28px minmax(0, 1fr); }
  .os-delivery-parallax__workspace { padding: 10px 10px 8px; }
  .os-delivery-parallax__workspace-head { margin-bottom: 8px; }
  .os-delivery-parallax__workspace-head i { width: 42px; height: 4px; }
  .os-delivery-parallax__workspace-head i:last-child { width: 26px; }
  .os-delivery-parallax__grid { grid-auto-rows: 28px; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .os-delivery-parallax__interface-entrance,
  .os-delivery-parallax__tool,
  .os-delivery-parallax__tool-entrance {
    transform: none !important;
    opacity: 1 !important;
  }
}
