.eco-product-tabs {
  width: 100%;
  box-sizing: border-box;
  padding: var(--eco-product-tabs-padding-top, 22px) var(--eco-product-tabs-padding-x, 0) var(--eco-product-tabs-padding-bottom, 22px);
  font-family: inherit !important;
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}
.eco-product-tabs,
.eco-product-tabs * {
  font-family: inherit !important;
}

.eco-product-tabs--boxed {
  max-width: var(--eco-product-tabs-max-width, 1600px);
  margin-left: auto;
  margin-right: auto;
}

.eco-product-tabs--wide .eco-product-tabs__inner {
  max-width: var(--eco-product-tabs-max-width, 1600px);
  margin-left: auto;
  margin-right: auto;
}

.eco-product-tabs--full .eco-product-tabs__inner {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.eco-product-tabs__inner {
  contain: layout paint;
}

.eco-product-tabs__heading {
  margin: 0 0 16px;
  color: #0f172a;
  font-family: inherit !important;
  font-size: var(--eco-product-tabs-heading-size, 18px);
  font-weight: var(--eco-product-tabs-heading-weight, 700);
  line-height: 1.2;
}

.eco-product-tabs .eco-text-left { text-align: left; }
.eco-product-tabs .eco-text-center { text-align: center; }
.eco-product-tabs .eco-text-right { text-align: right; }

.eco-product-tabs__tablist {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.eco-product-tabs__tablist::-webkit-scrollbar {
  display: none;
}

.eco-product-tabs__tab {
  position: relative;
  flex: 0 0 auto;
  min-width: 136px;
  min-height: 44px;
  border: 1px solid #d9dde3;
  border-radius: 999px;
  background: #fff;
  padding: 8px 18px;
  color: #1f2937;
  font-family: inherit !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.14s ease, background-color 0.14s ease, color 0.14s ease;
}

.eco-product-tabs__tab:hover {
  border-color: #38aeea;
  color: #0284c7;
}

.eco-product-tabs__tab.is-active {
  border-color: #0ea5e9;
  background: #eaf8ff;
  color: #0284c7;
}

.eco-product-tabs__panel[hidden] {
  display: none;
}

.eco-product-tabs__grid {
  display: grid;
  grid-template-columns: repeat(var(--eco-product-tabs-columns, 5), minmax(0, 1fr));
  gap: 16px 14px;
}

.eco-product-tabs__empty {
  grid-column: 1 / -1;
  margin: 18px 0;
  color: #64748b;
  text-align: center;
}

.eco-product-tabs__footer {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.eco-product-tabs__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 28px;
  border: 1px solid #0ea5e9;
  border-radius: 999px;
  color: #0284c7;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.14s ease, background 0.14s ease;
}

.eco-product-tabs__more:hover {
  transform: translateY(-1px);
  background: #f0f9ff;
}

.eco-product-tabs-editor-tab {
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 767px) {
  .eco-product-tabs {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 8px;
    padding-right: 8px;
  }

  .eco-product-tabs__heading {
    font-size: min(var(--eco-product-tabs-heading-size, 18px), 18px);
  }

  .eco-product-tabs__tablist {
    gap: 20px;
    margin-bottom: 14px;
    padding-bottom: 2px;
  }

  .eco-product-tabs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
  }

  .eco-product-tabs__title {
    font-size: 11px;
  }
}
