
/* ===== ANDMOOK SELLER HOME FEATURE ===== */

.seller-home-feature {
  padding: 30px 0 62px;
}

.seller-home-card {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, .93fr)
    minmax(0, 1.07fr);
  gap: 58px;
  box-sizing: border-box;
  min-height: 490px;
  overflow: hidden;
  padding: 54px 58px;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 84% 14%,
      rgba(67, 189, 99, .22),
      transparent 30%
    ),
    radial-gradient(
      circle at 68% 110%,
      rgba(67, 189, 99, .13),
      transparent 35%
    ),
    #10161b;
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 28px 70px rgba(7, 14, 19, .13);
}

.seller-home-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      125deg,
      transparent 38%,
      rgba(255,255,255,.025) 38.5%,
      transparent 39%
    );
}

.seller-home-main,
.seller-home-dashboard {
  position: relative;
  z-index: 1;
}

.seller-home-main {
  align-self: center;
}

.seller-home-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #61d17f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.seller-home-kicker span {
  width: 25px;
  height: 2px;
  background: #61d17f;
}

.seller-home-main h2 {
  max-width: 690px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 3.75vw, 57px);
  line-height: .99;
  letter-spacing: -.045em;
}

.seller-home-main h2 strong {
  color: #59cb77;
  font-weight: inherit;
}

.seller-home-main > p {
  max-width: 620px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 16px;
  line-height: 1.57;
}

.seller-home-actions {
  margin-top: 30px;
}

.seller-home-actions > span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.seller-home-actions b {
  color: #59cb77;
  font-size: 19px;
}


/* Visual */

.seller-home-dashboard {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.seller-home-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 13px;
}

.seller-logo {
  display: flex;
  height: 53px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
}

.seller-logo-wb {
  background:
    linear-gradient(
      90deg,
      #a63aef,
      #e14bc4
    );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.045em;
}

.seller-logo-ozon {
  color: #4d89ff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.055em;
}

.seller-logo-ym {
  gap: 3px;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}

.seller-logo-ym b {
  color: #ff5034;
  font-size: 18px;
}

.seller-logo-ym span {
  position: relative;
}

.seller-logo-ym span::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -3px;
  width: 25px;
  height: 3px;
  border-radius: 3px;
  background: #ffcc00;
}


.seller-home-panel {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}

.seller-home-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.seller-home-panel-head > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.seller-home-panel-head small {
  color: rgba(255,255,255,.34);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.seller-home-panel-head strong {
  color: #fff;
  font-size: 16px;
}

.seller-home-panel-head > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.38);
  font-size: 8px;
  text-transform: uppercase;
}

.seller-home-panel-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #57cf78;
  box-shadow:
    0 0 0 5px rgba(87,207,120,.08);
}

.seller-home-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.seller-home-kpis > div {
  padding: 11px;
  border-radius: 10px;
  background: rgba(255,255,255,.045);
}

.seller-home-kpis small,
.seller-home-kpis strong {
  display: block;
}

.seller-home-kpis small {
  margin-bottom: 5px;
  color: rgba(255,255,255,.32);
  font-size: 7px;
}

.seller-home-kpis strong {
  color: rgba(255,255,255,.78);
  font-size: 10px;
}

.seller-home-chart {
  display: flex;
  height: 98px;
  align-items: flex-end;
  gap: 6px;
  padding: 13px;
  border-radius: 11px;
  background: rgba(0,0,0,.16);
}

.seller-home-chart i {
  flex: 1;
  height: var(--h);
  min-height: 6px;
  border-radius: 4px 4px 2px 2px;
  background:
    linear-gradient(
      180deg,
      #63d982,
      rgba(59,172,89,.32)
    );
}

.seller-home-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.seller-home-bottom span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.34);
  font-size: 8px;
}


/* Interaction */

.seller-home-card {
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.seller-home-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 34px 80px rgba(7, 14, 19, .18);
}


/* Responsive */

@media (max-width: 1050px) {

  .seller-home-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 700px) {

  .seller-home-feature {
    padding: 20px 0 45px;
  }

  .seller-home-card {
    gap: 38px;
    padding: 33px 22px;
    border-radius: 22px;
  }

  .seller-home-main h2 {
    font-size: 39px;
  }

  .seller-home-platforms {
    grid-template-columns: repeat(3, 1fr);
  }

  .seller-logo {
    height: 47px;
  }

  .seller-logo-wb {
    font-size: 10px;
  }

  .seller-logo-ozon {
    font-size: 14px;
  }

  .seller-logo-ym {
    font-size: 9px;
  }

  .seller-home-kpis {
    grid-template-columns: 1fr;
  }
}



/* ===== HOME MARKETPLACE HERO V2 ===== */


/* Calm but visible seller direction on first screen */

.hero-marketplace-note {
  display: flex;
  max-width: 620px;
  box-sizing: border-box;
  align-items: center;
  gap: 11px;
  margin-top: 19px;
  padding: 10px 13px;
  border: 1px solid rgba(48, 156, 78, .13);
  border-radius: 12px;
  background: rgba(55, 171, 87, .055);
  color: #6d7375;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.45;
  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.hero-marketplace-note:hover {
  transform: translateY(-1px);
  border-color: rgba(48, 156, 78, .25);
  background: rgba(55, 171, 87, .09);
}

.hero-marketplace-note strong {
  color: #32964f;
  font-weight: 750;
}

.hero-marketplace-note-icon {
  display: flex;
  width: 27px;
  min-width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ecf7ef;
  color: #37a257;
  font-size: 13px;
  font-weight: 800;
}


/* First item in stack is now the seller product */

.stack-line .stack-marketplace {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #349a52;
  font-weight: 700;
  text-decoration: none;
}

.stack-marketplace b {
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #edf7ef;
  font-size: 9px;
}


/* Official-file logo in the big home seller card */

.seller-logo-ym {
  background: rgba(255,255,255,.055);
}

.seller-logo-ym img {
  display: block;
  width: auto;
  max-width: 98px;
  height: 21px;
  object-fit: contain;
}


/* Keep hero rhythm after adding the seller note */

.hero-marketplace-note + .hero-actions {
  margin-top: 22px;
}


@media (max-width: 700px) {

  .hero-marketplace-note {
    max-width: none;
    font-size: 11px;
  }

  .seller-logo-ym img {
    max-width: 72px;
    height: 17px;
  }
}



/* ===== YANDEX MARKET DARK CARD POLISH V2 ===== */

.seller-home-platforms .seller-logo-ym {
  border-color: #ffcc00;
  background: #ffcc00;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    0 8px 22px rgba(255,204,0,.09);
}

.seller-home-platforms .seller-logo-ym img {
  max-width: 104px;
  height: 23px;
}

