.iml-links .iml-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.iml-links .iml-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 46px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  box-shadow: none;
  font-family: inherit;
  text-decoration: none;
  transition: border-color .18s ease;
}
.iml-links .iml-button:hover {
  background: transparent;
  border-color: currentColor;
  text-decoration: none;
}
.iml-links .iml-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.iml-links .iml-button svg {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}
.iml-links .iml-button span {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: normal;
  color: inherit;
}
.iml-links .iml-button--lazada { color: #17136b; }
.iml-links .iml-button--shopee { color: #d9431b; }
.iml-links .iml-button--facebook { color: #1769d2; }
html.eps-dark-mode .iml-links .iml-button { border-color: #474747; }
html.eps-dark-mode .iml-links .iml-button--lazada { color: #c3bdff; }
html.eps-dark-mode .iml-links .iml-button--shopee { color: #ff8a65; }
html.eps-dark-mode .iml-links .iml-button--facebook { color: #78b3ff; }
html.eps-dark-mode .iml-links .iml-button:hover { border-color: currentColor; }
@media (prefers-reduced-motion: reduce) {
  .iml-links .iml-button { transition: none; }
}
/* Seller hook sits outside Epsilon's padded contact fields. */
.item-publish .iml-fields {
  display: block;
  width: auto;
  min-width: 0;
  margin: 4px 16px 16px;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid #e2e2e2;
}
.item-publish .iml-fields legend {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}
.item-publish .iml-fields .row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  float: none;
  clear: both;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
}
.item-publish .iml-fields .row:last-child { margin-bottom: 0; }
.item-publish .iml-fields label {
  display: block;
  float: none;
  width: 100%;
  padding: 0;
  margin: 0;
  line-height: 20px;
}
.item-publish .iml-fields input[type="url"] {
  display: block;
  float: none;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}
html.eps-dark-mode .item-publish .iml-fields { border-top-color: #474747; }
