.zynq-integration-hero-surface {
  --zynq-integration-hero-bg-height: 980px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 36px !important;
  padding-bottom: 56px !important;
}

.zynq-integration-hero-surface::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: var(--zynq-integration-hero-bg-height);
  background: linear-gradient(180deg, #eef8ff 0%, #f5faff 72%, #fff 100%);
}

.zynq-integration-hero-surface > .mx-auto {
  position: relative;
  z-index: 1;
  padding-top: 0 !important;
}

/*
 * The marketplace runtime can attach the surface class directly to the
 * max-width container. Keep its generated hero content above the background
 * layer in both the initial document and after client-side navigation.
 */
.zynq-integration-hero-surface > .zynq-integration-hero {
  position: relative;
  z-index: 1;
}

/* Every integration tile is one link, including its logo. */
a[href^="/integracje/"] {
  cursor: pointer;
}

a[href^="/integracje/"] *,
a[href^="/integracje/"] img {
  cursor: pointer !important;
}

a[href^="/integracje/"] img {
  pointer-events: none;
}

/* Homepage case-study cards are links, including their photography. */
a[href^="/przypadki-uzycia/"] {
  cursor: pointer;
}

a[href^="/przypadki-uzycia/"] *,
a[href^="/przypadki-uzycia/"] img {
  cursor: pointer !important;
}

a[href^="/przypadki-uzycia/"] img {
  pointer-events: none;
}

.zynq-integration-hero--centered {
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center;
  max-width: 1180px !important;
  width: 100%;
  margin-inline: auto;
  gap: 0 !important;
  padding-block: 0 !important;
}

.zynq-integration-hero--centered > div:first-child {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.zynq-integration-hero--centered .zynq-integration-hero__logo {
  width: min(390px, 90vw) !important;
  height: 68px !important;
  margin-inline: auto !important;
  margin-bottom: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.zynq-integration-hero--centered .zynq-integration-hero__logo img {
  width: var(--zynq-hero-logo-width, 180px) !important;
  height: var(--zynq-hero-logo-height, 68px) !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}

/*
 * Marketplace wordmarks have very different proportions. These dimensions
 * normalise their visible surface instead of stretching every file to the
 * same 390 x 68 box.
 */
.zynq-integration-hero__logo img[src$="/allegro-user.png"] { --zynq-hero-logo-width: 190px; --zynq-hero-logo-height: 68px; }
.zynq-integration-hero__logo img[src$="/amazon-user.png"] { --zynq-hero-logo-width: 190px; --zynq-hero-logo-height: 60px; }
.zynq-integration-hero__logo img[src$="/erli-transparent-cropped.png"] { --zynq-hero-logo-width: 180px; --zynq-hero-logo-height: 68px; }
.zynq-integration-hero__logo img[src$="/empik-user.png"] { --zynq-hero-logo-width: 180px; --zynq-hero-logo-height: 64px; }
.zynq-integration-hero__logo img[src$="/inpost-von-halsky-user.png"] { --zynq-hero-logo-width: 250px; --zynq-hero-logo-height: 52px; }
.zynq-integration-hero__logo img[src$="/ebay-user.png"] { --zynq-hero-logo-width: 180px; --zynq-hero-logo-height: 68px; }
.zynq-integration-hero__logo img[src$="/temu-user.png"] { --zynq-hero-logo-width: 210px; --zynq-hero-logo-height: 56px; }
.zynq-integration-hero__logo img[src$="/media-expert.png"] { --zynq-hero-logo-width: 240px; --zynq-hero-logo-height: 54px; }
.zynq-integration-hero__logo img[src$="/castorama.jpg"] { --zynq-hero-logo-width: 300px; --zynq-hero-logo-height: 68px; }
.zynq-integration-hero__logo img[src$="/leroy-merlin.png"] { --zynq-hero-logo-width: 135px; --zynq-hero-logo-height: 68px; }
.zynq-integration-hero__logo img[src$="/brw.png"] { --zynq-hero-logo-width: 68px; --zynq-hero-logo-height: 68px; }
.zynq-marketplace-template[data-marketplace="kaufland"] .zynq-integration-hero__logo {
  height: 84px !important;
}
.zynq-integration-hero__logo img[src$="/kaufland-user.png"] { --zynq-hero-logo-width: 84px; --zynq-hero-logo-height: 84px; }
.zynq-integration-hero__logo img[src$="/emag-user.png"] { --zynq-hero-logo-width: 205px; --zynq-hero-logo-height: 58px; }
.zynq-integration-hero__logo img[src$="/etsy.png"] { --zynq-hero-logo-width: 150px; --zynq-hero-logo-height: 68px; }
.zynq-integration-hero__logo img[src$="/olx.png"] { --zynq-hero-logo-width: 125px; --zynq-hero-logo-height: 68px; }
.zynq-integration-hero__logo img[src$="/group_aukro.png"] { --zynq-hero-logo-width: 190px; --zynq-hero-logo-height: 60px; }
.zynq-integration-hero__logo img[src$="/chatgpt.png"] { --zynq-hero-logo-width: 68px; --zynq-hero-logo-height: 68px; }

.zynq-integration-hero--centered .zynq-integration-hero__logo.zynq-integration-hero__logo--dark {
  width: auto !important;
  max-width: 90vw !important;
  border-radius: 12px !important;
  background: #15171d !important;
  padding: 7px 14px !important;
}

.zynq-integration-hero--centered > div:first-child > h1 {
  font-size: clamp(2.2rem, 3.35vw, 3.1rem) !important;
}

.zynq-integration-hero-surface h1 span {
  color: var(--zynq-primary) !important;
}

.zynq-integration-hero--centered > div:first-child > h1 + p {
  max-width: 760px !important;
  margin-top: 16px !important;
  font-size: 1.05rem !important;
  line-height: 1.58 !important;
}

.zynq-integration-hero--centered > div:first-child > h1 + p + p {
  margin-top: 12px !important;
}

.zynq-integration-hero--centered > div:first-child > h1 + p + p + div {
  justify-content: center;
  margin-top: 18px !important;
}

.zynq-integration-hero--centered .zynq-integration-hero__visual {
  display: none !important;
}

.zynq-integration-hero--centered > div:first-child:not(:has(.zynq-integration-flow))::after {
  content: "";
  display: block;
  width: 100%;
  min-height: 650px;
  margin-top: 48px;
}

.zynq-integration-hero-sails-canvas {
  display: none !important;
}

.zynq-integration-flow {
  width: min(100%, 1140px);
  margin: 28px auto 0;
  color: #0a1740;
  text-align: left;
}

.zynq-flow-demo {
  position: relative;
}

.zynq-flow-demo__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 17px;
  color: #5e7296;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.zynq-flow-demo__hint span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 999px;
  background: rgba(79, 176, 255, 0.13);
  color: #168fe8;
  font-size: 8px;
  padding-left: 1px;
}

.zynq-flow-demo__processes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: calc(100% - 120px);
  margin-inline: auto;
}

.zynq-flow-demo__processes--top {
  margin-bottom: 18px;
}

.zynq-flow-demo__processes--bottom {
  margin-top: 18px;
}

.zynq-flow-process {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  width: min(100%, 320px);
  min-height: 84px;
  align-items: center;
  border: 1px solid rgba(129, 164, 207, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  padding: 13px 16px;
  color: #0a1740;
  text-align: left;
  box-shadow: 0 10px 28px rgba(36, 64, 107, 0.055);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.zynq-flow-process:nth-child(2) {
  justify-self: end;
}

.zynq-flow-process:hover,
.zynq-flow-process:focus-visible,
.zynq-flow-process[aria-pressed="true"] {
  transform: translateY(-4px);
  border-color: rgba(30, 123, 214, 0.68);
  background: #fff;
  box-shadow: 0 15px 38px rgba(30, 123, 214, 0.13);
  outline: none;
}

.zynq-flow-process:focus-visible {
  box-shadow: 0 0 0 3px rgba(79, 176, 255, 0.22), 0 15px 38px rgba(30, 123, 214, 0.13);
}

.zynq-flow-process::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 25px;
  border-left: 1px dashed rgba(79, 176, 255, 0.42);
  transition: border-color 180ms ease, filter 180ms ease;
}

.zynq-flow-demo__processes--top .zynq-flow-process::after {
  top: 100%;
}

.zynq-flow-demo__processes--bottom .zynq-flow-process::after {
  bottom: 100%;
}

.zynq-flow-demo[data-preview="offers"] .zynq-flow-process[data-process="offers"]::after,
.zynq-flow-demo[data-preview="orders"] .zynq-flow-process[data-process="orders"]::after,
.zynq-flow-demo[data-preview="stock"] .zynq-flow-process[data-process="stock"]::after,
.zynq-flow-demo[data-preview="prices"] .zynq-flow-process[data-process="prices"]::after,
.zynq-flow-process[aria-pressed="true"]::after {
  border-color: #168fe8;
  filter: drop-shadow(0 0 3px rgba(22, 143, 232, 0.46));
}

.zynq-flow-process__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: rgba(79, 176, 255, 0.11);
  color: #168fe8;
  transition: background-color 180ms ease, transform 180ms ease;
}

.zynq-flow-process:hover .zynq-flow-process__icon,
.zynq-flow-process[aria-pressed="true"] .zynq-flow-process__icon {
  transform: scale(1.04);
  background: rgba(79, 176, 255, 0.18);
}

.zynq-flow-process__icon svg {
  width: 22px;
  height: 22px;
}

.zynq-flow-process__title {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
}

.zynq-flow-process__description {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  line-height: 1.38;
  color: #5c6e91;
}

.zynq-flow-demo__core {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.zynq-flow-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(129, 164, 207, 0.3);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 48px rgba(36, 64, 107, 0.1);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.zynq-flow-panel__chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 56px;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #e8eff8;
  padding: 11px 16px;
}

.zynq-flow-panel__dots {
  display: flex;
  gap: 5px;
}

.zynq-flow-panel__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9e5f3;
}

.zynq-flow-panel__dots span:first-child {
  background: #86c8ef;
}

.zynq-flow-panel__brand {
  display: flex;
  min-width: 0;
  align-items: center;
}

.zynq-flow-panel__brand img {
  display: block;
  width: var(--zynq-panel-logo-width, 96px);
  height: var(--zynq-panel-logo-height, 31px);
  max-width: 112px;
  max-height: 36px;
  object-fit: contain;
}

.zynq-flow-panel__brand img[src$="/allegro-user.png"] { --zynq-panel-logo-width: 92px; --zynq-panel-logo-height: 31px; }
.zynq-flow-panel__brand img[src$="/amazon-user.png"] { --zynq-panel-logo-width: 100px; --zynq-panel-logo-height: 30px; }
.zynq-flow-panel__brand img[src$="/erli-transparent-cropped.png"] { --zynq-panel-logo-width: 88px; --zynq-panel-logo-height: 32px; }
.zynq-flow-panel__brand img[src$="/empik-user.png"] { --zynq-panel-logo-width: 92px; --zynq-panel-logo-height: 32px; }
.zynq-flow-panel__brand img[src$="/inpost-von-halsky-user.png"] { --zynq-panel-logo-width: 106px; --zynq-panel-logo-height: 25px; }
.zynq-flow-panel__brand img[src$="/ebay-user.png"] { --zynq-panel-logo-width: 86px; --zynq-panel-logo-height: 34px; }
.zynq-flow-panel__brand img[src$="/temu-user.png"] { --zynq-panel-logo-width: 106px; --zynq-panel-logo-height: 27px; }
.zynq-flow-panel__brand img[src$="/media-expert.png"] { --zynq-panel-logo-width: 108px; --zynq-panel-logo-height: 25px; }
.zynq-flow-panel__brand img[src$="/castorama.jpg"] { --zynq-panel-logo-width: 112px; --zynq-panel-logo-height: 32px; }
.zynq-flow-panel__brand img[src$="/leroy-merlin.png"] { --zynq-panel-logo-width: 58px; --zynq-panel-logo-height: 35px; }
.zynq-flow-panel__brand img[src$="/brw.png"] { --zynq-panel-logo-width: 35px; --zynq-panel-logo-height: 35px; }
.zynq-flow-panel__brand img[src$="/kaufland-user.png"] { --zynq-panel-logo-width: 40px; --zynq-panel-logo-height: 40px; }
.zynq-flow-panel__brand img[src$="/emag-user.png"] { --zynq-panel-logo-width: 106px; --zynq-panel-logo-height: 28px; }
.zynq-flow-panel__brand img[src$="/etsy.png"] { --zynq-panel-logo-width: 72px; --zynq-panel-logo-height: 34px; }
.zynq-flow-panel__brand img[src$="/olx.png"] { --zynq-panel-logo-width: 62px; --zynq-panel-logo-height: 35px; }
.zynq-flow-panel__brand img[src$="/group_aukro.png"] { --zynq-panel-logo-width: 100px; --zynq-panel-logo-height: 31px; }
.zynq-flow-panel__brand img[src$="/chatgpt.png"] { --zynq-panel-logo-width: 35px; --zynq-panel-logo-height: 35px; }

.zynq-flow-panel__brand--dark {
  width: fit-content;
  justify-self: start;
  border-radius: 7px;
  background: #15171d;
  padding: 3px 6px;
}

.zynq-flow-panel__brand--dark img {
  max-width: 106px;
  max-height: 25px;
}

.zynq-flow-panel__mode {
  border-radius: 999px;
  background: #f1f7fe;
  padding: 5px 8px;
  font-size: 0.64rem;
  font-weight: 600;
  color: #56709a;
}

.zynq-flow-panel__body {
  min-height: 254px;
  padding: 12px;
}

.zynq-flow-panel__toolbar {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.zynq-flow-panel__section-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #263b64;
}

.zynq-flow-panel__filter {
  border: 1px solid #e4ecf6;
  border-radius: 8px;
  background: #f8fbff;
  padding: 5px 8px;
  font-size: 0.62rem;
  color: #7182a0;
}

.zynq-flow-order-alert {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 10px;
  margin-bottom: 9px;
  padding-inline: 10px;
  opacity: 0;
  transform: translateY(-4px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 220ms ease, border-color 180ms ease, visibility 180ms ease;
}

.zynq-flow-order-alert.is-visible,
.zynq-flow-demo[data-preview="orders"] .zynq-flow-order-alert {
  border-color: rgba(30, 123, 214, 0.22);
  background: #f2f8ff;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.zynq-flow-order-alert strong {
  font-size: 0.68rem;
}

.zynq-flow-order-alert span {
  font-size: 0.61rem;
  color: #1e7bd6;
}

.zynq-flow-offers {
  display: grid;
  gap: 6px;
}

.zynq-flow-offer {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  border: 1px solid #e9eff7;
  border-radius: 12px;
  background: #fff;
  padding: 6px 8px;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.zynq-flow-product-thumb {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  background: #f4f8fd;
  color: #40577e;
}

.zynq-flow-product-thumb svg {
  width: 28px;
  height: 28px;
}

.zynq-flow-product-info {
  min-width: 0;
}

.zynq-flow-product-name {
  display: block;
  overflow: hidden;
  font-size: 0.71rem;
  font-weight: 650;
  color: #172c54;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zynq-flow-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  margin-top: 4px;
  font-size: 0.61rem;
  color: #7788a4;
}

.zynq-flow-status-active {
  min-width: 61px;
  border-radius: 999px;
  background: #e9f9ef;
  padding: 5px 8px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #138447;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease;
}

.zynq-flow-table {
  overflow: hidden;
  border: 1px solid #e9eff7;
  border-radius: 12px;
  background: #fff;
}

.zynq-flow-table__row {
  display: grid;
  grid-template-columns: minmax(130px, 1.55fr) repeat(3, minmax(48px, 0.58fr));
  min-height: 59px;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #edf2f8;
  padding: 8px 10px;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.zynq-flow-table__row--head {
  min-height: 35px;
  border-top: 0;
  background: #f7faff;
  font-size: 0.6rem;
  font-weight: 650;
  color: #7182a0;
}

.zynq-flow-table__product {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.zynq-flow-table__product .zynq-flow-product-thumb {
  width: 40px;
  height: 40px;
}

.zynq-flow-table__cell {
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
  color: #253a63;
  transition: color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.zynq-flow-table__cell--value {
  font-weight: 650;
}

.zynq-flow-bridge {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.zynq-flow-bridge__sync {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(79, 176, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #168fe8;
  box-shadow: 0 12px 30px rgba(30, 123, 214, 0.12);
}

.zynq-flow-bridge__sync svg {
  width: 32px;
  height: 32px;
  animation: zynq-flow-sync-idle 12s linear infinite;
}

.zynq-flow-bridge__lane {
  position: relative;
  width: 100%;
  height: 22px;
  overflow: hidden;
  color: #4fb0ff;
}

.zynq-flow-bridge__lane::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-top: 1px dashed rgba(30, 123, 214, 0.55);
  transform: translateY(-50%);
}

.zynq-flow-bridge__pulse {
  position: absolute;
  top: 5px;
  left: calc(50% - 5px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #168fe8;
  box-shadow: 0 0 0 5px rgba(22, 143, 232, 0.14);
  opacity: 0;
}

.zynq-flow-bridge__label {
  max-width: 130px;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.35;
  color: #40577e;
}

.zynq-flow-bridge__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(23, 168, 91, 0.18);
  border-radius: 999px;
  background: rgba(236, 250, 242, 0.92);
  padding: 6px 10px;
  font-size: 0.67rem;
  font-weight: 650;
  color: #187744;
}

.zynq-flow-bridge__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #19b568;
  box-shadow: 0 0 0 4px rgba(25, 181, 104, 0.11);
}

.zynq-flow-demo[data-preview="offers"] [data-topic~="offers"],
.zynq-flow-demo[data-preview="orders"] [data-topic~="orders"],
.zynq-flow-demo[data-preview="stock"] [data-topic~="stock"],
.zynq-flow-demo[data-preview="prices"] [data-topic~="prices"] {
  border-color: rgba(30, 123, 214, 0.46);
  background-color: #f4f9ff;
  box-shadow: 0 7px 20px rgba(30, 123, 214, 0.08);
}

.zynq-flow-demo [data-topic].is-source {
  border-color: rgba(30, 123, 214, 0.72);
  background-color: #edf7ff;
  box-shadow: 0 0 0 3px rgba(79, 176, 255, 0.13);
  transform: translateY(-2px);
}

.zynq-flow-demo [data-topic].is-target {
  border-color: rgba(25, 181, 104, 0.5);
  background-color: #f0fbf5;
  box-shadow: 0 0 0 3px rgba(25, 181, 104, 0.1);
}

.zynq-flow-demo .is-value-updated {
  color: #168fe8;
  transform: scale(1.09);
}

.zynq-flow-demo[data-phase="transfer"] .zynq-flow-bridge__sync svg {
  animation: zynq-flow-sync-active 650ms ease-out forwards;
}

.zynq-flow-demo[data-phase="transfer"][data-direction="to-zynq"] .zynq-flow-bridge__pulse {
  animation: zynq-flow-pulse-right 650ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.zynq-flow-demo[data-phase="transfer"][data-direction="to-erli"] .zynq-flow-bridge__pulse {
  animation: zynq-flow-pulse-left 650ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.zynq-flow-demo__announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes zynq-flow-sync-idle {
  to { transform: rotate(360deg); }
}

@keyframes zynq-flow-sync-active {
  0% { transform: rotate(0deg) scale(1); }
  55% { transform: rotate(230deg) scale(1.12); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes zynq-flow-pulse-right {
  0% { left: 0; opacity: 0; }
  10%, 92% { opacity: 1; }
  100% { left: calc(100% - 9px); opacity: 0; }
}

@keyframes zynq-flow-pulse-left {
  0% { left: calc(100% - 9px); opacity: 0; }
  10%, 92% { opacity: 1; }
  100% { left: 0; opacity: 0; }
}

.dark .zynq-integration-hero-surface::before {
  background: linear-gradient(180deg, #091a3d 0%, #07142f 72%, #040d28 100%);
}

.dark .zynq-integration-flow,
.dark .zynq-flow-process,
.dark .zynq-flow-product-name,
.dark .zynq-flow-panel__section-name,
.dark .zynq-flow-table__cell {
  color: #f5f9ff;
}

.dark .zynq-flow-process,
.dark .zynq-flow-panel,
.dark .zynq-flow-offer,
.dark .zynq-flow-table,
.dark .zynq-flow-bridge__sync {
  border-color: rgba(120, 190, 255, 0.17);
  background: rgba(7, 18, 56, 0.88);
}

.dark .zynq-flow-panel__chrome,
.dark .zynq-flow-table__row {
  border-color: rgba(120, 190, 255, 0.12);
}

.dark .zynq-flow-table__row--head,
.dark .zynq-flow-panel__filter,
.dark .zynq-flow-product-thumb {
  background: rgba(18, 33, 80, 0.85);
}

.dark .zynq-flow-process__description,
.dark .zynq-flow-product-meta,
.dark .zynq-flow-panel__mode,
.dark .zynq-flow-table__row--head,
.dark .zynq-flow-bridge__label {
  color: #a9bad7;
}

@media (max-width: 1023px) {
  .zynq-flow-demo__processes {
    width: calc(100% - 40px);
  }

  .zynq-flow-demo__core {
    grid-template-columns: minmax(0, 1fr) 108px minmax(0, 1fr);
    gap: 12px;
  }

  .zynq-flow-panel__chrome {
    padding-inline: 12px;
  }

  .zynq-flow-panel__body {
    padding: 12px;
  }

  .zynq-flow-table__row {
    grid-template-columns: minmax(108px, 1.4fr) repeat(3, minmax(39px, 0.55fr));
    gap: 5px;
    padding-inline: 7px;
  }

  .zynq-flow-table__row--head {
    font-size: 0.55rem;
  }

  .zynq-flow-product-name {
    font-size: 0.66rem;
  }
}

@media (max-width: 767px) {
  .zynq-integration-hero-surface,
  .zynq-integration-hero-surface > .mx-auto,
  .zynq-integration-hero--centered,
  .zynq-integration-hero--centered > div:first-child,
  .zynq-integration-flow,
  .zynq-flow-demo,
  .zynq-flow-demo__core,
  .zynq-flow-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .zynq-integration-hero-surface {
    padding-top: 30px !important;
    padding-bottom: 44px !important;
  }

  .zynq-integration-hero-surface > .mx-auto {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .zynq-integration-hero--centered > div:first-child {
    overflow: visible;
  }

  .zynq-integration-hero--centered .zynq-integration-hero__logo {
    width: min(350px, 90vw) !important;
    height: 68px !important;
    margin-bottom: 18px !important;
  }

  .zynq-integration-hero--centered .zynq-integration-hero__logo img {
    max-width: 100% !important;
    max-height: 100% !important;
  }

  .zynq-marketplace-template[data-marketplace="kaufland"] .zynq-integration-hero__logo {
    height: 76px !important;
  }

  .zynq-marketplace-template[data-marketplace="kaufland"] .zynq-integration-hero__logo img {
    --zynq-hero-logo-width: 76px;
    --zynq-hero-logo-height: 76px;
  }

  .zynq-integration-hero--centered > div:first-child > h1 {
    max-width: 100% !important;
    font-size: clamp(1.9rem, 8.5vw, 2.35rem) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .zynq-integration-hero--centered > div:first-child > h1 + p {
    width: 100%;
    max-width: 36rem !important;
    margin-top: 16px !important;
    padding-inline: 2px;
    font-size: 0.98rem !important;
    line-height: 1.58 !important;
    overflow-wrap: anywhere;
  }

  .zynq-integration-hero--centered > div:first-child > h1 + p + p {
    width: 100%;
    max-width: 100%;
    padding-inline: 2px;
  }

  .zynq-integration-hero--centered > div:first-child > h1 + p + p + div {
    width: min(100%, 340px) !important;
    max-width: 100% !important;
    margin-inline: auto;
    margin-top: 20px !important;
    gap: 10px;
  }

  .zynq-integration-hero--centered > div:first-child > h1 + p + p + div > a {
    width: 100%;
    min-width: 0;
    padding-inline: 18px !important;
    text-align: center;
    white-space: normal;
  }

  .zynq-integration-hero--centered > div:first-child:not(:has(.zynq-integration-flow))::after {
    min-height: 1050px;
    margin-top: 40px;
  }

  .zynq-integration-flow {
    margin-top: 30px;
    overflow: visible;
  }

  .zynq-flow-demo__hint {
    width: min(100%, 330px);
    margin-right: auto;
    margin-left: auto;
    padding-inline: 4px;
    font-size: 0.75rem;
  }

  .zynq-flow-demo {
    display: flex;
    flex-direction: column;
  }

  .zynq-flow-demo__core {
    order: 1;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .zynq-flow-demo__processes {
    width: 100%;
    gap: 10px;
  }

  .zynq-flow-demo__processes--top {
    order: 2;
    margin: 24px 0 0;
  }

  .zynq-flow-demo__processes--bottom {
    order: 3;
    margin-top: 10px;
  }

  .zynq-flow-process {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
    width: 100%;
    min-height: 105px;
    padding: 13px 12px;
    border-radius: 15px;
  }

  .zynq-flow-process:nth-child(2) {
    justify-self: stretch;
  }

  .zynq-flow-process::after {
    display: none;
  }

  .zynq-flow-process__icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .zynq-flow-process__icon svg {
    width: 19px;
    height: 19px;
  }

  .zynq-flow-process__title {
    font-size: 0.79rem;
  }

  .zynq-flow-process__description {
    font-size: 0.67rem;
  }

  .zynq-flow-panel__body {
    min-height: 0;
  }

  .zynq-flow-table {
    width: 100%;
    min-width: 0;
  }

  .zynq-flow-panel__brand img {
    max-height: 32px;
  }

  .zynq-flow-bridge {
    min-height: 120px;
    gap: 8px;
  }

  .zynq-flow-bridge__lane {
    position: absolute;
    width: 22px;
    height: 112px;
  }

  .zynq-flow-bridge__lane::before {
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    border-top: 0;
    border-left: 1px dashed rgba(30, 123, 214, 0.55);
    transform: translateX(-50%);
  }

  .zynq-flow-bridge__pulse {
    top: calc(50% - 5px);
    left: 6px;
  }

  .zynq-flow-bridge__sync,
  .zynq-flow-bridge__label,
  .zynq-flow-bridge__status {
    position: relative;
    z-index: 1;
  }

  .zynq-flow-demo[data-phase="transfer"][data-direction="to-zynq"] .zynq-flow-bridge__pulse {
    animation: zynq-flow-pulse-down 650ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  .zynq-flow-demo[data-phase="transfer"][data-direction="to-erli"] .zynq-flow-bridge__pulse {
    animation: zynq-flow-pulse-up 650ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
}

@media (max-width: 460px) {
  .zynq-integration-hero--centered > div:first-child > h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.15rem) !important;
  }

  .zynq-integration-hero--centered > div:first-child > h1 + p {
    font-size: 0.94rem !important;
  }

  .zynq-flow-panel__chrome {
    grid-template-columns: auto 1fr;
  }

  .zynq-flow-panel__mode {
    display: none;
  }

  .zynq-flow-table__row {
    grid-template-columns: minmax(105px, 1.35fr) repeat(3, minmax(38px, 0.55fr));
  }

  .zynq-flow-table__product {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 6px;
  }

  .zynq-flow-table__product .zynq-flow-product-thumb {
    width: 34px;
    height: 34px;
  }

  .zynq-flow-table__cell {
    font-size: 0.59rem;
  }
}

@keyframes zynq-flow-pulse-down {
  0% { top: 0; opacity: 0; }
  10%, 92% { opacity: 1; }
  100% { top: calc(100% - 9px); opacity: 0; }
}

@keyframes zynq-flow-pulse-up {
  0% { top: calc(100% - 9px); opacity: 0; }
  10%, 92% { opacity: 1; }
  100% { top: 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .zynq-integration-flow *,
  .zynq-integration-flow *::before,
  .zynq-integration-flow *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
