/* "Built for every seller" section: left seller-type tab list, center
   image, right feature panel. components/seller-tabs.html */
.seller-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
}

.seller-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.seller-tab {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 0.875rem;
  background: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  color: var(--hp-text-body-2);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.seller-tab:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.seller-tab:not(.seller-tab--active):hover {
  background: var(--color-border-lighter);
  color: var(--hp-text-strong-muted);
}

.seller-tab img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.seller-tab--active {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 8px rgba(14, 159, 224, 0.28);
}

.seller-media {
  border-radius: 1.4375rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.seller-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seller-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.seller-panel__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: var(--hp-fw-extrabold);
  color: var(--color-text-heading);
  line-height: 1.25;
}

.seller-panel__text {
  margin: 0.75rem 0 0;
  font-size: 0.90625rem;
  line-height: 1.75;
  color: var(--hp-text-body-2);
}

.seller-panel__divider {
  height: 1px;
  background: var(--color-border-light);
  border: 0;
  margin: 0;
}

.seller-panel__label {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--hp-text-faint);
}

.seller-panel__integration-text {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.625;
  color: var(--hp-text-body-2);
}

@media (max-width: 1024px) {
  .seller-grid {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .seller-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .seller-grid {
    grid-template-columns: 1fr;
  }

  .seller-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .seller-tab {
    width: auto;
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
  }
}
