/* Marketplace kinetic v05. The hub-only rules intentionally sit after the
   shared marketplace sheets, leaving the four route pages untouched. */
body.istandart-marketplace-hub {
  --mp-v05-deep: #0d1438;
  --mp-v05-deep-2: #101b45;
  --mp-v05-ink: #f5f8ff;
  --mp-v05-muted: #c8d0e4;
  --mp-v05-line: #68789f;
  --mp-v05-wb: #bd1ea9;
  --mp-v05-ozon: #075ee6;
  --mp-v05-yandex: #ffd323;
  color: var(--mp-v05-ink);
  background: var(--mp-v05-deep);
}

body.istandart-marketplace-hub .mp-main {
  padding-bottom: 0;
  background:
    radial-gradient(circle at 84% 8%, #263c76 0, transparent 25rem),
    linear-gradient(135deg, #0d1438, #101b45 65%, #0d1438);
}

body.istandart-marketplace-hub .mp-breadcrumbs {
  color: #b7c2dd;
}

body.istandart-marketplace-hub .mp-breadcrumbs a,
body.istandart-marketplace-hub .mp-text-link {
  color: #d8e6ff;
}

body.istandart-marketplace-hub .mp-hero--hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: 500px;
  margin: 22px 0 0;
  padding: clamp(38px, 6vw, 74px);
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #53638d;
  border-radius: 0;
  background:
    radial-gradient(circle at 78% 24%, #263c76 0, transparent 40%),
    linear-gradient(135deg, #0d1b4b, #071237 72%);
  box-shadow: none;
}

body.istandart-marketplace-hub .mp-hero--hub::after {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background-image: linear-gradient(#ffffff0c 1px, transparent 1px), linear-gradient(90deg, #ffffff0c 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 42%);
  pointer-events: none;
}

body.istandart-marketplace-hub .mp-hero--hub::before {
  position: absolute;
  z-index: 0;
  top: -12%;
  right: 18%;
  width: 360px;
  height: 360px;
  border: 1px solid #c4cdea42;
  border-radius: 50%;
  box-shadow: 0 0 0 58px #c4cdea0b, 0 0 0 116px #c4cdea08;
  content: "";
}

body.istandart-marketplace-hub .mp-hero--hub .mp-hero-copy,
body.istandart-marketplace-hub .mp-hero--hub .mp-hero-network {
  position: relative;
  z-index: 2;
}

body.istandart-marketplace-hub .mp-hero--hub .mp-hero-copy {
  max-width: 670px;
}

body.istandart-marketplace-hub .mp-hero--hub .mp-eyebrow {
  color: #aac5f0;
}

body.istandart-marketplace-hub .mp-hero-statement {
  margin: 19px 0 8px;
  color: #fff;
  font-size: clamp(35px, 4.3vw, 58px);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .84;
}

body.istandart-marketplace-hub .mp-hero--hub h1 {
  max-width: 650px;
  margin: 19px 0 0;
  color: #f4f7ff;
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

body.istandart-marketplace-hub .mp-hero--hub .mp-hero-copy > p:not(.mp-eyebrow):not(.mp-hero-statement) {
  max-width: 510px;
  margin-top: 19px;
  color: #dce7fb;
  font-size: 17px;
  line-height: 1.52;
}

body.istandart-marketplace-hub .mp-hero-eagle {
  position: absolute;
  z-index: 1;
  top: -64px;
  right: -50px;
  width: min(57vw, 620px);
  height: auto;
  opacity: .14;
  filter: saturate(.7);
  pointer-events: none;
  animation: mp-v05-eagle-drift 14s ease-in-out infinite;
}

body.istandart-marketplace-hub .mp-actions {
  gap: 20px;
}

body.istandart-marketplace-hub .mp-button {
  color: #fff;
  background: linear-gradient(115deg, #c80fa8, #075ee6 56%, #d9ae17);
  border: 1px solid #d5def4;
  border-radius: 0;
  box-shadow: 0 9px 22px #020a2866;
  transition: transform .25s ease, box-shadow .25s ease;
}

body.istandart-marketplace-hub .mp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px #020a2888;
}

body.istandart-marketplace-hub .mp-phone {
  color: #fff;
}

body.istandart-marketplace-hub .mp-hero-network {
  align-self: end;
  display: grid;
  gap: 18px;
  padding: 20px 0 14px;
}

body.istandart-marketplace-hub .mp-hero-node {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 69px;
  padding: 12px 15px;
  color: #fff;
  background: #102052bb;
  border: 1px solid #e4e8f588;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  backdrop-filter: blur(3px);
  animation: mp-v05-node-hover 5s ease-in-out infinite;
}

body.istandart-marketplace-hub .mp-hero-node::before {
  position: absolute;
  top: 50%;
  right: 100%;
  width: 72px;
  height: 1px;
  background: #c4cdea90;
  content: "";
  transform-origin: right;
}

body.istandart-marketplace-hub .mp-hero-node--product::before { transform: rotate(-20deg); }
body.istandart-marketplace-hub .mp-hero-node--document { margin-left: 28px; animation-delay: -1.3s; }
body.istandart-marketplace-hub .mp-hero-node--document::before { transform: rotate(0); }
body.istandart-marketplace-hub .mp-hero-node--card { margin-left: 63px; animation-delay: -2.6s; }
body.istandart-marketplace-hub .mp-hero-node--card::before { transform: rotate(19deg); }

body.istandart-marketplace-hub .mp-hero-node small {
  color: #c8d0e4;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

body.istandart-marketplace-hub .mp-platforms {
  margin: 0;
  padding: 84px 0 34px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

body.istandart-marketplace-hub .mp-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .55fr);
  gap: 18px 30px;
  max-width: none;
  padding-bottom: 26px;
  border-bottom: 1px solid #53638d;
}

body.istandart-marketplace-hub .mp-section-heading .mp-eyebrow { grid-column: 1 / -1; color: #aac5f0; }
body.istandart-marketplace-hub .mp-section-heading h2,
body.istandart-marketplace-hub .mp-rule h2,
body.istandart-marketplace-hub .mp-content h2,
body.istandart-marketplace-hub .mp-next h2 { color: #fff; font-size: clamp(32px, 3.7vw, 49px); line-height: .96; letter-spacing: -.055em; }
body.istandart-marketplace-hub .mp-section-heading > p:last-child { align-self: end; margin: 0; color: var(--mp-v05-muted); line-height: 1.55; }

body.istandart-marketplace-hub .mp-platform-tabs {
  display: grid;
  grid-template-columns: 1.13fr .9fr .9fr;
  gap: 14px;
  margin-top: 20px;
  padding: 0;
  border: 0;
}

body.istandart-marketplace-hub .mp-platform-tabs button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  min-height: 154px;
  padding: 22px 20px;
  color: #f6f8ff;
  background: #15235488;
  border: 1px solid #53638d;
  border-radius: 0;
  font-size: 21px;
  text-align: left;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

body.istandart-marketplace-hub .mp-platform-tabs button:hover { transform: translateY(-4px); background: #1c2c5e; box-shadow: 0 16px 27px #020a284d; }
body.istandart-marketplace-hub .mp-platform-tabs button span { color: #b9c9ea; }
body.istandart-marketplace-hub .mp-platform-tabs button[aria-selected=true] { color: #fff; background: linear-gradient(145deg, #54135f, #9924a1); border-color: #df88ed; box-shadow: 0 16px 27px #020a284d; }
body.istandart-marketplace-hub .mp-platform-tabs button[aria-selected=true] span { color: #f4d7fa; }

body.istandart-marketplace-hub .mp-platform-panel {
  margin-top: 14px;
  padding: 35px;
  color: #eff4ff;
  background: #15235488;
  border: 1px solid #53638d;
  border-radius: 0;
}

body.istandart-marketplace-hub .mp-panel-label,
body.istandart-marketplace-hub .mp-service-grid span,
body.istandart-marketplace-hub .mp-checklist span { color: var(--mp-v05-yandex); }
body.istandart-marketplace-hub .mp-platform-panel p,
body.istandart-marketplace-hub .mp-platform-panel ol { color: var(--mp-v05-muted); }
body.istandart-marketplace-hub .mp-panel-link { color: #fff; background: linear-gradient(115deg, #c80fa8, #075ee6 60%, #d9ae17); border-radius: 0; }

body.istandart-marketplace-hub .mp-service-grid { gap: 14px; margin-bottom: 42px; }
body.istandart-marketplace-hub .mp-service-grid a { min-height: 170px; padding: 23px 20px; color: #fff; background: #15235488; border-color: #53638d; border-radius: 0; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
body.istandart-marketplace-hub .mp-service-grid a:hover { transform: translateY(-7px); background: #1c2c5e; box-shadow: 0 20px 36px #020a2866; }
body.istandart-marketplace-hub .mp-service-grid a strong { font-size: 20px; }
body.istandart-marketplace-hub .mp-service-grid small { color: var(--mp-v05-muted); }
body.istandart-marketplace-hub .mp-service-grid a:nth-child(1) { border-top: 4px solid var(--mp-v05-wb); }
body.istandart-marketplace-hub .mp-service-grid a:nth-child(2) { border-top: 4px solid var(--mp-v05-ozon); }
body.istandart-marketplace-hub .mp-service-grid a:nth-child(3) { border-top: 4px solid var(--mp-v05-yandex); }
body.istandart-marketplace-hub .mp-service-grid a:nth-child(4) { border-top: 4px solid #d5def4; }

body.istandart-marketplace-hub .mp-rule,
body.istandart-marketplace-hub .mp-content,
body.istandart-marketplace-hub .mp-focus {
  color: #eff4ff;
  background: #15235488;
  border-color: #53638d;
  border-radius: 0;
}

body.istandart-marketplace-hub .mp-rule { gap: 58px; margin: 38px 0; padding: 48px 44px; }
body.istandart-marketplace-hub .mp-rule .mp-eyebrow,
body.istandart-marketplace-hub .mp-content .mp-eyebrow { color: #aac5f0; }
body.istandart-marketplace-hub .mp-rule p,
body.istandart-marketplace-hub .mp-content p,
body.istandart-marketplace-hub .mp-focus p { color: var(--mp-v05-muted); }
body.istandart-marketplace-hub .mp-letter { background: linear-gradient(135deg, #172654, #101b45); }
body.istandart-marketplace-hub .mp-content { margin-top: 30px; padding: 42px; }
body.istandart-marketplace-hub .mp-checklist > div { background: #0c173b; border: 1px solid #455682; border-radius: 0; }
body.istandart-marketplace-hub .mp-focus-mark { color: #101b45; background: var(--mp-v05-yandex); }
body.istandart-marketplace-hub .mp-focus ol { color: #e9effd; }

body.istandart-marketplace-hub .mp-estimate {
  color: #fff;
  background: linear-gradient(135deg, #54135f, #152d7a 58%, #152354);
  border-color: #6476ac;
}
body.istandart-marketplace-hub .mp-estimate .mp-eyebrow { color: #f4d7fa; }
body.istandart-marketplace-hub .mp-estimate p { color: #e0e8fa; }

body.istandart-marketplace-hub .mp-next {
  margin: 30px 0 0;
  padding: 52px 56px;
  color: #f6f8ff;
  background: #101b45;
  border: 1px solid #53638d;
  border-radius: 0;
}

body.istandart-marketplace-hub .mp-next .mp-eyebrow { color: #aac5f0; }
body.istandart-marketplace-hub .mp-next-links a,
body.istandart-marketplace-hub .mp-next-links button { color: #f6f8ff; background: #152354; border-color: #61719c; border-radius: 0; }
body.istandart-marketplace-hub .mp-next-links a:hover,
body.istandart-marketplace-hub .mp-next-links button:hover { background: #263c76; }
body.istandart-marketplace-hub .mp-next-links button { background: linear-gradient(115deg, #c80fa8, #075ee6 56%, #d9ae17); }

body.istandart-marketplace-hub .mp-footer {
  color: #adbee1;
  background: #0d1438;
  border-top: 1px solid #475c8d;
}
body.istandart-marketplace-hub .mp-footer a { color: #d8e6ff; }

body.istandart-marketplace-hub .mp-button:focus-visible,
body.istandart-marketplace-hub .mp-phone:focus-visible,
body.istandart-marketplace-hub .mp-hero-node:focus-visible,
body.istandart-marketplace-hub .mp-platform-tabs button:focus-visible,
body.istandart-marketplace-hub .mp-panel-link:focus-visible,
body.istandart-marketplace-hub .mp-service-grid a:focus-visible,
body.istandart-marketplace-hub .mp-text-link:focus-visible,
body.istandart-marketplace-hub .mp-next-links a:focus-visible,
body.istandart-marketplace-hub .mp-next-links button:focus-visible,
body.istandart-marketplace-hub .mp-footer a:focus-visible,
body.istandart-marketplace-hub .mp-breadcrumbs a:focus-visible {
  outline: 3px solid var(--mp-v05-yandex);
  outline-offset: 4px;
}

/* Home keeps its established markup; the coloured prism is decoration only. */
body.istandart-home-v4 #top.v6-home .v6-hero-actions .v6-marketplace-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "kicker kicker" "title marks" "value action";
  gap: 7px 18px;
  min-height: 168px;
  padding: 24px 130px 22px 27px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(115deg, #bc1ca8, #075ee6 55%, #d6a80f);
  border: 1px solid #d5def4;
  border-radius: 0;
  box-shadow: 0 18px 38px #020a284d;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}

body.istandart-home-v4 #top.v6-home .v6-hero-actions .v6-marketplace-link::before {
  z-index: 1;
  grid-area: kicker;
  color: #fff7d5;
  content: "ДОКУМЕНТЫ · КАРТОЧКИ ТОВАРА";
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
}

body.istandart-home-v4 #top.v6-home .v6-hero-actions .v6-marketplace-link::after {
  position: absolute;
  z-index: -1;
  top: 14px;
  right: -27px;
  bottom: auto;
  left: auto;
  width: 145px;
  height: 145px;
  background: linear-gradient(135deg, #fff7bd 0 17%, #df9bff 18% 43%, #2d75ff 44% 68%, #ffd323 69%);
  box-shadow: -10px 12px 0 #07184c33, inset 13px -13px 0 #07184c2b;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  content: "";
  transform: rotate(18deg);
}

body.istandart-home-v4 #top.v6-home .v6-marketplace-link .v6-marketplace-copy { display: contents; }
body.istandart-home-v4 #top.v6-home .v6-marketplace-link .v6-marketplace-copy strong { z-index: 1; grid-area: title; color: #fff; font-size: clamp(27px, 2.5vw, 35px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
body.istandart-home-v4 #top.v6-home .v6-marketplace-link .v6-marketplace-copy small { z-index: 1; grid-area: value; align-self: end; color: #f4f7ff; font-size: 15px; font-weight: 700; }
body.istandart-home-v4 #top.v6-home .v6-marketplace-link .v6-marketplace-marks { z-index: 1; grid-area: marks; gap: 8px; }
body.istandart-home-v4 #top.v6-home .v6-marketplace-link .v6-marketplace-mark { min-width: 45px; height: 40px; padding: 0 9px; color: #fff; background: #ffffff21; border: 1px solid #ffffff70; border-radius: 0; font-size: 13px; box-shadow: none; }
body.istandart-home-v4 #top.v6-home .v6-marketplace-link .v6-marketplace-mark--wb { color: #ffe5fb; background: #60105c99; }
body.istandart-home-v4 #top.v6-home .v6-marketplace-link .v6-marketplace-mark--ozon { color: #e5f0ff; background: #073c9a99; }
body.istandart-home-v4 #top.v6-home .v6-marketplace-link .v6-marketplace-mark--yandex { min-width: 40px; color: #fff7c6; background: #7d611199; font-size: 21px; }
body.istandart-home-v4 #top.v6-home .v6-marketplace-link > b { z-index: 1; grid-area: action; display: flex; align-items: center; gap: 9px; align-self: end; margin: 0; padding: 10px 12px 10px 16px; color: #07184c; background: #fff; border-radius: 0; font-size: 0; font-weight: 800; }
body.istandart-home-v4 #top.v6-home .v6-marketplace-link > b::before { content: "Открыть"; font-size: 13px; }
body.istandart-home-v4 #top.v6-home .v6-marketplace-link > b::after { display: grid; place-items: center; width: 23px; height: 23px; color: #fff; background: #075ee6; border-radius: 50%; content: "→"; font-size: 17px; }
body.istandart-home-v4 #top.v6-home .v6-marketplace-link:hover { transform: translateY(-4px); box-shadow: 0 25px 45px #020a2870; }
body.istandart-home-v4 #top.v6-home .v6-marketplace-link:focus-visible { outline: 3px solid #ffd323; outline-offset: 4px; }

@keyframes mp-v05-eagle-drift { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-7px, 8px, 0); } }
@keyframes mp-v05-node-hover { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

@media (max-width: 800px) {
  body.istandart-marketplace-hub .mp-hero--hub { grid-template-columns: 1fr; min-height: 0; }
  body.istandart-marketplace-hub .mp-hero-network { width: min(100%, 360px); justify-self: end; margin-top: 30px; }
  body.istandart-marketplace-hub .mp-section-heading { display: block; }
  body.istandart-marketplace-hub .mp-section-heading > p:last-child { margin-top: 14px; }
  body.istandart-marketplace-hub .mp-platform-tabs { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body.istandart-marketplace-hub .mp-hero--hub { padding: 38px 23px; }
  body.istandart-marketplace-hub .mp-hero-statement { font-size: clamp(38px, 13vw, 56px); }
  body.istandart-marketplace-hub .mp-hero-eagle { top: 126px; right: -105px; width: 430px; opacity: .11; }
  body.istandart-marketplace-hub .mp-hero-network { width: 220px; gap: 10px; opacity: .78; }
  body.istandart-marketplace-hub .mp-hero-node { min-height: 58px; padding: 9px 11px; font-size: 10px; }
  body.istandart-marketplace-hub .mp-hero-node::before { width: 35px; }
  body.istandart-marketplace-hub .mp-hero-node--document { margin-left: 15px; }
  body.istandart-marketplace-hub .mp-hero-node--card { margin-left: 31px; }
  body.istandart-marketplace-hub .mp-platforms { padding-top: 57px; }
  body.istandart-marketplace-hub .mp-platform-tabs { grid-template-columns: 1fr; }
  body.istandart-marketplace-hub .mp-platform-tabs button { min-height: 116px; }
  body.istandart-marketplace-hub .mp-platform-panel,
  body.istandart-marketplace-hub .mp-rule,
  body.istandart-marketplace-hub .mp-content,
  body.istandart-marketplace-hub .mp-next { padding: 28px 22px; }
  body.istandart-marketplace-hub .mp-rule { gap: 28px; }
  body.istandart-home-v4 #top.v6-home .v6-hero-actions .v6-marketplace-link { grid-template-columns: 1fr; grid-template-areas: "kicker" "title" "marks" "value" "action"; padding: 23px 80px 23px 22px; }
  body.istandart-home-v4 #top.v6-home .v6-marketplace-link > b { justify-content: space-between; width: 100%; }
  body.istandart-home-v4 #top.v6-home .v6-hero-actions .v6-marketplace-link::after { top: 54px; right: -57px; width: 124px; height: 124px; }
}

@media (prefers-reduced-motion: reduce) {
  body.istandart-marketplace-hub *,
  body.istandart-marketplace-hub *::before,
  body.istandart-marketplace-hub *::after,
  body.istandart-home-v4 #top.v6-home .v6-marketplace-link { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
