.catalog.category-home .category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px 18px;
  width: 100%;
  overflow: visible;
}

.catalog.category-home .category-tabs button,
.catalog.category-home .category-tabs button:hover,
.catalog.category-home .category-tabs button.active {
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  color: var(--green-dark) !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0;
  filter: none;
  overflow: visible;
  text-align: center;
  text-shadow: none;
  white-space: normal;
}

.catalog.category-home .category-tabs button > .category-visual {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  background: #fff !important;
  background-image: none !important;
  border: 1px solid #cbd4ce !important;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(23, 54, 45, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog.category-home .category-tabs button:hover > .category-visual,
.catalog.category-home .category-tabs button:focus-visible > .category-visual {
  border-color: var(--green-dark) !important;
  box-shadow: 0 3px 10px rgba(23, 54, 45, 0.12);
}

.catalog.category-home .category-tabs .category-visual img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.catalog.category-home .category-tabs button > span:not(.category-visual) {
  min-height: 24px;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--green-dark) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: none;
}

.catalog.category-home .category-tabs .icon-category {
  gap: 10px;
}

.catalog.category-home .category-tabs .icon-category .category-visual svg {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  color: var(--green-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

@media (max-width: 700px) {
  .catalog.category-home .category-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .catalog.category-home .category-tabs button > .category-visual {
    padding: 12px;
  }

  .catalog.category-home .category-tabs button > span:not(.category-visual) {
    min-height: 38px;
    font-size: 14px;
  }
}
