/* MercadilloGeek 3.9.2 · vendedor y rango protagonistas */

.mg-product-seller-card {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 14px 16px;
  align-items: center;
  margin: 26px 0;
  padding: 18px;
  overflow: hidden;
  border: 2px solid #9fb3ff;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(91, 112, 245, .18), transparent 42%),
    linear-gradient(145deg, #f8faff, #eef3ff);
  box-shadow: 0 14px 34px rgba(40, 58, 135, .14);
  color: #11182d !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.mg-product-seller-card:hover,
.mg-product-seller-card:focus-visible {
  transform: translateY(-2px);
  border-color: #6d75ef;
  box-shadow: 0 18px 42px rgba(40, 58, 135, .2);
}

.mg-product-seller-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 82px;
  height: 5px;
  border-radius: 0 0 0 8px;
  background: linear-gradient(90deg, #5b70f5, #22d3ee, #b7f34a);
  content: "";
}

.mg-product-seller-card > .mg-avatar-seller {
  width: 68px !important;
  height: 68px !important;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px #6478f2, 0 10px 22px rgba(41, 52, 124, .22);
  font-size: 19px !important;
}

.mg-product-seller-card .mg-seller-identity {
  display: grid;
  gap: 3px;
}

.mg-product-seller-card .mg-seller-kicker {
  color: #5663bd;
  font: 900 10px/1.2 monospace;
  letter-spacing: .1em;
}

.mg-product-seller-card .mg-seller-identity > b {
  color: #10172b;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.mg-product-seller-card .mg-seller-identity > b span {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #16a86b;
  color: #fff;
  font-size: 12px;
  vertical-align: 2px;
}

.mg-product-seller-card .mg-seller-rating {
  color: #4b5874;
  font-size: 12px;
  font-weight: 750;
}

.mg-product-seller-card .mg-seller-profile-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #121a33;
  color: #cafa56;
  font-size: 22px;
  font-weight: 900;
}

.mg-product-seller-card > .mg-seller-box-badges {
  display: flex;
  grid-column: 1 / -1;
  flex: none;
  gap: 9px;
  align-items: stretch;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #cfd9f1;
}

.mg-product-seller-card .mg-cpu-profile,
.mg-product-seller-card .mg-power-profile {
  min-height: 52px;
  padding: 9px 12px;
  border-radius: 13px;
}

.mg-product-seller-card .mg-cpu-profile > i {
  width: 34px;
  height: 34px;
}

.mg-product-seller-card .mg-cpu-profile small,
.mg-product-seller-card .mg-power-profile small {
  font-size: 10px;
}

.mg-product-seller-card .mg-cpu-profile b,
.mg-product-seller-card .mg-power-profile b {
  font-size: 15px;
}

.mg-gallery-commerce > details.mg-offer-box > summary {
  min-height: 72px;
}

@media (max-width: 620px) {
  .mg-product-seller-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 15px;
    border-radius: 17px;
  }

  .mg-product-seller-card > .mg-avatar-seller {
    width: 58px !important;
    height: 58px !important;
    font-size: 16px !important;
  }

  .mg-product-seller-card .mg-seller-identity > b {
    font-size: 19px;
  }

  .mg-product-seller-card .mg-seller-rating {
    font-size: 11px;
  }

  .mg-product-seller-card .mg-seller-profile-arrow {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .mg-product-seller-card > .mg-seller-box-badges {
    flex-direction: column;
  }

  .mg-product-seller-card .mg-cpu-profile,
  .mg-product-seller-card .mg-power-profile {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mg-product-seller-card {
    transition: none;
  }
}
