/* Shared hero call-to-action treatment, aligned with functions_inventory.html. */
.cloudya-hero-actions {
  display: flex;
  flex-flow: row wrap;
  gap: 12px;
}

.cloudya-hero-button {
  min-height: auto;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transform: none;
  transition: background-color .2s, box-shadow .2s;
}

.cloudya-hero-button--primary {
  color: #fff;
  background: #0561f5;
  box-shadow: 0 5px 14px rgba(0, 91, 255, .08);
}

.cloudya-hero-button--primary:hover {
  color: #fff;
  background: #0049d6;
  transform: none;
}

.cloudya-hero-button--outline {
  color: #0561f5;
  border-color: #88adff;
  background: #fff;
}

.cloudya-hero-button--outline:hover {
  color: #0049d6;
  background: #edf3ff;
  transform: none;
}

@media (max-width: 600px) {
  .cloudya-hero-actions {
    flex-direction: column;
  }

  .cloudya-hero-button {
    width: 100%;
  }
}

/* Sales and POS keep both hero actions on the same row at every breakpoint. */
.sales-hero .cloudya-hero-actions,
.pos-hero .cloudya-hero-actions {
  flex-direction: row;
  flex-wrap: nowrap;
}

.sales-hero .cloudya-hero-button,
.pos-hero .cloudya-hero-button {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .sales-hero .cloudya-hero-button,
  .pos-hero .cloudya-hero-button {
    padding-inline: 9px;
    font-size: 10px;
  }
}
