/* use this for style redefinitions to awoid problems with
unpredictable css rules order in build */
.pc-add-block {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
}
.pc-add-block__button {
  display: inline-block;
  margin: 0;
  padding: 0;
  font: inherit;
  border: none;
  outline: none;
  color: inherit;
  background: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
}
.pc-add-block__button:hover {
  transform: scale(1.05);
}
.pc-add-block__button {
  width: 76px;
  height: 40px;
  color: var(--pc-editor-control-icon-color);
  background-color: var(--pc-editor-base-color);
  border-radius: 8px;
}
.pc-add-block__icon {
  width: 16px;
  height: 16px;
}

.pc-add-block__popup {
  min-width: 420px;
  border-radius: var(--pc-border-radius);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06), 0px 4px 24px rgba(0, 0, 0, 0.06);
}
.pc-add-block__popup .pc-add-block__search {
  padding: 20px 20px 0;
}
.pc-add-block__popup .pc-add-block__blocks {
  display: flex;
  flex-direction: column;
  padding: 20px;
  height: 296px;
  max-height: 296px;
  overflow-y: auto;
}
.pc-add-block__popup .pc-add-block__block {
  display: inline-block;
  margin: 0;
  padding: 0;
  font: inherit;
  border: none;
  outline: none;
  color: inherit;
  background: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
}
.pc-add-block__popup .pc-add-block__block:hover {
  transform: scale(1.05);
}
.pc-add-block__popup .pc-add-block__block {
  margin-top: 20px;
  justify-content: flex-start;
  text-align: start;
  cursor: pointer;
}
.pc-add-block__popup .pc-add-block__block:first-child {
  margin-top: 0;
}
.pc-add-block__popup .pc-add-block__preview {
  width: 148px;
  height: 74px;
  border-radius: var(--pc-border-radius);
  margin-right: 16px;
  color: var(--pc-editor-base-color);
}
.pc-add-block__popup .pc-add-block__title {
  font-size: var(--g-text-body-2-font-size);
  line-height: var(--g-text-body-2-line-height);
}
.pc-add-block__popup .pc-add-block__title,
.pc-add-block__popup .pc-add-block__description {
  margin: 0;
}