.selection-table th:first-child,
.selection-table .selection-row > td:first-child {
  text-align: center;
}

.selection-table .product-name {
  justify-content: center;
  text-align: center;
}

.selection-table .product-name strong {
  display: block;
  text-align: center;
}

.product-block + .product-block .selection-row:first-child td {
  border-top: 10px solid #f2eee7;
}

.add-language-row td {
  padding: 10px 14px 16px !important;
  background: #fbfaf7;
  text-align: left !important;
}

.add-language-button,
.remove-language-button {
  border-radius: 7px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.add-language-button {
  padding: 9px 16px;
  border: 1px solid #d18a17;
  background: #fff8e8;
  color: #945900;
}

.add-language-button:hover,
.add-language-button:focus-visible {
  background: #ffefc7;
}

.add-language-button:disabled {
  border-color: #d6d0c7;
  background: #f1eee9;
  color: #877f75;
  cursor: default;
}

.additional-language-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-left: 14px;
  border-left: 4px solid #d18a17;
  color: #5c5145;
  font-weight: 700;
}

.remove-language-button {
  padding: 6px 10px;
  border: 1px solid #c9bfb2;
  background: #fff;
  color: #765748;
  font-size: 12px;
}

.selection-row[data-language-index]:not([data-language-index="0"]) td {
  background: #fffdf8;
}

.selection-row[data-language-index]:not([data-language-index="0"]).selected td {
  background: #fff7e5;
}

@media (max-width: 700px) {
  .add-language-button {
    width: 100%;
  }

  .additional-language-label {
    min-width: 150px;
  }
}
